Anonymity

From YobiWiki
(Difference between revisions)
Jump to: navigation, search
m (Links)
m (Advanced usages)
Line 39: Line 39:
 
And in ~/.ssh/config, simply use this line for Socks v5 & remote DNS resolution:
 
And in ~/.ssh/config, simply use this line for Socks v5 & remote DNS resolution:
 
  ProxyCommand /usr/bin/connect -R remote -5 -S 127.0.0.1:9050 %h %p
 
  ProxyCommand /usr/bin/connect -R remote -5 -S 127.0.0.1:9050 %h %p
 +
 +
===Hidden services===
 +
* [http://www.torproject.org/docs/tor-hidden-service.html.en Configuring hidden services for Tor], under Debian it seems you've just to tune /etc/tor/torrc
 +
* [http://eqt5g4fuenphqinx.onion/ core.onion], a simple site containing links to other .onion sites, a simple forum and a comment system.
 +
* [http://l6nvqsqivhrunqvs.onion/ onionforum], a popular forum
  
 
===Advanced usages===
 
===Advanced usages===
 
* [http://www.torproject.org/docs/tor-doc-relay.html.en Configuring a Tor relay], under Debian it seems you've just to tune /etc/tor/torrc
 
* [http://www.torproject.org/docs/tor-doc-relay.html.en Configuring a Tor relay], under Debian it seems you've just to tune /etc/tor/torrc
* [http://www.torproject.org/docs/tor-hidden-service.html.en Configuring hidden services for Tor]
+
 
 
* Using special addresses, cf /usr/share/doc/tor/spec/address-spec.txt
 
* Using special addresses, cf /usr/share/doc/tor/spec/address-spec.txt
 
** [hostname].[name-or-digest].exit to choose the exit Tor node
 
** [hostname].[name-or-digest].exit to choose the exit Tor node
 
** [digest].onion to connect to a hidden service
 
** [digest].onion to connect to a hidden service
 
** [string].noconnect to immediately close the connection without attaching it to any circuit
 
** [string].noconnect to immediately close the connection without attaching it to any circuit

Revision as of 22:38, 23 March 2008

Contents

Installing Tor & Privoxy under Debian

Links

Installation

# apt-get install tor privoxy

Edit /etc/privoxy/config and uncomment the following line:

 forward-socks4a   /               127.0.0.1:9050 .

Then restart the service

# /etc/init.d/privoxy restart

Usage

HTTP proxy through privoxy & tor

http 127.0.0.1 port 8118

E.g. for wget:

$ export http_proxy=http://127.0.0.1:8118/

The extension torbutton provides an easy way to toggle the usage of Tor

To test privoxy, try to access the following page: http://p.p/

SOCKS 5 proxy through tor

socks5 127.0.0.1 port 9050

Or for applications without proxy configuration available, check torify which uses LD_PRELOAD, e.g.

$ torify irssi

The extension Foxyproxy for Firefox contains already a pre-configured "Tor" setting on which you can add URL matches or use it all the time, it can be tuned to use also Privoxy. See also the extension torbutton presented in the previous section.

To test Tor, try to access the following hidden service: http://duskgytldkxiuqc6.onion/

DNS resolution through tor

$ tor-resolve wiki.yobi.be
85.17.183.154
$ tor-resolve -x 85.17.183.154
www.yobi.be

SSH through tor

See the connect.c helper program to make it possible.
connect is available as a Debian package:

apt-get install connect-proxy

And in ~/.ssh/config, simply use this line for Socks v5 & remote DNS resolution:

ProxyCommand /usr/bin/connect -R remote -5 -S 127.0.0.1:9050 %h %p

Hidden services

Advanced usages

  • Using special addresses, cf /usr/share/doc/tor/spec/address-spec.txt
    • [hostname].[name-or-digest].exit to choose the exit Tor node
    • [digest].onion to connect to a hidden service
    • [string].noconnect to immediately close the connection without attaching it to any circuit
Personal tools
Namespaces

Variants
Actions
Navigation
Tools