summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorteor (Tim Wilson-Brown) <teor2345@gmail.com>2015-09-22 11:44:13 +1000
committerteor (Tim Wilson-Brown) <teor2345@gmail.com>2015-09-22 11:44:13 +1000
commit726852514211cf707e7b811a5393e3bfbb4dba11 (patch)
tree8b629b75434c4aedf38b17b066c548eb15ebf416
parent249e82c906bbab12ed7a1bdab7b89289fc6dcc1c (diff)
downloadtor-726852514211cf707e7b811a5393e3bfbb4dba11.tar.gz
tor-726852514211cf707e7b811a5393e3bfbb4dba11.zip
Add IPv6 syntax to ExitPolicy intro paragraph in man page
-rw-r--r--doc/tor.1.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/tor.1.txt b/doc/tor.1.txt
index 38d0990e66..29a9f63f35 100644
--- a/doc/tor.1.txt
+++ b/doc/tor.1.txt
@@ -1529,9 +1529,11 @@ is non-zero):
[[ExitPolicy]] **ExitPolicy** __policy__,__policy__,__...__::
Set an exit policy for this server. Each policy is of the form
- "**accept**|**reject** __ADDR__[/__MASK__][:__PORT__]". If /__MASK__ is
+ "**accept[6]**|**reject[6]** __ADDR__[/__MASK__][:__PORT__]". If /__MASK__ is
omitted then this policy just applies to the host given. Instead of giving
- a host or network you can also use "\*" to denote the universe (0.0.0.0/0).
+ a host or network you can also use "\*" to denote the universe (0.0.0.0/0
+ and ::/128), or \*4 to denote all IPv4 addresses, and \*6 to denote all
+ IPv6 addresses.
__PORT__ can be a single port number, an interval of ports
"__FROM_PORT__-__TO_PORT__", or "\*". If __PORT__ is omitted, that means
"\*". +