642
submitted 1 year ago by buh@lemmy.world to c/firefox@lemmy.ml
top 50 comments
sorted by: hot top controversial new old
[-] TiffyBelle@feddit.uk 97 points 1 year ago

All well and good, but sadly this relies on the hosts managing DNS to include specific entries in their DNS configuration for keys to use during the encryption process. Unfortunately the vast majority of hosts probably won't be bothered to do this, similar to DNSSEC.

[-] LastYearsPumpkin@feddit.ch 136 points 1 year ago

And HTTPS relies on hosts managing SSL certificates. Web services don't use them until it hits a critical mass, then it becomes weird and broken when you aren't using it.

This just needs some time to settle in.

[-] DarkThoughts@kbin.social 76 points 1 year ago

I remember when absolutely no one used https and then in a matter of a couple years things got really fast. Now you can easily browse with https required and only occasionally find the odd website that doesn't use it (mostly some internet relic). That was such a great transition when it happened though.

[-] FriendlyBeagleDog@lemmy.blahaj.zone 44 points 1 year ago* (last edited 1 year ago)

It felt like it happened practically overnight when Let's Encrypt released.

[-] Chobbes@lemmy.world 35 points 1 year ago

Let's Encrypt was a godsend. Getting a TLS certificate before sucked.

[-] kautau@lemmy.world 26 points 1 year ago

Yes. Thank these folks:

Mozilla employees Josh Aas and Eric Rescorla, together with Peter Eckersley at the Electronic Frontier Foundation and J. Alex Halderman at the University of Michigan. Internet Security Research Group, the company behind Let's Encrypt, was incorporated in May 2013.

They created the ACME standard, the open source community got on board, and soon enough everyone bought in, a massive step forward for Internet security and the benefit of open source.

[-] jazir5@lemmy.ml 13 points 1 year ago

So Firefox is basically the GOAT when it comes to internet security and privacy? They should team up with the signal guys.

[-] Rade0nfighter@lemmy.world 28 points 1 year ago

Google preferring https sites was the motivator I saw for client demands.

SEO scores feed into the PPC cost in AdWords so all of a sudden people were crying out for their sites to “have the padlock icon” because what’s 20 bucks for a cert when you’re spending thousands of dollars a month

[-] jazir5@lemmy.ml 11 points 1 year ago

And now it's free with stuff like Let's Encrypt.

load more comments (1 replies)
[-] dependencyInjection@sh.itjust.works 11 points 1 year ago* (last edited 1 year ago)

Even with tools like Let’s Encrypt, people are still not ~~implanting~~ implementing HTTPS?

[-] Chobbes@lemmy.world 11 points 1 year ago

HTTPS is pretty much ubiquitous these days. It's mostly an issue on a few smaller websites and blogs that people haven't cared enough about to bother getting a cert for... But even that is rapidly going away. Even if a website has HTTPS, it's not entirely uncommon for some resources to be loaded over regular HTTP, and sometimes websites don't properly redirect you to the HTTPS version, making it possible to end up on the unencrypted version by accident.

HTTPS is great, and Let's Encrypt has been such a godsend for it... That said it's not perfect, and also has some limitations on its own, and not every website implements all of the mitigations that help HTTPS do its job, so HTTPS adoption is a bit of a mixed bag. A big issue is that when you try to secure a previously insecure protocol this often makes downgrade attacks possible. For instance, if you just type "lemmy.world" into your web browser, and if somebody is able to intercept those packets, they could just reply "hey, I'm the lemmy.world, I don't do HTTPS, let's talk unencrypted" and your browser would have no idea that it should be talking HTTPS instead of HTTP. One way to avoid this problem is just by explicitly telling your browser to use HTTPS by going to "https://lemmy.world", which tells it to talk over HTTPS, and in that case the man-in-the-middle wouldn't be able to tell you to use HTTP instead and won't be able to provide a valid certificate for lemmy.world (hopefully, anyway :P). This is also what HSTS is used for... It's a header that the webserver sends to your browser saying "only talk to me with HTTPS", so once you've visited a site your browser will remember that it should only use HTTPS with it in the future. This only applies to websites which you've visited before, though... To improve the protections a little bit there's HSTS preload lists (basically your browser can have a list of HTTPS websites baked into it, so it knows when to only use HTTPS before you even do), https://hstspreload.org/... Or we could just solve this problem with DNSSEC and DANE, which allows you to look up the TLS certificates that should be used for the domain in DNS.

That's probably more of a rant than you wanted 😅... But basically, HTTPS adoption is really good these days in the sense that most websites will have a TLS certificate available (probably from Let's Encrypt!), and will speak HTTPS. But, there's still areas where we can improve internet security. I'm not sure how the adoption of HSTS is going, but I think it's pretty low. DNSSEC adoption is abysmal and we should probably fix that.

[-] dan@upvote.au 6 points 1 year ago

HTTPS is pretty much ubiquitous these days.

It never used to be, though. The same will happen with ECH/ESNI eventually, especially if browsers push for it like they did with TLS.

