Filter a pcap for ip addresses
pcapuc \kx [OPTIONS]...
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.
\*(T<-i \*(T>interface
Input interface to read packets from.
\*(T<-r \*(T>pcap file
Dump file to read packets from.
\*(T<-w \*(T>pcap file
Dump file to write filtered packets to.
\*(T<-f \*(T>expression
BPF expression which selects packets to be filtered.
\*(T<-s \*(T>snaplen
Capture snaplen bytes of data from each packet.
\*(T<-p\*(T>
Disable promiscuous mode sniffing.
\*(T<-S\*(T>
count source IP addresses only
\*(T<-D\*(T>
count destination IP addresses only
\*(T<-P\*(T>
count pairs of IP addresses
\*(T<-C\*(T>
output only the number of unique IP addresses or IP address pairs