All mobile OS just check a web page to decide whether they're behind a captive portal or not.
The mechanism is this:
Just make sure to explicitly redirect the following urls to your captive portal with HTTP Success: Android / Chromebook:
Windows
The Amazon Kindle (Fire) makes the following request, and if it cannot be retrieved "... it assumes that the user has to login and throws up a Log In screen.": iOS 8.4 For the latest iOS I had to match all URIs for requests to http://captive.apple.com - not just "/hotspot-detect.html". iOS 8.4 clients are making requests with randomly generated URIs (e.g. "/xmqPyZUv/3r8jTjv8.html" and "/7exN0TV7q0COX0/eKlBU8baU2tape/fjXUzDHBdE6W0O/BGbw7iYU2DVBh1/sVBlx8icYzTTtE.html") in URL requests to the following domains to detect a captive portal: Many vendors have also began to use the User Agent "CaptiveNetworkSupport", though it's not as common as the URL method above. Just check for that UA and always give it your portal page...doesn't work 100% though. I use the URL method and it's been working fine. |
fonte:
http://www.magicbluesmoke.org/how-to-disable-googles-captive-portal-detection-and-why-doing-so-closes-a-small-privacy-hole/
https://android.stackexchange.com/questions/139588/captive-portal-detection-causing-phones-to-disconnect-from-wi-fi-in-intranet-env
0 comentários:
Postar um comentário