tor.1.in 4.8 KB

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