]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: quic: implement Retry emission
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 11 Jan 2022 13:16:37 +0000 (14:16 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 12 Jan 2022 10:08:48 +0000 (11:08 +0100)
commitb76ae6951347a9e072c03ac54a047901ab19f25c
tree816b3a5767d7eda3625704e43b24c59d85a5aaa9
parentc3b6f4d4847b78826fefa0d5f4047de0f5a39e34
MEDIUM: quic: implement Retry emission

Implement the emission of Retry packets. These packets are emitted in
response to Initial from clients without token. The token from the Retry
packet contains the ODCID from the Initial packet.

By default, Retry packet emission is disabled and the handshake can
continue without address validation. To enable Retry, a new bind option
has been defined named "quic-force-retry". If set, the handshake must be
conducted only after receiving a token in the Initial packet.
include/haproxy/listener-t.h
src/cfgparse-quic.c
src/xprt_quic.c