News
:
This forum is now permanently frozen.
m0n0wall Forum
>
m0n0wall Support (English)
>
Services
>
Captive Portal
Topic: How does M0n0wall track authenticated users?
Pages: [
1
]
Topic: How does M0n0wall track authenticated users? (Read 3434 times)
How does M0n0wall track authenticated users?
« on: April 13, 2012, 22:58:08 »
Mike.P
Posts: 4
We are having issues specifically with iOS based devices where when they go to sleep, the user has to re-enter their credentials for the captive portal.
In order to better understand why this is, I was hoping to find out if M0n0wall uses a Cookie, tracks by IP. or some other method.
The documentation says M0n0wall tracks by MAC, but that would not account for remote, or routed connections.
So how does M0n0wall track authenticated users?
Re: How does M0n0wall track authenticated users?
« Reply #1 on: April 15, 2012, 06:29:07 »
cmb
Posts: 851
IP+MAC. Or just IP if you disable the MAC portion. Sleeping devices having to log in again means they're either hitting the idle timeout or hard timeout.
Re: How does M0n0wall track authenticated users?
« Reply #2 on: April 16, 2012, 17:21:09 »
Mike.P
Posts: 4
The idle time out is set to 480 minutes.
The hard timeout is left blank which should mean no hard timeout.
Users are experiencing this after 10 minutes.
Re: How does M0n0wall track authenticated users?
« Reply #3 on: April 23, 2012, 05:49:09 »
cmb
Posts: 851
Only way I can think of that would happen is if your DHCP lease time is way too short. It should be equal to or greater than your hard timeout, which should be set in most circumstances. If you only want to set the idle timeout, then make sure it's at least twice as long as your idle timeout. That'll ensure devices keep the same IP as long as their session is active.
Re: How does M0n0wall track authenticated users?
« Reply #4 on: April 26, 2012, 19:50:23 »
Mike.P
Posts: 4
DHCP service is set for a 24 hour lease time.
Re: How does M0n0wall track authenticated users?
« Reply #5 on: April 26, 2012, 20:48:18 »
Lennart Grahl
Posts: 153
Could it be that this is related to the "WPA group key handshake" problem as it occurs in the same interval (10 minutes)?
Re: How does M0n0wall track authenticated users?
« Reply #6 on: April 27, 2012, 20:13:19 »
Mike.P
Posts: 4
We're doing an open wireless so WPA doesn't factor in. 10 minutes is what most of the iOS devices are set to for their sleep timer. This seems to only occur after an iOS device is "woken up" which could be as little as 10 minutes, or much longer.
Re: How does M0n0wall track authenticated users?
« Reply #7 on: April 27, 2012, 20:17:59 »
Lennart Grahl
Posts: 153
Quote from: Mike.P on April 27, 2012, 20:13:19
We're doing an open wireless so WPA doesn't factor in.
That make's sense. Sorry.
Re: How does M0n0wall track authenticated users?
« Reply #8 on: November 19, 2012, 20:12:24 »
knightmb
Posts: 341
Captive Portal won't let someone with the Different MAC + Same IP even see the login sreen, so the only reason for it to come up is either the device is caching the login screen (some do for some stupid reason) in place of a website (say yahoo or google) or the device is getting a different IP everytime. It should be easy to tell by reading the captive portal logs what is going on.
Radius Service for m0n0wall Captive Portal -
http://amaranthinetech.com
Pages: [
1
]