summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-05-07 18:10:10 +0000
committerNick Mathewson <nickm@torproject.org>2008-05-07 18:10:10 +0000
commit89f452d07780864a6e16a2841bb748a121da02f5 (patch)
tree85621007c61358eb68433948bb5ffd21ae722b1c
parent41640c60651cc84c5c5373a48ea9543a97ed59be (diff)
downloadtor-89f452d07780864a6e16a2841bb748a121da02f5.tar.gz
tor-89f452d07780864a6e16a2841bb748a121da02f5.zip
r19627@catbus: nickm | 2008-05-07 14:09:55 -0400
Backport: Add documentation for most undocumented options, and fix some issues in "make check-docs" svn:r14577
-rwxr-xr-xcontrib/checkOptionDocs.pl3
-rw-r--r--doc/tor.1.in79
2 files changed, 78 insertions, 4 deletions
diff --git a/contrib/checkOptionDocs.pl b/contrib/checkOptionDocs.pl
index d58d3375b9..ca3fba55e3 100755
--- a/contrib/checkOptionDocs.pl
+++ b/contrib/checkOptionDocs.pl
@@ -55,9 +55,10 @@ while (<F>) {
if ($considerNextLine and
m!^\\fB([A-Za-z0-9_]+)!) {
$manPageOptions{lc $1} = 1;
+ next;
}
- if (m!^\.(?:SH|TP)!) {
+ if (m!^\.(?:SH|TP|PP)!) {
$considerNextLine = 1; next;
} else {
$considerNextLine = 0;
diff --git a/doc/tor.1.in b/doc/tor.1.in
index eff3940e90..90ae989c89 100644
--- a/doc/tor.1.in
+++ b/doc/tor.1.in
@@ -206,10 +206,11 @@ authority for old-style (v1) directories as well. (Only directory mirrors
care about this.) Tor will use this server as an authority for hidden
service information if the "hs" flag is set, or if the "v1" flag is set and
the "no-hs" flag is \fBnot\fP set. Tor will use this authority as a bridge
-authoritative directory if the "bridge" flag is set. Lastly, if a flag
+authoritative directory if the "bridge" flag is set. If a flag
"orport=\fBport\fR" is given, Tor will use the given port when opening
-encrypted tunnels to the dirserver.
-[XXX020 also mention v3ident= flag here]
+encrypted tunnels to the dirserver. Lastly, if a flag "v3ident=\fBfp\fR" is
+given, the dirserver is a v3 directory authority whose v3 long-term
+signing key has the fingerprint \fBfp\fR.
If no \fBdirserver\fP line is given, Tor will use the default
directory servers. NOTE: this option is intended
@@ -218,6 +219,16 @@ you use it, you will be distinguishable from other users, because you won't
believe the same authorities they do.
.LP
.TP
+\fBAlternateDirAuthority \fR[\fInickname\fR] [\fBflags\fR] \fIaddress\fR\fB:\fIport fingerprint\fP
+\fBAlternateHSAuthority \fR[\fInickname\fR] [\fBflags\fR] \fIaddress\fR\fB:\fIport fingerprint\fP
+\fBAlternateBridgeAuthority \fR[\fInickname\fR] [\fBflags\fR] \fIaddress\fR\fB:\fIport fingerprint\fP
+As DirServer, but replaces less of the default directory authorities.
+Using AlternateDirAuthority replaces the default Tor directory
+authorities, but leaves the hidden service authorities and bridge
+authorities in place. Similarly, Using AlternatieHSAuthority replaces
+the default hidden service authorities, but not the directory or
+bridge authorities.
+
\fBFetchDirInfoEarly \fR\fB0\fR|\fB1\fR\fP
If set to 1, Tor will always fetch directory information like other
directory caches, even if you don't meet the normal criteria for
@@ -740,6 +751,19 @@ If Tor doesn't have a cached networkstatus file, it starts out using
this one instead. Even if this file is out of date, Tor can still use
it to learn about directory mirrors, so it doesn't need to put load on
the authorities. (Default: None).
+.LP
+.TP
+\fBWarnPlaintextPorts\fP \fR\fIport\fR,\fIport\fR,\fI...\fP
+Tells Tor to issue a warnings whenever the user tries to make an
+anonymous connection to one of these ports. This option is designed
+to alert users to services that risk sending passwords in the clear.
+(Default: 23,109,110,143).
+.LP
+.TP
+\fBRejectPlaintextPorts\fP \fR\fIport\fR,\fIport\fR,\fI...\fP
+Like WarnPlaintextPorts, but instead of warning about risky port uses,
+Tor will instead refuse to make the connection.
+(Default: None).
.LP
.TP
@@ -1089,6 +1113,9 @@ directory ports.
The policies have the same form as exit policies above.
.LP
.TP
+
+.SH DIRECTORY AUTHORITY SERVER OPTIONS
+.PP
\fBRecommendedVersions \fR\fISTRING\fP
STRING is a comma-separated list of Tor versions currently believed
to be safe. The list is included in each directory, and nodes which
@@ -1123,6 +1150,12 @@ elements. Otherwise, if the address is not an IP address or is a private
IP address, it will reject the router descriptor. Defaults to 0.
.LP
.TP
+\fBAuthDirBadDir \fR\fIAddressPattern\fR...\fP
+Authoritative directories only. A set of address patterns for servers that
+will be listed as bad directories in any network status document this authority
+publishes, if \fBAuthDirListBadDirs\fR is set.
+.LP
+.TP
\fBAuthDirBadExit \fR\fIAddressPattern\fR...\fP
Authoritative directories only. A set of address patterns for servers that
will be listed as bad exits in any network status document this authority
@@ -1142,6 +1175,13 @@ authority publishes, or accepted as an OR address in any descriptor submitted
for publication by this authority.
.LP
.TP
+\fBAuthDirListBadDirs \fR\fB0\fR|\fB1\fR\fP
+Authoritative directories only. If set to 1, this directory has
+some opinion about which nodes are unsuitable as directory caches. (Do not
+set this to 1 unless you plan to list nonfunctioning directories as bad;
+otherwise, you are effectively voting in favor of every declared directory.)
+.LP
+.TP
\fBAuthDirListBadExits \fR\fB0\fR|\fB1\fR\fP
Authoritative directories only. If set to 1, this directory has
some opinion about which nodes are unsuitable as exit nodes. (Do not
@@ -1166,6 +1206,39 @@ will list as acceptable on a single IP address. Set this to "0" for
\fBAuthDirMaxServersPerAuthAddr\fR \fINUM\fP
Authoritative directories only. Like AuthDirMaxServersPerAddr, but
applies to addresses shared with directory authorities. (Default: 5)
+.LP
+.TP
+\fBV3AuthVotingInterval\fR \fR\fIN\fR \fBminutes\fR|\fBhours\fP
+V3 authoritative directories only. Configures the server's preferred
+voting interval. Note that voting will \fIactually\fP happen at an
+interval chosen by consensus from all the authorities' preferred
+intervals. This time SHOULD divide evenly into a day. (Default: 1 hour)
+.LP
+.TP
+\fBV3AuthVoteDelay\fR \fINUM\fP
+V3 authoritative directories only. Configures the server's preferred
+delay between publishing its vote and assuming it has all the votes
+from all the other authorities. Note that the actual time used is not
+the server's preferred time, but the consensus of all preferences.
+(Default: 5 minutes.)
+.LP
+.TP
+\fBV3AuthDistDelay\fR \fINUM\fP
+V3 authoritative directories only. Configures the server's preferred
+delay between publishing its consensus and signature and assuming it
+has all the signatures from all the other authorities. Note that the
+actual time used is not the server's preferred time, but the consensus
+of all preferences. (Default: 5 minutes.)
+.LP
+.TP
+\fBV3AuthNIntervalsValid\fR \fINUM\fP
+V3 authoritative directories only. Configures the number of
+VotingIntervals for which each consensus should be valid for.
+Choosing high numbers increases network partitioning risks; choosing
+low numbers increases directory traffic. Note that the actual number
+of intervals used is not the server's preferred number, but the
+consensus of all preferences. Must be at least 2. (Default: 3.)
+
.SH HIDDEN SERVICE OPTIONS
.PP