How Egypt pulled its Internet plug
"The major Egyptian networks stopped announcing what networks they represented to the rest of the world," said Andree Toonk, the founder and lead developer of the open-source BGPmon, a tool for monitoring BGP, or "border gateway protocol," the protocol at the core of the Internet's routing mechanism.
The process likely took only minutes, and required simple changes to the country's core router configuration files, Toonk said. Earlier Friday, Toonk noted that more than 90% of Egypt's networks were unreachable because they had withdrawn their routing announcements.
"You could call it a 'kill switch,'" Toonk said.
Beginning Thursday and accelerating Friday, Egyptian networks began disappearing to observers outside the country. Although early reports said it wasn't clear how the disconnect had been done, Toonk and others said today it was certainly by refusing to release BGP information to upstream providers and other networks on the Internet.
Without BGP information provided by Egyptian networks, the rest of the world has no way to connect with the country's ISPs or its Web sites. Nor do its citizens have a way to reach sites or services beyond its boundaries.
The Egyptian government apparently ordered the country's providers to sever their connections. Vodafone, for example, has acknowledged that it complied with a government order to suspend its mobile services . Vodafone is also one of Egypt's largest ISPs.
"Within a few seconds or at most a couple of minutes, traffic could no longer flow [to the Egyptian ISPs]," Joffe said. "For most of the ISPs inside Egypt, there's no longer a path that tells other networks how to reach them."
BGP is not only one of the backbone technologies of the Internet, but also provide its flexibility and strength, Joffe said.
"Using BGP, your networks tells its directly-connected providers that, 'I know the way to these IP addresses, and can get you there in one hop,'" Joffe explained. "Those providers are connected to other networks as well, and begin to tell the world the way to you."
The process continues, with each network's routers describing a pathway to a specific network. Some of those paths may be long -- ten, eleven, even more 'hops' as Joffe described them -- while others may be much more direct, taking fewer hops from one network to another.
"At any time, there are hundreds of different ways to get from Point A to Point B," Joffe said. "So if for some reason there's a disconnection of a nine-hop path, the traffic switches to a path using, for example, 11 hops."
But all that fails when a network refuses to announce to others that it exists.
The kill switch deployed by Egyptian ISPs took effect in a matter of minutes, and was the easiest way for the government to sever connections.



0 comments



