]> git.karo-electronics.de Git - karo-tx-linux.git/commit
netfilter: nf_tables: add new expression nft_redir
authorArturo Borrero <arturo.borrero.glez@gmail.com>
Fri, 17 Oct 2014 10:39:09 +0000 (12:39 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 27 Oct 2014 21:49:39 +0000 (22:49 +0100)
commite9105f1bead4ec3f64904564c7c6268185d6b363
treec2b91e5f3183503759fd8759cdeb9bf3ccf45af2
parent9de920eddb74bf67f1d6af603acc5ed05dcd35e9
netfilter: nf_tables: add new expression nft_redir

This new expression provides NAT in the redirect flavour, which is to
redirect packets to local machine.

Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nft_redir.h [new file with mode: 0644]
include/uapi/linux/netfilter/nf_tables.h
net/ipv4/netfilter/Kconfig
net/ipv4/netfilter/Makefile
net/ipv4/netfilter/nft_redir_ipv4.c [new file with mode: 0644]
net/ipv6/netfilter/Kconfig
net/ipv6/netfilter/Makefile
net/ipv6/netfilter/nft_redir_ipv6.c [new file with mode: 0644]
net/netfilter/Kconfig
net/netfilter/Makefile
net/netfilter/nft_redir.c [new file with mode: 0644]