Add client IP address to log messages
Drew Weaver
drew.weaver at thenap.com
Tue Nov 23 14:40:39 CET 2021
Okay I don't think it is as complicated as I made it.
All of the clients do indeed fall under the localhost definition in clients.conf
If there is no way for me to configure clients.conf to use the IP of the actual client/NAS when it logs things under a single entry I will merely have to create and maintain 200 configuration entries in that file or use SQL or another way to define them.
Thanks for your help.
-Drew
-----Original Message-----
From: Freeradius-Users <freeradius-users-bounces+drew.weaver=thenap.com at lists.freeradius.org> On Behalf Of Matthew Newton
Sent: Tuesday, November 23, 2021 8:37 AM
To: freeradius-users at lists.freeradius.org
Subject: Re: Add client IP address to log messages
On 23/11/2021 13:34, Drew Weaver wrote:
> That just makes it log this: (from client localhost port 0)
> IP:127.0.0.1
>
> So I guess I will have to just create 200 entries in clients.conf unless there is some way to just tell clients.conf to use this :%{Packet-Src-IP-Address} instead of it's own IP address in logging.
As Alan has said, please post the full debug output. At this point we're just guessing.
https://urldefense.proofpoint.com/v2/url?u=http-3A__wiki.freeradius.org_list-2Dhelp&d=DwIGaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=OPufM5oSy-PFpzfoijO_w76wskMALE1o4LtA3tMGmuw&m=1cSJZdsAgPTpdHi3ntL_PgOF64ug-b07kaqDLylniIA&s=ImQ2jisYbmyButl7IMyI8ig6s5kSBzzFc51TcD94qhM&e=
--
Matthew
-
List info/subscribe/unsubscribe? See https://urldefense.proofpoint.com/v2/url?u=http-3A__www.freeradius.org_list_users.html&d=DwIGaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=OPufM5oSy-PFpzfoijO_w76wskMALE1o4LtA3tMGmuw&m=1cSJZdsAgPTpdHi3ntL_PgOF64ug-b07kaqDLylniIA&s=Z530UCOpRAg8qI2kaK7L-gsRXAF0fyZyljfRugEYSvU&e=
More information about the Freeradius-Users
mailing list