Tor, Polipo
Задача: научить браузер выходить в Интернет через Tor.
Tor is free software and an open network that helps you defend against a form of network surveillance that threatens personal freedom and privacy, confidential business activities and relationships, and state security known as traffic analysis.
Установка Tor:
$ wget http://www.torproject.org/dist/tor-0.2.1.28.tar.gz $ tar zxvf tor-0.2.1.28.tar.gz $ cd tor-0.2.1.28 $ ./configure $ make
Запускаем:
$ ./src/or/tor
Проверяем netstat’ом что запустилось:
tcp 0 0 127.0.0.1:9050 0.0.0.0:* LISTEN 6212/tor
Теперь на порт 9050 у нас висит sock5 прокси, но т.к. Opera не умеет socks5, поставим еще одну софтинку – polipo:
Polipo is a lightweight caching web proxy that was designed as a personal cache. It is able to cache incomplete objects and will complete them using range requests. It will use HTTP/1.1 pipelining if supported by the remote
server.
Установка:
# yum install polipoНастройка производится в файле /etc/polipo/config:
daemonise = true pidFile = /var/run/polipo/polipo.pid socksParentProxy = "localhost:9050" socksProxyType = socks5
Запускаем:
# /etc/init.d/polipo startПроверяем:
# netstat -nap|fgrep polipo tcp 0 0 127.0.0.1:8123 0.0.0.0:* LISTEN 6333/polipo
Осталось указать браузеру использовать HTTP-proxy по адресу 127.0.0.1:8123.
Проверяем, что вышли в сеть через Tor на странице: https://check.torproject.org/
