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
[email protected]

RADIUS - Half the complexity of Diameter


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to