-
Notifications
You must be signed in to change notification settings - Fork 268
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
[Bug] tcpreplay-edit with --fixcsum crushing IP header when there is a VLAN tag #583
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Take any IPv4 packet with a VLAN header. Ask tcpreplay-edit to fix the checksums. The IP header's flags field is crushed by the edit.
Start
tcpdump -i ethX -w /tmp/result.pcap
in one window.In another window, play the attached pcap with
tcpreplay-edit -i ethX --fixcsum vlan1pkt.pcap
vlan1pkt.zip
Kill tcpdump and use wireshark/tshark to examine the packet. See that the IPv4 Flags field has been overwritten with garbage (the checksum value).
The text was updated successfully, but these errors were encountered: