Failed to disconnect online user with custom table
Hi All, I've develop application which use freeradius and use coova as captive portal.I use jradius to communicate with freeradius. Now, new user will be store in my custom table (not in radcheck as default freeradius). Now i try to disconnect user online (use:admin) with command bellow : *sudo echo User-Name=admin | radclient -x localhost:3779 disconnect testing123* but i get no response like bellow : Sending Disconnect-Request of id 251 to 127.0.0.1 port 3779 User-Name = admin Sending Disconnect-Request of id 251 to 127.0.0.1 port 3779 User-Name = admin Sending Disconnect-Request of id 251 to 127.0.0.1 port 3779 User-Name = admin radclient: no response from server for ID 251 socket 3 I try to check 3779 port with netstat, but system not listen that port. Any suggestion how to solve this problem ? Thanks -- *M.Iftakhul Anwar* Meruvian Integrator High Performance Computing / Cloud Computing (HPC/CC) Office Phone : 021-93586577 Mobile Phone : 085215331477 Blog : http://blog.mervpolis.com/roller/anwar FB : http://www.facebook.com/troya.adromeda Website : www.meruvian.org - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Disconnect Online User
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. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Disconnect Online User
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. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Disconnect Online User
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.cudba...@freeradius.org RADIUS - Half the complexity of Diameter - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Disconnect Online User
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-tp4637476p4637476.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html