5254f16d126995014db8adde94972672fb9fddb9
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

1) Content-type: text/html
2) 
3) <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4) <HTML><HEAD><TITLE>Man page of TOR</TITLE>
5) </HEAD><BODY>
6) <H1>TOR</H1>
Thomas Sjögren update tor-manual-cvs.html...

Thomas Sjögren authored 19 years ago

7) Section: User Commands  (1)<BR>Updated: June 2005<BR><A HREF="#index">Index</A>
Thomas Sjögren Updated tor-manual-cvs.html...

Thomas Sjögren authored 19 years ago

8) <A HREF="../">Return to Main Contents</A><HR>
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

9) 
10) <A NAME="lbAB">&nbsp;</A>
11) <H2>NAME</H2>
12) 
13) tor - The second-generation onion router
14) <A NAME="lbAC">&nbsp;</A>
15) <H2>SYNOPSIS</H2>
16) 
17) <B>tor</B>
18) 
19) [<I>OPTION value</I>]...
20) <A NAME="lbAD">&nbsp;</A>
21) <H2>DESCRIPTION</H2>
22) 
23) <I>tor</I>
24) 
25) is a connection-oriented anonymizing communication
26) service. Users choose a source-routed path through a set of nodes, and
27) negotiate a &quot;virtual circuit&quot; through the network, in which each node
28) knows its predecessor and successor, but no others. Traffic flowing down
29) the circuit is unwrapped by a symmetric key at each node, which reveals
30) the downstream node.
31) <P>
32) 
33) Basically <I>tor</I> provides a distributed network of servers (&quot;onion
34) routers&quot;). Users bounce their TCP streams -- web traffic, ftp, ssh, etc --
35) around the routers, and recipients, observers, and even the routers
36) themselves have difficulty tracking the source of the stream.
37) <A NAME="lbAE">&nbsp;</A>
38) <H2>OPTIONS</H2>
39) 
40) <B>-h, -help</B>
41) Display a short help message and exit.
42) <DL COMPACT>
43) <DT><B>-f </B><I>FILE</I><DD>
44) FILE contains further &quot;option value&quot; pairs. (Default: @CONFDIR@/torrc)
45) <DT>Other options can be specified either on the command-line (<I>--option<DD>
46) value</I>), or in the configuration file (<I>option value</I>).
47) Options are case-insensitive.
48) <DT><B>BandwidthRate </B><I>N</I> <B>bytes</B>|<B>KB</B>|<B>MB</B>|<B>GB</B>|<B>TB</B><DD>
49) A token bucket limits the average incoming bandwidth on this node to
Thomas Sjögren update tor-manual-cvs.html

Thomas Sjögren authored 19 years ago

50) the specified number of bytes per second. (Default: 2 MB)
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

51) <DT><B>BandwidthBurst </B><I>N</I> <B>bytes</B>|<B>KB</B>|<B>MB</B>|<B>GB</B>|<B>TB</B><DD>
Thomas Sjögren update tor-manual-cvs.html

Thomas Sjögren authored 19 years ago

52) Limit the maximum token bucket size (also known as the burst) to the given number of bytes. (Default: 5 MB)
Thomas Sjögren Updated tor-manual-cvs.html...

Thomas Sjögren authored 19 years ago

53) <DT><B>MaxAdvertisedBandwidth </B><I>N</I> <B>bytes</B>|<B>KB</B>|<B>MB</B>|<B>GB</B>|<B>TB</B><DD>
54) If set, we will not advertise more than this amount of bandwidth for our
55) BandwidthRate. Server operators who want to reduce the number of clients
56) who ask to build circuits through them (since this is proportional to
57) advertised bandwidth rate) can thus reduce the CPU demands on their
58) server without impacting network performance.
Thomas Sjögren Update tor-manual-cvs.html

Thomas Sjögren authored 19 years ago

59) <DT><B>ControlPort </B><I>Port</I><DD>
60) If set, Tor will accept connections from the same machine (localhost only) on
61) this port, and allow those connections to control the Tor process using the
62) Tor Control Protocol (described in control-spec.txt).  Note: unless you also
63) specify one of <B>HashedControlPassword</B> or <B>CookieAuthentication</B>,
64) setting this option will cause Tor to allow any process on the local host to
65) control it.
66) <DT><B>HashedControlPassword </B><I>hashed_password</I><DD>
67) Don't allow any connections on the control port except when the other process
68) knows the password whose one-way hash is <I>hashed_password</I>.  You can
69) compute the hash of a password by running &quot;tor --hash-password
70) <I>password</I>&quot;.
71) <DT><B>CookieAuthentication </B><B>0</B>|<B>1</B><DD>
72) If this option is set to 1, don't allow any connections on the control port
73) except when the connecting process knows the contents of a file named
74) &quot;control_auth_cookie&quot;, which Tor will create in its data directory.  This
75) authentication methods should only be used on systems with good filesystem
76) security. (Default: 0)
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

