1REORDERCAP(1)                                                    REORDERCAP(1)
2
3
4

NAME

6       reordercap - Reorder input file by timestamp into output file
7

SYNOPSIS

9       reordercap [ -n ] [ -v ] <infile> <outfile>
10

DESCRIPTION

12       Reordercap is a program that reads an input capture file and rewrites
13       the frames to an output capture file, but with the frames sorted by
14       increasing timestamp.
15
16       This functionality may be useful when capture files have been created
17       by combining frames from more than one well-synchronised source, but
18       the frames have not been combined in strict time order.
19
20       Reordercap writes the output capture file in the same format as the
21       input capture file.
22
23       Reordercap is able to detect, read and write the same capture files
24       that are supported by Wireshark. The input file doesn’t need a specific
25       filename extension; the file format and an optional gzip, zstd or lz4
26       compression will be automatically detected. Near the beginning of the
27       DESCRIPTION section of wireshark(1) or
28       https://www.wireshark.org/docs/man-pages/wireshark.html is a detailed
29       description of the way Wireshark handles this, which is the same way
30       reordercap handles this.
31

OPTIONS

33       -n
34
35           When the -n option is used, reordercap will not write out the
36           output file if it finds that the input file is already in order.
37
38       -v
39
40           Print the version and exit.
41

DIAGNOSTIC OPTIONS

43       --log-level <level>
44           Set the active log level. Supported levels in lowest to highest
45           order are "noisy", "debug", "info", "message", "warning",
46           "critical", and "error". Messages at each level and higher will be
47           printed, for example "warning" prints "warning", "critical", and
48           "error" messages and "noisy" prints all messages. Levels are case
49           insensitive.
50
51       --log-fatal <level>
52           Abort the program if any messages are logged at the specified level
53           or higher. For example, "warning" aborts on any "warning",
54           "critical", or "error" messages.
55
56       --log-domains <list>
57           Only print messages for the specified log domains, e.g.
58           "GUI,Epan,sshdump". List of domains must be comma-separated.
59
60       --log-debug <list>
61           Force the specified domains to log at the "debug" level. List of
62           domains must be comma-separated.
63
64       --log-noisy <list>
65           Force the specified domains to log at the "noisy" level. List of
66           domains must be comma-separated.
67
68       --log-file <path>
69           Write log messages and stderr output to the specified file.
70

SEE ALSO

72       pcap(3), wireshark(1), tshark(1), dumpcap(1), editcap(1), mergecap(1),
73       text2pcap(1), pcap-filter(7) or tcpdump(8)
74

NOTES

76       This is the manual page for Reordercap 4.0.2. Reordercap is part of the
77       Wireshark distribution. The latest version of Wireshark can be found at
78       https://www.wireshark.org.
79
80       It may make sense to move this functionality into editcap, or perhaps
81       mergecap, in which case reordercap could be retired.
82
83       HTML versions of the Wireshark project man pages are available at
84       https://www.wireshark.org/docs/man-pages.
85

AUTHORS

87       Original Author
88       Martin Mathieson <martin.r.mathieson[AT]googlemail.com>
89
90
91
92                                  2022-12-08                     REORDERCAP(1)
Impressum