]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: ignore address migration during handshake
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 21 Nov 2022 10:14:45 +0000 (11:14 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 2 Dec 2022 13:45:43 +0000 (14:45 +0100)
commiteb6be98a65c1ab2e89b60fef5fea2f2a2a5e9b82
tree9c00489f44a1df3baebac975d1927dbcc65d88f7
parenteec0b3c1bdba757f427c5924ebd383633597300f
MINOR: quic: ignore address migration during handshake

QUIC protocol support address migration which allows to maintain the
connection even if client has changed its network address. This is done
through address migration.

RFC 9000 stipulates that address migration is forbidden before handshake
has been completed. Add a check for this : drop silently every datagram
if client network address has changed until handshake completion.

This commit is one of the first steps towards QUIC connection migration
support.

This should be backported up to 2.7.
src/quic_conn.c