s2n-quic icon indicating copy to clipboard operation
s2n-quic copied to clipboard

Validate a peer server does not use zero-length CIDs and provide a preferred address

Open WesleyRosenblum opened this issue 3 years ago • 0 comments

https://www.rfc-editor.org/rfc/rfc9000.html#name-transport-parameter-definit

A server that chooses a zero-length connection ID MUST NOT provide a preferred address. Similarly, a server MUST NOT include a zero-length connection ID in this transport parameter. A client MUST treat a violation of these requirements as a connection error of type TRANSPORT_PARAMETER_ERROR.

s2n-quic does not support locally using zero-length connection IDs, but does allow the peer to use zero-length connection IDs. Therefore, the s2n-quic client must perform this validation.

WesleyRosenblum avatar Oct 06 '21 01:10 WesleyRosenblum