Accounting SQL Entries
Hello list. I have been testing FreeRADIUS for a project we are looking at running to authenticate users for Giganews. I have got the authentication part working well, and the authentication attempts get logged correctly into MySQL. Now, I am trying to log the session details, such as data to and from the host. I've tried various configs, FAQs and similar without little luck. I am slightly stumped as to where to look now. Can anyone offer any help or advice. Thank you. M -- freeradius: FreeRADIUS Version 2.0.4, for host i486-pc-linux-gnu, built on Sep 7 2008 at 23:35:34 Copyright (C) 1999-2008 The FreeRADIUS server project and contributors.
I have been testing FreeRADIUS for a project we are looking at running to authenticate users for Giganews.
I have got the authentication part working well, and the authentication attempts get logged correctly into MySQL.
Now, I am trying to log the session details, such as data to and from the host. I've tried various configs, FAQs and similar without little luck.
I am slightly stumped as to where to look now. Can anyone offer any help or advice.
All you have to do is uncomment sql entry in acconting. And for your NAS to send accounting packets. You can check if NAS is doing that by running server in debug mode. Ivan Kalik
Matt Martin wrote:
Now, I am trying to log the session details, such as data to and from the host. I've tried various configs, FAQs and similar without little luck.
If you have the authentication data logged to SQL, then logging accounting data is easy: a) create the tables b) uncomment "sql" from the "accounting" section in raddb/sites-enabled/default And, as always, run the server in debugging mode to see what it's doing. If you get *something* logged, but *no* upload/download counters, then fix the NAS so that it sends that data. Alan DeKok.
participants (3)
-
Alan DeKok -
Matt Martin -
tnt@kalik.net