Log NAS IP rather than Shortname - PLEASE

Gary Gatten Ggatten at waddell.com
Sat Jun 4 00:58:37 CEST 2011


Yeah, that version may help ;). Lots has changed since then, if you can upgrade I would. Else..... If you run it in debug mode does it spew what info you want? Maybe you can somehow wrap it with a "tee" process and then massage that output as you wish.

From: Jason Frawley [mailto:jfrawley81 at gmail.com]
Sent: Friday, June 03, 2011 05:48 PM
To: FreeRadius users mailing list <freeradius-users at lists.freeradius.org>
Subject: Re: Log NAS IP rather than Shortname - PLEASE

it may help to note-  I am using windows version of FreeRadius ver 1.1.7 r2

On Fri, Jun 3, 2011 at 3:45 PM, Jason Frawley <jfrawley81 at gmail.com<mailto:jfrawley81 at gmail.com>> wrote:
- ADD what information logged (look at radiusd.conf, look for msg) -- unable to find msg in radiusd.conf file
- log to a NEW file, with another format altogether (see linelog module) -- unable to find anything on linelog module
with option one I do see where I can create the detail logs, and they are being created, should I just change the directory and the file name to radius.log or is that going to conflict with other opertations?

option2- I am not finding any files etc referring to linelog modules :(

Jason


On Fri, Jun 3, 2011 at 3:34 PM, Fajar A. Nugraha <list at fajar.net<mailto:list at fajar.net>> wrote:
On Sat, Jun 4, 2011 at 2:46 AM, Jason Frawley <jfrawley81 at gmail.com<mailto:jfrawley81 at gmail.com>> wrote:
> There may be some confusion, I am currently logging auth and accounting
> information in seperate folders that are labeled by client ip addresses, but
> those are the detail auth logs, I am working with just the radius.log file.
> Below is a sample of what I get in the radius log file, notice the from
> client 207.32.194.0/23<http://207.32.194.0/23> is the subnet which is in the clients.conf file also
> attached below.

No confusion here.

>  So rather than manually entering all my router ips is there
> a shorter way to edit the way the radius.log file is built?

Did you read up on the two options I sent eariler?

--
Fajar

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html







<font size="1">
<div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in'>
</div>
"This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system."
</font>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20110603/49aedac6/attachment.html>


More information about the Freeradius-Users mailing list