tor.1.in 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473
  1. .TH TOR 1 "March 2005" "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 command-line (\fI--option
  28. value\fR), or in the configuration file (\fIoption value\fR).
  29. Options are case-insensitive.
  30. .TP
  31. \fBLog \fR\fIminSeverity\fR[-\fImaxSeverity\fR] \fBstderr\fR|\fBstdout\fR|\fBsyslog\fR\fP
  32. Send all messages between \fIminSeverity\fR and \fImaxSeverity\fR to
  33. the standard output stream, the standard error stream, or to the system
  34. log. (The "syslog" value is only supported on Unix.) Recognized
  35. severity levels are debug, info, notice, warn, and err. If only one
  36. severity level is given, all messages of that level or higher will be
  37. sent to the listed destination.
  38. .TP
  39. \fBLog \fR\fIminSeverity\fR[-\fImaxSeverity\fR] \fBfile\fR \fIFILENAME\fP
  40. As above, but send log messages to the listed filename. The "Log"
  41. option may appear more than once in a configuration file. Messages
  42. are sent to all the logs that match their severity level.
  43. .TP
  44. \fBBandwidthRate \fR\fIN\fR \fBbytes\fR|\fBKB\fR|\fBMB\fR|\fBGB\fR|\fBTB\fP
  45. A token bucket limits the average incoming bandwidth on this node to
  46. the specified number of bytes per second. (Default: 780 KB)
  47. .TP
  48. \fBBandwidthBurst \fR\fIN\fR \fBbytes\fR|\fBKB\fR|\fBMB\fR|\fBGB\fR|\fBTB\fP
  49. Limit the maximum token bucket size (also known as the burst) to the given number of bytes. (Default: 48 MB)
  50. .TP
  51. \fBMaxAdvertisedBandwidth \fR\fIN\fR \fBbytes\fR|\fBKB\fR|\fBMB\fR|\fBGB\fR|\fBTB\fP
  52. If set, we will not advertise more than this amount of bandwidth, no
  53. matter how much we think we actually have.
  54. .TP
  55. \fBDataDirectory \fR\fIDIR\fP
  56. Store working data in DIR (Default: @LOCALSTATEDIR@/lib/tor)
  57. .TP
  58. \fBDirServer \fR\fIaddress:port fingerprint\fP
  59. Use a nonstandard authoritative directory server at the provided
  60. address and port, with the specified key fingerprint. This option can
  61. be repeated many times, for multiple authoritative directory
  62. servers. If no \fBdirserver\fP line is given, Tor will use the default
  63. directory servers: moria1, moria2, and tor26.
  64. .TP
  65. \fBGroup \fR\fIGID\fP
  66. On startup, setgid to this user.
  67. .TP
  68. \fBHttpProxy\fR \fIhost\fR[:\fIport\fR]\fP
  69. If set, Tor will make all its directory requests through this host:port,
  70. rather than connecting directly to any directory servers.
  71. .TP
  72. \fBHttpsProxy\fR \fIhost\fR[:\fIport\fR]\fP
  73. If set, Tor will make all its OR (SSL) connections through this host:port,
  74. via HTTP CONNECT, rather than connecting directly to servers.
  75. .TP
  76. \fBKeepalivePeriod \fR\fINUM\fP
  77. To keep firewalls from expiring connections, send a padding keepalive
  78. cell on open connections every NUM seconds. (Default: 5 minutes.)
  79. .TP
  80. \fBMaxConn \fR\fINUM\fP
  81. Maximum number of simultaneous sockets allowed. You probably don't need
  82. to adjust this. (Default: 1024)
  83. .TP
  84. \fBOutboundBindAddress \fR\fIIP\fP
  85. Make all outbound connections originate from the IP address specified. This
  86. is only useful when you have multiple network interfaces, and you want all
  87. of Tor's outgoing connections to use a single one.
  88. .TP
  89. \fBPIDFile \fR\fIFILE\fP
  90. On startup, write our PID to FILE. On clean shutdown, remove FILE.
  91. .TP
  92. \fBRunAsDaemon \fR\fB0\fR|\fB1\fR\fP
  93. If 1, Tor forks and daemonizes to the background. (Default: 0)
  94. .TP
  95. \fBUser \fR\fIUID\fP
  96. On startup, setuid to this user.
  97. .TP
  98. \fBControlPort \fR\fIPort\fP
  99. If set, Tor will accept connections from the same machine (localhost only) on
  100. this port, and allow those connections to control the Tor process using the
  101. Tor Control Protocol (described in control-spec.txt). Note: unless you also
  102. specify one of \fBHashedControlPassword\fP or \fBCookieAuthentication\fP,
  103. setting this option will cause Tor to allow any process on the local host to
  104. control it.
  105. .TP
  106. \fBHashedControlPassword \fR\fIhashed_password\fP
  107. Don't allow any connections on the control port except when the other process
  108. knows the password whose one-way hash is \fIhashed_password\fP. You can
  109. compute the hash of a password by running "tor --hash-password
  110. \fIpassword\fP".
  111. .TP
  112. \fBCookieAuthentication \fR\fB0\fR|\fB1\fP
  113. If this option is set to 1, don't allow any connections on the control port
  114. except when the connecting process knows the contents of a file named
  115. "control_auth_cookie", which Tor will create in its data directory. This
  116. authentication methods should only be used on systems with good filesystem
  117. security.
  118. \fBDirFetchPeriod \fR\fIN\fR \fBseconds\fR|\fBminutes\fR|\fBhours\fR|\fBdays\fR|\fBweeks\fP
  119. Every time the specified period elapses, Tor downloads a directory.
  120. A directory contains a signed list of all known servers as well as
  121. their current liveness status. A value of "0 seconds" tells Tor to choose an
  122. appropriate default. (Default: 1 hour for clients, 20 minutes for servers.)
  123. .TP
  124. \fBStatusFetchPeriod \fR\fIN\fR \fBseconds\fR|\fBminutes\fR|\fBhours\fR|\fBdays\fR|\fBweeks\fP Every time the
  125. specified period elapses, Tor downloads signed status information about the
  126. current state of known servers. A value of "0 seconds" tells Tor to choose
  127. an appropriate default. (Default: 30 minutes for clients, 15 minutes for
  128. servers.) (Default: 20 minutes.)
  129. .TP
  130. \fBRendPostPeriod \fR\fIN\fR \fBseconds\fR|\fBminutes\fR|\fBhours\fR|\fBdays\fR|\fBweeks\fP
  131. Every time the specified period elapses, Tor uploads any rendezvous
  132. service descriptors to the directory servers. This information is also
  133. uploaded whenever it changes. (Default: 20 minutes.)
  134. .SH CLIENT OPTIONS
  135. .PP
  136. The following options are useful only for clients (that is, if \fBSOCKSPort\fP is non-zero):
  137. .TP
  138. \fBAllowUnverifiedNodes\fR \fBentry\fR|\fBexit\fR|\fBmiddle\fR|\fBintroduction\fR|\fBrendezvous\fR|...\fP
  139. Where on our circuits should we allow Tor servers that the directory
  140. servers haven't authenticated as "verified"? (Default: middle,rendezvous.)
  141. .TP
  142. \fBClientOnly \fR\fB0\fR|\fB1\fR\fP
  143. If set to 1, Tor will under no circumstances run as a server. (Usually,
  144. you don't need to set this; Tor is pretty smart at figuring out whether
  145. you are reliable and high-bandwidth enough to be a good server.)
  146. .TP
  147. \fBEntryNodes \fR\fInickname\fR,\fInickname\fR,\fI...\fP
  148. A list of preferred nodes to use for the first hop in the circuit, if possible.
  149. .TP
  150. \fBExitNodes \fR\fInickname\fR,\fInickname\fR,\fI...\fP
  151. A list of preferred nodes to use for the last hop in the circuit, if possible.
  152. .TP
  153. \fBExcludeNodes \fR\fInickname\fR,\fInickname\fR,\fI...\fP
  154. A list of nodes to never use when building a circuit.
  155. .TP
  156. \fBStrictExitNodes \fR\fB0\fR|\fB1\fR\fP
  157. If 1, Tor will never use any nodes besides those listed in "exitnodes" for
  158. the last hop of a circuit.
  159. .TP
  160. \fBStrictEntryNodes \fR\fB0\fR|\fB1\fR\fP
  161. If 1, Tor will never use any nodes besides those listed in "entrynodes" for
  162. the first hop of a circuit.
  163. .TP
  164. \fBFascistFirewall \fR\fB0\fR|\fB1\fR\fP
  165. If 1, Tor will only create outgoing connections to ORs running on ports that
  166. your firewall allows (defaults to 80 and 443; see \fBFirewallPorts\fR). This will
  167. allow you to run Tor as a client behind a firewall with restrictive policies,
  168. but will not allow you to run as a server behind such a firewall.
  169. .TP
  170. \fBFirewallPorts \fR\fIPORTS\fP
  171. A list of ports that your firewall allows you to connect to. Only used when
  172. \fBFascistFirewall\fR is set. (Default: 80, 443.)
  173. .TP
  174. \fBLongLivedPorts \fR\fIPORTS\fP
  175. A list of ports for services that tend to have long-running connections
  176. (e.g. chat and interactive shells). Circuits for streams that use these
  177. ports will contain only high-uptime nodes, to reduce the chance that a
  178. node will go down before the stream is finished.
  179. .TP
  180. \fBMapAddress\fR \fIaddress\fR \fInewaddress\fR
  181. 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 www.indymedia.org to exit via yourtorserver, use "MapAddress www.indymedia.org www.indymedia.org.yourtorserver.exit".
  182. .TP
  183. \fBNewCircuitPeriod \fR\fINUM\fP
  184. Every NUM seconds consider whether to build a new circuit. (Default: 60)
  185. .TP
  186. \fBMaxCircuitDirtiness \fR\fINUM\fP
  187. Feel free to reuse a circuit that was first used at most NUM seconds
  188. ago, but never attach a new stream to a circuit that is too old.
  189. .TP
  190. \fBNodeFamily \fR\fInickname\fR,\fInickname\fR,\fI...\fP
  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. .TP
  196. .\" \fBPathlenCoinWeight \fR\fI0.0-1.0\fP
  197. .\" Paths are 3 hops plus a geometric distribution centered around this coinweight. Must be >=0.0 and <1.0. (Default: 0.3) NOT USED CURRENTLY
  198. .\" .TP
  199. \fBRendNodes \fR\fInickname\fR,\fInickname\fR,\fI...\fP
  200. A list of preferred nodes to use for the rendezvous point, if possible.
  201. .TP
  202. \fBRendExcludeNodes \fR\fInickname\fR,\fInickname\fR,\fI...\fP
  203. A list of nodes to never use when choosing a rendezvous point.
  204. .TP
  205. \fBSOCKSPort \fR\fIPORT\fP
  206. Bind to this port to listen for connections from SOCKS-speaking applications.
  207. Set this to 0 if you don't want to allow application connections. (Default:
  208. 9050)
  209. .TP
  210. \fBSOCKSBindAddress \fR\fIIP\fP
  211. Bind to this address to listen for connections from SOCKS-speaking applications. (Default: 127.0.0.1) You can also specify a port (e.g. 192.168.0.1:9100). This directive can be specified multiple times to bind to multiple addresses/ports.
  212. .TP
  213. \fBSOCKSPolicy \fR\fIpolicy\fR,\fIpolicy\fR,\fI...\fP
  214. 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.
  215. .TP
  216. \fBTrackHostExits \fR\fIhost1\fR,\fI.domain1\fR|\fI.\fR\fP
  217. For each value in the comma separated list, Tor will track recent connections
  218. to hosts that match this value and attempt to
  219. reuse the same exit node for each. If the value is prepended with a '.', it is
  220. treated as matching an entire domain. If one of the values is just a '.', it
  221. means match everything. This option is useful if you frequently connect to
  222. sites that will expire all your authentication cookies (ie log you out) if
  223. your IP address changes. Note that this option does have the disadvantage of
  224. making it more clear that a given history is
  225. associated with a single user. However, most people who would wish to observe
  226. this will observe it through cookies or other protocol-specific means anyhow.
  227. .TP
  228. \fBTrackHostExitsExpire \fR\fINUM\fP
  229. Since exit servers go up and down, it is desirable to expire the association
  230. between host and exit server after NUM seconds of inactivity. The default
  231. is 1800 seconds (30 minutes).
  232. .SH SERVER OPTIONS
  233. .PP
  234. The following options are useful only for servers (that is, if \fBORPort\fP is non-zero):
  235. .TP
  236. \fBAddress \fR\fIaddress\fP
  237. The IP or fqdn of this server (e.g. moria.mit.edu). You can leave this
  238. unset, and Tor will guess your IP.
  239. .TP
  240. \fBContactInfo \fR\fIemail_address\fP
  241. Administrative contact information for server.
  242. .TP
  243. \fBExitPolicy \fR\fIpolicy\fR,\fIpolicy\fR,\fI...\fP
  244. Set an exit policy for this server. Each policy is of the form
  245. "\fBaccept\fP|\fBreject\fP \fIADDR\fP[\fB/\fP\fIMASK\fP]\fB:\fP\fIPORT\fP".
  246. If \fB/\fP\fIMASK\fP is omitted then this policy just applies to the host
  247. given. Instead of giving a host or network you can also use "\fB*\fP" to
  248. denote the universe (0.0.0.0/0). \fIPORT\fP can be a single port number,
  249. an interval of ports "\fIFROM_PORT\fP\fB-\fP\fITO_PORT\fP", or "\fB*\fP".
  250. For example, "reject 127.0.0.1:*,reject 192.168.1.0/24:*,accept *:*" would
  251. reject any traffic destined for localhost and any 192.168.1.* address, but
  252. accept anything else.
  253. This directive can be specified multiple times so you don't have to put
  254. it all on one line.
  255. See RFC 3330 for more details about internal and reserved IP address
  256. space. Policies are considered first to last, and the first match wins. If
  257. you want to _replace_ the default exit policy, end your exit policy with
  258. either a reject *:* or an accept *:*. Otherwise, you're _augmenting_
  259. (prepending to) the default exit policy. The default exit policy is:
  260. .PD 0
  261. .RS 12
  262. .IP "reject 0.0.0.0/8" 0
  263. .IP "reject 169.254.0.0/16" 4
  264. .IP "reject 127.0.0.0/8"
  265. .IP "reject 192.168.0.0/16"
  266. .IP "reject 10.0.0.0/8"
  267. .IP "reject 172.16.0.0/12"
  268. .IP "reject *:25"
  269. .IP "reject *:119"
  270. .IP "reject *:135-139"
  271. .IP "reject *:445"
  272. .IP "reject *:1214"
  273. .IP "reject *:4661-4666"
  274. .IP "reject *:6346-6429"
  275. .IP "reject *:6699"
  276. .IP "reject *:6881-6999"
  277. .IP "accept *:*"
  278. .RE
  279. .PD
  280. .TP
  281. \fBMaxOnionsPending \fR\fINUM\fP
  282. If you have more than this number of onionskins queued for decrypt, reject new ones. (Default: 100)
  283. .TP
  284. \fBMyFamily \fR\fInickname\fR,\fInickname\fR,\fI...\fP
  285. Declare that this Tor server is controlled or administered by a group
  286. or organization identical or similar to that of the other named servers.
  287. When two servers both declare that they are in the same 'family', Tor clients
  288. will not use them in the same circuit. (Each server only needs to list the
  289. other servers in its family; it doesn't need to list itself, but it won't hurt.)
  290. .TP
  291. \fBNickname \fR\fIname\fP
  292. Set the server's nickname to 'name'.
  293. .TP
  294. \fBNumCPUs \fR\fInum\fP
  295. How many processes to use at once for decrypting onionskins. (Default: 1)
  296. .TP
  297. \fBORPort \fR\fIPORT\fP
  298. Bind to this port to listen for connections from Tor clients and servers.
  299. .TP
  300. \fBORBindAddress \fR\fIIP\fP
  301. Bind to this address to listen for connections from Tor clients and servers. (Default: 0.0.0.0)
  302. .TP
  303. \fBRedirectExit \fR\fIpattern target\fP
  304. Whenever an outgoing connection tries to connect to one of a given set
  305. of addresses, connect to \fItarget\fP (an \fIaddress:port\fP pair) instead.
  306. The address
  307. pattern is given in the same format as for an exit policy. The
  308. address translation applies after exit policies are applied. Multiple
  309. \fBRedirectExit\fP options can be used: once any one has matched
  310. successfully, no subsequent rules are considered. You can specify that no
  311. redirection is to be performed on a given set of addresses by using the
  312. special target string "pass", which prevents subsequent rules from being
  313. considered.
  314. .TP
  315. \fBShutdownWaitLength\fR\fINUM\fP
  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 \fBNUM\fP seconds,
  318. we exit. If we get a second SIGINT, we exit immediately. (Default:
  319. 30 seconds)
  320. .TP
  321. \fBDirPostPeriod \fR\fIN\fR \fBseconds\fR|\fBminutes\fR|\fBhours\fR|\fBdays\fR|\fBweeks\fP
  322. Every time the specified period elapses, Tor uploads its server
  323. descriptors to the directory servers. This information is also
  324. uploaded whenever it changes. (Default: 20 minutes.)
  325. .TP
  326. \fBAccountingMax \fR\fIN\fR \fBbytes\fR|\fBKB\fR|\fBMB\fR|\fBGB\fR|\fBTB\fP
  327. Never send more than the specified number of bytes in a given
  328. accounting period, or receive more than that number in the period.
  329. When the number of bytes is exhausted, Tor will hibernate until some
  330. time in the next accounting period. To prevent all servers from
  331. waking at the same time, Tor will also wait until a random point in
  332. each period before waking up. If you have bandwidth cost issues,
  333. using this option is preferable to setting a low bandwidth, since it
  334. provides users with a collection of fast servers that are up some of
  335. the time, which is more useful than a set of slow servers that are
  336. always "available".
  337. .TP
  338. \fBAccountingStart \fR\fBday\fR|\fBweek\fR|\fBmonth\fR [\fIday\fR] \fIHH:MM\fR\fP
  339. Specify how long accounting periods last. If \fBmonth\fP is given,
  340. each accounting period runs from the time \fIHH:MM\fR on the
  341. \fIday\fRth day of one month to the same day and time of the next.
  342. (The day must be between 1 and 28.) If \fBweek\fP is given, each
  343. accounting period runs from the time \fIHH:MM\fR of the \fIday\fRth
  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 \fBday\fR is given, each accounting
  346. period runs from the time \fIHH:MM\fR 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. .SH DIRECTORY SERVER OPTIONS
  350. .PP
  351. The following options are useful only for directory servers (that is, if \fBDirPort\fP is non-zero):
  352. .TP
  353. \fBAuthoritativeDirectory \fR\fB0\fR|\fB1\fR\fP
  354. When this option is set to 1, Tor operates as an authoritative
  355. directory server. Instead of caching the directory, it generates its
  356. own list of good servers, signs it, and sends that to the clients.
  357. Unless the clients already have you listed as a trusted directory, you
  358. probably do not want to set this option. Please coordinate with the other
  359. admins at tor-ops@freehaven.net if you think you should be a directory.
  360. .TP
  361. \fBDirPort \fR\fIPORT\fP
  362. Bind the directory service to this port.
  363. .TP
  364. \fBDirBindAddress \fR\fIIP\fP
  365. Bind the directory service to this address. (Default: 0.0.0.0)
  366. .TP
  367. \fBDirPolicy \fR\fIpolicy\fR,\fIpolicy\fR,\fI...\fP
  368. 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.
  369. .TP
  370. \fBRecommendedVersions \fR\fISTRING\fP
  371. STRING is a command-separated list of Tor versions currently believed
  372. to be safe. The list is included in each directory, and nodes which
  373. pull down the directory learn whether they need to upgrade. This
  374. option can appear multiple times: the values from multiple lines are
  375. spliced together.
  376. .TP
  377. \fBDirAllowPrivateAddresses \fR\fB0\fR|\fB1\fR\fP
  378. If set to 1, Tor will accept router descriptors with arbitrary "Address"
  379. elements. Otherwise, if the address is not an IP or is a private IP,
  380. it will reject the router descriptor. Defaults to 0.
  381. .TP
  382. \fBRunTesting \fR\fB0\fR|\fB1\fR\fP
  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. .SH HIDDEN SERVICE OPTIONS
  388. .PP
  389. The following options are used to configure a hidden service.
  390. .TP
  391. \fBHiddenServiceDir \fR\fIDIRECTORY\fP
  392. Store data files for a hidden service in DIRECTORY. Every hidden
  393. service must have a separate directory. You may use this option multiple
  394. times to specify multiple services.
  395. .TP
  396. \fBHiddenServicePort \fR\fIVIRTPORT \fR[\fITARGET\fR]\fP
  397. Configure a virtual port VIRTPORT for a hidden service. You may use this
  398. option multiple times; each time applies to the service using the most recent
  399. hiddenservicedir. By default, this option maps the virtual port to the
  400. same port on 127.0.0.1. You may override the target port, address, or both
  401. by specifying a target of addr, port, or addr:port.
  402. .TP
  403. \fBHiddenServiceNodes \fR\fInickname\fR,\fInickname\fR,\fI...\fP
  404. If possible, use the specified nodes as introduction points for the hidden
  405. service. If this is left unset, Tor will be smart and pick some reasonable
  406. ones; most people can leave this unset.
  407. .TP
  408. \fBHiddenServiceExcludeNodes \fR\fInickname\fR,\fInickname\fR,\fI...\fP
  409. Do not use the specified nodes as introduction points for the hidden
  410. service. In normal use there is no reason to set this.
  411. .\" UNDOCUMENTED
  412. .\" ignoreversion
  413. .SH SIGNALS
  414. Tor catches the following signals:
  415. .TP
  416. \fBSIGTERM\fR
  417. Tor will catch this, clean up and sync to disk if necessary, and exit.
  418. .TP
  419. \fBSIGINT\fR
  420. Tor clients behave as with SIGTERM; but Tor servers will do a controlled
  421. slow shutdown, closing listeners and waiting 30 seconds before exiting.
  422. .TP
  423. \fBSIGHUP\fR
  424. The signal instructs Tor to reload its configuration (including closing
  425. and reopening logs), fetch a new directory, and kill and restart its
  426. helper processes if applicable.
  427. .TP
  428. \fBSIGUSR1\fR
  429. Log statistics about current connections, past connections, and
  430. throughput.
  431. .TP
  432. \fBSIGUSR2\fR
  433. Switch all logs to loglevel debug. You can go back to the old loglevels
  434. by sending a SIGHUP.
  435. .TP
  436. \fBSIGCHLD\fR
  437. Tor receives this signal when one of its helper processes has exited,
  438. so it can clean up.
  439. .TP
  440. \fBSIGPIPE\fR
  441. Tor catches this signal and ignores it.
  442. .TP
  443. \fBSIGXFSZ\fR
  444. If this signal exists on your platform, Tor catches and ignores it.
  445. .SH FILES
  446. .TP
  447. .I @CONFDIR@/torrc
  448. The configuration file, which contains "option value" pairs.
  449. .TP
  450. .I @LOCALSTATEDIR@/lib/tor/
  451. The tor process stores keys and other data here.
  452. .SH SEE ALSO
  453. .BR privoxy (1),
  454. .BR tsocks (1),
  455. .BR torify (1)
  456. .BR http://tor.eff.org/
  457. .SH BUGS
  458. Plenty, probably. It's still in alpha. Please report them.
  459. .SH AUTHORS
  460. Roger Dingledine <arma@mit.edu>, Nick Mathewson <nickm@alum.mit.edu>.