Disable HTTPS upgrade? Posted Mar 4, 2025 18:04 UTC (Tue) by Cyberax (✭ supporter ✭, #52523) [Link] (59 responses) > automatic attempt to upgrade HTTP connections to HTTPS Anyone knows how to disable that? I don't see anything relevant in about:config. Use-case: HTTP-only local sites. Disable HTTPS upgrade? Posted Mar 4, 2025 18:23 UTC (Tue) by csamuel (✭ supporter ✭, #2624) [Link] The release notes say: > Firefox now upgrades page loads to HTTPS by default and gracefully falls back to HTTP if the secure connection fails. This behavior is known as HTTPS-First. The HTTPS-First doc says: https://support.mozilla.org/en-US/kb/https-first > Some websites only support HTTP and the connection cannot be upgraded. If an HTTPS version of a site is not available, the site will load but through the less secure HTTP protocol. In some cases, websites seem to support HTTPS but serve different content from the HTTP version or behave different in other ways. To avoid upgrade attempts users can enter an address in the address bar with an explicit http:// scheme. Permanent exceptions added in the HTTPS-Only Mode section in Firefox settings will also prevent upgrades. Disable HTTPS upgrade? Posted Mar 4, 2025 18:25 UTC (Tue) by excors (subscriber, #95769) [Link] (5 responses) The page linked in the release notes (https://support.mozilla.org/kb/https-first) says: > To avoid upgrade attempts users can enter an address in the address bar with an explicit http:// scheme. Permanent exceptions added in the HTTPS-Only Mode section in Firefox settings will also prevent upgrades. Also there's the dom.security.https_first setting, and various subsettings including https_first_for_local_addresses (default false) and https_first_for_custom_ports (default false). Disable HTTPS upgrade? Posted Mar 4, 2025 18:31 UTC (Tue) by Cyberax (✭ supporter ✭, #52523) [Link] (4 responses) My local sites are on IPv6 (yeah, I'm a glutton for punishment) and they are proxied through a host that also has a port 443 open. So Firefox tries to auto-upgrade the connection, and then fails the certificate check. Just specifying the HTTP manually does nothing, it still tries to upgrade. Disable HTTPS upgrade? Posted Mar 5, 2025 8:45 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (3 responses) Are you sure you don't have HTTPS-Only activated? Because that seems to take precedence over HTTPS-First. Disable HTTPS upgrade? Posted Mar 5, 2025 19:06 UTC (Wed) by Cyberax (✭ supporter ✭, #52523) [Link] (2 responses) I think what happened is that I entered the address without the "http://" prefix, and it's now stuck. Now even when I try to specify the plain HTTP, Firefox tries to "ugprade" it. FFS, Firefox developers. When you do BS like this, provide opt-outs. Disable HTTPS upgrade? Posted Mar 6, 2025 0:56 UTC (Thu) by PeeWee (subscriber, #175777) [Link] Instead of shouting at them from here, why don't you report a bug? This is clearly not how this is supposed to work, as per their official documentation. And it sounds like the "Awesome Bar", which is indeed awesome, might be too clever for once, or someone just forgot about it. Disable HTTPS upgrade? Posted Mar 6, 2025 1:23 UTC (Thu) by PeeWee (subscriber, #175777) [Link] I just found an easy fix for this: delete the site from history by telling FF to "Forget About This Site..." in the history sidebar. Disable HTTPS upgrade? Posted Mar 4, 2025 18:32 UTC (Tue) by ballombe (subscriber, #9523) [Link] (51 responses) Also I do not see how it can work. There is no reason for the https and http versions to be remotely similar. Is there a HTTP header that tell the browser to switch to the https version ? Disable HTTPS upgrade? Posted Mar 4, 2025 18:38 UTC (Tue) by Cyberax (✭ supporter ✭, #52523) [Link] (45 responses) No. Firefox seems to try the HTTPS connection to the same host, and it succeeds (the port is open). E.g. "home.mydomain.net" and "camera.mydomain.net" both resolve to `2600:A:B::1`. The request are proxied by NGINX for HTTP. However, `2600:A:B::1` also has port 443 open, and it serves just the "router.mydomain.net" website. Disable HTTPS upgrade? Posted Mar 4, 2025 18:44 UTC (Tue) by draco (subscriber, #1792) [Link] (44 responses) It's IPv6. Give the host another address and disambiguate it that way? Disable HTTPS upgrade? Posted Mar 4, 2025 22:00 UTC (Tue) by Cyberax (✭ supporter ✭, #52523) [Link] The idea is that devices don't necessarily _have_ IPv6, but the router has it. It will also have this problem with IPv4. Disable HTTPS upgrade? Posted Mar 5, 2025 3:39 UTC (Wed) by intelfx (subscriber, #130118) [Link] (42 responses) > It's IPv6. Give the host another address and disambiguate it that way? I can't speak for Cyberax, but for me, part of the problem is the *need itself* to jump through hoops and perform contortions for no good reason. Why should I complicate my configuration just to placate a misfeature? Disable HTTPS upgrade? Posted Mar 5, 2025 8:50 UTC (Wed) by taladar (subscriber, #68407) [Link] (37 responses) Why should the entire world stay less secure just to cater to the extremely rare case that hosts have both ports open but don't serve the same hostnames on both? Disable HTTPS upgrade? Posted Mar 5, 2025 8:54 UTC (Wed) by intelfx (subscriber, #130118) [Link] (15 responses) That's a false dichotomy and a strawman. This particular instance of the misfeature does not make anything less secure. Let's, instead, rephrase it this way: why should someone's desire to have some $feature in a completely unrelated context break a completely valid, legal and standards-compliant configuration? Disable HTTPS upgrade? Posted Mar 5, 2025 8:58 UTC (Wed) by intelfx (subscriber, #130118) [Link] Sorry, s/less secure/more secure/. Disable HTTPS upgrade? Posted Mar 5, 2025 9:22 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (13 responses) why should someone's desire to have some $feature in a completely unrelated context break a completely valid, legal and standards-compliant configuration? (emphasis added) Who says that it is? I am half suspecting that it just happened to work because of implicit reliance on side effects, i.e. no-one ever tried to connect via HTTPS before. Disable HTTPS upgrade? Posted Mar 5, 2025 9:41 UTC (Wed) by intelfx (subscriber, #130118) [Link] (12 responses) > Who says that it is? Because existence and nature of HTTP services on port 80 on a particular host is not supposed to mean or convey anything about existence and nature of HTTPS services on port 443 on the same IP address. If you want to prove me wrong, please quote an RFC. Disable HTTPS upgrade? Posted Mar 5, 2025 10:41 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (6 responses) It's implicit in the definition of HTTPS, which is just HTTP over TLS. And the mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard. Also the problem @Cyberax describes looks like it can be fixed by proper authentication certificates for all the host names or a wildcard for the lower level domain. Disable HTTPS upgrade? Posted Mar 5, 2025 10:46 UTC (Wed) by intelfx (subscriber, #130118) [Link] (5 responses) So, it's not actually a thing. Thanks. Disable HTTPS upgrade? Posted Mar 5, 2025 10:56 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (4 responses) You may also want to checkout @csamuel's reply and the knowledge base article he linked to. If that method does not work, it's a bug which should be reported, simple as that. Alas, this is yet another storm in a tea cup, imagined by people whose go-to response is ranting about some vendors they chose to hate, yet they still use their product. So the problem is in fact not a thing. Thank you. Disable HTTPS upgrade? Posted Mar 5, 2025 11:07 UTC (Wed) by intelfx (subscriber, #130118) [Link] (3 responses) You are linking to internal documentation containing a description of the behavior of one specific implementation, the one whose behavior is being questioned. That does not advance the discussion at all. Just like in your previous comment ("mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard"), it is invalid to justify some sort of behavior by the fact that this behavior exists. Disable HTTPS upgrade? Posted Mar 5, 2025 11:31 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (2 responses) You are linking to internal documentation containing a description of the behavior of one specific implementation, the one whose behavior is being questioned. That is very much public documentation, which one arrives at by following the link in the release notes. That does not advance the discussion at all. You are making up problems which are non-existent. That does not advance the discussion. Just like in your previous comment (""mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard""), it is invalid to justify some sort of behavior by the fact that this behavior exists. The user who enters an incomplete URI is at fault, basically, and FF just changed how it defaults (hence the name) the request. And that's what you get when you rely on side effects. Always enter complete URIs and there is no problem. Disable HTTPS upgrade? Posted Mar 5, 2025 15:20 UTC (Wed) by intelfx (subscriber, #130118) [Link] (1 responses) > The user who enters an incomplete URI is at fault I never said I did this, yet you somehow assumed a fact that makes me at fault. > You are making up problems which are non-existent Okay, so you apparently know better than me what problems I experienced. This is a subtype of a personal attack, and, again, not something that's called a "good faith discussion". This is a pattern (even in this message, but also with you in general), therefore I will not talk to you further. Have a good day. Disable HTTPS upgrade? Posted Mar 5, 2025 15:50 UTC (Wed) by PeeWee (subscriber, #175777) [Link] > The user who enters an incomplete URI is at fault I never said I did this, yet you somehow assumed a fact that makes me at fault. Why does everything have to be about you? Are you that narcissistic? I was (implicitly) referring to @Cyberax, or rather the problem they described above. > You are making up problems which are non-existent Okay, so you apparently know better than me what problems I experienced. No, I am referring to your assertion that somehow FF is doing something wrong here, which it does not. This is a subtype of a personal attack, and, again, not something that's called a "good faith discussion". I apologize if it came across that way, which was not my intention. Disable HTTPS upgrade? Posted Mar 5, 2025 10:55 UTC (Wed) by excors (subscriber, #95769) [Link] (3 responses) RFC9110 says: > Resources made available via the "https" scheme have no shared identity with the "http" scheme. They are distinct origins with separate namespaces. but then goes on to mention cookies as an example of features that undermine the strict distinction. Specifically RFC6265 says: > servers SHOULD NOT both run mutually distrusting services on different ports of the same host and use cookies to store security-sensitive information. because cookies are shared by all schemes and ports on the same host. So even if you stick to the hypothetical world described by RFCs and ignore practical concerns, you can't treat HTTP and HTTPS services on the same host as completely independent. Disable HTTPS upgrade? Posted Mar 5, 2025 11:02 UTC (Wed) by intelfx (subscriber, #130118) [Link] > RFC9110 says: > >> Resources made available via the "https" scheme have no shared identity with the "http" scheme. They are distinct origins with separate namespaces. > > but then goes on to mention cookies as an example of features that undermine the strict distinction. Specifically RFC6265 says: > >> servers SHOULD NOT both run mutually distrusting services on different ports of the same host and use cookies to store security-sensitive information. Sure, that's a restriction placed on the previous clause. Yet, "the exception proves the rule in cases not excepted". So it is, in fact, true that besides this mutual distrust caveat, RFCs declare http:// and https:// resources as separate namespaces. I take it as a pretty clear-cut confirmation that the standards agree with my interpretation. Disable HTTPS upgrade? Posted Mar 5, 2025 14:07 UTC (Wed) by ballombe (subscriber, #9523) [Link] (1 responses) > because cookies are shared by all schemes and ports on the same host. ... which independently of https is a major design bug since webservers on non-standard ports exist. Disable HTTPS upgrade? Posted Mar 5, 2025 15:19 UTC (Wed) by excors (subscriber, #95769) [Link] Yeah, modern web security is based on "origin" (basically a tuple of scheme, port and host) which is generally sensible, but cookies were invented long before that and can't be fixed because of backward compatibility requirements. If you want to properly isolate sites then they can't even be on different subdomains of the same domain - they must be completely different domains, up to a suffix listed in the Public Suffix List (.com, .co.uk, .github.io, etc). And definitely don't try to isolate them just by port. It's a bad design, but it is what it is. (Or as RFC6265 puts it: "For historical reasons, cookies contain a number of security and privacy infelicities.") Disable HTTPS upgrade? Posted Mar 6, 2025 1:29 UTC (Thu) by NYKevin (subscriber, #129325) [Link] This is the web, not some NIST-compliant government boondoggle. Everyone used to write charset='iso-8859-1' when they should have written charset='windows-1252'. You can tell people that they're wrong, but that won't fix the websites that already exist. Instead, WHATWG specifies the former as an alias for the latter, and both are now "correct." You should expect that common practices gradually ossify into standards - that is how the web has always worked. As for HTTPS in particular: * The HTTPS Everywhere extension has demonstrated that, in practice, many websites serve the same content on HTTPS as they do on HTTP, and you really can just replace http:// with https:// in a lot of URLs. * HSTS (RFC 6797) has established a precedent that web standards should go out of their way to support and enhance the case where HTTP redirects to HTTPS, even if this means overriding the user's explicit instruction to connect with HTTP. * The entire .dev gTLD is preloaded into HSTS. If you buy one of those domains, you cannot serve HTTP at all (at least, to any of the usual browsers), because the browser will rewrite all URLs to HTTPS. * All major browsers now display "Not secure" or similar warnings when visiting an HTTP site. * Chromium and Chromium-based browsers have been doing the whole "opportunistically upgrade HTTP to HTTPS" thing for select users (plus anyone who manually turns it on) since 2023.[1] Realistically, I think it's only a matter of time before WHATWG decides to write this behavior down and call it a "living standard." Disclaimer: I work for Google, but not on any web-related technology such as Chrome. Opinions are my own. [1]: https://blog.chromium.org/2023/08/towards-https-by-defaul... Disable HTTPS upgrade? Posted Mar 5, 2025 13:56 UTC (Wed) by ballombe (subscriber, #9523) [Link] (20 responses) Have you ever set up an apache web server ? One need to set up two completely independent vrtual hosts, one for 80 and one for 443. So unless you are careful, you will end up with different websites, and thanks to firefox, you will never notice since you will never actually reach the 80 one. At which point you are probably better off removing the one port 80. Disable HTTPS upgrade? Posted Mar 5, 2025 15:06 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (3 responses) [...] one for 80 and one for 443. So unless you are careful, you will end up with different websites, and thanks to firefox, you will never notice since you will never actually reach the 80 one. That's not thanks to FF but to the negligence of users who fail to enter complete URIs. It's also quite a stretch to assert that one has to be careful not to end up with different websites, since the default DocumentRoot is the same for both; plus, there is the include directive which makes such setups rather trivial. The opposite seems more likely: one has to be careful not to accidentally end up with the same website on both ports. But people will make up the silliest examples to find an excuse to bash FF, it seems. At which point are probably better off removing the one port 80. Unless there is a very good reason to provide unencrypted access one might as well not bother with setting up that one to begin with. Disable HTTPS upgrade? Posted Mar 5, 2025 15:21 UTC (Wed) by rschroev (subscriber, #4164) [Link] (2 responses) > "At which point are probably better off removing the one port 80." >> Unless there is a very good reason to provide unencrypted access one might as well not bother with setting up that one to begin with. On port 80 I always set up a redirect to port 443. Is that not the normal / expected thing to do? Disable HTTPS upgrade? Posted Mar 5, 2025 15:32 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (1 responses) OK, there's that, I totally forgot about it. But then you don't really have to bother with setting up anything beyond that on port 80. ;) Disable HTTPS upgrade? Posted Mar 6, 2025 13:19 UTC (Thu) by taladar (subscriber, #68407) [Link] And, more importantly, this change in the default to https first will eventually lead to a world where we finally won't need that http Port just to redirect any more. Disable HTTPS upgrade? Posted Mar 5, 2025 15:26 UTC (Wed) by nix (subscriber, #2304) [Link] You have to jump through significant numbers of extra hoops to end up with actual distinct websites: the default configuration (if you just uncomment the bits that turn SSL on at all), will give you the same site on both -- and if you do end up with different sites for HTTP and HTTPS, users on major browsers will *already* be confused, even before Firefox made this change. This is a giant nothingburger. Why are people complaining about an obvious security improvement with *multiple* trivial-to-enable opt-outs all highlighted in the release notes? Disable HTTPS upgrade? Posted Mar 5, 2025 17:19 UTC (Wed) by geert (subscriber, #98403) [Link] Only a few days ago I ran into a server that had its real website on port 80, and the default "Welcome to your new server" on port 443. Disable HTTPS upgrade? Posted Mar 6, 2025 0:17 UTC (Thu) by higuita (guest, #32245) [Link] (13 responses) That is the end goal, end the plain text HTTP, only encrypted HTTPS should exist. You even have now web servers that automatically manage the certificate Disable HTTPS upgrade? Posted Mar 6, 2025 7:47 UTC (Thu) by Wol (subscriber, #4433) [Link] (12 responses) Planned obsolescence ... Okay, I wouldn't want it outside a firewall, but how many old - eg printers - are there out there with an http web interface. We have two, both approaching ten years old ... Cheers, Wol Disable HTTPS upgrade? Posted Mar 6, 2025 8:40 UTC (Thu) by PeeWee (subscriber, #175777) [Link] (10 responses) This has nothing to do with planned obsolescence and it's quite ironic to point towards printers, which are the epitome (search for "printer") of that very practice. HTTP won't go anywhere since it is part of HTTPS, which simply uses TLS underneath, whereas HTTP relies on plain TCP directly. Disable HTTPS upgrade? Posted Mar 6, 2025 13:06 UTC (Thu) by ballombe (subscriber, #9523) [Link] (9 responses) Old webservers use old versions of TLS that are rejected by newer browsers for security reasons, thus they are not reachable by https anymore. Disable HTTPS upgrade? Posted Mar 6, 2025 23:38 UTC (Thu) by PeeWee (subscriber, #175777) [Link] (8 responses) Good riddance, I say to that. Who runs such ancient setups anyway? If they cannot be bothered to upgrade their servers, they cannot be trusted wholesale and thus TLS should rightly fail. Disable HTTPS upgrade? Posted Mar 7, 2025 19:47 UTC (Fri) by Cyberax (✭ supporter ✭, #52523) [Link] (7 responses) Plenty of older networking gear, for example. I have a UPS from 2008 that has a management interface with an obsolete TLS. Still perfectly usable and secure (if the management interface is on a separate VLAN). Disable HTTPS upgrade? Posted Mar 7, 2025 21:46 UTC (Fri) by PeeWee (subscriber, #175777) [Link] (6 responses) if the management interface is on a separate VLAN Which basically means TLS is pointless anyway. Try harder next time or just stop making up excuses for you unfounded ranting. Disable HTTPS upgrade? Posted Mar 7, 2025 21:48 UTC (Fri) by Cyberax (✭ supporter ✭, #52523) [Link] (5 responses) Your statement was: > Who runs such ancient setups anyway? I'm replying to it. There is plenty of old gear that has obsolete TLS, and has to use plain HTTP. Disable HTTPS upgrade? Posted Mar 7, 2025 22:06 UTC (Fri) by PeeWee (subscriber, #175777) [Link] (4 responses) And how does FF stop anyone from doing that? Enter a complete URI with explicit http: scheme and everything is just fine. Also the previous example was about ancient TLS, or rather SSL as it was called back then. Anything running SSL is obsolete by definition and one can just as well use plaintext HTTP, which may be the saner choice since it does not even pretend and thus won't provide a false sense of security. And now the weather: over at LWN there was a strom light breeze in a tea cup, caused by users of deprecated software blowing off steam while fighting over a giant nixnothingburger. And with that I wish you all a good night and an even better early spring weekend. ;) Disable HTTPS upgrade? Posted Mar 8, 2025 0:29 UTC (Sat) by Cyberax (✭ supporter ✭, #52523) [Link] (3 responses) > And how does FF stop anyone from doing that? By forcing HTTPS and sticking to it, even if you specify "http". Disable HTTPS upgrade? Posted Mar 8, 2025 1:02 UTC (Sat) by pizza (subscriber, #46) [Link] (2 responses) >> And how does FF stop anyone from doing that? >By forcing HTTPS and sticking to it, even if you specify "http". And then helpfully "remembering" your "choice". I fight with FF over this crap on average a couple of times a week. Disable HTTPS upgrade? Posted Mar 8, 2025 6:51 UTC (Sat) by PeeWee (subscriber, #175777) [Link] (1 responses) A poor craftsman blames his tools. Again: You open the history sidebar (Ctrl-H), or the history manager (Ctrl-Shift-H), find and select the offending site, right-click it and select Forget About This Site..., and afterwards you open it only once by explicitly specifying the http: scheme, FF will remember your choice and subsequently you can open it without it. If you guys would spend half as much time on actually trying to solve problems as you do on this pointless ranting, you may just end up with lower blood pressure and live longer and, most importantly, happier. It took me all of one minute to figure this out, once I understood what was happening. OK one and a half, two, tops; and only because I created a fresh profile to test the procedure - you are welcome BTW. And I have posted this further up already. If that does not fix the issue, report a bug, instead of polluting public forums with your foulmouthed ranting, which only serves to frustrate you and others while leaving Mozilla totally oblivious to the fact there might, just might, be an issue. It's a new feature after all, and I bet, you guys are the loud minority complaining about it while the vast majority welcomes it, me included. Or switch to a different browser if you hate FF that much. Or just do you, I don't care. But be prepared to be ridiculed, if you keep this up. With this all being said, ever so redundantly, we come to the weather report: still unchanged. Stop here Posted Mar 8, 2025 14:19 UTC (Sat) by corbet (editor, #1) [Link] OK, please, let's just bring an end to this thread, and to this style of discussion. We can do better. Disable HTTPS upgrade? Posted Mar 6, 2025 19:01 UTC (Thu) by NYKevin (subscriber, #129325) [Link] You can't really get rid of local (LAN) HTTP. Or at least, there is no reasonable way to do it. In order to serve HTTPS over a LAN, you need a globally routable domain that you can administer (from the LAN). Technically, you do not need to purchase a separate second-level domain for every consumer - it would be enough to buy one domain and give every consumer a separate subdomain, and then use split-horizon DNS so that each consumer only sees their own subdomain (Let's Encrypt and other CAs will happily give you a certificate if you can manipulate DNS records, even if you cannot serve HTTPS on the public web - I know this because I do it on my own LAN). But nobody wants to administer a solution that involves managing so many subdomains with trust delegated to consumers. You would need a separate API key for each instance of the product, a flow for recovering from an account lockout or device wipe, probably some fairly beefy DNS nameservers, and so on. To make things even worse, I can't see a way to avoid remote-bricking these devices when you're no longer interested in supporting them (your DNS nameservers go away, the devices can no longer renew their HTTPS certificates, they expire, the end). I'm not going to say this is impossible as a solution, but it is IMHO unreasonably complicated for such a straightforward premise, assuming you want to do it at scale as an OEM, and not just as a one-off hobbyist configuration for your own personal network. There are explicitly non-global domains, such as *.home.arpa and *.internal, and you can (legitimately) make up addresses under those domains and serve them using split-horizon (as well as funkier options, like mDNS for *.local), but there is as yet no consensus on how trust should work in that case. Who has the authority to assert these names, and issue certificates for them? It can't be the "regular" global CAs (they do not know which LAN the user is on, and therefore which example.internal is the "real" example.internal from that user's perspective), so they would need to be issued by some sort of local or per-LAN CA. But that just begs the question. IP has no trust hierarchy - when a packet leaves your device, it's up to the rest of the network to decide what to do with it. There is no IP-based procedure for identifying an "authority" for a particular network, nor even for proving that (e.g.) a given router has the de facto ability to route packets for a given network segment (DHCP and IPv6 NDP do not count, because they have no security, so anyone can impersonate the router if they feel like it). That functionality almost(!) exists in the context of BGP and IXPs, but nobody's home network is a whole AS, so it is rather useless for LANs, even if we leave aside the fact that it regularly fails to prevent random ISPs from accidentally turning each other off due to BGP misconfigurations. I've only heard of one general idea that seems like it has any chance of working, and it looks roughly like the following: 1. When you connect to a LAN, you scan some sort of QR code or similar thing. It might be permanently etched or printed on the surface of the router, or in some other non-removable place where the consumer can easily find it. 2. Whatever you scanned contains a trust token. If not already connected to the LAN, you are prompted to do so, and then you are prompted to accept the trust token. 3. Your device imports this trust token as a limited-scope root certificate, valid only for non-global TLDs like .internal. 4. Some CA on the network holds the private key corresponding to that certificate, and may issue domain certificates based on it. Your device will trust those domain certificates while it is connected to the network. Most likely, this CA is a service running inside the router. 5. When you disconnect from the network, your device must invalidate, delete, or otherwise distrust the root certificate. There are still quite a lot of obvious problems with this: * Many consumer devices have a habit of promiscuously connecting to any WLAN they see if the current WLAN appears to be down. This raises the possibility that the user thinks they are connected to network X when in fact they are connected to network Y, and Y is hostile and attempts to impersonate some of the services offered on X. The solution is to require that trust tokens may only become active by explicit user action (ideally, only by scanning a code, so that WLANs with the same SSID do not have their trust tokens confused). * We need to validate that the user connected to the correct network for a given trust token (or else an attacker could mislead the user into importing some attacker-controlled token instead, and then impersonate local network services). This can be done at import time, by checking that some standardized non-global domain (e.g. www.certificate-check.internal) is serving HTTPS with a certificate that would be valid if we accepted the trust token, but we would need to pick a single standard domain. * More generally, publicly-accessible WLANs raise a lot of complicated and thorny questions about what constitutes "the real" network and how we should protect the user from a "fake" network. Probably the easiest way to fix this is to avoid using non-global domains on such networks (if you're a giant company providing a WiFi hotspot for your consumers, you can afford to administer one real domain for your whole setup, and then you can just use conventional/global certificates and avoid all this faff entirely). * We really ought to explain to the user what they are doing when they scan one of these codes, and give them an opportunity to cancel, but it's hard to come up with a good wording that won't confuse non-technical folks *and* will convince them that they should refuse to connect if they do not trust the source of the code. * In turn, that raises the issue that consumers don't usually pay much attention to what network they are currently on. It may be unwise to assume that users can distinguish between example.internal (on Alice's network) and example.internal (on Bob's network) without some kind of specialized UI that has not yet been invented. By assumption, we cannot display any globally-meaningful identity information to help the user figure out which is which (any means of supplying and authenticating such information would necessarily be just as difficult as using a globally-routable domain in the first place). * You would still need a means for LAN devices such as printers to talk to the CA, establish mutual trust (presumably with user supervision/approval), and get themselves a local domain and certificate. The flow described above works great for phones, but most printers cannot scan a QR code. There are a variety of options here, but something would need to be standardized so we don't end up with fifty mutually-incompatible onboarding flows. Disable HTTPS upgrade? Posted Mar 5, 2025 9:03 UTC (Wed) by rbtree (guest, #129790) [Link] It's not a misfeature for me. More and more HTTPS enforcement has been one of the best things for censorship circumvention/prevention that has happened in the last decade. Because of this, our government couldn't intercept plain HTTP anymore and was forced to issue a "safety certificate" (you may have heard of it) that you were "encouraged" to install on all your machines. It was quickly blacklisted by all browser vendors. One of the very few times in my life when I felt like someone big was finally standing up for the little guy (even if it wasn't really the case). DNS-over-HTTPS falls into the same category. Disable HTTPS upgrade? Posted Mar 5, 2025 9:05 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (2 responses) Why do you even call it a misfeature? It is simply a change in default behaviour. It used to be that, if not explicitly specified, FF would use HTTP. Extensions such as HTTPS Everywhere are proof that there is/was a desire to change that. FF has supported HTTPS-Only for quite some time now and this is just the softer version of it. I am really rather happy about this very much in demand feature and getting rid of some inconveniences one has to put with when using HTTPS-Only, which requires manual setup of exceptions, if the destination host does not support HTTPS. And @Cyberax seems to be in the habit of blaming anything but his own (mis)configurations, if his rants about systemd are anything to go by. If an explicit http:// doesn't fix it and HTTPS-Only is not active then this may well be just a bug, as in teething problem. People should really stop blowing things out of proportion. Also this may still turn out as PEBCAK. Disable HTTPS upgrade? Posted Mar 9, 2025 14:00 UTC (Sun) by Duncan (guest, #6647) [Link] (1 responses) > FF has supported HTTPS-Only for quite some time now and this is just the softer version of it. Thanks. I wish the ff what's new and all the articles covering it had been that explicit. I've been low-key confused since I enabled HTTPS-Only when it came out (and had HTTPS-Everywhere before that), and this seemed to be the same thing. Better security by default's good, but now I've confirmed what I suspected, that this change doesn't apply to me since I'd already effectively opted into it. Again, I wish the ff what's new had specifically explained that. Disable HTTPS upgrade? Posted Mar 9, 2025 15:53 UTC (Sun) by mathstuf (subscriber, #69389) [Link] Well, I think we've seen that Mozilla's communication department is definitely lacking in the "tact" department these past weeks. I wonder if enough folks have been influenced by the vapid "bug fixes and performance improvements" update notes to see even what we get as "more effort than seems necessary" for release notes. I think the only way to push back on that is to use that as the complete commit message (maybe with an empty "What's new:" list introducer) when contributing to repos run by these companies and point to "seems good enough for you" when push back happens. Disable HTTPS upgrade? Posted Mar 5, 2025 7:17 UTC (Wed) by joib (subscriber, #8541) [Link] (4 responses) For the HTTP header approach there's https://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security which I believe Firefox has supported already for a long time. I believe the new thing with Firefox 136 is that now it automatically first tries to connect via https if you just type an address without a specific "http://" string in front? I could be wrong though, I haven't looked into it in detail. Disable HTTPS upgrade? Posted Mar 6, 2025 13:23 UTC (Thu) by taladar (subscriber, #68407) [Link] (3 responses) HSTS is nice but without preloading there is still the initial request that is insecure and could be redirected somewhere entirely different. And preloading doesn't really scale. You can't exactly have a list of every website in the world that wants to be secure just to avoid changing a default from insecure to secure. Disable HTTPS upgrade? Posted Mar 6, 2025 15:32 UTC (Thu) by arita (subscriber, #176355) [Link] (2 responses) Could they also have an https record to help alleviate that pre-loading issue? Disable HTTPS upgrade? Posted Mar 6, 2025 17:37 UTC (Thu) by draco (subscriber, #1792) [Link] (1 responses) That's RFC 9460. Firefox has support but it's apparently disabled by default. Chrome supposedly has support too, but I can't find any documentation that it is actually enabled and working (or any flag to turn it on). Browsers have long resisted adding any DNS lookups to the dependency chain for loading a page because they say people are extremely latency sensitive. It sounds like platform support for arbitrary DNS record types has been problematic too. Hence they've ignored a number of records that have been proposed to improve security (e.g., TLSA). I think that RFC was developed with their input to try to address their needs, so it's really sad to see it not be enabled. Though it's at least implemented, which is progress, I guess? Disable HTTPS upgrade? Posted Mar 7, 2025 11:13 UTC (Fri) by arita (subscriber, #176355) [Link] I found it thanks to https://hg.mozilla.org/integration/autoland/rev/34c9c9b0de17. Seems to be enabled by default for roughly the last 4 years in firefox. about:config network.dns.upgrade_with_https_rr = true network.dns.use_https_rr_as_altsvc = true
Posted Mar 4, 2025 18:04 UTC (Tue) by Cyberax (✭ supporter ✭, #52523) [Link] (59 responses)
Anyone knows how to disable that? I don't see anything relevant in about:config.
Use-case: HTTP-only local sites.
Disable HTTPS upgrade? Posted Mar 4, 2025 18:23 UTC (Tue) by csamuel (✭ supporter ✭, #2624) [Link] The release notes say: > Firefox now upgrades page loads to HTTPS by default and gracefully falls back to HTTP if the secure connection fails. This behavior is known as HTTPS-First. The HTTPS-First doc says: https://support.mozilla.org/en-US/kb/https-first > Some websites only support HTTP and the connection cannot be upgraded. If an HTTPS version of a site is not available, the site will load but through the less secure HTTP protocol. In some cases, websites seem to support HTTPS but serve different content from the HTTP version or behave different in other ways. To avoid upgrade attempts users can enter an address in the address bar with an explicit http:// scheme. Permanent exceptions added in the HTTPS-Only Mode section in Firefox settings will also prevent upgrades. Disable HTTPS upgrade? Posted Mar 4, 2025 18:25 UTC (Tue) by excors (subscriber, #95769) [Link] (5 responses) The page linked in the release notes (https://support.mozilla.org/kb/https-first) says: > To avoid upgrade attempts users can enter an address in the address bar with an explicit http:// scheme. Permanent exceptions added in the HTTPS-Only Mode section in Firefox settings will also prevent upgrades. Also there's the dom.security.https_first setting, and various subsettings including https_first_for_local_addresses (default false) and https_first_for_custom_ports (default false). Disable HTTPS upgrade? Posted Mar 4, 2025 18:31 UTC (Tue) by Cyberax (✭ supporter ✭, #52523) [Link] (4 responses) My local sites are on IPv6 (yeah, I'm a glutton for punishment) and they are proxied through a host that also has a port 443 open. So Firefox tries to auto-upgrade the connection, and then fails the certificate check. Just specifying the HTTP manually does nothing, it still tries to upgrade. Disable HTTPS upgrade? Posted Mar 5, 2025 8:45 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (3 responses) Are you sure you don't have HTTPS-Only activated? Because that seems to take precedence over HTTPS-First. Disable HTTPS upgrade? Posted Mar 5, 2025 19:06 UTC (Wed) by Cyberax (✭ supporter ✭, #52523) [Link] (2 responses) I think what happened is that I entered the address without the "http://" prefix, and it's now stuck. Now even when I try to specify the plain HTTP, Firefox tries to "ugprade" it. FFS, Firefox developers. When you do BS like this, provide opt-outs. Disable HTTPS upgrade? Posted Mar 6, 2025 0:56 UTC (Thu) by PeeWee (subscriber, #175777) [Link] Instead of shouting at them from here, why don't you report a bug? This is clearly not how this is supposed to work, as per their official documentation. And it sounds like the "Awesome Bar", which is indeed awesome, might be too clever for once, or someone just forgot about it. Disable HTTPS upgrade? Posted Mar 6, 2025 1:23 UTC (Thu) by PeeWee (subscriber, #175777) [Link] I just found an easy fix for this: delete the site from history by telling FF to "Forget About This Site..." in the history sidebar. Disable HTTPS upgrade? Posted Mar 4, 2025 18:32 UTC (Tue) by ballombe (subscriber, #9523) [Link] (51 responses) Also I do not see how it can work. There is no reason for the https and http versions to be remotely similar. Is there a HTTP header that tell the browser to switch to the https version ? Disable HTTPS upgrade? Posted Mar 4, 2025 18:38 UTC (Tue) by Cyberax (✭ supporter ✭, #52523) [Link] (45 responses) No. Firefox seems to try the HTTPS connection to the same host, and it succeeds (the port is open). E.g. "home.mydomain.net" and "camera.mydomain.net" both resolve to `2600:A:B::1`. The request are proxied by NGINX for HTTP. However, `2600:A:B::1` also has port 443 open, and it serves just the "router.mydomain.net" website. Disable HTTPS upgrade? Posted Mar 4, 2025 18:44 UTC (Tue) by draco (subscriber, #1792) [Link] (44 responses) It's IPv6. Give the host another address and disambiguate it that way? Disable HTTPS upgrade? Posted Mar 4, 2025 22:00 UTC (Tue) by Cyberax (✭ supporter ✭, #52523) [Link] The idea is that devices don't necessarily _have_ IPv6, but the router has it. It will also have this problem with IPv4. Disable HTTPS upgrade? Posted Mar 5, 2025 3:39 UTC (Wed) by intelfx (subscriber, #130118) [Link] (42 responses) > It's IPv6. Give the host another address and disambiguate it that way? I can't speak for Cyberax, but for me, part of the problem is the *need itself* to jump through hoops and perform contortions for no good reason. Why should I complicate my configuration just to placate a misfeature? Disable HTTPS upgrade? Posted Mar 5, 2025 8:50 UTC (Wed) by taladar (subscriber, #68407) [Link] (37 responses) Why should the entire world stay less secure just to cater to the extremely rare case that hosts have both ports open but don't serve the same hostnames on both? Disable HTTPS upgrade? Posted Mar 5, 2025 8:54 UTC (Wed) by intelfx (subscriber, #130118) [Link] (15 responses) That's a false dichotomy and a strawman. This particular instance of the misfeature does not make anything less secure. Let's, instead, rephrase it this way: why should someone's desire to have some $feature in a completely unrelated context break a completely valid, legal and standards-compliant configuration? Disable HTTPS upgrade? Posted Mar 5, 2025 8:58 UTC (Wed) by intelfx (subscriber, #130118) [Link] Sorry, s/less secure/more secure/. Disable HTTPS upgrade? Posted Mar 5, 2025 9:22 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (13 responses) why should someone's desire to have some $feature in a completely unrelated context break a completely valid, legal and standards-compliant configuration? (emphasis added) Who says that it is? I am half suspecting that it just happened to work because of implicit reliance on side effects, i.e. no-one ever tried to connect via HTTPS before. Disable HTTPS upgrade? Posted Mar 5, 2025 9:41 UTC (Wed) by intelfx (subscriber, #130118) [Link] (12 responses) > Who says that it is? Because existence and nature of HTTP services on port 80 on a particular host is not supposed to mean or convey anything about existence and nature of HTTPS services on port 443 on the same IP address. If you want to prove me wrong, please quote an RFC. Disable HTTPS upgrade? Posted Mar 5, 2025 10:41 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (6 responses) It's implicit in the definition of HTTPS, which is just HTTP over TLS. And the mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard. Also the problem @Cyberax describes looks like it can be fixed by proper authentication certificates for all the host names or a wildcard for the lower level domain. Disable HTTPS upgrade? Posted Mar 5, 2025 10:46 UTC (Wed) by intelfx (subscriber, #130118) [Link] (5 responses) So, it's not actually a thing. Thanks. Disable HTTPS upgrade? Posted Mar 5, 2025 10:56 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (4 responses) You may also want to checkout @csamuel's reply and the knowledge base article he linked to. If that method does not work, it's a bug which should be reported, simple as that. Alas, this is yet another storm in a tea cup, imagined by people whose go-to response is ranting about some vendors they chose to hate, yet they still use their product. So the problem is in fact not a thing. Thank you. Disable HTTPS upgrade? Posted Mar 5, 2025 11:07 UTC (Wed) by intelfx (subscriber, #130118) [Link] (3 responses) You are linking to internal documentation containing a description of the behavior of one specific implementation, the one whose behavior is being questioned. That does not advance the discussion at all. Just like in your previous comment ("mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard"), it is invalid to justify some sort of behavior by the fact that this behavior exists. Disable HTTPS upgrade? Posted Mar 5, 2025 11:31 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (2 responses) You are linking to internal documentation containing a description of the behavior of one specific implementation, the one whose behavior is being questioned. That is very much public documentation, which one arrives at by following the link in the release notes. That does not advance the discussion at all. You are making up problems which are non-existent. That does not advance the discussion. Just like in your previous comment (""mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard""), it is invalid to justify some sort of behavior by the fact that this behavior exists. The user who enters an incomplete URI is at fault, basically, and FF just changed how it defaults (hence the name) the request. And that's what you get when you rely on side effects. Always enter complete URIs and there is no problem. Disable HTTPS upgrade? Posted Mar 5, 2025 15:20 UTC (Wed) by intelfx (subscriber, #130118) [Link] (1 responses) > The user who enters an incomplete URI is at fault I never said I did this, yet you somehow assumed a fact that makes me at fault. > You are making up problems which are non-existent Okay, so you apparently know better than me what problems I experienced. This is a subtype of a personal attack, and, again, not something that's called a "good faith discussion". This is a pattern (even in this message, but also with you in general), therefore I will not talk to you further. Have a good day. Disable HTTPS upgrade? Posted Mar 5, 2025 15:50 UTC (Wed) by PeeWee (subscriber, #175777) [Link] > The user who enters an incomplete URI is at fault I never said I did this, yet you somehow assumed a fact that makes me at fault. Why does everything have to be about you? Are you that narcissistic? I was (implicitly) referring to @Cyberax, or rather the problem they described above. > You are making up problems which are non-existent Okay, so you apparently know better than me what problems I experienced. No, I am referring to your assertion that somehow FF is doing something wrong here, which it does not. This is a subtype of a personal attack, and, again, not something that's called a "good faith discussion". I apologize if it came across that way, which was not my intention. Disable HTTPS upgrade? Posted Mar 5, 2025 10:55 UTC (Wed) by excors (subscriber, #95769) [Link] (3 responses) RFC9110 says: > Resources made available via the "https" scheme have no shared identity with the "http" scheme. They are distinct origins with separate namespaces. but then goes on to mention cookies as an example of features that undermine the strict distinction. Specifically RFC6265 says: > servers SHOULD NOT both run mutually distrusting services on different ports of the same host and use cookies to store security-sensitive information. because cookies are shared by all schemes and ports on the same host. So even if you stick to the hypothetical world described by RFCs and ignore practical concerns, you can't treat HTTP and HTTPS services on the same host as completely independent. Disable HTTPS upgrade? Posted Mar 5, 2025 11:02 UTC (Wed) by intelfx (subscriber, #130118) [Link] > RFC9110 says: > >> Resources made available via the "https" scheme have no shared identity with the "http" scheme. They are distinct origins with separate namespaces. > > but then goes on to mention cookies as an example of features that undermine the strict distinction. Specifically RFC6265 says: > >> servers SHOULD NOT both run mutually distrusting services on different ports of the same host and use cookies to store security-sensitive information. Sure, that's a restriction placed on the previous clause. Yet, "the exception proves the rule in cases not excepted". So it is, in fact, true that besides this mutual distrust caveat, RFCs declare http:// and https:// resources as separate namespaces. I take it as a pretty clear-cut confirmation that the standards agree with my interpretation. Disable HTTPS upgrade? Posted Mar 5, 2025 14:07 UTC (Wed) by ballombe (subscriber, #9523) [Link] (1 responses) > because cookies are shared by all schemes and ports on the same host. ... which independently of https is a major design bug since webservers on non-standard ports exist. Disable HTTPS upgrade? Posted Mar 5, 2025 15:19 UTC (Wed) by excors (subscriber, #95769) [Link] Yeah, modern web security is based on "origin" (basically a tuple of scheme, port and host) which is generally sensible, but cookies were invented long before that and can't be fixed because of backward compatibility requirements. If you want to properly isolate sites then they can't even be on different subdomains of the same domain - they must be completely different domains, up to a suffix listed in the Public Suffix List (.com, .co.uk, .github.io, etc). And definitely don't try to isolate them just by port. It's a bad design, but it is what it is. (Or as RFC6265 puts it: "For historical reasons, cookies contain a number of security and privacy infelicities.") Disable HTTPS upgrade? Posted Mar 6, 2025 1:29 UTC (Thu) by NYKevin (subscriber, #129325) [Link] This is the web, not some NIST-compliant government boondoggle. Everyone used to write charset='iso-8859-1' when they should have written charset='windows-1252'. You can tell people that they're wrong, but that won't fix the websites that already exist. Instead, WHATWG specifies the former as an alias for the latter, and both are now "correct." You should expect that common practices gradually ossify into standards - that is how the web has always worked. As for HTTPS in particular: * The HTTPS Everywhere extension has demonstrated that, in practice, many websites serve the same content on HTTPS as they do on HTTP, and you really can just replace http:// with https:// in a lot of URLs. * HSTS (RFC 6797) has established a precedent that web standards should go out of their way to support and enhance the case where HTTP redirects to HTTPS, even if this means overriding the user's explicit instruction to connect with HTTP. * The entire .dev gTLD is preloaded into HSTS. If you buy one of those domains, you cannot serve HTTP at all (at least, to any of the usual browsers), because the browser will rewrite all URLs to HTTPS. * All major browsers now display "Not secure" or similar warnings when visiting an HTTP site. * Chromium and Chromium-based browsers have been doing the whole "opportunistically upgrade HTTP to HTTPS" thing for select users (plus anyone who manually turns it on) since 2023.[1] Realistically, I think it's only a matter of time before WHATWG decides to write this behavior down and call it a "living standard." Disclaimer: I work for Google, but not on any web-related technology such as Chrome. Opinions are my own. [1]: https://blog.chromium.org/2023/08/towards-https-by-defaul... Disable HTTPS upgrade? Posted Mar 5, 2025 13:56 UTC (Wed) by ballombe (subscriber, #9523) [Link] (20 responses) Have you ever set up an apache web server ? One need to set up two completely independent vrtual hosts, one for 80 and one for 443. So unless you are careful, you will end up with different websites, and thanks to firefox, you will never notice since you will never actually reach the 80 one. At which point you are probably better off removing the one port 80. Disable HTTPS upgrade? Posted Mar 5, 2025 15:06 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (3 responses) [...] one for 80 and one for 443. So unless you are careful, you will end up with different websites, and thanks to firefox, you will never notice since you will never actually reach the 80 one. That's not thanks to FF but to the negligence of users who fail to enter complete URIs. It's also quite a stretch to assert that one has to be careful not to end up with different websites, since the default DocumentRoot is the same for both; plus, there is the include directive which makes such setups rather trivial. The opposite seems more likely: one has to be careful not to accidentally end up with the same website on both ports. But people will make up the silliest examples to find an excuse to bash FF, it seems. At which point are probably better off removing the one port 80. Unless there is a very good reason to provide unencrypted access one might as well not bother with setting up that one to begin with. Disable HTTPS upgrade? Posted Mar 5, 2025 15:21 UTC (Wed) by rschroev (subscriber, #4164) [Link] (2 responses) > "At which point are probably better off removing the one port 80." >> Unless there is a very good reason to provide unencrypted access one might as well not bother with setting up that one to begin with. On port 80 I always set up a redirect to port 443. Is that not the normal / expected thing to do? Disable HTTPS upgrade? Posted Mar 5, 2025 15:32 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (1 responses) OK, there's that, I totally forgot about it. But then you don't really have to bother with setting up anything beyond that on port 80. ;) Disable HTTPS upgrade? Posted Mar 6, 2025 13:19 UTC (Thu) by taladar (subscriber, #68407) [Link] And, more importantly, this change in the default to https first will eventually lead to a world where we finally won't need that http Port just to redirect any more. Disable HTTPS upgrade? Posted Mar 5, 2025 15:26 UTC (Wed) by nix (subscriber, #2304) [Link] You have to jump through significant numbers of extra hoops to end up with actual distinct websites: the default configuration (if you just uncomment the bits that turn SSL on at all), will give you the same site on both -- and if you do end up with different sites for HTTP and HTTPS, users on major browsers will *already* be confused, even before Firefox made this change. This is a giant nothingburger. Why are people complaining about an obvious security improvement with *multiple* trivial-to-enable opt-outs all highlighted in the release notes? Disable HTTPS upgrade? Posted Mar 5, 2025 17:19 UTC (Wed) by geert (subscriber, #98403) [Link] Only a few days ago I ran into a server that had its real website on port 80, and the default "Welcome to your new server" on port 443. Disable HTTPS upgrade? Posted Mar 6, 2025 0:17 UTC (Thu) by higuita (guest, #32245) [Link] (13 responses) That is the end goal, end the plain text HTTP, only encrypted HTTPS should exist. You even have now web servers that automatically manage the certificate Disable HTTPS upgrade? Posted Mar 6, 2025 7:47 UTC (Thu) by Wol (subscriber, #4433) [Link] (12 responses) Planned obsolescence ... Okay, I wouldn't want it outside a firewall, but how many old - eg printers - are there out there with an http web interface. We have two, both approaching ten years old ... Cheers, Wol Disable HTTPS upgrade? Posted Mar 6, 2025 8:40 UTC (Thu) by PeeWee (subscriber, #175777) [Link] (10 responses) This has nothing to do with planned obsolescence and it's quite ironic to point towards printers, which are the epitome (search for "printer") of that very practice. HTTP won't go anywhere since it is part of HTTPS, which simply uses TLS underneath, whereas HTTP relies on plain TCP directly. Disable HTTPS upgrade? Posted Mar 6, 2025 13:06 UTC (Thu) by ballombe (subscriber, #9523) [Link] (9 responses) Old webservers use old versions of TLS that are rejected by newer browsers for security reasons, thus they are not reachable by https anymore. Disable HTTPS upgrade? Posted Mar 6, 2025 23:38 UTC (Thu) by PeeWee (subscriber, #175777) [Link] (8 responses) Good riddance, I say to that. Who runs such ancient setups anyway? If they cannot be bothered to upgrade their servers, they cannot be trusted wholesale and thus TLS should rightly fail. Disable HTTPS upgrade? Posted Mar 7, 2025 19:47 UTC (Fri) by Cyberax (✭ supporter ✭, #52523) [Link] (7 responses) Plenty of older networking gear, for example. I have a UPS from 2008 that has a management interface with an obsolete TLS. Still perfectly usable and secure (if the management interface is on a separate VLAN). Disable HTTPS upgrade? Posted Mar 7, 2025 21:46 UTC (Fri) by PeeWee (subscriber, #175777) [Link] (6 responses) if the management interface is on a separate VLAN Which basically means TLS is pointless anyway. Try harder next time or just stop making up excuses for you unfounded ranting. Disable HTTPS upgrade? Posted Mar 7, 2025 21:48 UTC (Fri) by Cyberax (✭ supporter ✭, #52523) [Link] (5 responses) Your statement was: > Who runs such ancient setups anyway? I'm replying to it. There is plenty of old gear that has obsolete TLS, and has to use plain HTTP. Disable HTTPS upgrade? Posted Mar 7, 2025 22:06 UTC (Fri) by PeeWee (subscriber, #175777) [Link] (4 responses) And how does FF stop anyone from doing that? Enter a complete URI with explicit http: scheme and everything is just fine. Also the previous example was about ancient TLS, or rather SSL as it was called back then. Anything running SSL is obsolete by definition and one can just as well use plaintext HTTP, which may be the saner choice since it does not even pretend and thus won't provide a false sense of security. And now the weather: over at LWN there was a strom light breeze in a tea cup, caused by users of deprecated software blowing off steam while fighting over a giant nixnothingburger. And with that I wish you all a good night and an even better early spring weekend. ;) Disable HTTPS upgrade? Posted Mar 8, 2025 0:29 UTC (Sat) by Cyberax (✭ supporter ✭, #52523) [Link] (3 responses) > And how does FF stop anyone from doing that? By forcing HTTPS and sticking to it, even if you specify "http". Disable HTTPS upgrade? Posted Mar 8, 2025 1:02 UTC (Sat) by pizza (subscriber, #46) [Link] (2 responses) >> And how does FF stop anyone from doing that? >By forcing HTTPS and sticking to it, even if you specify "http". And then helpfully "remembering" your "choice". I fight with FF over this crap on average a couple of times a week. Disable HTTPS upgrade? Posted Mar 8, 2025 6:51 UTC (Sat) by PeeWee (subscriber, #175777) [Link] (1 responses) A poor craftsman blames his tools. Again: You open the history sidebar (Ctrl-H), or the history manager (Ctrl-Shift-H), find and select the offending site, right-click it and select Forget About This Site..., and afterwards you open it only once by explicitly specifying the http: scheme, FF will remember your choice and subsequently you can open it without it. If you guys would spend half as much time on actually trying to solve problems as you do on this pointless ranting, you may just end up with lower blood pressure and live longer and, most importantly, happier. It took me all of one minute to figure this out, once I understood what was happening. OK one and a half, two, tops; and only because I created a fresh profile to test the procedure - you are welcome BTW. And I have posted this further up already. If that does not fix the issue, report a bug, instead of polluting public forums with your foulmouthed ranting, which only serves to frustrate you and others while leaving Mozilla totally oblivious to the fact there might, just might, be an issue. It's a new feature after all, and I bet, you guys are the loud minority complaining about it while the vast majority welcomes it, me included. Or switch to a different browser if you hate FF that much. Or just do you, I don't care. But be prepared to be ridiculed, if you keep this up. With this all being said, ever so redundantly, we come to the weather report: still unchanged. Stop here Posted Mar 8, 2025 14:19 UTC (Sat) by corbet (editor, #1) [Link] OK, please, let's just bring an end to this thread, and to this style of discussion. We can do better. Disable HTTPS upgrade? Posted Mar 6, 2025 19:01 UTC (Thu) by NYKevin (subscriber, #129325) [Link] You can't really get rid of local (LAN) HTTP. Or at least, there is no reasonable way to do it. In order to serve HTTPS over a LAN, you need a globally routable domain that you can administer (from the LAN). Technically, you do not need to purchase a separate second-level domain for every consumer - it would be enough to buy one domain and give every consumer a separate subdomain, and then use split-horizon DNS so that each consumer only sees their own subdomain (Let's Encrypt and other CAs will happily give you a certificate if you can manipulate DNS records, even if you cannot serve HTTPS on the public web - I know this because I do it on my own LAN). But nobody wants to administer a solution that involves managing so many subdomains with trust delegated to consumers. You would need a separate API key for each instance of the product, a flow for recovering from an account lockout or device wipe, probably some fairly beefy DNS nameservers, and so on. To make things even worse, I can't see a way to avoid remote-bricking these devices when you're no longer interested in supporting them (your DNS nameservers go away, the devices can no longer renew their HTTPS certificates, they expire, the end). I'm not going to say this is impossible as a solution, but it is IMHO unreasonably complicated for such a straightforward premise, assuming you want to do it at scale as an OEM, and not just as a one-off hobbyist configuration for your own personal network. There are explicitly non-global domains, such as *.home.arpa and *.internal, and you can (legitimately) make up addresses under those domains and serve them using split-horizon (as well as funkier options, like mDNS for *.local), but there is as yet no consensus on how trust should work in that case. Who has the authority to assert these names, and issue certificates for them? It can't be the "regular" global CAs (they do not know which LAN the user is on, and therefore which example.internal is the "real" example.internal from that user's perspective), so they would need to be issued by some sort of local or per-LAN CA. But that just begs the question. IP has no trust hierarchy - when a packet leaves your device, it's up to the rest of the network to decide what to do with it. There is no IP-based procedure for identifying an "authority" for a particular network, nor even for proving that (e.g.) a given router has the de facto ability to route packets for a given network segment (DHCP and IPv6 NDP do not count, because they have no security, so anyone can impersonate the router if they feel like it). That functionality almost(!) exists in the context of BGP and IXPs, but nobody's home network is a whole AS, so it is rather useless for LANs, even if we leave aside the fact that it regularly fails to prevent random ISPs from accidentally turning each other off due to BGP misconfigurations. I've only heard of one general idea that seems like it has any chance of working, and it looks roughly like the following: 1. When you connect to a LAN, you scan some sort of QR code or similar thing. It might be permanently etched or printed on the surface of the router, or in some other non-removable place where the consumer can easily find it. 2. Whatever you scanned contains a trust token. If not already connected to the LAN, you are prompted to do so, and then you are prompted to accept the trust token. 3. Your device imports this trust token as a limited-scope root certificate, valid only for non-global TLDs like .internal. 4. Some CA on the network holds the private key corresponding to that certificate, and may issue domain certificates based on it. Your device will trust those domain certificates while it is connected to the network. Most likely, this CA is a service running inside the router. 5. When you disconnect from the network, your device must invalidate, delete, or otherwise distrust the root certificate. There are still quite a lot of obvious problems with this: * Many consumer devices have a habit of promiscuously connecting to any WLAN they see if the current WLAN appears to be down. This raises the possibility that the user thinks they are connected to network X when in fact they are connected to network Y, and Y is hostile and attempts to impersonate some of the services offered on X. The solution is to require that trust tokens may only become active by explicit user action (ideally, only by scanning a code, so that WLANs with the same SSID do not have their trust tokens confused). * We need to validate that the user connected to the correct network for a given trust token (or else an attacker could mislead the user into importing some attacker-controlled token instead, and then impersonate local network services). This can be done at import time, by checking that some standardized non-global domain (e.g. www.certificate-check.internal) is serving HTTPS with a certificate that would be valid if we accepted the trust token, but we would need to pick a single standard domain. * More generally, publicly-accessible WLANs raise a lot of complicated and thorny questions about what constitutes "the real" network and how we should protect the user from a "fake" network. Probably the easiest way to fix this is to avoid using non-global domains on such networks (if you're a giant company providing a WiFi hotspot for your consumers, you can afford to administer one real domain for your whole setup, and then you can just use conventional/global certificates and avoid all this faff entirely). * We really ought to explain to the user what they are doing when they scan one of these codes, and give them an opportunity to cancel, but it's hard to come up with a good wording that won't confuse non-technical folks *and* will convince them that they should refuse to connect if they do not trust the source of the code. * In turn, that raises the issue that consumers don't usually pay much attention to what network they are currently on. It may be unwise to assume that users can distinguish between example.internal (on Alice's network) and example.internal (on Bob's network) without some kind of specialized UI that has not yet been invented. By assumption, we cannot display any globally-meaningful identity information to help the user figure out which is which (any means of supplying and authenticating such information would necessarily be just as difficult as using a globally-routable domain in the first place). * You would still need a means for LAN devices such as printers to talk to the CA, establish mutual trust (presumably with user supervision/approval), and get themselves a local domain and certificate. The flow described above works great for phones, but most printers cannot scan a QR code. There are a variety of options here, but something would need to be standardized so we don't end up with fifty mutually-incompatible onboarding flows. Disable HTTPS upgrade? Posted Mar 5, 2025 9:03 UTC (Wed) by rbtree (guest, #129790) [Link] It's not a misfeature for me. More and more HTTPS enforcement has been one of the best things for censorship circumvention/prevention that has happened in the last decade. Because of this, our government couldn't intercept plain HTTP anymore and was forced to issue a "safety certificate" (you may have heard of it) that you were "encouraged" to install on all your machines. It was quickly blacklisted by all browser vendors. One of the very few times in my life when I felt like someone big was finally standing up for the little guy (even if it wasn't really the case). DNS-over-HTTPS falls into the same category. Disable HTTPS upgrade? Posted Mar 5, 2025 9:05 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (2 responses) Why do you even call it a misfeature? It is simply a change in default behaviour. It used to be that, if not explicitly specified, FF would use HTTP. Extensions such as HTTPS Everywhere are proof that there is/was a desire to change that. FF has supported HTTPS-Only for quite some time now and this is just the softer version of it. I am really rather happy about this very much in demand feature and getting rid of some inconveniences one has to put with when using HTTPS-Only, which requires manual setup of exceptions, if the destination host does not support HTTPS. And @Cyberax seems to be in the habit of blaming anything but his own (mis)configurations, if his rants about systemd are anything to go by. If an explicit http:// doesn't fix it and HTTPS-Only is not active then this may well be just a bug, as in teething problem. People should really stop blowing things out of proportion. Also this may still turn out as PEBCAK. Disable HTTPS upgrade? Posted Mar 9, 2025 14:00 UTC (Sun) by Duncan (guest, #6647) [Link] (1 responses) > FF has supported HTTPS-Only for quite some time now and this is just the softer version of it. Thanks. I wish the ff what's new and all the articles covering it had been that explicit. I've been low-key confused since I enabled HTTPS-Only when it came out (and had HTTPS-Everywhere before that), and this seemed to be the same thing. Better security by default's good, but now I've confirmed what I suspected, that this change doesn't apply to me since I'd already effectively opted into it. Again, I wish the ff what's new had specifically explained that. Disable HTTPS upgrade? Posted Mar 9, 2025 15:53 UTC (Sun) by mathstuf (subscriber, #69389) [Link] Well, I think we've seen that Mozilla's communication department is definitely lacking in the "tact" department these past weeks. I wonder if enough folks have been influenced by the vapid "bug fixes and performance improvements" update notes to see even what we get as "more effort than seems necessary" for release notes. I think the only way to push back on that is to use that as the complete commit message (maybe with an empty "What's new:" list introducer) when contributing to repos run by these companies and point to "seems good enough for you" when push back happens. Disable HTTPS upgrade? Posted Mar 5, 2025 7:17 UTC (Wed) by joib (subscriber, #8541) [Link] (4 responses) For the HTTP header approach there's https://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security which I believe Firefox has supported already for a long time. I believe the new thing with Firefox 136 is that now it automatically first tries to connect via https if you just type an address without a specific "http://" string in front? I could be wrong though, I haven't looked into it in detail. Disable HTTPS upgrade? Posted Mar 6, 2025 13:23 UTC (Thu) by taladar (subscriber, #68407) [Link] (3 responses) HSTS is nice but without preloading there is still the initial request that is insecure and could be redirected somewhere entirely different. And preloading doesn't really scale. You can't exactly have a list of every website in the world that wants to be secure just to avoid changing a default from insecure to secure. Disable HTTPS upgrade? Posted Mar 6, 2025 15:32 UTC (Thu) by arita (subscriber, #176355) [Link] (2 responses) Could they also have an https record to help alleviate that pre-loading issue? Disable HTTPS upgrade? Posted Mar 6, 2025 17:37 UTC (Thu) by draco (subscriber, #1792) [Link] (1 responses) That's RFC 9460. Firefox has support but it's apparently disabled by default. Chrome supposedly has support too, but I can't find any documentation that it is actually enabled and working (or any flag to turn it on). Browsers have long resisted adding any DNS lookups to the dependency chain for loading a page because they say people are extremely latency sensitive. It sounds like platform support for arbitrary DNS record types has been problematic too. Hence they've ignored a number of records that have been proposed to improve security (e.g., TLSA). I think that RFC was developed with their input to try to address their needs, so it's really sad to see it not be enabled. Though it's at least implemented, which is progress, I guess? Disable HTTPS upgrade? Posted Mar 7, 2025 11:13 UTC (Fri) by arita (subscriber, #176355) [Link] I found it thanks to https://hg.mozilla.org/integration/autoland/rev/34c9c9b0de17. Seems to be enabled by default for roughly the last 4 years in firefox. about:config network.dns.upgrade_with_https_rr = true network.dns.use_https_rr_as_altsvc = true
Posted Mar 4, 2025 18:23 UTC (Tue) by csamuel (✭ supporter ✭, #2624) [Link]
> Firefox now upgrades page loads to HTTPS by default and gracefully falls back to HTTP if the secure connection fails. This behavior is known as HTTPS-First.
The HTTPS-First doc says: https://support.mozilla.org/en-US/kb/https-first
> Some websites only support HTTP and the connection cannot be upgraded. If an HTTPS version of a site is not available, the site will load but through the less secure HTTP protocol. In some cases, websites seem to support HTTPS but serve different content from the HTTP version or behave different in other ways. To avoid upgrade attempts users can enter an address in the address bar with an explicit http:// scheme. Permanent exceptions added in the HTTPS-Only Mode section in Firefox settings will also prevent upgrades.
Posted Mar 4, 2025 18:25 UTC (Tue) by excors (subscriber, #95769) [Link] (5 responses)
> To avoid upgrade attempts users can enter an address in the address bar with an explicit http:// scheme. Permanent exceptions added in the HTTPS-Only Mode section in Firefox settings will also prevent upgrades.
Also there's the dom.security.https_first setting, and various subsettings including https_first_for_local_addresses (default false) and https_first_for_custom_ports (default false).
Disable HTTPS upgrade? Posted Mar 4, 2025 18:31 UTC (Tue) by Cyberax (✭ supporter ✭, #52523) [Link] (4 responses) My local sites are on IPv6 (yeah, I'm a glutton for punishment) and they are proxied through a host that also has a port 443 open. So Firefox tries to auto-upgrade the connection, and then fails the certificate check. Just specifying the HTTP manually does nothing, it still tries to upgrade. Disable HTTPS upgrade? Posted Mar 5, 2025 8:45 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (3 responses) Are you sure you don't have HTTPS-Only activated? Because that seems to take precedence over HTTPS-First. Disable HTTPS upgrade? Posted Mar 5, 2025 19:06 UTC (Wed) by Cyberax (✭ supporter ✭, #52523) [Link] (2 responses) I think what happened is that I entered the address without the "http://" prefix, and it's now stuck. Now even when I try to specify the plain HTTP, Firefox tries to "ugprade" it. FFS, Firefox developers. When you do BS like this, provide opt-outs. Disable HTTPS upgrade? Posted Mar 6, 2025 0:56 UTC (Thu) by PeeWee (subscriber, #175777) [Link] Instead of shouting at them from here, why don't you report a bug? This is clearly not how this is supposed to work, as per their official documentation. And it sounds like the "Awesome Bar", which is indeed awesome, might be too clever for once, or someone just forgot about it. Disable HTTPS upgrade? Posted Mar 6, 2025 1:23 UTC (Thu) by PeeWee (subscriber, #175777) [Link] I just found an easy fix for this: delete the site from history by telling FF to "Forget About This Site..." in the history sidebar.
Posted Mar 4, 2025 18:31 UTC (Tue) by Cyberax (✭ supporter ✭, #52523) [Link] (4 responses)
Just specifying the HTTP manually does nothing, it still tries to upgrade.
Disable HTTPS upgrade? Posted Mar 5, 2025 8:45 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (3 responses) Are you sure you don't have HTTPS-Only activated? Because that seems to take precedence over HTTPS-First. Disable HTTPS upgrade? Posted Mar 5, 2025 19:06 UTC (Wed) by Cyberax (✭ supporter ✭, #52523) [Link] (2 responses) I think what happened is that I entered the address without the "http://" prefix, and it's now stuck. Now even when I try to specify the plain HTTP, Firefox tries to "ugprade" it. FFS, Firefox developers. When you do BS like this, provide opt-outs. Disable HTTPS upgrade? Posted Mar 6, 2025 0:56 UTC (Thu) by PeeWee (subscriber, #175777) [Link] Instead of shouting at them from here, why don't you report a bug? This is clearly not how this is supposed to work, as per their official documentation. And it sounds like the "Awesome Bar", which is indeed awesome, might be too clever for once, or someone just forgot about it. Disable HTTPS upgrade? Posted Mar 6, 2025 1:23 UTC (Thu) by PeeWee (subscriber, #175777) [Link] I just found an easy fix for this: delete the site from history by telling FF to "Forget About This Site..." in the history sidebar.
Posted Mar 5, 2025 8:45 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (3 responses)
Disable HTTPS upgrade? Posted Mar 5, 2025 19:06 UTC (Wed) by Cyberax (✭ supporter ✭, #52523) [Link] (2 responses) I think what happened is that I entered the address without the "http://" prefix, and it's now stuck. Now even when I try to specify the plain HTTP, Firefox tries to "ugprade" it. FFS, Firefox developers. When you do BS like this, provide opt-outs. Disable HTTPS upgrade? Posted Mar 6, 2025 0:56 UTC (Thu) by PeeWee (subscriber, #175777) [Link] Instead of shouting at them from here, why don't you report a bug? This is clearly not how this is supposed to work, as per their official documentation. And it sounds like the "Awesome Bar", which is indeed awesome, might be too clever for once, or someone just forgot about it. Disable HTTPS upgrade? Posted Mar 6, 2025 1:23 UTC (Thu) by PeeWee (subscriber, #175777) [Link] I just found an easy fix for this: delete the site from history by telling FF to "Forget About This Site..." in the history sidebar.
Posted Mar 5, 2025 19:06 UTC (Wed) by Cyberax (✭ supporter ✭, #52523) [Link] (2 responses)
FFS, Firefox developers. When you do BS like this, provide opt-outs.
Disable HTTPS upgrade? Posted Mar 6, 2025 0:56 UTC (Thu) by PeeWee (subscriber, #175777) [Link] Instead of shouting at them from here, why don't you report a bug? This is clearly not how this is supposed to work, as per their official documentation. And it sounds like the "Awesome Bar", which is indeed awesome, might be too clever for once, or someone just forgot about it. Disable HTTPS upgrade? Posted Mar 6, 2025 1:23 UTC (Thu) by PeeWee (subscriber, #175777) [Link] I just found an easy fix for this: delete the site from history by telling FF to "Forget About This Site..." in the history sidebar.
Posted Mar 6, 2025 0:56 UTC (Thu) by PeeWee (subscriber, #175777) [Link]
Posted Mar 6, 2025 1:23 UTC (Thu) by PeeWee (subscriber, #175777) [Link]
Posted Mar 4, 2025 18:32 UTC (Tue) by ballombe (subscriber, #9523) [Link] (51 responses)
Disable HTTPS upgrade? Posted Mar 4, 2025 18:38 UTC (Tue) by Cyberax (✭ supporter ✭, #52523) [Link] (45 responses) No. Firefox seems to try the HTTPS connection to the same host, and it succeeds (the port is open). E.g. "home.mydomain.net" and "camera.mydomain.net" both resolve to `2600:A:B::1`. The request are proxied by NGINX for HTTP. However, `2600:A:B::1` also has port 443 open, and it serves just the "router.mydomain.net" website. Disable HTTPS upgrade? Posted Mar 4, 2025 18:44 UTC (Tue) by draco (subscriber, #1792) [Link] (44 responses) It's IPv6. Give the host another address and disambiguate it that way? Disable HTTPS upgrade? Posted Mar 4, 2025 22:00 UTC (Tue) by Cyberax (✭ supporter ✭, #52523) [Link] The idea is that devices don't necessarily _have_ IPv6, but the router has it. It will also have this problem with IPv4. Disable HTTPS upgrade? Posted Mar 5, 2025 3:39 UTC (Wed) by intelfx (subscriber, #130118) [Link] (42 responses) > It's IPv6. Give the host another address and disambiguate it that way? I can't speak for Cyberax, but for me, part of the problem is the *need itself* to jump through hoops and perform contortions for no good reason. Why should I complicate my configuration just to placate a misfeature? Disable HTTPS upgrade? Posted Mar 5, 2025 8:50 UTC (Wed) by taladar (subscriber, #68407) [Link] (37 responses) Why should the entire world stay less secure just to cater to the extremely rare case that hosts have both ports open but don't serve the same hostnames on both? Disable HTTPS upgrade? Posted Mar 5, 2025 8:54 UTC (Wed) by intelfx (subscriber, #130118) [Link] (15 responses) That's a false dichotomy and a strawman. This particular instance of the misfeature does not make anything less secure. Let's, instead, rephrase it this way: why should someone's desire to have some $feature in a completely unrelated context break a completely valid, legal and standards-compliant configuration? Disable HTTPS upgrade? Posted Mar 5, 2025 8:58 UTC (Wed) by intelfx (subscriber, #130118) [Link] Sorry, s/less secure/more secure/. Disable HTTPS upgrade? Posted Mar 5, 2025 9:22 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (13 responses) why should someone's desire to have some $feature in a completely unrelated context break a completely valid, legal and standards-compliant configuration? (emphasis added) Who says that it is? I am half suspecting that it just happened to work because of implicit reliance on side effects, i.e. no-one ever tried to connect via HTTPS before. Disable HTTPS upgrade? Posted Mar 5, 2025 9:41 UTC (Wed) by intelfx (subscriber, #130118) [Link] (12 responses) > Who says that it is? Because existence and nature of HTTP services on port 80 on a particular host is not supposed to mean or convey anything about existence and nature of HTTPS services on port 443 on the same IP address. If you want to prove me wrong, please quote an RFC. Disable HTTPS upgrade? Posted Mar 5, 2025 10:41 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (6 responses) It's implicit in the definition of HTTPS, which is just HTTP over TLS. And the mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard. Also the problem @Cyberax describes looks like it can be fixed by proper authentication certificates for all the host names or a wildcard for the lower level domain. Disable HTTPS upgrade? Posted Mar 5, 2025 10:46 UTC (Wed) by intelfx (subscriber, #130118) [Link] (5 responses) So, it's not actually a thing. Thanks. Disable HTTPS upgrade? Posted Mar 5, 2025 10:56 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (4 responses) You may also want to checkout @csamuel's reply and the knowledge base article he linked to. If that method does not work, it's a bug which should be reported, simple as that. Alas, this is yet another storm in a tea cup, imagined by people whose go-to response is ranting about some vendors they chose to hate, yet they still use their product. So the problem is in fact not a thing. Thank you. Disable HTTPS upgrade? Posted Mar 5, 2025 11:07 UTC (Wed) by intelfx (subscriber, #130118) [Link] (3 responses) You are linking to internal documentation containing a description of the behavior of one specific implementation, the one whose behavior is being questioned. That does not advance the discussion at all. Just like in your previous comment ("mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard"), it is invalid to justify some sort of behavior by the fact that this behavior exists. Disable HTTPS upgrade? Posted Mar 5, 2025 11:31 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (2 responses) You are linking to internal documentation containing a description of the behavior of one specific implementation, the one whose behavior is being questioned. That is very much public documentation, which one arrives at by following the link in the release notes. That does not advance the discussion at all. You are making up problems which are non-existent. That does not advance the discussion. Just like in your previous comment (""mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard""), it is invalid to justify some sort of behavior by the fact that this behavior exists. The user who enters an incomplete URI is at fault, basically, and FF just changed how it defaults (hence the name) the request. And that's what you get when you rely on side effects. Always enter complete URIs and there is no problem. Disable HTTPS upgrade? Posted Mar 5, 2025 15:20 UTC (Wed) by intelfx (subscriber, #130118) [Link] (1 responses) > The user who enters an incomplete URI is at fault I never said I did this, yet you somehow assumed a fact that makes me at fault. > You are making up problems which are non-existent Okay, so you apparently know better than me what problems I experienced. This is a subtype of a personal attack, and, again, not something that's called a "good faith discussion". This is a pattern (even in this message, but also with you in general), therefore I will not talk to you further. Have a good day. Disable HTTPS upgrade? Posted Mar 5, 2025 15:50 UTC (Wed) by PeeWee (subscriber, #175777) [Link] > The user who enters an incomplete URI is at fault I never said I did this, yet you somehow assumed a fact that makes me at fault. Why does everything have to be about you? Are you that narcissistic? I was (implicitly) referring to @Cyberax, or rather the problem they described above. > You are making up problems which are non-existent Okay, so you apparently know better than me what problems I experienced. No, I am referring to your assertion that somehow FF is doing something wrong here, which it does not. This is a subtype of a personal attack, and, again, not something that's called a "good faith discussion". I apologize if it came across that way, which was not my intention. Disable HTTPS upgrade? Posted Mar 5, 2025 10:55 UTC (Wed) by excors (subscriber, #95769) [Link] (3 responses) RFC9110 says: > Resources made available via the "https" scheme have no shared identity with the "http" scheme. They are distinct origins with separate namespaces. but then goes on to mention cookies as an example of features that undermine the strict distinction. Specifically RFC6265 says: > servers SHOULD NOT both run mutually distrusting services on different ports of the same host and use cookies to store security-sensitive information. because cookies are shared by all schemes and ports on the same host. So even if you stick to the hypothetical world described by RFCs and ignore practical concerns, you can't treat HTTP and HTTPS services on the same host as completely independent. Disable HTTPS upgrade? Posted Mar 5, 2025 11:02 UTC (Wed) by intelfx (subscriber, #130118) [Link] > RFC9110 says: > >> Resources made available via the "https" scheme have no shared identity with the "http" scheme. They are distinct origins with separate namespaces. > > but then goes on to mention cookies as an example of features that undermine the strict distinction. Specifically RFC6265 says: > >> servers SHOULD NOT both run mutually distrusting services on different ports of the same host and use cookies to store security-sensitive information. Sure, that's a restriction placed on the previous clause. Yet, "the exception proves the rule in cases not excepted". So it is, in fact, true that besides this mutual distrust caveat, RFCs declare http:// and https:// resources as separate namespaces. I take it as a pretty clear-cut confirmation that the standards agree with my interpretation. Disable HTTPS upgrade? Posted Mar 5, 2025 14:07 UTC (Wed) by ballombe (subscriber, #9523) [Link] (1 responses) > because cookies are shared by all schemes and ports on the same host. ... which independently of https is a major design bug since webservers on non-standard ports exist. Disable HTTPS upgrade? Posted Mar 5, 2025 15:19 UTC (Wed) by excors (subscriber, #95769) [Link] Yeah, modern web security is based on "origin" (basically a tuple of scheme, port and host) which is generally sensible, but cookies were invented long before that and can't be fixed because of backward compatibility requirements. If you want to properly isolate sites then they can't even be on different subdomains of the same domain - they must be completely different domains, up to a suffix listed in the Public Suffix List (.com, .co.uk, .github.io, etc). And definitely don't try to isolate them just by port. It's a bad design, but it is what it is. (Or as RFC6265 puts it: "For historical reasons, cookies contain a number of security and privacy infelicities.") Disable HTTPS upgrade? Posted Mar 6, 2025 1:29 UTC (Thu) by NYKevin (subscriber, #129325) [Link] This is the web, not some NIST-compliant government boondoggle. Everyone used to write charset='iso-8859-1' when they should have written charset='windows-1252'. You can tell people that they're wrong, but that won't fix the websites that already exist. Instead, WHATWG specifies the former as an alias for the latter, and both are now "correct." You should expect that common practices gradually ossify into standards - that is how the web has always worked. As for HTTPS in particular: * The HTTPS Everywhere extension has demonstrated that, in practice, many websites serve the same content on HTTPS as they do on HTTP, and you really can just replace http:// with https:// in a lot of URLs. * HSTS (RFC 6797) has established a precedent that web standards should go out of their way to support and enhance the case where HTTP redirects to HTTPS, even if this means overriding the user's explicit instruction to connect with HTTP. * The entire .dev gTLD is preloaded into HSTS. If you buy one of those domains, you cannot serve HTTP at all (at least, to any of the usual browsers), because the browser will rewrite all URLs to HTTPS. * All major browsers now display "Not secure" or similar warnings when visiting an HTTP site. * Chromium and Chromium-based browsers have been doing the whole "opportunistically upgrade HTTP to HTTPS" thing for select users (plus anyone who manually turns it on) since 2023.[1] Realistically, I think it's only a matter of time before WHATWG decides to write this behavior down and call it a "living standard." Disclaimer: I work for Google, but not on any web-related technology such as Chrome. Opinions are my own. [1]: https://blog.chromium.org/2023/08/towards-https-by-defaul... Disable HTTPS upgrade? Posted Mar 5, 2025 13:56 UTC (Wed) by ballombe (subscriber, #9523) [Link] (20 responses) Have you ever set up an apache web server ? One need to set up two completely independent vrtual hosts, one for 80 and one for 443. So unless you are careful, you will end up with different websites, and thanks to firefox, you will never notice since you will never actually reach the 80 one. At which point you are probably better off removing the one port 80. Disable HTTPS upgrade? Posted Mar 5, 2025 15:06 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (3 responses) [...] one for 80 and one for 443. So unless you are careful, you will end up with different websites, and thanks to firefox, you will never notice since you will never actually reach the 80 one. That's not thanks to FF but to the negligence of users who fail to enter complete URIs. It's also quite a stretch to assert that one has to be careful not to end up with different websites, since the default DocumentRoot is the same for both; plus, there is the include directive which makes such setups rather trivial. The opposite seems more likely: one has to be careful not to accidentally end up with the same website on both ports. But people will make up the silliest examples to find an excuse to bash FF, it seems. At which point are probably better off removing the one port 80. Unless there is a very good reason to provide unencrypted access one might as well not bother with setting up that one to begin with. Disable HTTPS upgrade? Posted Mar 5, 2025 15:21 UTC (Wed) by rschroev (subscriber, #4164) [Link] (2 responses) > "At which point are probably better off removing the one port 80." >> Unless there is a very good reason to provide unencrypted access one might as well not bother with setting up that one to begin with. On port 80 I always set up a redirect to port 443. Is that not the normal / expected thing to do? Disable HTTPS upgrade? Posted Mar 5, 2025 15:32 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (1 responses) OK, there's that, I totally forgot about it. But then you don't really have to bother with setting up anything beyond that on port 80. ;) Disable HTTPS upgrade? Posted Mar 6, 2025 13:19 UTC (Thu) by taladar (subscriber, #68407) [Link] And, more importantly, this change in the default to https first will eventually lead to a world where we finally won't need that http Port just to redirect any more. Disable HTTPS upgrade? Posted Mar 5, 2025 15:26 UTC (Wed) by nix (subscriber, #2304) [Link] You have to jump through significant numbers of extra hoops to end up with actual distinct websites: the default configuration (if you just uncomment the bits that turn SSL on at all), will give you the same site on both -- and if you do end up with different sites for HTTP and HTTPS, users on major browsers will *already* be confused, even before Firefox made this change. This is a giant nothingburger. Why are people complaining about an obvious security improvement with *multiple* trivial-to-enable opt-outs all highlighted in the release notes? Disable HTTPS upgrade? Posted Mar 5, 2025 17:19 UTC (Wed) by geert (subscriber, #98403) [Link] Only a few days ago I ran into a server that had its real website on port 80, and the default "Welcome to your new server" on port 443. Disable HTTPS upgrade? Posted Mar 6, 2025 0:17 UTC (Thu) by higuita (guest, #32245) [Link] (13 responses) That is the end goal, end the plain text HTTP, only encrypted HTTPS should exist. You even have now web servers that automatically manage the certificate Disable HTTPS upgrade? Posted Mar 6, 2025 7:47 UTC (Thu) by Wol (subscriber, #4433) [Link] (12 responses) Planned obsolescence ... Okay, I wouldn't want it outside a firewall, but how many old - eg printers - are there out there with an http web interface. We have two, both approaching ten years old ... Cheers, Wol Disable HTTPS upgrade? Posted Mar 6, 2025 8:40 UTC (Thu) by PeeWee (subscriber, #175777) [Link] (10 responses) This has nothing to do with planned obsolescence and it's quite ironic to point towards printers, which are the epitome (search for "printer") of that very practice. HTTP won't go anywhere since it is part of HTTPS, which simply uses TLS underneath, whereas HTTP relies on plain TCP directly. Disable HTTPS upgrade? Posted Mar 6, 2025 13:06 UTC (Thu) by ballombe (subscriber, #9523) [Link] (9 responses) Old webservers use old versions of TLS that are rejected by newer browsers for security reasons, thus they are not reachable by https anymore. Disable HTTPS upgrade? Posted Mar 6, 2025 23:38 UTC (Thu) by PeeWee (subscriber, #175777) [Link] (8 responses) Good riddance, I say to that. Who runs such ancient setups anyway? If they cannot be bothered to upgrade their servers, they cannot be trusted wholesale and thus TLS should rightly fail. Disable HTTPS upgrade? Posted Mar 7, 2025 19:47 UTC (Fri) by Cyberax (✭ supporter ✭, #52523) [Link] (7 responses) Plenty of older networking gear, for example. I have a UPS from 2008 that has a management interface with an obsolete TLS. Still perfectly usable and secure (if the management interface is on a separate VLAN). Disable HTTPS upgrade? Posted Mar 7, 2025 21:46 UTC (Fri) by PeeWee (subscriber, #175777) [Link] (6 responses) if the management interface is on a separate VLAN Which basically means TLS is pointless anyway. Try harder next time or just stop making up excuses for you unfounded ranting. Disable HTTPS upgrade? Posted Mar 7, 2025 21:48 UTC (Fri) by Cyberax (✭ supporter ✭, #52523) [Link] (5 responses) Your statement was: > Who runs such ancient setups anyway? I'm replying to it. There is plenty of old gear that has obsolete TLS, and has to use plain HTTP. Disable HTTPS upgrade? Posted Mar 7, 2025 22:06 UTC (Fri) by PeeWee (subscriber, #175777) [Link] (4 responses) And how does FF stop anyone from doing that? Enter a complete URI with explicit http: scheme and everything is just fine. Also the previous example was about ancient TLS, or rather SSL as it was called back then. Anything running SSL is obsolete by definition and one can just as well use plaintext HTTP, which may be the saner choice since it does not even pretend and thus won't provide a false sense of security. And now the weather: over at LWN there was a strom light breeze in a tea cup, caused by users of deprecated software blowing off steam while fighting over a giant nixnothingburger. And with that I wish you all a good night and an even better early spring weekend. ;) Disable HTTPS upgrade? Posted Mar 8, 2025 0:29 UTC (Sat) by Cyberax (✭ supporter ✭, #52523) [Link] (3 responses) > And how does FF stop anyone from doing that? By forcing HTTPS and sticking to it, even if you specify "http". Disable HTTPS upgrade? Posted Mar 8, 2025 1:02 UTC (Sat) by pizza (subscriber, #46) [Link] (2 responses) >> And how does FF stop anyone from doing that? >By forcing HTTPS and sticking to it, even if you specify "http". And then helpfully "remembering" your "choice". I fight with FF over this crap on average a couple of times a week. Disable HTTPS upgrade? Posted Mar 8, 2025 6:51 UTC (Sat) by PeeWee (subscriber, #175777) [Link] (1 responses) A poor craftsman blames his tools. Again: You open the history sidebar (Ctrl-H), or the history manager (Ctrl-Shift-H), find and select the offending site, right-click it and select Forget About This Site..., and afterwards you open it only once by explicitly specifying the http: scheme, FF will remember your choice and subsequently you can open it without it. If you guys would spend half as much time on actually trying to solve problems as you do on this pointless ranting, you may just end up with lower blood pressure and live longer and, most importantly, happier. It took me all of one minute to figure this out, once I understood what was happening. OK one and a half, two, tops; and only because I created a fresh profile to test the procedure - you are welcome BTW. And I have posted this further up already. If that does not fix the issue, report a bug, instead of polluting public forums with your foulmouthed ranting, which only serves to frustrate you and others while leaving Mozilla totally oblivious to the fact there might, just might, be an issue. It's a new feature after all, and I bet, you guys are the loud minority complaining about it while the vast majority welcomes it, me included. Or switch to a different browser if you hate FF that much. Or just do you, I don't care. But be prepared to be ridiculed, if you keep this up. With this all being said, ever so redundantly, we come to the weather report: still unchanged. Stop here Posted Mar 8, 2025 14:19 UTC (Sat) by corbet (editor, #1) [Link] OK, please, let's just bring an end to this thread, and to this style of discussion. We can do better. Disable HTTPS upgrade? Posted Mar 6, 2025 19:01 UTC (Thu) by NYKevin (subscriber, #129325) [Link] You can't really get rid of local (LAN) HTTP. Or at least, there is no reasonable way to do it. In order to serve HTTPS over a LAN, you need a globally routable domain that you can administer (from the LAN). Technically, you do not need to purchase a separate second-level domain for every consumer - it would be enough to buy one domain and give every consumer a separate subdomain, and then use split-horizon DNS so that each consumer only sees their own subdomain (Let's Encrypt and other CAs will happily give you a certificate if you can manipulate DNS records, even if you cannot serve HTTPS on the public web - I know this because I do it on my own LAN). But nobody wants to administer a solution that involves managing so many subdomains with trust delegated to consumers. You would need a separate API key for each instance of the product, a flow for recovering from an account lockout or device wipe, probably some fairly beefy DNS nameservers, and so on. To make things even worse, I can't see a way to avoid remote-bricking these devices when you're no longer interested in supporting them (your DNS nameservers go away, the devices can no longer renew their HTTPS certificates, they expire, the end). I'm not going to say this is impossible as a solution, but it is IMHO unreasonably complicated for such a straightforward premise, assuming you want to do it at scale as an OEM, and not just as a one-off hobbyist configuration for your own personal network. There are explicitly non-global domains, such as *.home.arpa and *.internal, and you can (legitimately) make up addresses under those domains and serve them using split-horizon (as well as funkier options, like mDNS for *.local), but there is as yet no consensus on how trust should work in that case. Who has the authority to assert these names, and issue certificates for them? It can't be the "regular" global CAs (they do not know which LAN the user is on, and therefore which example.internal is the "real" example.internal from that user's perspective), so they would need to be issued by some sort of local or per-LAN CA. But that just begs the question. IP has no trust hierarchy - when a packet leaves your device, it's up to the rest of the network to decide what to do with it. There is no IP-based procedure for identifying an "authority" for a particular network, nor even for proving that (e.g.) a given router has the de facto ability to route packets for a given network segment (DHCP and IPv6 NDP do not count, because they have no security, so anyone can impersonate the router if they feel like it). That functionality almost(!) exists in the context of BGP and IXPs, but nobody's home network is a whole AS, so it is rather useless for LANs, even if we leave aside the fact that it regularly fails to prevent random ISPs from accidentally turning each other off due to BGP misconfigurations. I've only heard of one general idea that seems like it has any chance of working, and it looks roughly like the following: 1. When you connect to a LAN, you scan some sort of QR code or similar thing. It might be permanently etched or printed on the surface of the router, or in some other non-removable place where the consumer can easily find it. 2. Whatever you scanned contains a trust token. If not already connected to the LAN, you are prompted to do so, and then you are prompted to accept the trust token. 3. Your device imports this trust token as a limited-scope root certificate, valid only for non-global TLDs like .internal. 4. Some CA on the network holds the private key corresponding to that certificate, and may issue domain certificates based on it. Your device will trust those domain certificates while it is connected to the network. Most likely, this CA is a service running inside the router. 5. When you disconnect from the network, your device must invalidate, delete, or otherwise distrust the root certificate. There are still quite a lot of obvious problems with this: * Many consumer devices have a habit of promiscuously connecting to any WLAN they see if the current WLAN appears to be down. This raises the possibility that the user thinks they are connected to network X when in fact they are connected to network Y, and Y is hostile and attempts to impersonate some of the services offered on X. The solution is to require that trust tokens may only become active by explicit user action (ideally, only by scanning a code, so that WLANs with the same SSID do not have their trust tokens confused). * We need to validate that the user connected to the correct network for a given trust token (or else an attacker could mislead the user into importing some attacker-controlled token instead, and then impersonate local network services). This can be done at import time, by checking that some standardized non-global domain (e.g. www.certificate-check.internal) is serving HTTPS with a certificate that would be valid if we accepted the trust token, but we would need to pick a single standard domain. * More generally, publicly-accessible WLANs raise a lot of complicated and thorny questions about what constitutes "the real" network and how we should protect the user from a "fake" network. Probably the easiest way to fix this is to avoid using non-global domains on such networks (if you're a giant company providing a WiFi hotspot for your consumers, you can afford to administer one real domain for your whole setup, and then you can just use conventional/global certificates and avoid all this faff entirely). * We really ought to explain to the user what they are doing when they scan one of these codes, and give them an opportunity to cancel, but it's hard to come up with a good wording that won't confuse non-technical folks *and* will convince them that they should refuse to connect if they do not trust the source of the code. * In turn, that raises the issue that consumers don't usually pay much attention to what network they are currently on. It may be unwise to assume that users can distinguish between example.internal (on Alice's network) and example.internal (on Bob's network) without some kind of specialized UI that has not yet been invented. By assumption, we cannot display any globally-meaningful identity information to help the user figure out which is which (any means of supplying and authenticating such information would necessarily be just as difficult as using a globally-routable domain in the first place). * You would still need a means for LAN devices such as printers to talk to the CA, establish mutual trust (presumably with user supervision/approval), and get themselves a local domain and certificate. The flow described above works great for phones, but most printers cannot scan a QR code. There are a variety of options here, but something would need to be standardized so we don't end up with fifty mutually-incompatible onboarding flows. Disable HTTPS upgrade? Posted Mar 5, 2025 9:03 UTC (Wed) by rbtree (guest, #129790) [Link] It's not a misfeature for me. More and more HTTPS enforcement has been one of the best things for censorship circumvention/prevention that has happened in the last decade. Because of this, our government couldn't intercept plain HTTP anymore and was forced to issue a "safety certificate" (you may have heard of it) that you were "encouraged" to install on all your machines. It was quickly blacklisted by all browser vendors. One of the very few times in my life when I felt like someone big was finally standing up for the little guy (even if it wasn't really the case). DNS-over-HTTPS falls into the same category. Disable HTTPS upgrade? Posted Mar 5, 2025 9:05 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (2 responses) Why do you even call it a misfeature? It is simply a change in default behaviour. It used to be that, if not explicitly specified, FF would use HTTP. Extensions such as HTTPS Everywhere are proof that there is/was a desire to change that. FF has supported HTTPS-Only for quite some time now and this is just the softer version of it. I am really rather happy about this very much in demand feature and getting rid of some inconveniences one has to put with when using HTTPS-Only, which requires manual setup of exceptions, if the destination host does not support HTTPS. And @Cyberax seems to be in the habit of blaming anything but his own (mis)configurations, if his rants about systemd are anything to go by. If an explicit http:// doesn't fix it and HTTPS-Only is not active then this may well be just a bug, as in teething problem. People should really stop blowing things out of proportion. Also this may still turn out as PEBCAK. Disable HTTPS upgrade? Posted Mar 9, 2025 14:00 UTC (Sun) by Duncan (guest, #6647) [Link] (1 responses) > FF has supported HTTPS-Only for quite some time now and this is just the softer version of it. Thanks. I wish the ff what's new and all the articles covering it had been that explicit. I've been low-key confused since I enabled HTTPS-Only when it came out (and had HTTPS-Everywhere before that), and this seemed to be the same thing. Better security by default's good, but now I've confirmed what I suspected, that this change doesn't apply to me since I'd already effectively opted into it. Again, I wish the ff what's new had specifically explained that. Disable HTTPS upgrade? Posted Mar 9, 2025 15:53 UTC (Sun) by mathstuf (subscriber, #69389) [Link] Well, I think we've seen that Mozilla's communication department is definitely lacking in the "tact" department these past weeks. I wonder if enough folks have been influenced by the vapid "bug fixes and performance improvements" update notes to see even what we get as "more effort than seems necessary" for release notes. I think the only way to push back on that is to use that as the complete commit message (maybe with an empty "What's new:" list introducer) when contributing to repos run by these companies and point to "seems good enough for you" when push back happens. Disable HTTPS upgrade? Posted Mar 5, 2025 7:17 UTC (Wed) by joib (subscriber, #8541) [Link] (4 responses) For the HTTP header approach there's https://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security which I believe Firefox has supported already for a long time. I believe the new thing with Firefox 136 is that now it automatically first tries to connect via https if you just type an address without a specific "http://" string in front? I could be wrong though, I haven't looked into it in detail. Disable HTTPS upgrade? Posted Mar 6, 2025 13:23 UTC (Thu) by taladar (subscriber, #68407) [Link] (3 responses) HSTS is nice but without preloading there is still the initial request that is insecure and could be redirected somewhere entirely different. And preloading doesn't really scale. You can't exactly have a list of every website in the world that wants to be secure just to avoid changing a default from insecure to secure. Disable HTTPS upgrade? Posted Mar 6, 2025 15:32 UTC (Thu) by arita (subscriber, #176355) [Link] (2 responses) Could they also have an https record to help alleviate that pre-loading issue? Disable HTTPS upgrade? Posted Mar 6, 2025 17:37 UTC (Thu) by draco (subscriber, #1792) [Link] (1 responses) That's RFC 9460. Firefox has support but it's apparently disabled by default. Chrome supposedly has support too, but I can't find any documentation that it is actually enabled and working (or any flag to turn it on). Browsers have long resisted adding any DNS lookups to the dependency chain for loading a page because they say people are extremely latency sensitive. It sounds like platform support for arbitrary DNS record types has been problematic too. Hence they've ignored a number of records that have been proposed to improve security (e.g., TLSA). I think that RFC was developed with their input to try to address their needs, so it's really sad to see it not be enabled. Though it's at least implemented, which is progress, I guess? Disable HTTPS upgrade? Posted Mar 7, 2025 11:13 UTC (Fri) by arita (subscriber, #176355) [Link] I found it thanks to https://hg.mozilla.org/integration/autoland/rev/34c9c9b0de17. Seems to be enabled by default for roughly the last 4 years in firefox. about:config network.dns.upgrade_with_https_rr = true network.dns.use_https_rr_as_altsvc = true
Posted Mar 4, 2025 18:38 UTC (Tue) by Cyberax (✭ supporter ✭, #52523) [Link] (45 responses)
However, `2600:A:B::1` also has port 443 open, and it serves just the "router.mydomain.net" website.
Disable HTTPS upgrade? Posted Mar 4, 2025 18:44 UTC (Tue) by draco (subscriber, #1792) [Link] (44 responses) It's IPv6. Give the host another address and disambiguate it that way? Disable HTTPS upgrade? Posted Mar 4, 2025 22:00 UTC (Tue) by Cyberax (✭ supporter ✭, #52523) [Link] The idea is that devices don't necessarily _have_ IPv6, but the router has it. It will also have this problem with IPv4. Disable HTTPS upgrade? Posted Mar 5, 2025 3:39 UTC (Wed) by intelfx (subscriber, #130118) [Link] (42 responses) > It's IPv6. Give the host another address and disambiguate it that way? I can't speak for Cyberax, but for me, part of the problem is the *need itself* to jump through hoops and perform contortions for no good reason. Why should I complicate my configuration just to placate a misfeature? Disable HTTPS upgrade? Posted Mar 5, 2025 8:50 UTC (Wed) by taladar (subscriber, #68407) [Link] (37 responses) Why should the entire world stay less secure just to cater to the extremely rare case that hosts have both ports open but don't serve the same hostnames on both? Disable HTTPS upgrade? Posted Mar 5, 2025 8:54 UTC (Wed) by intelfx (subscriber, #130118) [Link] (15 responses) That's a false dichotomy and a strawman. This particular instance of the misfeature does not make anything less secure. Let's, instead, rephrase it this way: why should someone's desire to have some $feature in a completely unrelated context break a completely valid, legal and standards-compliant configuration? Disable HTTPS upgrade? Posted Mar 5, 2025 8:58 UTC (Wed) by intelfx (subscriber, #130118) [Link] Sorry, s/less secure/more secure/. Disable HTTPS upgrade? Posted Mar 5, 2025 9:22 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (13 responses) why should someone's desire to have some $feature in a completely unrelated context break a completely valid, legal and standards-compliant configuration? (emphasis added) Who says that it is? I am half suspecting that it just happened to work because of implicit reliance on side effects, i.e. no-one ever tried to connect via HTTPS before. Disable HTTPS upgrade? Posted Mar 5, 2025 9:41 UTC (Wed) by intelfx (subscriber, #130118) [Link] (12 responses) > Who says that it is? Because existence and nature of HTTP services on port 80 on a particular host is not supposed to mean or convey anything about existence and nature of HTTPS services on port 443 on the same IP address. If you want to prove me wrong, please quote an RFC. Disable HTTPS upgrade? Posted Mar 5, 2025 10:41 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (6 responses) It's implicit in the definition of HTTPS, which is just HTTP over TLS. And the mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard. Also the problem @Cyberax describes looks like it can be fixed by proper authentication certificates for all the host names or a wildcard for the lower level domain. Disable HTTPS upgrade? Posted Mar 5, 2025 10:46 UTC (Wed) by intelfx (subscriber, #130118) [Link] (5 responses) So, it's not actually a thing. Thanks. Disable HTTPS upgrade? Posted Mar 5, 2025 10:56 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (4 responses) You may also want to checkout @csamuel's reply and the knowledge base article he linked to. If that method does not work, it's a bug which should be reported, simple as that. Alas, this is yet another storm in a tea cup, imagined by people whose go-to response is ranting about some vendors they chose to hate, yet they still use their product. So the problem is in fact not a thing. Thank you. Disable HTTPS upgrade? Posted Mar 5, 2025 11:07 UTC (Wed) by intelfx (subscriber, #130118) [Link] (3 responses) You are linking to internal documentation containing a description of the behavior of one specific implementation, the one whose behavior is being questioned. That does not advance the discussion at all. Just like in your previous comment ("mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard"), it is invalid to justify some sort of behavior by the fact that this behavior exists. Disable HTTPS upgrade? Posted Mar 5, 2025 11:31 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (2 responses) You are linking to internal documentation containing a description of the behavior of one specific implementation, the one whose behavior is being questioned. That is very much public documentation, which one arrives at by following the link in the release notes. That does not advance the discussion at all. You are making up problems which are non-existent. That does not advance the discussion. Just like in your previous comment (""mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard""), it is invalid to justify some sort of behavior by the fact that this behavior exists. The user who enters an incomplete URI is at fault, basically, and FF just changed how it defaults (hence the name) the request. And that's what you get when you rely on side effects. Always enter complete URIs and there is no problem. Disable HTTPS upgrade? Posted Mar 5, 2025 15:20 UTC (Wed) by intelfx (subscriber, #130118) [Link] (1 responses) > The user who enters an incomplete URI is at fault I never said I did this, yet you somehow assumed a fact that makes me at fault. > You are making up problems which are non-existent Okay, so you apparently know better than me what problems I experienced. This is a subtype of a personal attack, and, again, not something that's called a "good faith discussion". This is a pattern (even in this message, but also with you in general), therefore I will not talk to you further. Have a good day. Disable HTTPS upgrade? Posted Mar 5, 2025 15:50 UTC (Wed) by PeeWee (subscriber, #175777) [Link] > The user who enters an incomplete URI is at fault I never said I did this, yet you somehow assumed a fact that makes me at fault. Why does everything have to be about you? Are you that narcissistic? I was (implicitly) referring to @Cyberax, or rather the problem they described above. > You are making up problems which are non-existent Okay, so you apparently know better than me what problems I experienced. No, I am referring to your assertion that somehow FF is doing something wrong here, which it does not. This is a subtype of a personal attack, and, again, not something that's called a "good faith discussion". I apologize if it came across that way, which was not my intention. Disable HTTPS upgrade? Posted Mar 5, 2025 10:55 UTC (Wed) by excors (subscriber, #95769) [Link] (3 responses) RFC9110 says: > Resources made available via the "https" scheme have no shared identity with the "http" scheme. They are distinct origins with separate namespaces. but then goes on to mention cookies as an example of features that undermine the strict distinction. Specifically RFC6265 says: > servers SHOULD NOT both run mutually distrusting services on different ports of the same host and use cookies to store security-sensitive information. because cookies are shared by all schemes and ports on the same host. So even if you stick to the hypothetical world described by RFCs and ignore practical concerns, you can't treat HTTP and HTTPS services on the same host as completely independent. Disable HTTPS upgrade? Posted Mar 5, 2025 11:02 UTC (Wed) by intelfx (subscriber, #130118) [Link] > RFC9110 says: > >> Resources made available via the "https" scheme have no shared identity with the "http" scheme. They are distinct origins with separate namespaces. > > but then goes on to mention cookies as an example of features that undermine the strict distinction. Specifically RFC6265 says: > >> servers SHOULD NOT both run mutually distrusting services on different ports of the same host and use cookies to store security-sensitive information. Sure, that's a restriction placed on the previous clause. Yet, "the exception proves the rule in cases not excepted". So it is, in fact, true that besides this mutual distrust caveat, RFCs declare http:// and https:// resources as separate namespaces. I take it as a pretty clear-cut confirmation that the standards agree with my interpretation. Disable HTTPS upgrade? Posted Mar 5, 2025 14:07 UTC (Wed) by ballombe (subscriber, #9523) [Link] (1 responses) > because cookies are shared by all schemes and ports on the same host. ... which independently of https is a major design bug since webservers on non-standard ports exist. Disable HTTPS upgrade? Posted Mar 5, 2025 15:19 UTC (Wed) by excors (subscriber, #95769) [Link] Yeah, modern web security is based on "origin" (basically a tuple of scheme, port and host) which is generally sensible, but cookies were invented long before that and can't be fixed because of backward compatibility requirements. If you want to properly isolate sites then they can't even be on different subdomains of the same domain - they must be completely different domains, up to a suffix listed in the Public Suffix List (.com, .co.uk, .github.io, etc). And definitely don't try to isolate them just by port. It's a bad design, but it is what it is. (Or as RFC6265 puts it: "For historical reasons, cookies contain a number of security and privacy infelicities.") Disable HTTPS upgrade? Posted Mar 6, 2025 1:29 UTC (Thu) by NYKevin (subscriber, #129325) [Link] This is the web, not some NIST-compliant government boondoggle. Everyone used to write charset='iso-8859-1' when they should have written charset='windows-1252'. You can tell people that they're wrong, but that won't fix the websites that already exist. Instead, WHATWG specifies the former as an alias for the latter, and both are now "correct." You should expect that common practices gradually ossify into standards - that is how the web has always worked. As for HTTPS in particular: * The HTTPS Everywhere extension has demonstrated that, in practice, many websites serve the same content on HTTPS as they do on HTTP, and you really can just replace http:// with https:// in a lot of URLs. * HSTS (RFC 6797) has established a precedent that web standards should go out of their way to support and enhance the case where HTTP redirects to HTTPS, even if this means overriding the user's explicit instruction to connect with HTTP. * The entire .dev gTLD is preloaded into HSTS. If you buy one of those domains, you cannot serve HTTP at all (at least, to any of the usual browsers), because the browser will rewrite all URLs to HTTPS. * All major browsers now display "Not secure" or similar warnings when visiting an HTTP site. * Chromium and Chromium-based browsers have been doing the whole "opportunistically upgrade HTTP to HTTPS" thing for select users (plus anyone who manually turns it on) since 2023.[1] Realistically, I think it's only a matter of time before WHATWG decides to write this behavior down and call it a "living standard." Disclaimer: I work for Google, but not on any web-related technology such as Chrome. Opinions are my own. [1]: https://blog.chromium.org/2023/08/towards-https-by-defaul... Disable HTTPS upgrade? Posted Mar 5, 2025 13:56 UTC (Wed) by ballombe (subscriber, #9523) [Link] (20 responses) Have you ever set up an apache web server ? One need to set up two completely independent vrtual hosts, one for 80 and one for 443. So unless you are careful, you will end up with different websites, and thanks to firefox, you will never notice since you will never actually reach the 80 one. At which point you are probably better off removing the one port 80. Disable HTTPS upgrade? Posted Mar 5, 2025 15:06 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (3 responses) [...] one for 80 and one for 443. So unless you are careful, you will end up with different websites, and thanks to firefox, you will never notice since you will never actually reach the 80 one. That's not thanks to FF but to the negligence of users who fail to enter complete URIs. It's also quite a stretch to assert that one has to be careful not to end up with different websites, since the default DocumentRoot is the same for both; plus, there is the include directive which makes such setups rather trivial. The opposite seems more likely: one has to be careful not to accidentally end up with the same website on both ports. But people will make up the silliest examples to find an excuse to bash FF, it seems. At which point are probably better off removing the one port 80. Unless there is a very good reason to provide unencrypted access one might as well not bother with setting up that one to begin with. Disable HTTPS upgrade? Posted Mar 5, 2025 15:21 UTC (Wed) by rschroev (subscriber, #4164) [Link] (2 responses) > "At which point are probably better off removing the one port 80." >> Unless there is a very good reason to provide unencrypted access one might as well not bother with setting up that one to begin with. On port 80 I always set up a redirect to port 443. Is that not the normal / expected thing to do? Disable HTTPS upgrade? Posted Mar 5, 2025 15:32 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (1 responses) OK, there's that, I totally forgot about it. But then you don't really have to bother with setting up anything beyond that on port 80. ;) Disable HTTPS upgrade? Posted Mar 6, 2025 13:19 UTC (Thu) by taladar (subscriber, #68407) [Link] And, more importantly, this change in the default to https first will eventually lead to a world where we finally won't need that http Port just to redirect any more. Disable HTTPS upgrade? Posted Mar 5, 2025 15:26 UTC (Wed) by nix (subscriber, #2304) [Link] You have to jump through significant numbers of extra hoops to end up with actual distinct websites: the default configuration (if you just uncomment the bits that turn SSL on at all), will give you the same site on both -- and if you do end up with different sites for HTTP and HTTPS, users on major browsers will *already* be confused, even before Firefox made this change. This is a giant nothingburger. Why are people complaining about an obvious security improvement with *multiple* trivial-to-enable opt-outs all highlighted in the release notes? Disable HTTPS upgrade? Posted Mar 5, 2025 17:19 UTC (Wed) by geert (subscriber, #98403) [Link] Only a few days ago I ran into a server that had its real website on port 80, and the default "Welcome to your new server" on port 443. Disable HTTPS upgrade? Posted Mar 6, 2025 0:17 UTC (Thu) by higuita (guest, #32245) [Link] (13 responses) That is the end goal, end the plain text HTTP, only encrypted HTTPS should exist. You even have now web servers that automatically manage the certificate Disable HTTPS upgrade? Posted Mar 6, 2025 7:47 UTC (Thu) by Wol (subscriber, #4433) [Link] (12 responses) Planned obsolescence ... Okay, I wouldn't want it outside a firewall, but how many old - eg printers - are there out there with an http web interface. We have two, both approaching ten years old ... Cheers, Wol Disable HTTPS upgrade? Posted Mar 6, 2025 8:40 UTC (Thu) by PeeWee (subscriber, #175777) [Link] (10 responses) This has nothing to do with planned obsolescence and it's quite ironic to point towards printers, which are the epitome (search for "printer") of that very practice. HTTP won't go anywhere since it is part of HTTPS, which simply uses TLS underneath, whereas HTTP relies on plain TCP directly. Disable HTTPS upgrade? Posted Mar 6, 2025 13:06 UTC (Thu) by ballombe (subscriber, #9523) [Link] (9 responses) Old webservers use old versions of TLS that are rejected by newer browsers for security reasons, thus they are not reachable by https anymore. Disable HTTPS upgrade? Posted Mar 6, 2025 23:38 UTC (Thu) by PeeWee (subscriber, #175777) [Link] (8 responses) Good riddance, I say to that. Who runs such ancient setups anyway? If they cannot be bothered to upgrade their servers, they cannot be trusted wholesale and thus TLS should rightly fail. Disable HTTPS upgrade? Posted Mar 7, 2025 19:47 UTC (Fri) by Cyberax (✭ supporter ✭, #52523) [Link] (7 responses) Plenty of older networking gear, for example. I have a UPS from 2008 that has a management interface with an obsolete TLS. Still perfectly usable and secure (if the management interface is on a separate VLAN). Disable HTTPS upgrade? Posted Mar 7, 2025 21:46 UTC (Fri) by PeeWee (subscriber, #175777) [Link] (6 responses) if the management interface is on a separate VLAN Which basically means TLS is pointless anyway. Try harder next time or just stop making up excuses for you unfounded ranting. Disable HTTPS upgrade? Posted Mar 7, 2025 21:48 UTC (Fri) by Cyberax (✭ supporter ✭, #52523) [Link] (5 responses) Your statement was: > Who runs such ancient setups anyway? I'm replying to it. There is plenty of old gear that has obsolete TLS, and has to use plain HTTP. Disable HTTPS upgrade? Posted Mar 7, 2025 22:06 UTC (Fri) by PeeWee (subscriber, #175777) [Link] (4 responses) And how does FF stop anyone from doing that? Enter a complete URI with explicit http: scheme and everything is just fine. Also the previous example was about ancient TLS, or rather SSL as it was called back then. Anything running SSL is obsolete by definition and one can just as well use plaintext HTTP, which may be the saner choice since it does not even pretend and thus won't provide a false sense of security. And now the weather: over at LWN there was a strom light breeze in a tea cup, caused by users of deprecated software blowing off steam while fighting over a giant nixnothingburger. And with that I wish you all a good night and an even better early spring weekend. ;) Disable HTTPS upgrade? Posted Mar 8, 2025 0:29 UTC (Sat) by Cyberax (✭ supporter ✭, #52523) [Link] (3 responses) > And how does FF stop anyone from doing that? By forcing HTTPS and sticking to it, even if you specify "http". Disable HTTPS upgrade? Posted Mar 8, 2025 1:02 UTC (Sat) by pizza (subscriber, #46) [Link] (2 responses) >> And how does FF stop anyone from doing that? >By forcing HTTPS and sticking to it, even if you specify "http". And then helpfully "remembering" your "choice". I fight with FF over this crap on average a couple of times a week. Disable HTTPS upgrade? Posted Mar 8, 2025 6:51 UTC (Sat) by PeeWee (subscriber, #175777) [Link] (1 responses) A poor craftsman blames his tools. Again: You open the history sidebar (Ctrl-H), or the history manager (Ctrl-Shift-H), find and select the offending site, right-click it and select Forget About This Site..., and afterwards you open it only once by explicitly specifying the http: scheme, FF will remember your choice and subsequently you can open it without it. If you guys would spend half as much time on actually trying to solve problems as you do on this pointless ranting, you may just end up with lower blood pressure and live longer and, most importantly, happier. It took me all of one minute to figure this out, once I understood what was happening. OK one and a half, two, tops; and only because I created a fresh profile to test the procedure - you are welcome BTW. And I have posted this further up already. If that does not fix the issue, report a bug, instead of polluting public forums with your foulmouthed ranting, which only serves to frustrate you and others while leaving Mozilla totally oblivious to the fact there might, just might, be an issue. It's a new feature after all, and I bet, you guys are the loud minority complaining about it while the vast majority welcomes it, me included. Or switch to a different browser if you hate FF that much. Or just do you, I don't care. But be prepared to be ridiculed, if you keep this up. With this all being said, ever so redundantly, we come to the weather report: still unchanged. Stop here Posted Mar 8, 2025 14:19 UTC (Sat) by corbet (editor, #1) [Link] OK, please, let's just bring an end to this thread, and to this style of discussion. We can do better. Disable HTTPS upgrade? Posted Mar 6, 2025 19:01 UTC (Thu) by NYKevin (subscriber, #129325) [Link] You can't really get rid of local (LAN) HTTP. Or at least, there is no reasonable way to do it. In order to serve HTTPS over a LAN, you need a globally routable domain that you can administer (from the LAN). Technically, you do not need to purchase a separate second-level domain for every consumer - it would be enough to buy one domain and give every consumer a separate subdomain, and then use split-horizon DNS so that each consumer only sees their own subdomain (Let's Encrypt and other CAs will happily give you a certificate if you can manipulate DNS records, even if you cannot serve HTTPS on the public web - I know this because I do it on my own LAN). But nobody wants to administer a solution that involves managing so many subdomains with trust delegated to consumers. You would need a separate API key for each instance of the product, a flow for recovering from an account lockout or device wipe, probably some fairly beefy DNS nameservers, and so on. To make things even worse, I can't see a way to avoid remote-bricking these devices when you're no longer interested in supporting them (your DNS nameservers go away, the devices can no longer renew their HTTPS certificates, they expire, the end). I'm not going to say this is impossible as a solution, but it is IMHO unreasonably complicated for such a straightforward premise, assuming you want to do it at scale as an OEM, and not just as a one-off hobbyist configuration for your own personal network. There are explicitly non-global domains, such as *.home.arpa and *.internal, and you can (legitimately) make up addresses under those domains and serve them using split-horizon (as well as funkier options, like mDNS for *.local), but there is as yet no consensus on how trust should work in that case. Who has the authority to assert these names, and issue certificates for them? It can't be the "regular" global CAs (they do not know which LAN the user is on, and therefore which example.internal is the "real" example.internal from that user's perspective), so they would need to be issued by some sort of local or per-LAN CA. But that just begs the question. IP has no trust hierarchy - when a packet leaves your device, it's up to the rest of the network to decide what to do with it. There is no IP-based procedure for identifying an "authority" for a particular network, nor even for proving that (e.g.) a given router has the de facto ability to route packets for a given network segment (DHCP and IPv6 NDP do not count, because they have no security, so anyone can impersonate the router if they feel like it). That functionality almost(!) exists in the context of BGP and IXPs, but nobody's home network is a whole AS, so it is rather useless for LANs, even if we leave aside the fact that it regularly fails to prevent random ISPs from accidentally turning each other off due to BGP misconfigurations. I've only heard of one general idea that seems like it has any chance of working, and it looks roughly like the following: 1. When you connect to a LAN, you scan some sort of QR code or similar thing. It might be permanently etched or printed on the surface of the router, or in some other non-removable place where the consumer can easily find it. 2. Whatever you scanned contains a trust token. If not already connected to the LAN, you are prompted to do so, and then you are prompted to accept the trust token. 3. Your device imports this trust token as a limited-scope root certificate, valid only for non-global TLDs like .internal. 4. Some CA on the network holds the private key corresponding to that certificate, and may issue domain certificates based on it. Your device will trust those domain certificates while it is connected to the network. Most likely, this CA is a service running inside the router. 5. When you disconnect from the network, your device must invalidate, delete, or otherwise distrust the root certificate. There are still quite a lot of obvious problems with this: * Many consumer devices have a habit of promiscuously connecting to any WLAN they see if the current WLAN appears to be down. This raises the possibility that the user thinks they are connected to network X when in fact they are connected to network Y, and Y is hostile and attempts to impersonate some of the services offered on X. The solution is to require that trust tokens may only become active by explicit user action (ideally, only by scanning a code, so that WLANs with the same SSID do not have their trust tokens confused). * We need to validate that the user connected to the correct network for a given trust token (or else an attacker could mislead the user into importing some attacker-controlled token instead, and then impersonate local network services). This can be done at import time, by checking that some standardized non-global domain (e.g. www.certificate-check.internal) is serving HTTPS with a certificate that would be valid if we accepted the trust token, but we would need to pick a single standard domain. * More generally, publicly-accessible WLANs raise a lot of complicated and thorny questions about what constitutes "the real" network and how we should protect the user from a "fake" network. Probably the easiest way to fix this is to avoid using non-global domains on such networks (if you're a giant company providing a WiFi hotspot for your consumers, you can afford to administer one real domain for your whole setup, and then you can just use conventional/global certificates and avoid all this faff entirely). * We really ought to explain to the user what they are doing when they scan one of these codes, and give them an opportunity to cancel, but it's hard to come up with a good wording that won't confuse non-technical folks *and* will convince them that they should refuse to connect if they do not trust the source of the code. * In turn, that raises the issue that consumers don't usually pay much attention to what network they are currently on. It may be unwise to assume that users can distinguish between example.internal (on Alice's network) and example.internal (on Bob's network) without some kind of specialized UI that has not yet been invented. By assumption, we cannot display any globally-meaningful identity information to help the user figure out which is which (any means of supplying and authenticating such information would necessarily be just as difficult as using a globally-routable domain in the first place). * You would still need a means for LAN devices such as printers to talk to the CA, establish mutual trust (presumably with user supervision/approval), and get themselves a local domain and certificate. The flow described above works great for phones, but most printers cannot scan a QR code. There are a variety of options here, but something would need to be standardized so we don't end up with fifty mutually-incompatible onboarding flows. Disable HTTPS upgrade? Posted Mar 5, 2025 9:03 UTC (Wed) by rbtree (guest, #129790) [Link] It's not a misfeature for me. More and more HTTPS enforcement has been one of the best things for censorship circumvention/prevention that has happened in the last decade. Because of this, our government couldn't intercept plain HTTP anymore and was forced to issue a "safety certificate" (you may have heard of it) that you were "encouraged" to install on all your machines. It was quickly blacklisted by all browser vendors. One of the very few times in my life when I felt like someone big was finally standing up for the little guy (even if it wasn't really the case). DNS-over-HTTPS falls into the same category. Disable HTTPS upgrade? Posted Mar 5, 2025 9:05 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (2 responses) Why do you even call it a misfeature? It is simply a change in default behaviour. It used to be that, if not explicitly specified, FF would use HTTP. Extensions such as HTTPS Everywhere are proof that there is/was a desire to change that. FF has supported HTTPS-Only for quite some time now and this is just the softer version of it. I am really rather happy about this very much in demand feature and getting rid of some inconveniences one has to put with when using HTTPS-Only, which requires manual setup of exceptions, if the destination host does not support HTTPS. And @Cyberax seems to be in the habit of blaming anything but his own (mis)configurations, if his rants about systemd are anything to go by. If an explicit http:// doesn't fix it and HTTPS-Only is not active then this may well be just a bug, as in teething problem. People should really stop blowing things out of proportion. Also this may still turn out as PEBCAK. Disable HTTPS upgrade? Posted Mar 9, 2025 14:00 UTC (Sun) by Duncan (guest, #6647) [Link] (1 responses) > FF has supported HTTPS-Only for quite some time now and this is just the softer version of it. Thanks. I wish the ff what's new and all the articles covering it had been that explicit. I've been low-key confused since I enabled HTTPS-Only when it came out (and had HTTPS-Everywhere before that), and this seemed to be the same thing. Better security by default's good, but now I've confirmed what I suspected, that this change doesn't apply to me since I'd already effectively opted into it. Again, I wish the ff what's new had specifically explained that. Disable HTTPS upgrade? Posted Mar 9, 2025 15:53 UTC (Sun) by mathstuf (subscriber, #69389) [Link] Well, I think we've seen that Mozilla's communication department is definitely lacking in the "tact" department these past weeks. I wonder if enough folks have been influenced by the vapid "bug fixes and performance improvements" update notes to see even what we get as "more effort than seems necessary" for release notes. I think the only way to push back on that is to use that as the complete commit message (maybe with an empty "What's new:" list introducer) when contributing to repos run by these companies and point to "seems good enough for you" when push back happens.
Posted Mar 4, 2025 18:44 UTC (Tue) by draco (subscriber, #1792) [Link] (44 responses)
Disable HTTPS upgrade? Posted Mar 4, 2025 22:00 UTC (Tue) by Cyberax (✭ supporter ✭, #52523) [Link] The idea is that devices don't necessarily _have_ IPv6, but the router has it. It will also have this problem with IPv4. Disable HTTPS upgrade? Posted Mar 5, 2025 3:39 UTC (Wed) by intelfx (subscriber, #130118) [Link] (42 responses) > It's IPv6. Give the host another address and disambiguate it that way? I can't speak for Cyberax, but for me, part of the problem is the *need itself* to jump through hoops and perform contortions for no good reason. Why should I complicate my configuration just to placate a misfeature? Disable HTTPS upgrade? Posted Mar 5, 2025 8:50 UTC (Wed) by taladar (subscriber, #68407) [Link] (37 responses) Why should the entire world stay less secure just to cater to the extremely rare case that hosts have both ports open but don't serve the same hostnames on both? Disable HTTPS upgrade? Posted Mar 5, 2025 8:54 UTC (Wed) by intelfx (subscriber, #130118) [Link] (15 responses) That's a false dichotomy and a strawman. This particular instance of the misfeature does not make anything less secure. Let's, instead, rephrase it this way: why should someone's desire to have some $feature in a completely unrelated context break a completely valid, legal and standards-compliant configuration? Disable HTTPS upgrade? Posted Mar 5, 2025 8:58 UTC (Wed) by intelfx (subscriber, #130118) [Link] Sorry, s/less secure/more secure/. Disable HTTPS upgrade? Posted Mar 5, 2025 9:22 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (13 responses) why should someone's desire to have some $feature in a completely unrelated context break a completely valid, legal and standards-compliant configuration? (emphasis added) Who says that it is? I am half suspecting that it just happened to work because of implicit reliance on side effects, i.e. no-one ever tried to connect via HTTPS before. Disable HTTPS upgrade? Posted Mar 5, 2025 9:41 UTC (Wed) by intelfx (subscriber, #130118) [Link] (12 responses) > Who says that it is? Because existence and nature of HTTP services on port 80 on a particular host is not supposed to mean or convey anything about existence and nature of HTTPS services on port 443 on the same IP address. If you want to prove me wrong, please quote an RFC. Disable HTTPS upgrade? Posted Mar 5, 2025 10:41 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (6 responses) It's implicit in the definition of HTTPS, which is just HTTP over TLS. And the mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard. Also the problem @Cyberax describes looks like it can be fixed by proper authentication certificates for all the host names or a wildcard for the lower level domain. Disable HTTPS upgrade? Posted Mar 5, 2025 10:46 UTC (Wed) by intelfx (subscriber, #130118) [Link] (5 responses) So, it's not actually a thing. Thanks. Disable HTTPS upgrade? Posted Mar 5, 2025 10:56 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (4 responses) You may also want to checkout @csamuel's reply and the knowledge base article he linked to. If that method does not work, it's a bug which should be reported, simple as that. Alas, this is yet another storm in a tea cup, imagined by people whose go-to response is ranting about some vendors they chose to hate, yet they still use their product. So the problem is in fact not a thing. Thank you. Disable HTTPS upgrade? Posted Mar 5, 2025 11:07 UTC (Wed) by intelfx (subscriber, #130118) [Link] (3 responses) You are linking to internal documentation containing a description of the behavior of one specific implementation, the one whose behavior is being questioned. That does not advance the discussion at all. Just like in your previous comment ("mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard"), it is invalid to justify some sort of behavior by the fact that this behavior exists. Disable HTTPS upgrade? Posted Mar 5, 2025 11:31 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (2 responses) You are linking to internal documentation containing a description of the behavior of one specific implementation, the one whose behavior is being questioned. That is very much public documentation, which one arrives at by following the link in the release notes. That does not advance the discussion at all. You are making up problems which are non-existent. That does not advance the discussion. Just like in your previous comment (""mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard""), it is invalid to justify some sort of behavior by the fact that this behavior exists. The user who enters an incomplete URI is at fault, basically, and FF just changed how it defaults (hence the name) the request. And that's what you get when you rely on side effects. Always enter complete URIs and there is no problem. Disable HTTPS upgrade? Posted Mar 5, 2025 15:20 UTC (Wed) by intelfx (subscriber, #130118) [Link] (1 responses) > The user who enters an incomplete URI is at fault I never said I did this, yet you somehow assumed a fact that makes me at fault. > You are making up problems which are non-existent Okay, so you apparently know better than me what problems I experienced. This is a subtype of a personal attack, and, again, not something that's called a "good faith discussion". This is a pattern (even in this message, but also with you in general), therefore I will not talk to you further. Have a good day. Disable HTTPS upgrade? Posted Mar 5, 2025 15:50 UTC (Wed) by PeeWee (subscriber, #175777) [Link] > The user who enters an incomplete URI is at fault I never said I did this, yet you somehow assumed a fact that makes me at fault. Why does everything have to be about you? Are you that narcissistic? I was (implicitly) referring to @Cyberax, or rather the problem they described above. > You are making up problems which are non-existent Okay, so you apparently know better than me what problems I experienced. No, I am referring to your assertion that somehow FF is doing something wrong here, which it does not. This is a subtype of a personal attack, and, again, not something that's called a "good faith discussion". I apologize if it came across that way, which was not my intention. Disable HTTPS upgrade? Posted Mar 5, 2025 10:55 UTC (Wed) by excors (subscriber, #95769) [Link] (3 responses) RFC9110 says: > Resources made available via the "https" scheme have no shared identity with the "http" scheme. They are distinct origins with separate namespaces. but then goes on to mention cookies as an example of features that undermine the strict distinction. Specifically RFC6265 says: > servers SHOULD NOT both run mutually distrusting services on different ports of the same host and use cookies to store security-sensitive information. because cookies are shared by all schemes and ports on the same host. So even if you stick to the hypothetical world described by RFCs and ignore practical concerns, you can't treat HTTP and HTTPS services on the same host as completely independent. Disable HTTPS upgrade? Posted Mar 5, 2025 11:02 UTC (Wed) by intelfx (subscriber, #130118) [Link] > RFC9110 says: > >> Resources made available via the "https" scheme have no shared identity with the "http" scheme. They are distinct origins with separate namespaces. > > but then goes on to mention cookies as an example of features that undermine the strict distinction. Specifically RFC6265 says: > >> servers SHOULD NOT both run mutually distrusting services on different ports of the same host and use cookies to store security-sensitive information. Sure, that's a restriction placed on the previous clause. Yet, "the exception proves the rule in cases not excepted". So it is, in fact, true that besides this mutual distrust caveat, RFCs declare http:// and https:// resources as separate namespaces. I take it as a pretty clear-cut confirmation that the standards agree with my interpretation. Disable HTTPS upgrade? Posted Mar 5, 2025 14:07 UTC (Wed) by ballombe (subscriber, #9523) [Link] (1 responses) > because cookies are shared by all schemes and ports on the same host. ... which independently of https is a major design bug since webservers on non-standard ports exist. Disable HTTPS upgrade? Posted Mar 5, 2025 15:19 UTC (Wed) by excors (subscriber, #95769) [Link] Yeah, modern web security is based on "origin" (basically a tuple of scheme, port and host) which is generally sensible, but cookies were invented long before that and can't be fixed because of backward compatibility requirements. If you want to properly isolate sites then they can't even be on different subdomains of the same domain - they must be completely different domains, up to a suffix listed in the Public Suffix List (.com, .co.uk, .github.io, etc). And definitely don't try to isolate them just by port. It's a bad design, but it is what it is. (Or as RFC6265 puts it: "For historical reasons, cookies contain a number of security and privacy infelicities.") Disable HTTPS upgrade? Posted Mar 6, 2025 1:29 UTC (Thu) by NYKevin (subscriber, #129325) [Link] This is the web, not some NIST-compliant government boondoggle. Everyone used to write charset='iso-8859-1' when they should have written charset='windows-1252'. You can tell people that they're wrong, but that won't fix the websites that already exist. Instead, WHATWG specifies the former as an alias for the latter, and both are now "correct." You should expect that common practices gradually ossify into standards - that is how the web has always worked. As for HTTPS in particular: * The HTTPS Everywhere extension has demonstrated that, in practice, many websites serve the same content on HTTPS as they do on HTTP, and you really can just replace http:// with https:// in a lot of URLs. * HSTS (RFC 6797) has established a precedent that web standards should go out of their way to support and enhance the case where HTTP redirects to HTTPS, even if this means overriding the user's explicit instruction to connect with HTTP. * The entire .dev gTLD is preloaded into HSTS. If you buy one of those domains, you cannot serve HTTP at all (at least, to any of the usual browsers), because the browser will rewrite all URLs to HTTPS. * All major browsers now display "Not secure" or similar warnings when visiting an HTTP site. * Chromium and Chromium-based browsers have been doing the whole "opportunistically upgrade HTTP to HTTPS" thing for select users (plus anyone who manually turns it on) since 2023.[1] Realistically, I think it's only a matter of time before WHATWG decides to write this behavior down and call it a "living standard." Disclaimer: I work for Google, but not on any web-related technology such as Chrome. Opinions are my own. [1]: https://blog.chromium.org/2023/08/towards-https-by-defaul... Disable HTTPS upgrade? Posted Mar 5, 2025 13:56 UTC (Wed) by ballombe (subscriber, #9523) [Link] (20 responses) Have you ever set up an apache web server ? One need to set up two completely independent vrtual hosts, one for 80 and one for 443. So unless you are careful, you will end up with different websites, and thanks to firefox, you will never notice since you will never actually reach the 80 one. At which point you are probably better off removing the one port 80. Disable HTTPS upgrade? Posted Mar 5, 2025 15:06 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (3 responses) [...] one for 80 and one for 443. So unless you are careful, you will end up with different websites, and thanks to firefox, you will never notice since you will never actually reach the 80 one. That's not thanks to FF but to the negligence of users who fail to enter complete URIs. It's also quite a stretch to assert that one has to be careful not to end up with different websites, since the default DocumentRoot is the same for both; plus, there is the include directive which makes such setups rather trivial. The opposite seems more likely: one has to be careful not to accidentally end up with the same website on both ports. But people will make up the silliest examples to find an excuse to bash FF, it seems. At which point are probably better off removing the one port 80. Unless there is a very good reason to provide unencrypted access one might as well not bother with setting up that one to begin with. Disable HTTPS upgrade? Posted Mar 5, 2025 15:21 UTC (Wed) by rschroev (subscriber, #4164) [Link] (2 responses) > "At which point are probably better off removing the one port 80." >> Unless there is a very good reason to provide unencrypted access one might as well not bother with setting up that one to begin with. On port 80 I always set up a redirect to port 443. Is that not the normal / expected thing to do? Disable HTTPS upgrade? Posted Mar 5, 2025 15:32 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (1 responses) OK, there's that, I totally forgot about it. But then you don't really have to bother with setting up anything beyond that on port 80. ;) Disable HTTPS upgrade? Posted Mar 6, 2025 13:19 UTC (Thu) by taladar (subscriber, #68407) [Link] And, more importantly, this change in the default to https first will eventually lead to a world where we finally won't need that http Port just to redirect any more. Disable HTTPS upgrade? Posted Mar 5, 2025 15:26 UTC (Wed) by nix (subscriber, #2304) [Link] You have to jump through significant numbers of extra hoops to end up with actual distinct websites: the default configuration (if you just uncomment the bits that turn SSL on at all), will give you the same site on both -- and if you do end up with different sites for HTTP and HTTPS, users on major browsers will *already* be confused, even before Firefox made this change. This is a giant nothingburger. Why are people complaining about an obvious security improvement with *multiple* trivial-to-enable opt-outs all highlighted in the release notes? Disable HTTPS upgrade? Posted Mar 5, 2025 17:19 UTC (Wed) by geert (subscriber, #98403) [Link] Only a few days ago I ran into a server that had its real website on port 80, and the default "Welcome to your new server" on port 443. Disable HTTPS upgrade? Posted Mar 6, 2025 0:17 UTC (Thu) by higuita (guest, #32245) [Link] (13 responses) That is the end goal, end the plain text HTTP, only encrypted HTTPS should exist. You even have now web servers that automatically manage the certificate Disable HTTPS upgrade? Posted Mar 6, 2025 7:47 UTC (Thu) by Wol (subscriber, #4433) [Link] (12 responses) Planned obsolescence ... Okay, I wouldn't want it outside a firewall, but how many old - eg printers - are there out there with an http web interface. We have two, both approaching ten years old ... Cheers, Wol Disable HTTPS upgrade? Posted Mar 6, 2025 8:40 UTC (Thu) by PeeWee (subscriber, #175777) [Link] (10 responses) This has nothing to do with planned obsolescence and it's quite ironic to point towards printers, which are the epitome (search for "printer") of that very practice. HTTP won't go anywhere since it is part of HTTPS, which simply uses TLS underneath, whereas HTTP relies on plain TCP directly. Disable HTTPS upgrade? Posted Mar 6, 2025 13:06 UTC (Thu) by ballombe (subscriber, #9523) [Link] (9 responses) Old webservers use old versions of TLS that are rejected by newer browsers for security reasons, thus they are not reachable by https anymore. Disable HTTPS upgrade? Posted Mar 6, 2025 23:38 UTC (Thu) by PeeWee (subscriber, #175777) [Link] (8 responses) Good riddance, I say to that. Who runs such ancient setups anyway? If they cannot be bothered to upgrade their servers, they cannot be trusted wholesale and thus TLS should rightly fail. Disable HTTPS upgrade? Posted Mar 7, 2025 19:47 UTC (Fri) by Cyberax (✭ supporter ✭, #52523) [Link] (7 responses) Plenty of older networking gear, for example. I have a UPS from 2008 that has a management interface with an obsolete TLS. Still perfectly usable and secure (if the management interface is on a separate VLAN). Disable HTTPS upgrade? Posted Mar 7, 2025 21:46 UTC (Fri) by PeeWee (subscriber, #175777) [Link] (6 responses) if the management interface is on a separate VLAN Which basically means TLS is pointless anyway. Try harder next time or just stop making up excuses for you unfounded ranting. Disable HTTPS upgrade? Posted Mar 7, 2025 21:48 UTC (Fri) by Cyberax (✭ supporter ✭, #52523) [Link] (5 responses) Your statement was: > Who runs such ancient setups anyway? I'm replying to it. There is plenty of old gear that has obsolete TLS, and has to use plain HTTP. Disable HTTPS upgrade? Posted Mar 7, 2025 22:06 UTC (Fri) by PeeWee (subscriber, #175777) [Link] (4 responses) And how does FF stop anyone from doing that? Enter a complete URI with explicit http: scheme and everything is just fine. Also the previous example was about ancient TLS, or rather SSL as it was called back then. Anything running SSL is obsolete by definition and one can just as well use plaintext HTTP, which may be the saner choice since it does not even pretend and thus won't provide a false sense of security. And now the weather: over at LWN there was a strom light breeze in a tea cup, caused by users of deprecated software blowing off steam while fighting over a giant nixnothingburger. And with that I wish you all a good night and an even better early spring weekend. ;) Disable HTTPS upgrade? Posted Mar 8, 2025 0:29 UTC (Sat) by Cyberax (✭ supporter ✭, #52523) [Link] (3 responses) > And how does FF stop anyone from doing that? By forcing HTTPS and sticking to it, even if you specify "http". Disable HTTPS upgrade? Posted Mar 8, 2025 1:02 UTC (Sat) by pizza (subscriber, #46) [Link] (2 responses) >> And how does FF stop anyone from doing that? >By forcing HTTPS and sticking to it, even if you specify "http". And then helpfully "remembering" your "choice". I fight with FF over this crap on average a couple of times a week. Disable HTTPS upgrade? Posted Mar 8, 2025 6:51 UTC (Sat) by PeeWee (subscriber, #175777) [Link] (1 responses) A poor craftsman blames his tools. Again: You open the history sidebar (Ctrl-H), or the history manager (Ctrl-Shift-H), find and select the offending site, right-click it and select Forget About This Site..., and afterwards you open it only once by explicitly specifying the http: scheme, FF will remember your choice and subsequently you can open it without it. If you guys would spend half as much time on actually trying to solve problems as you do on this pointless ranting, you may just end up with lower blood pressure and live longer and, most importantly, happier. It took me all of one minute to figure this out, once I understood what was happening. OK one and a half, two, tops; and only because I created a fresh profile to test the procedure - you are welcome BTW. And I have posted this further up already. If that does not fix the issue, report a bug, instead of polluting public forums with your foulmouthed ranting, which only serves to frustrate you and others while leaving Mozilla totally oblivious to the fact there might, just might, be an issue. It's a new feature after all, and I bet, you guys are the loud minority complaining about it while the vast majority welcomes it, me included. Or switch to a different browser if you hate FF that much. Or just do you, I don't care. But be prepared to be ridiculed, if you keep this up. With this all being said, ever so redundantly, we come to the weather report: still unchanged. Stop here Posted Mar 8, 2025 14:19 UTC (Sat) by corbet (editor, #1) [Link] OK, please, let's just bring an end to this thread, and to this style of discussion. We can do better. Disable HTTPS upgrade? Posted Mar 6, 2025 19:01 UTC (Thu) by NYKevin (subscriber, #129325) [Link] You can't really get rid of local (LAN) HTTP. Or at least, there is no reasonable way to do it. In order to serve HTTPS over a LAN, you need a globally routable domain that you can administer (from the LAN). Technically, you do not need to purchase a separate second-level domain for every consumer - it would be enough to buy one domain and give every consumer a separate subdomain, and then use split-horizon DNS so that each consumer only sees their own subdomain (Let's Encrypt and other CAs will happily give you a certificate if you can manipulate DNS records, even if you cannot serve HTTPS on the public web - I know this because I do it on my own LAN). But nobody wants to administer a solution that involves managing so many subdomains with trust delegated to consumers. You would need a separate API key for each instance of the product, a flow for recovering from an account lockout or device wipe, probably some fairly beefy DNS nameservers, and so on. To make things even worse, I can't see a way to avoid remote-bricking these devices when you're no longer interested in supporting them (your DNS nameservers go away, the devices can no longer renew their HTTPS certificates, they expire, the end). I'm not going to say this is impossible as a solution, but it is IMHO unreasonably complicated for such a straightforward premise, assuming you want to do it at scale as an OEM, and not just as a one-off hobbyist configuration for your own personal network. There are explicitly non-global domains, such as *.home.arpa and *.internal, and you can (legitimately) make up addresses under those domains and serve them using split-horizon (as well as funkier options, like mDNS for *.local), but there is as yet no consensus on how trust should work in that case. Who has the authority to assert these names, and issue certificates for them? It can't be the "regular" global CAs (they do not know which LAN the user is on, and therefore which example.internal is the "real" example.internal from that user's perspective), so they would need to be issued by some sort of local or per-LAN CA. But that just begs the question. IP has no trust hierarchy - when a packet leaves your device, it's up to the rest of the network to decide what to do with it. There is no IP-based procedure for identifying an "authority" for a particular network, nor even for proving that (e.g.) a given router has the de facto ability to route packets for a given network segment (DHCP and IPv6 NDP do not count, because they have no security, so anyone can impersonate the router if they feel like it). That functionality almost(!) exists in the context of BGP and IXPs, but nobody's home network is a whole AS, so it is rather useless for LANs, even if we leave aside the fact that it regularly fails to prevent random ISPs from accidentally turning each other off due to BGP misconfigurations. I've only heard of one general idea that seems like it has any chance of working, and it looks roughly like the following: 1. When you connect to a LAN, you scan some sort of QR code or similar thing. It might be permanently etched or printed on the surface of the router, or in some other non-removable place where the consumer can easily find it. 2. Whatever you scanned contains a trust token. If not already connected to the LAN, you are prompted to do so, and then you are prompted to accept the trust token. 3. Your device imports this trust token as a limited-scope root certificate, valid only for non-global TLDs like .internal. 4. Some CA on the network holds the private key corresponding to that certificate, and may issue domain certificates based on it. Your device will trust those domain certificates while it is connected to the network. Most likely, this CA is a service running inside the router. 5. When you disconnect from the network, your device must invalidate, delete, or otherwise distrust the root certificate. There are still quite a lot of obvious problems with this: * Many consumer devices have a habit of promiscuously connecting to any WLAN they see if the current WLAN appears to be down. This raises the possibility that the user thinks they are connected to network X when in fact they are connected to network Y, and Y is hostile and attempts to impersonate some of the services offered on X. The solution is to require that trust tokens may only become active by explicit user action (ideally, only by scanning a code, so that WLANs with the same SSID do not have their trust tokens confused). * We need to validate that the user connected to the correct network for a given trust token (or else an attacker could mislead the user into importing some attacker-controlled token instead, and then impersonate local network services). This can be done at import time, by checking that some standardized non-global domain (e.g. www.certificate-check.internal) is serving HTTPS with a certificate that would be valid if we accepted the trust token, but we would need to pick a single standard domain. * More generally, publicly-accessible WLANs raise a lot of complicated and thorny questions about what constitutes "the real" network and how we should protect the user from a "fake" network. Probably the easiest way to fix this is to avoid using non-global domains on such networks (if you're a giant company providing a WiFi hotspot for your consumers, you can afford to administer one real domain for your whole setup, and then you can just use conventional/global certificates and avoid all this faff entirely). * We really ought to explain to the user what they are doing when they scan one of these codes, and give them an opportunity to cancel, but it's hard to come up with a good wording that won't confuse non-technical folks *and* will convince them that they should refuse to connect if they do not trust the source of the code. * In turn, that raises the issue that consumers don't usually pay much attention to what network they are currently on. It may be unwise to assume that users can distinguish between example.internal (on Alice's network) and example.internal (on Bob's network) without some kind of specialized UI that has not yet been invented. By assumption, we cannot display any globally-meaningful identity information to help the user figure out which is which (any means of supplying and authenticating such information would necessarily be just as difficult as using a globally-routable domain in the first place). * You would still need a means for LAN devices such as printers to talk to the CA, establish mutual trust (presumably with user supervision/approval), and get themselves a local domain and certificate. The flow described above works great for phones, but most printers cannot scan a QR code. There are a variety of options here, but something would need to be standardized so we don't end up with fifty mutually-incompatible onboarding flows. Disable HTTPS upgrade? Posted Mar 5, 2025 9:03 UTC (Wed) by rbtree (guest, #129790) [Link] It's not a misfeature for me. More and more HTTPS enforcement has been one of the best things for censorship circumvention/prevention that has happened in the last decade. Because of this, our government couldn't intercept plain HTTP anymore and was forced to issue a "safety certificate" (you may have heard of it) that you were "encouraged" to install on all your machines. It was quickly blacklisted by all browser vendors. One of the very few times in my life when I felt like someone big was finally standing up for the little guy (even if it wasn't really the case). DNS-over-HTTPS falls into the same category. Disable HTTPS upgrade? Posted Mar 5, 2025 9:05 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (2 responses) Why do you even call it a misfeature? It is simply a change in default behaviour. It used to be that, if not explicitly specified, FF would use HTTP. Extensions such as HTTPS Everywhere are proof that there is/was a desire to change that. FF has supported HTTPS-Only for quite some time now and this is just the softer version of it. I am really rather happy about this very much in demand feature and getting rid of some inconveniences one has to put with when using HTTPS-Only, which requires manual setup of exceptions, if the destination host does not support HTTPS. And @Cyberax seems to be in the habit of blaming anything but his own (mis)configurations, if his rants about systemd are anything to go by. If an explicit http:// doesn't fix it and HTTPS-Only is not active then this may well be just a bug, as in teething problem. People should really stop blowing things out of proportion. Also this may still turn out as PEBCAK. Disable HTTPS upgrade? Posted Mar 9, 2025 14:00 UTC (Sun) by Duncan (guest, #6647) [Link] (1 responses) > FF has supported HTTPS-Only for quite some time now and this is just the softer version of it. Thanks. I wish the ff what's new and all the articles covering it had been that explicit. I've been low-key confused since I enabled HTTPS-Only when it came out (and had HTTPS-Everywhere before that), and this seemed to be the same thing. Better security by default's good, but now I've confirmed what I suspected, that this change doesn't apply to me since I'd already effectively opted into it. Again, I wish the ff what's new had specifically explained that. Disable HTTPS upgrade? Posted Mar 9, 2025 15:53 UTC (Sun) by mathstuf (subscriber, #69389) [Link] Well, I think we've seen that Mozilla's communication department is definitely lacking in the "tact" department these past weeks. I wonder if enough folks have been influenced by the vapid "bug fixes and performance improvements" update notes to see even what we get as "more effort than seems necessary" for release notes. I think the only way to push back on that is to use that as the complete commit message (maybe with an empty "What's new:" list introducer) when contributing to repos run by these companies and point to "seems good enough for you" when push back happens.
Posted Mar 4, 2025 22:00 UTC (Tue) by Cyberax (✭ supporter ✭, #52523) [Link]
Posted Mar 5, 2025 3:39 UTC (Wed) by intelfx (subscriber, #130118) [Link] (42 responses)
I can't speak for Cyberax, but for me, part of the problem is the *need itself* to jump through hoops and perform contortions for no good reason. Why should I complicate my configuration just to placate a misfeature?
Disable HTTPS upgrade? Posted Mar 5, 2025 8:50 UTC (Wed) by taladar (subscriber, #68407) [Link] (37 responses) Why should the entire world stay less secure just to cater to the extremely rare case that hosts have both ports open but don't serve the same hostnames on both? Disable HTTPS upgrade? Posted Mar 5, 2025 8:54 UTC (Wed) by intelfx (subscriber, #130118) [Link] (15 responses) That's a false dichotomy and a strawman. This particular instance of the misfeature does not make anything less secure. Let's, instead, rephrase it this way: why should someone's desire to have some $feature in a completely unrelated context break a completely valid, legal and standards-compliant configuration? Disable HTTPS upgrade? Posted Mar 5, 2025 8:58 UTC (Wed) by intelfx (subscriber, #130118) [Link] Sorry, s/less secure/more secure/. Disable HTTPS upgrade? Posted Mar 5, 2025 9:22 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (13 responses) why should someone's desire to have some $feature in a completely unrelated context break a completely valid, legal and standards-compliant configuration? (emphasis added) Who says that it is? I am half suspecting that it just happened to work because of implicit reliance on side effects, i.e. no-one ever tried to connect via HTTPS before. Disable HTTPS upgrade? Posted Mar 5, 2025 9:41 UTC (Wed) by intelfx (subscriber, #130118) [Link] (12 responses) > Who says that it is? Because existence and nature of HTTP services on port 80 on a particular host is not supposed to mean or convey anything about existence and nature of HTTPS services on port 443 on the same IP address. If you want to prove me wrong, please quote an RFC. Disable HTTPS upgrade? Posted Mar 5, 2025 10:41 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (6 responses) It's implicit in the definition of HTTPS, which is just HTTP over TLS. And the mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard. Also the problem @Cyberax describes looks like it can be fixed by proper authentication certificates for all the host names or a wildcard for the lower level domain. Disable HTTPS upgrade? Posted Mar 5, 2025 10:46 UTC (Wed) by intelfx (subscriber, #130118) [Link] (5 responses) So, it's not actually a thing. Thanks. Disable HTTPS upgrade? Posted Mar 5, 2025 10:56 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (4 responses) You may also want to checkout @csamuel's reply and the knowledge base article he linked to. If that method does not work, it's a bug which should be reported, simple as that. Alas, this is yet another storm in a tea cup, imagined by people whose go-to response is ranting about some vendors they chose to hate, yet they still use their product. So the problem is in fact not a thing. Thank you. Disable HTTPS upgrade? Posted Mar 5, 2025 11:07 UTC (Wed) by intelfx (subscriber, #130118) [Link] (3 responses) You are linking to internal documentation containing a description of the behavior of one specific implementation, the one whose behavior is being questioned. That does not advance the discussion at all. Just like in your previous comment ("mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard"), it is invalid to justify some sort of behavior by the fact that this behavior exists. Disable HTTPS upgrade? Posted Mar 5, 2025 11:31 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (2 responses) You are linking to internal documentation containing a description of the behavior of one specific implementation, the one whose behavior is being questioned. That is very much public documentation, which one arrives at by following the link in the release notes. That does not advance the discussion at all. You are making up problems which are non-existent. That does not advance the discussion. Just like in your previous comment (""mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard""), it is invalid to justify some sort of behavior by the fact that this behavior exists. The user who enters an incomplete URI is at fault, basically, and FF just changed how it defaults (hence the name) the request. And that's what you get when you rely on side effects. Always enter complete URIs and there is no problem. Disable HTTPS upgrade? Posted Mar 5, 2025 15:20 UTC (Wed) by intelfx (subscriber, #130118) [Link] (1 responses) > The user who enters an incomplete URI is at fault I never said I did this, yet you somehow assumed a fact that makes me at fault. > You are making up problems which are non-existent Okay, so you apparently know better than me what problems I experienced. This is a subtype of a personal attack, and, again, not something that's called a "good faith discussion". This is a pattern (even in this message, but also with you in general), therefore I will not talk to you further. Have a good day. Disable HTTPS upgrade? Posted Mar 5, 2025 15:50 UTC (Wed) by PeeWee (subscriber, #175777) [Link] > The user who enters an incomplete URI is at fault I never said I did this, yet you somehow assumed a fact that makes me at fault. Why does everything have to be about you? Are you that narcissistic? I was (implicitly) referring to @Cyberax, or rather the problem they described above. > You are making up problems which are non-existent Okay, so you apparently know better than me what problems I experienced. No, I am referring to your assertion that somehow FF is doing something wrong here, which it does not. This is a subtype of a personal attack, and, again, not something that's called a "good faith discussion". I apologize if it came across that way, which was not my intention. Disable HTTPS upgrade? Posted Mar 5, 2025 10:55 UTC (Wed) by excors (subscriber, #95769) [Link] (3 responses) RFC9110 says: > Resources made available via the "https" scheme have no shared identity with the "http" scheme. They are distinct origins with separate namespaces. but then goes on to mention cookies as an example of features that undermine the strict distinction. Specifically RFC6265 says: > servers SHOULD NOT both run mutually distrusting services on different ports of the same host and use cookies to store security-sensitive information. because cookies are shared by all schemes and ports on the same host. So even if you stick to the hypothetical world described by RFCs and ignore practical concerns, you can't treat HTTP and HTTPS services on the same host as completely independent. Disable HTTPS upgrade? Posted Mar 5, 2025 11:02 UTC (Wed) by intelfx (subscriber, #130118) [Link] > RFC9110 says: > >> Resources made available via the "https" scheme have no shared identity with the "http" scheme. They are distinct origins with separate namespaces. > > but then goes on to mention cookies as an example of features that undermine the strict distinction. Specifically RFC6265 says: > >> servers SHOULD NOT both run mutually distrusting services on different ports of the same host and use cookies to store security-sensitive information. Sure, that's a restriction placed on the previous clause. Yet, "the exception proves the rule in cases not excepted". So it is, in fact, true that besides this mutual distrust caveat, RFCs declare http:// and https:// resources as separate namespaces. I take it as a pretty clear-cut confirmation that the standards agree with my interpretation. Disable HTTPS upgrade? Posted Mar 5, 2025 14:07 UTC (Wed) by ballombe (subscriber, #9523) [Link] (1 responses) > because cookies are shared by all schemes and ports on the same host. ... which independently of https is a major design bug since webservers on non-standard ports exist. Disable HTTPS upgrade? Posted Mar 5, 2025 15:19 UTC (Wed) by excors (subscriber, #95769) [Link] Yeah, modern web security is based on "origin" (basically a tuple of scheme, port and host) which is generally sensible, but cookies were invented long before that and can't be fixed because of backward compatibility requirements. If you want to properly isolate sites then they can't even be on different subdomains of the same domain - they must be completely different domains, up to a suffix listed in the Public Suffix List (.com, .co.uk, .github.io, etc). And definitely don't try to isolate them just by port. It's a bad design, but it is what it is. (Or as RFC6265 puts it: "For historical reasons, cookies contain a number of security and privacy infelicities.") Disable HTTPS upgrade? Posted Mar 6, 2025 1:29 UTC (Thu) by NYKevin (subscriber, #129325) [Link] This is the web, not some NIST-compliant government boondoggle. Everyone used to write charset='iso-8859-1' when they should have written charset='windows-1252'. You can tell people that they're wrong, but that won't fix the websites that already exist. Instead, WHATWG specifies the former as an alias for the latter, and both are now "correct." You should expect that common practices gradually ossify into standards - that is how the web has always worked. As for HTTPS in particular: * The HTTPS Everywhere extension has demonstrated that, in practice, many websites serve the same content on HTTPS as they do on HTTP, and you really can just replace http:// with https:// in a lot of URLs. * HSTS (RFC 6797) has established a precedent that web standards should go out of their way to support and enhance the case where HTTP redirects to HTTPS, even if this means overriding the user's explicit instruction to connect with HTTP. * The entire .dev gTLD is preloaded into HSTS. If you buy one of those domains, you cannot serve HTTP at all (at least, to any of the usual browsers), because the browser will rewrite all URLs to HTTPS. * All major browsers now display "Not secure" or similar warnings when visiting an HTTP site. * Chromium and Chromium-based browsers have been doing the whole "opportunistically upgrade HTTP to HTTPS" thing for select users (plus anyone who manually turns it on) since 2023.[1] Realistically, I think it's only a matter of time before WHATWG decides to write this behavior down and call it a "living standard." Disclaimer: I work for Google, but not on any web-related technology such as Chrome. Opinions are my own. [1]: https://blog.chromium.org/2023/08/towards-https-by-defaul... Disable HTTPS upgrade? Posted Mar 5, 2025 13:56 UTC (Wed) by ballombe (subscriber, #9523) [Link] (20 responses) Have you ever set up an apache web server ? One need to set up two completely independent vrtual hosts, one for 80 and one for 443. So unless you are careful, you will end up with different websites, and thanks to firefox, you will never notice since you will never actually reach the 80 one. At which point you are probably better off removing the one port 80. Disable HTTPS upgrade? Posted Mar 5, 2025 15:06 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (3 responses) [...] one for 80 and one for 443. So unless you are careful, you will end up with different websites, and thanks to firefox, you will never notice since you will never actually reach the 80 one. That's not thanks to FF but to the negligence of users who fail to enter complete URIs. It's also quite a stretch to assert that one has to be careful not to end up with different websites, since the default DocumentRoot is the same for both; plus, there is the include directive which makes such setups rather trivial. The opposite seems more likely: one has to be careful not to accidentally end up with the same website on both ports. But people will make up the silliest examples to find an excuse to bash FF, it seems. At which point are probably better off removing the one port 80. Unless there is a very good reason to provide unencrypted access one might as well not bother with setting up that one to begin with. Disable HTTPS upgrade? Posted Mar 5, 2025 15:21 UTC (Wed) by rschroev (subscriber, #4164) [Link] (2 responses) > "At which point are probably better off removing the one port 80." >> Unless there is a very good reason to provide unencrypted access one might as well not bother with setting up that one to begin with. On port 80 I always set up a redirect to port 443. Is that not the normal / expected thing to do? Disable HTTPS upgrade? Posted Mar 5, 2025 15:32 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (1 responses) OK, there's that, I totally forgot about it. But then you don't really have to bother with setting up anything beyond that on port 80. ;) Disable HTTPS upgrade? Posted Mar 6, 2025 13:19 UTC (Thu) by taladar (subscriber, #68407) [Link] And, more importantly, this change in the default to https first will eventually lead to a world where we finally won't need that http Port just to redirect any more. Disable HTTPS upgrade? Posted Mar 5, 2025 15:26 UTC (Wed) by nix (subscriber, #2304) [Link] You have to jump through significant numbers of extra hoops to end up with actual distinct websites: the default configuration (if you just uncomment the bits that turn SSL on at all), will give you the same site on both -- and if you do end up with different sites for HTTP and HTTPS, users on major browsers will *already* be confused, even before Firefox made this change. This is a giant nothingburger. Why are people complaining about an obvious security improvement with *multiple* trivial-to-enable opt-outs all highlighted in the release notes? Disable HTTPS upgrade? Posted Mar 5, 2025 17:19 UTC (Wed) by geert (subscriber, #98403) [Link] Only a few days ago I ran into a server that had its real website on port 80, and the default "Welcome to your new server" on port 443. Disable HTTPS upgrade? Posted Mar 6, 2025 0:17 UTC (Thu) by higuita (guest, #32245) [Link] (13 responses) That is the end goal, end the plain text HTTP, only encrypted HTTPS should exist. You even have now web servers that automatically manage the certificate Disable HTTPS upgrade? Posted Mar 6, 2025 7:47 UTC (Thu) by Wol (subscriber, #4433) [Link] (12 responses) Planned obsolescence ... Okay, I wouldn't want it outside a firewall, but how many old - eg printers - are there out there with an http web interface. We have two, both approaching ten years old ... Cheers, Wol Disable HTTPS upgrade? Posted Mar 6, 2025 8:40 UTC (Thu) by PeeWee (subscriber, #175777) [Link] (10 responses) This has nothing to do with planned obsolescence and it's quite ironic to point towards printers, which are the epitome (search for "printer") of that very practice. HTTP won't go anywhere since it is part of HTTPS, which simply uses TLS underneath, whereas HTTP relies on plain TCP directly. Disable HTTPS upgrade? Posted Mar 6, 2025 13:06 UTC (Thu) by ballombe (subscriber, #9523) [Link] (9 responses) Old webservers use old versions of TLS that are rejected by newer browsers for security reasons, thus they are not reachable by https anymore. Disable HTTPS upgrade? Posted Mar 6, 2025 23:38 UTC (Thu) by PeeWee (subscriber, #175777) [Link] (8 responses) Good riddance, I say to that. Who runs such ancient setups anyway? If they cannot be bothered to upgrade their servers, they cannot be trusted wholesale and thus TLS should rightly fail. Disable HTTPS upgrade? Posted Mar 7, 2025 19:47 UTC (Fri) by Cyberax (✭ supporter ✭, #52523) [Link] (7 responses) Plenty of older networking gear, for example. I have a UPS from 2008 that has a management interface with an obsolete TLS. Still perfectly usable and secure (if the management interface is on a separate VLAN). Disable HTTPS upgrade? Posted Mar 7, 2025 21:46 UTC (Fri) by PeeWee (subscriber, #175777) [Link] (6 responses) if the management interface is on a separate VLAN Which basically means TLS is pointless anyway. Try harder next time or just stop making up excuses for you unfounded ranting. Disable HTTPS upgrade? Posted Mar 7, 2025 21:48 UTC (Fri) by Cyberax (✭ supporter ✭, #52523) [Link] (5 responses) Your statement was: > Who runs such ancient setups anyway? I'm replying to it. There is plenty of old gear that has obsolete TLS, and has to use plain HTTP. Disable HTTPS upgrade? Posted Mar 7, 2025 22:06 UTC (Fri) by PeeWee (subscriber, #175777) [Link] (4 responses) And how does FF stop anyone from doing that? Enter a complete URI with explicit http: scheme and everything is just fine. Also the previous example was about ancient TLS, or rather SSL as it was called back then. Anything running SSL is obsolete by definition and one can just as well use plaintext HTTP, which may be the saner choice since it does not even pretend and thus won't provide a false sense of security. And now the weather: over at LWN there was a strom light breeze in a tea cup, caused by users of deprecated software blowing off steam while fighting over a giant nixnothingburger. And with that I wish you all a good night and an even better early spring weekend. ;) Disable HTTPS upgrade? Posted Mar 8, 2025 0:29 UTC (Sat) by Cyberax (✭ supporter ✭, #52523) [Link] (3 responses) > And how does FF stop anyone from doing that? By forcing HTTPS and sticking to it, even if you specify "http". Disable HTTPS upgrade? Posted Mar 8, 2025 1:02 UTC (Sat) by pizza (subscriber, #46) [Link] (2 responses) >> And how does FF stop anyone from doing that? >By forcing HTTPS and sticking to it, even if you specify "http". And then helpfully "remembering" your "choice". I fight with FF over this crap on average a couple of times a week. Disable HTTPS upgrade? Posted Mar 8, 2025 6:51 UTC (Sat) by PeeWee (subscriber, #175777) [Link] (1 responses) A poor craftsman blames his tools. Again: You open the history sidebar (Ctrl-H), or the history manager (Ctrl-Shift-H), find and select the offending site, right-click it and select Forget About This Site..., and afterwards you open it only once by explicitly specifying the http: scheme, FF will remember your choice and subsequently you can open it without it. If you guys would spend half as much time on actually trying to solve problems as you do on this pointless ranting, you may just end up with lower blood pressure and live longer and, most importantly, happier. It took me all of one minute to figure this out, once I understood what was happening. OK one and a half, two, tops; and only because I created a fresh profile to test the procedure - you are welcome BTW. And I have posted this further up already. If that does not fix the issue, report a bug, instead of polluting public forums with your foulmouthed ranting, which only serves to frustrate you and others while leaving Mozilla totally oblivious to the fact there might, just might, be an issue. It's a new feature after all, and I bet, you guys are the loud minority complaining about it while the vast majority welcomes it, me included. Or switch to a different browser if you hate FF that much. Or just do you, I don't care. But be prepared to be ridiculed, if you keep this up. With this all being said, ever so redundantly, we come to the weather report: still unchanged. Stop here Posted Mar 8, 2025 14:19 UTC (Sat) by corbet (editor, #1) [Link] OK, please, let's just bring an end to this thread, and to this style of discussion. We can do better. Disable HTTPS upgrade? Posted Mar 6, 2025 19:01 UTC (Thu) by NYKevin (subscriber, #129325) [Link] You can't really get rid of local (LAN) HTTP. Or at least, there is no reasonable way to do it. In order to serve HTTPS over a LAN, you need a globally routable domain that you can administer (from the LAN). Technically, you do not need to purchase a separate second-level domain for every consumer - it would be enough to buy one domain and give every consumer a separate subdomain, and then use split-horizon DNS so that each consumer only sees their own subdomain (Let's Encrypt and other CAs will happily give you a certificate if you can manipulate DNS records, even if you cannot serve HTTPS on the public web - I know this because I do it on my own LAN). But nobody wants to administer a solution that involves managing so many subdomains with trust delegated to consumers. You would need a separate API key for each instance of the product, a flow for recovering from an account lockout or device wipe, probably some fairly beefy DNS nameservers, and so on. To make things even worse, I can't see a way to avoid remote-bricking these devices when you're no longer interested in supporting them (your DNS nameservers go away, the devices can no longer renew their HTTPS certificates, they expire, the end). I'm not going to say this is impossible as a solution, but it is IMHO unreasonably complicated for such a straightforward premise, assuming you want to do it at scale as an OEM, and not just as a one-off hobbyist configuration for your own personal network. There are explicitly non-global domains, such as *.home.arpa and *.internal, and you can (legitimately) make up addresses under those domains and serve them using split-horizon (as well as funkier options, like mDNS for *.local), but there is as yet no consensus on how trust should work in that case. Who has the authority to assert these names, and issue certificates for them? It can't be the "regular" global CAs (they do not know which LAN the user is on, and therefore which example.internal is the "real" example.internal from that user's perspective), so they would need to be issued by some sort of local or per-LAN CA. But that just begs the question. IP has no trust hierarchy - when a packet leaves your device, it's up to the rest of the network to decide what to do with it. There is no IP-based procedure for identifying an "authority" for a particular network, nor even for proving that (e.g.) a given router has the de facto ability to route packets for a given network segment (DHCP and IPv6 NDP do not count, because they have no security, so anyone can impersonate the router if they feel like it). That functionality almost(!) exists in the context of BGP and IXPs, but nobody's home network is a whole AS, so it is rather useless for LANs, even if we leave aside the fact that it regularly fails to prevent random ISPs from accidentally turning each other off due to BGP misconfigurations. I've only heard of one general idea that seems like it has any chance of working, and it looks roughly like the following: 1. When you connect to a LAN, you scan some sort of QR code or similar thing. It might be permanently etched or printed on the surface of the router, or in some other non-removable place where the consumer can easily find it. 2. Whatever you scanned contains a trust token. If not already connected to the LAN, you are prompted to do so, and then you are prompted to accept the trust token. 3. Your device imports this trust token as a limited-scope root certificate, valid only for non-global TLDs like .internal. 4. Some CA on the network holds the private key corresponding to that certificate, and may issue domain certificates based on it. Your device will trust those domain certificates while it is connected to the network. Most likely, this CA is a service running inside the router. 5. When you disconnect from the network, your device must invalidate, delete, or otherwise distrust the root certificate. There are still quite a lot of obvious problems with this: * Many consumer devices have a habit of promiscuously connecting to any WLAN they see if the current WLAN appears to be down. This raises the possibility that the user thinks they are connected to network X when in fact they are connected to network Y, and Y is hostile and attempts to impersonate some of the services offered on X. The solution is to require that trust tokens may only become active by explicit user action (ideally, only by scanning a code, so that WLANs with the same SSID do not have their trust tokens confused). * We need to validate that the user connected to the correct network for a given trust token (or else an attacker could mislead the user into importing some attacker-controlled token instead, and then impersonate local network services). This can be done at import time, by checking that some standardized non-global domain (e.g. www.certificate-check.internal) is serving HTTPS with a certificate that would be valid if we accepted the trust token, but we would need to pick a single standard domain. * More generally, publicly-accessible WLANs raise a lot of complicated and thorny questions about what constitutes "the real" network and how we should protect the user from a "fake" network. Probably the easiest way to fix this is to avoid using non-global domains on such networks (if you're a giant company providing a WiFi hotspot for your consumers, you can afford to administer one real domain for your whole setup, and then you can just use conventional/global certificates and avoid all this faff entirely). * We really ought to explain to the user what they are doing when they scan one of these codes, and give them an opportunity to cancel, but it's hard to come up with a good wording that won't confuse non-technical folks *and* will convince them that they should refuse to connect if they do not trust the source of the code. * In turn, that raises the issue that consumers don't usually pay much attention to what network they are currently on. It may be unwise to assume that users can distinguish between example.internal (on Alice's network) and example.internal (on Bob's network) without some kind of specialized UI that has not yet been invented. By assumption, we cannot display any globally-meaningful identity information to help the user figure out which is which (any means of supplying and authenticating such information would necessarily be just as difficult as using a globally-routable domain in the first place). * You would still need a means for LAN devices such as printers to talk to the CA, establish mutual trust (presumably with user supervision/approval), and get themselves a local domain and certificate. The flow described above works great for phones, but most printers cannot scan a QR code. There are a variety of options here, but something would need to be standardized so we don't end up with fifty mutually-incompatible onboarding flows. Disable HTTPS upgrade? Posted Mar 5, 2025 9:03 UTC (Wed) by rbtree (guest, #129790) [Link] It's not a misfeature for me. More and more HTTPS enforcement has been one of the best things for censorship circumvention/prevention that has happened in the last decade. Because of this, our government couldn't intercept plain HTTP anymore and was forced to issue a "safety certificate" (you may have heard of it) that you were "encouraged" to install on all your machines. It was quickly blacklisted by all browser vendors. One of the very few times in my life when I felt like someone big was finally standing up for the little guy (even if it wasn't really the case). DNS-over-HTTPS falls into the same category. Disable HTTPS upgrade? Posted Mar 5, 2025 9:05 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (2 responses) Why do you even call it a misfeature? It is simply a change in default behaviour. It used to be that, if not explicitly specified, FF would use HTTP. Extensions such as HTTPS Everywhere are proof that there is/was a desire to change that. FF has supported HTTPS-Only for quite some time now and this is just the softer version of it. I am really rather happy about this very much in demand feature and getting rid of some inconveniences one has to put with when using HTTPS-Only, which requires manual setup of exceptions, if the destination host does not support HTTPS. And @Cyberax seems to be in the habit of blaming anything but his own (mis)configurations, if his rants about systemd are anything to go by. If an explicit http:// doesn't fix it and HTTPS-Only is not active then this may well be just a bug, as in teething problem. People should really stop blowing things out of proportion. Also this may still turn out as PEBCAK. Disable HTTPS upgrade? Posted Mar 9, 2025 14:00 UTC (Sun) by Duncan (guest, #6647) [Link] (1 responses) > FF has supported HTTPS-Only for quite some time now and this is just the softer version of it. Thanks. I wish the ff what's new and all the articles covering it had been that explicit. I've been low-key confused since I enabled HTTPS-Only when it came out (and had HTTPS-Everywhere before that), and this seemed to be the same thing. Better security by default's good, but now I've confirmed what I suspected, that this change doesn't apply to me since I'd already effectively opted into it. Again, I wish the ff what's new had specifically explained that. Disable HTTPS upgrade? Posted Mar 9, 2025 15:53 UTC (Sun) by mathstuf (subscriber, #69389) [Link] Well, I think we've seen that Mozilla's communication department is definitely lacking in the "tact" department these past weeks. I wonder if enough folks have been influenced by the vapid "bug fixes and performance improvements" update notes to see even what we get as "more effort than seems necessary" for release notes. I think the only way to push back on that is to use that as the complete commit message (maybe with an empty "What's new:" list introducer) when contributing to repos run by these companies and point to "seems good enough for you" when push back happens.
Posted Mar 5, 2025 8:50 UTC (Wed) by taladar (subscriber, #68407) [Link] (37 responses)
Disable HTTPS upgrade? Posted Mar 5, 2025 8:54 UTC (Wed) by intelfx (subscriber, #130118) [Link] (15 responses) That's a false dichotomy and a strawman. This particular instance of the misfeature does not make anything less secure. Let's, instead, rephrase it this way: why should someone's desire to have some $feature in a completely unrelated context break a completely valid, legal and standards-compliant configuration? Disable HTTPS upgrade? Posted Mar 5, 2025 8:58 UTC (Wed) by intelfx (subscriber, #130118) [Link] Sorry, s/less secure/more secure/. Disable HTTPS upgrade? Posted Mar 5, 2025 9:22 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (13 responses) why should someone's desire to have some $feature in a completely unrelated context break a completely valid, legal and standards-compliant configuration? (emphasis added) Who says that it is? I am half suspecting that it just happened to work because of implicit reliance on side effects, i.e. no-one ever tried to connect via HTTPS before. Disable HTTPS upgrade? Posted Mar 5, 2025 9:41 UTC (Wed) by intelfx (subscriber, #130118) [Link] (12 responses) > Who says that it is? Because existence and nature of HTTP services on port 80 on a particular host is not supposed to mean or convey anything about existence and nature of HTTPS services on port 443 on the same IP address. If you want to prove me wrong, please quote an RFC. Disable HTTPS upgrade? Posted Mar 5, 2025 10:41 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (6 responses) It's implicit in the definition of HTTPS, which is just HTTP over TLS. And the mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard. Also the problem @Cyberax describes looks like it can be fixed by proper authentication certificates for all the host names or a wildcard for the lower level domain. Disable HTTPS upgrade? Posted Mar 5, 2025 10:46 UTC (Wed) by intelfx (subscriber, #130118) [Link] (5 responses) So, it's not actually a thing. Thanks. Disable HTTPS upgrade? Posted Mar 5, 2025 10:56 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (4 responses) You may also want to checkout @csamuel's reply and the knowledge base article he linked to. If that method does not work, it's a bug which should be reported, simple as that. Alas, this is yet another storm in a tea cup, imagined by people whose go-to response is ranting about some vendors they chose to hate, yet they still use their product. So the problem is in fact not a thing. Thank you. Disable HTTPS upgrade? Posted Mar 5, 2025 11:07 UTC (Wed) by intelfx (subscriber, #130118) [Link] (3 responses) You are linking to internal documentation containing a description of the behavior of one specific implementation, the one whose behavior is being questioned. That does not advance the discussion at all. Just like in your previous comment ("mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard"), it is invalid to justify some sort of behavior by the fact that this behavior exists. Disable HTTPS upgrade? Posted Mar 5, 2025 11:31 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (2 responses) You are linking to internal documentation containing a description of the behavior of one specific implementation, the one whose behavior is being questioned. That is very much public documentation, which one arrives at by following the link in the release notes. That does not advance the discussion at all. You are making up problems which are non-existent. That does not advance the discussion. Just like in your previous comment (""mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard""), it is invalid to justify some sort of behavior by the fact that this behavior exists. The user who enters an incomplete URI is at fault, basically, and FF just changed how it defaults (hence the name) the request. And that's what you get when you rely on side effects. Always enter complete URIs and there is no problem. Disable HTTPS upgrade? Posted Mar 5, 2025 15:20 UTC (Wed) by intelfx (subscriber, #130118) [Link] (1 responses) > The user who enters an incomplete URI is at fault I never said I did this, yet you somehow assumed a fact that makes me at fault. > You are making up problems which are non-existent Okay, so you apparently know better than me what problems I experienced. This is a subtype of a personal attack, and, again, not something that's called a "good faith discussion". This is a pattern (even in this message, but also with you in general), therefore I will not talk to you further. Have a good day. Disable HTTPS upgrade? Posted Mar 5, 2025 15:50 UTC (Wed) by PeeWee (subscriber, #175777) [Link] > The user who enters an incomplete URI is at fault I never said I did this, yet you somehow assumed a fact that makes me at fault. Why does everything have to be about you? Are you that narcissistic? I was (implicitly) referring to @Cyberax, or rather the problem they described above. > You are making up problems which are non-existent Okay, so you apparently know better than me what problems I experienced. No, I am referring to your assertion that somehow FF is doing something wrong here, which it does not. This is a subtype of a personal attack, and, again, not something that's called a "good faith discussion". I apologize if it came across that way, which was not my intention. Disable HTTPS upgrade? Posted Mar 5, 2025 10:55 UTC (Wed) by excors (subscriber, #95769) [Link] (3 responses) RFC9110 says: > Resources made available via the "https" scheme have no shared identity with the "http" scheme. They are distinct origins with separate namespaces. but then goes on to mention cookies as an example of features that undermine the strict distinction. Specifically RFC6265 says: > servers SHOULD NOT both run mutually distrusting services on different ports of the same host and use cookies to store security-sensitive information. because cookies are shared by all schemes and ports on the same host. So even if you stick to the hypothetical world described by RFCs and ignore practical concerns, you can't treat HTTP and HTTPS services on the same host as completely independent. Disable HTTPS upgrade? Posted Mar 5, 2025 11:02 UTC (Wed) by intelfx (subscriber, #130118) [Link] > RFC9110 says: > >> Resources made available via the "https" scheme have no shared identity with the "http" scheme. They are distinct origins with separate namespaces. > > but then goes on to mention cookies as an example of features that undermine the strict distinction. Specifically RFC6265 says: > >> servers SHOULD NOT both run mutually distrusting services on different ports of the same host and use cookies to store security-sensitive information. Sure, that's a restriction placed on the previous clause. Yet, "the exception proves the rule in cases not excepted". So it is, in fact, true that besides this mutual distrust caveat, RFCs declare http:// and https:// resources as separate namespaces. I take it as a pretty clear-cut confirmation that the standards agree with my interpretation. Disable HTTPS upgrade? Posted Mar 5, 2025 14:07 UTC (Wed) by ballombe (subscriber, #9523) [Link] (1 responses) > because cookies are shared by all schemes and ports on the same host. ... which independently of https is a major design bug since webservers on non-standard ports exist. Disable HTTPS upgrade? Posted Mar 5, 2025 15:19 UTC (Wed) by excors (subscriber, #95769) [Link] Yeah, modern web security is based on "origin" (basically a tuple of scheme, port and host) which is generally sensible, but cookies were invented long before that and can't be fixed because of backward compatibility requirements. If you want to properly isolate sites then they can't even be on different subdomains of the same domain - they must be completely different domains, up to a suffix listed in the Public Suffix List (.com, .co.uk, .github.io, etc). And definitely don't try to isolate them just by port. It's a bad design, but it is what it is. (Or as RFC6265 puts it: "For historical reasons, cookies contain a number of security and privacy infelicities.") Disable HTTPS upgrade? Posted Mar 6, 2025 1:29 UTC (Thu) by NYKevin (subscriber, #129325) [Link] This is the web, not some NIST-compliant government boondoggle. Everyone used to write charset='iso-8859-1' when they should have written charset='windows-1252'. You can tell people that they're wrong, but that won't fix the websites that already exist. Instead, WHATWG specifies the former as an alias for the latter, and both are now "correct." You should expect that common practices gradually ossify into standards - that is how the web has always worked. As for HTTPS in particular: * The HTTPS Everywhere extension has demonstrated that, in practice, many websites serve the same content on HTTPS as they do on HTTP, and you really can just replace http:// with https:// in a lot of URLs. * HSTS (RFC 6797) has established a precedent that web standards should go out of their way to support and enhance the case where HTTP redirects to HTTPS, even if this means overriding the user's explicit instruction to connect with HTTP. * The entire .dev gTLD is preloaded into HSTS. If you buy one of those domains, you cannot serve HTTP at all (at least, to any of the usual browsers), because the browser will rewrite all URLs to HTTPS. * All major browsers now display "Not secure" or similar warnings when visiting an HTTP site. * Chromium and Chromium-based browsers have been doing the whole "opportunistically upgrade HTTP to HTTPS" thing for select users (plus anyone who manually turns it on) since 2023.[1] Realistically, I think it's only a matter of time before WHATWG decides to write this behavior down and call it a "living standard." Disclaimer: I work for Google, but not on any web-related technology such as Chrome. Opinions are my own. [1]: https://blog.chromium.org/2023/08/towards-https-by-defaul... Disable HTTPS upgrade? Posted Mar 5, 2025 13:56 UTC (Wed) by ballombe (subscriber, #9523) [Link] (20 responses) Have you ever set up an apache web server ? One need to set up two completely independent vrtual hosts, one for 80 and one for 443. So unless you are careful, you will end up with different websites, and thanks to firefox, you will never notice since you will never actually reach the 80 one. At which point you are probably better off removing the one port 80. Disable HTTPS upgrade? Posted Mar 5, 2025 15:06 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (3 responses) [...] one for 80 and one for 443. So unless you are careful, you will end up with different websites, and thanks to firefox, you will never notice since you will never actually reach the 80 one. That's not thanks to FF but to the negligence of users who fail to enter complete URIs. It's also quite a stretch to assert that one has to be careful not to end up with different websites, since the default DocumentRoot is the same for both; plus, there is the include directive which makes such setups rather trivial. The opposite seems more likely: one has to be careful not to accidentally end up with the same website on both ports. But people will make up the silliest examples to find an excuse to bash FF, it seems. At which point are probably better off removing the one port 80. Unless there is a very good reason to provide unencrypted access one might as well not bother with setting up that one to begin with. Disable HTTPS upgrade? Posted Mar 5, 2025 15:21 UTC (Wed) by rschroev (subscriber, #4164) [Link] (2 responses) > "At which point are probably better off removing the one port 80." >> Unless there is a very good reason to provide unencrypted access one might as well not bother with setting up that one to begin with. On port 80 I always set up a redirect to port 443. Is that not the normal / expected thing to do? Disable HTTPS upgrade? Posted Mar 5, 2025 15:32 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (1 responses) OK, there's that, I totally forgot about it. But then you don't really have to bother with setting up anything beyond that on port 80. ;) Disable HTTPS upgrade? Posted Mar 6, 2025 13:19 UTC (Thu) by taladar (subscriber, #68407) [Link] And, more importantly, this change in the default to https first will eventually lead to a world where we finally won't need that http Port just to redirect any more. Disable HTTPS upgrade? Posted Mar 5, 2025 15:26 UTC (Wed) by nix (subscriber, #2304) [Link] You have to jump through significant numbers of extra hoops to end up with actual distinct websites: the default configuration (if you just uncomment the bits that turn SSL on at all), will give you the same site on both -- and if you do end up with different sites for HTTP and HTTPS, users on major browsers will *already* be confused, even before Firefox made this change. This is a giant nothingburger. Why are people complaining about an obvious security improvement with *multiple* trivial-to-enable opt-outs all highlighted in the release notes? Disable HTTPS upgrade? Posted Mar 5, 2025 17:19 UTC (Wed) by geert (subscriber, #98403) [Link] Only a few days ago I ran into a server that had its real website on port 80, and the default "Welcome to your new server" on port 443. Disable HTTPS upgrade? Posted Mar 6, 2025 0:17 UTC (Thu) by higuita (guest, #32245) [Link] (13 responses) That is the end goal, end the plain text HTTP, only encrypted HTTPS should exist. You even have now web servers that automatically manage the certificate Disable HTTPS upgrade? Posted Mar 6, 2025 7:47 UTC (Thu) by Wol (subscriber, #4433) [Link] (12 responses) Planned obsolescence ... Okay, I wouldn't want it outside a firewall, but how many old - eg printers - are there out there with an http web interface. We have two, both approaching ten years old ... Cheers, Wol Disable HTTPS upgrade? Posted Mar 6, 2025 8:40 UTC (Thu) by PeeWee (subscriber, #175777) [Link] (10 responses) This has nothing to do with planned obsolescence and it's quite ironic to point towards printers, which are the epitome (search for "printer") of that very practice. HTTP won't go anywhere since it is part of HTTPS, which simply uses TLS underneath, whereas HTTP relies on plain TCP directly. Disable HTTPS upgrade? Posted Mar 6, 2025 13:06 UTC (Thu) by ballombe (subscriber, #9523) [Link] (9 responses) Old webservers use old versions of TLS that are rejected by newer browsers for security reasons, thus they are not reachable by https anymore. Disable HTTPS upgrade? Posted Mar 6, 2025 23:38 UTC (Thu) by PeeWee (subscriber, #175777) [Link] (8 responses) Good riddance, I say to that. Who runs such ancient setups anyway? If they cannot be bothered to upgrade their servers, they cannot be trusted wholesale and thus TLS should rightly fail. Disable HTTPS upgrade? Posted Mar 7, 2025 19:47 UTC (Fri) by Cyberax (✭ supporter ✭, #52523) [Link] (7 responses) Plenty of older networking gear, for example. I have a UPS from 2008 that has a management interface with an obsolete TLS. Still perfectly usable and secure (if the management interface is on a separate VLAN). Disable HTTPS upgrade? Posted Mar 7, 2025 21:46 UTC (Fri) by PeeWee (subscriber, #175777) [Link] (6 responses) if the management interface is on a separate VLAN Which basically means TLS is pointless anyway. Try harder next time or just stop making up excuses for you unfounded ranting. Disable HTTPS upgrade? Posted Mar 7, 2025 21:48 UTC (Fri) by Cyberax (✭ supporter ✭, #52523) [Link] (5 responses) Your statement was: > Who runs such ancient setups anyway? I'm replying to it. There is plenty of old gear that has obsolete TLS, and has to use plain HTTP. Disable HTTPS upgrade? Posted Mar 7, 2025 22:06 UTC (Fri) by PeeWee (subscriber, #175777) [Link] (4 responses) And how does FF stop anyone from doing that? Enter a complete URI with explicit http: scheme and everything is just fine. Also the previous example was about ancient TLS, or rather SSL as it was called back then. Anything running SSL is obsolete by definition and one can just as well use plaintext HTTP, which may be the saner choice since it does not even pretend and thus won't provide a false sense of security. And now the weather: over at LWN there was a strom light breeze in a tea cup, caused by users of deprecated software blowing off steam while fighting over a giant nixnothingburger. And with that I wish you all a good night and an even better early spring weekend. ;) Disable HTTPS upgrade? Posted Mar 8, 2025 0:29 UTC (Sat) by Cyberax (✭ supporter ✭, #52523) [Link] (3 responses) > And how does FF stop anyone from doing that? By forcing HTTPS and sticking to it, even if you specify "http". Disable HTTPS upgrade? Posted Mar 8, 2025 1:02 UTC (Sat) by pizza (subscriber, #46) [Link] (2 responses) >> And how does FF stop anyone from doing that? >By forcing HTTPS and sticking to it, even if you specify "http". And then helpfully "remembering" your "choice". I fight with FF over this crap on average a couple of times a week. Disable HTTPS upgrade? Posted Mar 8, 2025 6:51 UTC (Sat) by PeeWee (subscriber, #175777) [Link] (1 responses) A poor craftsman blames his tools. Again: You open the history sidebar (Ctrl-H), or the history manager (Ctrl-Shift-H), find and select the offending site, right-click it and select Forget About This Site..., and afterwards you open it only once by explicitly specifying the http: scheme, FF will remember your choice and subsequently you can open it without it. If you guys would spend half as much time on actually trying to solve problems as you do on this pointless ranting, you may just end up with lower blood pressure and live longer and, most importantly, happier. It took me all of one minute to figure this out, once I understood what was happening. OK one and a half, two, tops; and only because I created a fresh profile to test the procedure - you are welcome BTW. And I have posted this further up already. If that does not fix the issue, report a bug, instead of polluting public forums with your foulmouthed ranting, which only serves to frustrate you and others while leaving Mozilla totally oblivious to the fact there might, just might, be an issue. It's a new feature after all, and I bet, you guys are the loud minority complaining about it while the vast majority welcomes it, me included. Or switch to a different browser if you hate FF that much. Or just do you, I don't care. But be prepared to be ridiculed, if you keep this up. With this all being said, ever so redundantly, we come to the weather report: still unchanged. Stop here Posted Mar 8, 2025 14:19 UTC (Sat) by corbet (editor, #1) [Link] OK, please, let's just bring an end to this thread, and to this style of discussion. We can do better. Disable HTTPS upgrade? Posted Mar 6, 2025 19:01 UTC (Thu) by NYKevin (subscriber, #129325) [Link] You can't really get rid of local (LAN) HTTP. Or at least, there is no reasonable way to do it. In order to serve HTTPS over a LAN, you need a globally routable domain that you can administer (from the LAN). Technically, you do not need to purchase a separate second-level domain for every consumer - it would be enough to buy one domain and give every consumer a separate subdomain, and then use split-horizon DNS so that each consumer only sees their own subdomain (Let's Encrypt and other CAs will happily give you a certificate if you can manipulate DNS records, even if you cannot serve HTTPS on the public web - I know this because I do it on my own LAN). But nobody wants to administer a solution that involves managing so many subdomains with trust delegated to consumers. You would need a separate API key for each instance of the product, a flow for recovering from an account lockout or device wipe, probably some fairly beefy DNS nameservers, and so on. To make things even worse, I can't see a way to avoid remote-bricking these devices when you're no longer interested in supporting them (your DNS nameservers go away, the devices can no longer renew their HTTPS certificates, they expire, the end). I'm not going to say this is impossible as a solution, but it is IMHO unreasonably complicated for such a straightforward premise, assuming you want to do it at scale as an OEM, and not just as a one-off hobbyist configuration for your own personal network. There are explicitly non-global domains, such as *.home.arpa and *.internal, and you can (legitimately) make up addresses under those domains and serve them using split-horizon (as well as funkier options, like mDNS for *.local), but there is as yet no consensus on how trust should work in that case. Who has the authority to assert these names, and issue certificates for them? It can't be the "regular" global CAs (they do not know which LAN the user is on, and therefore which example.internal is the "real" example.internal from that user's perspective), so they would need to be issued by some sort of local or per-LAN CA. But that just begs the question. IP has no trust hierarchy - when a packet leaves your device, it's up to the rest of the network to decide what to do with it. There is no IP-based procedure for identifying an "authority" for a particular network, nor even for proving that (e.g.) a given router has the de facto ability to route packets for a given network segment (DHCP and IPv6 NDP do not count, because they have no security, so anyone can impersonate the router if they feel like it). That functionality almost(!) exists in the context of BGP and IXPs, but nobody's home network is a whole AS, so it is rather useless for LANs, even if we leave aside the fact that it regularly fails to prevent random ISPs from accidentally turning each other off due to BGP misconfigurations. I've only heard of one general idea that seems like it has any chance of working, and it looks roughly like the following: 1. When you connect to a LAN, you scan some sort of QR code or similar thing. It might be permanently etched or printed on the surface of the router, or in some other non-removable place where the consumer can easily find it. 2. Whatever you scanned contains a trust token. If not already connected to the LAN, you are prompted to do so, and then you are prompted to accept the trust token. 3. Your device imports this trust token as a limited-scope root certificate, valid only for non-global TLDs like .internal. 4. Some CA on the network holds the private key corresponding to that certificate, and may issue domain certificates based on it. Your device will trust those domain certificates while it is connected to the network. Most likely, this CA is a service running inside the router. 5. When you disconnect from the network, your device must invalidate, delete, or otherwise distrust the root certificate. There are still quite a lot of obvious problems with this: * Many consumer devices have a habit of promiscuously connecting to any WLAN they see if the current WLAN appears to be down. This raises the possibility that the user thinks they are connected to network X when in fact they are connected to network Y, and Y is hostile and attempts to impersonate some of the services offered on X. The solution is to require that trust tokens may only become active by explicit user action (ideally, only by scanning a code, so that WLANs with the same SSID do not have their trust tokens confused). * We need to validate that the user connected to the correct network for a given trust token (or else an attacker could mislead the user into importing some attacker-controlled token instead, and then impersonate local network services). This can be done at import time, by checking that some standardized non-global domain (e.g. www.certificate-check.internal) is serving HTTPS with a certificate that would be valid if we accepted the trust token, but we would need to pick a single standard domain. * More generally, publicly-accessible WLANs raise a lot of complicated and thorny questions about what constitutes "the real" network and how we should protect the user from a "fake" network. Probably the easiest way to fix this is to avoid using non-global domains on such networks (if you're a giant company providing a WiFi hotspot for your consumers, you can afford to administer one real domain for your whole setup, and then you can just use conventional/global certificates and avoid all this faff entirely). * We really ought to explain to the user what they are doing when they scan one of these codes, and give them an opportunity to cancel, but it's hard to come up with a good wording that won't confuse non-technical folks *and* will convince them that they should refuse to connect if they do not trust the source of the code. * In turn, that raises the issue that consumers don't usually pay much attention to what network they are currently on. It may be unwise to assume that users can distinguish between example.internal (on Alice's network) and example.internal (on Bob's network) without some kind of specialized UI that has not yet been invented. By assumption, we cannot display any globally-meaningful identity information to help the user figure out which is which (any means of supplying and authenticating such information would necessarily be just as difficult as using a globally-routable domain in the first place). * You would still need a means for LAN devices such as printers to talk to the CA, establish mutual trust (presumably with user supervision/approval), and get themselves a local domain and certificate. The flow described above works great for phones, but most printers cannot scan a QR code. There are a variety of options here, but something would need to be standardized so we don't end up with fifty mutually-incompatible onboarding flows.
Posted Mar 5, 2025 8:54 UTC (Wed) by intelfx (subscriber, #130118) [Link] (15 responses)
Let's, instead, rephrase it this way: why should someone's desire to have some $feature in a completely unrelated context break a completely valid, legal and standards-compliant configuration?
Disable HTTPS upgrade? Posted Mar 5, 2025 8:58 UTC (Wed) by intelfx (subscriber, #130118) [Link] Sorry, s/less secure/more secure/. Disable HTTPS upgrade? Posted Mar 5, 2025 9:22 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (13 responses) why should someone's desire to have some $feature in a completely unrelated context break a completely valid, legal and standards-compliant configuration? (emphasis added) Who says that it is? I am half suspecting that it just happened to work because of implicit reliance on side effects, i.e. no-one ever tried to connect via HTTPS before. Disable HTTPS upgrade? Posted Mar 5, 2025 9:41 UTC (Wed) by intelfx (subscriber, #130118) [Link] (12 responses) > Who says that it is? Because existence and nature of HTTP services on port 80 on a particular host is not supposed to mean or convey anything about existence and nature of HTTPS services on port 443 on the same IP address. If you want to prove me wrong, please quote an RFC. Disable HTTPS upgrade? Posted Mar 5, 2025 10:41 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (6 responses) It's implicit in the definition of HTTPS, which is just HTTP over TLS. And the mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard. Also the problem @Cyberax describes looks like it can be fixed by proper authentication certificates for all the host names or a wildcard for the lower level domain. Disable HTTPS upgrade? Posted Mar 5, 2025 10:46 UTC (Wed) by intelfx (subscriber, #130118) [Link] (5 responses) So, it's not actually a thing. Thanks. Disable HTTPS upgrade? Posted Mar 5, 2025 10:56 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (4 responses) You may also want to checkout @csamuel's reply and the knowledge base article he linked to. If that method does not work, it's a bug which should be reported, simple as that. Alas, this is yet another storm in a tea cup, imagined by people whose go-to response is ranting about some vendors they chose to hate, yet they still use their product. So the problem is in fact not a thing. Thank you. Disable HTTPS upgrade? Posted Mar 5, 2025 11:07 UTC (Wed) by intelfx (subscriber, #130118) [Link] (3 responses) You are linking to internal documentation containing a description of the behavior of one specific implementation, the one whose behavior is being questioned. That does not advance the discussion at all. Just like in your previous comment ("mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard"), it is invalid to justify some sort of behavior by the fact that this behavior exists. Disable HTTPS upgrade? Posted Mar 5, 2025 11:31 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (2 responses) You are linking to internal documentation containing a description of the behavior of one specific implementation, the one whose behavior is being questioned. That is very much public documentation, which one arrives at by following the link in the release notes. That does not advance the discussion at all. You are making up problems which are non-existent. That does not advance the discussion. Just like in your previous comment (""mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard""), it is invalid to justify some sort of behavior by the fact that this behavior exists. The user who enters an incomplete URI is at fault, basically, and FF just changed how it defaults (hence the name) the request. And that's what you get when you rely on side effects. Always enter complete URIs and there is no problem. Disable HTTPS upgrade? Posted Mar 5, 2025 15:20 UTC (Wed) by intelfx (subscriber, #130118) [Link] (1 responses) > The user who enters an incomplete URI is at fault I never said I did this, yet you somehow assumed a fact that makes me at fault. > You are making up problems which are non-existent Okay, so you apparently know better than me what problems I experienced. This is a subtype of a personal attack, and, again, not something that's called a "good faith discussion". This is a pattern (even in this message, but also with you in general), therefore I will not talk to you further. Have a good day. Disable HTTPS upgrade? Posted Mar 5, 2025 15:50 UTC (Wed) by PeeWee (subscriber, #175777) [Link] > The user who enters an incomplete URI is at fault I never said I did this, yet you somehow assumed a fact that makes me at fault. Why does everything have to be about you? Are you that narcissistic? I was (implicitly) referring to @Cyberax, or rather the problem they described above. > You are making up problems which are non-existent Okay, so you apparently know better than me what problems I experienced. No, I am referring to your assertion that somehow FF is doing something wrong here, which it does not. This is a subtype of a personal attack, and, again, not something that's called a "good faith discussion". I apologize if it came across that way, which was not my intention. Disable HTTPS upgrade? Posted Mar 5, 2025 10:55 UTC (Wed) by excors (subscriber, #95769) [Link] (3 responses) RFC9110 says: > Resources made available via the "https" scheme have no shared identity with the "http" scheme. They are distinct origins with separate namespaces. but then goes on to mention cookies as an example of features that undermine the strict distinction. Specifically RFC6265 says: > servers SHOULD NOT both run mutually distrusting services on different ports of the same host and use cookies to store security-sensitive information. because cookies are shared by all schemes and ports on the same host. So even if you stick to the hypothetical world described by RFCs and ignore practical concerns, you can't treat HTTP and HTTPS services on the same host as completely independent. Disable HTTPS upgrade? Posted Mar 5, 2025 11:02 UTC (Wed) by intelfx (subscriber, #130118) [Link] > RFC9110 says: > >> Resources made available via the "https" scheme have no shared identity with the "http" scheme. They are distinct origins with separate namespaces. > > but then goes on to mention cookies as an example of features that undermine the strict distinction. Specifically RFC6265 says: > >> servers SHOULD NOT both run mutually distrusting services on different ports of the same host and use cookies to store security-sensitive information. Sure, that's a restriction placed on the previous clause. Yet, "the exception proves the rule in cases not excepted". So it is, in fact, true that besides this mutual distrust caveat, RFCs declare http:// and https:// resources as separate namespaces. I take it as a pretty clear-cut confirmation that the standards agree with my interpretation. Disable HTTPS upgrade? Posted Mar 5, 2025 14:07 UTC (Wed) by ballombe (subscriber, #9523) [Link] (1 responses) > because cookies are shared by all schemes and ports on the same host. ... which independently of https is a major design bug since webservers on non-standard ports exist. Disable HTTPS upgrade? Posted Mar 5, 2025 15:19 UTC (Wed) by excors (subscriber, #95769) [Link] Yeah, modern web security is based on "origin" (basically a tuple of scheme, port and host) which is generally sensible, but cookies were invented long before that and can't be fixed because of backward compatibility requirements. If you want to properly isolate sites then they can't even be on different subdomains of the same domain - they must be completely different domains, up to a suffix listed in the Public Suffix List (.com, .co.uk, .github.io, etc). And definitely don't try to isolate them just by port. It's a bad design, but it is what it is. (Or as RFC6265 puts it: "For historical reasons, cookies contain a number of security and privacy infelicities.") Disable HTTPS upgrade? Posted Mar 6, 2025 1:29 UTC (Thu) by NYKevin (subscriber, #129325) [Link] This is the web, not some NIST-compliant government boondoggle. Everyone used to write charset='iso-8859-1' when they should have written charset='windows-1252'. You can tell people that they're wrong, but that won't fix the websites that already exist. Instead, WHATWG specifies the former as an alias for the latter, and both are now "correct." You should expect that common practices gradually ossify into standards - that is how the web has always worked. As for HTTPS in particular: * The HTTPS Everywhere extension has demonstrated that, in practice, many websites serve the same content on HTTPS as they do on HTTP, and you really can just replace http:// with https:// in a lot of URLs. * HSTS (RFC 6797) has established a precedent that web standards should go out of their way to support and enhance the case where HTTP redirects to HTTPS, even if this means overriding the user's explicit instruction to connect with HTTP. * The entire .dev gTLD is preloaded into HSTS. If you buy one of those domains, you cannot serve HTTP at all (at least, to any of the usual browsers), because the browser will rewrite all URLs to HTTPS. * All major browsers now display "Not secure" or similar warnings when visiting an HTTP site. * Chromium and Chromium-based browsers have been doing the whole "opportunistically upgrade HTTP to HTTPS" thing for select users (plus anyone who manually turns it on) since 2023.[1] Realistically, I think it's only a matter of time before WHATWG decides to write this behavior down and call it a "living standard." Disclaimer: I work for Google, but not on any web-related technology such as Chrome. Opinions are my own. [1]: https://blog.chromium.org/2023/08/towards-https-by-defaul...
Posted Mar 5, 2025 8:58 UTC (Wed) by intelfx (subscriber, #130118) [Link]
Posted Mar 5, 2025 9:22 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (13 responses)
why should someone's desire to have some $feature in a completely unrelated context break a completely valid, legal and standards-compliant configuration?
Who says that it is? I am half suspecting that it just happened to work because of implicit reliance on side effects, i.e. no-one ever tried to connect via HTTPS before.
Disable HTTPS upgrade? Posted Mar 5, 2025 9:41 UTC (Wed) by intelfx (subscriber, #130118) [Link] (12 responses) > Who says that it is? Because existence and nature of HTTP services on port 80 on a particular host is not supposed to mean or convey anything about existence and nature of HTTPS services on port 443 on the same IP address. If you want to prove me wrong, please quote an RFC. Disable HTTPS upgrade? Posted Mar 5, 2025 10:41 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (6 responses) It's implicit in the definition of HTTPS, which is just HTTP over TLS. And the mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard. Also the problem @Cyberax describes looks like it can be fixed by proper authentication certificates for all the host names or a wildcard for the lower level domain. Disable HTTPS upgrade? Posted Mar 5, 2025 10:46 UTC (Wed) by intelfx (subscriber, #130118) [Link] (5 responses) So, it's not actually a thing. Thanks. Disable HTTPS upgrade? Posted Mar 5, 2025 10:56 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (4 responses) You may also want to checkout @csamuel's reply and the knowledge base article he linked to. If that method does not work, it's a bug which should be reported, simple as that. Alas, this is yet another storm in a tea cup, imagined by people whose go-to response is ranting about some vendors they chose to hate, yet they still use their product. So the problem is in fact not a thing. Thank you. Disable HTTPS upgrade? Posted Mar 5, 2025 11:07 UTC (Wed) by intelfx (subscriber, #130118) [Link] (3 responses) You are linking to internal documentation containing a description of the behavior of one specific implementation, the one whose behavior is being questioned. That does not advance the discussion at all. Just like in your previous comment ("mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard"), it is invalid to justify some sort of behavior by the fact that this behavior exists. Disable HTTPS upgrade? Posted Mar 5, 2025 11:31 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (2 responses) You are linking to internal documentation containing a description of the behavior of one specific implementation, the one whose behavior is being questioned. That is very much public documentation, which one arrives at by following the link in the release notes. That does not advance the discussion at all. You are making up problems which are non-existent. That does not advance the discussion. Just like in your previous comment (""mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard""), it is invalid to justify some sort of behavior by the fact that this behavior exists. The user who enters an incomplete URI is at fault, basically, and FF just changed how it defaults (hence the name) the request. And that's what you get when you rely on side effects. Always enter complete URIs and there is no problem. Disable HTTPS upgrade? Posted Mar 5, 2025 15:20 UTC (Wed) by intelfx (subscriber, #130118) [Link] (1 responses) > The user who enters an incomplete URI is at fault I never said I did this, yet you somehow assumed a fact that makes me at fault. > You are making up problems which are non-existent Okay, so you apparently know better than me what problems I experienced. This is a subtype of a personal attack, and, again, not something that's called a "good faith discussion". This is a pattern (even in this message, but also with you in general), therefore I will not talk to you further. Have a good day. Disable HTTPS upgrade? Posted Mar 5, 2025 15:50 UTC (Wed) by PeeWee (subscriber, #175777) [Link] > The user who enters an incomplete URI is at fault I never said I did this, yet you somehow assumed a fact that makes me at fault. Why does everything have to be about you? Are you that narcissistic? I was (implicitly) referring to @Cyberax, or rather the problem they described above. > You are making up problems which are non-existent Okay, so you apparently know better than me what problems I experienced. No, I am referring to your assertion that somehow FF is doing something wrong here, which it does not. This is a subtype of a personal attack, and, again, not something that's called a "good faith discussion". I apologize if it came across that way, which was not my intention. Disable HTTPS upgrade? Posted Mar 5, 2025 10:55 UTC (Wed) by excors (subscriber, #95769) [Link] (3 responses) RFC9110 says: > Resources made available via the "https" scheme have no shared identity with the "http" scheme. They are distinct origins with separate namespaces. but then goes on to mention cookies as an example of features that undermine the strict distinction. Specifically RFC6265 says: > servers SHOULD NOT both run mutually distrusting services on different ports of the same host and use cookies to store security-sensitive information. because cookies are shared by all schemes and ports on the same host. So even if you stick to the hypothetical world described by RFCs and ignore practical concerns, you can't treat HTTP and HTTPS services on the same host as completely independent. Disable HTTPS upgrade? Posted Mar 5, 2025 11:02 UTC (Wed) by intelfx (subscriber, #130118) [Link] > RFC9110 says: > >> Resources made available via the "https" scheme have no shared identity with the "http" scheme. They are distinct origins with separate namespaces. > > but then goes on to mention cookies as an example of features that undermine the strict distinction. Specifically RFC6265 says: > >> servers SHOULD NOT both run mutually distrusting services on different ports of the same host and use cookies to store security-sensitive information. Sure, that's a restriction placed on the previous clause. Yet, "the exception proves the rule in cases not excepted". So it is, in fact, true that besides this mutual distrust caveat, RFCs declare http:// and https:// resources as separate namespaces. I take it as a pretty clear-cut confirmation that the standards agree with my interpretation. Disable HTTPS upgrade? Posted Mar 5, 2025 14:07 UTC (Wed) by ballombe (subscriber, #9523) [Link] (1 responses) > because cookies are shared by all schemes and ports on the same host. ... which independently of https is a major design bug since webservers on non-standard ports exist. Disable HTTPS upgrade? Posted Mar 5, 2025 15:19 UTC (Wed) by excors (subscriber, #95769) [Link] Yeah, modern web security is based on "origin" (basically a tuple of scheme, port and host) which is generally sensible, but cookies were invented long before that and can't be fixed because of backward compatibility requirements. If you want to properly isolate sites then they can't even be on different subdomains of the same domain - they must be completely different domains, up to a suffix listed in the Public Suffix List (.com, .co.uk, .github.io, etc). And definitely don't try to isolate them just by port. It's a bad design, but it is what it is. (Or as RFC6265 puts it: "For historical reasons, cookies contain a number of security and privacy infelicities.") Disable HTTPS upgrade? Posted Mar 6, 2025 1:29 UTC (Thu) by NYKevin (subscriber, #129325) [Link] This is the web, not some NIST-compliant government boondoggle. Everyone used to write charset='iso-8859-1' when they should have written charset='windows-1252'. You can tell people that they're wrong, but that won't fix the websites that already exist. Instead, WHATWG specifies the former as an alias for the latter, and both are now "correct." You should expect that common practices gradually ossify into standards - that is how the web has always worked. As for HTTPS in particular: * The HTTPS Everywhere extension has demonstrated that, in practice, many websites serve the same content on HTTPS as they do on HTTP, and you really can just replace http:// with https:// in a lot of URLs. * HSTS (RFC 6797) has established a precedent that web standards should go out of their way to support and enhance the case where HTTP redirects to HTTPS, even if this means overriding the user's explicit instruction to connect with HTTP. * The entire .dev gTLD is preloaded into HSTS. If you buy one of those domains, you cannot serve HTTP at all (at least, to any of the usual browsers), because the browser will rewrite all URLs to HTTPS. * All major browsers now display "Not secure" or similar warnings when visiting an HTTP site. * Chromium and Chromium-based browsers have been doing the whole "opportunistically upgrade HTTP to HTTPS" thing for select users (plus anyone who manually turns it on) since 2023.[1] Realistically, I think it's only a matter of time before WHATWG decides to write this behavior down and call it a "living standard." Disclaimer: I work for Google, but not on any web-related technology such as Chrome. Opinions are my own. [1]: https://blog.chromium.org/2023/08/towards-https-by-defaul...
Posted Mar 5, 2025 9:41 UTC (Wed) by intelfx (subscriber, #130118) [Link] (12 responses)
Because existence and nature of HTTP services on port 80 on a particular host is not supposed to mean or convey anything about existence and nature of HTTPS services on port 443 on the same IP address. If you want to prove me wrong, please quote an RFC.
Disable HTTPS upgrade? Posted Mar 5, 2025 10:41 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (6 responses) It's implicit in the definition of HTTPS, which is just HTTP over TLS. And the mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard. Also the problem @Cyberax describes looks like it can be fixed by proper authentication certificates for all the host names or a wildcard for the lower level domain. Disable HTTPS upgrade? Posted Mar 5, 2025 10:46 UTC (Wed) by intelfx (subscriber, #130118) [Link] (5 responses) So, it's not actually a thing. Thanks. Disable HTTPS upgrade? Posted Mar 5, 2025 10:56 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (4 responses) You may also want to checkout @csamuel's reply and the knowledge base article he linked to. If that method does not work, it's a bug which should be reported, simple as that. Alas, this is yet another storm in a tea cup, imagined by people whose go-to response is ranting about some vendors they chose to hate, yet they still use their product. So the problem is in fact not a thing. Thank you. Disable HTTPS upgrade? Posted Mar 5, 2025 11:07 UTC (Wed) by intelfx (subscriber, #130118) [Link] (3 responses) You are linking to internal documentation containing a description of the behavior of one specific implementation, the one whose behavior is being questioned. That does not advance the discussion at all. Just like in your previous comment ("mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard"), it is invalid to justify some sort of behavior by the fact that this behavior exists. Disable HTTPS upgrade? Posted Mar 5, 2025 11:31 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (2 responses) You are linking to internal documentation containing a description of the behavior of one specific implementation, the one whose behavior is being questioned. That is very much public documentation, which one arrives at by following the link in the release notes. That does not advance the discussion at all. You are making up problems which are non-existent. That does not advance the discussion. Just like in your previous comment (""mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard""), it is invalid to justify some sort of behavior by the fact that this behavior exists. The user who enters an incomplete URI is at fault, basically, and FF just changed how it defaults (hence the name) the request. And that's what you get when you rely on side effects. Always enter complete URIs and there is no problem. Disable HTTPS upgrade? Posted Mar 5, 2025 15:20 UTC (Wed) by intelfx (subscriber, #130118) [Link] (1 responses) > The user who enters an incomplete URI is at fault I never said I did this, yet you somehow assumed a fact that makes me at fault. > You are making up problems which are non-existent Okay, so you apparently know better than me what problems I experienced. This is a subtype of a personal attack, and, again, not something that's called a "good faith discussion". This is a pattern (even in this message, but also with you in general), therefore I will not talk to you further. Have a good day. Disable HTTPS upgrade? Posted Mar 5, 2025 15:50 UTC (Wed) by PeeWee (subscriber, #175777) [Link] > The user who enters an incomplete URI is at fault I never said I did this, yet you somehow assumed a fact that makes me at fault. Why does everything have to be about you? Are you that narcissistic? I was (implicitly) referring to @Cyberax, or rather the problem they described above. > You are making up problems which are non-existent Okay, so you apparently know better than me what problems I experienced. No, I am referring to your assertion that somehow FF is doing something wrong here, which it does not. This is a subtype of a personal attack, and, again, not something that's called a "good faith discussion". I apologize if it came across that way, which was not my intention. Disable HTTPS upgrade? Posted Mar 5, 2025 10:55 UTC (Wed) by excors (subscriber, #95769) [Link] (3 responses) RFC9110 says: > Resources made available via the "https" scheme have no shared identity with the "http" scheme. They are distinct origins with separate namespaces. but then goes on to mention cookies as an example of features that undermine the strict distinction. Specifically RFC6265 says: > servers SHOULD NOT both run mutually distrusting services on different ports of the same host and use cookies to store security-sensitive information. because cookies are shared by all schemes and ports on the same host. So even if you stick to the hypothetical world described by RFCs and ignore practical concerns, you can't treat HTTP and HTTPS services on the same host as completely independent. Disable HTTPS upgrade? Posted Mar 5, 2025 11:02 UTC (Wed) by intelfx (subscriber, #130118) [Link] > RFC9110 says: > >> Resources made available via the "https" scheme have no shared identity with the "http" scheme. They are distinct origins with separate namespaces. > > but then goes on to mention cookies as an example of features that undermine the strict distinction. Specifically RFC6265 says: > >> servers SHOULD NOT both run mutually distrusting services on different ports of the same host and use cookies to store security-sensitive information. Sure, that's a restriction placed on the previous clause. Yet, "the exception proves the rule in cases not excepted". So it is, in fact, true that besides this mutual distrust caveat, RFCs declare http:// and https:// resources as separate namespaces. I take it as a pretty clear-cut confirmation that the standards agree with my interpretation. Disable HTTPS upgrade? Posted Mar 5, 2025 14:07 UTC (Wed) by ballombe (subscriber, #9523) [Link] (1 responses) > because cookies are shared by all schemes and ports on the same host. ... which independently of https is a major design bug since webservers on non-standard ports exist. Disable HTTPS upgrade? Posted Mar 5, 2025 15:19 UTC (Wed) by excors (subscriber, #95769) [Link] Yeah, modern web security is based on "origin" (basically a tuple of scheme, port and host) which is generally sensible, but cookies were invented long before that and can't be fixed because of backward compatibility requirements. If you want to properly isolate sites then they can't even be on different subdomains of the same domain - they must be completely different domains, up to a suffix listed in the Public Suffix List (.com, .co.uk, .github.io, etc). And definitely don't try to isolate them just by port. It's a bad design, but it is what it is. (Or as RFC6265 puts it: "For historical reasons, cookies contain a number of security and privacy infelicities.") Disable HTTPS upgrade? Posted Mar 6, 2025 1:29 UTC (Thu) by NYKevin (subscriber, #129325) [Link] This is the web, not some NIST-compliant government boondoggle. Everyone used to write charset='iso-8859-1' when they should have written charset='windows-1252'. You can tell people that they're wrong, but that won't fix the websites that already exist. Instead, WHATWG specifies the former as an alias for the latter, and both are now "correct." You should expect that common practices gradually ossify into standards - that is how the web has always worked. As for HTTPS in particular: * The HTTPS Everywhere extension has demonstrated that, in practice, many websites serve the same content on HTTPS as they do on HTTP, and you really can just replace http:// with https:// in a lot of URLs. * HSTS (RFC 6797) has established a precedent that web standards should go out of their way to support and enhance the case where HTTP redirects to HTTPS, even if this means overriding the user's explicit instruction to connect with HTTP. * The entire .dev gTLD is preloaded into HSTS. If you buy one of those domains, you cannot serve HTTP at all (at least, to any of the usual browsers), because the browser will rewrite all URLs to HTTPS. * All major browsers now display "Not secure" or similar warnings when visiting an HTTP site. * Chromium and Chromium-based browsers have been doing the whole "opportunistically upgrade HTTP to HTTPS" thing for select users (plus anyone who manually turns it on) since 2023.[1] Realistically, I think it's only a matter of time before WHATWG decides to write this behavior down and call it a "living standard." Disclaimer: I work for Google, but not on any web-related technology such as Chrome. Opinions are my own. [1]: https://blog.chromium.org/2023/08/towards-https-by-defaul...
Posted Mar 5, 2025 10:41 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (6 responses)
Disable HTTPS upgrade? Posted Mar 5, 2025 10:46 UTC (Wed) by intelfx (subscriber, #130118) [Link] (5 responses) So, it's not actually a thing. Thanks. Disable HTTPS upgrade? Posted Mar 5, 2025 10:56 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (4 responses) You may also want to checkout @csamuel's reply and the knowledge base article he linked to. If that method does not work, it's a bug which should be reported, simple as that. Alas, this is yet another storm in a tea cup, imagined by people whose go-to response is ranting about some vendors they chose to hate, yet they still use their product. So the problem is in fact not a thing. Thank you. Disable HTTPS upgrade? Posted Mar 5, 2025 11:07 UTC (Wed) by intelfx (subscriber, #130118) [Link] (3 responses) You are linking to internal documentation containing a description of the behavior of one specific implementation, the one whose behavior is being questioned. That does not advance the discussion at all. Just like in your previous comment ("mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard"), it is invalid to justify some sort of behavior by the fact that this behavior exists. Disable HTTPS upgrade? Posted Mar 5, 2025 11:31 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (2 responses) You are linking to internal documentation containing a description of the behavior of one specific implementation, the one whose behavior is being questioned. That is very much public documentation, which one arrives at by following the link in the release notes. That does not advance the discussion at all. You are making up problems which are non-existent. That does not advance the discussion. Just like in your previous comment (""mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard""), it is invalid to justify some sort of behavior by the fact that this behavior exists. The user who enters an incomplete URI is at fault, basically, and FF just changed how it defaults (hence the name) the request. And that's what you get when you rely on side effects. Always enter complete URIs and there is no problem. Disable HTTPS upgrade? Posted Mar 5, 2025 15:20 UTC (Wed) by intelfx (subscriber, #130118) [Link] (1 responses) > The user who enters an incomplete URI is at fault I never said I did this, yet you somehow assumed a fact that makes me at fault. > You are making up problems which are non-existent Okay, so you apparently know better than me what problems I experienced. This is a subtype of a personal attack, and, again, not something that's called a "good faith discussion". This is a pattern (even in this message, but also with you in general), therefore I will not talk to you further. Have a good day. Disable HTTPS upgrade? Posted Mar 5, 2025 15:50 UTC (Wed) by PeeWee (subscriber, #175777) [Link] > The user who enters an incomplete URI is at fault I never said I did this, yet you somehow assumed a fact that makes me at fault. Why does everything have to be about you? Are you that narcissistic? I was (implicitly) referring to @Cyberax, or rather the problem they described above. > You are making up problems which are non-existent Okay, so you apparently know better than me what problems I experienced. No, I am referring to your assertion that somehow FF is doing something wrong here, which it does not. This is a subtype of a personal attack, and, again, not something that's called a "good faith discussion". I apologize if it came across that way, which was not my intention.
Posted Mar 5, 2025 10:46 UTC (Wed) by intelfx (subscriber, #130118) [Link] (5 responses)
Disable HTTPS upgrade? Posted Mar 5, 2025 10:56 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (4 responses) You may also want to checkout @csamuel's reply and the knowledge base article he linked to. If that method does not work, it's a bug which should be reported, simple as that. Alas, this is yet another storm in a tea cup, imagined by people whose go-to response is ranting about some vendors they chose to hate, yet they still use their product. So the problem is in fact not a thing. Thank you. Disable HTTPS upgrade? Posted Mar 5, 2025 11:07 UTC (Wed) by intelfx (subscriber, #130118) [Link] (3 responses) You are linking to internal documentation containing a description of the behavior of one specific implementation, the one whose behavior is being questioned. That does not advance the discussion at all. Just like in your previous comment ("mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard"), it is invalid to justify some sort of behavior by the fact that this behavior exists. Disable HTTPS upgrade? Posted Mar 5, 2025 11:31 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (2 responses) You are linking to internal documentation containing a description of the behavior of one specific implementation, the one whose behavior is being questioned. That is very much public documentation, which one arrives at by following the link in the release notes. That does not advance the discussion at all. You are making up problems which are non-existent. That does not advance the discussion. Just like in your previous comment (""mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard""), it is invalid to justify some sort of behavior by the fact that this behavior exists. The user who enters an incomplete URI is at fault, basically, and FF just changed how it defaults (hence the name) the request. And that's what you get when you rely on side effects. Always enter complete URIs and there is no problem. Disable HTTPS upgrade? Posted Mar 5, 2025 15:20 UTC (Wed) by intelfx (subscriber, #130118) [Link] (1 responses) > The user who enters an incomplete URI is at fault I never said I did this, yet you somehow assumed a fact that makes me at fault. > You are making up problems which are non-existent Okay, so you apparently know better than me what problems I experienced. This is a subtype of a personal attack, and, again, not something that's called a "good faith discussion". This is a pattern (even in this message, but also with you in general), therefore I will not talk to you further. Have a good day. Disable HTTPS upgrade? Posted Mar 5, 2025 15:50 UTC (Wed) by PeeWee (subscriber, #175777) [Link] > The user who enters an incomplete URI is at fault I never said I did this, yet you somehow assumed a fact that makes me at fault. Why does everything have to be about you? Are you that narcissistic? I was (implicitly) referring to @Cyberax, or rather the problem they described above. > You are making up problems which are non-existent Okay, so you apparently know better than me what problems I experienced. No, I am referring to your assertion that somehow FF is doing something wrong here, which it does not. This is a subtype of a personal attack, and, again, not something that's called a "good faith discussion". I apologize if it came across that way, which was not my intention.
Posted Mar 5, 2025 10:56 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (4 responses)
You may also want to checkout @csamuel's reply and the knowledge base article he linked to. If that method does not work, it's a bug which should be reported, simple as that.
Alas, this is yet another storm in a tea cup, imagined by people whose go-to response is ranting about some vendors they chose to hate, yet they still use their product. So the problem is in fact not a thing. Thank you.
Disable HTTPS upgrade? Posted Mar 5, 2025 11:07 UTC (Wed) by intelfx (subscriber, #130118) [Link] (3 responses) You are linking to internal documentation containing a description of the behavior of one specific implementation, the one whose behavior is being questioned. That does not advance the discussion at all. Just like in your previous comment ("mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard"), it is invalid to justify some sort of behavior by the fact that this behavior exists. Disable HTTPS upgrade? Posted Mar 5, 2025 11:31 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (2 responses) You are linking to internal documentation containing a description of the behavior of one specific implementation, the one whose behavior is being questioned. That is very much public documentation, which one arrives at by following the link in the release notes. That does not advance the discussion at all. You are making up problems which are non-existent. That does not advance the discussion. Just like in your previous comment (""mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard""), it is invalid to justify some sort of behavior by the fact that this behavior exists. The user who enters an incomplete URI is at fault, basically, and FF just changed how it defaults (hence the name) the request. And that's what you get when you rely on side effects. Always enter complete URIs and there is no problem. Disable HTTPS upgrade? Posted Mar 5, 2025 15:20 UTC (Wed) by intelfx (subscriber, #130118) [Link] (1 responses) > The user who enters an incomplete URI is at fault I never said I did this, yet you somehow assumed a fact that makes me at fault. > You are making up problems which are non-existent Okay, so you apparently know better than me what problems I experienced. This is a subtype of a personal attack, and, again, not something that's called a "good faith discussion". This is a pattern (even in this message, but also with you in general), therefore I will not talk to you further. Have a good day. Disable HTTPS upgrade? Posted Mar 5, 2025 15:50 UTC (Wed) by PeeWee (subscriber, #175777) [Link] > The user who enters an incomplete URI is at fault I never said I did this, yet you somehow assumed a fact that makes me at fault. Why does everything have to be about you? Are you that narcissistic? I was (implicitly) referring to @Cyberax, or rather the problem they described above. > You are making up problems which are non-existent Okay, so you apparently know better than me what problems I experienced. No, I am referring to your assertion that somehow FF is doing something wrong here, which it does not. This is a subtype of a personal attack, and, again, not something that's called a "good faith discussion". I apologize if it came across that way, which was not my intention.
Posted Mar 5, 2025 11:07 UTC (Wed) by intelfx (subscriber, #130118) [Link] (3 responses)
Just like in your previous comment ("mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard"), it is invalid to justify some sort of behavior by the fact that this behavior exists.
mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard
Disable HTTPS upgrade? Posted Mar 5, 2025 11:31 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (2 responses) You are linking to internal documentation containing a description of the behavior of one specific implementation, the one whose behavior is being questioned. That is very much public documentation, which one arrives at by following the link in the release notes. That does not advance the discussion at all. You are making up problems which are non-existent. That does not advance the discussion. Just like in your previous comment (""mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard""), it is invalid to justify some sort of behavior by the fact that this behavior exists. The user who enters an incomplete URI is at fault, basically, and FF just changed how it defaults (hence the name) the request. And that's what you get when you rely on side effects. Always enter complete URIs and there is no problem. Disable HTTPS upgrade? Posted Mar 5, 2025 15:20 UTC (Wed) by intelfx (subscriber, #130118) [Link] (1 responses) > The user who enters an incomplete URI is at fault I never said I did this, yet you somehow assumed a fact that makes me at fault. > You are making up problems which are non-existent Okay, so you apparently know better than me what problems I experienced. This is a subtype of a personal attack, and, again, not something that's called a "good faith discussion". This is a pattern (even in this message, but also with you in general), therefore I will not talk to you further. Have a good day. Disable HTTPS upgrade? Posted Mar 5, 2025 15:50 UTC (Wed) by PeeWee (subscriber, #175777) [Link] > The user who enters an incomplete URI is at fault I never said I did this, yet you somehow assumed a fact that makes me at fault. Why does everything have to be about you? Are you that narcissistic? I was (implicitly) referring to @Cyberax, or rather the problem they described above. > You are making up problems which are non-existent Okay, so you apparently know better than me what problems I experienced. No, I am referring to your assertion that somehow FF is doing something wrong here, which it does not. This is a subtype of a personal attack, and, again, not something that's called a "good faith discussion". I apologize if it came across that way, which was not my intention.
Posted Mar 5, 2025 11:31 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (2 responses)
You are linking to internal documentation containing a description of the behavior of one specific implementation, the one whose behavior is being questioned.
That is very much public documentation, which one arrives at by following the link in the release notes.
That does not advance the discussion at all.
You are making up problems which are non-existent. That does not advance the discussion.
Just like in your previous comment (""mentioned effort of said HTTPS Everywhere addons has basically established this as a quasi standard""), it is invalid to justify some sort of behavior by the fact that this behavior exists.
The user who enters an incomplete URI is at fault, basically, and FF just changed how it defaults (hence the name) the request. And that's what you get when you rely on side effects. Always enter complete URIs and there is no problem.
Disable HTTPS upgrade? Posted Mar 5, 2025 15:20 UTC (Wed) by intelfx (subscriber, #130118) [Link] (1 responses) > The user who enters an incomplete URI is at fault I never said I did this, yet you somehow assumed a fact that makes me at fault. > You are making up problems which are non-existent Okay, so you apparently know better than me what problems I experienced. This is a subtype of a personal attack, and, again, not something that's called a "good faith discussion". This is a pattern (even in this message, but also with you in general), therefore I will not talk to you further. Have a good day. Disable HTTPS upgrade? Posted Mar 5, 2025 15:50 UTC (Wed) by PeeWee (subscriber, #175777) [Link] > The user who enters an incomplete URI is at fault I never said I did this, yet you somehow assumed a fact that makes me at fault. Why does everything have to be about you? Are you that narcissistic? I was (implicitly) referring to @Cyberax, or rather the problem they described above. > You are making up problems which are non-existent Okay, so you apparently know better than me what problems I experienced. No, I am referring to your assertion that somehow FF is doing something wrong here, which it does not. This is a subtype of a personal attack, and, again, not something that's called a "good faith discussion". I apologize if it came across that way, which was not my intention.
Posted Mar 5, 2025 15:20 UTC (Wed) by intelfx (subscriber, #130118) [Link] (1 responses)
I never said I did this, yet you somehow assumed a fact that makes me at fault.
> You are making up problems which are non-existent
Okay, so you apparently know better than me what problems I experienced. This is a subtype of a personal attack, and, again, not something that's called a "good faith discussion". This is a pattern (even in this message, but also with you in general), therefore I will not talk to you further. Have a good day.
Disable HTTPS upgrade? Posted Mar 5, 2025 15:50 UTC (Wed) by PeeWee (subscriber, #175777) [Link] > The user who enters an incomplete URI is at fault I never said I did this, yet you somehow assumed a fact that makes me at fault. Why does everything have to be about you? Are you that narcissistic? I was (implicitly) referring to @Cyberax, or rather the problem they described above. > You are making up problems which are non-existent Okay, so you apparently know better than me what problems I experienced. No, I am referring to your assertion that somehow FF is doing something wrong here, which it does not. This is a subtype of a personal attack, and, again, not something that's called a "good faith discussion". I apologize if it came across that way, which was not my intention.
Posted Mar 5, 2025 15:50 UTC (Wed) by PeeWee (subscriber, #175777) [Link]
> The user who enters an incomplete URI is at fault I never said I did this, yet you somehow assumed a fact that makes me at fault.
Why does everything have to be about you? Are you that narcissistic? I was (implicitly) referring to @Cyberax, or rather the problem they described above.
> You are making up problems which are non-existent Okay, so you apparently know better than me what problems I experienced.
Okay, so you apparently know better than me what problems I experienced.
No, I am referring to your assertion that somehow FF is doing something wrong here, which it does not.
This is a subtype of a personal attack, and, again, not something that's called a "good faith discussion".
I apologize if it came across that way, which was not my intention.
Posted Mar 5, 2025 10:55 UTC (Wed) by excors (subscriber, #95769) [Link] (3 responses)
> Resources made available via the "https" scheme have no shared identity with the "http" scheme. They are distinct origins with separate namespaces.
but then goes on to mention cookies as an example of features that undermine the strict distinction. Specifically RFC6265 says:
> servers SHOULD NOT both run mutually distrusting services on different ports of the same host and use cookies to store security-sensitive information.
because cookies are shared by all schemes and ports on the same host. So even if you stick to the hypothetical world described by RFCs and ignore practical concerns, you can't treat HTTP and HTTPS services on the same host as completely independent.
Disable HTTPS upgrade? Posted Mar 5, 2025 11:02 UTC (Wed) by intelfx (subscriber, #130118) [Link] > RFC9110 says: > >> Resources made available via the "https" scheme have no shared identity with the "http" scheme. They are distinct origins with separate namespaces. > > but then goes on to mention cookies as an example of features that undermine the strict distinction. Specifically RFC6265 says: > >> servers SHOULD NOT both run mutually distrusting services on different ports of the same host and use cookies to store security-sensitive information. Sure, that's a restriction placed on the previous clause. Yet, "the exception proves the rule in cases not excepted". So it is, in fact, true that besides this mutual distrust caveat, RFCs declare http:// and https:// resources as separate namespaces. I take it as a pretty clear-cut confirmation that the standards agree with my interpretation. Disable HTTPS upgrade? Posted Mar 5, 2025 14:07 UTC (Wed) by ballombe (subscriber, #9523) [Link] (1 responses) > because cookies are shared by all schemes and ports on the same host. ... which independently of https is a major design bug since webservers on non-standard ports exist. Disable HTTPS upgrade? Posted Mar 5, 2025 15:19 UTC (Wed) by excors (subscriber, #95769) [Link] Yeah, modern web security is based on "origin" (basically a tuple of scheme, port and host) which is generally sensible, but cookies were invented long before that and can't be fixed because of backward compatibility requirements. If you want to properly isolate sites then they can't even be on different subdomains of the same domain - they must be completely different domains, up to a suffix listed in the Public Suffix List (.com, .co.uk, .github.io, etc). And definitely don't try to isolate them just by port. It's a bad design, but it is what it is. (Or as RFC6265 puts it: "For historical reasons, cookies contain a number of security and privacy infelicities.")
Posted Mar 5, 2025 11:02 UTC (Wed) by intelfx (subscriber, #130118) [Link]
Sure, that's a restriction placed on the previous clause. Yet, "the exception proves the rule in cases not excepted".
So it is, in fact, true that besides this mutual distrust caveat, RFCs declare http:// and https:// resources as separate namespaces. I take it as a pretty clear-cut confirmation that the standards agree with my interpretation.
Posted Mar 5, 2025 14:07 UTC (Wed) by ballombe (subscriber, #9523) [Link] (1 responses)
... which independently of https is a major design bug since webservers on non-standard ports exist.
Disable HTTPS upgrade? Posted Mar 5, 2025 15:19 UTC (Wed) by excors (subscriber, #95769) [Link] Yeah, modern web security is based on "origin" (basically a tuple of scheme, port and host) which is generally sensible, but cookies were invented long before that and can't be fixed because of backward compatibility requirements. If you want to properly isolate sites then they can't even be on different subdomains of the same domain - they must be completely different domains, up to a suffix listed in the Public Suffix List (.com, .co.uk, .github.io, etc). And definitely don't try to isolate them just by port. It's a bad design, but it is what it is. (Or as RFC6265 puts it: "For historical reasons, cookies contain a number of security and privacy infelicities.")
Posted Mar 5, 2025 15:19 UTC (Wed) by excors (subscriber, #95769) [Link]
(Or as RFC6265 puts it: "For historical reasons, cookies contain a number of security and privacy infelicities.")
Posted Mar 6, 2025 1:29 UTC (Thu) by NYKevin (subscriber, #129325) [Link]
As for HTTPS in particular:
* The HTTPS Everywhere extension has demonstrated that, in practice, many websites serve the same content on HTTPS as they do on HTTP, and you really can just replace http:// with https:// in a lot of URLs. * HSTS (RFC 6797) has established a precedent that web standards should go out of their way to support and enhance the case where HTTP redirects to HTTPS, even if this means overriding the user's explicit instruction to connect with HTTP. * The entire .dev gTLD is preloaded into HSTS. If you buy one of those domains, you cannot serve HTTP at all (at least, to any of the usual browsers), because the browser will rewrite all URLs to HTTPS. * All major browsers now display "Not secure" or similar warnings when visiting an HTTP site. * Chromium and Chromium-based browsers have been doing the whole "opportunistically upgrade HTTP to HTTPS" thing for select users (plus anyone who manually turns it on) since 2023.[1]
Realistically, I think it's only a matter of time before WHATWG decides to write this behavior down and call it a "living standard."
Disclaimer: I work for Google, but not on any web-related technology such as Chrome. Opinions are my own.
[1]: https://blog.chromium.org/2023/08/towards-https-by-defaul...
Posted Mar 5, 2025 13:56 UTC (Wed) by ballombe (subscriber, #9523) [Link] (20 responses)
Disable HTTPS upgrade? Posted Mar 5, 2025 15:06 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (3 responses) [...] one for 80 and one for 443. So unless you are careful, you will end up with different websites, and thanks to firefox, you will never notice since you will never actually reach the 80 one. That's not thanks to FF but to the negligence of users who fail to enter complete URIs. It's also quite a stretch to assert that one has to be careful not to end up with different websites, since the default DocumentRoot is the same for both; plus, there is the include directive which makes such setups rather trivial. The opposite seems more likely: one has to be careful not to accidentally end up with the same website on both ports. But people will make up the silliest examples to find an excuse to bash FF, it seems. At which point are probably better off removing the one port 80. Unless there is a very good reason to provide unencrypted access one might as well not bother with setting up that one to begin with. Disable HTTPS upgrade? Posted Mar 5, 2025 15:21 UTC (Wed) by rschroev (subscriber, #4164) [Link] (2 responses) > "At which point are probably better off removing the one port 80." >> Unless there is a very good reason to provide unencrypted access one might as well not bother with setting up that one to begin with. On port 80 I always set up a redirect to port 443. Is that not the normal / expected thing to do? Disable HTTPS upgrade? Posted Mar 5, 2025 15:32 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (1 responses) OK, there's that, I totally forgot about it. But then you don't really have to bother with setting up anything beyond that on port 80. ;) Disable HTTPS upgrade? Posted Mar 6, 2025 13:19 UTC (Thu) by taladar (subscriber, #68407) [Link] And, more importantly, this change in the default to https first will eventually lead to a world where we finally won't need that http Port just to redirect any more. Disable HTTPS upgrade? Posted Mar 5, 2025 15:26 UTC (Wed) by nix (subscriber, #2304) [Link] You have to jump through significant numbers of extra hoops to end up with actual distinct websites: the default configuration (if you just uncomment the bits that turn SSL on at all), will give you the same site on both -- and if you do end up with different sites for HTTP and HTTPS, users on major browsers will *already* be confused, even before Firefox made this change. This is a giant nothingburger. Why are people complaining about an obvious security improvement with *multiple* trivial-to-enable opt-outs all highlighted in the release notes? Disable HTTPS upgrade? Posted Mar 5, 2025 17:19 UTC (Wed) by geert (subscriber, #98403) [Link] Only a few days ago I ran into a server that had its real website on port 80, and the default "Welcome to your new server" on port 443. Disable HTTPS upgrade? Posted Mar 6, 2025 0:17 UTC (Thu) by higuita (guest, #32245) [Link] (13 responses) That is the end goal, end the plain text HTTP, only encrypted HTTPS should exist. You even have now web servers that automatically manage the certificate Disable HTTPS upgrade? Posted Mar 6, 2025 7:47 UTC (Thu) by Wol (subscriber, #4433) [Link] (12 responses) Planned obsolescence ... Okay, I wouldn't want it outside a firewall, but how many old - eg printers - are there out there with an http web interface. We have two, both approaching ten years old ... Cheers, Wol Disable HTTPS upgrade? Posted Mar 6, 2025 8:40 UTC (Thu) by PeeWee (subscriber, #175777) [Link] (10 responses) This has nothing to do with planned obsolescence and it's quite ironic to point towards printers, which are the epitome (search for "printer") of that very practice. HTTP won't go anywhere since it is part of HTTPS, which simply uses TLS underneath, whereas HTTP relies on plain TCP directly. Disable HTTPS upgrade? Posted Mar 6, 2025 13:06 UTC (Thu) by ballombe (subscriber, #9523) [Link] (9 responses) Old webservers use old versions of TLS that are rejected by newer browsers for security reasons, thus they are not reachable by https anymore. Disable HTTPS upgrade? Posted Mar 6, 2025 23:38 UTC (Thu) by PeeWee (subscriber, #175777) [Link] (8 responses) Good riddance, I say to that. Who runs such ancient setups anyway? If they cannot be bothered to upgrade their servers, they cannot be trusted wholesale and thus TLS should rightly fail. Disable HTTPS upgrade? Posted Mar 7, 2025 19:47 UTC (Fri) by Cyberax (✭ supporter ✭, #52523) [Link] (7 responses) Plenty of older networking gear, for example. I have a UPS from 2008 that has a management interface with an obsolete TLS. Still perfectly usable and secure (if the management interface is on a separate VLAN). Disable HTTPS upgrade? Posted Mar 7, 2025 21:46 UTC (Fri) by PeeWee (subscriber, #175777) [Link] (6 responses) if the management interface is on a separate VLAN Which basically means TLS is pointless anyway. Try harder next time or just stop making up excuses for you unfounded ranting. Disable HTTPS upgrade? Posted Mar 7, 2025 21:48 UTC (Fri) by Cyberax (✭ supporter ✭, #52523) [Link] (5 responses) Your statement was: > Who runs such ancient setups anyway? I'm replying to it. There is plenty of old gear that has obsolete TLS, and has to use plain HTTP. Disable HTTPS upgrade? Posted Mar 7, 2025 22:06 UTC (Fri) by PeeWee (subscriber, #175777) [Link] (4 responses) And how does FF stop anyone from doing that? Enter a complete URI with explicit http: scheme and everything is just fine. Also the previous example was about ancient TLS, or rather SSL as it was called back then. Anything running SSL is obsolete by definition and one can just as well use plaintext HTTP, which may be the saner choice since it does not even pretend and thus won't provide a false sense of security. And now the weather: over at LWN there was a strom light breeze in a tea cup, caused by users of deprecated software blowing off steam while fighting over a giant nixnothingburger. And with that I wish you all a good night and an even better early spring weekend. ;) Disable HTTPS upgrade? Posted Mar 8, 2025 0:29 UTC (Sat) by Cyberax (✭ supporter ✭, #52523) [Link] (3 responses) > And how does FF stop anyone from doing that? By forcing HTTPS and sticking to it, even if you specify "http". Disable HTTPS upgrade? Posted Mar 8, 2025 1:02 UTC (Sat) by pizza (subscriber, #46) [Link] (2 responses) >> And how does FF stop anyone from doing that? >By forcing HTTPS and sticking to it, even if you specify "http". And then helpfully "remembering" your "choice". I fight with FF over this crap on average a couple of times a week. Disable HTTPS upgrade? Posted Mar 8, 2025 6:51 UTC (Sat) by PeeWee (subscriber, #175777) [Link] (1 responses) A poor craftsman blames his tools. Again: You open the history sidebar (Ctrl-H), or the history manager (Ctrl-Shift-H), find and select the offending site, right-click it and select Forget About This Site..., and afterwards you open it only once by explicitly specifying the http: scheme, FF will remember your choice and subsequently you can open it without it. If you guys would spend half as much time on actually trying to solve problems as you do on this pointless ranting, you may just end up with lower blood pressure and live longer and, most importantly, happier. It took me all of one minute to figure this out, once I understood what was happening. OK one and a half, two, tops; and only because I created a fresh profile to test the procedure - you are welcome BTW. And I have posted this further up already. If that does not fix the issue, report a bug, instead of polluting public forums with your foulmouthed ranting, which only serves to frustrate you and others while leaving Mozilla totally oblivious to the fact there might, just might, be an issue. It's a new feature after all, and I bet, you guys are the loud minority complaining about it while the vast majority welcomes it, me included. Or switch to a different browser if you hate FF that much. Or just do you, I don't care. But be prepared to be ridiculed, if you keep this up. With this all being said, ever so redundantly, we come to the weather report: still unchanged. Stop here Posted Mar 8, 2025 14:19 UTC (Sat) by corbet (editor, #1) [Link] OK, please, let's just bring an end to this thread, and to this style of discussion. We can do better. Disable HTTPS upgrade? Posted Mar 6, 2025 19:01 UTC (Thu) by NYKevin (subscriber, #129325) [Link] You can't really get rid of local (LAN) HTTP. Or at least, there is no reasonable way to do it. In order to serve HTTPS over a LAN, you need a globally routable domain that you can administer (from the LAN). Technically, you do not need to purchase a separate second-level domain for every consumer - it would be enough to buy one domain and give every consumer a separate subdomain, and then use split-horizon DNS so that each consumer only sees their own subdomain (Let's Encrypt and other CAs will happily give you a certificate if you can manipulate DNS records, even if you cannot serve HTTPS on the public web - I know this because I do it on my own LAN). But nobody wants to administer a solution that involves managing so many subdomains with trust delegated to consumers. You would need a separate API key for each instance of the product, a flow for recovering from an account lockout or device wipe, probably some fairly beefy DNS nameservers, and so on. To make things even worse, I can't see a way to avoid remote-bricking these devices when you're no longer interested in supporting them (your DNS nameservers go away, the devices can no longer renew their HTTPS certificates, they expire, the end). I'm not going to say this is impossible as a solution, but it is IMHO unreasonably complicated for such a straightforward premise, assuming you want to do it at scale as an OEM, and not just as a one-off hobbyist configuration for your own personal network. There are explicitly non-global domains, such as *.home.arpa and *.internal, and you can (legitimately) make up addresses under those domains and serve them using split-horizon (as well as funkier options, like mDNS for *.local), but there is as yet no consensus on how trust should work in that case. Who has the authority to assert these names, and issue certificates for them? It can't be the "regular" global CAs (they do not know which LAN the user is on, and therefore which example.internal is the "real" example.internal from that user's perspective), so they would need to be issued by some sort of local or per-LAN CA. But that just begs the question. IP has no trust hierarchy - when a packet leaves your device, it's up to the rest of the network to decide what to do with it. There is no IP-based procedure for identifying an "authority" for a particular network, nor even for proving that (e.g.) a given router has the de facto ability to route packets for a given network segment (DHCP and IPv6 NDP do not count, because they have no security, so anyone can impersonate the router if they feel like it). That functionality almost(!) exists in the context of BGP and IXPs, but nobody's home network is a whole AS, so it is rather useless for LANs, even if we leave aside the fact that it regularly fails to prevent random ISPs from accidentally turning each other off due to BGP misconfigurations. I've only heard of one general idea that seems like it has any chance of working, and it looks roughly like the following: 1. When you connect to a LAN, you scan some sort of QR code or similar thing. It might be permanently etched or printed on the surface of the router, or in some other non-removable place where the consumer can easily find it. 2. Whatever you scanned contains a trust token. If not already connected to the LAN, you are prompted to do so, and then you are prompted to accept the trust token. 3. Your device imports this trust token as a limited-scope root certificate, valid only for non-global TLDs like .internal. 4. Some CA on the network holds the private key corresponding to that certificate, and may issue domain certificates based on it. Your device will trust those domain certificates while it is connected to the network. Most likely, this CA is a service running inside the router. 5. When you disconnect from the network, your device must invalidate, delete, or otherwise distrust the root certificate. There are still quite a lot of obvious problems with this: * Many consumer devices have a habit of promiscuously connecting to any WLAN they see if the current WLAN appears to be down. This raises the possibility that the user thinks they are connected to network X when in fact they are connected to network Y, and Y is hostile and attempts to impersonate some of the services offered on X. The solution is to require that trust tokens may only become active by explicit user action (ideally, only by scanning a code, so that WLANs with the same SSID do not have their trust tokens confused). * We need to validate that the user connected to the correct network for a given trust token (or else an attacker could mislead the user into importing some attacker-controlled token instead, and then impersonate local network services). This can be done at import time, by checking that some standardized non-global domain (e.g. www.certificate-check.internal) is serving HTTPS with a certificate that would be valid if we accepted the trust token, but we would need to pick a single standard domain. * More generally, publicly-accessible WLANs raise a lot of complicated and thorny questions about what constitutes "the real" network and how we should protect the user from a "fake" network. Probably the easiest way to fix this is to avoid using non-global domains on such networks (if you're a giant company providing a WiFi hotspot for your consumers, you can afford to administer one real domain for your whole setup, and then you can just use conventional/global certificates and avoid all this faff entirely). * We really ought to explain to the user what they are doing when they scan one of these codes, and give them an opportunity to cancel, but it's hard to come up with a good wording that won't confuse non-technical folks *and* will convince them that they should refuse to connect if they do not trust the source of the code. * In turn, that raises the issue that consumers don't usually pay much attention to what network they are currently on. It may be unwise to assume that users can distinguish between example.internal (on Alice's network) and example.internal (on Bob's network) without some kind of specialized UI that has not yet been invented. By assumption, we cannot display any globally-meaningful identity information to help the user figure out which is which (any means of supplying and authenticating such information would necessarily be just as difficult as using a globally-routable domain in the first place). * You would still need a means for LAN devices such as printers to talk to the CA, establish mutual trust (presumably with user supervision/approval), and get themselves a local domain and certificate. The flow described above works great for phones, but most printers cannot scan a QR code. There are a variety of options here, but something would need to be standardized so we don't end up with fifty mutually-incompatible onboarding flows.
Posted Mar 5, 2025 15:06 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (3 responses)
[...] one for 80 and one for 443. So unless you are careful, you will end up with different websites, and thanks to firefox, you will never notice since you will never actually reach the 80 one.
That's not thanks to FF but to the negligence of users who fail to enter complete URIs. It's also quite a stretch to assert that one has to be careful not to end up with different websites, since the default DocumentRoot is the same for both; plus, there is the include directive which makes such setups rather trivial. The opposite seems more likely: one has to be careful not to accidentally end up with the same website on both ports. But people will make up the silliest examples to find an excuse to bash FF, it seems.
DocumentRoot
include
At which point are probably better off removing the one port 80.
Unless there is a very good reason to provide unencrypted access one might as well not bother with setting up that one to begin with.
Disable HTTPS upgrade? Posted Mar 5, 2025 15:21 UTC (Wed) by rschroev (subscriber, #4164) [Link] (2 responses) > "At which point are probably better off removing the one port 80." >> Unless there is a very good reason to provide unencrypted access one might as well not bother with setting up that one to begin with. On port 80 I always set up a redirect to port 443. Is that not the normal / expected thing to do? Disable HTTPS upgrade? Posted Mar 5, 2025 15:32 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (1 responses) OK, there's that, I totally forgot about it. But then you don't really have to bother with setting up anything beyond that on port 80. ;) Disable HTTPS upgrade? Posted Mar 6, 2025 13:19 UTC (Thu) by taladar (subscriber, #68407) [Link] And, more importantly, this change in the default to https first will eventually lead to a world where we finally won't need that http Port just to redirect any more.
Posted Mar 5, 2025 15:21 UTC (Wed) by rschroev (subscriber, #4164) [Link] (2 responses)
>> Unless there is a very good reason to provide unencrypted access one might as well not bother with setting up that one to begin with.
On port 80 I always set up a redirect to port 443. Is that not the normal / expected thing to do?
Disable HTTPS upgrade? Posted Mar 5, 2025 15:32 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (1 responses) OK, there's that, I totally forgot about it. But then you don't really have to bother with setting up anything beyond that on port 80. ;) Disable HTTPS upgrade? Posted Mar 6, 2025 13:19 UTC (Thu) by taladar (subscriber, #68407) [Link] And, more importantly, this change in the default to https first will eventually lead to a world where we finally won't need that http Port just to redirect any more.
Posted Mar 5, 2025 15:32 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (1 responses)
Disable HTTPS upgrade? Posted Mar 6, 2025 13:19 UTC (Thu) by taladar (subscriber, #68407) [Link] And, more importantly, this change in the default to https first will eventually lead to a world where we finally won't need that http Port just to redirect any more.
Posted Mar 6, 2025 13:19 UTC (Thu) by taladar (subscriber, #68407) [Link]
Posted Mar 5, 2025 15:26 UTC (Wed) by nix (subscriber, #2304) [Link]
This is a giant nothingburger. Why are people complaining about an obvious security improvement with *multiple* trivial-to-enable opt-outs all highlighted in the release notes?
Posted Mar 5, 2025 17:19 UTC (Wed) by geert (subscriber, #98403) [Link]
Posted Mar 6, 2025 0:17 UTC (Thu) by higuita (guest, #32245) [Link] (13 responses)
Disable HTTPS upgrade? Posted Mar 6, 2025 7:47 UTC (Thu) by Wol (subscriber, #4433) [Link] (12 responses) Planned obsolescence ... Okay, I wouldn't want it outside a firewall, but how many old - eg printers - are there out there with an http web interface. We have two, both approaching ten years old ... Cheers, Wol Disable HTTPS upgrade? Posted Mar 6, 2025 8:40 UTC (Thu) by PeeWee (subscriber, #175777) [Link] (10 responses) This has nothing to do with planned obsolescence and it's quite ironic to point towards printers, which are the epitome (search for "printer") of that very practice. HTTP won't go anywhere since it is part of HTTPS, which simply uses TLS underneath, whereas HTTP relies on plain TCP directly. Disable HTTPS upgrade? Posted Mar 6, 2025 13:06 UTC (Thu) by ballombe (subscriber, #9523) [Link] (9 responses) Old webservers use old versions of TLS that are rejected by newer browsers for security reasons, thus they are not reachable by https anymore. Disable HTTPS upgrade? Posted Mar 6, 2025 23:38 UTC (Thu) by PeeWee (subscriber, #175777) [Link] (8 responses) Good riddance, I say to that. Who runs such ancient setups anyway? If they cannot be bothered to upgrade their servers, they cannot be trusted wholesale and thus TLS should rightly fail. Disable HTTPS upgrade? Posted Mar 7, 2025 19:47 UTC (Fri) by Cyberax (✭ supporter ✭, #52523) [Link] (7 responses) Plenty of older networking gear, for example. I have a UPS from 2008 that has a management interface with an obsolete TLS. Still perfectly usable and secure (if the management interface is on a separate VLAN). Disable HTTPS upgrade? Posted Mar 7, 2025 21:46 UTC (Fri) by PeeWee (subscriber, #175777) [Link] (6 responses) if the management interface is on a separate VLAN Which basically means TLS is pointless anyway. Try harder next time or just stop making up excuses for you unfounded ranting. Disable HTTPS upgrade? Posted Mar 7, 2025 21:48 UTC (Fri) by Cyberax (✭ supporter ✭, #52523) [Link] (5 responses) Your statement was: > Who runs such ancient setups anyway? I'm replying to it. There is plenty of old gear that has obsolete TLS, and has to use plain HTTP. Disable HTTPS upgrade? Posted Mar 7, 2025 22:06 UTC (Fri) by PeeWee (subscriber, #175777) [Link] (4 responses) And how does FF stop anyone from doing that? Enter a complete URI with explicit http: scheme and everything is just fine. Also the previous example was about ancient TLS, or rather SSL as it was called back then. Anything running SSL is obsolete by definition and one can just as well use plaintext HTTP, which may be the saner choice since it does not even pretend and thus won't provide a false sense of security. And now the weather: over at LWN there was a strom light breeze in a tea cup, caused by users of deprecated software blowing off steam while fighting over a giant nixnothingburger. And with that I wish you all a good night and an even better early spring weekend. ;) Disable HTTPS upgrade? Posted Mar 8, 2025 0:29 UTC (Sat) by Cyberax (✭ supporter ✭, #52523) [Link] (3 responses) > And how does FF stop anyone from doing that? By forcing HTTPS and sticking to it, even if you specify "http". Disable HTTPS upgrade? Posted Mar 8, 2025 1:02 UTC (Sat) by pizza (subscriber, #46) [Link] (2 responses) >> And how does FF stop anyone from doing that? >By forcing HTTPS and sticking to it, even if you specify "http". And then helpfully "remembering" your "choice". I fight with FF over this crap on average a couple of times a week. Disable HTTPS upgrade? Posted Mar 8, 2025 6:51 UTC (Sat) by PeeWee (subscriber, #175777) [Link] (1 responses) A poor craftsman blames his tools. Again: You open the history sidebar (Ctrl-H), or the history manager (Ctrl-Shift-H), find and select the offending site, right-click it and select Forget About This Site..., and afterwards you open it only once by explicitly specifying the http: scheme, FF will remember your choice and subsequently you can open it without it. If you guys would spend half as much time on actually trying to solve problems as you do on this pointless ranting, you may just end up with lower blood pressure and live longer and, most importantly, happier. It took me all of one minute to figure this out, once I understood what was happening. OK one and a half, two, tops; and only because I created a fresh profile to test the procedure - you are welcome BTW. And I have posted this further up already. If that does not fix the issue, report a bug, instead of polluting public forums with your foulmouthed ranting, which only serves to frustrate you and others while leaving Mozilla totally oblivious to the fact there might, just might, be an issue. It's a new feature after all, and I bet, you guys are the loud minority complaining about it while the vast majority welcomes it, me included. Or switch to a different browser if you hate FF that much. Or just do you, I don't care. But be prepared to be ridiculed, if you keep this up. With this all being said, ever so redundantly, we come to the weather report: still unchanged. Stop here Posted Mar 8, 2025 14:19 UTC (Sat) by corbet (editor, #1) [Link] OK, please, let's just bring an end to this thread, and to this style of discussion. We can do better. Disable HTTPS upgrade? Posted Mar 6, 2025 19:01 UTC (Thu) by NYKevin (subscriber, #129325) [Link] You can't really get rid of local (LAN) HTTP. Or at least, there is no reasonable way to do it. In order to serve HTTPS over a LAN, you need a globally routable domain that you can administer (from the LAN). Technically, you do not need to purchase a separate second-level domain for every consumer - it would be enough to buy one domain and give every consumer a separate subdomain, and then use split-horizon DNS so that each consumer only sees their own subdomain (Let's Encrypt and other CAs will happily give you a certificate if you can manipulate DNS records, even if you cannot serve HTTPS on the public web - I know this because I do it on my own LAN). But nobody wants to administer a solution that involves managing so many subdomains with trust delegated to consumers. You would need a separate API key for each instance of the product, a flow for recovering from an account lockout or device wipe, probably some fairly beefy DNS nameservers, and so on. To make things even worse, I can't see a way to avoid remote-bricking these devices when you're no longer interested in supporting them (your DNS nameservers go away, the devices can no longer renew their HTTPS certificates, they expire, the end). I'm not going to say this is impossible as a solution, but it is IMHO unreasonably complicated for such a straightforward premise, assuming you want to do it at scale as an OEM, and not just as a one-off hobbyist configuration for your own personal network. There are explicitly non-global domains, such as *.home.arpa and *.internal, and you can (legitimately) make up addresses under those domains and serve them using split-horizon (as well as funkier options, like mDNS for *.local), but there is as yet no consensus on how trust should work in that case. Who has the authority to assert these names, and issue certificates for them? It can't be the "regular" global CAs (they do not know which LAN the user is on, and therefore which example.internal is the "real" example.internal from that user's perspective), so they would need to be issued by some sort of local or per-LAN CA. But that just begs the question. IP has no trust hierarchy - when a packet leaves your device, it's up to the rest of the network to decide what to do with it. There is no IP-based procedure for identifying an "authority" for a particular network, nor even for proving that (e.g.) a given router has the de facto ability to route packets for a given network segment (DHCP and IPv6 NDP do not count, because they have no security, so anyone can impersonate the router if they feel like it). That functionality almost(!) exists in the context of BGP and IXPs, but nobody's home network is a whole AS, so it is rather useless for LANs, even if we leave aside the fact that it regularly fails to prevent random ISPs from accidentally turning each other off due to BGP misconfigurations. I've only heard of one general idea that seems like it has any chance of working, and it looks roughly like the following: 1. When you connect to a LAN, you scan some sort of QR code or similar thing. It might be permanently etched or printed on the surface of the router, or in some other non-removable place where the consumer can easily find it. 2. Whatever you scanned contains a trust token. If not already connected to the LAN, you are prompted to do so, and then you are prompted to accept the trust token. 3. Your device imports this trust token as a limited-scope root certificate, valid only for non-global TLDs like .internal. 4. Some CA on the network holds the private key corresponding to that certificate, and may issue domain certificates based on it. Your device will trust those domain certificates while it is connected to the network. Most likely, this CA is a service running inside the router. 5. When you disconnect from the network, your device must invalidate, delete, or otherwise distrust the root certificate. There are still quite a lot of obvious problems with this: * Many consumer devices have a habit of promiscuously connecting to any WLAN they see if the current WLAN appears to be down. This raises the possibility that the user thinks they are connected to network X when in fact they are connected to network Y, and Y is hostile and attempts to impersonate some of the services offered on X. The solution is to require that trust tokens may only become active by explicit user action (ideally, only by scanning a code, so that WLANs with the same SSID do not have their trust tokens confused). * We need to validate that the user connected to the correct network for a given trust token (or else an attacker could mislead the user into importing some attacker-controlled token instead, and then impersonate local network services). This can be done at import time, by checking that some standardized non-global domain (e.g. www.certificate-check.internal) is serving HTTPS with a certificate that would be valid if we accepted the trust token, but we would need to pick a single standard domain. * More generally, publicly-accessible WLANs raise a lot of complicated and thorny questions about what constitutes "the real" network and how we should protect the user from a "fake" network. Probably the easiest way to fix this is to avoid using non-global domains on such networks (if you're a giant company providing a WiFi hotspot for your consumers, you can afford to administer one real domain for your whole setup, and then you can just use conventional/global certificates and avoid all this faff entirely). * We really ought to explain to the user what they are doing when they scan one of these codes, and give them an opportunity to cancel, but it's hard to come up with a good wording that won't confuse non-technical folks *and* will convince them that they should refuse to connect if they do not trust the source of the code. * In turn, that raises the issue that consumers don't usually pay much attention to what network they are currently on. It may be unwise to assume that users can distinguish between example.internal (on Alice's network) and example.internal (on Bob's network) without some kind of specialized UI that has not yet been invented. By assumption, we cannot display any globally-meaningful identity information to help the user figure out which is which (any means of supplying and authenticating such information would necessarily be just as difficult as using a globally-routable domain in the first place). * You would still need a means for LAN devices such as printers to talk to the CA, establish mutual trust (presumably with user supervision/approval), and get themselves a local domain and certificate. The flow described above works great for phones, but most printers cannot scan a QR code. There are a variety of options here, but something would need to be standardized so we don't end up with fifty mutually-incompatible onboarding flows.
Posted Mar 6, 2025 7:47 UTC (Thu) by Wol (subscriber, #4433) [Link] (12 responses)
Okay, I wouldn't want it outside a firewall, but how many old - eg printers - are there out there with an http web interface. We have two, both approaching ten years old ...
Cheers, Wol
Disable HTTPS upgrade? Posted Mar 6, 2025 8:40 UTC (Thu) by PeeWee (subscriber, #175777) [Link] (10 responses) This has nothing to do with planned obsolescence and it's quite ironic to point towards printers, which are the epitome (search for "printer") of that very practice. HTTP won't go anywhere since it is part of HTTPS, which simply uses TLS underneath, whereas HTTP relies on plain TCP directly. Disable HTTPS upgrade? Posted Mar 6, 2025 13:06 UTC (Thu) by ballombe (subscriber, #9523) [Link] (9 responses) Old webservers use old versions of TLS that are rejected by newer browsers for security reasons, thus they are not reachable by https anymore. Disable HTTPS upgrade? Posted Mar 6, 2025 23:38 UTC (Thu) by PeeWee (subscriber, #175777) [Link] (8 responses) Good riddance, I say to that. Who runs such ancient setups anyway? If they cannot be bothered to upgrade their servers, they cannot be trusted wholesale and thus TLS should rightly fail. Disable HTTPS upgrade? Posted Mar 7, 2025 19:47 UTC (Fri) by Cyberax (✭ supporter ✭, #52523) [Link] (7 responses) Plenty of older networking gear, for example. I have a UPS from 2008 that has a management interface with an obsolete TLS. Still perfectly usable and secure (if the management interface is on a separate VLAN). Disable HTTPS upgrade? Posted Mar 7, 2025 21:46 UTC (Fri) by PeeWee (subscriber, #175777) [Link] (6 responses) if the management interface is on a separate VLAN Which basically means TLS is pointless anyway. Try harder next time or just stop making up excuses for you unfounded ranting. Disable HTTPS upgrade? Posted Mar 7, 2025 21:48 UTC (Fri) by Cyberax (✭ supporter ✭, #52523) [Link] (5 responses) Your statement was: > Who runs such ancient setups anyway? I'm replying to it. There is plenty of old gear that has obsolete TLS, and has to use plain HTTP. Disable HTTPS upgrade? Posted Mar 7, 2025 22:06 UTC (Fri) by PeeWee (subscriber, #175777) [Link] (4 responses) And how does FF stop anyone from doing that? Enter a complete URI with explicit http: scheme and everything is just fine. Also the previous example was about ancient TLS, or rather SSL as it was called back then. Anything running SSL is obsolete by definition and one can just as well use plaintext HTTP, which may be the saner choice since it does not even pretend and thus won't provide a false sense of security. And now the weather: over at LWN there was a strom light breeze in a tea cup, caused by users of deprecated software blowing off steam while fighting over a giant nixnothingburger. And with that I wish you all a good night and an even better early spring weekend. ;) Disable HTTPS upgrade? Posted Mar 8, 2025 0:29 UTC (Sat) by Cyberax (✭ supporter ✭, #52523) [Link] (3 responses) > And how does FF stop anyone from doing that? By forcing HTTPS and sticking to it, even if you specify "http". Disable HTTPS upgrade? Posted Mar 8, 2025 1:02 UTC (Sat) by pizza (subscriber, #46) [Link] (2 responses) >> And how does FF stop anyone from doing that? >By forcing HTTPS and sticking to it, even if you specify "http". And then helpfully "remembering" your "choice". I fight with FF over this crap on average a couple of times a week. Disable HTTPS upgrade? Posted Mar 8, 2025 6:51 UTC (Sat) by PeeWee (subscriber, #175777) [Link] (1 responses) A poor craftsman blames his tools. Again: You open the history sidebar (Ctrl-H), or the history manager (Ctrl-Shift-H), find and select the offending site, right-click it and select Forget About This Site..., and afterwards you open it only once by explicitly specifying the http: scheme, FF will remember your choice and subsequently you can open it without it. If you guys would spend half as much time on actually trying to solve problems as you do on this pointless ranting, you may just end up with lower blood pressure and live longer and, most importantly, happier. It took me all of one minute to figure this out, once I understood what was happening. OK one and a half, two, tops; and only because I created a fresh profile to test the procedure - you are welcome BTW. And I have posted this further up already. If that does not fix the issue, report a bug, instead of polluting public forums with your foulmouthed ranting, which only serves to frustrate you and others while leaving Mozilla totally oblivious to the fact there might, just might, be an issue. It's a new feature after all, and I bet, you guys are the loud minority complaining about it while the vast majority welcomes it, me included. Or switch to a different browser if you hate FF that much. Or just do you, I don't care. But be prepared to be ridiculed, if you keep this up. With this all being said, ever so redundantly, we come to the weather report: still unchanged. Stop here Posted Mar 8, 2025 14:19 UTC (Sat) by corbet (editor, #1) [Link] OK, please, let's just bring an end to this thread, and to this style of discussion. We can do better. Disable HTTPS upgrade? Posted Mar 6, 2025 19:01 UTC (Thu) by NYKevin (subscriber, #129325) [Link] You can't really get rid of local (LAN) HTTP. Or at least, there is no reasonable way to do it. In order to serve HTTPS over a LAN, you need a globally routable domain that you can administer (from the LAN). Technically, you do not need to purchase a separate second-level domain for every consumer - it would be enough to buy one domain and give every consumer a separate subdomain, and then use split-horizon DNS so that each consumer only sees their own subdomain (Let's Encrypt and other CAs will happily give you a certificate if you can manipulate DNS records, even if you cannot serve HTTPS on the public web - I know this because I do it on my own LAN). But nobody wants to administer a solution that involves managing so many subdomains with trust delegated to consumers. You would need a separate API key for each instance of the product, a flow for recovering from an account lockout or device wipe, probably some fairly beefy DNS nameservers, and so on. To make things even worse, I can't see a way to avoid remote-bricking these devices when you're no longer interested in supporting them (your DNS nameservers go away, the devices can no longer renew their HTTPS certificates, they expire, the end). I'm not going to say this is impossible as a solution, but it is IMHO unreasonably complicated for such a straightforward premise, assuming you want to do it at scale as an OEM, and not just as a one-off hobbyist configuration for your own personal network. There are explicitly non-global domains, such as *.home.arpa and *.internal, and you can (legitimately) make up addresses under those domains and serve them using split-horizon (as well as funkier options, like mDNS for *.local), but there is as yet no consensus on how trust should work in that case. Who has the authority to assert these names, and issue certificates for them? It can't be the "regular" global CAs (they do not know which LAN the user is on, and therefore which example.internal is the "real" example.internal from that user's perspective), so they would need to be issued by some sort of local or per-LAN CA. But that just begs the question. IP has no trust hierarchy - when a packet leaves your device, it's up to the rest of the network to decide what to do with it. There is no IP-based procedure for identifying an "authority" for a particular network, nor even for proving that (e.g.) a given router has the de facto ability to route packets for a given network segment (DHCP and IPv6 NDP do not count, because they have no security, so anyone can impersonate the router if they feel like it). That functionality almost(!) exists in the context of BGP and IXPs, but nobody's home network is a whole AS, so it is rather useless for LANs, even if we leave aside the fact that it regularly fails to prevent random ISPs from accidentally turning each other off due to BGP misconfigurations. I've only heard of one general idea that seems like it has any chance of working, and it looks roughly like the following: 1. When you connect to a LAN, you scan some sort of QR code or similar thing. It might be permanently etched or printed on the surface of the router, or in some other non-removable place where the consumer can easily find it. 2. Whatever you scanned contains a trust token. If not already connected to the LAN, you are prompted to do so, and then you are prompted to accept the trust token. 3. Your device imports this trust token as a limited-scope root certificate, valid only for non-global TLDs like .internal. 4. Some CA on the network holds the private key corresponding to that certificate, and may issue domain certificates based on it. Your device will trust those domain certificates while it is connected to the network. Most likely, this CA is a service running inside the router. 5. When you disconnect from the network, your device must invalidate, delete, or otherwise distrust the root certificate. There are still quite a lot of obvious problems with this: * Many consumer devices have a habit of promiscuously connecting to any WLAN they see if the current WLAN appears to be down. This raises the possibility that the user thinks they are connected to network X when in fact they are connected to network Y, and Y is hostile and attempts to impersonate some of the services offered on X. The solution is to require that trust tokens may only become active by explicit user action (ideally, only by scanning a code, so that WLANs with the same SSID do not have their trust tokens confused). * We need to validate that the user connected to the correct network for a given trust token (or else an attacker could mislead the user into importing some attacker-controlled token instead, and then impersonate local network services). This can be done at import time, by checking that some standardized non-global domain (e.g. www.certificate-check.internal) is serving HTTPS with a certificate that would be valid if we accepted the trust token, but we would need to pick a single standard domain. * More generally, publicly-accessible WLANs raise a lot of complicated and thorny questions about what constitutes "the real" network and how we should protect the user from a "fake" network. Probably the easiest way to fix this is to avoid using non-global domains on such networks (if you're a giant company providing a WiFi hotspot for your consumers, you can afford to administer one real domain for your whole setup, and then you can just use conventional/global certificates and avoid all this faff entirely). * We really ought to explain to the user what they are doing when they scan one of these codes, and give them an opportunity to cancel, but it's hard to come up with a good wording that won't confuse non-technical folks *and* will convince them that they should refuse to connect if they do not trust the source of the code. * In turn, that raises the issue that consumers don't usually pay much attention to what network they are currently on. It may be unwise to assume that users can distinguish between example.internal (on Alice's network) and example.internal (on Bob's network) without some kind of specialized UI that has not yet been invented. By assumption, we cannot display any globally-meaningful identity information to help the user figure out which is which (any means of supplying and authenticating such information would necessarily be just as difficult as using a globally-routable domain in the first place). * You would still need a means for LAN devices such as printers to talk to the CA, establish mutual trust (presumably with user supervision/approval), and get themselves a local domain and certificate. The flow described above works great for phones, but most printers cannot scan a QR code. There are a variety of options here, but something would need to be standardized so we don't end up with fifty mutually-incompatible onboarding flows.
Posted Mar 6, 2025 8:40 UTC (Thu) by PeeWee (subscriber, #175777) [Link] (10 responses)
Disable HTTPS upgrade? Posted Mar 6, 2025 13:06 UTC (Thu) by ballombe (subscriber, #9523) [Link] (9 responses) Old webservers use old versions of TLS that are rejected by newer browsers for security reasons, thus they are not reachable by https anymore. Disable HTTPS upgrade? Posted Mar 6, 2025 23:38 UTC (Thu) by PeeWee (subscriber, #175777) [Link] (8 responses) Good riddance, I say to that. Who runs such ancient setups anyway? If they cannot be bothered to upgrade their servers, they cannot be trusted wholesale and thus TLS should rightly fail. Disable HTTPS upgrade? Posted Mar 7, 2025 19:47 UTC (Fri) by Cyberax (✭ supporter ✭, #52523) [Link] (7 responses) Plenty of older networking gear, for example. I have a UPS from 2008 that has a management interface with an obsolete TLS. Still perfectly usable and secure (if the management interface is on a separate VLAN). Disable HTTPS upgrade? Posted Mar 7, 2025 21:46 UTC (Fri) by PeeWee (subscriber, #175777) [Link] (6 responses) if the management interface is on a separate VLAN Which basically means TLS is pointless anyway. Try harder next time or just stop making up excuses for you unfounded ranting. Disable HTTPS upgrade? Posted Mar 7, 2025 21:48 UTC (Fri) by Cyberax (✭ supporter ✭, #52523) [Link] (5 responses) Your statement was: > Who runs such ancient setups anyway? I'm replying to it. There is plenty of old gear that has obsolete TLS, and has to use plain HTTP. Disable HTTPS upgrade? Posted Mar 7, 2025 22:06 UTC (Fri) by PeeWee (subscriber, #175777) [Link] (4 responses) And how does FF stop anyone from doing that? Enter a complete URI with explicit http: scheme and everything is just fine. Also the previous example was about ancient TLS, or rather SSL as it was called back then. Anything running SSL is obsolete by definition and one can just as well use plaintext HTTP, which may be the saner choice since it does not even pretend and thus won't provide a false sense of security. And now the weather: over at LWN there was a strom light breeze in a tea cup, caused by users of deprecated software blowing off steam while fighting over a giant nixnothingburger. And with that I wish you all a good night and an even better early spring weekend. ;) Disable HTTPS upgrade? Posted Mar 8, 2025 0:29 UTC (Sat) by Cyberax (✭ supporter ✭, #52523) [Link] (3 responses) > And how does FF stop anyone from doing that? By forcing HTTPS and sticking to it, even if you specify "http". Disable HTTPS upgrade? Posted Mar 8, 2025 1:02 UTC (Sat) by pizza (subscriber, #46) [Link] (2 responses) >> And how does FF stop anyone from doing that? >By forcing HTTPS and sticking to it, even if you specify "http". And then helpfully "remembering" your "choice". I fight with FF over this crap on average a couple of times a week. Disable HTTPS upgrade? Posted Mar 8, 2025 6:51 UTC (Sat) by PeeWee (subscriber, #175777) [Link] (1 responses) A poor craftsman blames his tools. Again: You open the history sidebar (Ctrl-H), or the history manager (Ctrl-Shift-H), find and select the offending site, right-click it and select Forget About This Site..., and afterwards you open it only once by explicitly specifying the http: scheme, FF will remember your choice and subsequently you can open it without it. If you guys would spend half as much time on actually trying to solve problems as you do on this pointless ranting, you may just end up with lower blood pressure and live longer and, most importantly, happier. It took me all of one minute to figure this out, once I understood what was happening. OK one and a half, two, tops; and only because I created a fresh profile to test the procedure - you are welcome BTW. And I have posted this further up already. If that does not fix the issue, report a bug, instead of polluting public forums with your foulmouthed ranting, which only serves to frustrate you and others while leaving Mozilla totally oblivious to the fact there might, just might, be an issue. It's a new feature after all, and I bet, you guys are the loud minority complaining about it while the vast majority welcomes it, me included. Or switch to a different browser if you hate FF that much. Or just do you, I don't care. But be prepared to be ridiculed, if you keep this up. With this all being said, ever so redundantly, we come to the weather report: still unchanged. Stop here Posted Mar 8, 2025 14:19 UTC (Sat) by corbet (editor, #1) [Link] OK, please, let's just bring an end to this thread, and to this style of discussion. We can do better.
Posted Mar 6, 2025 13:06 UTC (Thu) by ballombe (subscriber, #9523) [Link] (9 responses)
Disable HTTPS upgrade? Posted Mar 6, 2025 23:38 UTC (Thu) by PeeWee (subscriber, #175777) [Link] (8 responses) Good riddance, I say to that. Who runs such ancient setups anyway? If they cannot be bothered to upgrade their servers, they cannot be trusted wholesale and thus TLS should rightly fail. Disable HTTPS upgrade? Posted Mar 7, 2025 19:47 UTC (Fri) by Cyberax (✭ supporter ✭, #52523) [Link] (7 responses) Plenty of older networking gear, for example. I have a UPS from 2008 that has a management interface with an obsolete TLS. Still perfectly usable and secure (if the management interface is on a separate VLAN). Disable HTTPS upgrade? Posted Mar 7, 2025 21:46 UTC (Fri) by PeeWee (subscriber, #175777) [Link] (6 responses) if the management interface is on a separate VLAN Which basically means TLS is pointless anyway. Try harder next time or just stop making up excuses for you unfounded ranting. Disable HTTPS upgrade? Posted Mar 7, 2025 21:48 UTC (Fri) by Cyberax (✭ supporter ✭, #52523) [Link] (5 responses) Your statement was: > Who runs such ancient setups anyway? I'm replying to it. There is plenty of old gear that has obsolete TLS, and has to use plain HTTP. Disable HTTPS upgrade? Posted Mar 7, 2025 22:06 UTC (Fri) by PeeWee (subscriber, #175777) [Link] (4 responses) And how does FF stop anyone from doing that? Enter a complete URI with explicit http: scheme and everything is just fine. Also the previous example was about ancient TLS, or rather SSL as it was called back then. Anything running SSL is obsolete by definition and one can just as well use plaintext HTTP, which may be the saner choice since it does not even pretend and thus won't provide a false sense of security. And now the weather: over at LWN there was a strom light breeze in a tea cup, caused by users of deprecated software blowing off steam while fighting over a giant nixnothingburger. And with that I wish you all a good night and an even better early spring weekend. ;) Disable HTTPS upgrade? Posted Mar 8, 2025 0:29 UTC (Sat) by Cyberax (✭ supporter ✭, #52523) [Link] (3 responses) > And how does FF stop anyone from doing that? By forcing HTTPS and sticking to it, even if you specify "http". Disable HTTPS upgrade? Posted Mar 8, 2025 1:02 UTC (Sat) by pizza (subscriber, #46) [Link] (2 responses) >> And how does FF stop anyone from doing that? >By forcing HTTPS and sticking to it, even if you specify "http". And then helpfully "remembering" your "choice". I fight with FF over this crap on average a couple of times a week. Disable HTTPS upgrade? Posted Mar 8, 2025 6:51 UTC (Sat) by PeeWee (subscriber, #175777) [Link] (1 responses) A poor craftsman blames his tools. Again: You open the history sidebar (Ctrl-H), or the history manager (Ctrl-Shift-H), find and select the offending site, right-click it and select Forget About This Site..., and afterwards you open it only once by explicitly specifying the http: scheme, FF will remember your choice and subsequently you can open it without it. If you guys would spend half as much time on actually trying to solve problems as you do on this pointless ranting, you may just end up with lower blood pressure and live longer and, most importantly, happier. It took me all of one minute to figure this out, once I understood what was happening. OK one and a half, two, tops; and only because I created a fresh profile to test the procedure - you are welcome BTW. And I have posted this further up already. If that does not fix the issue, report a bug, instead of polluting public forums with your foulmouthed ranting, which only serves to frustrate you and others while leaving Mozilla totally oblivious to the fact there might, just might, be an issue. It's a new feature after all, and I bet, you guys are the loud minority complaining about it while the vast majority welcomes it, me included. Or switch to a different browser if you hate FF that much. Or just do you, I don't care. But be prepared to be ridiculed, if you keep this up. With this all being said, ever so redundantly, we come to the weather report: still unchanged. Stop here Posted Mar 8, 2025 14:19 UTC (Sat) by corbet (editor, #1) [Link] OK, please, let's just bring an end to this thread, and to this style of discussion. We can do better.
Posted Mar 6, 2025 23:38 UTC (Thu) by PeeWee (subscriber, #175777) [Link] (8 responses)
Disable HTTPS upgrade? Posted Mar 7, 2025 19:47 UTC (Fri) by Cyberax (✭ supporter ✭, #52523) [Link] (7 responses) Plenty of older networking gear, for example. I have a UPS from 2008 that has a management interface with an obsolete TLS. Still perfectly usable and secure (if the management interface is on a separate VLAN). Disable HTTPS upgrade? Posted Mar 7, 2025 21:46 UTC (Fri) by PeeWee (subscriber, #175777) [Link] (6 responses) if the management interface is on a separate VLAN Which basically means TLS is pointless anyway. Try harder next time or just stop making up excuses for you unfounded ranting. Disable HTTPS upgrade? Posted Mar 7, 2025 21:48 UTC (Fri) by Cyberax (✭ supporter ✭, #52523) [Link] (5 responses) Your statement was: > Who runs such ancient setups anyway? I'm replying to it. There is plenty of old gear that has obsolete TLS, and has to use plain HTTP. Disable HTTPS upgrade? Posted Mar 7, 2025 22:06 UTC (Fri) by PeeWee (subscriber, #175777) [Link] (4 responses) And how does FF stop anyone from doing that? Enter a complete URI with explicit http: scheme and everything is just fine. Also the previous example was about ancient TLS, or rather SSL as it was called back then. Anything running SSL is obsolete by definition and one can just as well use plaintext HTTP, which may be the saner choice since it does not even pretend and thus won't provide a false sense of security. And now the weather: over at LWN there was a strom light breeze in a tea cup, caused by users of deprecated software blowing off steam while fighting over a giant nixnothingburger. And with that I wish you all a good night and an even better early spring weekend. ;) Disable HTTPS upgrade? Posted Mar 8, 2025 0:29 UTC (Sat) by Cyberax (✭ supporter ✭, #52523) [Link] (3 responses) > And how does FF stop anyone from doing that? By forcing HTTPS and sticking to it, even if you specify "http". Disable HTTPS upgrade? Posted Mar 8, 2025 1:02 UTC (Sat) by pizza (subscriber, #46) [Link] (2 responses) >> And how does FF stop anyone from doing that? >By forcing HTTPS and sticking to it, even if you specify "http". And then helpfully "remembering" your "choice". I fight with FF over this crap on average a couple of times a week. Disable HTTPS upgrade? Posted Mar 8, 2025 6:51 UTC (Sat) by PeeWee (subscriber, #175777) [Link] (1 responses) A poor craftsman blames his tools. Again: You open the history sidebar (Ctrl-H), or the history manager (Ctrl-Shift-H), find and select the offending site, right-click it and select Forget About This Site..., and afterwards you open it only once by explicitly specifying the http: scheme, FF will remember your choice and subsequently you can open it without it. If you guys would spend half as much time on actually trying to solve problems as you do on this pointless ranting, you may just end up with lower blood pressure and live longer and, most importantly, happier. It took me all of one minute to figure this out, once I understood what was happening. OK one and a half, two, tops; and only because I created a fresh profile to test the procedure - you are welcome BTW. And I have posted this further up already. If that does not fix the issue, report a bug, instead of polluting public forums with your foulmouthed ranting, which only serves to frustrate you and others while leaving Mozilla totally oblivious to the fact there might, just might, be an issue. It's a new feature after all, and I bet, you guys are the loud minority complaining about it while the vast majority welcomes it, me included. Or switch to a different browser if you hate FF that much. Or just do you, I don't care. But be prepared to be ridiculed, if you keep this up. With this all being said, ever so redundantly, we come to the weather report: still unchanged. Stop here Posted Mar 8, 2025 14:19 UTC (Sat) by corbet (editor, #1) [Link] OK, please, let's just bring an end to this thread, and to this style of discussion. We can do better.
Posted Mar 7, 2025 19:47 UTC (Fri) by Cyberax (✭ supporter ✭, #52523) [Link] (7 responses)
Disable HTTPS upgrade? Posted Mar 7, 2025 21:46 UTC (Fri) by PeeWee (subscriber, #175777) [Link] (6 responses) if the management interface is on a separate VLAN Which basically means TLS is pointless anyway. Try harder next time or just stop making up excuses for you unfounded ranting. Disable HTTPS upgrade? Posted Mar 7, 2025 21:48 UTC (Fri) by Cyberax (✭ supporter ✭, #52523) [Link] (5 responses) Your statement was: > Who runs such ancient setups anyway? I'm replying to it. There is plenty of old gear that has obsolete TLS, and has to use plain HTTP. Disable HTTPS upgrade? Posted Mar 7, 2025 22:06 UTC (Fri) by PeeWee (subscriber, #175777) [Link] (4 responses) And how does FF stop anyone from doing that? Enter a complete URI with explicit http: scheme and everything is just fine. Also the previous example was about ancient TLS, or rather SSL as it was called back then. Anything running SSL is obsolete by definition and one can just as well use plaintext HTTP, which may be the saner choice since it does not even pretend and thus won't provide a false sense of security. And now the weather: over at LWN there was a strom light breeze in a tea cup, caused by users of deprecated software blowing off steam while fighting over a giant nixnothingburger. And with that I wish you all a good night and an even better early spring weekend. ;) Disable HTTPS upgrade? Posted Mar 8, 2025 0:29 UTC (Sat) by Cyberax (✭ supporter ✭, #52523) [Link] (3 responses) > And how does FF stop anyone from doing that? By forcing HTTPS and sticking to it, even if you specify "http". Disable HTTPS upgrade? Posted Mar 8, 2025 1:02 UTC (Sat) by pizza (subscriber, #46) [Link] (2 responses) >> And how does FF stop anyone from doing that? >By forcing HTTPS and sticking to it, even if you specify "http". And then helpfully "remembering" your "choice". I fight with FF over this crap on average a couple of times a week. Disable HTTPS upgrade? Posted Mar 8, 2025 6:51 UTC (Sat) by PeeWee (subscriber, #175777) [Link] (1 responses) A poor craftsman blames his tools. Again: You open the history sidebar (Ctrl-H), or the history manager (Ctrl-Shift-H), find and select the offending site, right-click it and select Forget About This Site..., and afterwards you open it only once by explicitly specifying the http: scheme, FF will remember your choice and subsequently you can open it without it. If you guys would spend half as much time on actually trying to solve problems as you do on this pointless ranting, you may just end up with lower blood pressure and live longer and, most importantly, happier. It took me all of one minute to figure this out, once I understood what was happening. OK one and a half, two, tops; and only because I created a fresh profile to test the procedure - you are welcome BTW. And I have posted this further up already. If that does not fix the issue, report a bug, instead of polluting public forums with your foulmouthed ranting, which only serves to frustrate you and others while leaving Mozilla totally oblivious to the fact there might, just might, be an issue. It's a new feature after all, and I bet, you guys are the loud minority complaining about it while the vast majority welcomes it, me included. Or switch to a different browser if you hate FF that much. Or just do you, I don't care. But be prepared to be ridiculed, if you keep this up. With this all being said, ever so redundantly, we come to the weather report: still unchanged. Stop here Posted Mar 8, 2025 14:19 UTC (Sat) by corbet (editor, #1) [Link] OK, please, let's just bring an end to this thread, and to this style of discussion. We can do better.
Posted Mar 7, 2025 21:46 UTC (Fri) by PeeWee (subscriber, #175777) [Link] (6 responses)
if the management interface is on a separate VLAN
Which basically means TLS is pointless anyway. Try harder next time or just stop making up excuses for you unfounded ranting.
Disable HTTPS upgrade? Posted Mar 7, 2025 21:48 UTC (Fri) by Cyberax (✭ supporter ✭, #52523) [Link] (5 responses) Your statement was: > Who runs such ancient setups anyway? I'm replying to it. There is plenty of old gear that has obsolete TLS, and has to use plain HTTP. Disable HTTPS upgrade? Posted Mar 7, 2025 22:06 UTC (Fri) by PeeWee (subscriber, #175777) [Link] (4 responses) And how does FF stop anyone from doing that? Enter a complete URI with explicit http: scheme and everything is just fine. Also the previous example was about ancient TLS, or rather SSL as it was called back then. Anything running SSL is obsolete by definition and one can just as well use plaintext HTTP, which may be the saner choice since it does not even pretend and thus won't provide a false sense of security. And now the weather: over at LWN there was a strom light breeze in a tea cup, caused by users of deprecated software blowing off steam while fighting over a giant nixnothingburger. And with that I wish you all a good night and an even better early spring weekend. ;) Disable HTTPS upgrade? Posted Mar 8, 2025 0:29 UTC (Sat) by Cyberax (✭ supporter ✭, #52523) [Link] (3 responses) > And how does FF stop anyone from doing that? By forcing HTTPS and sticking to it, even if you specify "http". Disable HTTPS upgrade? Posted Mar 8, 2025 1:02 UTC (Sat) by pizza (subscriber, #46) [Link] (2 responses) >> And how does FF stop anyone from doing that? >By forcing HTTPS and sticking to it, even if you specify "http". And then helpfully "remembering" your "choice". I fight with FF over this crap on average a couple of times a week. Disable HTTPS upgrade? Posted Mar 8, 2025 6:51 UTC (Sat) by PeeWee (subscriber, #175777) [Link] (1 responses) A poor craftsman blames his tools. Again: You open the history sidebar (Ctrl-H), or the history manager (Ctrl-Shift-H), find and select the offending site, right-click it and select Forget About This Site..., and afterwards you open it only once by explicitly specifying the http: scheme, FF will remember your choice and subsequently you can open it without it. If you guys would spend half as much time on actually trying to solve problems as you do on this pointless ranting, you may just end up with lower blood pressure and live longer and, most importantly, happier. It took me all of one minute to figure this out, once I understood what was happening. OK one and a half, two, tops; and only because I created a fresh profile to test the procedure - you are welcome BTW. And I have posted this further up already. If that does not fix the issue, report a bug, instead of polluting public forums with your foulmouthed ranting, which only serves to frustrate you and others while leaving Mozilla totally oblivious to the fact there might, just might, be an issue. It's a new feature after all, and I bet, you guys are the loud minority complaining about it while the vast majority welcomes it, me included. Or switch to a different browser if you hate FF that much. Or just do you, I don't care. But be prepared to be ridiculed, if you keep this up. With this all being said, ever so redundantly, we come to the weather report: still unchanged. Stop here Posted Mar 8, 2025 14:19 UTC (Sat) by corbet (editor, #1) [Link] OK, please, let's just bring an end to this thread, and to this style of discussion. We can do better.
Posted Mar 7, 2025 21:48 UTC (Fri) by Cyberax (✭ supporter ✭, #52523) [Link] (5 responses)
> Who runs such ancient setups anyway?
I'm replying to it. There is plenty of old gear that has obsolete TLS, and has to use plain HTTP.
Disable HTTPS upgrade? Posted Mar 7, 2025 22:06 UTC (Fri) by PeeWee (subscriber, #175777) [Link] (4 responses) And how does FF stop anyone from doing that? Enter a complete URI with explicit http: scheme and everything is just fine. Also the previous example was about ancient TLS, or rather SSL as it was called back then. Anything running SSL is obsolete by definition and one can just as well use plaintext HTTP, which may be the saner choice since it does not even pretend and thus won't provide a false sense of security. And now the weather: over at LWN there was a strom light breeze in a tea cup, caused by users of deprecated software blowing off steam while fighting over a giant nixnothingburger. And with that I wish you all a good night and an even better early spring weekend. ;) Disable HTTPS upgrade? Posted Mar 8, 2025 0:29 UTC (Sat) by Cyberax (✭ supporter ✭, #52523) [Link] (3 responses) > And how does FF stop anyone from doing that? By forcing HTTPS and sticking to it, even if you specify "http". Disable HTTPS upgrade? Posted Mar 8, 2025 1:02 UTC (Sat) by pizza (subscriber, #46) [Link] (2 responses) >> And how does FF stop anyone from doing that? >By forcing HTTPS and sticking to it, even if you specify "http". And then helpfully "remembering" your "choice". I fight with FF over this crap on average a couple of times a week. Disable HTTPS upgrade? Posted Mar 8, 2025 6:51 UTC (Sat) by PeeWee (subscriber, #175777) [Link] (1 responses) A poor craftsman blames his tools. Again: You open the history sidebar (Ctrl-H), or the history manager (Ctrl-Shift-H), find and select the offending site, right-click it and select Forget About This Site..., and afterwards you open it only once by explicitly specifying the http: scheme, FF will remember your choice and subsequently you can open it without it. If you guys would spend half as much time on actually trying to solve problems as you do on this pointless ranting, you may just end up with lower blood pressure and live longer and, most importantly, happier. It took me all of one minute to figure this out, once I understood what was happening. OK one and a half, two, tops; and only because I created a fresh profile to test the procedure - you are welcome BTW. And I have posted this further up already. If that does not fix the issue, report a bug, instead of polluting public forums with your foulmouthed ranting, which only serves to frustrate you and others while leaving Mozilla totally oblivious to the fact there might, just might, be an issue. It's a new feature after all, and I bet, you guys are the loud minority complaining about it while the vast majority welcomes it, me included. Or switch to a different browser if you hate FF that much. Or just do you, I don't care. But be prepared to be ridiculed, if you keep this up. With this all being said, ever so redundantly, we come to the weather report: still unchanged. Stop here Posted Mar 8, 2025 14:19 UTC (Sat) by corbet (editor, #1) [Link] OK, please, let's just bring an end to this thread, and to this style of discussion. We can do better.
Posted Mar 7, 2025 22:06 UTC (Fri) by PeeWee (subscriber, #175777) [Link] (4 responses)
And how does FF stop anyone from doing that? Enter a complete URI with explicit http: scheme and everything is just fine. Also the previous example was about ancient TLS, or rather SSL as it was called back then. Anything running SSL is obsolete by definition and one can just as well use plaintext HTTP, which may be the saner choice since it does not even pretend and thus won't provide a false sense of security.
And now the weather: over at LWN there was a strom light breeze in a tea cup, caused by users of deprecated software blowing off steam while fighting over a giant nixnothingburger. And with that I wish you all a good night and an even better early spring weekend. ;)
Disable HTTPS upgrade? Posted Mar 8, 2025 0:29 UTC (Sat) by Cyberax (✭ supporter ✭, #52523) [Link] (3 responses) > And how does FF stop anyone from doing that? By forcing HTTPS and sticking to it, even if you specify "http". Disable HTTPS upgrade? Posted Mar 8, 2025 1:02 UTC (Sat) by pizza (subscriber, #46) [Link] (2 responses) >> And how does FF stop anyone from doing that? >By forcing HTTPS and sticking to it, even if you specify "http". And then helpfully "remembering" your "choice". I fight with FF over this crap on average a couple of times a week. Disable HTTPS upgrade? Posted Mar 8, 2025 6:51 UTC (Sat) by PeeWee (subscriber, #175777) [Link] (1 responses) A poor craftsman blames his tools. Again: You open the history sidebar (Ctrl-H), or the history manager (Ctrl-Shift-H), find and select the offending site, right-click it and select Forget About This Site..., and afterwards you open it only once by explicitly specifying the http: scheme, FF will remember your choice and subsequently you can open it without it. If you guys would spend half as much time on actually trying to solve problems as you do on this pointless ranting, you may just end up with lower blood pressure and live longer and, most importantly, happier. It took me all of one minute to figure this out, once I understood what was happening. OK one and a half, two, tops; and only because I created a fresh profile to test the procedure - you are welcome BTW. And I have posted this further up already. If that does not fix the issue, report a bug, instead of polluting public forums with your foulmouthed ranting, which only serves to frustrate you and others while leaving Mozilla totally oblivious to the fact there might, just might, be an issue. It's a new feature after all, and I bet, you guys are the loud minority complaining about it while the vast majority welcomes it, me included. Or switch to a different browser if you hate FF that much. Or just do you, I don't care. But be prepared to be ridiculed, if you keep this up. With this all being said, ever so redundantly, we come to the weather report: still unchanged. Stop here Posted Mar 8, 2025 14:19 UTC (Sat) by corbet (editor, #1) [Link] OK, please, let's just bring an end to this thread, and to this style of discussion. We can do better.
Posted Mar 8, 2025 0:29 UTC (Sat) by Cyberax (✭ supporter ✭, #52523) [Link] (3 responses)
By forcing HTTPS and sticking to it, even if you specify "http".
Disable HTTPS upgrade? Posted Mar 8, 2025 1:02 UTC (Sat) by pizza (subscriber, #46) [Link] (2 responses) >> And how does FF stop anyone from doing that? >By forcing HTTPS and sticking to it, even if you specify "http". And then helpfully "remembering" your "choice". I fight with FF over this crap on average a couple of times a week. Disable HTTPS upgrade? Posted Mar 8, 2025 6:51 UTC (Sat) by PeeWee (subscriber, #175777) [Link] (1 responses) A poor craftsman blames his tools. Again: You open the history sidebar (Ctrl-H), or the history manager (Ctrl-Shift-H), find and select the offending site, right-click it and select Forget About This Site..., and afterwards you open it only once by explicitly specifying the http: scheme, FF will remember your choice and subsequently you can open it without it. If you guys would spend half as much time on actually trying to solve problems as you do on this pointless ranting, you may just end up with lower blood pressure and live longer and, most importantly, happier. It took me all of one minute to figure this out, once I understood what was happening. OK one and a half, two, tops; and only because I created a fresh profile to test the procedure - you are welcome BTW. And I have posted this further up already. If that does not fix the issue, report a bug, instead of polluting public forums with your foulmouthed ranting, which only serves to frustrate you and others while leaving Mozilla totally oblivious to the fact there might, just might, be an issue. It's a new feature after all, and I bet, you guys are the loud minority complaining about it while the vast majority welcomes it, me included. Or switch to a different browser if you hate FF that much. Or just do you, I don't care. But be prepared to be ridiculed, if you keep this up. With this all being said, ever so redundantly, we come to the weather report: still unchanged. Stop here Posted Mar 8, 2025 14:19 UTC (Sat) by corbet (editor, #1) [Link] OK, please, let's just bring an end to this thread, and to this style of discussion. We can do better.
Posted Mar 8, 2025 1:02 UTC (Sat) by pizza (subscriber, #46) [Link] (2 responses)
And then helpfully "remembering" your "choice".
I fight with FF over this crap on average a couple of times a week.
Disable HTTPS upgrade? Posted Mar 8, 2025 6:51 UTC (Sat) by PeeWee (subscriber, #175777) [Link] (1 responses) A poor craftsman blames his tools. Again: You open the history sidebar (Ctrl-H), or the history manager (Ctrl-Shift-H), find and select the offending site, right-click it and select Forget About This Site..., and afterwards you open it only once by explicitly specifying the http: scheme, FF will remember your choice and subsequently you can open it without it. If you guys would spend half as much time on actually trying to solve problems as you do on this pointless ranting, you may just end up with lower blood pressure and live longer and, most importantly, happier. It took me all of one minute to figure this out, once I understood what was happening. OK one and a half, two, tops; and only because I created a fresh profile to test the procedure - you are welcome BTW. And I have posted this further up already. If that does not fix the issue, report a bug, instead of polluting public forums with your foulmouthed ranting, which only serves to frustrate you and others while leaving Mozilla totally oblivious to the fact there might, just might, be an issue. It's a new feature after all, and I bet, you guys are the loud minority complaining about it while the vast majority welcomes it, me included. Or switch to a different browser if you hate FF that much. Or just do you, I don't care. But be prepared to be ridiculed, if you keep this up. With this all being said, ever so redundantly, we come to the weather report: still unchanged. Stop here Posted Mar 8, 2025 14:19 UTC (Sat) by corbet (editor, #1) [Link] OK, please, let's just bring an end to this thread, and to this style of discussion. We can do better.
Posted Mar 8, 2025 6:51 UTC (Sat) by PeeWee (subscriber, #175777) [Link] (1 responses)
A poor craftsman blames his tools.
Again: You open the history sidebar (Ctrl-H), or the history manager (Ctrl-Shift-H), find and select the offending site, right-click it and select Forget About This Site..., and afterwards you open it only once by explicitly specifying the http: scheme, FF will remember your choice and subsequently you can open it without it.
Ctrl-H
Ctrl-Shift-H
Forget About This Site...
If you guys would spend half as much time on actually trying to solve problems as you do on this pointless ranting, you may just end up with lower blood pressure and live longer and, most importantly, happier. It took me all of one minute to figure this out, once I understood what was happening. OK one and a half, two, tops; and only because I created a fresh profile to test the procedure - you are welcome BTW. And I have posted this further up already. If that does not fix the issue, report a bug, instead of polluting public forums with your foulmouthed ranting, which only serves to frustrate you and others while leaving Mozilla totally oblivious to the fact there might, just might, be an issue. It's a new feature after all, and I bet, you guys are the loud minority complaining about it while the vast majority welcomes it, me included.
Or switch to a different browser if you hate FF that much. Or just do you, I don't care. But be prepared to be ridiculed, if you keep this up. With this all being said, ever so redundantly, we come to the weather report: still unchanged.
Stop here Posted Mar 8, 2025 14:19 UTC (Sat) by corbet (editor, #1) [Link] OK, please, let's just bring an end to this thread, and to this style of discussion. We can do better.
Posted Mar 8, 2025 14:19 UTC (Sat) by corbet (editor, #1) [Link]
Posted Mar 6, 2025 19:01 UTC (Thu) by NYKevin (subscriber, #129325) [Link]
There are explicitly non-global domains, such as *.home.arpa and *.internal, and you can (legitimately) make up addresses under those domains and serve them using split-horizon (as well as funkier options, like mDNS for *.local), but there is as yet no consensus on how trust should work in that case. Who has the authority to assert these names, and issue certificates for them? It can't be the "regular" global CAs (they do not know which LAN the user is on, and therefore which example.internal is the "real" example.internal from that user's perspective), so they would need to be issued by some sort of local or per-LAN CA. But that just begs the question. IP has no trust hierarchy - when a packet leaves your device, it's up to the rest of the network to decide what to do with it. There is no IP-based procedure for identifying an "authority" for a particular network, nor even for proving that (e.g.) a given router has the de facto ability to route packets for a given network segment (DHCP and IPv6 NDP do not count, because they have no security, so anyone can impersonate the router if they feel like it). That functionality almost(!) exists in the context of BGP and IXPs, but nobody's home network is a whole AS, so it is rather useless for LANs, even if we leave aside the fact that it regularly fails to prevent random ISPs from accidentally turning each other off due to BGP misconfigurations.
I've only heard of one general idea that seems like it has any chance of working, and it looks roughly like the following:
1. When you connect to a LAN, you scan some sort of QR code or similar thing. It might be permanently etched or printed on the surface of the router, or in some other non-removable place where the consumer can easily find it. 2. Whatever you scanned contains a trust token. If not already connected to the LAN, you are prompted to do so, and then you are prompted to accept the trust token. 3. Your device imports this trust token as a limited-scope root certificate, valid only for non-global TLDs like .internal. 4. Some CA on the network holds the private key corresponding to that certificate, and may issue domain certificates based on it. Your device will trust those domain certificates while it is connected to the network. Most likely, this CA is a service running inside the router. 5. When you disconnect from the network, your device must invalidate, delete, or otherwise distrust the root certificate.
There are still quite a lot of obvious problems with this:
* Many consumer devices have a habit of promiscuously connecting to any WLAN they see if the current WLAN appears to be down. This raises the possibility that the user thinks they are connected to network X when in fact they are connected to network Y, and Y is hostile and attempts to impersonate some of the services offered on X. The solution is to require that trust tokens may only become active by explicit user action (ideally, only by scanning a code, so that WLANs with the same SSID do not have their trust tokens confused). * We need to validate that the user connected to the correct network for a given trust token (or else an attacker could mislead the user into importing some attacker-controlled token instead, and then impersonate local network services). This can be done at import time, by checking that some standardized non-global domain (e.g. www.certificate-check.internal) is serving HTTPS with a certificate that would be valid if we accepted the trust token, but we would need to pick a single standard domain. * More generally, publicly-accessible WLANs raise a lot of complicated and thorny questions about what constitutes "the real" network and how we should protect the user from a "fake" network. Probably the easiest way to fix this is to avoid using non-global domains on such networks (if you're a giant company providing a WiFi hotspot for your consumers, you can afford to administer one real domain for your whole setup, and then you can just use conventional/global certificates and avoid all this faff entirely). * We really ought to explain to the user what they are doing when they scan one of these codes, and give them an opportunity to cancel, but it's hard to come up with a good wording that won't confuse non-technical folks *and* will convince them that they should refuse to connect if they do not trust the source of the code. * In turn, that raises the issue that consumers don't usually pay much attention to what network they are currently on. It may be unwise to assume that users can distinguish between example.internal (on Alice's network) and example.internal (on Bob's network) without some kind of specialized UI that has not yet been invented. By assumption, we cannot display any globally-meaningful identity information to help the user figure out which is which (any means of supplying and authenticating such information would necessarily be just as difficult as using a globally-routable domain in the first place). * You would still need a means for LAN devices such as printers to talk to the CA, establish mutual trust (presumably with user supervision/approval), and get themselves a local domain and certificate. The flow described above works great for phones, but most printers cannot scan a QR code. There are a variety of options here, but something would need to be standardized so we don't end up with fifty mutually-incompatible onboarding flows.
Posted Mar 5, 2025 9:03 UTC (Wed) by rbtree (guest, #129790) [Link]
DNS-over-HTTPS falls into the same category.
Posted Mar 5, 2025 9:05 UTC (Wed) by PeeWee (subscriber, #175777) [Link] (2 responses)
Why do you even call it a misfeature? It is simply a change in default behaviour. It used to be that, if not explicitly specified, FF would use HTTP. Extensions such as HTTPS Everywhere are proof that there is/was a desire to change that. FF has supported HTTPS-Only for quite some time now and this is just the softer version of it.
I am really rather happy about this very much in demand feature and getting rid of some inconveniences one has to put with when using HTTPS-Only, which requires manual setup of exceptions, if the destination host does not support HTTPS. And @Cyberax seems to be in the habit of blaming anything but his own (mis)configurations, if his rants about systemd are anything to go by. If an explicit http:// doesn't fix it and HTTPS-Only is not active then this may well be just a bug, as in teething problem. People should really stop blowing things out of proportion. Also this may still turn out as PEBCAK.
Disable HTTPS upgrade? Posted Mar 9, 2025 14:00 UTC (Sun) by Duncan (guest, #6647) [Link] (1 responses) > FF has supported HTTPS-Only for quite some time now and this is just the softer version of it. Thanks. I wish the ff what's new and all the articles covering it had been that explicit. I've been low-key confused since I enabled HTTPS-Only when it came out (and had HTTPS-Everywhere before that), and this seemed to be the same thing. Better security by default's good, but now I've confirmed what I suspected, that this change doesn't apply to me since I'd already effectively opted into it. Again, I wish the ff what's new had specifically explained that. Disable HTTPS upgrade? Posted Mar 9, 2025 15:53 UTC (Sun) by mathstuf (subscriber, #69389) [Link] Well, I think we've seen that Mozilla's communication department is definitely lacking in the "tact" department these past weeks. I wonder if enough folks have been influenced by the vapid "bug fixes and performance improvements" update notes to see even what we get as "more effort than seems necessary" for release notes. I think the only way to push back on that is to use that as the complete commit message (maybe with an empty "What's new:" list introducer) when contributing to repos run by these companies and point to "seems good enough for you" when push back happens.
Posted Mar 9, 2025 14:00 UTC (Sun) by Duncan (guest, #6647) [Link] (1 responses)
Thanks. I wish the ff what's new and all the articles covering it had been that explicit. I've been low-key confused since I enabled HTTPS-Only when it came out (and had HTTPS-Everywhere before that), and this seemed to be the same thing. Better security by default's good, but now I've confirmed what I suspected, that this change doesn't apply to me since I'd already effectively opted into it. Again, I wish the ff what's new had specifically explained that.
Disable HTTPS upgrade? Posted Mar 9, 2025 15:53 UTC (Sun) by mathstuf (subscriber, #69389) [Link] Well, I think we've seen that Mozilla's communication department is definitely lacking in the "tact" department these past weeks. I wonder if enough folks have been influenced by the vapid "bug fixes and performance improvements" update notes to see even what we get as "more effort than seems necessary" for release notes. I think the only way to push back on that is to use that as the complete commit message (maybe with an empty "What's new:" list introducer) when contributing to repos run by these companies and point to "seems good enough for you" when push back happens.
Posted Mar 9, 2025 15:53 UTC (Sun) by mathstuf (subscriber, #69389) [Link]
I think the only way to push back on that is to use that as the complete commit message (maybe with an empty "What's new:" list introducer) when contributing to repos run by these companies and point to "seems good enough for you" when push back happens.
Posted Mar 5, 2025 7:17 UTC (Wed) by joib (subscriber, #8541) [Link] (4 responses)
I believe the new thing with Firefox 136 is that now it automatically first tries to connect via https if you just type an address without a specific "http://" string in front? I could be wrong though, I haven't looked into it in detail.
Disable HTTPS upgrade? Posted Mar 6, 2025 13:23 UTC (Thu) by taladar (subscriber, #68407) [Link] (3 responses) HSTS is nice but without preloading there is still the initial request that is insecure and could be redirected somewhere entirely different. And preloading doesn't really scale. You can't exactly have a list of every website in the world that wants to be secure just to avoid changing a default from insecure to secure. Disable HTTPS upgrade? Posted Mar 6, 2025 15:32 UTC (Thu) by arita (subscriber, #176355) [Link] (2 responses) Could they also have an https record to help alleviate that pre-loading issue? Disable HTTPS upgrade? Posted Mar 6, 2025 17:37 UTC (Thu) by draco (subscriber, #1792) [Link] (1 responses) That's RFC 9460. Firefox has support but it's apparently disabled by default. Chrome supposedly has support too, but I can't find any documentation that it is actually enabled and working (or any flag to turn it on). Browsers have long resisted adding any DNS lookups to the dependency chain for loading a page because they say people are extremely latency sensitive. It sounds like platform support for arbitrary DNS record types has been problematic too. Hence they've ignored a number of records that have been proposed to improve security (e.g., TLSA). I think that RFC was developed with their input to try to address their needs, so it's really sad to see it not be enabled. Though it's at least implemented, which is progress, I guess? Disable HTTPS upgrade? Posted Mar 7, 2025 11:13 UTC (Fri) by arita (subscriber, #176355) [Link] I found it thanks to https://hg.mozilla.org/integration/autoland/rev/34c9c9b0de17. Seems to be enabled by default for roughly the last 4 years in firefox. about:config network.dns.upgrade_with_https_rr = true network.dns.use_https_rr_as_altsvc = true
Posted Mar 6, 2025 13:23 UTC (Thu) by taladar (subscriber, #68407) [Link] (3 responses)
And preloading doesn't really scale. You can't exactly have a list of every website in the world that wants to be secure just to avoid changing a default from insecure to secure.
Disable HTTPS upgrade? Posted Mar 6, 2025 15:32 UTC (Thu) by arita (subscriber, #176355) [Link] (2 responses) Could they also have an https record to help alleviate that pre-loading issue? Disable HTTPS upgrade? Posted Mar 6, 2025 17:37 UTC (Thu) by draco (subscriber, #1792) [Link] (1 responses) That's RFC 9460. Firefox has support but it's apparently disabled by default. Chrome supposedly has support too, but I can't find any documentation that it is actually enabled and working (or any flag to turn it on). Browsers have long resisted adding any DNS lookups to the dependency chain for loading a page because they say people are extremely latency sensitive. It sounds like platform support for arbitrary DNS record types has been problematic too. Hence they've ignored a number of records that have been proposed to improve security (e.g., TLSA). I think that RFC was developed with their input to try to address their needs, so it's really sad to see it not be enabled. Though it's at least implemented, which is progress, I guess? Disable HTTPS upgrade? Posted Mar 7, 2025 11:13 UTC (Fri) by arita (subscriber, #176355) [Link] I found it thanks to https://hg.mozilla.org/integration/autoland/rev/34c9c9b0de17. Seems to be enabled by default for roughly the last 4 years in firefox. about:config network.dns.upgrade_with_https_rr = true network.dns.use_https_rr_as_altsvc = true
Posted Mar 6, 2025 15:32 UTC (Thu) by arita (subscriber, #176355) [Link] (2 responses)
Disable HTTPS upgrade? Posted Mar 6, 2025 17:37 UTC (Thu) by draco (subscriber, #1792) [Link] (1 responses) That's RFC 9460. Firefox has support but it's apparently disabled by default. Chrome supposedly has support too, but I can't find any documentation that it is actually enabled and working (or any flag to turn it on). Browsers have long resisted adding any DNS lookups to the dependency chain for loading a page because they say people are extremely latency sensitive. It sounds like platform support for arbitrary DNS record types has been problematic too. Hence they've ignored a number of records that have been proposed to improve security (e.g., TLSA). I think that RFC was developed with their input to try to address their needs, so it's really sad to see it not be enabled. Though it's at least implemented, which is progress, I guess? Disable HTTPS upgrade? Posted Mar 7, 2025 11:13 UTC (Fri) by arita (subscriber, #176355) [Link] I found it thanks to https://hg.mozilla.org/integration/autoland/rev/34c9c9b0de17. Seems to be enabled by default for roughly the last 4 years in firefox. about:config network.dns.upgrade_with_https_rr = true network.dns.use_https_rr_as_altsvc = true
Posted Mar 6, 2025 17:37 UTC (Thu) by draco (subscriber, #1792) [Link] (1 responses)
Browsers have long resisted adding any DNS lookups to the dependency chain for loading a page because they say people are extremely latency sensitive. It sounds like platform support for arbitrary DNS record types has been problematic too.
Hence they've ignored a number of records that have been proposed to improve security (e.g., TLSA).
I think that RFC was developed with their input to try to address their needs, so it's really sad to see it not be enabled. Though it's at least implemented, which is progress, I guess?
Disable HTTPS upgrade? Posted Mar 7, 2025 11:13 UTC (Fri) by arita (subscriber, #176355) [Link] I found it thanks to https://hg.mozilla.org/integration/autoland/rev/34c9c9b0de17. Seems to be enabled by default for roughly the last 4 years in firefox. about:config network.dns.upgrade_with_https_rr = true network.dns.use_https_rr_as_altsvc = true
Posted Mar 7, 2025 11:13 UTC (Fri) by arita (subscriber, #176355) [Link]
about:config network.dns.upgrade_with_https_rr = true network.dns.use_https_rr_as_altsvc = true
Copyright © 2025, Eklektix, Inc. Comments and public postings are copyrighted by their creators. Linux is a registered trademark of Linus Torvalds