Hi people, 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?? Santiago _________________________________________________________________ Llama a tus amigos de PC a PC: ¡Es GRATIS! http://get.live.com/messenger/overview
Santiago Balaguer García wrote:
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=245 Ignoring request from unknown client 192.168.1.247:1027 --- Walking the entire request list --- -------------------------------------------------- Any suggestion??
You have the source code. Edit it to print the message to the log file. It should take you about 5 minutes. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
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
participants (3)
-
A.L.M.Buxey@lboro.ac.uk -
Alan DeKok -
Santiago Balaguer García