[PATCH v1 0/6] netlink netfilter decoder
Dmitry V. Levin
ldv at strace.io
Fri Jun 20 15:37:38 UTC 2025
On Fri, Jun 20, 2025 at 01:20:13PM +0300, Dmitry V. Levin wrote:
> On Thu, Jun 19, 2025 at 04:12:40PM +0200, Mathis Marion wrote:
> [...]
> > I must admit that this has been manual work. nf_tables.h[1] is quite
> > well documented so I suppose it could be passed through some scripts
> > to extract data. At least the xlat tables could be generated using a
> > script. I see that there are already some scripts to generate some
> > tables, but I did not spend the time to understand them. I can look
> > into providing some automation for future xlat updates and missing
> > attributes. Do you suggest a starting point based on the existing
> > scripts?
>
> Unfortunately, we don't have scripts for updating xlat tables yet,
> although the enums defined in nf_tables.h look regular enough for
> an automated processing. For example:
Strictly speaking, we have several xlat files generated by
maint/gen_xlat_defs.sh, but that script doesn't handle enums
so it isn't applicable in this case anyway.
--
ldv
More information about the Strace-devel
mailing list