News for hackers. Stuff that matters.
Re:Firefox 83 introduces HTTPS-Only Mode by acd10j on Tuesday November 17, 2020 @06:01AM (#25122298)
At least in my case network provided DNS are the worst, Full of spyware, and tracking.
Re:Firefox 83 introduces HTTPS-Only Mode by iso1631 on Tuesday November 17, 2020 @06:27AM (#25122482)
I run my own networks and my own devices, I choose what options go in my DHCP server

If I were on a hostile network (say a hotel), then sure, I'll ignore their DNS server and use my own (or indeed just punch my way out via a VPN), but most of the time I use friendly networks, and I don't want to have to configure 20 different applications on a dozen different boxes to use a DNS provider of my choice. There's a reason I use DHCP in the first place.

Re:Firefox 83 introduces HTTPS-Only Mode by manquer on Tuesday November 17, 2020 @06:46AM (#25122628)
You are able to run own network and have the know how to do so, typical physical Firefox users cannot.

Given your knowledge you can disable or even build firefox with DoH disabled , it is a sensible default for vast majority of users who do not know what DHCP is, or control their network. It cannotis trivial configuration for people who can control and do not want the DoH service provider given by Firefox.

Also many places do not allow VPN traffic either. It is not as easy to bypass monitoring in a locked down environment like typical corporate firewalls, college campuses etc. Yes for every block in place like deep packet inspection etc there is usually some workaround but these become increasingly difficult as more stringent the blocking becomes, and having options like DoH helps users who cannot or do not know how to run VPNs.

Re:Firefox 83 introduces HTTPS-Only Mode by bscphil on Tuesday November 17, 2020 @10:22AM (#25124753)
> Given your knowledge you can disable or even build firefox with DoH disabled , it is a sensible default for vast majority of users who do not know what DHCP is, or control their network. It cannotis trivial configuration for people who can control and do not want the DoH service provider given by Firefox.

I have mixed feelings about the issue, but it's not that simple.

I run a variety of services on my LAN for my users and guests. That includes Unbound, so even though their browser doesn't know it, their queries are secure from my ISP. But more importantly I have other stuff behind hostnames (which are resolved by Unbound). For example, my guests can navigate to music/ and use a web interface to play any of the music in my library over the stereo.

Hopefully it's obvious why this is something useful to have.

Now that Firefox is intercepting DNS requests, a conversation with someone might go like this: "Oh, it's not working? Are you using Firefox? Yeah, Firefox broke this recently, let me get the IP address for you." And then I have to log in to a computer, ssh into the relevant system, and get its IP address on the LAN.

And that's just the beginning. Last I checked Cloudflare still can't resolve the archive.is / archive.today domains. Even though I use Cloudflare over TLS in Unbound, I fix this for myself and my users by sending these domains to Google instead. Anything as convenient and simplistic as Firefox just sending everything directly to Cloudflare can't do that.

Re:Firefox 83 introduces HTTPS-Only Mode by manquer on Tuesday November 17, 2020 @01:57PM (#25128009)
If you follow the DNS specs this will not a problem. If you use *.local for local domain names DoH will never be triggered

From Mozilla documentation.

   "localhost" and names in the ".local" TLD will never be resolved via DOH. [1]
Lan based services are pretty common use case. Mozilla is hardly going to release this feature without considering this.

The Cloudflare / Archive.is point is esoteric debate and not a common occurence, DoH does support other providers than Cloudflare so not sure if this really a major concern

[1] https://wiki.mozilla.org/Trusted_Recursive_Resolver

Re:Firefox 83 introduces HTTPS-Only Mode by bscphil on Tuesday November 17, 2020 @02:16PM (#25128305)
> If you follow the DNS specs this will not a problem. If you use *.local for local domain names DoH will never be triggered

I don't think PFsense + Unbound supports appending .local to every hostname automatically, so I'd have to change every last one of my hostnames to whatever.local and that seems like a real pain. (Surely most people are not using whatever.local in their /etc/hostname, right?)

> The Cloudflare / Archive.is point is esoteric debate and not a common occurence, DoH does support other providers than Cloudflare so not sure if this really a major concern

Sure, but my general point is that there's all sorts of different reasons why it can be useful for a LAN administrator to override the remote DNS response in certain specific cases. Given that Firefox is using Cloudflare by default, the fact that you can change it also doesn't really help anything, since after all the thing I'm specifically complaining about is that stuff randomly breaks for any of your guests using Firefox.

Re:Firefox 83 introduces HTTPS-Only Mode by shawnz on Tuesday November 17, 2020 @03:58PM (#25129744)
Yes it does, you set it in System > General Setup: https://docs.netgate.com/pfsense/en/latest/config/general.ht...

Then it will automatically register them in DNS with that name: https://docs.netgate.com/pfsense/en/latest/services/dns/reso...

> The domain name from System > General Setup is used as the domain name on the hosts.

Then in the DHCP configuration, you set the domain name as well (defaults to using the general setting): https://docs.netgate.com/pfsense/en/latest/services/dhcp/ipv...

> Specifies the domain name passed to the client to form its fully qualified hostname. If the Domain Name is left blank, then the domain name of the firewall it sent to the client.

The client will automatically try adding the domain when looking up hostnames. Normally on Linux the FQDN is not specified in /etc/hostname but only in /etc/hosts.

Re:Firefox 83 introduces HTTPS-Only Mode by manquer on Tuesday November 17, 2020 @02:35PM (#25128551)
It is perhaps reason for you(and others) not wanting migrate, however there is nothing wrong in the way DoH functionality is implemented.

Cloudflare broke a lot of traffic when the 1.1.1.1 dns server came up, google broke lot of dev setups when they got the . dev TLD, however it is not theit fault though.

Re:Firefox 83 introduces HTTPS-Only Mode by shawnz on Tuesday November 17, 2020 @02:57PM (#25128849)
The default behaviour is to fallback to the network DNS if DoH doesn't resolve the domain, so your use case would work fine.

archive.is didn't work for Cloudflare users because they purposely sabotaged the results for Cloudflare (they did actually return valid, but wrong, results).

EDIT: Although you might have a problem if the owners of the ".music" TLD decide to put something else there.

Re:Firefox 83 introduces HTTPS-Only Mode by iso1631 on Tuesday November 17, 2020 @07:28AM (#25122953)
If your network allows TLS to an arbitary DOH server it allows VPN over TLS to an arbitrary server
Re:Firefox 83 introduces HTTPS-Only Mode by judge2020 on Tuesday November 17, 2020 @08:54AM (#25123714)
A lot of networks block VPNs via port number + DPI, but can't really block DNS over HTTPS if it looks like a connection to any other HTTPS website.
Re:Firefox 83 introduces HTTPS-Only Mode by iso1631 on Tuesday November 17, 2020 @09:10AM (#25123882)
Yes, which is why my VPNs are available on port 443 and 53, including a TLS based VPN.

Now port 53 can and often is intercepted (but sometimes it gets through when 443 doesnt)

Re:Firefox 83 introduces HTTPS-Only Mode by manquer on Tuesday November 17, 2020 @02:05PM (#25128138)
it does not matter under what port including 443 you are running the service, deep packet inspection (DPI) can sniff out VPN traffic, perhaps you may not encountered this type of firewall as it somewhat more expensive to run both computationally and licensing wise.

It is not possible to sniff out DoH traffic via DPI as looks exactly the same as regular traffic

While running flash servers for media use in corporate environment (when flash was still a thing) back I used to run into similar problems with RTMP/ RTMPS constantly.

Re:Firefox 83 introduces HTTPS-Only Mode by shawnz on Tuesday November 17, 2020 @03:01PM (#25128912)
You can use an HTTPS "CONNECT" proxy to protect your VPN traffic in the same way (I assume that's the kind of setup they were referring to on port 443)
Re:Firefox 83 introduces HTTPS-Only Mode by pbhjpbhj on Tuesday November 17, 2020 @12:16PM (#25126364)
Why should Firefox want enable users and devices to bypass network owners configuration in this way? A company should control their network, just as a home network's owner should have control.
Re:Firefox 83 introduces HTTPS-Only Mode by mantap on Tuesday November 17, 2020 @01:46PM (#25127844)
Because Firefox represents their users' interests and not network owners' interests which are often hostile e.g. inserting ads into pages.
Re:Firefox 83 introduces HTTPS-Only Mode by JoshTriplett on Tuesday November 17, 2020 @03:02PM (#25128924)
For the vast majority of people, "the network" is their ISP or a random hotspot, who should absolutely be treated as a hostile adversary.
Re:Firefox 83 introduces HTTPS-Only Mode by amenod on Tuesday November 17, 2020 @07:18AM (#25122869)
How can DNS be "full of spyware"? Or are you saying that it is used for spying on you?

But anyway, it is your decision to use them - you can use 1.1.1.1 (CloudFlare), 8.8.8.8 (Google - if you don't mind the tracking) or any other DNS provider.

Re:Firefox 83 introduces HTTPS-Only Mode by livre on Tuesday November 17, 2020 @07:51AM (#25123122)
I don't know what GP meant with "full of spyware" but the most popular ISP in my region (TelefĂłnica) used to redirect to pages filled with ads when a domain couldn't be resolved. Changing to 8.8.8.8 wouldn't work because it was unencrypted, they intercepted the requests and still redirected to ads. They stopped doing it some time ago but any ISP or middle man has the ability to continue doing that if they want.
Re:Firefox 83 introduces HTTPS-Only Mode by acd10j on Tuesday November 17, 2020 @11:07AM (#25125355)
Yes this is the same thing that happens with me, all unencrypted websites are redirected to adware. On phone i use 1.1.1.1 app from cloudfare but on other devices this is still issue.
Re:Firefox 83 introduces HTTPS-Only Mode by pbhjpbhj on Tuesday November 17, 2020 @12:24PM (#25126498)
Aren't all these public DNS getting unencrypted requests, so I assume ISPs snoop the domain lookups already, regardless of Google/Cloudflare/OpenDNS/Yandex doing so.
Re:Firefox 83 introduces HTTPS-Only Mode by livre on Tuesday November 17, 2020 @06:42PM (#25131394)
That's the point of using DoH, to avoid sending unencrypted DNS requests so your ISP can't spy or intercept those requests. If you are using unencrypted DNS from Google/Cloudflare/etc you are just adding one more party that can see your requests. If you use DoH, in theory, you are replacing who can see your requests. In practice your ISP can still know what websites you visit thanks to unencrypted SNI or if the domain you are visiting is the only one on that IP (and probably other techniques I'm not aware of). There are many more variables than just DNS requests so if you really don't want your ISP knowing what websites you visit you have no choice but to use a VPN or Tor.
Re:Firefox 83 introduces HTTPS-Only Mode by waheoo on Tuesday November 17, 2020 @06:09AM (#25122352)
They're referring to the local network configuration.

Many sysadmins will hate this.

> Full of spyware, and tracking.

What do you use? Google?...