New version of Tor has been released

Version 0.2.2.33 of the multiplatform open source Tor client and server software has been released. Tor allows you to travel the net anonymously without anyone being able to track you, and to get access to otherwise blocked sites and services.

From the Tor website:

“Tor is a network of virtual tunnels that allows people and groups to improve their privacy and security on the Internet. It also enables software developers to create new communication tools with built-in privacy features. Tor provides the foundation for a range of applications that allow organizations and individuals to share information over public networks without compromising their privacy.

Individuals use Tor to keep websites from tracking them and their family members, or to connect to news sites, instant messaging services, or the like when these are blocked by their local Internet providers. Tor’s hidden services let users publish web sites and other services without needing to reveal the location of the site. Individuals also use Tor for socially sensitive communication: chat rooms and web forums for rape and abuse survivors, or people with illnesses.”

This is achieved by routing the traffic through a circuit of encrypted tunnels to different relays on the network‎, and no one relay knows the complete path of the traffic.

To set up Tor on your Ubuntu-box and ensure you are always using the latest version, you should add the Tor repository to your /etc/apt/sources.list:

deb http://deb.torproject.org/torproject.org <DISTRIBUTION> main

where you put the codename of your distribution (i.e. sid, maverick, natty or whatever it is) in place of <DISTRIBUTION>.

Then you must add the Tor signing key to your keyring:
gpg –keyserver keys.gnupg.net –recv 886DDD89
gpg –export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add –

After that, it’s just to do a apt-get update and apt-get install tor tor-geoipdb and you’re almost ready to go. Now you just have to set up your applications to use the Tor network. You can install the Tor browser button for Firefox, which allows you to turn on or off your use of the Tor network by just clicking a button on the panel. Or you could simply just manually set up your browser to connect to the http proxy at 127.0.0.1 port 8118 and the SOCKS5 proxy at 127.0.0.1 port 9050.

To set up your IM clients, IRC chat clients and so on, just configure them to connect through the Tor SOCKS5 proxy at 127.0.0.1 port 9050.

Last you should consider setting up Tor as a relay if you have some bandwidth to spare – and who haven’t these days? The more people who are running a relay, the faster the network will be, and the stronger your anonymity will be when using the Tor network.

To set up Tor as a relay just edit the config file in /etc/tor/torrc to include the following:

  • RunAsDaemon 1 should be uncommented to run Tor as a service in the background at start-up.
  • DataDirectory /var/lib/tor should be uncommented since Tor runs as user debian-tor when run as a daemon.
  • ORPort 9001 should be uncommented. This is the port you advertise for incoming connections, so be sure to open it up in your firewall and router. You could also change it to 443 or 8080 or any other port you would like to use if you don’t like the default of 9001.
  • Nickname TorRelay set it as whatever name you want to give your relay.
  • ExitPolicy reject *:* should be uncommented if you don’t want to be an exit node. You can add ExitPolicy accept *:6660-6667 if you want to allow Tor running as an IRC exit node.

If you have limited bandwidth, you have the option to set how much you will spare for your relay. Just set these lines with whatever limit you wish:

  • RelayBandwidthRate 512 KBytes # Throttle traffic to 512KB/s (4096Kbps)
  • RelayBandwidthBurst 1024 KBytes # But allow bursts up to 1024KB/s (8192Kbps)

That’s it – you’re now ready to go. Just do a sudo /etc/init.d/tor start to start-up tor. On the next boot the daemon will start automatically and you won’t have to think about it.

The changelog for this new build is available here.

Leave a comment