I'm trying to export a packet capture, which is decoded as "PEEKREMOTE". For example: tshark -r -d udp.port==5000,peekremote <file.pcap> ...and I'd like to save/export the 'decoded version' of file.pcap. Is that possible in either tshark or wireshark? asked 25 Nov '13, 21:05 mike909 |
2 Answers:
No, that's not possible, as the "Decode as" action is only performed within Wireshark/tshark while it is running. If you save a decoded capture file, there will be no information added about your special configuration (decoding port 5000 as PEEKREMOTE). Solution: If you want to have that as a permanent option, you can change the Wireshark preferences.
Wireshark will now save your 'Decode As' setting to the file 'decode_as_entries' in the folder %APPDATA%\Wireshark\, or a sub-folder if you are using profiles. Just search for the file name. Content of
Regards answered 26 Nov '13, 03:58 Kurt Knochner ♦ edited 26 Nov '13, 04:08 |
What do you mean by "export" and "decoded"? [Wire|t]shark can print the protocol tree as text or various forms of ML. Look under the File | Export Packet Dissections ... menu in Wireshark, and look at the -T options for tshark. answered 26 Nov '13, 01:52 grahamb ♦ |