77) <DT><B>DataDirectory </B><I>DIR</I><DD>
78) Store working data in DIR (Default: @LOCALSTATEDIR@/lib/tor)
Thomas Sjögren Update tor-manual-cvs.html

Thomas Sjögren authored 19 years ago

79) <DT><B>DirFetchPeriod </B><I>N</I> <B>seconds</B>|<B>minutes</B>|<B>hours</B>|<B>days</B>|<B>weeks</B><DD>
80) Every time the specified period elapses, Tor downloads a directory.
81) A directory contains a signed list of all known servers as well as
82) their current liveness status. A value of &quot;0 seconds&quot; tells Tor to choose an
Thomas Sjögren Update tor-manual-cvs.html...

Thomas Sjögren authored 19 years ago

83) appropriate default. (Default: 1 hour for clients, 20 minutes for servers)
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

84) <DT><B>DirServer </B><I>address:port fingerprint</I><DD>
85) Use a nonstandard authoritative directory server at the provided
86) address and port, with the specified key fingerprint.  This option can
87) be repeated many times, for multiple authoritative directory
88) servers. If no <B>dirserver</B> line is given, Tor will use the default
89) directory servers: moria1, moria2, and tor26.
90) <DT><B>Group </B><I>GID</I><DD>
91) On startup, setgid to this user.
92) <DT><B>HttpProxy</B> <I>host</I>[:<I>port</I>]<DD>
Thomas Sjögren update tor-manual-cvs.html...

Thomas Sjögren authored 19 years ago

93) Tor will make all its directory requests through this host:port
94) (or host:80 if port is not specified),
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

95) rather than connecting directly to any directory servers.
Thomas Sjögren update tor-manual-cvs.html...

Thomas Sjögren authored 19 years ago

96) <DT><B>HttpProxyAuthenticator</B> <I>username:password</I><DD>
97) If defined, Tor will use this username:password for Basic Http proxy
98) authentication, as in RFC 2617. This is currently the only form of
99) Http proxy authentication that Tor supports; feel free to submit a
100) patch if you want it to support others.
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

101) <DT><B>HttpsProxy</B> <I>host</I>[:<I>port</I>]<DD>
Thomas Sjögren update tor-manual-cvs.html...

Thomas Sjögren authored 19 years ago

102) Tor will make all its OR (SSL) connections through this host:port
103) (or host:443 if port is not specified), via HTTP CONNECT rather than
104) connecting directly to servers.  You may want to set <B>FascistFirewall</B>
105) to restrict the set of ports you might try to connect to, if your Https
106) proxy only allows connecting to certain ports.
Thomas Sjögren Update tor-manual-cvs.html

Thomas Sjögren authored 19 years ago

107) <DT><B>HttpsProxyAuthenticator</B> <I>username:password</I><DD>
108) If defined, Tor will use this username:password for Basic Https proxy
109) authentication, as in RFC 2617. This is currently the only form of
110) Https proxy authentication that Tor supports; feel free to submit a
Thomas Sjögren Update tor-manual-cvs.html...

Thomas Sjögren authored 19 years ago

111) patch if you want it to support others.
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

112) <DT><B>KeepalivePeriod </B><I>NUM</I><DD>
113) To keep firewalls from expiring connections, send a padding keepalive
Thomas Sjögren update tor-manual-cvs.html...

Thomas Sjögren authored 19 years ago

114) cell every NUM seconds on open connections that are in use. If the
115) connection has no open circuits, it will instead be closed after NUM
116) seconds of idleness. (Default: 5 minutes)
Thomas Sjögren Update tor-manual-cvs.html

Thomas Sjögren authored 19 years ago

117) <DT><B>Log </B><I>minSeverity</I>[-<I>maxSeverity</I>] <B>stderr</B>|<B>stdout</B>|<B>syslog</B><DD>
118) Send all messages between <I>minSeverity</I> and <I>maxSeverity</I> to
119) the standard output stream, the standard error stream, or to the system
120) log. (The &quot;syslog&quot; value is only supported on Unix.)  Recognized
121) severity levels are debug, info, notice, warn, and err.  If only one
122) severity level is given, all messages of that level or higher will be
123) sent to the listed destination.
124) <DT><B>Log </B><I>minSeverity</I>[-<I>maxSeverity</I>] <B>file</B> <I>FILENAME</I><DD>
125) As above, but send log messages to the listed filename.  The &quot;Log&quot;
126) option may appear more than once in a configuration file.  Messages
127) are sent to all the logs that match their severity level.
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

