[tor-commits] [torspec/master] Expanding or-address as per trac feedback

nickm at torproject.org nickm at torproject.org
Tue Apr 24 15:04:13 UTC 2012


commit 6285decabe0cfa088e471e070531f5bf1823de7d
Author: Damian Johnson <atagar at torproject.org>
Date:   Wed Apr 11 08:51:29 2012 -0700

    Expanding or-address as per trac feedback
    
    Applying feedback from...
    https://trac.torproject.org/projects/tor/ticket/5594#comment:2
---
 dir-spec.txt |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/dir-spec.txt b/dir-spec.txt
index b1e80aa..315114f 100644
--- a/dir-spec.txt
+++ b/dir-spec.txt
@@ -606,11 +606,19 @@
        PORTSPEC = PORT
        PORT = a number between 1 and 65535 inclusive.
 
-       An alternative address that can be used instead of ORListenAddress.
+       An alternative for the address and ORPort of the "router" line, but with
+       two added capabilities:
 
-       A descriptor should not include an or-address line that does nothing but
+         * or-address can be either an IPv4 or IPv6 address
+         * or-address allows for multiple ORPorts and addresses
+
+       A descriptor SHOULD NOT include an or-address line that does nothing but
        duplicate the address:port pair from its "router" line.
 
+       The ordering of or-address lines and their PORT entries matter because
+       Tor MAY accept a limited number of addresses or ports. As of Tor 0.2.3.x
+       only the first address and the first port are used.
+
 2.2. Extra-info documents
 
    Extra-info documents consist of the following items:



More information about the tor-commits mailing list