Merge remote-tracking branch 'tor-github/pr/741' into maint-0.3.5

This commit is contained in:
teor 2019-08-12 09:36:14 +10:00
commit a57e168caa
No known key found for this signature in database
GPG Key ID: 10FEAA0E7075672A
2 changed files with 23 additions and 11 deletions

View File

@ -1849,15 +1849,16 @@ is non-zero):
[[ExitRelay]] **ExitRelay** **0**|**1**|**auto**:: [[ExitRelay]] **ExitRelay** **0**|**1**|**auto**::
Tells Tor whether to run as an exit relay. If Tor is running as a Tells Tor whether to run as an exit relay. If Tor is running as a
non-bridge server, and ExitRelay is set to 1, then Tor allows traffic to non-bridge server, and ExitRelay is set to 1, then Tor allows traffic to
exit according to the ExitPolicy option (or the default ExitPolicy if exit according to the ExitPolicy option, the ReducedExitPolicy option,
none is specified). + or the default ExitPolicy (if no other exit policy option is specified). +
+ +
If ExitRelay is set to 0, no traffic is allowed to If ExitRelay is set to 0, no traffic is allowed to
exit, and the ExitPolicy option is ignored. + exit, and the ExitPolicy and ReducedExitPolicy options are ignored. +
+ +
If ExitRelay is set to "auto", then Tor behaves as if it were set to 1, but If ExitRelay is set to "auto", then Tor checks the ExitPolicy and
warns the user if this would cause traffic to exit. In a future version, ReducedExitPolicy options. If either is set, Tor behaves as if ExitRelay
the default value will be 0. (Default: auto) were set to 1. If neither exit policy option is set, Tor behaves as if
ExitRelay were set to 0. (Default: auto)
[[ExitPolicy]] **ExitPolicy** __policy__,__policy__,__...__:: [[ExitPolicy]] **ExitPolicy** __policy__,__policy__,__...__::
Set an exit policy for this server. Each policy is of the form Set an exit policy for this server. Each policy is of the form

View File

@ -1,5 +1,5 @@
## Configuration file for a typical Tor user ## Configuration file for a typical Tor user
## Last updated 22 December 2017 for Tor 0.3.2.8-rc. ## Last updated 28 February 2019 for Tor 0.3.5.1-alpha.
## (may or may not work for much older or much newer versions of Tor.) ## (may or may not work for much older or much newer versions of Tor.)
## ##
## Lines that begin with "## " try to explain what's going on. Lines ## Lines that begin with "## " try to explain what's going on. Lines
@ -172,14 +172,25 @@
## Note: do not use MyFamily on bridge relays. ## Note: do not use MyFamily on bridge relays.
#MyFamily $keyid,$keyid,... #MyFamily $keyid,$keyid,...
## Uncomment this if you do *not* want your relay to allow any exit traffic. ## Uncomment this if you want your relay to be an exit, with the default
## (Relays allow exit traffic by default.) ## exit policy (or whatever exit policy you set below).
#ExitRelay 0 ## (If ReducedExitPolicy or ExitPolicy are set, relays are exits.
## If neither exit policy option is set, relays are non-exits.)
#ExitRelay 1
## Uncomment this if you want your relay to allow IPv6 exit traffic. ## Uncomment this if you want your relay to allow IPv6 exit traffic.
## (Relays only allow IPv4 exit traffic by default.) ## You must also set ExitRelay, ReducedExitPolicy, or ExitPolicy to make your
## relay into an exit.
## (Relays do not allow any exit traffic by default.)
#IPv6Exit 1 #IPv6Exit 1
## Uncomment this if you want your relay to be an exit, with a reduced set
## of exit ports.
#ReducedExitPolicy 1
## Uncomment these lines if you want your relay to be an exit, with the
## specified set of exit IPs and ports.
##
## A comma-separated list of exit policies. They're considered first ## A comma-separated list of exit policies. They're considered first
## to last, and the first match wins. ## to last, and the first match wins.
## ##