[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
WiFi - login page redirection not working
- Subject: WiFi - login page redirection not working
- From: bernat at luffy.cx (Vincent Bernat)
- Date: Fri, 01 Dec 2017 07:32:13 +0100
- In-reply-to: <[email protected]> (Owen DeLong's message of "Thu, 30 Nov 2017 18:26:04 -0800")
- References: <CAOLsBOvE6Nin=2qEPJc6mxkHx8R6ekGEWza6zPOCObh2-yE5PQ@mail.gmail.com> <CAAAwwbU7aSad8fbrcBOjg1h5aaWFGL_ZBdVLfRn24-nkuuq8FQ@mail.gmail.com> <CAN9qwJ96=1xfs6eXGRLzTMhBWvXGxBsy7dTXW7viopODY6stiA@mail.gmail.com> <[email protected]> <CAN9qwJ8giYAY=DjD7ATRp50fSx_tnohTGcf3Q2-begN1TNkucA@mail.gmail.com> <[email protected]>
â?¦ 30 novembre 2017 18:26 -0800, Owen DeLong <owen at 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