128) <DT><B>MaxConn </B><I>NUM</I><DD>
129) Maximum number of simultaneous sockets allowed.  You probably don't need
130) to adjust this. (Default: 1024)
131) <DT><B>OutboundBindAddress </B><I>IP</I><DD>
132) Make all outbound connections originate from the IP address specified.  This
133) is only useful when you have multiple network interfaces, and you want all
134) of Tor's outgoing connections to use a single one.
135) <DT><B>PIDFile </B><I>FILE</I><DD>
136) On startup, write our PID to FILE. On clean shutdown, remove FILE.
137) <DT><B>RunAsDaemon </B><B>0</B>|<B>1</B><DD>
138) If 1, Tor forks and daemonizes to the background. (Default: 0)
Thomas Sjögren Update tor-manual-cvs.html

Thomas Sjögren authored 19 years ago

139) <DT><B>SafeLogging </B><B>0</B>|<B>1</B><DD>
140) If 1, Tor replaces potentially sensitive strings in the logs
141) (e.g. addresses) with the string [scrubbed]. This way logs can still be
142) useful, but they don't leave behind personally identifying information
143) about what sites a user might have visited. (Default: 1)
144) <DT><B>StatusFetchPeriod </B><I>N</I> <B>seconds</B>|<B>minutes</B>|<B>hours</B>|<B>days</B>|<B>weeks</B><DD>
145) Every time the specified period elapses, Tor downloads signed status
146) information about the current state of known servers.  A value of
147) &quot;0 seconds&quot; tells Tor to choose an appropriate default. (Default: 30
Thomas Sjögren Update tor-manual-cvs.html...

Thomas Sjögren authored 19 years ago

148) minutes for clients, 15 minutes for servers)
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

149) <DT><B>User </B><I>UID</I><DD>
150) On startup, setuid to this user.
Thomas Sjögren tor-manual-cvs.html update

Thomas Sjögren authored 19 years ago

151) <DT><B>HardwareAccel </B><I>0|1</I><DD>
152) If non-zero, try to use crypto hardware acceleration when
153) available. (Default: 1. )
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

154) <P>
155) </DL>
156) <A NAME="lbAF">&nbsp;</A>
157) <H2>CLIENT OPTIONS</H2>
158) 
159) <P>
160) 
161) The following options are useful only for clients (that is, if <B>SOCKSPort</B> is non-zero):
162) <DL COMPACT>
163) <DT><B>AllowUnverifiedNodes</B> <B>entry</B>|<B>exit</B>|<B>middle</B>|<B>introduction</B>|<B>rendezvous</B>|...<DD>
164) Where on our circuits should we allow Tor servers that the directory
Thomas Sjögren Update tor-manual-cvs.html...

Thomas Sjögren authored 19 years ago

165) servers haven't authenticated as &quot;verified&quot;?  (Default: middle,rendezvous)
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

166) <DT><B>ClientOnly </B><B>0</B>|<B>1</B><DD>
Thomas Sjögren Update tor-manual-cvs.html

Thomas Sjögren authored 19 years ago

167) If set to 1, Tor will under no circumstances run as a server. The default
168) is to run as a client unless ORPort is configured.  (Usually,
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

169) you don't need to set this; Tor is pretty smart at figuring out whether
Thomas Sjögren Update tor-manual-cvs.html

Thomas Sjögren authored 19 years ago

170) you are reliable and high-bandwidth enough to be a useful server.)
Thomas Sjögren update tor-manual-cvs.html...

Thomas Sjögren authored 19 years ago

171) <P>
172) This option will likely be deprecated in the future; see the NoPublish
173) option below. (Default: 0)
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

174) <DT><B>EntryNodes </B><I>nickname</I>,<I>nickname</I>,<I>...</I><DD>
175) A list of preferred nodes to use for the first hop in the circuit, if possible.
176) <DT><B>ExitNodes </B><I>nickname</I>,<I>nickname</I>,<I>...</I><DD>
177) A list of preferred nodes to use for the last hop in the circuit, if possible.
178) <DT><B>ExcludeNodes </B><I>nickname</I>,<I>nickname</I>,<I>...</I><DD>
179) A list of nodes to never use when building a circuit.
180) <DT><B>StrictExitNodes </B><B>0</B>|<B>1</B><DD>
181) If 1, Tor will never use any nodes besides those listed in &quot;exitnodes&quot; for
182) the last hop of a circuit.
183) <DT><B>StrictEntryNodes </B><B>0</B>|<B>1</B><DD>
184) If 1, Tor will never use any nodes besides those listed in &quot;entrynodes&quot; for
185) the first hop of a circuit.
186) <DT><B>FascistFirewall </B><B>0</B>|<B>1</B><DD>
187) If 1, Tor will only create outgoing connections to ORs running on ports that
188) your firewall allows (defaults to 80 and 443; see <B>FirewallPorts</B>).  This will
189) allow you to run Tor as a client behind a firewall with restrictive policies,
190) but will not allow you to run as a server behind such a firewall.
191) <DT><B>FirewallPorts </B><I>PORTS</I><DD>
192) A list of ports that your firewall allows you to connect to.  Only used when
Thomas Sjögren Update tor-manual-cvs.html...

