lkml.org 
[lkml]   [2006]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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]
\
 
 \ /
  Last update: 2006-04-21 15:37    [W:0.096 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site