pcapip(1)

filter a pcap for IP addresses

Section 1 pcaputils bookworm source

Description

pcapip

NAME

pcapip - filter a pcap for IP addresses

SYNOPSIS

pcapip [OPTIONS]...

DESCRIPTION

pcapip filters an input pcap file based on a file containing IP addresses to be matched.

PCAPNET OPTIONS

-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.

-p

Disable promiscuous mode sniffing.

PROGRAM OPTIONS

-l file

File containing list of IP addresses, one per line.