How to control users traffic ?
Andrew Paternoster
andrew at gpk.net.au
Sat Aug 8 13:10:55 CEST 2009
Does anyone have a example of a CoA policy they could share??
Thanks
--
Andrew Paternoster
GPK Computers Pty Ltd
T 1300 854 223
F 1300 854 228
---------------------------------------------------------------------------
The information contained in or accompanying this e-mail is intended only for the use of the stated recipient and may contain information that is confidential and/or privileged. If the reader is not the intended recipient or the agent thereof, you are hereby notified that any dissemination, distribution or copying of this e-mail is strictly prohibited and may constitute a breach of confidence and/or privilege. If you have received this e-mail in error, please notify us immediately. Any views or opinions presented are those solely of the author and do not necessarily represent those of GPK Computers Pty Ltd..
Warning: Although the company has taken reasonable precautions to ensure no viruses are present in this e-mail, the company cannot accept responsibility for any loss or damage arising from the use of this e-mail or attachments
---------------------------------------------------------------------------
Senior System Engineer-----Original Message-----
From: freeradius-users-bounces+andrew=gpk.net.au at lists.freeradius.org [mailto:freeradius-users-bounces+andrew=gpk.net.au at lists.freeradius.org] On Behalf Of Ivan Kalik
Sent: Tuesday, 7 July 2009 7:12 PM
To: FreeRadius users mailing list
Subject: Re: How to control users traffic ?
> 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
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list