Add client IP address to log messages

Drew Weaver drew.weaver at
Tue Nov 23 14:56:48 CET 2021

Sorry if I really was able to somehow make it that unclear but clients.conf only has the default localhost entry in it except for the secret is changed weekly.

Nevermind, I will take care of it myself I don't really want to frustrate you anymore.


-----Original Message-----
From: Freeradius-Users < at> On Behalf Of Alan DeKok
Sent: Tuesday, November 23, 2021 8:54 AM
To: FreeRadius users mailing list <freeradius-users at>
Subject: Re: Add client IP address to log messages

On Nov 23, 2021, at 8:40 AM, Drew Weaver <drew.weaver at> wrote:
> All of the clients do indeed fall under the localhost definition in clients.conf

  I don't know what that means.

  localhost is, or more pedantically 127/8.  Do you have multiple clients, all of which have "ipaddr ="?

  Or do you have something like:

client locahost {
  ipaddr =

client localhost {
   ipaddr =

> 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.

  Define *what*?  I really have no idea what you're getting at.

  Please give *details* and *useful information*.  And perhaps even DEBUG OUTPUT.

  If you're not going to do that, then there isn't much point in anyone answering your questions.  You're just ignoring what we're saying, and repeating the same vague phrasing of "I'm trying to do stuff, and it doesn't work.  How do I fix stuff?"

  Answer: I dunno.  Do other stuff.

  Alan DeKok.

List info/subscribe/unsubscribe? See

More information about the Freeradius-Users mailing list