Add client IP address to log messages

Drew Weaver drew.weaver at thenap.com
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.

-Drew




-----Original Message-----
From: Freeradius-Users <freeradius-users-bounces+drew.weaver=thenap.com at lists.freeradius.org> On Behalf Of Alan DeKok
Sent: Tuesday, November 23, 2021 8:54 AM
To: FreeRadius users mailing list <freeradius-users at lists.freeradius.org>
Subject: Re: Add client IP address to log messages

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

  I don't know what that means.

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

  Or do you have something like:

client locahost {
  ipaddr = 1.2.3.4
  ...
}

client localhost {
   ipaddr = 5.6.7.8
  ...
}
  

> 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 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=QkcuZOEn-8R6eiVVrfRFW3pbeBD-TyF0IJ9oLdnzjXc&s=NiKuYT1CAYq1W7JLXmhS9auchnGBHzCqp-Bmg_zM24Y&e=



More information about the Freeradius-Users mailing list