I am totally lost here. I am getting this type entry in my radius.log listing the radius server contacting us. Sat Oct 1 12:05:07 2005 : Auth: Login OK: [user@domain] (from client upstream-radius5 port 7490 cli 2199340456) and I have a lot of useless (to us) account log directories in the radacct logging directory. What I want to do is lower the amount of detail in the accounting logs to a single file that can be rotated or just do away with it. We run 90% as a proxy server anyway, and the accounting tables in the database provide us with any reports we need. What i want to see in radius.log is an entry like this showing the nas-ip host/node name instead of radius client: Fri Sep 30 20:04:37 2005: Auth: Login OK: [user@domain] (from nas nas5.tempe1.az.us.da.qwest.net/S7428) socket 0 (0 sec) I have searched through the examples and text in every config file in the /etc/raddb and cannot find a way to accomplish this. The FreeRadius logging options look quite powerful so I am assuming there is a reasonably easy way of doing this that I am missing and/or not comprehending. I tried commenting out the detail area to eliminate accounting logs, but then radius complained bitterly about not having a detail section. Any clues how to accomplish this goal? The wanted format for radius.log is an absolute must. The entire log is useless to us showing the contacting radius client. We need to know the network node they dialed into. -- Chuck
Chuck <chuck@pathworx.com> wrote:
What i want to see in radius.log is an entry like this showing the nas-ip host/node name instead of radius client:
Fri Sep 30 20:04:37 2005: Auth: Login OK: [user@domain] (from nas nas5.tempe1.az.us.da.qwest.net/S7428) socket 0 (0 sec)
For now, source code mods are required to change this text.
I tried commenting out the detail area to eliminate accounting logs, but then radius complained bitterly about not having a detail section.
Comment out the *rest* of the references to the "detail" module. Alan DeKok.
On Monday 03 October 2005 08:18 pm, Alan DeKok wrote:
Chuck <chuck@pathworx.com> wrote:
What i want to see in radius.log is an entry like this showing the nas-ip host/node name instead of radius client:
Fri Sep 30 20:04:37 2005: Auth: Login OK: [user@domain] (from nas nas5.tempe1.az.us.da.qwest.net/S7428) socket 0 (0 sec)
For now, source code mods are required to change this text.
oh boy. fun time then. thankfully that mod shouldn't be too major.
I tried commenting out the detail area to eliminate accounting logs, but then radius complained bitterly about not having a detail section.
Comment out the *rest* of the references to the "detail" module.
i thought i did, but then again i did that early in the am after just waking up and still on my first coffee (when about all i can do correctly is push the red button so the light goes on to make coffee), so... will try again :) thanks!
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Chuck "Windows?? You mean the thirty-two bit extension and graphical shell to a sixteen-bit patch to an eight-bit operating system originally coded for a four-bit microprocessor which was written by a two-bit company that can't stand one bit of competition? Oh, that..." -- Lee Clarke
participants (2)
-
Alan DeKok -
Chuck