Nightly build fans’ hostname lookups piped to Cloudflare in limited security feature trial
Mozilla’s plan to test a more secure method for resolving internet domain names – known as Trusted Recursive Resolver (TRR) via DNS over HTTPs (DoH) – in Firefox Nightly builds has met with objections from its user community due to privacy concerns.
The browser maker’s intentions appear to be beneficial for Firefox users. As Patrick McManus, one of the Mozilla software engineers conducting the test, explains in a note posted this week to one of the company’s developer forums, DoH can make DNS communication more secure.
“Access to global DNS data is commonly manipulated and can easily be blocked and/or collected,” said McManus. “DNS services are also sometimes poorly provisioned creating performance problems. We posit that integrity and confidentiality protected access to well provisioned larger caches will help our users. In a nutshell, that’s what DoH does.”
DNS queries and responses have traditionally been sent over UDP or TCP without encryption, making them vulnerable to interception and manipulation. There’s an extension to DNS called DNSSEC designed to authenticate DNS interaction, to prevent spoofing, but it does nothing to protect the privacy of DNS queries or responses.
TRR provides a way to select a trusted DNS resolver to handle requests, rather than an insecure plaintext resolver, via a more secure DNS-over-HTTPS server.
McManus and another Mozilla engineer, Daniel Stenberg, want to understand how these protocols affect network performance, in the hope of eventually supporting them more broadly.
But their plan is to conduct their seven-day test on an opt-out basis among half of the tens of thousands of people estimated to be running experimental Firefox Nightly builds, with the other half serving as the experiment’s control group.
The test involves sending all DNS lookups submitted by test participants to third-party security provider Cloudflare, and that makes some Firefox users uncomfortable.
Er, is now the time to be trying opt-out data collection?
“Even if it is only Mozilla’s nightly browser and for a short period of time I’m a bit disturbed about the possibility of an opt-out only ‘send all visited hostnames to a third party US company’ study,” New Zealand-based developer Chris Double said via Twitter on Monday
Henri Sivonen, a Mozilla software developer based in Helsinki, Finland, echoed this concern and suggested the experiment should not proceed in its proposed form.
“Sending information about what is browsed to an off-path party will erode trust in Mozilla due to people getting upset about privacy-sensitive information … getting sent to an off-path party without explicit consent,” Sivonen wrote on Monday in a developer forum post.
There’s something endearingly quaint about fretting over a few thousand people’s DNS queries being visible to a third-party like Cloudflare at a time when people are up in arms about Facebook’s dispersal of data on 50 million users to data analytics firm Cambridge Analytica.
The dustup harkens back to a time when one-pixel images used for tracking people online were referred to as “web bugs,” before the online ad industry succeeded in rebranding such things with the more positive term “web beacon.”
In a forum post, Mozilla senior technical writer Eric Shepherd acknowledges that the timing of the experiment is problematic in light of current events.
“I definitely see some easy ways this could be problematic from a public relations perspective given things going on in the industry these days and some of our own mistakes the in the past,” he said. “It’s definitely worth taking a little while to consider the implications before throwing the switch.”
To fix the test, some members of the Mozilla community are calling for the tech trial to be opt-in, common in Europe but generally avoided and lobbied against in the US when possible (because few people bother to opt-in when presented with that choice).
In a statement emailed to The Register, Selena Deckelmann, senior director of engineering for Firefox, said, “At Mozilla we work in the open. We are soliciting feedback on a study that is not yet underway about DNS over HTTPS. We are currently exploring what the right testing approach should be with users who have opted to participate by using Firefox Nightly.”
“We feel this technology could provide important protections against spying on people’s web browsing,” said Deckelmann. “The way the web currently works, DNS traffic is unencrypted and shared with multiple parties, making data vulnerable to capture. Our proposed study would explore if there is an alternate and potentially more secure way to manage DNS traffic by first encrypting it.”
We now return you to your regular social media surveillance and subjugation.