Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 17/06/2014, à 20:28

jymere

[Debian] Tor and Google Chrome

Hi

I am running on Debian 7.5 64 bits under Gnome interface and I would like to use the tor network when I browse on the internet with Google Chrome Browser.
I installed tor and privoxy :

 apt-get install tor privoxy

I added the line

forward-socks4a / 127.0.0.1:9050 .

to the privoxy configuration's file.
Here you are this latter file :

# Generally, this file goes in /etc/privoxy/config
forward-socks4a / 127.0.0.1:9050 .
confdir /etc/privoxy
logdir /var/log/privoxy
actionsfile standard
actionsfile default
actionsfile user
filterfile default.filter
 
debug   4096
debug   8192
 
user-manual /usr/share/doc/privoxy/user-manual
listen-address  127.0.0.1:8118
toggle  1
enable-remote-toggle 0
enable-edit-actions 0
enable-remote-http-toggle 0
buffer-limit 4096

I launched the privoxy and tor's services :

/etc/init.d/privoxy start 
/etc/init.d/tor start 

The circuit was successfully built.

Then I launched (NOT in ROOT) Chrome with the following manual proxy settings :
HTTP proxy : 127.0.0.1 to the port 8118

However, when I go to the page : https://check.torproject.org/

it says that I am not using Tor.

Can you help me to configure tor on lmy computer ?

Thanks

Dernière modification par jymere (Le 17/06/2014, à 20:28)


Il est malpoli d'etre aigri

debian 7.5 - 64 bits - gnome

Hors ligne

#3 Le 17/06/2014, à 21:06

Brunod

Re : [Debian] Tor and Google Chrome

Hi,
Theoretically this is a french speaking forum wink
About tor, i never succeed to configure it to work when integrated to another allready installed browser.
I finally choosed to use it as bundle install from here :https://www.torproject.org/projects/torbrowser.html.en
and use it like a stand alone portable app.
Hope it helps.
Bruno


Windows est un système d'exploitation de l'homme par l'ordinateur. Linux, c'est le contraire...
39 pc linux convertis

Hors ligne

#4 Le 17/06/2014, à 21:15

jymere

Re : [Debian] Tor and Google Chrome

voici mon fichier log:

Jun 17 12:50:07.000 [notice] Tor 0.2.4.22 (git-255243866bbf9365) opening new log file.
Jun 17 15:44:12.000 [notice] New control connection opened.
Jun 17 15:44:12.000 [notice] New control connection opened.
Jun 17 15:54:54.000 [notice] Tor 0.2.4.22 (git-255243866bbf9365) opening log file.
Jun 17 15:54:54.000 [notice] Renaming old configuration file to "/etc/tor/torrc.orig.1"
Jun 17 15:54:54.000 [warn] Couldn't rename configuration file "/etc/tor/torrc" to "/etc/tor/torrc.orig.1": Permission denied
Jun 17 15:54:54.000 [notice] Tor 0.2.4.22 (git-255243866bbf9365) opening log file.
Jun 17 15:54:54.000 [notice] Tor 0.2.4.22 (git-255243866bbf9365) opening log file.
Jun 17 15:54:54.000 [notice] Tor 0.2.4.22 (git-255243866bbf9365) opening log file.
Jun 17 15:54:54.000 [notice] Renaming old configuration file to "/etc/tor/torrc.orig.1"
Jun 17 15:54:54.000 [warn] Couldn't rename configuration file "/etc/tor/torrc" to "/etc/tor/torrc.orig.1": Permission denied
Jun 17 15:54:54.000 [notice] Tor 0.2.4.22 (git-255243866bbf9365) opening log file.
Jun 17 15:54:57.000 [notice] Catching signal TERM, exiting cleanly.
Jun 17 21:12:05.000 [notice] Tor 0.2.4.22 (git-255243866bbf9365) opening log file.
Jun 17 21:12:05.000 [notice] Parsing GEOIP IPv4 file /usr/share/tor/geoip.
Jun 17 21:12:05.000 [notice] Parsing GEOIP IPv6 file /usr/share/tor/geoip6.
Jun 17 21:12:05.000 [notice] Bootstrapped 5%: Connecting to directory server.
Jun 17 21:12:05.000 [notice] We now have enough directory information to build circuits.
Jun 17 21:12:05.000 [notice] Bootstrapped 80%: Connecting to the Tor network.
Jun 17 21:12:06.000 [notice] Bootstrapped 85%: Finishing handshake with first hop.
Jun 17 21:12:06.000 [notice] Bootstrapped 90%: Establishing a Tor circuit.
Jun 17 21:12:07.000 [notice] Tor has successfully opened a circuit. Looks like client functionality is working.
Jun 17 21:12:07.000 [notice] Bootstrapped 100%: Done.
Jun 17 21:13:08.000 [warn] Socks version 67 not recognized. (Tor is not an http proxy.)
Jun 17 21:13:08.000 [warn] Socks version 67 not recognized. (Tor is not an http proxy.)
Jun 17 21:13:08.000 [warn] Socks version 67 not recognized. (Tor is not an http proxy.)
Jun 17 21:13:10.000 [warn] Socks version 67 not recognized. (Tor is not an http proxy.)


