dwdump(1)
β¨ dwdump(1) β¨
okay so bestie, welcome to dwdump β it's a little General Commands Manual moment, and honestly? it's giving main character energy. basically it's the tool you call when you wanna dump kernel dropped packets to a file. that's the whole vibe. packets that got yeeted by the kernel? we're catching them π
πΈ NAME πΈ
dwdump β dump kernel dropped packets to a file π«Ά
π SYNOPSIS π
dwdump [ OPTIONS ]
that's it. no positional args, no drama, just vibes and options β¨
π OPTIONS π
okay bestie here's the menu, and no we are not skipping any of them, every single flag is iconic in its own way:
-w,--writeFILE β dumps the packets into the file you give it, inpcapformat. if you don't say anything, it defaults to standard output. lowkey the most used one fr fr.-t,--truncLENGTH β asks the kernel to truncate packets down to the length you provide. defaults to no truncation at all, so full packets by default.-q,--queryβ queries the kernel for the current configuration and then exits. like a lil vibe check on the kernel's settings π-l,--limitLIMIT β asks the kernel to set the per-CPU packet queue limit to your provided limit. defaults to1,000packets. don't be greedy bestie.-p,--passiveβ only listens on notified packets with no configuration done. this is useful if the kernel is already monitoring dropped packets and you just want to open another listening socket. so like, you're just pulling up a chair, not rearranging the furniture πͺ-s,--statsβ queries the kernel for statistics and exits. numbers, bestie. we love numbers.-b,--bufsizeSIZE β sets the socket's receive buffer to the size you provide. defaults to1MB. give it room to breathe β¨-o,--origin{ sw | hw }β asks the kernel to only monitor software or hardware originated drops. defaults to both. seedevlink-trap(8)for details on how to get hardware originated drops to the kernel. iykyk π-e,--exitβ asks the kernel to stop monitoring and exit. the graceful lil goodbye π
π EXAMPLES π
these are literally the cutest lil demos, pls enjoy:
dwdump -w drops.pcap
Dump dropped packets to a file. classic. the go-to. π
dwdump | tshark -V -r -
Pipe dropped packets to Wireshark. pipe it bestie, pipe it π₯
dwdump -o sw -w drops.pcap
Only monitor software originated drops. hardware found irrelevant π
dwdump -q
Query current configuration from the kernel and exit. in and out, no notes.
π¦ SEE ALSO π¦
go read these too, they're the friend group:
heads up bestie:-p/--passivedoes no configuration at all, it only listens on notified packets β that's on purpose, not a bug. and-odefaults to bothswandhw, so if you only want one of them you actually have to say so. no cap. π
and that's the whole page, periodt. this lil icon was written by Ido Schimmel back in Jan 2020, and it lives in the General Commands Manual β dwdump(1) forever and always πβ¨π
π¦ where this page comes from
- debian bookworm: dropwatch 1.5.4-2 Β· GPL-2.0-or-later
- debian trixie: dropwatch 1.5.4-4 Β· GPL-2.0-or-later
- epel 9: dropwatch 1.5.4-1.el9 Β· GPLv2+
- fedora 43: dropwatch 1.5.5-2.fc43 Β· GPL-2.0-or-later
- fedora 44: dropwatch 1.5.5-3.fc44 Β· GPL-2.0-or-later
- nixos 26.05: dropwatch 1.5.5
- nixpkgs unstable: dropwatch 1.5.5
- ubuntu noble: dropwatch 1.5.4-3build2 Β· GPL-2.0-or-later
- ubuntu questing: dropwatch 1.5.4-4
- ubuntu resolute: dropwatch 1.5.4-4build1 Β· GPL-2.0-or-later
- ubuntu stonking: dropwatch 1.5.5-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms