Community discussions

MikroTik App
 
rgenovesi
just joined
Topic Author
Posts: 21
Joined: Wed Aug 25, 2004 9:16 pm

Hotspot and Keepalive

Fri Aug 05, 2005 6:27 pm

Hi all,

I'm trying to figure out what method the Mikrotik "keepalive timeout" uses to determine whether the client is still connected or not ...

I found the question asked a few times already in the forum, but no authoratative answer was given.

Does keepalive timeout rely on some sort of method (ie icmp ping) that a client firewall (ie: xp sp2 firewall) can block? or does it use some other method, such as arp requests/replies?

Thanks mucho,

-Rob
 
ilero
newbie
Posts: 49
Joined: Fri Jun 04, 2004 3:51 pm

Thu Aug 11, 2005 5:45 am

Can anyone answer this? I, myself, have previously asked this question, but I never received a response...Thanks
 
cybertime
newbie
Posts: 30
Joined: Tue Sep 21, 2004 8:45 am

Thu Aug 11, 2005 6:31 pm

From the manual under HotSpot Gateway, HotSpot Active Users:

keepalive-lost (read-only: time) - how much time past since last packed [sic] from the client has been received
 
rgenovesi
just joined
Topic Author
Posts: 21
Joined: Wed Aug 25, 2004 9:16 pm

re:keepalive

Wed Aug 17, 2005 5:34 pm

cybertime, that sounds more like an idle timeout to me...

it could be possible (but maybe unlikely) that a client is still connected for longer than the keepalive-timeout and simply not sending any packets.

my goal in using keepalive-timeout rather than idle-timeout is to avoid logging off idle (but still present) customers...


-rob
 
wildbill442
Forum Guru
Forum Guru
Posts: 1055
Joined: Wed Dec 08, 2004 7:29 am
Location: Sacramento, CA

Wed Aug 17, 2005 7:25 pm

keep-alive timeouts are used to determine weather or not a session is still active. When a client isn't sending any data it will send out keep-alive messages to the hotspot/router, if they exceed the keep-alive timer the session is declared failed, and torn down.
 
jarosoup
Long time Member
Long time Member
Posts: 596
Joined: Sun Aug 22, 2004 9:02 am

Wed Aug 17, 2005 7:29 pm

It's not ping based as we have some public Hotspots that use the keepalive and I know some of the users have heavy firewalls set. Once people disconnect or shutdown their computer, the keepalive kicks in and they get disconnected shortly after. You can be idle for quite some time and still stay connected - as long as the client has a good wireless connection. It works as advertised...
 
wildbill442
Forum Guru
Forum Guru
Posts: 1055
Joined: Wed Dec 08, 2004 7:29 am
Location: Sacramento, CA

Wed Aug 17, 2005 7:32 pm

It's not ping based as we have some public Hotspots that use the keepalive and I know some of the users have heavy firewalls set. Once people disconnect or shutdown their computer, the keepalive kicks in and they get disconnected shortly after. You can be idle for quite some time and still stay connected - as long as the client has a good wireless connection. It works as advertised...
To add to what jarosoup said, keep alives are outbound from client to router/server so unless the user is using outbound firewall rules the firewall shouldn't matter.