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>
|
Update tor-manual-cvs.html
Thomas Sjögren authored 19 years ago
|
7) Section: User Commands (1)<BR>Updated: May 2005<BR><A HREF="#index">Index</A>
|
Updated tor-manual-cvs.html...
Thomas Sjögren authored 19 years ago
|
8) <A HREF="../">Return to Main Contents</A><HR>
|
tor-manual is now for the l...
Thomas Sjögren authored 19 years ago
|
9)
10) <A NAME="lbAB"> </A>
11) <H2>NAME</H2>
12)
13) tor - The second-generation onion router
14) <A NAME="lbAC"> </A>
15) <H2>SYNOPSIS</H2>
16)
17) <B>tor</B>
18)
19) [<I>OPTION value</I>]...
20) <A NAME="lbAD"> </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 "virtual circuit" 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 ("onion
34) routers"). 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"> </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 "option value" 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>Log </B><I>minSeverity</I>[-<I>maxSeverity</I>] <B>stderr</B>|<B>stdout</B>|<B>syslog</B><DD>
49) Send all messages between <I>minSeverity</I> and <I>maxSeverity</I> to
50) the standard output stream, the standard error stream, or to the system
51) log. (The "syslog" value is only supported on Unix.) Recognized
52) severity levels are debug, info, notice, warn, and err. If only one
53) severity level is given, all messages of that level or higher will be
54) sent to the listed destination.
55) <DT><B>Log </B><I>minSeverity</I>[-<I>maxSeverity</I>] <B>file</B> <I>FILENAME</I><DD>
56) As above, but send log messages to the listed filename. The "Log"
57) option may appear more than once in a configuration file. Messages
58) are sent to all the logs that match their severity level.
59) <DT><B>BandwidthRate </B><I>N</I> <B>bytes</B>|<B>KB</B>|<B>MB</B>|<B>GB</B>|<B>TB</B><DD>
60) A token bucket limits the average incoming bandwidth on this node to
|
update tor-manual-cvs.html
Thomas Sjögren authored 19 years ago
|
61) the specified number of bytes per second. (Default: 2 MB)
|
tor-manual is now for the l...
Thomas Sjögren authored 19 years ago
|
62) <DT><B>BandwidthBurst </B><I>N</I> <B>bytes</B>|<B>KB</B>|<B>MB</B>|<B>GB</B>|<B>TB</B><DD>
|
update tor-manual-cvs.html
Thomas Sjögren authored 19 years ago
|
63) Limit the maximum token bucket size (also known as the burst) to the given number of bytes. (Default: 5 MB)
|
Updated tor-manual-cvs.html...
Thomas Sjögren authored 19 years ago
|
64) <DT><B>MaxAdvertisedBandwidth </B><I>N</I> <B>bytes</B>|<B>KB</B>|<B>MB</B>|<B>GB</B>|<B>TB</B><DD>
65) If set, we will not advertise more than this amount of bandwidth for our
66) BandwidthRate. Server operators who want to reduce the number of clients
67) who ask to build circuits through them (since this is proportional to
68) advertised bandwidth rate) can thus reduce the CPU demands on their
69) server without impacting network performance.
|
tor-manual is now for the l...
Thomas Sjögren authored 19 years ago
|
70) <DT><B>DataDirectory </B><I>DIR</I><DD>
71) Store working data in DIR (Default: @LOCALSTATEDIR@/lib/tor)
72) <DT><B>DirServer </B><I>address:port fingerprint</I><DD>
73) Use a nonstandard authoritative directory server at the provided
74) address and port, with the specified key fingerprint. This option can
75) be repeated many times, for multiple authoritative directory
76) servers. If no <B>dirserver</B> line is given, Tor will use the default
77) directory servers: moria1, moria2, and tor26.
78) <DT><B>Group </B><I>GID</I><DD>
79) On startup, setgid to this user.
80) <DT><B>HttpProxy</B> <I>host</I>[:<I>port</I>]<DD>
81) If set, Tor will make all its directory requests through this host:port,
82) rather than connecting directly to any directory servers.
83) <DT><B>HttpsProxy</B> <I>host</I>[:<I>port</I>]<DD>
84) If set, Tor will make all its OR (SSL) connections through this host:port,
85) via HTTP CONNECT, rather than connecting directly to servers.
|
Update tor-manual-cvs.html
Thomas Sjögren authored 19 years ago
|
86) <DT><B>HttpsProxyAuthenticator</B> <I>username:password</I><DD>
87) If defined, Tor will use this username:password for Basic Https proxy
88) authentication, as in RFC 2617. This is currently the only form of
89) Https proxy authentication that Tor supports; feel free to submit a
90) patch if you want it to support others. You may want to set FascistFirewall
91) to restrict the set of ports you might try to connect to, if your Https
92) proxy only allows connecting to certain ports.
|
tor-manual is now for the l...
Thomas Sjögren authored 19 years ago
|
93) <DT><B>KeepalivePeriod </B><I>NUM</I><DD>
94) To keep firewalls from expiring connections, send a padding keepalive
95) cell on open connections every NUM seconds. (Default: 5 minutes.)
96) <DT><B>MaxConn </B><I>NUM</I><DD>
97) Maximum number of simultaneous sockets allowed. You probably don't need
98) to adjust this. (Default: 1024)
99) <DT><B>OutboundBindAddress </B><I>IP</I><DD>
100) Make all outbound connections originate from the IP address specified. This
101) is only useful when you have multiple network interfaces, and you want all
102) of Tor's outgoing connections to use a single one.
103) <DT><B>PIDFile </B><I>FILE</I><DD>
104) On startup, write our PID to FILE. On clean shutdown, remove FILE.
105) <DT><B>RunAsDaemon </B><B>0</B>|<B>1</B><DD>
106) If 1, Tor forks and daemonizes to the background. (Default: 0)
107) <DT><B>User </B><I>UID</I><DD>
108) On startup, setuid to this user.
109) <DT><B>ControlPort </B><I>Port</I><DD>
110) If set, Tor will accept connections from the same machine (localhost only) on
111) this port, and allow those connections to control the Tor process using the
112) Tor Control Protocol (described in control-spec.txt). Note: unless you also
113) specify one of <B>HashedControlPassword</B> or <B>CookieAuthentication</B>,
114) setting this option will cause Tor to allow any process on the local host to
115) control it.
116) <DT><B>HashedControlPassword </B><I>hashed_password</I><DD>
117) Don't allow any connections on the control port except when the other process
118) knows the password whose one-way hash is <I>hashed_password</I>. You can
119) compute the hash of a password by running "tor --hash-password
120) <I>password</I>".
121) <DT><B>CookieAuthentication </B><B>0</B>|<B>1</B><DD>
122) If this option is set to 1, don't allow any connections on the control port
123) except when the connecting process knows the contents of a file named
124) "control_auth_cookie", which Tor will create in its data directory. This
125) authentication methods should only be used on systems with good filesystem
126) security.
|
Update tor-manual-cvs.html
Thomas Sjögren authored 19 years ago
|
127) <DT><B>DirFetchPeriod </B><I>N</I> <B>seconds</B>|<B>minutes</B>|<B>hours</B>|<B>days</B>|<B>weeks</B><DD>
|
tor-manual is now for the l...
Thomas Sjögren authored 19 years ago
|
128) Every time the specified period elapses, Tor downloads a directory.
129) A directory contains a signed list of all known servers as well as
130) their current liveness status. A value of "0 seconds" tells Tor to choose an
131) appropriate default. (Default: 1 hour for clients, 20 minutes for servers.)
132) <DT><B>StatusFetchPeriod </B><I>N</I> <B>seconds</B>|<B>minutes</B>|<B>hours</B>|<B>days</B>|<B>weeks</B> Every time the<DD>
133) specified period elapses, Tor downloads signed status information about the
134) current state of known servers. A value of "0 seconds" tells Tor to choose
135) an appropriate default. (Default: 30 minutes for clients, 15 minutes for
136) servers.) (Default: 20 minutes.)
137) <DT><B>RendPostPeriod </B><I>N</I> <B>seconds</B>|<B>minutes</B>|<B>hours</B>|<B>days</B>|<B>weeks</B><DD>
138) Every time the specified period elapses, Tor uploads any rendezvous
139) service descriptors to the directory servers. This information is also
140) uploaded whenever it changes. (Default: 20 minutes.)
141) <P>
142) </DL>
143) <A NAME="lbAF"> </A>
144) <H2>CLIENT OPTIONS</H2>
145)
146) <P>
147)
148) The following options are useful only for clients (that is, if <B>SOCKSPort</B> is non-zero):
149) <DL COMPACT>
150) <DT><B>AllowUnverifiedNodes</B> <B>entry</B>|<B>exit</B>|<B>middle</B>|<B>introduction</B>|<B>rendezvous</B>|...<DD>
151) Where on our circuits should we allow Tor servers that the directory
152) servers haven't authenticated as "verified"? (Default: middle,rendezvous.)
153) <DT><B>ClientOnly </B><B>0</B>|<B>1</B><DD>
|
Update tor-manual-cvs.html
Thomas Sjögren authored 19 years ago
|
154) If set to 1, Tor will under no circumstances run as a server. The default
155) is to run as a client unless ORPort is configured. (Usually,
|
tor-manual is now for the l...
Thomas Sjögren authored 19 years ago
|
156) you don't need to set this; Tor is pretty smart at figuring out whether
|
Update tor-manual-cvs.html
Thomas Sjögren authored 19 years ago
|
157) you are reliable and high-bandwidth enough to be a useful server.)
|
tor-manual is now for the l...
Thomas Sjögren authored 19 years ago
|
158) <DT><B>EntryNodes </B><I>nickname</I>,<I>nickname</I>,<I>...</I><DD>
159) A list of preferred nodes to use for the first hop in the circuit, if possible.
160) <DT><B>ExitNodes </B><I>nickname</I>,<I>nickname</I>,<I>...</I><DD>
161) A list of preferred nodes to use for the last hop in the circuit, if possible.
162) <DT><B>ExcludeNodes </B><I>nickname</I>,<I>nickname</I>,<I>...</I><DD>
163) A list of nodes to never use when building a circuit.
164) <DT><B>StrictExitNodes </B><B>0</B>|<B>1</B><DD>
165) If 1, Tor will never use any nodes besides those listed in "exitnodes" for
166) the last hop of a circuit.
167) <DT><B>StrictEntryNodes </B><B>0</B>|<B>1</B><DD>
168) If 1, Tor will never use any nodes besides those listed in "entrynodes" for
169) the first hop of a circuit.
170) <DT><B>FascistFirewall </B><B>0</B>|<B>1</B><DD>
171) If 1, Tor will only create outgoing connections to ORs running on ports that
172) your firewall allows (defaults to 80 and 443; see <B>FirewallPorts</B>). This will
173) allow you to run Tor as a client behind a firewall with restrictive policies,
174) but will not allow you to run as a server behind such a firewall.
175) <DT><B>FirewallPorts </B><I>PORTS</I><DD>
176) A list of ports that your firewall allows you to connect to. Only used when
177) <B>FascistFirewall</B> is set. (Default: 80, 443.)
178) <DT><B>LongLivedPorts </B><I>PORTS</I><DD>
179) A list of ports for services that tend to have long-running connections
180) (e.g. chat and interactive shells). Circuits for streams that use these
181) ports will contain only high-uptime nodes, to reduce the chance that a
182) node will go down before the stream is finished.
183) <DT><B>MapAddress</B> <I>address</I> <I>newaddress</I><DD>
|
Update tor-manual-cvs.html...
Thomas Sjögren authored 19 years ago
|
184) When a request for address arrives to Tor, it will rewrite it to newaddress before processing it. For example, if you always want connections to <A HREF="http://www.indymedia.org">www.indymedia.org</A> to exit via <I>torserver</I> (where <I>torserver</I> is the nickname of the server), use "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>".
|
tor-manual is now for the l...
Thomas Sjögren authored 19 years ago
|
185) <DT><B>NewCircuitPeriod </B><I>NUM</I><DD>
186) Every NUM seconds consider whether to build a new circuit. (Default: 60)
187) <DT><B>MaxCircuitDirtiness </B><I>NUM</I><DD>
188) Feel free to reuse a circuit that was first used at most NUM seconds
189) ago, but never attach a new stream to a circuit that is too old.
190) <DT><B>NodeFamily </B><I>nickname</I>,<I>nickname</I>,<I>...</I><DD>
191) The named Tor servers constitute a "family" of similar or co-administered
192) servers, so never use any two of them in the same circuit. Defining a
193) NodeFamily is only needed when a server doesn't list the family itself
194) (with MyFamily). This option can be used multiple times.
195) <DT>
196) <DD>
197)
198)
199) <B>RendNodes </B><I>nickname</I>,<I>nickname</I>,<I>...</I>
200) A list of preferred nodes to use for the rendezvous point, if possible.
201) <DT><B>RendExcludeNodes </B><I>nickname</I>,<I>nickname</I>,<I>...</I><DD>
202) A list of nodes to never use when choosing a rendezvous point.
203) <DT><B>SOCKSPort </B><I>PORT</I><DD>
|
Update tor-manual-cvs.html
Thomas Sjögren authored 19 years ago
|
204) Advertise this port to listen for connections from SOCKS-speaking
205) applications. Set this to 0 if you don't want to allow application
206) connections. (Default: 9050)
207) <DT><B>SOCKSBindAddress </B><I>IP</I>[:<I>PORT</I>]<DD>
208) Bind to this address to listen for connections from SOCKS-speaking
209) applications. (Default: 127.0.0.1) You can also specify a port
210) (e.g. 192.168.0.1:9100). This directive can be specified multiple times
211) to bind to multiple addresses/ports.
|
tor-manual is now for the l...
Thomas Sjögren authored 19 years ago
|
212) <DT><B>SOCKSPolicy </B><I>policy</I>,<I>policy</I>,<I>...</I><DD>
213) Set an entrance policy for this server, to limit who can connect to the SOCKS ports. The policies have the same form as exit policies below.
|
update tor-manual-cvs.html
Thomas Sjögren authored 19 years ago
|
214) <DT><B>TrackHostExits </B><I>host</I>,<I>.domain</I>,<I>...</I><DD>
|
tor-manual is now for the l...
Thomas Sjögren authored 19 years ago
|
215) For each value in the comma separated list, Tor will track recent connections
216) to hosts that match this value and attempt to
217) reuse the same exit node for each. If the value is prepended with a '.', it is
218) treated as matching an entire domain. If one of the values is just a '.', it
219) means match everything. This option is useful if you frequently connect to
220) sites that will expire all your authentication cookies (ie log you out) if
221) your IP address changes. Note that this option does have the disadvantage of
222) making it more clear that a given history is
223) associated with a single user. However, most people who would wish to observe
224) this will observe it through cookies or other protocol-specific means anyhow.
225) <DT><B>TrackHostExitsExpire </B><I>NUM</I><DD>
226) Since exit servers go up and down, it is desirable to expire the association
227) between host and exit server after NUM seconds of inactivity. The default
228) is 1800 seconds (30 minutes).
229) <P>
230) </DL>
231) <A NAME="lbAG"> </A>
232) <H2>SERVER OPTIONS</H2>
233)
234) <P>
235)
236) The following options are useful only for servers (that is, if <B>ORPort</B> is non-zero):
237) <DL COMPACT>
238) <DT><B>Address </B><I>address</I><DD>
239) The IP or fqdn of this server (e.g. moria.mit.edu). You can leave this
240) unset, and Tor will guess your IP.
241) <DT><B>ContactInfo </B><I>email_address</I><DD>
242) Administrative contact information for server.
243) <DT><B>ExitPolicy </B><I>policy</I>,<I>policy</I>,<I>...</I><DD>
244) Set an exit policy for this server. Each policy is of the form
245) "<B>accept</B>|<B>reject</B> <I>ADDR</I>[<B>/</B><I>MASK</I>]<B>:</B><I>PORT</I>".
246) If <B>/</B><I>MASK</I> is omitted then this policy just applies to the host
247) given. Instead of giving a host or network you can also use "<B>*</B>" to
248) denote the universe (0.0.0.0/0). <I>PORT</I> can be a single port number,
249) an interval of ports "<I>FROM_PORT</I><B>-</B><I>TO_PORT</I>", or "<B>*</B>".
250) <P>
251) For example, "reject 127.0.0.1:*,reject 192.168.1.0/24:*,accept *:*" would
252) reject any traffic destined for localhost and any 192.168.1.* address, but
253) accept anything else.
254) <P>
255) This directive can be specified multiple times so you don't have to put
256) it all on one line.
257) <P>
258) See RFC 3330 for more details about internal and reserved IP address
259) space. Policies are considered first to last, and the first match wins. If
260) you want to _replace_ the default exit policy, end your exit policy with
261) either a reject *:* or an accept *:*. Otherwise, you're _augmenting_
262) (prepending to) the default exit policy. The default exit policy is:
263)
264) <DL COMPACT><DT><DD>
265) <DL COMPACT>
266) <DT>reject 0.0.0.0/8<DD>
267) <DT>reject 169.254.0.0/16<DD>
268) <DT>reject 127.0.0.0/8<DD>
269) <DT>reject 192.168.0.0/16<DD>
270) <DT>reject 10.0.0.0/8<DD>
271) <DT>reject 172.16.0.0/12<DD>
272) <DT>reject *:25<DD>
273) <DT>reject *:119<DD>
274) <DT>reject *:135-139<DD>
275) <DT>reject *:445<DD>
276) <DT>reject *:1214<DD>
277) <DT>reject *:4661-4666<DD>
278) <DT>reject *:6346-6429<DD>
279) <DT>reject *:6699<DD>
280) <DT>reject *:6881-6999<DD>
281) <DT>accept *:*<DD>
282) </DL>
283) </DL>
284)
285)
286) <DT><B>MaxOnionsPending </B><I>NUM</I><DD>
287) If you have more than this number of onionskins queued for decrypt, reject new ones. (Default: 100)
288) <DT><B>MyFamily </B><I>nickname</I>,<I>nickname</I>,<I>...</I><DD>
289) Declare that this Tor server is controlled or administered by a group
290) or organization identical or similar to that of the other named servers.
291) When two servers both declare that they are in the same 'family', Tor clients
292) will not use them in the same circuit. (Each server only needs to list the
293) other servers in its family; it doesn't need to list itself, but it won't hurt.)
294) <DT><B>Nickname </B><I>name</I><DD>
295) Set the server's nickname to 'name'.
296) <DT><B>NumCPUs </B><I>num</I><DD>
297) How many processes to use at once for decrypting onionskins. (Default: 1)
298) <DT><B>ORPort </B><I>PORT</I><DD>
|
Update tor-manual-cvs.html
Thomas Sjögren authored 19 years ago
|
299) Advertise this port to listen for connections from Tor clients and servers.
300) <DT><B>ORBindAddress </B><I>IP</I>[:<I>PORT</I>]<DD>
301) Bind to this IP address to listen for connections from Tor clients and
302) servers. If you specify a port, bind to this port rather than the one
303) specified in ORPort. (Default: 0.0.0.0)
|
tor-manual is now for the l...
Thomas Sjögren authored 19 years ago
|
304) <DT><B>RedirectExit </B><I>pattern target</I><DD>
305) Whenever an outgoing connection tries to connect to one of a given set
306) of addresses, connect to <I>target</I> (an <I>address:port</I> pair) instead.
307) The address
308) pattern is given in the same format as for an exit policy. The
309) address translation applies after exit policies are applied. Multiple
310) <B>RedirectExit</B> options can be used: once any one has matched
311) successfully, no subsequent rules are considered. You can specify that no
312) redirection is to be performed on a given set of addresses by using the
313) special target string "pass", which prevents subsequent rules from being
314) considered.
315) <DT><B>ShutdownWaitLength</B><I>NUM</I><DD>
316) When we get a SIGINT and we're a server, we begin shutting down: we close
317) listeners and start refusing new circuits. After <B>NUM</B> seconds,
318) we exit. If we get a second SIGINT, we exit immediately. (Default:
319) 30 seconds)
320) <DT><B>DirPostPeriod </B><I>N</I> <B>seconds</B>|<B>minutes</B>|<B>hours</B>|<B>days</B>|<B>weeks</B><DD>
321) Every time the specified period elapses, Tor uploads its server
322) descriptors to the directory servers. This information is also
323) uploaded whenever it changes. (Default: 20 minutes.)
324) <DT><B>AccountingMax </B><I>N</I> <B>bytes</B>|<B>KB</B>|<B>MB</B>|<B>GB</B>|<B>TB</B><DD>
325) Never send more than the specified number of bytes in a given
326) accounting period, or receive more than that number in the period.
|
Update tor-manual-cvs.html
Thomas Sjögren authored 19 years ago
|
327) For example, with AccountingMax set to 1 GB, a server could send 900 MB
328) and receive 800 MB and continue running. It will only hibernate once one
329) of the two reaches 1 GB.
|
tor-manual is now for the l...
Thomas Sjögren authored 19 years ago
|
330) When the number of bytes is exhausted, Tor will hibernate until some
331) time in the next accounting period. To prevent all servers from
332) waking at the same time, Tor will also wait until a random point in
333) each period before waking up. If you have bandwidth cost issues,
|
Updated tor-manual-cvs.html...
Thomas Sjögren authored 19 years ago
|
334) enabling hibernation is preferable to setting a low bandwidth, since it
|
tor-manual is now for the l...
Thomas Sjögren authored 19 years ago
|
335) provides users with a collection of fast servers that are up some of
336) the time, which is more useful than a set of slow servers that are
337) always "available".
338) <DT><B>AccountingStart </B><B>day</B>|<B>week</B>|<B>month</B> [<I>day</I>] <I>HH:MM</I><DD>
339) Specify how long accounting periods last. If <B>month</B> is given,
340) each accounting period runs from the time <I>HH:MM</I> on the
341) <I>day</I>th day of one month to the same day and time of the next.
342) (The day must be between 1 and 28.) If <B>week</B> is given, each
343) accounting period runs from the time <I>HH:MM</I> of the <I>day</I>th
344) day of one week to the same day and time of the next week, with Monday
345) as day 1 and Sunday as day 7. If <B>day</B> is given, each accounting
346) period runs from the time <I>HH:MM</I> each day to the same time on the
347) next day. All times are local, and given in 24-hour time. (Defaults to
348) "month 1 0:00".)
349) <P>
350) </DL>
351) <A NAME="lbAH"> </A>
352) <H2>DIRECTORY SERVER OPTIONS</H2>
353)
354) <P>
355)
356) The following options are useful only for directory servers (that is, if <B>DirPort</B> is non-zero):
357) <DL COMPACT>
358) <DT><B>AuthoritativeDirectory </B><B>0</B>|<B>1</B><DD>
359) When this option is set to 1, Tor operates as an authoritative
360) directory server. Instead of caching the directory, it generates its
361) own list of good servers, signs it, and sends that to the clients.
362) Unless the clients already have you listed as a trusted directory, you
363) probably do not want to set this option. Please coordinate with the other
364) admins at <A HREF="mailto:tor-ops@freehaven.net">tor-ops@freehaven.net</A> if you think you should be a directory.
365) <DT><B>DirPort </B><I>PORT</I><DD>
|
Update tor-manual-cvs.html
Thomas Sjögren authored 19 years ago
|
366) Advertise the directory service on this port.
367) <DT><B>DirBindAddress </B><I>IP</I>[:<I>PORT</I>]<DD>
368) Bind the directory service to this address. If you specify a port, bind
369) to this port rather than the one specified in DirPort. (Default: 0.0.0.0)
|
tor-manual is now for the l...
Thomas Sjögren authored 19 years ago
|
370) <DT><B>DirPolicy </B><I>policy</I>,<I>policy</I>,<I>...</I><DD>
371) Set an entrance policy for this server, to limit who can connect to the directory ports. The policies have the same form as exit policies above.
372) <DT><B>RecommendedVersions </B><I>STRING</I><DD>
373) STRING is a command-separated list of Tor versions currently believed
374) to be safe. The list is included in each directory, and nodes which
375) pull down the directory learn whether they need to upgrade. This
376) option can appear multiple times: the values from multiple lines are
377) spliced together.
378) <DT><B>DirAllowPrivateAddresses </B><B>0</B>|<B>1</B><DD>
379) If set to 1, Tor will accept router descriptors with arbitrary "Address"
380) elements. Otherwise, if the address is not an IP or is a private IP,
381) it will reject the router descriptor. Defaults to 0.
382) <DT><B>RunTesting </B><B>0</B>|<B>1</B><DD>
383) If set to 1, Tor tries to build circuits through all of the servers it
384) knows about, so it can tell which are up and which are down. This
385) option is only useful for authoritative directories, so you probably
386) don't want to use it.
387) <P>
388) </DL>
389) <A NAME="lbAI"> </A>
390) <H2>HIDDEN SERVICE OPTIONS</H2>
391)
392) <P>
393)
394) The following options are used to configure a hidden service.
395) <DL COMPACT>
396) <DT><B>HiddenServiceDir </B><I>DIRECTORY</I><DD>
397) Store data files for a hidden service in DIRECTORY. Every hidden
398) service must have a separate directory. You may use this option multiple
399) times to specify multiple services.
400) <DT><B>HiddenServicePort </B><I>VIRTPORT </I>[<I>TARGET</I>]<DD>
401) Configure a virtual port VIRTPORT for a hidden service. You may use this
402) option multiple times; each time applies to the service using the most recent
403) hiddenservicedir. By default, this option maps the virtual port to the
404) same port on 127.0.0.1. You may override the target port, address, or both
405) by specifying a target of addr, port, or addr:port.
406) <DT><B>HiddenServiceNodes </B><I>nickname</I>,<I>nickname</I>,<I>...</I><DD>
407) If possible, use the specified nodes as introduction points for the hidden
408) service. If this is left unset, Tor will be smart and pick some reasonable
409) ones; most people can leave this unset.
410) <DT><B>HiddenServiceExcludeNodes </B><I>nickname</I>,<I>nickname</I>,<I>...</I><DD>
411) Do not use the specified nodes as introduction points for the hidden
412) service. In normal use there is no reason to set this.
413) <P>
414)
415)
416) <P>
417) </DL>
418) <A NAME="lbAJ"> </A>
419) <H2>SIGNALS</H2>
420)
421) Tor catches the following signals:
422) <DL COMPACT>
423) <DT><B>SIGTERM</B><DD>
424) Tor will catch this, clean up and sync to disk if necessary, and exit.
425) <DT><B>SIGINT</B><DD>
426) Tor clients behave as with SIGTERM; but Tor servers will do a controlled
427) slow shutdown, closing listeners and waiting 30 seconds before exiting.
|
Update tor-manual-cvs.html
Thomas Sjögren authored 19 years ago
|
428) (The delay can be configured with the ShutdownWaitLength config option.)
|
tor-manual is now for the l...
Thomas Sjögren authored 19 years ago
|
429) <DT><B>SIGHUP</B><DD>
430) The signal instructs Tor to reload its configuration (including closing
431) and reopening logs), fetch a new directory, and kill and restart its
432) helper processes if applicable.
433) <DT><B>SIGUSR1</B><DD>
434) Log statistics about current connections, past connections, and
435) throughput.
436) <DT><B>SIGUSR2</B><DD>
437) Switch all logs to loglevel debug. You can go back to the old loglevels
438) by sending a SIGHUP.
439) <DT><B>SIGCHLD</B><DD>
440) Tor receives this signal when one of its helper processes has exited,
441) so it can clean up.
442) <DT><B>SIGPIPE</B><DD>
443) Tor catches this signal and ignores it.
444) <DT><B>SIGXFSZ</B><DD>
445) If this signal exists on your platform, Tor catches and ignores it.
446) <P>
447) </DL>
448) <A NAME="lbAK"> </A>
449) <H2>FILES</H2>
450)
451) <DL COMPACT>
452) <DT><I>@CONFDIR@/torrc</I>
453)
454) <DD>
455) The configuration file, which contains "option value" pairs.
456) <DT><I>@LOCALSTATEDIR@/lib/tor/</I>
457)
458) <DD>
459) The tor process stores keys and other data here.
460) <P>
461) </DL>
462) <A NAME="lbAL"> </A>
463) <H2>SEE ALSO</H2>
464)
|
Updated tor-manual-cvs.html...
Thomas Sjögren authored 19 years ago
|
465) <B><A HREF="../?1+privoxy">privoxy</A></B>(1),
|
tor-manual is now for the l...
Thomas Sjögren authored 19 years ago
|
466)
|
Updated tor-manual-cvs.html...
Thomas Sjögren authored 19 years ago
|
467) <B><A HREF="../?1+tsocks">tsocks</A></B>(1),
|
tor-manual is now for the l...
Thomas Sjögren authored 19 years ago
|
468)
|
Updated tor-manual-cvs.html...
Thomas Sjögren authored 19 years ago
|
469) <B><A HREF="../?1+torify">torify</A></B>(1)
|
tor-manual is now for the l...
Thomas Sjögren authored 19 years ago
|
470)
471) <P>
472) <B><A HREF="http://tor.eff.org/">http://tor.eff.org/</A></B>
473)
474) <P>
475) <A NAME="lbAM"> </A>
476) <H2>BUGS</H2>
477)
478) Plenty, probably. It's still in alpha. Please report them.
479) <A NAME="lbAN"> </A>
480) <H2>AUTHORS</H2>
481)
482) Roger Dingledine <<A HREF="mailto:arma@mit.edu">arma@mit.edu</A>>, Nick Mathewson <<A HREF="mailto:nickm@alum.mit.edu">nickm@alum.mit.edu</A>>.
483) <P>
484)
485) <HR>
486) <A NAME="index"> </A><H2>Index</H2>
487) <DL>
488) <DT><A HREF="#lbAB">NAME</A><DD>
489) <DT><A HREF="#lbAC">SYNOPSIS</A><DD>
490) <DT><A HREF="#lbAD">DESCRIPTION</A><DD>
491) <DT><A HREF="#lbAE">OPTIONS</A><DD>
492) <DT><A HREF="#lbAF">CLIENT OPTIONS</A><DD>
493) <DT><A HREF="#lbAG">SERVER OPTIONS</A><DD>
494) <DT><A HREF="#lbAH">DIRECTORY SERVER OPTIONS</A><DD>
495) <DT><A HREF="#lbAI">HIDDEN SERVICE OPTIONS</A><DD>
496) <DT><A HREF="#lbAJ">SIGNALS</A><DD>
497) <DT><A HREF="#lbAK">FILES</A><DD>
498) <DT><A HREF="#lbAL">SEE ALSO</A><DD>
499) <DT><A HREF="#lbAM">BUGS</A><DD>
500) <DT><A HREF="#lbAN">AUTHORS</A><DD>
501) </DL>
502) <HR>
503) This document was created by
|
Updated tor-manual-cvs.html...
Thomas Sjögren authored 19 years ago
|
504) <A HREF="../">man2html</A>,
|
tor-manual is now for the l...
Thomas Sjögren authored 19 years ago
|
505) using the manual pages.<BR>
|
Update tor-manual-cvs.html
Thomas Sjögren authored 19 years ago
|
506) Time: 01:23:43 GMT, May 15, 2005
|