netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* libnftables set element printing, DATA_CHAIN
@ 2014-01-15 22:50 Patrick McHardy
  2014-01-16 10:30 ` Arturo Borrero Gonzalez
  0 siblings, 1 reply; 3+ messages in thread
From: Patrick McHardy @ 2014-01-15 22:50 UTC (permalink / raw)
  To: pablo; +Cc: arturo.borrero.glez, netfilter-devel

[resending because of incorrect list address]

I was looking at some incorrect output in netlink debugging for set elements
and noticed a few things that seem odd:

First, the regular netlink debugging seems very incomplete, it doesn't
print verdict types, it prints [end] whether the set contains intervals
and the set is an interval end or not and its messing up the output.

Next I'm wondering about what DATA_CHAIN is supposed to be. I guess its
the chain for a jump or goto verdict, This is even encoded in the
XML and JSON output. This seems wrong to me, there is no DATA_CHAIN,
there are JUMP or GOTO verdicts that include a chain. The specific
verdict is also missing, so its not possible to distinguish these
two cases.

I could fix up the debugging output, but this looks like someone more
familiar with the XML and JSON stuff should have a look at this and
fix all of this consistently before we release it as wire format.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-01-16 10:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-15 22:50 libnftables set element printing, DATA_CHAIN Patrick McHardy
2014-01-16 10:30 ` Arturo Borrero Gonzalez
2014-01-16 10:40   ` Patrick McHardy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).