On Sun, 3 Apr 2005, Micky S wrote:

Does anybody think this is possible?



Any help much appreciated.



 _____

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Micky S
Sent: 01 April 2005 12:32
To: freeradius-users@lists.freeradius.org
Subject: freeradius bandwidth counter help



Hi all,

Here is the scernario

Authenicating users against a MySQL database, what i want to do is to have a
counter to how much bandwidth the user has used, but to count DOWN from a
set amount ie 100mb, if they use 3mb in one session then the next session
they have 97mb etc... when the user has reached 0mb they are disconnected,
any of the above, help would be well appreciated.

You can use the counter module for this. You need to find if your NAS supports an attribute setting the remaining badwidth available to the user though. If such an attribute is not supported you can disallow access after the session where the user exceeded his bandwidth limit has been completed.





-- Kostas Kalevras Network Operations Center [EMAIL PROTECTED] National Technical University of Athens, Greece Work Phone: +30 210 7721861 'Go back to the shadow' Gandalf

- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to