Re:Neverssl Uses SSL
by thangngoc89 on Wednesday May 03, 2023 @12:16PM
(#35804188)
I usually use http://captive.apple.com for the same functionality of NeverSSL and if you're using any Apple devices, that is the address iOS/iPadOS/macOS would use for wifi login
What are you referring to? It sounds like you're confused why more than one person made a solution to a problem. There's also captive.apple.com, among others.
Re:Neverssl Uses SSL
by rimunroe on Wednesday May 03, 2023 @12:58PM
(#35804742)
Are there other domain names reserved by IANA for the same purpose? I trust the people in charge of domain names to not change their minds on something like this more than I would a company (such as Apple).
Re:Neverssl Uses SSL
by thayne on Wednesday May 03, 2023 @09:57PM
(#35810368)
The purpose of example.com is not for getting to a captive portal page. It is to a domain set aside for use in examples and documentation. AFAIK, there is no guarantee that it won't start setting the HSTS header at some point.
Re:Neverssl Uses SSL
by iudqnolq on Wednesday May 03, 2023 @09:03PM
(#35809976)
neverssl.com uses JavaScript to redirect you to a random subdomain. This works around poorly behaved caches. It also (as the link discusses) redirects https to http.
It's poorly named. It's narrowly tailored at helping potentially non-technical users work around poorly implemented captive portals.
Re:Neverssl Uses SSL
by yardstick on Wednesday May 03, 2023 @01:06PM
(#35804853)
Did you read the tweet?
They had to add this because browsers now often auto append https:// to manually typed domain entries anyway. So it loads on https, then redirects to a http-only subdomain.
This way you can still find any captive portals needing you to login/accept T&Cs/etc. Which is what neverssl’s core purpose actually is.
The browser cachable bit is critical here. By having visited the page before, even though the network won’t allow traffic yet, the cached page performs a redirect to an unsecured page that the local captive portal CAN intercept.
Re:Neverssl Uses SSL
by yardstick on Wednesday May 03, 2023 @04:46PM
(#35807543)
What Joshua said, plus some hotspots also whitelist some IPs, allow some HTTPS temporarily. The world of hotspots is a real mixed bag on how they do things.
Re:Neverssl Uses SSL
by jsmith45 on Wednesday May 03, 2023 @03:21PM
(#35806544)
When behind a captive portal, you need to load some page over http to allow the device MITM you. Nice devices will have built in captive portal checking, but not all devices are built nicely.
On some devices typing “neverssl.com” will try to resolve https://neverssl.com without any form of http fallback. It may be actually pretty difficult to type :// on some devices too.
On these devices, if you ever visit “neverssl.com” when not behind a captive portal, you will get a a catchable redirect to http.
Then the next time you are behind a captive portal, if you type “neverssl.com” the browser resolve it to https like always, but will remember the cached redirect, and try to load the http version, letting you land at the captive portal page.
Re:Neverssl Uses SSL
by saila on Wednesday May 03, 2023 @01:10PM
(#35804917)
They support SSL because some browsers force https, but they then force a redirect to a non-SSL page. Seems reasonable. I think I may be missing the point of this being posted on HN. Does it cause issues in certain workflows or something?
Re:Neverssl Uses SSL
by Linux-Fan on Wednesday May 03, 2023 @03:59PM
(#35806974)
Firefox 102.10.0esr seems to do this here.
I type into the address bar: `http://example.com` and it corrects it to the HTTPS version. Even when I try to change the URL back to the `http://` it goes to the HTTPS version. When I try the same with curl as in `curl -v http://example.com` I can see the HTTP traffic coming through correctly i.e. the site still supports HTTP.
Note that I have configured "Don't enable HTTPS-Only Mode" in the Firefox settings. I use some addons although none to specifically redirect my requests to HTTPS...
Re:Neverssl Uses SSL
by sohkamyung on Wednesday May 03, 2023 @09:22PM
(#35810121)
I am using Firefox Nightly 114.0a1, with "Don't enable HTTPS-Only Mode" enabled, and a visit to http://example.com works as expected (a GET from http).
Enable the web developer tools (Menu->More Tools->Web Developer Tools), visit the site again, and see if it is directly visiting the site or getting a redirect.
Re:Neverssl Uses SSL
by Linux-Fan on Thursday May 04, 2023 @12:29PM
(#35818047)
The developer tools Network tab directly indicates the first connection as being HTTPS. No redirect shown there.
I additionally tested with my own site: http://masysma.net/31/web_main.xhtml. It is configured to not redirect to HTTPS except for the root node (http://masysma.net). It is not configured to behave any differently for user agents and hence the redirection (or no redirection) behaviour can also be checked by the commandline tools that print the course of the redirection (like curl, wget).
Regardless, the point of neverssl.com is that a non-technical user can learn "if I'm on a new wifi network and I see errors when I try to visit pages I can enter neverssl.com and get to the wifi login". Adding ssl + a redirect is much easier and more effective than trying to retrain everybody to manually type http.
It probably should have been named wifilogin.com or something. But renaming it has the same retraining issue.
Re:Neverssl Uses SSL
by zamnos on Wednesday May 03, 2023 @06:39PM
(#35808780)
It's the dichotomy between the name, neverSSL, and the fact that it's now doing SSL, that makes it interesting, because the name and proclamation is no longer accurate. Also it was hotly discussed yesterday so there's points for this story reflected from that.
Re:Neverssl Uses SSL
by rubatuga on Wednesday May 03, 2023 @02:46PM
(#35806137)
When I was trying to use the site a few weeks ago, port 80 wasn't working at all. Just port 443/HTTPS. So not only does it fail at never using ssl, but it also sometimes fails at doing HTTP.
>As described in RFC 2606 and RFC 6761, a number of domains such as example.com and example.org are maintained for documentation purposes.
It's poorly named. It's narrowly tailored at helping potentially non-technical users work around poorly implemented captive portals.
My experience is that many of them do. I think mine do, by default.
- https://www.eff.org/https-everywhere/set-https-default-your-...
It’s like a vegan meat company also selling pork sausage just in case they miss out on some passing carnivores.
They had to add this because browsers now often auto append https:// to manually typed domain entries anyway. So it loads on https, then redirects to a http-only subdomain.
This way you can still find any captive portals needing you to login/accept T&Cs/etc. Which is what neverssl’s core purpose actually is.
On some devices typing “neverssl.com” will try to resolve https://neverssl.com without any form of http fallback. It may be actually pretty difficult to type :// on some devices too.
On these devices, if you ever visit “neverssl.com” when not behind a captive portal, you will get a a catchable redirect to http.
Then the next time you are behind a captive portal, if you type “neverssl.com” the browser resolve it to https like always, but will remember the cached redirect, and try to load the http version, letting you land at the captive portal page.
I type into the address bar: `http://example.com` and it corrects it to the HTTPS version. Even when I try to change the URL back to the `http://` it goes to the HTTPS version. When I try the same with curl as in `curl -v http://example.com` I can see the HTTP traffic coming through correctly i.e. the site still supports HTTP.
Note that I have configured "Don't enable HTTPS-Only Mode" in the Firefox settings. I use some addons although none to specifically redirect my requests to HTTPS...
Enable the web developer tools (Menu->More Tools->Web Developer Tools), visit the site again, and see if it is directly visiting the site or getting a redirect.
I additionally tested with my own site: http://masysma.net/31/web_main.xhtml. It is configured to not redirect to HTTPS except for the root node (http://masysma.net). It is not configured to behave any differently for user agents and hence the redirection (or no redirection) behaviour can also be checked by the commandline tools that print the course of the redirection (like curl, wget).
Regardless, the point of neverssl.com is that a non-technical user can learn "if I'm on a new wifi network and I see errors when I try to visit pages I can enter neverssl.com and get to the wifi login". Adding ssl + a redirect is much easier and more effective than trying to retrain everybody to manually type http.
It probably should have been named wifilogin.com or something. But renaming it has the same retraining issue.
https://en.wikipedia.org/wiki/Example.com