Il est malpoli d'etre aigri

debian 7.5 - 64 bits - gnome

Hors ligne

#5 Le 17/06/2014, à 21:17

J5012

Re : [Debian] Tor and Google Chrome

Tor is not an http proxy

tor communique sur le port 9050, privoxy sur le port 8110 ... simple non ?

Dernière modification par J5012 (Le 17/06/2014, à 21:17)

Hors ligne

#6 Le 17/06/2014, à 21:25

jymere

Re : [Debian] Tor and Google Chrome

ok J5012, ca me parait pas clair, privoxy semble poirotter :

root@debian:/home# /etc/init.d/privoxy start 
root@debian:/home# /etc/init.d/privoxy status 
[FAIL] privoxy is not running ... failed!

et le fichier log :

2014-06-17 21:23:21.773 7f016f0f6700 Info: Loading filter file: /etc/privoxy/default.filter
2014-06-17 21:23:21.775 7f016f0f6700 Info: Loading filter file: /etc/privoxy/user.filter
2014-06-17 21:23:21.775 7f016f0f6700 Info: Loading filter file: /etc/privoxy/default.filter
2014-06-17 21:23:21.778 7f016f0f6700 Info: Loading actions file: /etc/privoxy/match-all.action
2014-06-17 21:23:21.778 7f016f0f6700 Info: Loading actions file: /etc/privoxy/default.action
2014-06-17 21:23:21.781 7f016f0f6700 Info: Loading actions file: /etc/privoxy/user.action
2014-06-17 21:23:21.781 7f016f0f6700 Fatal error: can't load actions file '/etc/privoxy/standard': No such file or directory. Note that beginning with Privoxy 3.0.7, actions files have to be specified with their complete file names.

Dernière modification par jymere (Le 17/06/2014, à 21:26)


Il est malpoli d'etre aigri

debian 7.5 - 64 bits - gnome

Hors ligne

#7 Le 17/06/2014, à 21:41

J5012

Re : [Debian] Tor and Google Chrome

de toutes facons, privoxy n'ecoute pas le bon port ... que pense-tu que privoxy fasse ? a quoi il sert ?

tu veux surfer anonyme avec tor ? tu dois utiliser le port de comm de tor , 9050, c'est clairement ecrit dans la doc de tor...

si tu comprends le fonctionnement de privoxy ... tu dois savoir quoi faire ...

Hors ligne

#8 Le 17/06/2014, à 21:53

jymere

Re : [Debian] Tor and Google Chrome

privoxy c'est ce qui me prend mes paquets tcp et encrypte les en tetes avec la clef publique de chaque noeud du tor. et oui je voudrais naviguer sur internet avec le reseau tor via un navigateur autre que le bundle tor.

j'ai changé le port d'écoute de privoxy avec:

listen-address  127.0.0.1:9050

j'ai relance privoxy et tor

log de tor :

Jun 17 21:46:16.000 [notice] Interrupt: exiting cleanly.
Jun 17 21:46:18.000 [notice] Tor 0.2.4.22 (git-255243866bbf9365) opening log file.
Jun 17 21:46:18.000 [notice] Parsing GEOIP IPv4 file /usr/share/tor/geoip.
Jun 17 21:46:18.000 [notice] Parsing GEOIP IPv6 file /usr/share/tor/geoip6.
Jun 17 21:46:19.000 [notice] Bootstrapped 5%: Connecting to directory server.
Jun 17 21:46:19.000 [notice] We now have enough directory information to build circuits.
Jun 17 21:46:19.000 [notice] Bootstrapped 80%: Connecting to the Tor network.
Jun 17 21:46:19.000 [notice] Bootstrapped 85%: Finishing handshake with first hop.
Jun 17 21:46:21.000 [notice] Bootstrapped 90%: Establishing a Tor circuit.
Jun 17 21:46:23.000 [notice] Tor has successfully opened a circuit. Looks like client functionality is working.
Jun 17 21:46:23.000 [notice] Bootstrapped 100%: Done.

