filter a pcap for IP addresses
pcapip filters an input pcap file based on a file containing IP addresses to be matched.
- -i interface
Input interface to read packets from.
- -r pcap file
Dump file to read packets from.
- -w pcap file
Dump file to write filtered packets to.
- -f expression
BPF expression which selects packets to be filtered.
- -s snaplen
Capture snaplen bytes of data from each packet.
Disable promiscuous mode sniffing.
- -l file
File containing list of IP addresses, one per line.