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

IPv6 Fragment Fragment: 512 MTU. Order: 1 2 3 ... N. Overlap: None. error #1124

Open
hakehuang opened this issue Apr 7, 2022 · 5 comments
Open

Comments

@hakehuang
Copy link
Contributor

Describe the bug
Fragment: 512 MTU. Order: 1 2 3 ... N. Overlap: None. test is Fail on Zephyr3.0.0 on qemu_x86

References

RFC 2460: section 4.5

Results

FAIL: icmp.v6 got no echo response, which is not an expected result.; PASS: udp.v6 got echo response, which is an expected result.; PASS: tcp.v6 got echo response, which is an expected result.

Environment (please complete the following information):

  • OS: (e.g. Linux )
  • Toolchain (e.g Zephyr SDK)
  • Commit SHA or Version used: Zephyr3.0.0
@hakehuang
Copy link
Contributor Author

Also fails on qemu_x86 for Zephyr3.0.0

@rlubos
Copy link
Collaborator

rlubos commented Mar 15, 2023

@hakehuang Any chance for a wireshark pcap from this test? I'd like to understand better on what are we dealing with here.

FAIL: icmp.v6 got no echo response, which is not an expected result.; PASS: udp.v6 got echo response, which is an expected result.; PASS: tcp.v6 got echo response, which is an expected result.

Do I interpret it correctly, that only ICMPv6 fragmentation failed? And it worked fine for UDP/TCP?

@rlubos
Copy link
Collaborator

rlubos commented Mar 17, 2023

@hakehuang I also need to understand what does 512 MTU mean in terms of this test and others. At first I thought it's the underlying link MTU size, but now I'm not so sure about it, as it'd make little sense - the minimum MTU for IPv6 is 1280 bytes.

@hakehuang
Copy link
Contributor Author

@hakehuang I also need to understand what does 512 MTU mean in terms of this test and others. At first I thought it's the underlying link MTU size, but now I'm not so sure about it, as it'd make little sense - the minimum MTU for IPv6 is 1280 bytes.

good point, the MAX pro testing design so for the https://www.rfc-editor.org/rfc/rfc2460#section-4.5, but I do not know why they set the MTU to 512, let me check with IWL for help. Thanks a lot to point this out. @rlubos

@hakehuang
Copy link
Contributor Author

@rlubos , below is the detailes test explanation

the "512 MTU" and "8 MTU" in tests' SUMMARY simply means the size of fragments used in the test.  Since MTU is defined as the payload size of an Ethernet frame. In this case, the size of fragment is the  payload size of a fragmented packet. 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants