<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Folks,<br>
<br>
I'm trying to start monitoring my radius server and I'm having some
problem with radauth
(<a class="moz-txt-link-freetext" href="http://www.nagiosexchange.org/Networking.53.0.html?&tx_netnagext_pi1%5Bp_view%5D=345">http://www.nagiosexchange.org/Networking.53.0.html?&tx_netnagext_pi1%5Bp_view%5D=345</a>).
<br>
<br>
If I do a test with radauth, with the following command line:<br>
<br>
<small>[root@mercury /home/felipe/radauth/radauth-1.00]# ./radauth -v
-u thalita -p 127769 -s xxx -r 200.xxx.xxx.151 -c 1812 -t 10<br>
Using the following information<br>
-----------------<br>
username: thalita<br>
password: 127769<br>
shared secret: xxx<br>
server  : 200.xxx.xxx.151<br>
<b>failed to receive a reply from the server, authentication FAILED.</b></small><br>
<br>
I got this message on my radius server:<br>
<br>
<small>[root@spirit][/usr/local/etc/raddb] tail -f /var/log/radius.log
| grep 200.xxx.xxx.133<br>
<b>Thu Nov 30 09:46:24 2006 : Error: WARNING: Malformed RADIUS packet
from host 200.xxx.xxx.133: too long (length 12032 > maximum 4096)</b><br>
</small><br>
<br>
But, if I do a test with radtest, with the following command line:<br>
<br>
<small>[root@mercury /home/felipe/radauth/radauth-1.00]# radtest
thalita 127769 200.xxx.xxx.151:1812 0 xxx<br>
Sending Access-Request of id 195 to 200.xxx.xxx.151 port 1812<br>
        User-Name = "thalita"<br>
        User-Password = "127769"<br>
        NAS-IP-Address = 255.255.255.255<br>
        NAS-Port = 0<br>
Re-sending Access-Request of id 195 to 200.xxx.xxx.151 port 1812<br>
        User-Name = "thalita"<br>
        User-Password = "127769"<br>
        NAS-IP-Address = 255.255.255.255<br>
        NAS-Port = 0<br>
<b>rad_recv: Access-Accept packet from host 200.xxx.xxx.151:1812,
id=195, length=20</b></small><br>
<br>
It works. And I got the follow message of my radius server:<br>
<br>
<small>Thu Nov 30 09:46:51 2006 : Error: Discarding new request from
client 200.xxx.xxx.133:60144 - ID: 195 due to live request 3790<br>
<b>Thu Nov 30 09:46:51 2006 : Auth: Login OK: [thalita] (from client
200.xxx.xxx.133 port 0)</b></small><br>
<br>
I tryed radauth compiled with default radauth.c and too compiled with
modified radauth.c.<br>
<br>
Any help?<br>
<br>
Thank you,<br>
<br>
Felipe Neuwald.<br>
<br>
<br>
</body>
</html>