[-] Chobbes@lemmy.world 3 points 1 year ago

Yeah, especially before Let's Encrypt recently it was a complete disaster. Definitely will be better support for ECH soon.

load more comments (1 replies)
[-] towerful@programming.dev 3 points 1 year ago

Even if a website has HTTPS, it's not entirely uncommon for some resources to be loaded over regular HTTP

I think all browsers will refuse to load a resource over HTTP if the website is served over HTTPS.

[-] Chobbes@lemmy.world 4 points 1 year ago

This is not true. Browsers will happily use http even if https is available, and without other mitigations like HSTS or DANE there is no way for your browser to even know that a site supports https. Many websites will forcibly redirect you to https, but this is the server telling you “hey connect with https instead”. A man-in-the-middle can simply not tell you to use https. Browsers have started marking http sites as insecure and will warn you about sending passwords, however.

[-] towerful@programming.dev 4 points 1 year ago

I think I phrased it wrong, or there is a confusion with terms.
If a page is loaded with HTTPS, then images/CSS/JS/iFrames (resources) will not load over HTTP. The resources also have to be served via HTTPS.
If a page is loaded over HTTP, then resources (images/CSS/JS/iFrames) can be loaded over HTTPS.

My objection was to the "even if a server has HTTPS, some resources will still load over HTTP"

[-] Chobbes@lemmy.world 4 points 1 year ago

As far as I know, this is not strictly true either. I believe most browsers currently block mixed active content like JavaScript or iframes, but will happily load images and such over HTTP (although I would not be surprised if this is changing).

[-] 4am@lemm.ee 6 points 1 year ago

The only place (other than old unmaintained sites) I’ve seen no TLS has been promotional sites for video games. Possibly something hastily thrown together?

[-] TiffyBelle@feddit.uk 5 points 1 year ago

You're right, but HTTPS implementation added real, tangible benefits that everyone could understand. I think ECH is a little more abstract for the average user, which is why I compared it to DNSSEC which has notoriously poor buy-in.

Obviously I hope ECH becomes a well-implemented standard. I'm just rather cynical that it'll be the case.

[-] Gestrid@lemmy.ca 8 points 1 year ago

Apparently, Cloudflare already supports ECH, and a not-insignificant number of websites use them.

load more comments (4 replies)
load more comments (2 replies)
[-] morrowind@lemmy.ml 46 points 1 year ago

Does this mean your isp can't see the sites you visit anymore?

[-] jsdz@lemmy.ml 80 points 1 year ago

Sort of. They can still see which IP address you're connecting to, which by itself or in combination with some minor traffic analysis is quite often enough to identify which website you've visited. Perhaps it isn't if the website puts absolutely everything through a giant CDN like Cloudflare, but in that case it's Cloudflare which gets to see all the sites you visit which isn't a whole lot better than the status quo.

Still, it's a little less information given away at least some of the time. Better to do it than not do it.

[-] Atemu@lemmy.ml 23 points 1 year ago

in that case it’s Cloudflare which gets to see all the sites you visit

That's the status quo. CF holds the private keys to all reverse proxy'd sites hosted on it.

[-] jsdz@lemmy.ml 4 points 1 year ago* (last edited 1 year ago)

To be more precise, my belief is that the main thing ECH does is make it more difficult some of the time (depending on the details of how the site works) for observers of network traffic to directly see which website you've visited if it's one of those that have chosen to give all that data to Cloudflare or some similar system instead.

There also do still exist some simple web hosting setups that share many independent domain names on the same IP, but I think it's not as common as it probably was when they first came up with the idea of encrypting the tls server name many years ago. Maybe it'll make a comeback for sites whose users need to avoid censorship in this way if it's true that domain fronting has generally become more difficult.

[-] kautau@lemmy.world 11 points 1 year ago
[-] patatahooligan@lemmy.world 4 points 1 year ago

Using a VPN just hands all of this information to them instead. That could be an improvement, but how do you know?

[-] kautau@lemmy.world 3 points 1 year ago* (last edited 1 year ago)

Well they can see your browsing history, sure. But HTTPS will stop them from seeing the content you actually see on the web. At this point we are just getting into discussions of layers of trust, which are generally impossible to solve if you don’t trust anyone. If you don’t trust anyone don’t use the internet, ever. I do trust mullvad. They’re explicit about who is involved, I have the name of every team member, and through peer review I consider them trustworthy.

https://mullvad.net/en/about

For more info about how they are transparent, you can read their article about how they responded to a search warrant earlier this year:

https://mullvad.net/en/blog/2023/4/20/mullvad-vpn-was-subject-to-a-search-warrant-customer-data-not-compromised/

In line with our policies such customer data did not exist. We argued they had no reason to expect to find what they were looking for and any seizures would therefore be illegal under Swedish law. After demonstrating that this is indeed how our service works and them consulting the prosecutor they left without taking anything and without any customer information.

load more comments (1 replies)
[-] jmcs@discuss.tchncs.de 9 points 1 year ago

Well, for half of the internet they are going to see AWS ELBs addresses.