Thomas Sjögren authored 19 years ago

193) <B>FascistFirewall</B> is set. (Default: 80, 443)
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

194) <DT><B>LongLivedPorts </B><I>PORTS</I><DD>
195) A list of ports for services that tend to have long-running connections
196) (e.g. chat and interactive shells). Circuits for streams that use these
197) ports will contain only high-uptime nodes, to reduce the chance that a
Thomas Sjögren Update tor-manual-cvs.html...

Thomas Sjögren authored 19 years ago

198) node will go down before the stream is finished. (Default: 21, 22, 706, 1863, 5050, 
199) 5190, 5222, 5223, 6667, 8300, 8888)
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

200) <DT><B>MapAddress</B> <I>address</I> <I>newaddress</I><DD>
Thomas Sjögren Update tor-manual-cvs.html...

Thomas Sjögren authored 19 years ago

201) When a request for address arrives to Tor, it will rewrite it to newaddress before 
202) processing it. For example, if you always want connections to <A HREF="http://www.indymedia.org">www.indymedia.org</A> to 
203) exit via <I>torserver</I> (where <I>torserver</I> is the nickname of the server), 
204) use &quot;MapAddress <A HREF="http://www.indymedia.org">www.indymedia.org</A> <A HREF="http://www.indymedia.org.torserver.exit">www.indymedia.org.torserver.exit</A>&quot;.
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

205) <DT><B>NewCircuitPeriod </B><I>NUM</I><DD>
Thomas Sjögren Update tor-manual-cvs.html

Thomas Sjögren authored 19 years ago

206) Every NUM seconds consider whether to build a new circuit. (Default: 30 seconds)
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

207) <DT><B>MaxCircuitDirtiness </B><I>NUM</I><DD>
208) Feel free to reuse a circuit that was first used at most NUM seconds
Thomas Sjögren Update tor-manual-cvs.html

Thomas Sjögren authored 19 years ago

209) ago, but never attach a new stream to a circuit that is too old. (Default: 10 minutes)
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

210) <DT><B>NodeFamily </B><I>nickname</I>,<I>nickname</I>,<I>...</I><DD>
211) The named Tor servers constitute a &quot;family&quot; of similar or co-administered
212) servers, so never use any two of them in the same circuit. Defining a
213) NodeFamily is only needed when a server doesn't list the family itself
214) (with MyFamily). This option can be used multiple times.
215) <DT>
216) <DD>
217) 
218) 
Thomas Sjögren Update tor-manual-cvs.html...

Thomas Sjögren authored 19 years ago

219) 
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

220) <B>RendNodes </B><I>nickname</I>,<I>nickname</I>,<I>...</I>
221) A list of preferred nodes to use for the rendezvous point, if possible.
222) <DT><B>RendExcludeNodes </B><I>nickname</I>,<I>nickname</I>,<I>...</I><DD>
223) A list of nodes to never use when choosing a rendezvous point.
224) <DT><B>SOCKSPort </B><I>PORT</I><DD>
Thomas Sjögren Update tor-manual-cvs.html

Thomas Sjögren authored 19 years ago

225) Advertise this port to listen for connections from SOCKS-speaking
226) applications.  Set this to 0 if you don't want to allow application
227) connections. (Default: 9050)
228) <DT><B>SOCKSBindAddress </B><I>IP</I>[:<I>PORT</I>]<DD>
229) Bind to this address to listen for connections from SOCKS-speaking
230) applications. (Default: 127.0.0.1) You can also specify a port
231) (e.g. 192.168.0.1:9100). This directive can be specified multiple times
232) to bind to multiple addresses/ports.
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

233) <DT><B>SOCKSPolicy </B><I>policy</I>,<I>policy</I>,<I>...</I><DD>
Thomas Sjögren Update tor-manual-cvs.html...

Thomas Sjögren authored 19 years ago

234) Set an entrance policy for this server, to limit who can connect to the SOCKS ports. 
235) The policies have the same form as exit policies below.
Thomas Sjögren update tor-manual-cvs.html

Thomas Sjögren authored 19 years ago

236) <DT><B>TrackHostExits </B><I>host</I>,<I>.domain</I>,<I>...</I><DD>
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

