mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
document ExitPolicyRejectPrivate in man page
svn:r5889
This commit is contained in:
+12
-5
@@ -387,15 +387,18 @@ denote the universe (0.0.0.0/0). \fIPORT\fP can be a single port number,
|
||||
an interval of ports "\fIFROM_PORT\fP\fB-\fP\fITO_PORT\fP", or "\fB*\fP".
|
||||
If \fiPORT\fP is omitted, that means "\fB*\fP".
|
||||
|
||||
For example, "reject 127.0.0.1:*,reject 192.168.1.0/24:*,accept *:*" would
|
||||
reject any traffic destined for localhost and any 192.168.1.* address, but
|
||||
For example, "accept 18.7.22.69:*,reject 18.0.0.0/8:*,accept *:*" would
|
||||
reject any traffic destined for MIT except for web.mit.edu, and
|
||||
accept anything else.
|
||||
|
||||
To specify all internal and link-local networks (including 0.0.0.0/8,
|
||||
169.254.0.0/16, 127.0.0.0/8, 192.168.0.0/16, 10.0.0.0/8, and
|
||||
172.16.0.0/12), you can use the "private" alias instead of an address.
|
||||
For example, to allow HTTP to 127.0.0.1 and block all other
|
||||
connections to internal networks, you can say "accept
|
||||
These addresses are rejected by default (at the beginning of your
|
||||
exit policy) unless you set the ExitPolicyRejectPrivate config option
|
||||
to 0. For example, once you've done that, you could allow HTTP to
|
||||
127.0.0.1 and block all other connections to internal networks with
|
||||
"accept
|
||||
127.0.0.1:80,reject private:*". See RFC 1918 and RFC 3330 for more
|
||||
details about internal and reserved IP address space.
|
||||
|
||||
@@ -408,7 +411,6 @@ either a reject *:* or an accept *:*. Otherwise, you're _augmenting_
|
||||
(prepending to) the default exit policy. The default exit policy is:
|
||||
.PD 0
|
||||
.RS 12
|
||||
.IP "reject private:*" 0
|
||||
.IP "reject *:25"
|
||||
.IP "reject *:119"
|
||||
.IP "reject *:135-139"
|
||||
@@ -425,6 +427,11 @@ either a reject *:* or an accept *:*. Otherwise, you're _augmenting_
|
||||
.PD
|
||||
.LP
|
||||
.TP
|
||||
\fBExitPolicyRejectPrivate \fR\fB0\fR|\fB1\fR\fP
|
||||
Reject all private (local) networks at the beginning of your exit
|
||||
policy. See above entry on ExitPolicy. (Default: 1)
|
||||
.LP
|
||||
.TP
|
||||
\fBMaxOnionsPending \fR\fINUM\fP
|
||||
If you have more than this number of onionskins queued for decrypt, reject new ones. (Default: 100)
|
||||
.LP
|
||||
|
||||
Reference in New Issue
Block a user