et privoxy semble déconner :

2014-06-17 22:08:06.044 7fefc7beb700 Info: Privoxy version 3.0.19
2014-06-17 22:08:06.044 7fefc7beb700 Info: Program name: /usr/sbin/privoxy
2014-06-17 22:08:06.044 7fefc7beb700 Info: Loading filter file: /etc/privoxy/default.filter
2014-06-17 22:08:06.099 7fefc7beb700 Info: Loading filter file: /etc/privoxy/user.filter
2014-06-17 22:08:06.099 7fefc7beb700 Info: Loading filter file: /etc/privoxy/default.filter
2014-06-17 22:08:06.101 7fefc7beb700 Info: Loading actions file: /etc/privoxy/match-all.action
2014-06-17 22:08:06.116 7fefc7beb700 Info: Loading actions file: /etc/privoxy/default.action
2014-06-17 22:08:06.142 7fefc7beb700 Info: Loading actions file: /etc/privoxy/user.action
2014-06-17 22:08:06.159 7fefc7beb700 Info: Loading actions file: /etc/privoxy/standard
2014-06-17 22:08:06.159 7fefc7beb700 Info: Loading actions file: /etc/privoxy/default
2014-06-17 22:08:06.159 7fefc7beb700 Info: Loading actions file: /etc/privoxy/user
2014-06-17 22:08:06.159 7fefc7beb700 Fatal error: can't bind to 127.0.0.1:9050: There may be another Privoxy or some other proxy running on port 9050
root@debian:/homer# ps -e | grep privoxy
root@debian:/home#

c'est quoi le pb avec l'autre proxy sur le 9050 ?

et :

root@debian:/home# /etc/init.d/privoxy start 
root@debian:/home# /etc/init.d/privoxy status 
[FAIL] privoxy is not running ... failed!

Dernière modification par jymere (Le 17/06/2014, à 22:09)


Il est malpoli d'etre aigri

debian 7.5 - 64 bits - gnome

Hors ligne

#9 Le 17/06/2014, à 22:11

J5012

Re : [Debian] Tor and Google Chrome

non privoxy est juste un filtreur et un monitorat (un proxy d'ou le jeu de mot priv+oxy)

le chiffrage et l'anonymisation c'est juste tor

d'apres ce tuto http://blog.pastoutafait.fr/billets/ano … ous-ubuntu

tu as bien configure privoxy , mais tu as utilise l'ip 127.0.0.1 au lieu de localhost, important ?

Hors ligne

#10 Le 17/06/2014, à 22:33

jymere

Re : [Debian] Tor and Google Chrome

je ne pense pas, localhost correspond bien a 127.0.0.1 :

root@debian:/home# cat /etc/hosts
127.0.0.1	localhost
127.0.1.1	debian

du coup j'ai essayé avec localhost ca change rien

j'ai lu le tuto, a la place de TorButton (qui n'est plus en dev et n'existe pas sous icewesel), j'essaie avec chrome et l'add on : Proxy-Switchy.
je l'ai configuré comme suit :

oylh.png

Dernière modification par jymere (Le 17/06/2014, à 22:35)


Il est malpoli d'etre aigri

debian 7.5 - 64 bits - gnome

Hors ligne

#11 Le 18/06/2014, à 21:32

J5012

Re : [Debian] Tor and Google Chrome

est-ce que tor sans privoxy fonctionne ? : en mettant le proxy firefox sur le port 9050 (protocole socks)

Hors ligne

#12 Le 18/06/2014, à 23:11

Zakhar

Re : [Debian] Tor and Google Chrome

Le plus sûr, et finalement le plus simple et élégant, reste à mon sens la "middlebox" Tor.

http://www.howtoforge.com/how-to-set-up … or-network

Le browser que tu emploies dans la VM "torifiée" importe peu, tu peux utiliser les plugins que tu veux, JavaScript sans limites, etc...

Que du bon et du costaud par rapport aux solutions bancales avec privoxy et autres.

En bonus, tu peux continuer à browser non-Tor sur ton Host, et donc naviguer à la fois en tor et non-tor.


"A computer is like air conditioning: it becomes useless when you open windows." (Linus Torvald)

Hors ligne

#13 Le 19/06/2014, à 11:44

jymere

Re : [Debian] Tor and Google Chrome

C'est non je suis parvenu a faire communiquer tor et privoxy, merci !


Il est malpoli d'etre aigri

debian 7.5 - 64 bits - gnome

Hors ligne