I am trying to change the IP address of the traffic that has been stored. I have tried different commands:
tcprewrite --endpoints=10.16.101.58:10.16.101.55 --cachefile=example.cache --infile=test.pcap --outfile=new.pcap
tcprewrite --infile=test.pcap --outfile=out.pcap --dstipmap=126.96.36.199:10.16.101.58
however, either from these two commands end up with a following error:
Fatal Error: From ./plugins/dlt_raw/raw.c:dlt_raw_encode() line 216:
DLT_RAW plugin does not support packet encoding
I could not find anything about it in google, unless I have searched in a wrong way.
when I searched for a solution and generic commands I used those two websites: website1 website2
Commands have been tested using a casual user account as well as a privileged one (root).
Thank you for your time and help accordingly.