How can I listen on a UNIX socket to watch traffic between processes?
Issue
- A UNIX socket, such as the
systemd-journal
socket or the socket forDocker
orCRI-O
is being sent information from a number of processes, and a way to inspect the traffic across this socket is desired. - Typical traffic monitoring tools, such as
tcpdump
, do not work on UNIX sockets.
Environment
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.