Skip to content
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

add a test case for Address Validation for Future Connections #288

Open
msoxzw opened this issue May 31, 2022 · 1 comment
Open

add a test case for Address Validation for Future Connections #288

msoxzw opened this issue May 31, 2022 · 1 comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@msoxzw
Copy link

msoxzw commented May 31, 2022

Quoting from RFC9000:

8.1.3. Address Validation for Future Connections

A server MAY provide clients with an address validation token during
one connection that can be used on a subsequent connection. Address
validation is especially important with 0-RTT because a server
potentially sends a significant amount of data to a client in
response to 0-RTT data.

As far as I am concerned, "dns.nextdns.io:8853" and "dns.adguard.com:853" send NEW_TOKEN frames to clients after the client address is validated in order to avoid the 1-RTT penalty during subsequent connections by the client from the same address.

@marten-seemann marten-seemann added help wanted Extra attention is needed good first issue Good for newcomers labels Nov 23, 2023
@marten-seemann
Copy link
Collaborator

Sorry for the late reply. This sounds like a good idea. The test case could be similar to the resumption test case, but instead checking for TLS session resumption you'd check for the token to be present on Initial packet.
The challenging part here is that the token can be present, but the server can still reject it, but continue the handshake. I don't have a good solution for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants