Wireshark 4.6.0 Supports macOS pktap Metadata (PID, Process Name, etc.) – nuxx.net
Four years after my post on doing network captures on macOS with Process ID, Wireshark 4.6.0 has been released which includes support for parsing this extra metadata, including the process info.
So how do you do it? Easy! You just need the pktap interface parameter.
From the tcpdump(1) man page:
Alternatively, to capture on more than one interface at a time, one may use “pktap” as the interface parameter followed by an optional list of comma separated interface names to include. For example, to ...
Read more at nuxx.net