[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [torspec/master] Clarify some places where we meant RELAY to include RELAY_EARLY.



commit 684c46b8222f1ad96971729124cc06cb7fb3773a
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Mon Jul 30 10:13:43 2018 -0400

    Clarify some places where we meant RELAY to include RELAY_EARLY.
---
 tor-spec.txt | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/tor-spec.txt b/tor-spec.txt
index 4cc38b3..c54b63c 100644
--- a/tor-spec.txt
+++ b/tor-spec.txt
@@ -476,7 +476,7 @@ see tor-design.pdf.
                Payload contains padding bytes.
       CREATE/CREATE2:  Payload contains the handshake challenge.
       CREATED/CREATED2: Payload contains the handshake response.
-      RELAY:   Payload contains the relay header and relay body.
+      RELAY/RELAY_EARLY: Payload contains the relay header and relay body.
       DESTROY: Payload contains a reason for closing the circuit.
                (see 5.4)
    Upon receiving any other value for the command field, an OR must
@@ -491,14 +491,15 @@ see tor-design.pdf.
       Other variable-length cells:
                  Payload MAY contain padding bytes at the end of the cell.
                  Padding bytes SHOULD be set to NUL.
-      RELAY:     Payload MUST be padded to PAYLOAD_LEN with padding bytes.
-                 Padding bytes SHOULD be set to random values.
+      RELAY/RELAY_EARLY: Payload MUST be padded to PAYLOAD_LEN with padding
+                  bytes. Padding bytes SHOULD be set to random values.
       Other fixed-length cells:
                  Payload MUST be padded to PAYLOAD_LEN with padding bytes.
                  Padding bytes SHOULD be set to NUL.
-   We recommend random padding in RELAY cells, so that cell content is
-   unpredictable. See proposal 289 for details. For non-RELAY cells, TLS
-   authenticates cell content, so randomised padding bytes are redundant.
+   We recommend random padding in RELAY/RELAY_EARLY cells, so that the cell
+   content is unpredictable. See proposal 289 for details. For other
+   cells, TLS authenticates cell content, so randomised padding bytes are
+   redundant.
 
    Receivers MUST ignore padding bytes.
 

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits