bandwidth and volume limit

Edvin Seferovic edvin.seferovic at kolp.at
Thu Mar 22 12:37:06 CET 2007


Change it in the sqlcounter code !

First functionality shouldn’t be a problem if you know your NAS !

Regards,
E:S

-----Original Message-----
From: freeradius-users-bounces+edvin.seferovic=kolp.at at lists.freeradius.org
[mailto:freeradius-users-bounces+edvin.seferovic=kolp.at at lists.freeradius.or
g] On Behalf Of Mathieu Lemaitre
Sent: Donnerstag, 22. März 2007 12:31
To: freeradius-users at lists.freeradius.org
Subject: bandwidth and volume limit

HI all,

I'm running freeradius 1.0.2 on a debian stable. For new clients, I need 
to implement 2 functions:

* a bandwidth limit on a per-user basis. I mean, I need to be able to 
set, for a user, a value for his upstream and downstream bw, which is 
sent by the radius as a reply attribute. Are they predefined attributes 
to do this?

* a volume limit: I'd like to be able to set a maximum amount of data 
monthly downloadable for each user.  I tried with rlm_slqcounter,  
changing the sql request to check AcctInputOctet instead of SessionTime, 
but the problem is that radius always reply an attribute called 
MaxSessionTime (or sthg like that), containing the remaining data volume 
for the user... is there as way to change the name of the attribute 
answered by freeradius??

Many thaks,


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





More information about the Freeradius-Users mailing list