hi, i need to disconnect online user automatically when complete his download capacity (like prepaid).how can i configure it in freeradius. please help me.. Thank you... -- View this message in context: http://freeradius.1045715.n5.nabble.com/Disconnect-Online-User-tp4637476p463... Sent from the FreeRadius - User mailing list archive at Nabble.com.
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.
Chris L wrote:
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.
That isn't standard in RADIUS. One or two pieces of software support it. But most NASes (switches, APs, etc.) do not support it. Alan DeKok.
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
participants (4)
-
Alan DeKok -
Arran Cudbard-Bell -
Chris L -
dulan