Disconnect Online User
Arran Cudbard-Bell
a.cudbardb at freeradius.org
Wed Jul 27 08:59:05 CEST 2011
On 27 Jul 2011, at 08:34, Chris L wrote:
>
> On Jul 26, 2011, at 11:19 PM, Alan DeKok wrote:
>
>> dulan wrote:
>>> i need to disconnect online user automatically when complete his download
>>> capacity (like prepaid).how can i configure it in freeradius.
>>
>> You don't. RADIUS doesn't really do that.
>
> Well, if you know in advance, at AA time, how much the session is allocated to transfer and *IF* your NAS supports something like Acct-Session-Output-Octets, Session-Octets-Limit, etc, you should be able to set that to a specific value as a Reply Item and the NAS *SHOULD* disconnect the user when that limit is reached. Good luck.
>
Call a script and use SNMP to disconnect the user. You should have everything you need in the accounting request. Many more NAS support this than SoH or DM.
-Arran
Arran Cudbard-Bell
a.cudbardb at freeradius.org
RADIUS - Half the complexity of Diameter
More information about the Freeradius-Users
mailing list