237) For each value in the comma separated list, Tor will track recent connections
238) to hosts that match this value and attempt to
239) reuse the same exit node for each. If the value is prepended with a '.', it is
240) treated as matching an entire domain. If one of the values is just a '.', it
241) means match everything. This option is useful if you frequently connect to
242) sites that will expire all your authentication cookies (ie log you out) if
243) your IP address changes. Note that this option does have the disadvantage of
244) making it more clear that a given history is
245) associated with a single user. However, most people who would wish to observe
246) this will observe it through cookies or other protocol-specific means anyhow.
247) <DT><B>TrackHostExitsExpire </B><I>NUM</I><DD>
248) Since exit servers go up and down, it is desirable to expire the association
249) between host and exit server after NUM seconds of inactivity. The default
250) is 1800 seconds (30 minutes).
251) <P>
252) </DL>
253) <A NAME="lbAG">&nbsp;</A>
254) <H2>SERVER OPTIONS</H2>
255) 
256) <P>
257) 
258) The following options are useful only for servers (that is, if <B>ORPort</B> is non-zero):
259) <DL COMPACT>
260) <DT><B>Address </B><I>address</I><DD>
261) The IP or fqdn of this server (e.g. moria.mit.edu). You can leave this
262) unset, and Tor will guess your IP.
263) <DT><B>ContactInfo </B><I>email_address</I><DD>
264) Administrative contact information for server.
265) <DT><B>ExitPolicy </B><I>policy</I>,<I>policy</I>,<I>...</I><DD>
266) Set an exit policy for this server. Each policy is of the form
Thomas Sjögren update tor-manual-cvs.html...

Thomas Sjögren authored 19 years ago

267) &quot;<B>accept</B>|<B>reject</B> <I>ADDR</I>[<B>/</B><I>MASK</I>]<B>[:</B><I>PORT</I>]&quot;.
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

268) If <B>/</B><I>MASK</I> is omitted then this policy just applies to the host
269) given.  Instead of giving a host or network you can also use &quot;<B>*</B>&quot; to
270) denote the universe (0.0.0.0/0).  <I>PORT</I> can be a single port number,
271) an interval of ports &quot;<I>FROM_PORT</I><B>-</B><I>TO_PORT</I>&quot;, or &quot;<B>*</B>&quot;.
Thomas Sjögren update tor-manual-cvs.html...

Thomas Sjögren authored 19 years ago

272) If PORT is omitted, that means &quot;<B>*</B>&quot;.
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

273) <P>
274) For example, &quot;reject 127.0.0.1:*,reject 192.168.1.0/24:*,accept *:*&quot; would
275) reject any traffic destined for localhost and any 192.168.1.* address, but
276) accept anything else.
277) <P>
278) This directive can be specified multiple times so you don't have to put
279) it all on one line.
280) <P>
281) See RFC 3330 for more details about internal and reserved IP address
282) space. Policies are considered first to last, and the first match wins. If
283) you want to _replace_ the default exit policy, end your exit policy with
284) either a reject *:* or an accept *:*. Otherwise, you're _augmenting_
285) (prepending to) the default exit policy. The default exit policy is:
286) 
287) <DL COMPACT><DT><DD>
288) <DL COMPACT>
289) <DT>reject 0.0.0.0/8<DD>
290) <DT>reject 169.254.0.0/16<DD>
291) <DT>reject 127.0.0.0/8<DD>
292) <DT>reject 192.168.0.0/16<DD>
293) <DT>reject 10.0.0.0/8<DD>
294) <DT>reject 172.16.0.0/12<DD>
295) <DT>reject *:25<DD>
296) <DT>reject *:119<DD>
297) <DT>reject *:135-139<DD>
298) <DT>reject *:445<DD>
299) <DT>reject *:1214<DD>
300) <DT>reject *:4661-4666<DD>
301) <DT>reject *:6346-6429<DD>
302) <DT>reject *:6699<DD>
303) <DT>reject *:6881-6999<DD>
304) <DT>accept *:*<DD>
305) </DL>
306) </DL>
307) 
308) 
309) <DT><B>MaxOnionsPending </B><I>NUM</I><DD>
310) If you have more than this number of onionskins queued for decrypt, reject new ones. (Default: 100)
311) <DT><B>MyFamily </B><I>nickname</I>,<I>nickname</I>,<I>...</I><DD>
312) Declare that this Tor server is controlled or administered by a group
313) or organization identical or similar to that of the other named servers.
314) When two servers both declare that they are in the same 'family', Tor clients
315) will not use them in the same circuit.  (Each server only needs to list the
316) other servers in its family; it doesn't need to list itself, but it won't hurt.)
317) <DT><B>Nickname </B><I>name</I><DD>
318) Set the server's nickname to 'name'.
Thomas Sjögren update tor-manual-cvs.html...

Thomas Sjögren authored 19 years ago

