How to control users traffic ?

Ivan Kalik tnt at kalik.net
Sun Jul 12 20:04:46 CEST 2009


> what does Session-Octets-Limit exactly do?

I have no idea. It's an attribute *you* wanted to use. As a guess, it
limits number of octets for the session.

> How it is related to counters?

You would configure it as a reply-name.

> I thought freeradius sends a value(is defined in
> DEFAULT) to the NAS and NAS limits users traffic
> to this value in each session.
>

That's without counters. If you use counter, you place check-name
attribute-value pair in users (or as DEFAULT) entry. On connection attempt
freeradius will count usage so far, deduct it from the limit (check-name
attribute value) and pace the reminder as a value for reply-name
attribute.

Ivan Kalik
Kalik Informatika ISP




More information about the Freeradius-Users mailing list