how to limiting user bandwidth by quota..
ahmedadel4eg at yahoo.com
Thu May 14 09:36:26 CEST 2009
You can use a script that disconnect the user as soon as the user exceeds his limit. You should check for the bandwidth usage in the Input Octets and the Output Octets Fields
From: Ivan Kalik <tnt at kalik.net>
To: FreeRadius users mailing list <freeradius-users at lists.freeradius.org>
Sent: Wednesday, May 13, 2009 11:22:38 PM
Subject: Re: how to limiting user bandwidth by quota..
> dear all..i'am using freeradius 1.1.7 on ubuntu 8.04, i do implementing
> sqlcounter like noresetcounter,dailycounter and montly counter and it
> works properly. but i now i have 1 case how to limiting user bandwidth
> usage with sqlcounter, i've read and learn how do sqlcounter work, but i
> still dont have idea how to make a query to limiting user bandwidth.
> i have 1 user and i want to limit the bandwidth for this user 300mb in a
> week..how to perform this..clue please..really apreciate for your help
Time counters work with Session-Timeout. There is no standard radius
attribute for data counters - you have to use vendor specific ones. If
your NAS vendor has data limiting attributes, then this can be done. If it
doesn't - it can't.
Kalik Informatika ISP
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Freeradius-Users