[tor-commits] [tor/master] Add IPv6 syntax to ExitPolicy intro paragraph in man page

nickm at torproject.org nickm at torproject.org
Tue Sep 22 12:21:41 UTC 2015


commit 726852514211cf707e7b811a5393e3bfbb4dba11
Author: teor (Tim Wilson-Brown) <teor2345 at gmail.com>
Date:   Tue Sep 22 11:44:13 2015 +1000

    Add IPv6 syntax to ExitPolicy intro paragraph in man page
---
 doc/tor.1.txt |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/doc/tor.1.txt b/doc/tor.1.txt
index 38d0990..29a9f63 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
     "\*". +





More information about the tor-commits mailing list