319) <DT><B>NoPublish </B><B>0</B>|<B>1</B><DD>
320) If you set NoPublish 1, Tor will act as a server if you have an ORPort
321) defined, but it will not publish its descriptor to the dirservers. This
322) option is useful if you're testing out your server, or if you're using
323) alternate dirservers (e.g. for other Tor networks such as Blossom).
324) (Default: 0)
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

325) <DT><B>NumCPUs </B><I>num</I><DD>
326) How many processes to use at once for decrypting onionskins. (Default: 1)
327) <DT><B>ORPort </B><I>PORT</I><DD>
Thomas Sjögren Update tor-manual-cvs.html

Thomas Sjögren authored 19 years ago

328) Advertise this port to listen for connections from Tor clients and servers.
329) <DT><B>ORBindAddress </B><I>IP</I>[:<I>PORT</I>]<DD>
330) Bind to this IP address to listen for connections from Tor clients and
331) servers. If you specify a port, bind to this port rather than the one
332) specified in ORPort. (Default: 0.0.0.0)
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

333) <DT><B>RedirectExit </B><I>pattern target</I><DD>
334) Whenever an outgoing connection tries to connect to one of a given set
335) of addresses, connect to <I>target</I> (an <I>address:port</I> pair) instead.
336) The address
337) pattern is given in the same format as for an exit policy.  The
338) address translation applies after exit policies are applied.  Multiple
339) <B>RedirectExit</B> options can be used: once any one has matched
340) successfully, no subsequent rules are considered.  You can specify that no
341) redirection is to be performed on a given set of addresses by using the
342) special target string &quot;pass&quot;, which prevents subsequent rules from being
343) considered.
344) <DT><B>ShutdownWaitLength</B><I>NUM</I><DD>
345) When we get a SIGINT and we're a server, we begin shutting down: we close
346) listeners and start refusing new circuits. After <B>NUM</B> seconds,
347) we exit. If we get a second SIGINT, we exit immediately.  (Default:
348) 30 seconds)
349) <DT><B>DirPostPeriod </B><I>N</I> <B>seconds</B>|<B>minutes</B>|<B>hours</B>|<B>days</B>|<B>weeks</B><DD>
350) Every time the specified period elapses, Tor uploads its server
351) descriptors to the directory servers.  This information is also
Thomas Sjögren Update tor-manual-cvs.html...

Thomas Sjögren authored 19 years ago

352) uploaded whenever it changes.  (Default: 20 minutes)
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

353) <DT><B>AccountingMax </B><I>N</I> <B>bytes</B>|<B>KB</B>|<B>MB</B>|<B>GB</B>|<B>TB</B><DD>
354) Never send more than the specified number of bytes in a given
355) accounting period, or receive more than that number in the period.
Thomas Sjögren Update tor-manual-cvs.html

Thomas Sjögren authored 19 years ago

356) For example, with AccountingMax set to 1 GB, a server could send 900 MB
357) and receive 800 MB and continue running. It will only hibernate once one
358) of the two reaches 1 GB.
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

359) When the number of bytes is exhausted, Tor will hibernate until some
360) time in the next accounting period.  To prevent all servers from
361) waking at the same time, Tor will also wait until a random point in
362) each period before waking up.  If you have bandwidth cost issues,
Thomas Sjögren Updated tor-manual-cvs.html...

Thomas Sjögren authored 19 years ago

363) enabling hibernation is preferable to setting a low bandwidth, since it
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

364) provides users with a collection of fast servers that are up some of
365) the time, which is more useful than a set of slow servers that are
366) always &quot;available&quot;.
367) <DT><B>AccountingStart </B><B>day</B>|<B>week</B>|<B>month</B> [<I>day</I>] <I>HH:MM</I><DD>
368) Specify how long accounting periods last.  If <B>month</B> is given,
369) each accounting period runs from the time <I>HH:MM</I> on the
370) <I>day</I>th day of one month to the same day and time of the next.
371) (The day must be between 1 and 28.)  If <B>week</B> is given, each
372) accounting period runs from the time <I>HH:MM</I> of the <I>day</I>th
373) day of one week to the same day and time of the next week, with Monday
374) as day 1 and Sunday as day 7.  If <B>day</B> is given, each accounting
375) period runs from the time <I>HH:MM</I> each day to the same time on the
376) next day.  All times are local, and given in 24-hour time.  (Defaults to
377) &quot;month 1 0:00&quot;.)
378) <P>
379) </DL>
380) <A NAME="lbAH">&nbsp;</A>
381) <H2>DIRECTORY SERVER OPTIONS</H2>
382) 
383) <P>
384) 
385) The following options are useful only for directory servers (that is, if <B>DirPort</B> is non-zero):
386) <DL COMPACT>
387) <DT><B>AuthoritativeDirectory </B><B>0</B>|<B>1</B><DD>
388) When this option is set to 1, Tor operates as an authoritative
389) directory server.  Instead of caching the directory, it generates its
390) own list of good servers, signs it, and sends that to the clients.
391) Unless the clients already have you listed as a trusted directory, you
392) probably do not want to set this option.  Please coordinate with the other
393) admins at <A HREF="mailto:tor-ops@freehaven.net">tor-ops@freehaven.net</A> if you think you should be a directory.
394) <DT><B>DirPort </B><I>PORT</I><DD>
Thomas Sjögren Update tor-manual-cvs.html

