summaryrefslogtreecommitdiff
path: root/doc/tor-spec.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tor-spec.txt')
-rw-r--r--doc/tor-spec.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/tor-spec.txt b/doc/tor-spec.txt
index 7a0542afb5..a9c99d07b1 100644
--- a/doc/tor-spec.txt
+++ b/doc/tor-spec.txt
@@ -12,6 +12,11 @@ TODO: (very soon)
- Sendme w/stream0 is circuit sendme
- Integrate -NM and -RD comments
+EVEN LATER:
+ - Do TCP-style sequencing and ACKing of DATA cells so that we can afford
+ to lose some data cells.
+ -
+
0. Notation:
PK -- a public key.
@@ -319,6 +324,7 @@ which reveals the downstream node.
7 -- RELAY_EXTENDED
8 -- RELAY_TRUNCATE
9 -- RELAY_TRUNCATED
+ 10 -- RELAY_DROP
All RELAY cells pertaining to the same tunneled stream have the
same stream ID. Stream ID's are chosen randomly by the OP. A
@@ -346,6 +352,9 @@ which reveals the downstream node.
package stream data in RELAY_DATA cells, and upon receiving such
cells, echo their contents to the corresponding TCP stream.
+ Relay RELAY_DROP cells are long-range dummies; upon receiving such
+ a cell, the OR or OP must drop it.
+
5.2. Closing streams
[Note -- TCP streams can only be half-closed for reading. Our