NAS restart without proper client logout on radius (mysql)

Nataniel Klug nata at cnett.com.br
Tue Jul 17 14:16:15 CEST 2007


Hi Ivan,

Now you get where I want to... I use Mikrotik RouterOS as NAS... What do 
you do when you need to reboot your Mikrotik?

tnt at kalik.co.yu escreveu:
> I don't think things like Mikrotik and Chillispot send such packets.
> I've never seen one from our Mikrotik which is rebotted once every week
> or two. I've never seen one from our Cisco either but that's because
> it hasn't been rebooted in last 18 months ;-)
>
> Ivan Kalik
> Kalik informatika ISP
>
>
> Dana 16/7/2007, "Hugh Messenger" <hugh at alaweb.com> piše:
>
>   
>> tnt at kalik.co.yu said:
>>     
>>> Dana 16/7/2007, "Nataniel Klug" <nata at cnett.com.br> piše:
>>>
>>>       
>>>>    Hello all,
>>>>
>>>>    I have a question: when a nas restart without sending client logout
>>>> to the freeradius server the clients stay connected in radacct table
>>>> (AcctStopTime=0). What can I do to solve this kind of problem? What
>>>> could happen is that when a nas reboot my clients keep logged and when
>>>> the nas start again they will get "You are already logged in"
>>>> (simultaneous-use).
>>>>
>>>>         
>>> If they are getting that message then nastype in clients.conf is set to
>>> "other" which disables checkrad script and the checks are made only
>>> against the database. Change the nastype to the vendor of your NAS (if
>>> it is supported). Or simply delete all open entries older that the time
>>> your NAS rebooted.
>>>       
>> Shouldn't the NAS send one or both of accounting off/on, which (if the
>> accounting_onoff_query is defined correctly) should set the AcctStopTime to
>> "now()" (or %S depending on flavor)?
>>
>>     
>>> Ivan Kalik
>>> Kalik Informatika ISP
>>>       
>>   -- hugh
>>
>>
>>
>> - 
>> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>>
>>
>>     
>
> - 
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
> --
> Esta mensagem foi verificada pelo antivirus e antispam
> e acredita-se nao se tratar de nenhum dos dois.
>
> Sistema de email Cyber Nett - v2.0
>
>
>   

-- 
Att,

NATANIEL KLUG
nata at cnett.com.br


Cyber Nett - Internet Banda Larga
www.cnett.com.br
(42) 3635-2957
Rua Diogo Pinto, 1046, Centro
Laranjeiras do Sul - PR
Brasil - 85301-290

"... também os sábios possuem coraça~o tangível e podem, por vezes, usar da cie^ncia como meio de demonstrar impresso~es sentimentais de que muitos na~o os julgam suscetíveis."
Visconde de Taunay


--
Esta mensagem foi verificada pelo antivirus e antispam
e acredita-se nao se tratar de nenhum dos dois.

Sistema de email Cyber Nett - v2.0

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20070717/0b32a7d6/attachment.html>


More information about the Freeradius-Users mailing list