Change it in the sqlcounter code !
First functionality shouldnt be a problem if you know your NAS !
From: [EMAIL PROTECTED]
g] On Behalf Of Mathieu Lemaitre
Sent: Donnerstag, 22. März 2007 12:31
Subject: bandwidth and volume limit
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??
List info/subscribe/unsubscribe? See
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html