I have a saved pcap file that needs to be edited to remove address. Then save the file back as pcap so the Wireshark features can be used. I’m exporting the file. Export -> Export Packet Dissection -> as Plain Text file. Make the changes. Now I need to import the file and save as pcap. Is this possible? Any help is worth a beer or two! |
If ultimate purpose is just editing the pcap file, I would suggest using a pcap editing tool like bittwist, libcrafter,editcap,tcprewrite,netdude or powereditpcap. It would be way easier to use these tools than exporting as txt, editing it and exporting back as pcap. Thanks SidR. I'll have to read up on the above tools in order to edit out the public addresses and replace them with pseudo addresses. Once again thanks SidR.
(14 Mar '13, 13:07)
VoIP This
editcap won't work for this purpose - it doesn't understand packet payloads - but at least some of the other tools should be able to do that.
(13 Apr '16, 17:52)
Guy Harris ♦♦
|
Some resources on anonymizing network traces:
|
Another library you can use it PcapPlusPlus (github repo). It has all sorts of parsing and editing capabilities, among them is editing IP addresses |