1SC_WARTS2PCAP(1) BSD General Commands Manual SC_WARTS2PCAP(1)
2
4 sc_warts2pcap — write packets included in warts object to a pcap file.
5
7 sc_warts2pcap [-o outfile] [-s sort] [file ...]
8
10 The sc_warts2pcap utility provides the ability to extract packets embed‐
11 ded in the tbit, sting, and sniff warts objects and write them to a pcap
12 file, which can be read by tcpdump and wireshark. The options are as
13 follows:
14
15 -o outfile
16 specifies the name of the output file. If no output file is
17 specified, it will be written to the standard output, provided
18 that it is not a tty.
19
20 -o sort
21 specifies how the pcap records (packets) are sorted before being
22 written out. By default, no sorting is applied; the packets are
23 grouped as they are in the warts file. If packet sorting is
24 specified, the packets are written out in timestamp order. Note
25 that this operation requires the packets to be read into memory
26 to be sorted, so it will require a corresponding amount of memory
27 to complete.
28
30 The command:
31
32 sc_warts2pcap -o output.pcap file1.warts file2.warts
33
34 will read the packet objects from file1.warts, and then file2.warts, and
35 write them to output.pcap.
36
37 The command:
38
39 gzcat file1.warts.gz | sc_warts2pcap -s packet >file1.pcap
40
41 will read the contents of the uncompressed warts file supplied on stdin,
42 sort the packets by their timestamp, and then write the output to
43 file1.pcap.
44
46 scamper(1), tcpdump(1)
47
49 sc_warts2pcap is written by Stephen Eichler and Matthew Luckie.
50
51BSD October 15, 2010 BSD