Accounting

Etienne Pretorius etiennep at kingsley.co.za
Thu Aug 7 12:14:06 CEST 2008


Your NAS' need support for Radius Extensions... the Interm-Accounting 
attributes.
Then, once this is working, you can always add a script to the accouting 
section to process the limits you want to impose.

Kind Regards

Etienne Pretorius
Network Administrator
Kingsley Technologies <http://www.kingsley.co.za>
Email: admin at kingsley.co.za <mailto:admin at kingsley.co.za>
Tel: 086 11 KTECH
Local Fax: 086 611 5001
International Fax: +27 21 761 9930
Email Disclaimer <http://www.kingsley.co.za/index.php?id=109>
Acceptable Use Policy <http://www.kingsley.co.za/index.php?id=107>
www.kingsley.co.za



Jonathan Gazeley wrote:
> We at Bristol have used FreeRADIUS with no problems for some time, but 
> I would like to alter the way that accounting is performed, but I am 
> unsure of how to do it.
>
> Currently all the accounting is sent to a MySQL database. The 
> 'radacct' table tells me the start/stop of each session and the amount 
> of traffic passed in that time. However the traffic figures are only 
> updated when the user's session terminates. Is there a way to get 
> up-to-date statistics that can be polled, say, on an hourly basis?
>
> What I'm getting at is that I want each user to have a 
> daily/weekly/etc traffic quota so the radius server should repeatedly 
> check to see if it has been exceeded. Appropriate action will be taken 
> elsewhere is this is exceeded.
>
> Does anyone have any pointers? e.g. can the radius server be queried 
> intermittently for traffic figures? Can the radacct table be updated 
> hourly without forcing a disconnection?
>
> Cheers,
> Jonathan
>
> ----------------------------
> Jonathan Gazeley
> Systems Support Specialist
> ResNet | Wireless & VPN Team
> Information Services
> University of Bristol
> ----------------------------
>
> -
> List info/subscribe/unsubscribe? See 
> http://www.freeradius.org/list/users.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20080807/5b1b7101/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7czz5WbnOIzrjIsP8OX5DXPAH0jMUSXcxvQ6pzO1RszUsOQm2zQDv0yDz0gAQEAOw==
Type: image/gif
Size: 5104 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20080807/5b1b7101/attachment.gif>


More information about the Freeradius-Users mailing list