wiki:TraceFilter

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

--

tracefilter copies all packets that match a user-specified bpf filter to an output trace, creating a new filtered sub-trace.

Usage

tracefilter inputuri bpffilter outputuri

Applications

Capturing a trace file using a filter

tracefilter int:eth0 "tcp port 80" erf:http_only.erf.gz

Filtering an existing trace

tracefilter erf:trace.erf.gz "host 192.168.2.110" erf:single_host.erf.gz