pcapuc - filter a pcap for IP addresses
Contents
Description
pcapuc parses an input pcap file and prints unique IP addresses and the number of packets each IP address
appeared in. Optionally, pcapuc can limit its output to addresses that only appear in the source address
field of the IP header, addresses that only appear in the destination address field, or sets of IP ad‐
dresses that appear in the source and destination address fields.
Name
pcapuc - filter a pcap for IP addresses
Pcapnet Options
-iinterface
Input interface to read packets from.
-rpcapfile
Dump file to read packets from.
-wpcapfile
Dump file to write filtered packets to.
-fexpression
BPF expression which selects packets to be filtered.
-ssnaplen
Capture snaplen bytes of data from each packet.
-p Disable promiscuous mode sniffing.
Program Options
-S count source IP addresses only
-D count destination IP addresses only
-P count pairs of IP addresses
-C output only the number of unique IP addresses or IP address pairs
29 October 2024 pcapuc(1)
Synopsis
pcapuc [OPTIONS]...
