aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2023-11-01 10:36:36 -0400
committerNick Mathewson <nickm@torproject.org>2023-11-01 20:10:12 -0400
commit2876d681edc16c867e67c9c0a85fd73900780769 (patch)
tree5898910e7888a256daa970dd7ea39f91906cb71b
parente24ac0e5d13bc83a352ebd72fa8134973b368b0b (diff)
downloadtorspec-2876d681edc16c867e67c9c0a85fd73900780769.tar.gz
torspec-2876d681edc16c867e67c9c0a85fd73900780769.zip
Split out the data transmission section.
-rw-r--r--spec/tor-spec/opening-streams.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/tor-spec/opening-streams.md b/spec/tor-spec/opening-streams.md
index a8eebd2..c3a0aa6 100644
--- a/spec/tor-spec/opening-streams.md
+++ b/spec/tor-spec/opening-streams.md
@@ -1,6 +1,8 @@
<a id="tor-spec.txt-6.2"></a>
-# Opening streams and transferring data
+# Opening streams and transmitting data
+
+## Opening a new stream: The begin/connected handshake {#opening}
To open a new anonymized TCP connection, the OP chooses an open
circuit to an exit that may be able to connect to the destination
@@ -68,6 +70,8 @@ versions set the TTL to the last value seen from a DNS server, and expire
their own cached entries after a fixed interval. This prevents certain
attacks.\]
+## Transmitting data {#transmitting}
+
Once a connection has been established, the OP and exit node
package stream data in RELAY_DATA cells, and upon receiving such
cells, echo their contents to the corresponding TCP stream.