Re:Bringing HSTS to www.google.com
by jc4p on Friday July 29, 2016 @04:45PM
(#12189845)
This was my immediate first thought too. A lot of subway stations got WiFi in NYC and for the one directly underneath my office I always had to load Google first to get the login portal to load. Any other websites I visit (including this one) just displayed a HSTS error instead.
[ Parent
| on HN ]
You can use http://example.com operated by the IANA, which is accessible though http and https.
Since an auto-upgrade to https would break a considerable number of examples, and there's no compelling business need on their part to promote https-only, it's much more likely to stay available through http than just about any other website run by commercial interests.
Re:Bringing HSTS to www.google.com
by Nullabillity on Friday July 29, 2016 @09:31PM
(#12191220)
example.com just seems to point to localhost for me. Weird...
Possibly you have a config somewhere that has example.com in it... Could try example.org instead?
Re:Bringing HSTS to www.google.com
by Nullabillity on Saturday July 30, 2016 @05:49AM
(#12192326)
Same thing there. Oddly enough, `dig @8.8.8.8 example.com` seems to work. No mention of it in /etc/hosts. Guess my ISP must be up to some shenanigans. :/
With mine I get:
Host example.com not found: 5(REFUSED)http://http.rip will always be http only; it's the domain I use for this purpose.
Very nice, I didn't know there was a dedicated site for "I need just HTTP" purposes. Thanks for the tidbit!
Re:Bringing HSTS to www.google.com
by chinathrow on Tuesday August 02, 2016 @06:59AM
(#12209011)
Actually, there is https on the site, at least with a self-signed cert.
You can use the addresses that Google and Apple products use to detect captive portals.
Google uses http://connectivitycheck.gstatic.com/generate_204. Apple uses http://captive.apple.com/hotspot-detect.html and http://www.apple.com/library/test/success.html.
Re:Bringing HSTS to www.google.com
by chinathrow on Saturday July 30, 2016 @03:51AM
(#12192070)
I was pretty sure that my Android Version uses google.com for the 204 generation. Without further updates, that would break.
Re:Bringing HSTS to www.google.com
by icebraining on Saturday July 30, 2016 @04:21AM
(#12192142)
Probably not; google.com will still reply on HTTP, it's just that if you have a browser that visits the HTTPS page, it'll record a rule to never visit the HTTP version. I doubt the code doing captive portal detection supports HSTS at all, so most likely it'll still work just fine.
Re:Bringing HSTS to www.google.com
by chinathrow on Saturday July 30, 2016 @06:49AM
(#12192457)
But that would be exactly the use case here; browse google manually and then hsts kicks in from then on. Later, I get a captive portal wifi and it uses http://www.google.com/generate_204 and whoops, no request sent and no way for the wifi to redirect me to their login portal.
Both happens in chrome hence the same browser context.
Re:Bringing HSTS to www.google.com
by icebraining on Saturday July 30, 2016 @08:06AM
(#12192630)
Ah, right; I was thinking about the detection mechanism (which probably doesn't use Chrome), not the redirection.
Re:Bringing HSTS to www.google.com
by chinathrow on Saturday July 30, 2016 @12:38PM
(#12193647)
Right, the detection mechanism is part of the OS, not the browser.
https://developer.android.com/reference/android/net/Connecti...
Re:Bringing HSTS to www.google.com
by giovannibajo1 on Friday July 29, 2016 @06:30PM
(#12190532)
We must thanks the wifi alliance for not having solved this problem in 15 years while they were busy releasing broken crypto implementations.
Instead, it looks like the IETF will be the one solving it. https://datatracker.ietf.org/wg/capport/documents/
Re:Bringing HSTS to www.google.com
by giovannibajo1 on Saturday July 30, 2016 @06:29AM
(#12192417)
Yeah. The wifi alliance track record is so bad that it's a real pity they run one of the most important protocols we have today. They are decades late on most required innovations, and when they try to design something, it's just so severely broken that requires many iterations to get to a decent status. Miracast is another example of being late and failing at producing something decent.
Re:Bringing HSTS to www.google.com
by roywiggins on Friday July 29, 2016 @04:55PM
(#12189920)
I use xkcd.com for this. Short safe domain, no HSTS.
Re:Bringing HSTS to www.google.com
by inopinatus on Friday July 29, 2016 @05:26PM
(#12190144)
I use an old and otherwise unused vanity domain hosted on a private server for this.
I usually type in a random url, like askdjajrj.com
Re:Bringing HSTS to www.google.com
by scrollaway on Friday July 29, 2016 @09:01PM
(#12191131)
I use cnn.com. I know they support neither ipv6 nor https, and they don't trigger firewalls.
I use cnn.com too because the name is short and easy to type on my phone. Hopefully they won't switch to HTTPS any time soon. :)
Only works if you don't use your own DNS.
...which only works if UDP traffic on port 53 isn't blanket-rerouted.