Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Only gzip compressed files are supported.

https://www.wireshark.org/docs/man-pages/tshark.html

-r|--read-file <infile>
Read packet data from infile, can be any supported capture file format (including gzipped files).

https://www.wireshark.org/docs/man-pages/wireshark.html

There is no need to tell Wireshark what type of file you are reading; it will determine the file type by itself. Wireshark is also capable of reading any of these file formats if they are compressed using gzip. Wireshark recognizes this directly from the file; the '.gz' extension is not required for this purpose.