'\" t .\" Title: captype .\" Author: [see the "AUTHOR(S)" section] .\" Generator: Asciidoctor 2.0.20 .\" Date: 2024-02-04 .\" Manual: \ \& .\" Source: \ \& .\" Language: English .\" .TH "CAPTYPE" "1" "2024-02-04" "\ \&" "\ \&" .ie \n(.g .ds Aq \(aq .el .ds Aq ' .ss \n[.ss] 0 .nh .ad l .de URL \fI\\$2\fP <\\$1>\\$3 .. .als MTO URL .if \n[.g] \{\ . mso www.tmac . am URL . ad l . . . am MTO . ad l . . . LINKSTYLE blue R < > .\} .SH "NAME" captype \- Prints the types of capture files .SH "SYNOPSIS" .sp \fBcaptype\fP <\fIinfile\fP> \fI...\fP .sp \fBcaptype\fP \fB\-h|\-\-help\fP .sp \fBcaptype\fP \fB\-v|\-\-version\fP .SH "DESCRIPTION" .sp \fBCaptype\fP is a program that opens one or more capture files and prints the capture file type of each <\fIinfile\fP>. .sp \fBCaptype\fP is able to detect and read the same capture files that are supported by \fBWireshark\fP. The input files don\(cqt need a specific filename extension; the file format and an optional gzip, zstd or lz4 compression will be automatically detected. Near the beginning of the DESCRIPTION section of wireshark(1) or \c .URL "https://www.wireshark.org/docs/man\-pages/wireshark.html" "" is a detailed description of the way \fBWireshark\fP handles this, which is the same way \fBCaptype\fP handles this. .SH "OPTIONS" .sp \-h|\-\-help .RS 4 Print the version number and options and exit. .RE .sp \-v|\-\-version .RS 4 Print the full version information and exit. .RE .SH "DIAGNOSTIC OPTIONS" .sp \-\-log\-level .RS 4 Set the active log level. Supported levels in lowest to highest order are "noisy", "debug", "info", "message", "warning", "critical", and "error". Messages at each level and higher will be printed, for example "warning" prints "warning", "critical", and "error" messages and "noisy" prints all messages. Levels are case insensitive. .RE .sp \-\-log\-fatal .RS 4 Abort the program if any messages are logged at the specified level or higher. For example, "warning" aborts on any "warning", "critical", or "error" messages. .RE .sp \-\-log\-domains .RS 4 Only print messages for the specified log domains, e.g. "GUI,Epan,sshdump". List of domains must be comma\-separated. Can be negated with "!" as the first character (inverts the match). .RE .sp \-\-log\-debug .RS 4 Force the specified domains to log at the "debug" level. List of domains must be comma\-separated. Can be negated with "!" as the first character (inverts the match). .RE .sp \-\-log\-noisy .RS 4 Force the specified domains to log at the "noisy" level. List of domains must be comma\-separated. Can be negated with "!" as the first character (inverts the match). .RE .sp \-\-log\-fatal\-domains .RS 4 Abort the program if any messages are logged for the specified log domains. List of domains must be comma\-separated. .RE .sp \-\-log\-file .RS 4 Write log messages and stderr output to the specified file. .RE .SH "SEE ALSO" .sp pcap(3), wireshark(1), mergecap(1), editcap(1), tshark(1), dumpcap(1), capinfos(1), pcap\-filter(7) or tcpdump(8) .SH "NOTES" .sp \fBCaptype\fP is part of the \fBWireshark\fP distribution. The latest version of \fBWireshark\fP can be found at \c .URL "https://www.wireshark.org" "" "." .sp HTML versions of the Wireshark project man pages are available at .URL "https://www.wireshark.org/docs/man\-pages" "" "." .SH "AUTHORS" .sp .B Original Author .br Ian Schorr .sp .B Contributors .br Gerald Combs .br Jim Young