]> git.karo-electronics.de Git - karo-tx-linux.git/commit
netfilter: nf_tables: Add support for IPv6 NAT
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Thu, 10 Oct 2013 11:39:19 +0000 (13:39 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 14 Oct 2013 16:00:58 +0000 (18:00 +0200)
commiteb31628e37a0a4e01fffd79dcc7f815d2357f53a
tree8f78d641ddc8817109b55cedb114e4a4a8d9c045
parent9ddf63235749a9efa1fad2eeb74be2ee9b580f8d
netfilter: nf_tables: Add support for IPv6 NAT

This patch generalizes the NAT expression to support both IPv4 and IPv6
using the existing IPv4/IPv6 NAT infrastructure. This also adds the
NAT chain type for IPv6.

This patch collapses the following patches that were posted to the
netfilter-devel mailing list, from Tomasz:

* nf_tables: Change NFTA_NAT_ attributes to better semantic significance
* nf_tables: Split IPv4 NAT into NAT expression and IPv4 NAT chain
* nf_tables: Add support for IPv6 NAT expression
* nf_tables: Add support for IPv6 NAT chain
* nf_tables: Fix up build issue on IPv6 NAT support

And, from Pablo Neira Ayuso:

* fix missing dependencies in nft_chain_nat

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/uapi/linux/netfilter/nf_tables.h
net/ipv4/netfilter/Kconfig
net/ipv4/netfilter/nft_chain_nat_ipv4.c
net/ipv6/netfilter/Kconfig
net/ipv6/netfilter/Makefile
net/ipv6/netfilter/nft_chain_nat_ipv6.c [new file with mode: 0644]
net/netfilter/Kconfig
net/netfilter/Makefile
net/netfilter/nft_nat.c [new file with mode: 0644]