diff options
author | Nick Mathewson <nickm@torproject.org> | 2021-08-16 11:17:23 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2021-08-16 11:19:11 -0400 |
commit | b962a3003808fb940101f5f49c5b3ead2eeaf3e5 (patch) | |
tree | 4e7ece827db6826f39b05cc77014d665f1ab13a2 /tor-spec.txt | |
parent | 315ce4fc3b6677cd76bd8c303a5b72377dc25649 (diff) | |
download | torspec-b962a3003808fb940101f5f49c5b3ead2eeaf3e5.tar.gz torspec-b962a3003808fb940101f5f49c5b3ead2eeaf3e5.zip |
Clarify behavior on bad address length in NETINFO
Diffstat (limited to 'tor-spec.txt')
-rw-r--r-- | tor-spec.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tor-spec.txt b/tor-spec.txt index 7e76562..dce264f 100644 --- a/tor-spec.txt +++ b/tor-spec.txt @@ -887,7 +887,8 @@ see tor-design.pdf. [06] IPv6. ALEN MUST be 4 when ATYPE is 0x04 (IPv4) and 16 when ATYPE is 0x06 - (IPv6). + (IPv6). If the ALEN value is wrong for the given ATYPE value, then + the provided address should be ignored. The timestamp is a big-endian unsigned integer number of seconds since the Unix epoch. Implementations MUST ignore unexpected bytes |