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

Tokens are repeated in Initial packets #4047

Closed
martinthomson opened this issue Aug 25, 2020 · 2 comments · Fixed by #4049
Closed

Tokens are repeated in Initial packets #4047

martinthomson opened this issue Aug 25, 2020 · 2 comments · Fixed by #4049
Labels
-transport editorial An issue that does not affect the design of the protocol; does not require consensus.

Comments

@martinthomson
Copy link
Member

This issue has a long and storied history. We were originally of the view that only one packet needed to include a token (which you can see in the discussion of #1649). However, the resolution of that issue in #1794 was very clear: every Initial packet needs to include a token.

That introduced a regression as it grouped the token with the connection ID, and we caught that in #1830. However, the fix to that in #1929 reverted the token changes along with the connection ID changes. Since then, this error has gone unnoticed.

Most people will have seen the stronger normative requirement here:

This token MUST be repeated by the client in all Initial packets it sends for that connection after it receives the Retry packet.

To my knowledge, every implementation includes the token in every Initial packet, changing only when a Retry is received. We should reconcile the text.

@martinthomson martinthomson added editorial An issue that does not affect the design of the protocol; does not require consensus. -transport labels Aug 25, 2020
martinthomson added a commit that referenced this issue Aug 25, 2020
See the issue for the sorry history of this mistake.

Closes #4047.
@marten-seemann
Copy link
Contributor

To my knowledge, every implementation includes the token in every Initial packet, changing only when a Retry is received. We should reconcile the text.

FWIW, that's what the interop runner tests for in the Retry test case.

@janaiyengar
Copy link
Contributor

@marten-seemann : Yes, that's what sent us off on this chase :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-transport editorial An issue that does not affect the design of the protocol; does not require consensus.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants