pcapip(1)
π pcapip β bestie edition π
okay so this is pcapip, section 1 of the manual, and she is literally the friend who filters your pcap by IP address. no cap. π
β¨ NAME β¨
pcapip β filter a pcap for IP addresses π¦
πΈ SYNOPSIS πΈ
pcapip [OPTIONS]...
that's it. that's the whole vibe. [OPTIONS]... and honestly the three dots are doing a lot of heavy lifting but we love her. π
π DESCRIPTION π
okay so here's the tea, bestie: pcapip filters an input pcap file based on a file containing IP addresses to be matched. π«Ά
like. you hand her a pcap, you hand her a list of IPs, and she's like "say less" and gives you back only the packets that match. main character energy fr fr. π
π§ PCAPNET OPTIONS π§
these are the packet-capture-y options, iykyk. π
-iinterface β the input interface to read packets from. pick your interface, babe. π-rpcap file β the dump file to read packets from. this is your "read from this file instead of the wire" moment. π-wpcap file β the dump file to write filtered packets to. the survivors go here. πβ‘οΈπ-fexpression β the BPF expression which selects packets to be filtered. give her a filter expression and she will use it. β¨-ssnaplen β capturesnaplenbytes of data from each packet. yes, exactly that many. not more, not fewer. π―-pβ disable promiscuous mode sniffing. she's being modest now, okay?? π
π PROGRAM OPTIONS π
-lfile β file containing list of IP addresses, one per line. yes bestie, ONE. PER. LINE. do not put two on a line, i am begging you. π
ngl, the whole thing is just: read packets from somewhere, match them against your IP list, write the keepers somewhere. iconic behaviour. β
and that's the page!! π¦ written by the pcapip girlies, version 1, dated 26 December 2021. 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