Halaman

Sabtu, 15 September 2012

instalation tor, privoxi in backtrak 5

You will first need to add the repository from which you wish to install Tor and Privoxy. Open the /etc/apt/sources.list file (or your preferred config editor) with vi:

vi /etc/apt/sources.list

Press the A (shift a) key, press return, and add the following line:






 deb http://deb.torproject.org/torproject.org lucid main

Click Esc to stop editing, then :wq [enter] or ZZ (shift zz) to write the changes to the file and quit vi.

Run the following commands:

gpg --keyserver keys.gnupg.net --recv 886DDD89

gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | apt-key add -











































During installation you will be asked whether you want to continue. If there are no strange warnings and it resembles this output, answer Y.

Run the following commands to install tor and privoxy:

apt-get update

apt-get install tor tor-geoipdb
apt-get install privoxy

Privoxy configuration

Open /etc/privoxy/config with vi (or your preferred config editor)

vi /etc/privoxy/config







gambar7
Scroll down using the j or arrow down key (or other cursor movement way). In section 4.1, check that the listen address is 127.0.0.1:8118

If it is not, change it by pressing the A (shift a) key or i key (or any other insertion way), making the necessary changes, and pressing the esc key when you are done. Scroll down further to section 5.

When using socks5 on port %d, your application is giving Tor only an IP address. Applications that do DNS resolves themselves may leak information. So using Socks4A instead is a good idea. Read more on that here.

In section 5.2, set forward privoxy to TOR (Do NOT forget that point at the end)

forward-socks4a / 127.0.0.1:9050 .


The following two configuration changes are performance improvements.
In 6.4 change keep-alive-timeout 300 to keep-alive-timeout 600 and in 6.6 change socket-timeout 300 to socket-timeout 600:
gambar10
gamabr 11

Click Esc to stop editing, then :wq [enter] or ZZ (shift zz) to write the changes to the file and quit vi.

Starting (and stopping) privoxy

Run the command:
You can run the same command but then with "stop" instead of "start" if you wish to stop privoxy. If you do, and you have already configured clients, connections will be refused.

System wide configuration of clients

Configure your clients with IP address 127.0.0.1 and port 8118

Set system wide proxy on Gnome: System —>Preferences —> Network Proxy

Click radio button Manual Proxy configuration, check the "Use the same proxy for all protocols" and and enter 127.0.0.1 and 8118. Then click "Apply System Wide ..." button.

Gambar12

In KDE: System Settings —> Network Settings —> Proxy tab, then manually specify the system wide proxy settings.

Next is configuring your browser for using system wide proxy settings:
With IE, Opera and Safari there are too many ways that our privacy can be breached, and because of their closed design it is really hard to do anything about such privacy problems, hence the focus on Firefox and Konquerer.

Konqueror uses the KDE system wide proxy settings.

In Firefox go to Edit —> Preferences —> Advanced tab —> Connection (Click Settings ... button)


Check that it's working:

https://check.torproject.org/





Tidak ada komentar:

Posting Komentar