pcapfilter

pcapfilter is a small tool to filter inputs from a pcap file and generates a reduced pcap file without affecting content

Changes

v0.2 :

Usage

pcapfilter src dst rules

rules

Adding the word ‘not’ or ‘no’ before a rule does the opposite

Rules matching : last match wins

Examples :

filter all the packets from 192.168.1.1

pcapfilter if capture.pcap of sample.pcap src 192.168.1.1

filter all the packets from 192.168.1.1 and with port 287

pcapfilter if capture.pcap of - src 192.168.1.1 | pcapfilter if - of sample.pcap port 287

filter all the packets from 192.168.1.1 and without port 287

pcapfilter if capture.pcap of - src 192.168.1.1 | pcapfilter if - of sample.pcap all not port 287

Download

TO FIX: This is a BSD makefile only.

Version Sources Checksum
v0.1 pcapfilter-0.1.tar.gz pcapfilter-0.2.sum
v0.2 pcapfilter-0.2.tar.gz pcapfilter-0.2.sum

License

The code is delivered under BSD License