]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: Ping from Initial pktns before reaching anti-amplification limit
authorFrédéric Lécaille <flecaille@haproxy.com>
Thu, 20 Jul 2023 14:35:42 +0000 (16:35 +0200)
committerFrédéric Lécaille <flecaille@haproxy.com>
Fri, 21 Jul 2023 12:31:42 +0000 (14:31 +0200)
commitbd6ef51fa5357e364fd6e298ecc4e3d931558478
tree762bdd22e077f09ec61ca3552db076b02edaf3af
parentf92d816e3d5e0545dd035b9daae9032740e08100
MINOR: quic: Ping from Initial pktns before reaching anti-amplification limit

There are cases where there are enough room on the network to send 1200 bytes
into a PING only Initial packets. This may be considered as the last chance
for the connection to complete the handshake. Indeed, the client should
reply with at least a 1200 bytes datagram with an Initial packet inside.
This would give the haproxy endpoint a credit of 3600 bytes to complete
the handshake before reaching the anti-amplification limit again, and so on.
src/quic_conn.c