remove obsolete code
[tor.git] / doc / tor.1.in
blob9bba81a516d5e4a1c1d3b567bff3edd6f37b1f60
1 .TH TOR 1 "November 2003" "TOR"
2 .SH NAME
3 tor \- The second-generation onion router
4 .SH SYNOPSIS
5 .B tor
6 [\fIOPTION value\fR]...
7 .SH DESCRIPTION
8 .I tor
9 is a connection-oriented anonymizing communication
10 service. Users choose a source-routed path through a set of nodes, and
11 negotiate a "virtual circuit" through the network, in which each node
12 knows its predecessor and successor, but no others. Traffic flowing down
13 the circuit is unwrapped by a symmetric key at each node, which reveals
14 the downstream node.
15 .PP
16 Basically \fItor\fR provides a distributed network of servers ("onion
17 routers"). Users bounce their tcp streams -- web traffic, ftp, ssh, etc --
18 around the routers, and recipients, observers, and even the routers
19 themselves have difficulty tracking the source of the stream.
20 .SH OPTIONS
21 \fB-h, -help\fP
22 Display a short help message and exit.
23 .TP
24 \fB-f \fR\fIFILE\fP
25 FILE contains further "option value" pairs. (Default: @CONFDIR@/torrc)
26 .TP
27 Other options can be specified either on the commandline (\fI--option value\fR), or in the configuration file (\fIoption value\fR).
28 .TP
29 \fBloglevel debug|info|warn|err\fP
30 Set the verboseness level of the primary log. (Default: warn)
31 .TP
32 \fBlogfile \fR\fIFILE\fP
33 Rather than logging to stdout, log to FILE.
34 .TP
35 \fBdebuglogfile \fR\fIFILE\fP
36 In addition to other logging, we will log to FILE at log-level debug.
37 .TP
38 \fBgroup \fR\fIGID\fP
39 On startup, setgid to this user.
40 .TP
41 \fBkeepaliveperiod \fR\fINUM\fP
42 To keep firewalls from expiring connections, send a padding keepalive cell on open connections every NUM seconds. (Default: 300)
43 .TP
44 \fBpidfile \fR\fIFILE\fP
45 On startup, write our PID to FILE. On clean shutdown, remove FILE.
46 .TP
47 \fBrouterfile \fR\fIFILE\fP
48 FILE contains a list of directory servers, to bootstrap into the network. (Default: @CONFDIR@/dirservers)
49 .TP
50 \fBrunasdaemon \fR\fI0|1\fP
51 If 1, Tor forks and daemonizes to the background. (Default: 0)
52 .TP
53 \fBtotalbandwidth \fR\fINUM\fP
54 A token bucket limits the average incoming bandwidth on this node to NUM bytes per second. (Default: 800000)
55 .TP
56 \fBuser \fR\fIUID\fP
57 On startup, setuid to this user.
59 .SH CLIENT OPTIONS
60 .PP
61 The following options are useful only for clients (that is, if \fBsocksport\fP is non-zero):
62 .TP
63 \fBnewcircuitperiod \fR\fINUM\fP
64 Every NUM seconds consider whether to build a new circuit. (Default: 60)
65 .TP
66 \fBpathlencoinweight \fR\fI0.0-1.0\fP
67 Paths are 3 hops plus a geometric distribution centered around this coinweight. Must be >=0.0 and <1.0. (Default: 0.3)
68 .TP
69 \fBsocksport \fR\fIPORT\fP
70 Bind to this port to listen for connections from socks-speaking applications.
71 .TP
72 \fBsocksbindaddress \fR\fIIP\fP
73 Bind to this address to listen for connections from socks-speaking applications. (Default: 127.0.0.1)
75 .SH SERVER OPTIONS
76 .PP
77 The following options are useful only for servers (that is, if \fBorport\fP is non-zero):
78 .TP
79 \fBaddress address\fP
80 The fqdn of this server (e.g. moria.mit.edu).
81 .TP
82 \fBdatadirectory \fR\fIDIR\fP
83 Store working data in DIR (Default: @LOCALSTATEDIR@/lib/tor)
84 .TP
85 \fBexitpolicy \fR\fIpolicy,policy,...\fP
86 Set an exit policy for this server. Each policy is of the form "reject ADDR/MASK:PORT".  For example,
87 "reject 127.0.0.1:*,reject 192.168.1.0/24:*,accept *:*" would reject any traffic destined for
88 localhost and any 192.168.1.* address, but accept anything else.
89 .TP
90 \fBmaxonionspending \fR\fINUM\fP
91 If you have more than this number of onionskins queued for decrypt, reject new ones. (Default: 100)
92 .TP
93 \fBnickname \fR\fIname\fP
94 Set the server's nickname to 'name'.
95 .TP
96 \fBnumcpus \fR\fInum\fP
97 How many processes to use at once for decrypting onionskins. (Default: 1)
98 .TP
99 \fBorport \fR\fIPORT\fP
100 Bind to this port to listen for connections from Tor clients and servers.
102 \fBorbindaddress \fR\fIIP\fP
103 Bind to this address to listen for connections from Tor clients and servers. (Default: 0.0.0.0)
105 .SH DIRECTORY SERVER OPTIONS
107 The following options are useful only for directory servers (that is, if \fBdirport\fP is non-zero):
109 \fBdirport \fR\fIPORT\fP
110 Bind the directory service to this port.
112 \fBdirbindaddress \fR\fIIP\fP
113 Bind the directory service to this address. (Default: 0.0.0.0)
115 \fBrecommendedversions \fR\fISTRING\fP
116 STRING is a command-separated list of Tor versions currently believed to be safe. The list is included in each directory, and nodes which pull down the directory learn whether they need to upgrade.
118 .SH FILES
120 .I @CONFDIR@/torrc
121 The configuration file, which contains "option value" pairs.
123 .I @CONFDIR@/dirservers
124 A list of directory servers, to bootstrap into the network.
126 .I @LOCALSTATEDIR@/lib/tor/
127 The tor server stores keys/etc here.
129 .SH SEE ALSO
130 .BR privoxy (1),
131 .BR tsocks (1)
133 .BR http://freehaven.net/tor/
135 .SH BUGS
136 Plenty, probably. It's still in alpha. Please report them.
137 .SH AUTHORS
138 Roger Dingledine <arma@mit.edu>.