netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] xtables-events segfault
@ 2014-02-06 13:31 Giuseppe Longo
  2014-02-06 13:31 ` [PATCH 1/3] nft-shared: adds save_matches_and_target Giuseppe Longo
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Giuseppe Longo @ 2014-02-06 13:31 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Giuseppe Longo

Hi,
this patchset fixes the segfault obtained if you try
to add a rule for arp family.

I added a new function into nft-shared that will be
used to print matches and target for ip/ip6/family
and reworked a bit the code.

The function nft_arp_save_firewall isn't implemented yet,
I'll send another patch later.

Currently is not possible to print ebtables rules,
when xtables-eb is ready, I'll do it.

BR,

Giuseppe Longo (3):
  nft-shared: adds save_matches_and_target
  nft-arp: adds nft_arp_save_firewall
  xtables-events: prints arp rules

 iptables/nft-arp.c        |  9 +++++++++
 iptables/nft-ipv4.c       |  7 +++++--
 iptables/nft-ipv6.c       |  7 +++++--
 iptables/nft-shared.c     | 35 +++++++++++++++++++++++++++++++++++
 iptables/nft-shared.h     |  6 +++++-
 iptables/nft.c            | 33 ++-------------------------------
 iptables/nft.h            |  2 +-
 iptables/xtables-events.c | 20 +++++++++++++-------
 8 files changed, 75 insertions(+), 44 deletions(-)

-- 
1.8.1.5


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

end of thread, other threads:[~2014-02-07 18:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-06 13:31 [PATCH 0/3] xtables-events segfault Giuseppe Longo
2014-02-06 13:31 ` [PATCH 1/3] nft-shared: adds save_matches_and_target Giuseppe Longo
2014-02-06 13:31 ` [PATCH 2/3] nft-arp: adds nft_arp_save_firewall Giuseppe Longo
2014-02-07 18:27   ` Pablo Neira Ayuso
2014-02-06 13:31 ` [PATCH 3/3] xtables-events: prints arp rules Giuseppe Longo
2014-02-07 18:28   ` Pablo Neira Ayuso

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).