summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-02-28 11:22:20 +1000
committerteor <teor@torproject.org>2019-02-28 11:22:20 +1000
commit9b7cdd23deb5830cce794ce6e901b82fa094dd9f (patch)
tree1ab4cbcce03c6ac07b4ee0963a09e18cfb12ad5a /doc
parent15dc33849eda4fba651bf4096a9e405d737a977b (diff)
downloadtor-9b7cdd23deb5830cce794ce6e901b82fa094dd9f.tar.gz
tor-9b7cdd23deb5830cce794ce6e901b82fa094dd9f.zip
doc: update the man page and sample torrc for ExitRelay
We changed the default of ExitRelay in #21530 in 0.3.5.1-alpha, but forgot to update the documentation. Closes 29612.
Diffstat (limited to 'doc')
-rw-r--r--doc/tor.1.txt13
1 files changed, 7 insertions, 6 deletions
diff --git a/doc/tor.1.txt b/doc/tor.1.txt
index 573fdf221a..60997ad16e 100644
--- a/doc/tor.1.txt
+++ b/doc/tor.1.txt
@@ -1849,15 +1849,16 @@ is non-zero):
[[ExitRelay]] **ExitRelay** **0**|**1**|**auto**::
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
- exit according to the ExitPolicy option (or the default ExitPolicy if
- none is specified). +
+ exit according to the ExitPolicy option, the ReducedExitPolicy option,
+ or the default ExitPolicy (if no other exit policy option is specified). +
+
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
- warns the user if this would cause traffic to exit. In a future version,
- the default value will be 0. (Default: auto)
+ If ExitRelay is set to "auto", then Tor checks the ExitPolicy and
+ ReducedExitPolicy options. If either is set, Tor behaves as if ExitRelay
+ 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__,__...__::
Set an exit policy for this server. Each policy is of the form