Probe raises serious questions about private v public web management
A bug in software pushed out by Cloudflare resulted in failures at the heart of the web’s infrastructure, according to a report published this week by the Internet Systems Consortium (ISC).
ISC runs the so-called F root server; one of the world’s 13 root DNS servers, labeled A through M. These are the central computers that underpin the global internet: they ensure, for instance, that when you visit theregister.co.uk, you are directed to the correct system serving our homepage.
On January 23 this year, ISC received a report of a breakdown with .net domains. When it investigated, it discovered crucial A and AAAA records, which glue .net domain names to their IPv4 and IPv6 network addresses, were missing.
In essence, all internet addresses ending in .net â one of the internetâs largest registries with 13.4 million domain names â vanished from ISC’s F root machine. Any browser, app, computer or device that, ultimately, relied on the F root machine to connect to websites and services would, worst case scenario, have been unable to reach those systems via their .net addresses.
The issue wasnât restricted to just ISC’s F-root, either; the report [PDF] said similar problems were experienced by the E root, run by NASA.
ISC quickly figured out â within five minutes, according to its timeline â that the issue lay with internet nodes it operates in partnership with Cloudflare, and escalated the issue to the web infrastructure business. Cloudflare also acted quickly: within 21 minutes it had identified that a specific code release, designed to fix a bug that it had introduced four hours earlier, was responsible.
Here’s where the report takes a hard left into the fragile world of BGP: the Border Gateway Protocol used by the internet’s sprawling galaxy of networks to automatically organize each other and maintain connections between themselves. How BGP is involved in a DNS root zone issue is not clear, and we’ve asked Cloudflare for a more detailed explanation.
Regardless, it took nearly two hours to withdraw a BGP announcement that was causing the problem, something ISC notes should have happened faster. âIn retrospect, we should have initiated the withdrawal of the route prefixes from BGP as soon as it was identified that incomplete / incorrect data was being served,â the report stated under âlesson learned.â
It continued: âThe withdrawal of routes did not go as smoothly as expected and Cloudflare and ISC have agreed to perform regular tests to exercise that function… The test suite has been updated to include tests for missing glue, and ISC and Cloudflare will work to devise further conformance tests.â
Hello money, goodbye stability
Thanks to the way that the world’s DNS works, with information cascading down through a distributed hierarchy of name servers, redundancy provisions, and caches â and globally updated every few hours to every few seconds â the impact on netizens was absolutely minimal. With the E and F roots temporarily knackered, browsers and apps would have found other ways to look up .net addresses.
However, the situation is serious in large part because a fundamental underpinning of the public internetâs global addressing system was knocked over through a minor software update by one private organization.
Firefox now defaults to DNS-over-HTTPS for US netizens and some are dischuffed about this
A software update carried out by Cloudflare, a commercial entity that uses a mix of open and closed software. The internet has achieved such a remarkable degree of uptime despite decades of exponential growth due to its tradition of open-source software, carefully checked and tested updates, and maintainer organizations that are kept separate from commercial considerations.
As one veteran internet engineer, Bill Woodcock, noted on Twitter: âWhat happens when critical functions of the public Internet are co-opted for private benefit? Transparency and accountability are lost, infrastructural spending cut, things break.â
The issue is not an academic one either. Woodcock sounded the alarm recently over the proposed sale of .org to an unknown private equity company â his company provides technical back-end services for the internet registry. Given the profit motive of the proposed purchaser, he concluded that there was likely to be a significant cutback on technical spending, putting the stability of the critical registry at risk. He sent a letter to DNS overseer ICANN about the issue, recommending that it stop the proposed sale.
Thatâs not the only internet engineer concerned either. Bert Hubert, whose company produces open-source DNS software, noted with respect to the ISC report that âclosed source Cloudflare software had a bug which caused closed source Akamai to break over at a large US cable access provider.â
Hubert has recently been very vocal over his concerns that Firefox will be using Cloudflare as the default provider for its secure DNS, DoH, protocol: something that happened for all Firefox users in the US this morning.
If a software bug in closed Cloudflare software can cause a root server to vanish an entire, significant piece of the internet then it is all too possible â in fact, likely â that at some point a similar issue will cause Firefox users to lose their secure DNS connections. And that could cause them to lose the internet altogether (it would still be there, but most users would have no idea what the cause was or how to get around it.)
There is a famous phrase often repeated by internet engineers, and originally coined by EFF co-founder John Gilmore, that âthe Net interprets censorship as damage and routes around it.â That statement has taken on much broader meaning and is often employed by engineers to basically say âdonât worry about it, the internet breaks all the time.â And it does, every second, and mends itself almost immediately.
But with the growing commercialism of the internet and with private and profit-driven companies increasingly inserting themselves into the foundational layer of the internetâs infrastructure, the report by ISC over this F root incident may well be a warning for what is coming.
We’ve asked Cloudflare for comment and will update this story when it gets back. Â®
Full disclosure: The Register is a Cloudflare customer.
Sponsored: Quit your addiction to storage