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.