nanog mailing list archives
Re: WiFi - login page redirection not working
From: Vincent Bernat <bernat () luffy cx>
Date: Fri, 01 Dec 2017 07:32:13 +0100
❦ 30 novembre 2017 18:26 -0800, Owen DeLong <owen () delong com> :
SSL requests are. For example, Google cache's their 301 redirect from http://www.google.com <http://www.google.com/> to https://www.google.com <https://www.google.com/> which means clients that had access while that browser ps stays active will still attempt https instead of http, regardless of what you actually type.Right, you’re talking about HSTS as I mentioned below. However, if there’s a well known URL for getting the captive portal to work (e.g. http://captive.portal), then we educate users (or browsers that they can type captive.portal (or whatever URL we choose) instead of google (which was my traditional go to before HSTS, I admit) and voila… Problem solved.
You can use http://neverssl.com/. But as mentioned earlier in the discussion, most OS have a non-HTTPS URL to detect a captive portal. They can display notifications to the user when they detect a captive portal. Browsers have that too. iOS/macOS: http://captive.apple.com/hotspot-detect.html Windows: http://www.msftncsi.com/ncsi.txt Ubuntu: http://start.ubuntu.com/connectivity-check Firefox: http://detectportal.firefox.com/ Chromium: http://clients3.google.com/generate_204 DHCP and neighbor discovery can also provide the information of the login page: https://tools.ietf.org/html/rfc7710 -- After all, all he did was string together a lot of old, well-known quotations. -- H. L. Mencken, on Shakespeare
Current thread:
- WiFi - login page redirection not working Ramy Hashish (Dec 01)
- Re: WiFi - login page redirection not working Jimmy Hess (Dec 01)
- Re: WiFi - login page redirection not working Josh Luthman (Dec 01)
- Re: WiFi - login page redirection not working Owen DeLong (Dec 01)
- Re: WiFi - login page redirection not working William Herrin (Dec 01)
- Re: WiFi - login page redirection not working Owen DeLong (Dec 01)
- Re: WiFi - login page redirection not working Josh Luthman (Dec 01)
- Re: WiFi - login page redirection not working Owen DeLong (Dec 01)
- Re: WiFi - login page redirection not working Vincent Bernat (Dec 01)
- Re: WiFi - login page redirection not working Nikolay Shopik (Dec 01)
- Re: WiFi - login page redirection not working Vincent Bernat (Dec 01)
- Re: WiFi - login page redirection not working Owen DeLong (Dec 01)
- RE: WiFi - login page redirection not working Edwin Pers (Dec 06)
- Re: WiFi - login page redirection not working Josh Luthman (Dec 01)
- Re: WiFi - login page redirection not working Jimmy Hess (Dec 01)