[-] hillbicks@feddit.de 10 points 1 year ago

Yes and no. If your isp is still providing unencrypted DNS for you, then they can still see the domain name you're visiting.

[-] morrowind@lemmy.ml 8 points 1 year ago

What if you force a dns, like say cloudflare?

[-] Ullebe1@lemmy.ml 7 points 1 year ago

Ordinary DNS requests are always plaintext and readable to anyone between you and the DNS server. So regardless of which DNS server you use, your ISP can see all your DNS lookups. For any amount of privacy for DNS, the minimum is something like DNS-over-TLS or DNS-over-HTTPS, the latter of which Firefox uses by default in some countries and supports everywhere.

[-] dan@upvote.au 5 points 1 year ago

Ordinary DNS requests are always plaintext and readable to anyone between you and the DNS server.

Not just readable... The ISP can inject their own responses too. Regular DNS is both unencrypted and unauthenticated, with most clients not enforcing DNSSEC.

[-] morrowind@lemmy.ml 5 points 1 year ago

I mean with this + DNS over HTTPS can we guarantee the isp can no longer see anything?

load more comments (1 replies)
[-] metaStatic@kbin.social 3 points 1 year ago

so you're saying self host an authoritative DNS server

[-] dan@upvote.au 4 points 1 year ago

It's easy to setup something like AdGuard Home that provides malware blocking, ad blocking if you're interested in that, and supports DNS-over-HTTPS out of the box (unlike PiHole, which needs a bunch of manual setup)

[-] DarkThoughts@kbin.social 5 points 1 year ago

That's how I understood it. With regular https your doing on those websites is already encrypted, but your ISP or whoever sits in between can still se which sites you're visiting. As far as I understand this standard would encrypt this step too.

[-] FrankTheHealer@lemmy.world 42 points 1 year ago

Cool. Nice work Mozilla.

[-] LBEB80@lemmy.world 23 points 1 year ago

When is this coming to ff mobile?

[-] Knusper@feddit.de 13 points 1 year ago

Usually with these kind of engine-features, the rollout is simultaneous on desktop and Android.

And it says it's rolling out with version 118 here: https://support.mozilla.org/en-US/kb/understand-encrypted-client-hello

[-] possiblylinux127@lemmy.zip 17 points 1 year ago

Does anyone know how to enable this for nginx?

load more comments (1 replies)
[-] miss_brainfart@lemmy.ml 13 points 1 year ago

https://support.mozilla.org/en-US/kb/faq-encrypted-client-hello#w_can-i-use-ech-alongside-other-security-tools-like-ad-blockers

Users using DNS-based filtering may need to tweak their configuration in order to make use of ECH. Firefox needs to be configured with a DNS-over-HTTPS server in order to make use of ECH. Depending on whether the DNS filter is locally hosted or hosted by an online provider, instructions for connecting to it over DoH will differ and users of these services will need to check their accompanying documentation.

Sooo, I'm a bit lost here. How do I ensure everything's working when I'm using a pihole? I don't think I'm understanding everything correctly

[-] HubertManne@kbin.social 10 points 1 year ago

I think it requires you shut your pihole. Um. sorry. Ill let myself out.

[-] TheKaul@lemmy.dbzer0.com 6 points 1 year ago

It sounds like you'll have to set your Pihole as the DNS server in Firefox's settings, and then maybe from there it'll work itself out? Or maybe the Pihole documentation will be updated in the next few days with some instructions on enabling this. I'm unsure myself to be honest.

[-] miss_brainfart@lemmy.ml 2 points 1 year ago

That would make sense, wouldn't it? I think I'm going to wait for the pihole team to inform about this.

[-] DarkThoughts@kbin.social 8 points 1 year ago

So with this the ISP, or someone else sitting in the middle, would not even know the URL you're accessing?

[-] DarkenLM@kbin.social 5 points 1 year ago

I don't think so, that'd be straight up impossible unless you're behind a VPN. Your ISP can see every connection made between you and any other server, but a VPN uses encrypted payloads between their servers and you, and they make the requests using their servers, and pass the results to you. That way, your ISP only sees that you're using a VPN, but can't see anything else.

As far as I understand it, ECH uses DoH (DNS Over HTTPS) to encrypt the domain name of your connections, but a direct IP address is always required, and most of the times, it's enough to determine the website, as the ISPs can locate just about anything easily. However, the ISP won't be able to (easily) know anything else about the connection, which remains unbroken between you and the server you're connecting with.

But still a very good feature nonetheless.

load more comments (2 replies)
[-] KarnaSubarna@lemmy.ml 5 points 1 year ago* (last edited 1 year ago)

In my opinion, Firefox should give an option to enable ECH forcefully for users like me who has AdGuardHome/Pi-Hole running on Home Network. Currently, if DOH is disabled in Firefox setting, ECH won't work, as per Firefox. 😦

load more comments
view more: next ›
this post was submitted on 03 Oct 2023
642 points (98.9% liked)

Firefox

17302 readers
49 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 4 years ago
MODERATORS