Internet Without Borders + HowTo
It's a long day at work and I wanted to refresh myself with some music. Blast, I had no music on my new laptop (ThinkPad T500, wee!) yet, so I tried to use Pandora, which I remember as a very clever, customizable and enjoyable streaming music service. To much disappointment, I was greeted with the message "We are deeply, deeply sorry to say that due to licensing constraints, we can no longer allow access to Pandora for listeners located outside of the U.S." I wonder who's behind this - my guess is RIAA and their cronies... No matter; my patience was gone, and my cyber artillery armed and ready for a devastating barrage.A simple message for everyone who would impose borders upon the Internet:
I fart in the general direction of your futile and annoying restriction attempts.
And I can teach everyone else and their granny how to do it, too.
Fortunately, there is a bane of all network censors, overseers, or other control freaks, and it goes by the name of Tor. For you non-geeks, it's a magical black box that gives you privacy on the internet - feel free to skip the next paragraph.
Tor is a free, open-source onion routing network - to put it simply, your network traffic goes to its destination through several steps, making it practically untracable. The entry node knows who you are but not what you're doing. The exit node knows what you are doing but not who you are. And each of the transit nodes knows two other nodes you are using, but not who you are, nor what you're doing. Your internet service provider sees an encrypted stream of data going from you to the entry node, and has no way to know who you're really communicating with, and finally, the service you are really accessing only sees the last Tor layer (the exit node), and has no idea it's actually serving someone else. Someone, maybe, in a different country...
Bob doesn't know who Alice is, and no one knows Alice is communicating with Bob.
So, I will provide a brief guide to make an unsuspecting service think you are in a country of your choice, and also to make it practically unfeasible for someone to spy on your traffic. Let's suppose you want to fool the Pandora service that you are a good honest average US citizen, to get some great music streaming your way.First, download and install Tor. Most of you will want the first stable Windows version.
Second, need to make Tor use only the exit nodes located in your country of choice, in this case, the USA. Tor uses the torrc file for configuration, and it must be edited. On Windows, there's a quick link to do it under Tor Start menu folder. On the end of this file, append these two lines:
StrictExitNodes 1
exitnodes exitnode1, exitnode2, ...
The tricky part is to get a list of nodes in the country of your choice. Here are a few from the USA: jalopy, nixnix, AoF, torxmission, mirnaloy, uday, logs, server4, peter0294218d7, tiberius, thesmokeroom, yamarit, MackDaddy, TorVille, ArulSelvan, linquist1, Doodles123, Blackmage, blackbag, sweetYellow, infogtor, tonkator
For other countries, or when these cease to be valid, another list has to be created. Fortunately, Vidalia (a part of the Tor bundle) lets us get an overview of the Tor network and find the nodes manually:

And finally, the application you are using needs to be configured to use Tor to route its traffic, at least for the destination required. Tor creates a proxy server on localhost:9050 which needs to be used. There are various means of doing this, a .pac (proxy autoconfig) file with this content can be used to configure your browser to use Tor for www.pandora.com site - just replace it with a different domain name for another service.
function FindProxyForURL(url, host)
{
if (shExpMatch(host, "www.pandora.com"))return "SOCKS 127.0.0.1:9050";
return "DIRECT";
}
Check your browser documentation or ask Google to see how to configure its proxy.
Done? Congratulations! Now you are ready to browse around the dumb restriction. Using Tor may slow the service down a little, but I find it really sufficient to seamlessly stream music at ~200 kbps. And this all was just an example - Tor is immensely useful for overcoming all kinds of network limitations, while keeping you anonymous. But about that maybe later.
Hehe, it really feels great to do a little hacking, doesn't it? Enjoy!
Labels: security, technology





