Has anyone written a utility that simultaneously filters and merges many
pcap-format packet capture files?
tcpdump filter but don't merge,
mergecap merges but doesn't filter. I am trying to filter down 64GB of captures (compressed!) into one much smaller file, and it would be nice if I didn't need another several GB of scratch space and two steps, both of them slow.
The utility must run on Linux and ideally would already be packaged in Debian. Ability to read gzipped trace files is highly desirable. Being fast is also highly desirable (
tshark takes ten to thirty minutes to process one of the input files; there are 120 of them). I can live with being limited to
libpcap's filter syntax.