[GSOC 2016] Netlink socket parsers

Dmitry V. Levin ldv at altlinux.org
Mon Mar 7 22:45:00 UTC 2016


On Mon, Mar 07, 2016 at 06:32:34PM +0000, Fabien Siron wrote:
> Quoting Dmitry V. Levin (2016-03-07 01:16:36)
> > On Sun, Mar 06, 2016 at 05:31:15PM +0100, Gabriel Laskar wrote:
> > > So a good start would be to just decode the basic headers for these
> > > packets, only on recvmsg/sendmsg, and build from there in order to add
> > > more protocols for example.
> 
> So the steps would be, first, decode the headers, and after that, add some
> protocols (NETLINK_ROUTE, NETLINK_FIREWALL ...).

As AF_NETLINK protocol family consists of many netlink families,
netlink parser has to be extensible like ioctl parser, allowing gradual
addition of parsers for different netlink families.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20160308/fdb95d87/attachment.bin>


More information about the Strace-devel mailing list