pcapuc(1)
π pcapuc π
okay bestie, welcome to pcapuc β section 1 of the manual, she's a command, she's iconic, and she's about to make your pcap files make sense π¦
β¨ NAME β¨
pcapuc β filter a pcap for IP addresses π
πΈ SYNOPSIS πΈ
pcapuc [OPTIONS]...
π«Ά DESCRIPTION π«Ά
so like, pcapuc parses an input pcap file and prints unique IP addresses plus the number of packets each IP address appeared in. that's the whole vibe π
and optionally?? she can be picky. 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
choose your fighter, bestie π
π PCAPNET OPTIONS π
-iinterface β input interface to read packets from π-rpcap file β dump file to read packets from π-wpcap file β 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
lowkey reminder bestie: the pcapnet options and the program options are two different little cliques, don't mix them up π
that's the whole page, no cap β¨ she ate and left no crumbs. this gem is dated 26 December 2021, and it's pcapuc(1) all the way down π periodt π
π¦ where this page comes from
- debian bookworm: pcaputils 0.8-1.1
- ubuntu jammy: pcaputils 0.8-1.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms