[EMAIL PROTECTED] wrote:

Are there Session-Octets-Limit parameter in FreeRadius ?

NAS- PPPD 2.4.2,
mysql_realm



Hello!
If you just want to send reply attributes of type Session-Octets-Limit add this to your dictionary
file (located probably in /usr/local/share/freeradius):


# Limit session traffic
ATTRIBUTE       Session-Octets-Limit    227     integer
# What to assume as limit - 0 in+out, 1 in, 2 out, 3 max(in,out)
ATTRIBUTE       Octets-Direction        228     integer

These are still experimental (added in PPPD 2.4.2), and may change in the future.

I have modified the sqlcounter module, so that the reply attribute type it sends with the
remaining ammount of the counted value is configurable, and not hard-coded to Session-Timeout.
If you are interested I can send you the patch.


Greetings,
Rado

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

Reply via email to