This repository has been archived by the owner on Apr 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 138
ICMPv6 checksum not recalculated correctly if fragment header is present #271
Comments
I am able to confirm that the presence of IPv6 extension header(s) causes the checksum to be wrong. As per RFC 8200 Section 8.1 -
I have a fix for this. But I need to be careful that the fix doesn't cause regressions, so I'm doing some extra testing on the same before committing. |
Test results after the fix:
Test results with Ostinato 0.9:
Legend: True/False in the combination indicates the presence of IPv4 options or IPv6 Ext Headers |
pstavirs
added a commit
that referenced
this issue
Sep 17, 2018
This bug was introduced while fixing #271
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It appears that the fragment header (which in this case indicates that there are no more fragments) causes the checksum recalculation to go badly. Packet capture attached.
ICMPv6_checksum_error.zip
The text was updated successfully, but these errors were encountered: