Radius Groups / Profiles
I have installed freeradius with daloRadius. I have then created a group / profile to cut off after using a certain amount of data. I have the following problem. It does not cut the user off when the limit was reached but it will reject the user when he/she tries to log in again. The DB only gets updated with the used octets once the users logs off. How do I get the session to be terminated when the max octets is reached? Thanks Neill -- View this message in context: http://freeradius.1045715.n5.nabble.com/Radius-Groups-Profiles-tp3372247p337... Sent from the FreeRadius - User mailing list archive at Nabble.com.
On Sat, Feb 5, 2011 at 7:16 AM, npayne <npayne@g-host.co.za> wrote:
I have installed freeradius with daloRadius. I have then created a group / profile to cut off after using a certain amount of data. I have the following problem. It does not cut the user off when the limit was reached but it will reject the user when he/she tries to log in again. The DB only gets updated with the used octets once the users logs off. How do I get the session to be terminated when the max octets is reached?
Thanks Neill
1. You need to use sql counter (if you don't do already) 2. Use the Acct-Interim-Interval attribute in the reply to update accounting every x seconds. kind regards Yves
npayne wrote:
I have installed freeradius with daloRadius. I have then created a group / profile to cut off after using a certain amount of data.
You've created a profile where you *want* it to be cut off. Have you told the NAS to cut the user off after that data? Is the NAS capable of doing that?
I have the following problem. It does not cut the user off when the limit was reached but it will reject the user when he/she tries to log in again.
If the NAS doesn't track and enforce data limits, yes.
The DB only gets updated with the used octets once the users logs off. How do I get the session to be terminated when the max octets is reached?
Catch it in the "accounting" section, and tell the NAS to kick the user off. How *that* happens depends on the NAS. Alan DeKok.
Hi Alan, I am using a Linksys WRT54GL with DD-WRT software. Is there any change I must make in the WRT? Neill -- View this message in context: http://freeradius.1045715.n5.nabble.com/Radius-Groups-Profiles-tp3372247p337... Sent from the FreeRadius - User mailing list archive at Nabble.com.
participants (3)
-
Alan DeKok -
npayne -
YvesDM