From 49ab8cedf1d5b55e2c7c2fbad0b6558afd4c8e8f Mon Sep 17 00:00:00 2001 From: Martin Thomson Date: Wed, 1 Jul 2020 10:21:10 +1000 Subject: [PATCH 1/2] Define preferred_address Closes #3803. --- draft-ietf-quic-transport.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/draft-ietf-quic-transport.md b/draft-ietf-quic-transport.md index 3ec45c50fe..9aa08df0ed 100644 --- a/draft-ietf-quic-transport.md +++ b/draft-ietf-quic-transport.md @@ -5043,13 +5043,21 @@ disable_active_migration (0x0c): preferred_address (0x0d): : The server's preferred address is used to effect a change in server address at - the end of the handshake, as described in {{preferred-address}}. The format - of this transport parameter is shown in {{fig-preferred-address}}. This - transport parameter is only sent by a server. Servers MAY choose to only send + the end of the handshake, as described in {{preferred-address}}. This + transport parameter is only sent by a server. Servers MAY choose to only send a preferred address of one address family by sending an all-zero address and port (0.0.0.0:0 or ::.0) for the other family. IP addresses are encoded in network byte order. +: The preferred_address transport parameter contains an address and port for + both IP version 4 and 6. The four-byte IPv4 Address field is followed by the + associated two-byte IPv4 Port field. This is followed by a 16-byte IPv6 + Address field and two-byte IPv6 Address field. After address and port pairs, + a Connection ID Length field describes the length of the following Connection + ID field. Finally, a 16-byte Stateless Reset Token field includes the + stateless reset token associated with the connection ID. The format of this + transport parameter is shown in {{fig-preferred-address}}. + : The Connection ID field and the Stateless Reset Token field contain an alternative connection ID that has a sequence number of 1; see {{issue-cid}}. Having these values bundled with the preferred address ensures that there will From c0c58db5415d3e152e7515435a961c3b4e69e38b Mon Sep 17 00:00:00 2001 From: Martin Thomson Date: Wed, 1 Jul 2020 11:49:55 +1000 Subject: [PATCH 2/2] What typo? Co-authored-by: Mike Bishop --- draft-ietf-quic-transport.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/draft-ietf-quic-transport.md b/draft-ietf-quic-transport.md index 9aa08df0ed..52e40e6c52 100644 --- a/draft-ietf-quic-transport.md +++ b/draft-ietf-quic-transport.md @@ -5052,7 +5052,7 @@ preferred_address (0x0d): : The preferred_address transport parameter contains an address and port for both IP version 4 and 6. The four-byte IPv4 Address field is followed by the associated two-byte IPv4 Port field. This is followed by a 16-byte IPv6 - Address field and two-byte IPv6 Address field. After address and port pairs, + Address field and two-byte IPv6 Port field. After address and port pairs, a Connection ID Length field describes the length of the following Connection ID field. Finally, a 16-byte Stateless Reset Token field includes the stateless reset token associated with the connection ID. The format of this