Hello Everyone, in my client config I use netmaskranges. f.e: ... ipaddr = 172.16.0.0 netmask = 12 shortname = swr01 ... Now I only see the following information: Sun May 29 01:52:44 2011 : Auth: Invalid user: [...] (from client swr01 port 417 cli 00-..-..-..-..-..) It is possible to see the real client IP and the user IP in the log? Thanks in advance. Kind regards, Thomas Dohl
Hi, I'm sorry, but I can't find any usefull informations in (http://wiki.freeradius.org/Radiusd.conf). Please, can you give me a little bit more informations? Thanks. Kind regards, Thomas Dohl
-----Ursprüngliche Nachricht----- Von: freeradius-users-bounces+thomas.dohl=24-7-it- services.de@lists.freeradius.org [mailto:freeradius-users- bounces+thomas.dohl=24-7-it-services.de@lists.freeradius.org] Im Auftrag von Alan DeKok Gesendet: Montag, 30. Mai 2011 10:35 An: FreeRadius users mailing list Betreff: Re: Add more information to Logfile?
thomas.dohl@24-7-it-services.de wrote:
It is possible to see the real client IP and the user IP in the log?
Read radiusd.conf, and look for the "log" section. The messages can be customized.
This is documented.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Mon, May 30, 2011 at 8:30 PM, <thomas.dohl@24-7-it-services.de> wrote:
Hi,
I'm sorry, but I can't find any usefull informations in (http://wiki.freeradius.org/Radiusd.conf).
Please, can you give me a little bit more informations?
It should be possible to disable auth logging (auth=no) on radiusd.conf and enable linelog module with your own logging format and filename https://github.com/alandekok/freeradius-server/blob/v2.1.x/raddb/modules/lin... Use the linelog module on authorize/authenticate/accounting section (whichever you need). Also, depending on your needs, it might be easier to create separate linelog module instance that will be called in different sections. You should be able to use either %{NAS-IP-Address} or %{Client-IP-Address} to record NAS IP address. -- Fajar
thomas.dohl@24-7-it-services.de wrote:
Hi,
I'm sorry, but I can't find any usefull informations in (http://wiki.freeradius.org/Radiusd.conf).
Please, can you give me a little bit more informations?
Look for "msg_" Alan DeKok.
participants (3)
-
Alan DeKok -
Fajar A. Nugraha -
thomas.dohl@24-7-it-services.de