]> git.kaiwu.me - nginx.git/commit
QUIC: additional limit for probing packets.
authorVladimir Homutov <vl@nginx.com>
Thu, 20 Jan 2022 19:00:25 +0000 (22:00 +0300)
committerVladimir Homutov <vl@nginx.com>
Thu, 20 Jan 2022 19:00:25 +0000 (22:00 +0300)
commita816af6e1be93ad026b179f8c35c720b891b1e65
tree7813027a981aad76b3fda0bfda985b2afe281093
parent8a4a267d74fa31e4693691a1a8788b0773329481
QUIC: additional limit for probing packets.

RFC 9000, 9.3.  Responding to Connection Migration:
    An endpoint only changes the address to which it sends packets in
    response to the highest-numbered non-probing packet.

The patch extends this requirement to probing packets.  Although it may
seem excessive, it helps with mitigation of reply attacks (when an off-path
attacker has copied packet with PATH_CHALLENGE and uses different
addresses to exhaust available connection ids).
src/event/quic/ngx_event_quic_migration.c