Animated visualization of Pakistan’s YouTube hijacking

Monday, February 25th, 2008

Yesterday, Pakistan censored YouTube in such a way that YouTube became inaccessible to the greater Internet for a period of about two hours. It was a remarkable screw-up that necessitated mistakes being made on multiple levels.

The gist of the story is that Pakistan Telecom, a Pakistani telecommunications company, advertised a /24 route for YouTube in a botched attempt at censoring YouTube from within Pakistan at the request of Pakistani officials. Unfortunately, Pakistan Telecom’s upstream provider, PCCW, didn’t filter that route, and it superseded the less-specific /22 route YouTube already had with routers on most of the Internet. Within about two hours someone finally got through to PCCW and they disconnected Pakistan Telecom, making the bad route disappear. YouTube was thus accessible to the Internet once more.

Now you can see all of this insanity in a graphical fashion thanks to BGPlay, a graphical visualization of BGP routes in the form of a Java applet. Visit the site, click the “Start BGPlay” button, and type in as the prefix. Then set the date range to 23/2/2008 to 25/2/2008 (European date notation). Then hit OK.

Read the rest of this entry »

Pakistan brings down YouTube

Sunday, February 24th, 2008

Through network magic I know not much about, Pakistan has caused YouTube to be inaccessible from the majority of the world. It’s not just that they blocked access to YouTube from within their own country; they did it in a way that isn’t filtered by their upstream ISP, so it affects pretty much everyone else too. What happens now?

Well, this damage is going to be routed around pretty quickly, as Pakistan having the ability to knock off websites is an error that will shortly be corrected. I predict the fallout will be immense though. Censor sites and the world looks down upon you, but do it in a way that (temporarily) removes the rest of the world’s access, and you’re in another circle of hell.

Maybe Pakistan is about to find out what the true meaning of “Googlebomb” is.

Update 1: So after a little more edification, I think I have a better handle on what’s going on. First, read up on the AS7007 incident, because what’s going on now is essentially the same thing. The Border Gateway Protocol that the Internet uses to establish routes prioritizes specific routes over more general routes. A network in Pakistan set up a /24 route, which is about as specific as you can get (/25 and beyond are commonly filtered out), declaring that YouTube was located within their network. Since this was the most specific route, it propagated out across all the routers, and now most of the Internet thinks YouTube is located within that network in Pakistan. Of course, it’s not, and they’re simply dropping all of those packets as part of their censorship. There are two possibilities: a network admin in Pakistan messed up and accidentally implemented their censorship in a way that affected the whole world, or this was done maliciously. If the latter is the case, well, the Pakistanis may soon be discovering that they need the Internet more than the Internet needs them.

Update 2: As of around 16:00 EST, YouTube is back up and working. Either PCCW filtered the bad route or the Pakistanis stopped sending it. And do check out Greg’s comments below; he’s the networking expert.

Update 3 (Feb 25): Here’s the best technical synopsis of what happened to YouTube yet.

Update 4: This animated visualization provides the clearest view of the hijacking yet. Watch all of the routes divert to Pakistan Telecom within a matter of minutes, and then two hours later, revert just as quickly back to YouTube.

Update 5: Hey look, MSNBC has picked up the story! I wouldn’t have guessed that this would make mainstream media. Or that they would get the technical details right. But it looks like they talked to the knowledgeable folks at Renesys, who I linked to in Update 3.

Read the rest of this entry »

What the hell is happening to the Internet in the Middle East?

Friday, February 1st, 2008

Three undersea fiber optic Internet backbone cables leading to the Middle East have been cut in the past three days — does anyone honestly believe they’re all just coincidental accidents any more? The story that the media is running with is that ships’ anchors have cut all of the cables in separate occasions, but come on, that doesn’t sound right. Can anyone remember the last time something like this happened? And now it happens thrice in three days?

It seems much more likely to me that someone is actively severing these cables. Are they waging war against the Internet as a whole? Well, not so much (and the way the Internet is designed, that’d be very hard to do). These cable breakdowns have not really affecting any Internet users in America, Europe, or Japan. The primary countries affected by the first two “accidents” are India, Pakistan, Egypt, Saudi Arabia, and the United Arab Emirates. It really makes you wonder. It’s almost like someone is trying to cut off one of these countries (maybe Egypt or Saudi Arabia?) from the rest of the world, and the rest of them are collateral damage. I can much more easily believe that someone is sending divers down to sabotage the cables than I can that all of this is simply accidental.

Or allow me to present another possibility: is Iran cutting off its Internet access so that it can better oppress its populace? According to the Internet Traffic Report, Iran currently has no Internet connectivity whatsoever, compared with merely degraded connectivity for the rest of the countries in the region. Something about all of this really smells funny. Keep your eyes peeled. Although the news media are still reporting all of these cable snippings as accidents thus far, I predict that we’ll be hearing a different story quite soon.

Iran has no net connection?

Lethal kites in Pakistan

Tuesday, February 27th, 2007

Pakistan is probably the only nation in the world that can manage to kill 11 people during a kite-flying celebration. The deaths were from the usual suspects — running a kite into power lines and people falling off of rooftops — as well as the unusual suspects, such as falling ammunition, stray bullets, and presumable decapitations/slit throats by razor-sharp kite strings.

Come again? you may ask of that last piece. Apparently kite-fighting is a sport. The goal is to slice your opponent’s kite’s string, thus severing their control over their kite, while keeping your own kite’s string intact. To do this, people have been known to apply razor blades or sharpened glass fragments to their kite strings, or just use razorwire as the kite string in the first place. Understandably, this dangerous practice is outlawed, but it didn’t stop 700 people from being arrested for using dangerous kite strings.

I’m just having some serious problems comprehending why certain less-industrialized (and generally Muslim) countries suffer dozens of deaths per year from falling ammunition fired in celebration. At least here in America we have the NRA, and they train their members in proper firearms safety. But in some other countries, like Afghanistan, Iraq, and Pakistan, they discharge their firearms randomly up into the air? Where in the hell did they get the idea that that was okay?!