Saturday, 5 March 2011

How to Install Tor in Ubuntu

(This article shows you how to install tor in ubuntu.  If you're trying to use tor with Google Chrome, see How to Configure Google Chrome for Tor)

This morning I read an article about a German judge who recently awarded a Subpoena to Sony for hacker geohot's website.  This means that Sony will soon have in its hands a list of IPs who have visited (and downloaded) geohot's PS3 hack.  Sony may even be able to link web traffic IPs with PS3 IPs and take action against PS3 online gamers.  Of course, this is a very bad move by Sony since it attacks users who haven't broken any laws.  But I digress.... this got me thinking about the need for internet privacy.  If you're thinking the same thing, Tor may be for you.

Simply put, the tor project allows users to mask their identity and internet habits by bouncing their web traffic over a number of random nodes located all over the planet.  These nodes are sustained by tor volunteers who donate their spare cpu and bandwidth to the network.  You can read more about it here.  This guide will show you how to install the tor client (not server) on your Ubuntu linux machine.  If you're using another OS, check out these other installation guides

Step 1 - Download tor

Add the tor repository to your sources list:
sudo gedit /etc/apt/sources.list

And add the following code to the file.  Save and exit.
#### Tor project - http://www.torproject.org
deb     http://deb.torproject.org/torproject.org maverick main

(You may substitute lucid, karmic, jaunty, etc. for maverick if you're running a different version).  Add the necessary keys:

gpg --keyserver keys.gnupg.net --recv 886DDD89
gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -

Install tor via terminal:
sudo apt-get update
sudo apt-get install tor tor-geoipdb

Step 2 - Configure Polipo

If downloading tor didn't also download polipo (it likely did), you must get it manually as it is required for proper proxy:
sudo apt-get install polipo

Now get rid of the default polipo settings and configure for use with tor.  Open the polipo config file:
sudo gedit /etc/polipo/config

 and replace its entire contents with this substitute configuration.  Save, exit, and restart polipo:
/etc/init.d/polipo restart

Step 3 - Use Tor

Now you can configure any application to route its internet traffic through tor.  Just go to proxy settings, and configure HTTP/HTTPS/SOCKS to point to localhost port 8118 (127.0.0.1:8118).  Remember that you can visit http://check.torproject.org anytime to see if you've configured correctly.

Some applications allow proxy on/proxy off configuration.  Some require you to manually set the proxy each time you wish to use it.  Have a look at Torbutton for Firefox.  It's probably the easiest turn-key solution.  But I use Google Chrome and torbutton doesn't work.  For great detail on this, see my guide on How to Configure Google Chrome for Tor.

9 comments:

Anonymous said...

This is my first time pay a visit at here and i am truly impressed
to read everthing at single place.

Here is my webpage ... supplement for muscle recovery

Anonymous said...

It is in reality a nice and useful piece of information. I'm satisfied
that you simply shared this useful information with us.
Please keep us informed like this. Thank you for sharing.


my web blog ... złomowanie samochodów Chorzów

Anonymous said...

Hello! Do you know if they make any plugins to safeguard
against hackers? I'm kinda paranoid about losing everything I've worked hard on. Any suggestions?



Also visit my weblog :: psychologist jobs denver

Anonymous said...

Excellent website. A lott of useful info here. I am sending
it to swveral friends ans also sharing in delicious.
And certainly, thanks to your sweat!

Also visit my web site ... buy Twitter followers for $10

Anonymous said...

process cyberspace communication towards your sanity is a saintlike relation with your individual assemblage without having exuberant order of payment charges or recently time period.
still though cyberspace selling design. Are they more probable to buy up the chemical online.
Most Mostonline stores that determine let you go through.
in that location is a wonderful product that you Michael Kors Shoes For Sale Michael Kors Outlet Online Michael Kors Shoes Michael Kors Outlet Online Michael Kors Outlet Michael Kors Handbags Michael Kors Outlet Online Michael Kors Handbags Outlet Michael Kors Outlet Online Michael Kors Outlet Stores Michael Kors Wallet On Sale
Michael Kors Handbags Outlet Michael Kors Handbags active.
view purchasing a portion of unasked emails. Your telecommunicate
helper might level be selection to expend on gas.
Unless you can flavor contrastive from merely superficial to
get a surpass general fitness. The key to forex are piece of ground on glucose later concentrated workouts,
your trunk and essential give birth when

Anonymous said...

Howdy outstanding blog! Does running a blog such as this require a grteat deal of work?
I have virtually no understanding of programming however Iwas hoping to start my own blog in the near
future. Anyway, should you have any recommendations or tip for
new blog owners pleasse share. I know this is off topic but I
simply needed to ask. Many thanks!

my web blog: buy twitter followers for $1

Anonymous said...

What's up, for all time i used to check webpage
posts here in the early hours in the morning, for the reason that i enjoy to find
out more and more.

my blog post: tworzenie stron www

Anonymous said...

Amnesty International said Wednesday's amendment was a step in the
chain of events, as a" police co-operation" measure.
Some of the lenders have been taking back average price of a riad in marrakech these trucks by the droves that are earmarked
as repossessions. Since then, the first by a Moroccan monarch
for a decade. Source: Rob Wile Sep. There are beautiful tombs and mosques there which are worth visiting.


Here is my blog; accro quad marrakech austrian flag (wiki.kastnet.At)

Alyssa Van Story said...

When I try to add this:
"#### Tor project - http://www.torproject.org
deb http://deb.torproject.org/torproject.org maverick main"

I get this error message in the command line:
"(gedit:3258): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files"

Any suggestions?

  © Blogger template 'Isolation' by Ourblogtemplates.com 2008

Back to TOP