#1 Le 04/05/2010, à 14:40
- JB-home
[HowTo] Tor + Polipo ( sous Lucid Lynx )
Voici un petit Tuto pour installer Tor avec polipo ( Polipo remplace privoxy ) pour Lucid Lynx
Nous allons d'abord installé la dernière version de Tor :
sudo add-apt-repository ppa:sevenmachines/tor
( si la requêtes de récupération échoue, importez là manuellement comme ceci :
gpg --keyserver subkeys.pgp.net --recv 35DA01C261E46227
gpg --export --armor 35DA01C261E46227 | sudo apt-key add - )
puis en install le tout :
sudo apt-get update
sudo apt-get remove --purge privoxy
sudo apt-get install tor polipo
une fois tor et polipo installer, éditez le fichier "/etc/polipo/config"
gksu gedit /etc/polipo/config
et remplacez tout par ceci :
### Basic configuration
### *******************
# Uncomment one of these if you want to allow remote clients to
# connect:
# proxyAddress = "::0" # both IPv4 and IPv6
# proxyAddress = "0.0.0.0" # IPv4 only
proxyAddress = "127.0.0.1"
proxyPort = 8118
# If you do that, you'll want to restrict the set of hosts allowed to
# connect:
# allowedClients = "127.0.0.1, 134.157.168.57"
# allowedClients = "127.0.0.1, 134.157.168.0/24"
allowedClients = 127.0.0.1
allowedPorts = 1-65535
# Uncomment this if you want your Polipo to identify itself by
# something else than the host name:
proxyName = "localhost"
# Uncomment this if there's only one user using this instance of Polipo:
cacheIsShared = false
# Uncomment this if you want to use a parent proxy:
# parentProxy = "squid.example.org:3128"
# Uncomment this if you want to use a parent SOCKS proxy:
socksParentProxy = "localhost:9050"
socksProxyType = socks5
### Memory
### ******
# Uncomment this if you want Polipo to use a ridiculously small amount
# of memory (a hundred C-64 worth or so):
# chunkHighMark = 819200
# objectHighMark = 128
# Uncomment this if you've got plenty of memory:
# chunkHighMark = 50331648
# objectHighMark = 16384
chunkHighMark = 67108864
### On-disk data
### ************
# Uncomment this if you want to disable the on-disk cache:
diskCacheRoot = ""
# Uncomment this if you want to put the on-disk cache in a
# non-standard location:
# diskCacheRoot = "~/.polipo-cache/"
# Uncomment this if you want to disable the local web server:
localDocumentRoot = ""
# Uncomment this if you want to enable the pages under /polipo/index?
# and /polipo/servers?. This is a serious privacy leak if your proxy
# is shared.
# disableIndexing = false
# disableServersList = false
disableLocalInterface = true
disableConfiguration = true
### Domain Name System
### ******************
# Uncomment this if you want to contact IPv4 hosts only (and make DNS
# queries somewhat faster):
#
# dnsQueryIPv6 = no
# Uncomment this if you want Polipo to prefer IPv4 to IPv6 for
# double-stack hosts:
#
# dnsQueryIPv6 = reluctantly
# Uncomment this to disable Polipo's DNS resolver and use the system's
# default resolver instead. If you do that, Polipo will freeze during
# every DNS query:
dnsUseGethostbyname = yes
### HTTP
### ****
# Uncomment this if you want to enable detection of proxy loops.
# This will cause your hostname (or whatever you put into proxyName
# above) to be included in every request:
disableVia = true
# Uncomment this if you want to slightly reduce the amount of
# information that you leak about yourself:
# censoredHeaders = from, accept-language
# censorReferer = maybe
censoredHeaders = from,accept-language,x-pad,link
censorReferer = maybe
# Uncomment this if you're paranoid. This will break a lot of sites,
# though:
# censoredHeaders = set-cookie, cookie, cookie2, from, accept-language
# censorReferer = true
# Uncomment this if you want to use Poor Man's Multiplexing; increase
# the sizes if you're on a fast line. They should each amount to a few
# seconds' worth of transfer; if pmmSize is small, you'll want
# pmmFirstSize to be larger.
# Note that PMM is somewhat unreliable.
# pmmFirstSize = 16384
# pmmSize = 8192
# Uncomment this if your user-agent does something reasonable with
# Warning headers (most don't):
# relaxTransparency = maybe
# Uncomment this if you never want to revalidate instances for which
# data is available (this is not a good idea):
# relaxTransparency = yes
# Uncomment this if you have no network:
# proxyOffline = yes
# Uncomment this if you want to avoid revalidating instances with a
# Vary header (this is not a good idea):
# mindlesslyCacheVary = true
# Suggestions from Incognito configuration
maxConnectionAge = 5m
maxConnectionRequests = 120
serverMaxSlots = 8
serverSlots = 2
tunnelAllowedPorts = 1-65535
et en relance polipo :
sudo /etc/init.d/polipo restart
maintenant en va installer Torbutton https://addons.mozilla.org/fr/firefox/addon/2275 ( pour firefox ! )
une fois terminer, configuer Torbutton comme ceci : ( clique droit sur Torbutton / Préférence , ne modifier pas les paramètre de firefox ! )
voilà normalement, lorsque vous actionnerez TorButton, vous serez anonyme
aller faire un tour ici avec tor button activé pour vérifier.
Dernière modification par z0rg> (Le 04/05/2010, à 14:45)
Hors ligne
#2 Le 04/05/2010, à 14:46
- JB-home
Re : [HowTo] Tor + Polipo ( sous Lucid Lynx )
il est possible aussi d'avoir Tor + polipo + privoxy pour plus d'efficacité, mais il faut modifier la configuration de privoxy car il utilise le même port que polipo se qui créer un conflit
Hors ligne
#3 Le 22/05/2010, à 20:03
- olivhood
Re : [HowTo] Tor + Polipo ( sous Lucid Lynx )
excellent merci !!:D
Hors ligne
#4 Le 23/05/2010, à 06:33
- JB-home
Re : [HowTo] Tor + Polipo ( sous Lucid Lynx )
de rien, il est possible aussi , d'utilisé Polipo comme filtre web ( genre comme fait adblock plus ) .
Hors ligne
#5 Le 08/02/2011, à 18:32
- Florence60
Re : [HowTo] Tor + Polipo ( sous Lucid Lynx )
Bravo
en deux minutes j'ai réussi ce que je cherchais depuis 2 heures......
MERCI
Dell Inc. Inspiron 5748 (Intel® Core™ i5-4210U CPU, NV118 / Mesa Intel® HD), Ubuntu 22.04.3 LTS
Hors ligne
#6 Le 09/02/2011, à 09:43
- Bi1
Re : [HowTo] Tor + Polipo ( sous Lucid Lynx )
Bon j'ai un petit problème : comment configurer Deluge pour qu'il passe systématiquement par Tor ?
J'ai déjà essayé : "torify Deluge" mais le terminal répond : exec: 87: Deluge: not found...?
Pangolin - HP Compaq 6820s -
Hors ligne
#7 Le 09/02/2011, à 17:12
- Florence60
Re : [HowTo] Tor + Polipo ( sous Lucid Lynx )
J'up...J'y ai passé la journée.....Y a kelkun...?
Dell Inc. Inspiron 5748 (Intel® Core™ i5-4210U CPU, NV118 / Mesa Intel® HD), Ubuntu 22.04.3 LTS
Hors ligne
#8 Le 09/02/2011, à 19:13
- Psykotik
Re : [HowTo] Tor + Polipo ( sous Lucid Lynx )
Merci de ne pas utiliser Tor pour faire du P2P; il existe d'autres outils plus adaptés pour anonymiser ses connexions de téléchargements.
Tor a d'autres objectifs.
Hors ligne
#9 Le 15/03/2011, à 06:54
- 123soleil
Re : [HowTo] Tor + Polipo ( sous Lucid Lynx )
Bonjour,
J'ai installé le tout comme indiqué plus haut. Cela fonctionne très bien. Merci !
Je vous sollicite à nouveau pour savoir comment faire à partir de CETTE configuration avec le fichier
pour ajouter et configurer Privoxy.
Une petite aide ?
Aussi, j'ai l'impression que coupler JONDO avec Tor peut-être intéressant pour le noeud de sortie car JONDO certifie les cascades de sortie.
Qu'en pensez-vous ?
A bientôt.
Ubuntu 10.04 LTS - dell inspiron 6000
Hors ligne
#10 Le 03/07/2011, à 03:20
- orAGe
Re : [HowTo] Tor + Polipo ( sous Lucid Lynx )
donc ça fonctionne comme ça ??? :
l'application(navigateur ou autre) se connecte à polipo via le port 8118 qui se connecte à tor via le port 9050 qui se connecte au net via le port ?
et inversement le net se connecte à tor via le port ? qui se connecte à polipo via le port 9050 qui se connecte à l'application via le port 8118 ?
un truc bizzare : j'ai essayé de faire marcher tor avec filezilla, et si dans filezilla je choisi en type de proxy : http ,il faut indiquer le port 8118 pour que ça marche.
mais si dans filezilla je choisis en type de proxy : socks ,il faut indiquer le port 9050 pour que ça marche. : dans ce cas de figure, suis je passé par polipo ? ou bien me suis je connecté directement à tor sans polipo ?
qu'est ce qu'un parentproxy ?
polipo est il un serveur proxy : http ? socks ? les deux ?
z0rg> ,je comprends pas pourquoi dans ta config :
tu met : pas de proxy pour localhost et 127.0.0.1 ,alors que au dessus tu indique 127.0.0.1 pour le proxy http et ssl ?
qu'est ce que l'hote socks ? pourquoi met tu le port 9050 et pas 8118 ?
merci pour les réponses
vu que torbutton n'est pas dispo pour firefox 5, je configure directement les paramètres de connexion de firefox (ça à l'air d'être la même chose que torbutton)
: est ce que ça pose un problème ?
Dernière modification par orAGe (Le 03/07/2011, à 06:11)
Hors ligne
#11 Le 14/07/2011, à 22:54
- Algorithm_42
Re : [HowTo] Tor + Polipo ( sous Lucid Lynx )
Pour Firefox 5, il faut utiliser la version Alpha de torbutton.
Algorithm_42
Site Web
Hors ligne
#12 Le 06/11/2011, à 17:17
- parpalhou
Re : [HowTo] Tor + Polipo ( sous Lucid Lynx )
Pour Firefox 5, il faut utiliser la version Alpha de torbutton.
Et pour firefox 7 ? J'ai essayé FoxyProxy mais la configuration n'a rien à voir avec TorButton
Hors ligne