Binary package “nsntrace” in ubuntu mantic
perform network trace of a single process by using network namespaces
Uses Linux network namespaces to perform network traces of a single
application. The traces are saved as pcap files. And can later be analyzed
by for instance Wireshark.