[tor-commits] [torspec] branch main updated: prop339: Remove header from CONNECTED_UDP cell
gitolite role
git at cupani.torproject.org
Tue May 31 14:52:21 UTC 2022
This is an automated email from the git hooks/post-receive script.
nickm pushed a commit to branch main
in repository torspec.
The following commit(s) were added to refs/heads/main by this push:
new 988369a prop339: Remove header from CONNECTED_UDP cell
988369a is described below
commit 988369a95b1a47c261cdf7325f4b5ca19beeb843
Author: David Goulet <dgoulet at torproject.org>
AuthorDate: Tue May 31 10:29:13 2022 -0400
prop339: Remove header from CONNECTED_UDP cell
Signed-off-by: David Goulet <dgoulet at torproject.org>
---
proposals/339-udp-over-tor.md | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/proposals/339-udp-over-tor.md b/proposals/339-udp-over-tor.md
index 96abf16..3c1a1d4 100644
--- a/proposals/339-udp-over-tor.md
+++ b/proposals/339-udp-over-tor.md
@@ -198,12 +198,6 @@ format.
```
struct udp_connected_body {
- /* 5 bytes to distinguish from other CONNECTED_UDP cells. This is not
- * strictly necessary, since we can distinguish by context, but
- * it's nice to have a way to tell them apart at the parsing stage.
- */
- u32 zero IN [0];
- u8 ff IN [0xFF];
/* The address that the relay has bound locally. This might not
* be an address that is advertised in the relay's descriptor. */
struct address our_address;
@@ -216,7 +210,7 @@ struct udp_connected_body {
}
/* Note that this is a subset of the allowable address parts of a CONNECT_UDP
- message */
+ * message */
struct address {
u8 tag IN [T_IPV4, T_IPV6];
u8 len;
@@ -233,8 +227,7 @@ struct address {
```
struct datagram_body {
/* The datagram body is the entire body of the message.
- This length is in the relay message header.
- */
+ * This length is in the relay message header. */
u8 body[..];
}
```
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the tor-commits
mailing list