News for hackers. Stuff that matters.
Re:The Guardian has moved to HTTPS by andy_ppp on Tuesday November 29, 2016 @11:01AM (#13063830)
I am slightly worried that a lot of public Wifi seems to be unable to redirect you to the login page (think Starbucks) if you visit https:// sites. The Guardian was my go-to for such situation so that I could login and get online.

I'm not sure how these redirects work (DNS? Inserting JS into the page?) but it seems to be a common problem.

Re:The Guardian has moved to HTTPS by wolf550e on Tuesday November 29, 2016 @11:25AM (#13064007)
Re:The Guardian has moved to HTTPS by Ajedi32 on Tuesday November 29, 2016 @11:10AM (#13063911)
They usually work by MITMing your connection to whatever site you're trying to visit and serving an HTTP redirect (maybe 307?) to the captive portal page.

As a substitute for The Guardian, maybe try http://example.com?

Re:The Guardian has moved to HTTPS by andy_ppp on Tuesday November 29, 2016 @11:23AM (#13063996)
But eventually all the sites will be HTTPS - I've no idea what non-techy users do when faced with this apparent brokenness.
Re:The Guardian has moved to HTTPS by robin_reala on Tuesday November 29, 2016 @11:25AM (#13064011)
I’d be surprised if example.com goes https-only. Regardless, if all sites go https only then free wifi providers will have to come up with some other way of redirecting you to their signup page.
Re:The Guardian has moved to HTTPS by wildmusings on Tuesday November 29, 2016 @11:28AM (#13064024)
There seems to be some protocol by which operating systems automatically launch the login page upon connecting to the WiFi network. Unfortunately, it seems to fail pretty often and probably doesn't work for bridged connections.
Re:The Guardian has moved to HTTPS by JimDabell on Tuesday November 29, 2016 @11:43AM (#13064140)
There's no standard protocol in widespread use. Typically operating systems attempt to fetch a known resource when connecting to a new Wi-Fi network, and if it redirects, then they treat the destination as the captive portal sign-in page and display it with special chrome / modally. The URL each platform attempts to load varies by vendor and version.
Re:The Guardian has moved to HTTPS by ethagnawl on Tuesday November 29, 2016 @12:02PM (#13064291)
Do you have any links to resources or know what name(s) people use when talking about this strategy? I'd be interested to know which URL Debian attempts to fetch, but I'm not sure how I'd even begin to search for the answer.
Re:The Guardian has moved to HTTPS by kalleboo on Tuesday November 29, 2016 @12:16PM (#13064390)
"Captive portal detection"

And here's your answer: http://network-test.debian.org/nm

Re:The Guardian has moved to HTTPS by ethagnawl on Tuesday November 29, 2016 @01:02PM (#13064788)
Thanks!
Re:The Guardian has moved to HTTPS by jlgaddis on Tuesday November 29, 2016 @12:20PM (#13064420)
Re:The Guardian has moved to HTTPS by brainfire on Tuesday November 29, 2016 @11:49AM (#13064188)
My understanding is that this is just the OS trying to fetch a known page over HTTP and, if redirected, assuming it got a login portal and presenting it to the user.

I assume this can continue "working" (with your noted caveat that it doesn't even always work today) forever, as the process that checks doesn't need to understand HSTS or to ever try HTTPS, regardless of what actual web browsers start doing.

Re:The Guardian has moved to HTTPS by rcthompson on Tuesday November 29, 2016 @11:51AM (#13064202)
Basically, they try to phone home and if it redirects, they assume it's a captive portal login page. It's a sort of controversial practice, because it means that the OS vendor now always knows where and when you're accessing the internet.
Re:The Guardian has moved to HTTPS by libeclipse on Tuesday November 29, 2016 @11:41AM (#13064120)
On Nougat it seems to work flawlessly most of the time. I wonder what the protocol is. Maybe a request to the access point's DNS server to see what IP is returned and then connect to that?
Re:The Guardian has moved to HTTPS by epmatsw on Tuesday November 29, 2016 @11:19AM (#13063963)
Ran into this with Southwest's wifi this week. HSTS preloading makes it worse too. No dice with Google, Facebook, my website, etc. Just lots of error pages until I figured out what was going wrong.
Re:The Guardian has moved to HTTPS by LeoPanthera on Tuesday November 29, 2016 @03:48PM (#13066141)
In-flight wifi on United has solved this problem by giving you an explicit page to go to. They say to go to unitedwifi.com to activate the connection.
Re:The Guardian has moved to HTTPS by sporkenfang on Tuesday November 29, 2016 @11:07AM (#13063887)
If you go to the Starbucks website the Accept Terms Of Service redirect seems to work fine... that's what I've usually done anyhow (shrug).
Re:The Guardian has moved to HTTPS by andy_ppp on Tuesday November 29, 2016 @11:21AM (#13063987)
Starbucks.com is https and I'm pretty sure it didn't work in Japan. YMMV.
Re:The Guardian has moved to HTTPS by andrewfromx on Tuesday November 29, 2016 @11:44AM (#13064148)
ha, American here and I use usatoday.com for that. But neverssl.com is great find.