aboutsummaryrefslogtreecommitdiff
path: root/proposals/339-udp-over-tor.md
diff options
context:
space:
mode:
Diffstat (limited to 'proposals/339-udp-over-tor.md')
-rw-r--r--proposals/339-udp-over-tor.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/proposals/339-udp-over-tor.md b/proposals/339-udp-over-tor.md
index 3c1a1d4..2a822aa 100644
--- a/proposals/339-udp-over-tor.md
+++ b/proposals/339-udp-over-tor.md
@@ -169,7 +169,7 @@ struct connect_udp_body {
union address[addr_type] with length addr_len {
T_IPV4: u32 ipv4;
T_IPV6: u8 ipv6[16];
- T_HOSTNAME: nulterm name
+ T_HOSTNAME: hostname;
};
u16 port;
// The rest is ignored.
@@ -191,6 +191,10 @@ const FLAG_IPV4_NOT_OKAY = 0x02;
const FLAG_IPV6_PREFERRED = 0x04;
```
+A "hostname" is a DNS hostname that can only contain ascii characters. It is
+NOT following the large and broad DNS syntax. These behaves exacly like BEGIN
+cell behave with regards to the hostname given.
+
### CONNECTED_UDP
A CONNECTED_UDP cell sent in response to a CONNECT_UDP cell has the following