forked from aiortc/aioquic
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
During address validation, count the entire received datagram
For anti-amplification purposes, servers need to keep track of the amount of data received on unvalidated network paths. We must count the entire datagram size regardless of whether packets are processed or dropped. This is particularly important when talking to clients who pad datagrams containing INITIAL packets by appending bytes after the long-header packets, which is legitimate behaviour.
- Loading branch information
Showing
1 changed file
with
19 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters