Sniff UNIX domain socket
Posted
by
gonvaled
on Server Fault
See other posts from Server Fault
or by gonvaled
Published on 2013-06-27T00:08:45Z
Indexed on
2013/06/27
4:23 UTC
Read the original article
Hit count: 585
I know that some process is writing to a certain unix domain socket (/var/run/asterisk/asterisk.ctl
), but I do not known the pid of the sender. How can I find out who is writing to the socket? I have tried with:
sudo lsof /var/run/asterisk/asterisk.ctl
but it just list the owner of the socket. I would like to know who is writing / reading to this socket, and I would also like to sniff the data. Is this possible?
© Server Fault or respective owner