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

The packet header changed since this was written #3514

Merged
merged 2 commits into from
Mar 17, 2020

Conversation

martinthomson
Copy link
Member

Now the version comes before the connection ID fields.

Now the version comes before the connection ID fields.
@martinthomson martinthomson added editorial An issue that does not affect the design of the protocol; does not require consensus. -invariants labels Mar 12, 2020
@@ -352,7 +352,7 @@ The following statements are NOT guaranteed to be true for every QUIC version:
* QUIC uses an AEAD (AEAD_AES_128_GCM {{?RFC5116}}) to protect the packets it
exchanges during connection establishment

* QUIC packet numbers appear after the Version field
* QUIC packet numbers appear after the connection ID fields
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This statement is bit weird, as the packet number field of an Initial packet does not immediately follow the connection ID fields. The field appears after the token field. And I point this out in relation to Initial packets, because IIUC the primary intended reader here are the middlebox developers, who would have the possibility of analyzing Initial packets, but no other packet types with a packet number field.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Of course. I was trying to be economical with language, but clearly that needs to be better.

Copy link
Member

@kazuho kazuho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the changes LGTM

@martinthomson martinthomson merged commit b8472ac into master Mar 17, 2020
@martinthomson martinthomson deleted the fix-invariant-layout-assumption branch March 17, 2020 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-invariants editorial An issue that does not affect the design of the protocol; does not require consensus.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants