aws / s2n-quic

An implementation of the IETF QUIC protocol
https://crates.io/crates/s2n-quic
Apache License 2.0
1.14k stars 120 forks source link

Issue a stateless reset when a peer remote address changes #317

Open WesleyRosenblum opened 3 years ago

WesleyRosenblum commented 3 years ago

Until we can support connection migration, or at least can validate whether a peer has changed remote address without changing destination connection id (see #316), we should issue a stateless reset when the peer's remote address changes. Currently we will just drop the packets, and the peer will eventually time out.

camshaft commented 3 months ago

Still referenced: https://github.com/aws/s2n-quic/blob/c25b075f07a2547a0211985ac3ebab31d35a50ec/quic/s2n-quic-core/src/path/migration.rs#L63