diff options
author | Nick Mathewson <nickm@torproject.org> | 2023-12-14 13:17:32 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2023-12-14 13:17:32 -0500 |
commit | 2cad4d69b899ebcf7391ddcd5a21cd2115baee67 (patch) | |
tree | 5f1d66b0dd65003a16f0bcfeceb607b3764229ce | |
parent | 6067027691adcbcfe4a07583842752aed54d6251 (diff) | |
download | torspec-2cad4d69b899ebcf7391ddcd5a21cd2115baee67.tar.gz torspec-2cad4d69b899ebcf7391ddcd5a21cd2115baee67.zip |
Rephrase OtherAddr/own-addr text
-rw-r--r-- | spec/tor-spec/negotiating-channels.md | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/spec/tor-spec/negotiating-channels.md b/spec/tor-spec/negotiating-channels.md index 01a22d1..e503ece 100644 --- a/spec/tor-spec/negotiating-channels.md +++ b/spec/tor-spec/negotiating-channels.md @@ -469,20 +469,22 @@ and 16 when ATYPE is 0x06 (IPv6). If the ALEN value is wrong for the given ATYPE value, then the provided address should be ignored. -When sending `OTHERADDR`, -implementations SHOULD use the actual IP address -they have observed for the other party. +The `OTHERADDR` field SHOULD be set to the actual IP address +observed for the other party. > (This is typically the address passed to `connect()` > when acting as the channel initiator, > or the address received from `accept()` > when acting as the channel responder.) -When sending the party's own addresses, +When sending the party's own addresses +in the `ATYPE`/`ALEN`/`AVAL` fields, relays SHOULD send the addresses that they have advertised in their router descriptors. Bridges and clients SHOULD send none of their own addresses. +> The OTHERADDR and + For the `TIME` field, relays send a (big-endian) integer holding the number of seconds since the Unix epoch. |