IP and port associated with a socket fd

Dmitry V. Levin ldv at altlinux.org
Wed Aug 6 17:40:01 UTC 2014

On Tue, Aug 05, 2014 at 11:58:35PM -0400, Mike Frysinger wrote:
> On Wed 06 Aug 2014 12:31:36 Masatake YAMATO wrote:
> > A problem is that many libraries wrapping netlink interface are
> > distributed under term of GPL or LGPL. I'm not sure the code using the
> > library is acceptable to strace project. If not acceptable, you have
> > to decode the packet of netlink by yourself.
> libnl is LGPL, so linking against it optionally should be OK (strace would 
> still be BSD).  since it's actively developed and commonly used (by wireless 
> tools), i'd start there.

Looks like there are no other viable options but libnl.

-------------- 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/20140806/8f24407e/attachment.bin>

More information about the Strace-devel mailing list