How to control users traffic ?
Ivan Kalik
tnt at kalik.net
Tue Jul 7 11:12:15 CEST 2009
> Which is conventional way for checking online users traffic volume and
> disconnecting who reach to the limit of every user in freeradius:
There are no standard radius attributes for this. Your NAS might have
vendor specific attributes that can be used for data (sql)counters but
many don't.
> 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 ?)
Again, this will depend on NAS supporting PoD or CoA. You can make a
policy that sends instructions to NAS to disconnect the user if he goes
over the limit on update packet. If it doesn't, you should still be able
to disconnect the user using SNMP.
> 2- freeradius sends Session-Octets-Limit to the NAS and NAS can does this?
If it has such VSA. You can then use standard (sql)counter.
Ivan Kalik
Kalik Informatika ISP
More information about the Freeradius-Users
mailing list