News for hackers. Stuff that matters.
Re:Neverssl Uses SSL by woodruffw on Wednesday May 03, 2023 @12:13PM (#35804150)
They missed an opportunity to claim that they only support TLS, not SSL. Unless they're also accepting SSLv3 connections.
Re:Neverssl Uses SSL by jwilk on Wednesday May 03, 2023 @12:41PM (#35804517)
Looks like they don't:

  $ openssl s_client -ssl3 -connect neverssl.com:443
  CONNECTED(00000003)
  140453876520616:error:1409442E:SSL routines:SSL3_READ_BYTES:tlsv1 alert protocol version:s3_pkt.c:1315:SSL alert number 70
  140453876520616:error:1409E0E5:SSL routines:SSL3_WRITE_BYTES:ssl handshake failure:s3_pkt.c:637:
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
Re:Neverssl Uses SSL by cuteboy19 on Wednesday May 03, 2023 @06:00PM (#35808358)
I used to use detectportal.firefox.com but now it downloads some bin file for whatever reason
Re:Neverssl Uses SSL by EwanToo on Wednesday May 03, 2023 @12:19PM (#35804237)
Since November 2021, not sure this is news..
Re:Neverssl Uses SSL by mh- on Wednesday May 03, 2023 @12:20PM (#35804247)
True, headline deserves a (2021). But, it was news to me yesterday when it came up in a comment thread here.
Re:Neverssl Uses SSL by aftbit on Wednesday May 03, 2023 @12:24PM (#35804282)
What's the point of this site? Why not just use http://example.com?
Re:Neverssl Uses SSL by happytoexplain on Wednesday May 03, 2023 @12:36PM (#35804450)
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 therein on Wednesday May 03, 2023 @01:37PM (#35805285)
There are not.
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 paxys on Wednesday May 03, 2023 @01:05PM (#35804846)
What is the purpose of http://example.com? Why not just use http://neverssl.com?
Re:Neverssl Uses SSL by tomstockmail on Wednesday May 03, 2023 @01:13PM (#35804962)
Example.com is reserved by IANA and should be reliable to exist for a long time. From the "more information" link:

>As described in RFC 2606 and RFC 6761, a number of domains such as example.com and example.org are maintained for documentation purposes.

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 ChrisMarshallNY on Wednesday May 03, 2023 @12:27PM (#35804329)
> some browsers and sites automatically use https even when you don't type that in.

My experience is that many of them do. I think mine do, by default.

Re:Neverssl Uses SSL by karmakaze on Wednesday May 03, 2023 @02:52PM (#35806213)
There's a number of rules around using https first/only. I recall that all .app domains only use https as well as any domain using HSTS.

- https://www.eff.org/https-everywhere/set-https-default-your-...

Re:Neverssl Uses SSL by quasiuna on Wednesday May 03, 2023 @01:00PM (#35804783)
Is this a joke? Seems to be the most bizarre example of a pivot for a service with such a straightforward purpose.

It’s like a vegan meat company also selling pork sausage just in case they miss out on some passing carnivores.

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.

Re:Neverssl Uses SSL by iforgotpassword on Wednesday May 03, 2023 @01:12PM (#35804941)
Sooo, you're behind a captive portal which blocks internet access. So you access an https website on the internet that will redirect you to http. Wat.
Re:Neverssl Uses SSL by JoshuaRogers on Wednesday May 03, 2023 @01:40PM (#35805324)
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 bityard on Wednesday May 03, 2023 @01:25PM (#35805113)
Unless I'm missing something embarrassingly obvious, redirecting HTTPS->HTTP doesn't help those use cases at all.
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 LeoPanthera on Wednesday May 03, 2023 @01:06PM (#35804855)
Did you actually read the post? It's quite clear, and doesn't break the purpose of the site at all. It actually makes it work in more places.
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 paxys on Wednesday May 03, 2023 @01:18PM (#35805020)
Nope, people are just looking for their daily dose of outrage.
Re:Neverssl Uses SSL by rubatuga on Wednesday May 03, 2023 @02:48PM (#35806176)
Which browsers force https when you type in http:// before the domain?
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 cuteboy19 on Wednesday May 03, 2023 @05:58PM (#35808329)
Is it possible that example com is redirecting you
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).

Re:Neverssl Uses SSL by rubatuga on Friday May 05, 2023 @12:28AM (#35825228)
I'm using Firefox 91.13.0esr and it doesn't have that behaviour.
Re:Neverssl Uses SSL by iudqnolq on Wednesday May 03, 2023 @09:01PM (#35809968)
Chrome, in an experiment they've rolled out to half their users in preparation of making it the default. https://chromium.googlesource.com/chromium/src/+/19719792bbd...

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 hammyhavoc on Thursday May 04, 2023 @02:21PM (#35819884)
Wait until people hear about a popular sex act and it being a misnomer.
Re:Neverssl Uses SSL by jonas-w on Wednesday May 03, 2023 @01:12PM (#35804952)
Re:Neverssl Uses SSL by anotherhue on Wednesday May 03, 2023 @01:31PM (#35805202)
I like http://example.com as it's IANA owned (or maybe ICANN) so more stable than most hobbyist versions.

https://en.wikipedia.org/wiki/Example.com

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.