client log

A.L.M.Buxey at lboro.ac.uk A.L.M.Buxey at lboro.ac.uk
Tue Dec 5 19:10:28 CET 2006


Hi,

>   I have installed freeradius 1.0.4 in my AAA servers. I work several years with this service and funcion very well.
> I am develeping a PHP platform for my people who install hotspots. Well, I want to log if a nas can not authenticate with my RADIUS server because of any reason.
> I wish only to log failed  NAS request such as:
> --------------------------------------------------
>     rad_recv: Access-Request packet from host 192.168.1.247:1027, id=4, length=245Ignoring request from unknown client 192.168.1.247:1027--- Walking the entire request list ---
> --------------------------------------------------
> Any suggestion??

use some unix tools to create your own special logfile? 

eg 

tail -f /var/log/radius/radius.log | grep "Ignoring request from unknown client" > /var/log/radius/radius-client.log

this would create a log file of only such occurances

alan



More information about the Freeradius-Users mailing list