Skip to content

[Bug] tcpreplay-edit with --fixcsum crushing IP header when there is a VLAN tag #583

@jsbarber

Description

@jsbarber

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).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions