DFTEST(1)
π DFTEST(1) β the manual page, but make it cute π
okay bestie, pull up a chair π this is dftest, and it lives in the section 1 of the manual (that's the "commands you actually type" section, iykyk). it's a whole little icon and it's about to show you the secret inner life of your display filters β¨
β¨ NAME β¨
dftest β shows display filter byte-code, for debugging dfilter routines.
like. it's the x-ray machine for your filters. no cap. π¦
πΈ SYNOPSIS πΈ
dftest [ <filter> ]
that's it. that's the whole vibe. one optional lil filter and she's off π
π DESCRIPTION π
so here's the tea, bestie: dftest is a simple tool that compiles a display filter and then shows you its bytecode. that's the whole job. she compiles, she spills, she leaves. main character energy fr fr π
if you wanna actually understand the bytecode she's showing you, go read doc/README.display_filter β it has a description of the DFVM (Display Filter Virtual Machine) Byte Codes. yes it's a whole virtual machine. for filters. we love a niche queen. π
π OPTIONS π
filterβ the display filter expression. heads up though: if it needs it, it has to be quoted. don't come crying to me when your shell eats your asterisks π«Ά
π₯ DIAGNOSTIC OPTIONS π₯
okay so this is the part where she gets chatty. logging options, go:
--log-level <level>β set the active log level. the supported levels, going lowest to highest, are"noisy","debug","info","message","warning","critical", and"error". messages at each level and higher get printed, so for example"warning"prints"warning","critical", and"error"messages, and"noisy"prints all the messages. levels are case insensitive, so type it however your heart desires β¨--log-fatal <level>β abort the program if any messages are logged at the specified level or higher. for example,"warning"aborts on any"warning","critical", or"error"messages. she said we're DONE here π--log-domains <list>β only print messages for the specified log domains, e.g."GUI,Epan,sshdump". the list of domains must be comma-separated. no spaces, bestie, she's picky π--log-debug <list>β force the specified domains to log at the"debug"level. list of domains must be comma-separated.--log-noisy <list>β force the specified domains to log at the"noisy"level. list of domains must be comma-separated. maximum yapping, enabled. π£οΈ--log-file <path>β write log messages and stderr output to the specified file. everything goes in the journal πβ¨
π¦ EXAMPLES π¦
wanna see how the IP protocol is filtered? say less:
dftest ip
wanna see how frame 150 is filtered? obsessed:
dftest "frame.number == 150"
see that quote? that quote is doing WORK. protect it at all costs π
π SEE ALSO π
wireshark-filter(4)β her big sister, the legend herself π
π AUTHORS π
Original Author
Jan Ε afrΓ‘nek
Contributors
Jaap Keuter
and that's the whole page, bestie!! π this version of DFTEST(1) is dated 2026-05-03, and yeah, the page name is literally just DFTEST(1) again because manpages love a little redundancy moment. slay, stay filtered, and always quote your expressions π
β¨π«Ά
π¦ where this page comes from
- debian bookworm: wireshark-common 4.0.17-0+deb12u3 Β· 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