[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeradius-users
Subject:    Re: Disconnect Online User
From:       Arran Cudbard-Bell <a.cudbardb () freeradius ! org>
Date:       2011-07-27 6:59:05
Message-ID: B6E70CBA-0065-4F19-86F0-E26DC5BA67C8 () freeradius ! org
[Download RAW message or body]


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@freeradius.org

RADIUS - Half the complexity of Diameter


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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic