1 | initial version |
In order for Wireshark to be able to read your packets, they need to be stored in one of the file formats Wireshark understands. The oldest and simplest format Wireshark can read is the pcap format, as outlined on https://wiki.wireshark.org/Development/LibpcapFileFormat.
Simply put, you need to have the following elements:
You can also use the newer and more versatile pcapng format as described on https://github.com/pcapng/pcapng