Hi Folks,

I'm trying to start monitoring my radius server and I'm having some problem with radauth (http://www.nagiosexchange.org/Networking.53.0.html?&tx_netnagext_pi1%5Bp_view%5D=345).

If I do a test with radauth, with the following command line:

[EMAIL PROTECTED] /home/felipe/radauth/radauth-1.00]# ./radauth -v -u thalita -p 127769 -s xxx -r 200.xxx.xxx.151 -c 1812 -t 10
Using the following information
-----------------
username: thalita
password: 127769
shared secret: xxx
server  : 200.xxx.xxx.151
failed to receive a reply from the server, authentication FAILED.


I got this message on my radius server:

[EMAIL PROTECTED]/usr/local/etc/raddb] tail -f /var/log/radius.log | grep 200.xxx.xxx.133
Thu Nov 30 09:46:24 2006 : Error: WARNING: Malformed RADIUS packet from host 200.xxx.xxx.133: too long (length 12032 > maximum 4096)


But, if I do a test with radtest, with the following command line:

[EMAIL PROTECTED] /home/felipe/radauth/radauth-1.00]# radtest thalita 127769 200.xxx.xxx.151:1812 0 xxx
Sending Access-Request of id 195 to 200.xxx.xxx.151 port 1812
        User-Name = "thalita"
        User-Password = "127769"
        NAS-IP-Address = 255.255.255.255
        NAS-Port = 0
Re-sending Access-Request of id 195 to 200.xxx.xxx.151 port 1812
        User-Name = "thalita"
        User-Password = "127769"
        NAS-IP-Address = 255.255.255.255
        NAS-Port = 0
rad_recv: Access-Accept packet from host 200.xxx.xxx.151:1812, id=195, length=20


It works. And I got the follow message of my radius server:

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
Thu Nov 30 09:46:51 2006 : Auth: Login OK: [thalita] (from client 200.xxx.xxx.133 port 0)


I tryed radauth compiled with default radauth.c and too compiled with modified radauth.c.

Any help?

Thank you,

Felipe Neuwald.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to