Wireshark 5.0.0 was posted to the wireshark-announce mailing list on December 2 as the first stable release of the 5.0 branch. Two release candidates came before it, in October and November.

Two changes stand out for anyone who runs captures: packets can now be tied to the process that sent or received them, and capture files can be saved with Zstandard compression.

Packets tied to processes

The new --process-info option works in dumpcap, TShark and the Wireshark GUI. The 5.0.0rc1 release notes list Windows, Linux and macOS as supported capture hosts.

In the default basic mode, Wireshark records each process’s ID, name and start time. A full mode also records the executable path, command line, parent process and user.

Think about the full mode before you share a capture. The project itself calls that data potentially sensitive, and it added editcap --discard-process-info so you can strip it out afterwards.

The data is stored in the pcapng format. Each packet carries the process ID in the epb_processid_threadid option, and a separate process information block describes the process. Both appear in the packet details as frame.process fields. If more than one process could have handled a packet, as with a multicast datagram, Wireshark lists all of them.

The notes don’t say which privileges each platform needs to collect this, and they give no overhead figures. If you plan to leave it on for long captures, measure the cost yourself.

Zstandard for saved captures

The Save As and Export Specified Packets dialogs now have a Zstandard option. The command-line tools accept --compress zstd when Wireshark is built with Zstandard support.

The output is split into independent frames, each holding up to 4 MiB of uncompressed data. That lets Wireshark jump around in a reopened file without decompressing it from the start.

The capture.zstd_compression_level preference sets the compression level. Negative values select the fast modes on Zstandard 1.4.0 or newer.

The project published no compression ratios and no speed comparison against gzip or LZ4. Wireshark uses whatever libzstd your system provides, so check which version you have against the recent Zstandard 1.6.0 release and its memory disclosure fix.

Other additions

Profiles can now be nested. A profile can pull in coloring rules, Decode As entries, saved filters and several tables from its parent profiles. Coloring rules are now saved as JSONC, and a new theme designer under View › Internals replaces the old color settings for individual items.

The HTTP/3 dissector can now reassemble and decompress traffic, and it supports Follow Stream and Export Objects. New protocol support includes NATS, NMEA 2000, CITP, MCData, UDX and Ultra Ethernet Transport.

On Linux, Wireshark can check the distribution’s package repository for updates through PackageKit, without contacting wireshark.org. This needs packagekit-glib2 1.1.12 or later. It doesn’t check self-compiled builds or Flatpak, Snap and AppImage installs.

TShark and the GUI also get a compact JSON output option, and packets can be tagged with text, URLs or emoji.

What breaks

Wireshark can no longer be built with Qt 5. This mostly affects packagers on older distributions. KaOS made a similar move in November when it dropped KDE Plasma and Qt 5 after 13 years.

The minimum Windows version is now Windows 10 21H2 (build 19044) or Windows Server 2022. The MSI packages no longer include the Visual C++ Redistributable, so you have to install it separately. The Windows installers ship Npcap 1.89 (up from 1.83), and the Windows and macOS installers ship Qt 6.12.1.

Dumpcap’s TCP@host:port interface has been removed. The project suggests using socat, netcat or a similar tool to feed a FIFO or named pipe instead. Sharkd now accepts TCP connections only on loopback addresses.

Linking against Heimdal Kerberos is deprecated, though MIT Kerberos is still supported. The old colorfilters file format will be removed in a future release.

On Unix-like systems, Wireshark now looks for extcap binaries under the libexec directory by default. Packagers, and anyone who installs third-party extcap tools by hand, should check their paths.

Security

The 5.0.0 announcement lists no wnpa-sec advisories and no CVEs. Sources and installers are on the Wireshark download page.

Christopher writes about server management, security, and networking for Command Linux. He has worked with web servers, mail servers, and small business networks, and his tutorials reflect problems he has solved firsthand. He is especially interested in server hardening and helping readers secure their systems from day one.