[PATCH v5] Print ip and port associated with descriptor with -yy
Dmitry V. Levin
ldv at altlinux.org
Tue Aug 26 18:23:11 UTC 2014
On Tue, Aug 26, 2014 at 06:30:10PM +0200, Zubin Mithra wrote:
> >> Hi Dmitry,
> >>
> >>> Actually, it is quite linux specific: SOCK_DIAG_BY_FAMILY needs tcp_diag
> >>> kernel module to handle IPPROTO_TCP, and udp_diag - for IPPROTO_UDP
> >>> sockets.
> >>
> >> I’m not sure I understand the problem here — could you tell me which kernel version you had used so that I could try compiling that kernel here at my end?
> >
> > The problem, if you call this situation a problem, is that
> > SOCK_DIAG_BY_FAMILY is usually implemented by tcp_diag and udp_diag kernel
> > modules, and when these modules are not loaded and automatic loading is
> > not enabled (as it happened in my case), strace -yy feature won't work.
>
> I see, should we document this somewhere?(Readme-hacking?)
I'd prefer the manual page. :)
--
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20140826/c340aef3/attachment.bin>
More information about the Strace-devel
mailing list