How to control users traffic ?
Alan DeKok
aland at deployingradius.com
Tue Jul 7 11:04:40 CEST 2009
Eric wrote:
> Which is conventional way for checking online users traffic volume and
> disconnecting who reach to the limit of every user in freeradius:
It's hard, and often specific to a particular NAS.
Newer NASes may support disconnect packets. The upcoming 2.1.7 can
send disconnect packets, which will help.
> 1- using acct-interim packets to update output or input octets in sql
> and if user reach to the max of its accounting permission disconnect
> him/her.(Is there any patch to do this ?)
See the NAS documentation for how to disconnect users. If it doesn't
say you can disconnect users... it likely can't be done.
Maybe SNMP can be used to reset the port, but that may not always be
supported, either.
> 2- freeradius sends Session-Octets-Limit to the NAS and NAS can does this?
Does the NAS documentation say it supports that attribute?
> 3- using billing softwares such as nibs .
No. The billing software runs on a server, and not on the NAS. It
can't control the NAS any more than FreeRADIUS can control the NAS.
> 4-other ways?
Buy a NAS that supports disconnect packets.
Alan DeKok.
More information about the Freeradius-Users
mailing list