Thomas Sjögren authored 19 years ago

395) Advertise the directory service on this port.
396) <DT><B>DirBindAddress </B><I>IP</I>[:<I>PORT</I>]<DD>
397) Bind the directory service to this address. If you specify a port, bind
398) to this port rather than the one specified in DirPort. (Default: 0.0.0.0)
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

399) <DT><B>DirPolicy </B><I>policy</I>,<I>policy</I>,<I>...</I><DD>
Thomas Sjögren Update tor-manual-cvs.html...

Thomas Sjögren authored 19 years ago

400) Set an entrance policy for this server, to limit who can connect to the directory ports. 
401) The policies have the same form as exit policies above.
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

402) <DT><B>RecommendedVersions </B><I>STRING</I><DD>
403) STRING is a command-separated list of Tor versions currently believed
404) to be safe. The list is included in each directory, and nodes which
405) pull down the directory learn whether they need to upgrade.  This
406) option can appear multiple times: the values from multiple lines are
407) spliced together.
408) <DT><B>DirAllowPrivateAddresses </B><B>0</B>|<B>1</B><DD>
409) If set to 1, Tor will accept router descriptors with arbitrary &quot;Address&quot;
410) elements. Otherwise, if the address is not an IP or is a private IP,
411) it will reject the router descriptor. Defaults to 0.
412) <DT><B>RunTesting </B><B>0</B>|<B>1</B><DD>
413) If set to 1, Tor tries to build circuits through all of the servers it
414) knows about, so it can tell which are up and which are down.  This
415) option is only useful for authoritative directories, so you probably
416) don't want to use it.
417) <P>
418) </DL>
419) <A NAME="lbAI">&nbsp;</A>
420) <H2>HIDDEN SERVICE OPTIONS</H2>
421) 
422) <P>
423) 
424) The following options are used to configure a hidden service.
425) <DL COMPACT>
426) <DT><B>HiddenServiceDir </B><I>DIRECTORY</I><DD>
427) Store data files for a hidden service in DIRECTORY.  Every hidden
428) service must have a separate directory.  You may use this option multiple
429) times to specify multiple services.
430) <DT><B>HiddenServicePort </B><I>VIRTPORT </I>[<I>TARGET</I>]<DD>
431) Configure a virtual port VIRTPORT for a hidden service.  You may use this
432) option multiple times; each time applies to the service using the most recent
433) hiddenservicedir.  By default, this option maps the virtual port to the
434) same port on 127.0.0.1.  You may override the target port, address, or both
435) by specifying a target of addr, port, or addr:port.
436) <DT><B>HiddenServiceNodes </B><I>nickname</I>,<I>nickname</I>,<I>...</I><DD>
437) If possible, use the specified nodes as introduction points for the hidden
438) service. If this is left unset, Tor will be smart and pick some reasonable
439) ones; most people can leave this unset.
440) <DT><B>HiddenServiceExcludeNodes </B><I>nickname</I>,<I>nickname</I>,<I>...</I><DD>
441) Do not use the specified nodes as introduction points for the hidden
442) service. In normal use there is no reason to set this.
Thomas Sjögren Update tor-manual-cvs.html

Thomas Sjögren authored 19 years ago

443) <DT><B>RendPostPeriod </B><I>N</I> <B>seconds</B>|<B>minutes</B>|<B>hours</B>|<B>days</B>|<B>weeks</B><DD>
444) Every time the specified period elapses, Tor uploads any rendezvous
445) service descriptors to the directory servers.  This information is also
Thomas Sjögren Update tor-manual-cvs.html...

Thomas Sjögren authored 19 years ago

446) uploaded whenever it changes.  (Default: 20 minutes)
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

447) <P>
448) 
449) 
450) <P>
451) </DL>
452) <A NAME="lbAJ">&nbsp;</A>
453) <H2>SIGNALS</H2>
454) 
455) Tor catches the following signals:
456) <DL COMPACT>
457) <DT><B>SIGTERM</B><DD>
458) Tor will catch this, clean up and sync to disk if necessary, and exit.
459) <DT><B>SIGINT</B><DD>
460) Tor clients behave as with SIGTERM; but Tor servers will do a controlled
461) slow shutdown, closing listeners and waiting 30 seconds before exiting.
Thomas Sjögren Update tor-manual-cvs.html

