[post 1]GSoC 2017: Netlink socket parsers

Eugene Syromiatnikov esyr at redhat.com
Tue May 9 16:34:06 UTC 2017

On Sun, May 07, 2017 at 10:47:02PM +0800, JingPiao Chen wrote:
> Hi, strace community:
>     My name is JingPiao Chen. I'm luckily selected by strace to work on
> Netlink socket parsers in GSoC this year. My main goal is to extend to
> support
> more netlink family protocols.
>     I want to start my work now. When I modify the code by Fabien Siron,
> I have some questions. It is necessary to decode all nlmsg_type and handle
> all
> get and new flags?
Well, the ultimate target is to handle and decode everything (it applies
not only to netlink protocol decoding, but, in general, to others parts
as well, like ioctl decoding, for example).

The first part is to merge core proto-independent functionality into strace
(like [1] and [2]) and then gradually add support for decoding of specific

> It seen need lots of code. Which part should I focus on?
> Please give me some advice. Thank you.
It makes sense to start with nlmsg types which are actively used
(rtnetlink, netfilter, sock_diag, crypto, selinux, audit).

[1] https://github.com/Saruta/strace/commit/a5451532da9dbdecc186f496789b6a57ff3240b6
[2] https://github.com/Saruta/strace/commit/7359ca8e74a4f053844b3572049b656cec82d4a6

>     Looking forward to this wonderful trip.
> --
> JingPiao Chen

> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot

> _______________________________________________
> Strace-devel mailing list
> Strace-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/strace-devel

More information about the Strace-devel mailing list