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

InitialPacketSizeIPv4 and InitialPacketSizeIPv6 values larger than minimal requirement #4184

Closed
NOBLES5E opened this issue Nov 28, 2023 · 3 comments

Comments

@NOBLES5E
Copy link

NOBLES5E commented Nov 28, 2023

Firstly, I would like to thank you for the great work you guys have been doing on this project.

While debugging an issue related to a node with a NIC MTU of 1230 not transferring packets, we found that the InitialPacketSizeIPv4 and InitialPacketSizeIPv6 are the cause of this issue.

Notably, these values are set to 1252 and 1232 respectively, which are larger than the minimal requirement for the best compatibility 1200.

Could you kindly shed some light on why these values were set at 1252 and 1232 and not at the 1200 mark as recommended for compatibility reasons?

@NOBLES5E
Copy link
Author

Possibly related to #3385

@marten-seemann
Copy link
Member

Using a higher initial packet size allows the server to send larger certificate chains, see https://www.fastly.com/blog/quic-handshake-tls-compression-certificates-extension-study for example.

The value of 1232 / 1252 is very conservative and shouldn't cause any problems on paths on the internet. For reference, Chrome chooses a much larger value (~1350 bytes, last time I checked).

@NOBLES5E
Copy link
Author

NOBLES5E commented Dec 3, 2023

Thanks!

@NOBLES5E NOBLES5E closed this as completed Dec 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants