1CAPTYPE(1) CAPTYPE(1)
2
3
4
6 captype - Prints the types of capture files
7
9 captype [ -h ] [ -v ] <infile> ...
10
12 Captype is a program that opens one or more capture files and prints
13 the capture file type of each <infile>.
14
15 Captype is able to detect and read the same capture files that are
16 supported by Wireshark. The input files don’t need a specific filename
17 extension; the file format and an optional gzip, zstd or lz4
18 compression will be automatically detected. Near the beginning of the
19 DESCRIPTION section of wireshark(1) or
20 https://www.wireshark.org/docs/man-pages/wireshark.html is a detailed
21 description of the way Wireshark handles this, which is the same way
22 Captype handles this.
23
25 -h|--help
26
27 Print the version number and options and exit.
28
29 -v|--version
30
31 Print the full version information and exit.
32
34 --log-level <level>
35 Set the active log level. Supported levels in lowest to highest
36 order are "noisy", "debug", "info", "message", "warning",
37 "critical", and "error". Messages at each level and higher will be
38 printed, for example "warning" prints "warning", "critical", and
39 "error" messages and "noisy" prints all messages. Levels are case
40 insensitive.
41
42 --log-fatal <level>
43 Abort the program if any messages are logged at the specified level
44 or higher. For example, "warning" aborts on any "warning",
45 "critical", or "error" messages.
46
47 --log-domains <list>
48 Only print messages for the specified log domains, e.g.
49 "GUI,Epan,sshdump". List of domains must be comma-separated.
50
51 --log-debug <list>
52 Force the specified domains to log at the "debug" level. List of
53 domains must be comma-separated.
54
55 --log-noisy <list>
56 Force the specified domains to log at the "noisy" level. List of
57 domains must be comma-separated.
58
59 --log-file <path>
60 Write log messages and stderr output to the specified file.
61
63 pcap(3), wireshark(1), mergecap(1), editcap(1), tshark(1), dumpcap(1),
64 capinfos(1), pcap-filter(7) or tcpdump(8)
65
67 Captype is part of the Wireshark distribution. The latest version of
68 Wireshark can be found at https://www.wireshark.org.
69
70 HTML versions of the Wireshark project man pages are available at
71 https://www.wireshark.org/docs/man-pages.
72
74 Original Author
75 Ian Schorr <ian[AT]ianschorr.com>
76
77 Contributors
78 Gerald Combs <gerald[AT]wireshark.org>
79 Jim Young <jyoung[AT]gsu.edu>
80
81
82
83 2023-08-31 CAPTYPE(1)