I use tshark to analyze packets, and want to save the packets that I concerned into a separate pcap/pcapng file(in order to have a look at the packets later). Now that I can get packet info(pinfo), how can I write it into a pcap file? |
This command did it for me: -r infile -w outfile -Y Display Filter -F file format
|