Change it in the sqlcounter code !

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


-----Original Message-----
g] On Behalf Of Mathieu Lemaitre
Sent: Donnerstag, 22. März 2007 12:31
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,

List info/subscribe/unsubscribe? See

List info/subscribe/unsubscribe? See

Reply via email to