Version 1 (modified by spa1, 14 years ago) (diff)


traceconvert is a libtrace tool that takes a single libtrace input (which can be either an existing trace or a live capture input) and produces a trace file using a libtrace supported output format.


traceconvert inputuri outputuri


Converting from one trace format to another

traceconvert erf:mytrace.erf.gz pcapfile:mytrace.pcap.gz

Capturing live data and writing it to disk

traceconvert int:eth0 pcapfile:mytrace.pcap.gz

Replaying a trace onto an interface

traceconvert pcapfile:mytrace.pcap.gz int:eth0

Note: this will replay the trace exactly as it was captured, i.e. IP headers, link level headers etc will all be unaltered.