Itd Be Crazy Easy for Brazil to Block the Web Right Now

As the Olympics unfold in Brazil this week, the digital rights group AccessNow started a petition to make sure the government there doesnt turn off the Internet.

But thats not a thing Brazil could do, right? And even if it were possible, it wouldnt, right?

Wrong. It could shut down the entire Internet, or just block certain sites, as it has done repeatedly. On June 19 a Brazilian judge ordered Internet providers to block access to WhatsApp in an attempt to force the company to reveal personal user data for a criminal investigation. It was the third time in seven months that Brazilians lost access to the extremely popular encrypted messaging platform, which boasts more than 100 million users across the country.

This time around, the Brazilian Supreme Court overturned the website block the same day it was issued, on the grounds that it violated constitutionally protected free expression, as well as Brazils net neutrality law, Marco Civil, which was passed in 2014.

Now, with the entire world watching and more than 500,000 visitors in Rio de Janeiro for the Olympics, its unlikely Brazilian authorities will try to censor the Internet during the games. But, it could. Easily. Thats because Internet infrastructure is remarkably malleable. If a government does order censorship, in only a few seconds an Internet provider can block any point on their network from sending or receiving information, whether targeting a single website or the entire Internet.

Heres how easy it would be.

Blocking Websites

The old adage that the Internet routes around censorship is more of an ideal than a reality.

ISPs link the edges of their networks together using routers that speak to each other via a border gateway protocol that tells other ISPs where to send packets of data. Theyre basically just tables of routing information. One Internet provider’s router might advertise that its only three hops from the final destination of where another ISP is trying to send data, and if thats the most efficient route, thats the route the data will take.

The easiest way for an Internet service provider to block access to a website is to update their routing tables to say ‘Dont forward along any data marked for delivery to the blocked IP address, says Jeremy Gillula, a technologist at the Electronic Frontier Foundation. The data just goes nowhere.

Thats how it was likely done in Brazil. Its also probably what happened in Turkey when social media was blocked during the recent coup attempt. So if a country wanted to block Facebook, the ISP would just list all of Facebooks IP addresses and mark them as destinations to not deliver to in the border gateway protocol.

Another way to sever traffic to a certain destination is by a process called domain name poisoning. Anytime you go to Facebook.com, it passes through an Internet providers domain name server that translates the URL into an Internet IP address, says Mason Carroll, a network engineer at Monkeybrains.net, a California-based ISP. So you could delete Facebook.com from the DNS server and if someone tries to go that website, theyll just get nothing back. Alternatively, an Internet provider can route Facebook.com to a different IP address.

Blocking the Whole Net

Interfering with routing protocols can also be used to shut the Internet down entirely. In Egypt in 2011, then-president Hosni Mubarak ordered all the ISPs to black out the Internet during the revolution. The Internet providers essentially started advertising nothing to the rest of the Internet via their border gateway protocol, says Gillula. And they were basically saying, We dont exist anymore. If youre trying to reach Egyptian servers we dont know how to get to them. And as a result Egypt basically dropped off the face of the Internet.

Internet Censorship is Easy and Common

Although access to WhatsApp was quickly restored in Brazil, government censorship of the Internet isnt unusual elsewhere around the globe, says says Deji Olukotun of AccessNow. In 2016 alone weve documented nearly 30 shutdowns worldwide, he said.

Fearing protests, the government in Kashmir, India ordered a mobile Internet blackout last month after authorities killed a famous political dissident. And the government of the Republic of Congo shut off the Internet entirely for a few days in April during elections to prevent illegal reporting of ballot numbers. In May, the Iraqi government blacked out the Internet to keep sixth graders from cheating on national exams. Algeria did the same in December of last year to prevent students from cheating.

The Brazilian Supreme Courts reversal does make it less likely that another judge will try to block websites again anytime soon, says Carlos Affonso Souza, Director of the Institute for Technology and Society, a Rio de Janeiro-based digital rights nonprofit.

While Olympic tourists in Rio have so far been able to surf the web unfettered, three times in seven months is a dismal track record. Brazilian judges seem to consider Internet censorship a tool in their arsenal, and the Supreme Court reversal isnt a final decision, says Affonso Souza. So its probably smart for visitors to go ahead and download the Tor browser and a VPN app, two tools that circumvent common methods of Internet censorship, just in case.

Read more: https://www.wired.com/2016/08/itd-crazy-easy-brazil-block-web-right-now/