Comment router*.c
[tor.git] / README
blob9f8c9be3f9d93da2c70cca44ac628b5633e49374
2 'tor' is an implementation of The Onion Routing system, as
3 described in a bit more detail at http://www.onion-router.net/. You
4 can read list archives, and subscribe to the mailing list, at
5 http://archives.seul.org/or/dev/.
7 Is your question in the FAQ? Should it be?
9 **************************************************************************
10 See the INSTALL file for a quickstart. That is all you will probably need.
11 **************************************************************************
13 **************************************************************************
14 You only need to look beyond this point if the quickstart in the INSTALL
15 doesn't work for you.
16 **************************************************************************
18 Do you want to run a tor server?
20   First, copy torrc.sample to torrc (by default it's in
21   /usr/local/etc/tor/), and edit the middle part. Create the
22   DataDirectory, and make sure it's owned by whoever will be running
23   tor. Fix your system clock so it's not too far off. Make sure name
24   resolution works.
26   Then run tor to generate keys. One of the files generated
27   in your DataDirectory is your 'fingerprint' file. Mail it to
28   arma@mit.edu.
30   NOTE: You won't be able to use tor as a client or server
31   in this configuration until you've been added to the directory
32   and can authenticate to the other nodes.
34 Do you want to run a hidden service?
36   Copy torrc.sample to torrc (by default it's in /usr/local/etc/tor/), and
37   edit the bottom part. Then run Tor. It will create each HiddenServiceDir
38   you have configured, and it will create a 'hostname' file which
39   specifies the url (xyz.onion) for that service. You can tell people
40   the url, and they can connect to it via their Tor proxy.
42 Configuring tsocks:
44   If you want to use Tor for protocols that can't use Privoxy, or
45   with applications that are not socksified, then download tsocks
46   (tsocks.sourceforge.net) and configure it to talk to localhost:9050
47   as a socks4 server. My /etc/tsocks.conf simply has:
48     server_port = 9050
49     server = 127.0.0.1
50   (I had to "cd /usr/lib; ln -s /lib/libtsocks.so" to get the tsocks
51    library working after install, since my libpath didn't include /lib.)
52   Then you can do "tsocks ssh arma@moria.mit.edu". But note that if
53   ssh is suid root, you either need to do this as root, or cp a local
54   version of ssh that isn't suid.