Depois de muitas voltas e alterações para conseguir perceber como funciona o Vidalia e o Tor no Ubuntu, consegui entender, que antes do mais é um programa exterior e como tal deverá ser utilizado.
Só cheguei aqui através do
blogue o qual mostra efectivamente como é que se faz.
Nada de mais, nem nada do outro mundo é só mesmo seguir as instruções, alterando realmente a distro que se encontra lá referida, no caso:
deb http://deb.torproject.org/torproject.org natty main
para
deb http://deb.torproject.org/torproject.org oneiric main
depois disso vem como é habitual as keys:
| gpg --keyserver keys.gnupg.net --recv 886DDD89 |
| gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add - |
e fazer
| sudo apt-get update && sudo apt-get install tor tor-geoipdb polipo |
Em seguida teremos que editar o polipo:
sudo gedit /etc/polipo/config
fazer a gravação deste para config.old
e
copiar ou então alterar manualmente:
001 | ## Basic configuration |
002 | ### ******************* |
004 | # Uncomment one of these if you want to allow remote clients to |
007 | # proxyAddress = "::0" # both IPv4 and IPv6 |
008 | # proxyAddress = "0.0.0.0" # IPv4 only |
010 | proxyAddress = "127.0.0.1" |
013 | # If you do that, you'll want to restrict the set of hosts allowed to |
016 | # allowedClients = "127.0.0.1, 134.157.168.57" |
017 | # allowedClients = "127.0.0.1, 134.157.168.0/24" |
019 | allowedClients = 127.0.0.1 |
020 | allowedPorts = 1-65535 |
022 | # Uncomment this if you want your Polipo to identify itself by |
023 | # something else than the host name: |
025 | proxyName = "localhost" |
027 | # Uncomment this if there's only one user using this instance of Polipo: |
031 | # Uncomment this if you want to use a parent proxy: |
033 | # parentProxy = "squid.example.org:3128" |
035 | # Uncomment this if you want to use a parent SOCKS proxy: |
037 | socksParentProxy = "localhost:9050" |
038 | socksProxyType = socks5 |
043 | # Uncomment this if you want Polipo to use a ridiculously small amount |
044 | # of memory (a hundred C-64 worth or so): |
046 | # chunkHighMark = 819200 |
047 | # objectHighMark = 128 |
049 | # Uncomment this if you've got plenty of memory: |
051 | # chunkHighMark = 50331648 |
052 | # objectHighMark = 16384 |
054 | chunkHighMark = 67108864 |
059 | # Uncomment this if you want to disable the on-disk cache: |
063 | # Uncomment this if you want to put the on-disk cache in a |
064 | # non-standard location: |
066 | # diskCacheRoot = "~/.polipo-cache/" |
068 | # Uncomment this if you want to disable the local web server: |
070 | localDocumentRoot = "" |
072 | # Uncomment this if you want to enable the pages under /polipo/index? |
073 | # and /polipo/servers?. This is a serious privacy leak if your proxy |
076 | # disableIndexing = false |
077 | # disableServersList = false |
079 | disableLocalInterface = true |
080 | disableConfiguration = true |
082 | ### Domain Name System |
083 | ### ****************** |
085 | # Uncomment this if you want to contact IPv4 hosts only (and make DNS |
086 | # queries somewhat faster): |
090 | # Uncomment this if you want Polipo to prefer IPv4 to IPv6 for |
093 | # dnsQueryIPv6 = reluctantly |
095 | # Uncomment this to disable Polipo's DNS resolver and use the system's |
096 | # default resolver instead. If you do that, Polipo will freeze during |
099 | dnsUseGethostbyname = yes |
104 | # Uncomment this if you want to enable detection of proxy loops. |
105 | # This will cause your hostname (or whatever you put into proxyName |
106 | # above) to be included in every request: |
110 | # Uncomment this if you want to slightly reduce the amount of |
111 | # information that you leak about yourself: |
113 | # censoredHeaders = from, accept-language |
114 | # censorReferer = maybe |
116 | censoredHeaders = from,accept-language,x-pad,link |
119 | # Uncomment this if you're paranoid. This will break a lot of sites, |
122 | # censoredHeaders = set-cookie, cookie, cookie2, from, accept-language |
123 | # censorReferer = true |
125 | # Uncomment this if you want to use Poor Man's Multiplexing; increase |
126 | # the sizes if you're on a fast line. They should each amount to a few |
127 | # seconds' worth of transfer; if pmmSize is small, you'll want |
128 | # pmmFirstSize to be larger. |
130 | # Note that PMM is somewhat unreliable. |
132 | # pmmFirstSize = 16384 |
135 | # Uncomment this if your user-agent does something reasonable with |
136 | # Warning headers (most don't): |
138 | # relaxTransparency = maybe |
140 | # Uncomment this if you never want to revalidate instances for which |
141 | # data is available (this is not a good idea): |
143 | # relaxTransparency = yes |
145 | # Uncomment this if you have no network: |
149 | # Uncomment this if you want to avoid revalidating instances with a |
150 | # Vary header (this is not a good idea): |
152 | # mindlesslyCacheVary = true |
154 | # Suggestions from Incognito configuration |
156 | maxConnectionRequests = 120 |
159 | tunnelAllowedPorts = 1-65535 |
Em seguida gravar e fechar o gedit.
E reiniciar o polipo:
sudo /etc/init.d/polipo restart && sudo /etc/init.d/tor restart
para utilizar o famoso Tor, teremos que o baixar daqui.
A partir daqui é relativamente simples, o ficheiro irá parar às transferências, podendo nós movê-lo para outro directório ou abri-lo. Basta abrir o ficheiro, extrair e tudo o que temos que fazer é na realidade correr o programa que se encontra lá.
cd Transferências
cd tor-browser_pt-PT
e os comandos:
./start.tor-browser
este comando irá abrir o Firefox aurora o qual já traz incluido o Tor, e a partir daí boas navegações.
Nenhum comentário:
Postar um comentário