]> git.kaiwu.me - nginx.git/commit
QUIC: traffic-based flood detection.
authorRoman Arutyunyan <arut@nginx.com>
Wed, 13 Oct 2021 11:41:46 +0000 (14:41 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Wed, 13 Oct 2021 11:41:46 +0000 (14:41 +0300)
commit6e58593a593804cfad04a8ddbea086fec1872ef0
treef8f9860d335f541c366d0a14151691e4a4d425fb
parent434f11bf3f4c9c8466a946c775441ecd6f768c13
QUIC: traffic-based flood detection.

With this patch, all traffic over a QUIC connection is compared to traffic
over QUIC streams.  As long as total traffic is many times larger than stream
traffic, we consider this to be a flood.
src/event/quic/ngx_event_quic.c
src/event/quic/ngx_event_quic_connection.h