sc_warts2pcap

Convert scamper warts files to pcap format

TLDR

Convert warts to pcap format
$ sc_warts2pcap [input.warts] > [output.pcap]
Write output to a specific file
$ sc_warts2pcap -o [output.pcap] [input.warts]
Sort packets into timestamp order
$ sc_warts2pcap -s sort [input.warts] > [output.pcap]

SYNOPSIS

sc_warts2pcap [options] file

DESCRIPTION

sc_warts2pcap converts scamper warts-format files to pcap (packet capture) format. This enables analysis of scamper measurement data using standard network tools like Wireshark or tcpdump. The tool extracts raw packets embedded in the tbit, sting, and sniff warts objects and writes them as pcap records.Part of the scamper network measurement toolkit.

PARAMETERS

-o file

Write output to the specified file instead of stdout.
-s sort
Sort the pcap records in timestamp order before writing. By default packets are written in the order they appear in the warts file. Sorting requires loading all packets into memory first.

INSTALL

sudo apt install scamper
sudo zypper install scamper
brew install scamper

CAVEATS

Only warts files containing embedded packet data can be meaningfully converted. Not all scamper measurement types embed raw packets in their output.

SEE ALSO

sc_warts2json(1), sc_wartsdump(1), scamper(1), tcpdump(1), wireshark(1)