netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [iptables-nftables RFC PATCH 0/6] IPv6 Support
@ 2013-01-10 14:29 Tomasz Bursztyka
  2013-01-10 14:29 ` [iptables-nftables RFC PATCH 1/6] nft: Add a family attribute to nft_handle Tomasz Bursztyka
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Tomasz Bursztyka @ 2013-01-10 14:29 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Tomasz Bursztyka

Hi,

Here is an attempt to get iptables-nftables supporting IPv6.
I haven't tested it really, so I send it more as an RFC.

Starting from xtables.c which supports only IPv4, patch 2 combines the support for IPv6 in it.
The family attribute provided in patch 1 is set then used in nft.c to use it accordingly, in patch 3.

Patch 4 finalizes it in handling the right informations for rule manipulations depending on the family.

Patch 5 and 6 then adds the support of IPv6 when it comes to respectively save and print the firewall.

Please review,

Tomasz Bursztyka (6):
  nft: Add a family attribute to nft_handle
  xtables: Combine IPv6 support with IPv4 support
  nft: Use handle's family attribute instead of hardcoded AF_INET one
  nft: Support IPv6 rules manipulation
  nft: Use the right payload parsing function when saving a rule
  nft: Handle IPv6 when printing out firewall rules

 iptables/nft.c     | 651 +++++++++++++++++++++++++++++++++++++++--------------
 iptables/nft.h     |   1 +
 iptables/xtables.c | 378 +++++++++++++++++++++----------
 3 files changed, 741 insertions(+), 289 deletions(-)

-- 
1.8.0.2


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

end of thread, other threads:[~2013-01-13 19:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-10 14:29 [iptables-nftables RFC PATCH 0/6] IPv6 Support Tomasz Bursztyka
2013-01-10 14:29 ` [iptables-nftables RFC PATCH 1/6] nft: Add a family attribute to nft_handle Tomasz Bursztyka
2013-01-10 14:29 ` [iptables-nftables RFC PATCH 2/6] xtables: Combine IPv6 support with IPv4 support Tomasz Bursztyka
2013-01-11  9:10   ` [iptables-nftables RFC PATCH - v2 - " Tomasz Bursztyka
2013-01-10 14:29 ` [iptables-nftables RFC PATCH 3/6] nft: Use handle's family attribute instead of hardcoded AF_INET one Tomasz Bursztyka
2013-01-10 14:29 ` [iptables-nftables RFC PATCH 4/6] nft: Support IPv6 rules manipulation Tomasz Bursztyka
2013-01-10 14:29 ` [iptables-nftables RFC PATCH 5/6] nft: Use the right payload parsing function when saving a rule Tomasz Bursztyka
2013-01-10 14:29 ` [iptables-nftables RFC PATCH 6/6] nft: Handle IPv6 when printing out firewall rules Tomasz Bursztyka
2013-01-13 19:23 ` [iptables-nftables RFC PATCH 0/6] IPv6 Support 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).