[tor-commits] [torspec/master] Correct description of v3 introduce cells to match implementation

nickm at torproject.org nickm at torproject.org
Thu Jul 19 18:44:54 UTC 2012


commit 117f14323a04c5fd5228ca3e849abd10b9c5e742
Author: Nick Mathewson <nickm at torproject.org>
Date:   Thu Jul 19 11:18:01 2012 -0400

    Correct description of v3 introduce cells to match implementation
    
    We said that every v3 introduce cell needs to have an AUTHL field.
    But it turns out we only produce that field when we are using a
    nonzero authentication method.  It's not possible to make clients or
    services begin matching the spec without incompatibility, so instead
    let's make the spec match our behavior.
---
 rend-spec.txt |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/rend-spec.txt b/rend-spec.txt
index 023c83b..d1db467 100644
--- a/rend-spec.txt
+++ b/rend-spec.txt
@@ -636,8 +636,9 @@
         OR (in the v3 intro protocol)
           VER    Version byte: set to 3.        [1 octet]
           AUTHT  The auth type that is used     [1 octet]
-          AUTHL  Length of auth data           [2 octets]
-          AUTHD  Auth data                     [variable]
+          If AUTHT != [00]:
+              AUTHL  Length of auth data           [2 octets]
+              AUTHD  Auth data                     [variable]
           TS     A timestamp                   [4 octets]
           IP     Rendezvous point's address    [4 octets]
           PORT   Rendezvous point's OR port    [2 octets]



More information about the tor-commits mailing list