There is some
.pcap-file with fragmented IP traffic. I replay this file with
tcpreplay, but also I need to replay it with
DF (don't fragment) bit set in some packets.
I supposed that
tcprewrite will help, but it seems that there is no ability to change IP-header flags in this utility.
So which utility (console preferably) should I use to correctly alter IP-header flags in pcap-file in Linux? If
tcprewrite or any other can do so, some examples would be helpful.
By the way, after altering
DF-bit the checksum of IP-header should be updated respectively.