Thomas Sjögren authored 19 years ago

462) (The delay can be configured with the ShutdownWaitLength config option.)
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

463) <DT><B>SIGHUP</B><DD>
464) The signal instructs Tor to reload its configuration (including closing
465) and reopening logs), fetch a new directory, and kill and restart its
466) helper processes if applicable.
467) <DT><B>SIGUSR1</B><DD>
468) Log statistics about current connections, past connections, and
469) throughput.
470) <DT><B>SIGUSR2</B><DD>
471) Switch all logs to loglevel debug. You can go back to the old loglevels
472) by sending a SIGHUP.
473) <DT><B>SIGCHLD</B><DD>
474) Tor receives this signal when one of its helper processes has exited,
475) so it can clean up.
476) <DT><B>SIGPIPE</B><DD>
477) Tor catches this signal and ignores it.
478) <DT><B>SIGXFSZ</B><DD>
479) If this signal exists on your platform, Tor catches and ignores it.
480) <P>
481) </DL>
482) <A NAME="lbAK">&nbsp;</A>
483) <H2>FILES</H2>
484) 
485) <DL COMPACT>
486) <DT><I>@CONFDIR@/torrc</I>
487) 
488) <DD>
489) The configuration file, which contains &quot;option value&quot; pairs.
490) <DT><I>@LOCALSTATEDIR@/lib/tor/</I>
491) 
492) <DD>
493) The tor process stores keys and other data here.
494) <P>
495) </DL>
496) <A NAME="lbAL">&nbsp;</A>
497) <H2>SEE ALSO</H2>
498) 
Thomas Sjögren Updated tor-manual-cvs.html...

Thomas Sjögren authored 19 years ago

499) <B><A HREF="../?1+privoxy">privoxy</A></B>(1),
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

500) 
Thomas Sjögren Updated tor-manual-cvs.html...

Thomas Sjögren authored 19 years ago

501) <B><A HREF="../?1+tsocks">tsocks</A></B>(1),
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

502) 
Thomas Sjögren Updated tor-manual-cvs.html...

Thomas Sjögren authored 19 years ago

503) <B><A HREF="../?1+torify">torify</A></B>(1)
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

504) 
505) <P>
506) <B><A HREF="http://tor.eff.org/">http://tor.eff.org/</A></B>
507) 
508) <P>
509) <A NAME="lbAM">&nbsp;</A>
510) <H2>BUGS</H2>
511) 
Thomas Sjögren Update tor-manual-cvs.html

Thomas Sjögren authored 19 years ago

512) Plenty, probably. Tor is still in development. Please report them.
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

513) <A NAME="lbAN">&nbsp;</A>
514) <H2>AUTHORS</H2>
515) 
516) Roger Dingledine &lt;<A HREF="mailto:arma@mit.edu">arma@mit.edu</A>&gt;, Nick Mathewson &lt;<A HREF="mailto:nickm@alum.mit.edu">nickm@alum.mit.edu</A>&gt;.
517) <P>
518) 
519) <HR>
520) <A NAME="index">&nbsp;</A><H2>Index</H2>
521) <DL>
522) <DT><A HREF="#lbAB">NAME</A><DD>
523) <DT><A HREF="#lbAC">SYNOPSIS</A><DD>
524) <DT><A HREF="#lbAD">DESCRIPTION</A><DD>
525) <DT><A HREF="#lbAE">OPTIONS</A><DD>
526) <DT><A HREF="#lbAF">CLIENT OPTIONS</A><DD>
527) <DT><A HREF="#lbAG">SERVER OPTIONS</A><DD>
528) <DT><A HREF="#lbAH">DIRECTORY SERVER OPTIONS</A><DD>
529) <DT><A HREF="#lbAI">HIDDEN SERVICE OPTIONS</A><DD>
530) <DT><A HREF="#lbAJ">SIGNALS</A><DD>
531) <DT><A HREF="#lbAK">FILES</A><DD>
532) <DT><A HREF="#lbAL">SEE ALSO</A><DD>
533) <DT><A HREF="#lbAM">BUGS</A><DD>
534) <DT><A HREF="#lbAN">AUTHORS</A><DD>
535) </DL>
536) <HR>
537) This document was created by
Thomas Sjögren Updated tor-manual-cvs.html...

Thomas Sjögren authored 19 years ago

538) <A HREF="../">man2html</A>,
Thomas Sjögren tor-manual is now for the l...

Thomas Sjögren authored 19 years ago

539) using the manual pages.<BR>
Thomas Sjögren tor-manual-cvs.html update

Thomas Sjögren authored 19 years ago

540) Time: 00:17:30 GMT, June 23, 2005