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

What do if a tool small link MTU is detected? #62

Closed
mirjak opened this issue Jul 11, 2022 · 4 comments · Fixed by #68
Closed

What do if a tool small link MTU is detected? #62

mirjak opened this issue Jul 11, 2022 · 4 comments · Fixed by #68
Assignees

Comments

@mirjak
Copy link
Collaborator

mirjak commented Jul 11, 2022

I think there are two option here, 1) close/deny the connect request, and 2) use streams instead. I think we should consider both option, especially given stream are just there to use.

@tfpauly
Copy link
Collaborator

tfpauly commented Jul 21, 2022

Isn't this a dup of #45? That's fixed with #60.

I guess the text could be generalized to talk about more than just IPv6 MTU issues.

@tfpauly tfpauly changed the title What do if a tool small link MTU is detect? What do if a tool small link MTU is detected? Jul 21, 2022
@gloinul
Copy link
Collaborator

gloinul commented Jul 22, 2022

Isn't this a dup of #45? That's fixed with #60.

No, this aspect on what you do when the MTU required is not present is not resolved by that PR. I would note that closing gives the endpoints one experience that is likely easier to handle in implementation and do avoid the issue with reordering and the varying packet treatment that moving to stream would result.

@DavidSchinazi
Copy link
Collaborator

I would suggest adding a sentence saying that if an endpoint realizes that the IPv6 tunnel MTU goes lower than 1280, then it MUST close the stream.

@ekinnear
Copy link
Contributor

ekinnear commented Jul 27, 2022

IETF 114: Note that if something happens and your MTU gets smaller, you may need to destroy that link. Potentially make this option a SHOULD do PMTUD, otherwise you could end up in a situation where you're not a compliant IPv6 tunnel.

Proposal:

If you are sending the IP packets over datagrams and you detect that the path MTU is no longer sufficient, you MUST close the stream because you're in violation of the RFC.

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

Successfully merging a pull request may close this issue.

5 participants