132 points · by pjf · 6y ago · 149 comments
(For more detailed complaints and arguments on this topic, I wrote a long comment about it a year ago.)
Now, we're back to centralized systems- and I couldn't believe it when I watched the shift: What first caught my attention that this could get serious was gmail. Then g-office (whatever they called it then). Meanwhile a whole host of other services started.
I was developing a desktop app because I still wasn't convinced that people wouldn't prefer having their software and data "in hand," as it were.
I expect a new advantage will emerge and we'll want our machines and data back.
Even within the current era, render on server, render on client, ajax (the mix), etc.
We're seeing it now in gaming. Vidcards are the cost of a whole system now, games have become huge, and fast storage is still expensive; but bandwidth is increasing along with A/V streaming being perfected, so someone figured out how to minimize apparent control latency and now games are streaming. Once vidcards get cheap and SSD storage capacities catch up to 150GB games it'll flip back until the balance tips again.
It may not be conceptually beautiful but it is one of the most practical and useful technologies we've ever created, like C compared to lisp. The Web is the new "Worse is Better"
Emacs has been a decent haven for me in my search for privacy, interopability, programmability: my user agent.
Actually HTTP could directly handle DNS. Then you can decide between a cloudflare, google, akamai or amazon browser. Who needs more freedom if we can have security...
Ideally then for all more involved software experiences native software would have to be shipped.
Stop with this stop political stuff in tech like root level zone server type of stuff.
I see a comment like this basically every time something about DoH comes up.
What I haven't seen: A plan how this should be implemented, a proposal to OS vendors and developers, ideally with patches.
This raises a few questions. How should the OS decide which server to use? It obviously can't be DHCP, because that's not a secure thing to begin with. How does this interact with things like captive portals if you have a disconnect between the DNS functionality and the gui application? Do you have good answers for these?
Why not? DHCP is supposed to be authoritative for the network you're connected to. If you don't trust that network, you should probably also not be using its advertised gateway. Where does that leave you?
Why not? Just make sure to use a VPN/etc to access services over the gateway.
I mean, this is the default case for everything going over the internet. Do you trust every router in the path?
The same applies for your "home" environment. Since you usually don't want to run multiple DHCP servers, this would also work there.
option wpad-url code 252 = text;
option wpad-url "http://10.10.10.10/proxy.pac\n";
I'm sure there is a clean way to overload or augment this capability to extend it to DoH/DoT.If you don't trust the network, then the OS should be tunneling to a trusted one. If you do trust it then it can go ahead and use the DHCP/etc provided name servers.
After all it can decide to enable/disable access to services (windows filesharing for example) based on this, there isn't any reason it can't decide to trust the local nameserver too.
Windows has support
https://techcommunity.microsoft.com/t5/networking-blog/windo...
You can put the proxy anywhere on the network and set up DHCP to point the clients to this proxy.
https://www.bleepingcomputer.com/news/security/microsoft-add...
i.e. Smart TVs will do this to get around pi-hole style ad blocking.
I agree that it would be better for DoH to be done in the operating system than in applications, but the reality is that today, operating systems don't do this, and it's better to do DoH in applications than to not do it at all.
Of those platforms that do support DoH, how many of them have it on by default, rather than requiring the user to know it exists and turn it on?
What it is about is that the defaults for pretty much all OSes are bad. Maybe if we lived in a world where DoH was shipping by default enabled in Linux/Mac/Windows and set to something private like Cloudflare, it would make sense not to even provide browser options at all.
But as it stands, the current solution (while a little unintuitive and hacky) give you the best of both worlds. If you're a normal user, you get secure defaults. If you're a power user, you can go into Firefox and point at your own DoH provider, or turn off DoH entirely if that's what you want. And if you're an admin deploying Firefox on a network, you can deploy it with a custom profile that sets its internal DoH/DNS settings to whatever you want.
Do you know of any references that describe how it determines if the DNS service offers a DoH option or not? I can't find anything more than vague descriptions.
You're essentially arguing that more flexibility is bad without real justification. Per application DNS/routing (split routing) is something most Operating Systems don't support today (or setting it up is incredibly complex).
Giving this kind of flexibility might open up a future where a competitor to ICANN-DNS could exist, and users could dogfood it via single browser/window/tab instead of having an all-or-nothing situation as per today.
But let's throw out incredible new capabilities that allow user flexibility/choice because it is different to how it was historically done.
The correct solution is a) do this at the OS so users can configure the behaviour, b) add support to pihole or similar for making DoH requests out to somewhere like CloudFlare, c) also add support for receiving DoH requests for those people using a pihole over untrusted networks.
I hadn't looked into this recently but it looks like you can configure a pihole to use DoH for outbound requests:
https://docs.pi-hole.net/guides/dns-over-https/
So personally I plan to a) enable that so my outbound requests are encrypted, and then b) install a DNS blocklist so the hosts on my network will fall back to regular DNS and use the pihole.
Best of both worlds!
This is so obviously bad I don't understand.
So given that DoH has real and practical security and privacy benefits, and non-DNS based content blocking solutions are already available, are more common, and work more effectively, I don't see how it is such a nightmare to adopt those more secure defaults for everyone.
Furthermore I don't think anyone is suggesting "100 different applications" will each have their own resolvers embedded. It makes sense for browsers to be a special case since they are particularly in need of the additional privacy affordances that DoH can provide, and operating system vendors have been slow to implement it.
https://firejaildns.wordpress.com/
and a survey of public DoH servers:
https://firejaildns.wordpress.com/2020/09/22/a-survey-of-pub...
Can anyone link to the part of the source tree containing their DoH implementation? I would like to test whether it is possible to distinguish Firefox DoH from unbound.
However, as a system administrator, I don't see in Firefox the equivalent of dig and nslookup: if a user reports an issue with Firefox, how can I ask him to verify which IP address a domain name resolves to? If I ask for a nslookup or dig result, I can no longer be sure that the OS resolver is giving the same answers that Firefox is returning.
With the Firefox model I have to interrupt the user and ask them to become an active part of the troubleshooting process. I'd prefer fixing the problem "behind the scenes" without engaging the user, except to let them know when the problem is fixed. I consider it vastly more "user friendly" to enable support personnel to solve problems w/o distracting the user. I don't think very many developers consider that use case.
Tools that enable "concierge" support for VIPs, executives, Customers who will pay more to be doted-upon, etc, is a valuable attribute in software to me. Moving toward user self-service is laudable, but not if it's at the expense of dedicate support personnel's capabilities. In my experience, at least, the satisfaction and praise users express from having issues resolved without bothering them has been significant.
Some OSes have broken that for a while. I'm sure I've seen ping, dig and applications reporting different results.
The amount of sheer stupidity that goes into the "modern web" is just mind bugling.
DoH does absolutely nothing that helps privacy since the destination IP address is always clear and DoH only obscures that which it never should have touched with in the first place.
I have just about had it with the IT industry and the modern web!
There are multiple situations where destination IPs are shared across multiple websites, and DNS blacklisting is a common censorship technique in multiple firewalls and ISP blacklists.
This take is just completely wrong. Of course DNS records should be handled via HTTPS, of course it's a bad idea to do DNS via plaintext. This shouldn't be complicated, why are we still fighting over whether or not encrypting personal data in transit is a good idea?
I have seen more people on Hackernews than anywhere else on the entire web bash HTTPS encryption, and I genuinely do not understand how this forum, of all places, can be home to such a bad security take. Stop designing and advocating for Internet protocols to be monster-in-the-middled!
DoH is DNS done completely wrong. It's the worst patch solution to a problem that should have been solved correctly long ago!
...yes?
Holy crud, this is practically the most basic principle in security. If you don't want somebody to read it, encrypt it. This is exactly why we don't use email, unencrypted ftp, or SMS for anything that needs security or privacy. Don't send important information over plaintext!!
It's great if your recursive resolver is trusted (maybe you trust cloudflare or nextdns), but what if you don't trust anyone and want to run your own TRR? From what I can see from my own TRR the queries to authoritative DNS are sent in the clear... Edit On further thought, I realize that querying myanimememes.com's authoritative DNS CAN reveal which site you're interested in, but I believe most sites delegate their authoritative DNS these days to third parties.
https://mailarchive.ietf.org/arch/msg/dns-privacy/Fv91jt_n2-...
You can do that today. Run your own DNS server w/ DoH as an endpoint (dnscrypt-proxy provides an avenue, you can also use nginx to do this). Then have enterprise policies on your network to point DoH clients to use this resolver.
The trust model in this change for improved security do not sit in the technical and operational aspects of DNS and DoH (assuming we trust the math involved in encryption that we already use for things like https). What the model depend on is the Trusted Recursive Resolver, and if we find those third-party to be more trusted than other alternatives. Mozilla is however not doing much work to convince and explain why that program should be trusted. Who verify that the logs and commitments are followed through? What is the consequences if someone fails? How can the individual user who is giving away their private data exercise control and agency?
In the linked document the only answer that I can find is this: The decision of who to include in (or remove from) Mozilla’s Trusted Recursive Resolver (TRR) program is at Mozilla’s sole discretion.
I personally do not think that is enough for me in regard to my own data. Where I live (EU) I at least got GDPR to use if my ISP decide to go rouge with my data. I also got a contract with the ISP. In additional my country have a few different government agencies that in theory could jump in. Neither of those would be an option if the data is shipped over seas.
https://wiki.mozilla.org/Security/DOH-resolver-policy
Mozilla publicly lists the policies which TRRs contractually agree to. In addition to the above, the contracts (some of which have become public) also contain third-party audit requirements.
> What is the consequences if someone fails?
They lose their TRR status, presumably.
> How can the individual user who is giving away their private data exercise control and agency?
DoH is surfaced in Firefox, you can choose not to enable it, or you can choose to configure it to explicitly use any DoH endpoint your choose. On my network I use a Pi-Hole which talks to DoH on the backend and everything on my network is forced through the PiHole and all other DNS/DoH is blocked. You can use similar mechanisms, and Firefox surfaces preferences for DoH.
Just like any other decision, a sensible default which serves users needs to be made, and advanced users can configure things. Firefox chooses the sensible default of using encrypted DNS to trusted resolvers for users, and if you want to do otherwise, you are free to do so. Nothing removes your agency as a user.
> I personally do not think that is enough for me in regard to my own data. Where I live (EU) I at least got GDPR to use if my ISP decide to go rouge with my data. I also got a contract with the ISP. In additional my country have a few different government agencies that in theory could jump in. Neither of those would be an option if the data is shipped over seas.
Nothing in the current implementation ships data outside your jurisdiction. DoH is only enabled in the US pointed at a US-based provider (CloudFlare). There are numerous providers in the EU that may sign up to the TRR program as Mozilla gets to the point of rolling out DoH in Europe. This comment period gives them an opportunity to get feedback prior to getting to that point.
I think perhaps you should send them your feedback directly.
That way the user could exercise control and agency under contract law, and the cost of breaking the obligations would be financially in addition to loosing TRR status. It would also not make the situation worse compared to keeping the default in EU to be the users own ISP.
At most the user would loose the protection given by national consumer agencies, which for me would be a loss but for the average in EU might be less so.
Would CloudFlare agree to do so, or would they just drop out of TRR if such requirement were made?
Instead of making the decision for people, make it a nice feature for then to use as they see fit. As toggleable feature, it could provide options for not just DoH but for VPN usage, TOR, maybe other things.
This has evolved into the universal compromise, since the VPN provider still gets to claim that they themselves aren't doing any logging. But of course their upstream ISP is now easily able to do so.
This is why mullvad intercepts all DNS queries (even to 8.8.8.8 or 1.1.1.1). Try using OpenNIC from behind mullvad: you won't get the extra TLDs.
Logging DNS makes it easy to selectively deanonymize people. All you have to do is get them to browse to a website that resolves a weird domain name.
For the rest, encrypted SNI might help, but it's still a draft so not really in use. Also 95%+ of sites are identifiable by IP only.
If your VPN provider claims they "don't log" it just means they're tagging the query with your IP as it leaves their network and letting their upstream ISP do the logging.
Never, ever, send UDP/53 traffic into a VPN.
DNS setup is messy.
these days, this will be mostly some *.amazonws.com domain.
I can get torrents just fine ofc. More curious how Ziggo is intercepting the requests.
There’s absolutely no way for home gateway/DNS to defend against malicious use of DNSSEC proper through DoH at application level.
Sadly not going to happen
- they want DNS over TLS [multiple reasons why].
- they want to work around "problems" in the architecture of DNS.
- they want to force new functionality [read: protocol changes] on users without other DNS infrastructure adopting it.
- they can.
Are there lots of problems with DoH? Yes. Are we ignoring them all so we can get the above? Yes.If you love privacy more than freedom, DoH is great. If you want the internet (and local/private networks) not to resemble America Online, DoH should frighten you.
And DoH is harder to block once they go port 53 or https “incorrectly”.