bandwidth and volume limit

Mathieu Lemaitre mlemaitre at walan.biz
Thu Mar 22 12:31:22 CET 2007


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



More information about the Freeradius-Users mailing list