DOKK / manpages / debian 12 / wireshark-common / dftest.1.en
DFTEST(1)   DFTEST(1)

dftest - Shows display filter byte-code, for debugging dfilter routines.

dftest [ <filter> ]

dftest is a simple tool which compiles a display filter and shows its bytecode. Please refer to doc/README.display_filter for a description of the DFVM (Display Filter Virtual Machine) Byte Codes.

filter

The display filter expression. If needed it has to be quoted.

--log-level <level>

Set the active log level. Supported levels in lowest to highest order are "noisy", "debug", "info", "message", "warning", "critical", and "error". Messages at each level and higher will be printed, for example "warning" prints "warning", "critical", and "error" messages and "noisy" prints all messages. Levels are case insensitive.

--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.

--log-domains <list>

Only print messages for the specified log domains, e.g. "GUI,Epan,sshdump". List of domains must be comma-separated.

--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.

--log-file <path>

Write log messages and stderr output to the specified file.

Show how the IP protocol is filtered:

dftest ip

Shows how frame 150 is filtered:

dftest "frame.number == 150"

wireshark-filter(4)

Original Author
Jan Šafránek

Contributors
Jaap Keuter

2023-11-17