Messages in this thread | | | Date | Fri, 21 Apr 2006 15:35:16 +0200 | From | Lukasz Stelmach <> | Subject | Re: unix socket connection tracking |
| |
Jan Engelhardt wrote: >> I feel dumb as never so please enlight me. Is ther a way to find out which >> process is on the other end of a unix socket pointed by a specified fd in a process. > > getpeer*()
getpeername(2) (that is the only man page I've got)
That's not exactly what I want. Or even exactly not what I want. I want to learn about sockets from a third person perspective. I've got a process which I can strace(1), but nothing more, and I want to know who is it talking to.
-- Było mi bardzo miło. Czwarta pospolita klęska, [...] >Łukasz< Już nie katolicka lecz złodziejska. (c)PP
[unhandled content-type:application/pgp-signature] | |