Disconnect users hanging

Clayton Alves clayton.aa at gmail.com
Tue Mar 18 18:09:51 CET 2014


I've got the same problem using mikrotik routers.
Sometimes it just doesn't send AcctTerminate packets. Maybe its a router
problem.

The solution I found is set Interim-Update time to 5 minutes and put this
script in cron to run regularly.

https://gist.github.com/claytonaalves/9165004

This works for me... maybe it helps.


Clayton A. Alves <http://claytonaalves.github.com>
 *claytonaalves*
 +55 66 9233-3406


2014-03-18 11:11 GMT-04:00 Julio Fsnet <julio.fsnet at gmail.com>:

> Yes, I am use MySQL with InnoDB Engine
>
>
> 2014-03-18 8:43 GMT-03:00 Clayton Alves <clayton.aa at gmail.com>:
>
>> Are you using MySQL?
>> If 'yes', are the tables using InnoDB engine ?
>>
>> Clayton A. Alves <http://claytonaalves.github.com>
>>  *claytonaalves*
>>  +55 66 9233-3406
>>
>>
>> 2014-03-17 10:12 GMT-04:00 Julio Fsnet <julio.fsnet at gmail.com>:
>>
>>>  I have a problem. When the user tries to connect and already has a
>>> connection to it, an error pops multiple logins. I need to write this mysql
>>> error log somewhere or else knock the hanging connection, how can I do this?
>>>
>>>
>>> -
>>> List info/subscribe/unsubscribe? See
>>> http://www.freeradius.org/list/users.html
>>>
>>
>>
>> -
>> List info/subscribe/unsubscribe? See
>> http://www.freeradius.org/list/users.html
>>
>
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/mailman/private/freeradius-users/attachments/20140318/262d3a63/attachment.html>


More information about the Freeradius-Users mailing list