Re: writting accounting script
At 10:14 AM 11/1/2001 +0800, Daniel Yeung wrote: >Hi All > >I have a task in office to write radius accounting script. >It is possible to call an external program in file /etc/raddb/acct_users. >How the radius pass the accounting packet to the external program ? >Authentication packet is passed as variable %s %u ... >any idea ? Check the docs and look a the sample files. There are examples for calling an external program from radius on receipt of a packet. -Chris -- \\\|||/// \ Chris Parker-Manager, Development Engineering \ ~ ~ / \ WX *is* Wireless!\ [EMAIL PROTECTED] | @ @ |\ http://www.starnetwx.net \ (847) 963-0116 oOo---(_)---oOo--\-- \ Without C we would have 'obol', 'basi', and 'pasal' - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: writting accounting script
> It is possible to call an external program in file /etc/raddb/acct_users. > How the radius pass the accounting packet to the external program ? Most of us process the logs later... I summarize mine in a Sybase database, but any SQL database (MySQL...) will work just find, and makes reporting and math a breeze. You can do real-timish stuff as well, I find my lazy approach works well for us.. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
writting accounting script
Hi All I have a task in office to write radius accounting script. It is possible to call an external program in file /etc/raddb/acct_users. How the radius pass the accounting packet to the external program ? Authentication packet is passed as variable %s %u ... any idea ? Thanks you very much. Dan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html