From: Giuseppe Longo <giuseppelng@gmail.com>
To: netfilter-devel@vger.kernel.org
Cc: Giuseppe Longo <giuseppelng@gmail.com>
Subject: [PATCH 0/3] xtables-events segfault
Date: Thu, 6 Feb 2014 14:31:08 +0100 [thread overview]
Message-ID: <1391693471-7591-1-git-send-email-giuseppelng@gmail.com> (raw)
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
next reply other threads:[~2014-02-06 13:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-06 13:31 Giuseppe Longo [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1391693471-7591-1-git-send-email-giuseppelng@gmail.com \
--to=giuseppelng@gmail.com \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.