pcapuc(1)

NAME
pcapuc - filter a pcap for IP addresses

SYNOPSIS
pcapuc
[OPTIONS]...

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 addresses that appear in the source and destination address fields.

PCAPNET OPTIONS

\FC-i \F[]interface
    Input interface to read packets from.

\FC-r \F[]pcap file
    Dump file to read packets from.

\FC-w \F[]pcap file
    Dump file to write filtered packets to.

\FC-f \F[]expression
    BPF expression which selects packets to be filtered.

\FC-s \F[]snaplen
    Capture snaplen bytes of data from each packet.

\FC-p\F[]
    Disable promiscuous mode sniffing.

PROGRAM OPTIONS

\FC-S\F[]
    count source IP addresses only

\FC-D\F[]
    count destination IP addresses only

\FC-P\F[]
    count pairs of IP addresses

\FC-C\F[]
    output only the number of unique IP addresses or IP address pairs