[tor-commits] [torspec/master] Clarify response to RELAY_BEGIN_DIR; fixes 23276
    nickm at torproject.org 
    nickm at torproject.org
       
    Mon Aug 21 19:30:57 UTC 2017
    
    
  
commit 24fe028fbfd594ad559254b67243a26d6838a457
Author: Nick Mathewson <nickm at torproject.org>
Date:   Mon Aug 21 15:30:39 2017 -0400
    Clarify response to RELAY_BEGIN_DIR; fixes 23276
---
 tor-spec.txt | 5 +++++
 1 file changed, 5 insertions(+)
diff --git a/tor-spec.txt b/tor-spec.txt
index 9ccdabe..6dbdf93 100644
--- a/tor-spec.txt
+++ b/tor-spec.txt
@@ -1417,6 +1417,11 @@ see tor-design.pdf.
    Clients MUST generate an all-zero payload for RELAY_BEGIN_DIR cells,
    and relays MUST ignore the payload.
 
+   In response to a RELAY_BEGIN_DIR cell, relays respond either with a
+   RELAY_CONNECTED cell on succcess, or a RELAY_END cell on failure. They
+   MUST send a RELAY_CONNECTED cell all-zero payload, and clients MUST ignore
+   the payload.
+
    [RELAY_BEGIN_DIR was not supported before Tor 0.1.2.2-alpha; clients
    SHOULD NOT send it to routers running earlier versions of Tor.]
 
    
    
More information about the tor-commits
mailing list