New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Address Validation Token does not disable Anti-Amplification Limit #3319
Comments
That sounds reasonable. Do you want to submit a PR? |
Yes, I will do that |
To verify that this is a problem, I made a 0-RTT connection on a 1 s RTT path. with anti-amplification limit:
without anti-amplification limit:
|
Copying from my response on the PR:
We probably need to improve the |
@marten-seemann I would rather not combine AcceptToken and the address token validation, as one might want to configure one but not the other. |
Currently ackhandler.sentPacketHandler always waits for a handshake packet from the client to disable the anti-amplification limit.
But the anti-amplification limit could be disabled when an address validation token is provide by the client.
This would be beneficial for servers responding to 0-RTT requests.
See https://datatracker.ietf.org/doc/html/rfc9000#section-8.1
The text was updated successfully, but these errors were encountered: