[NETFILTER]: x_tables: add NFLOG target
authorPatrick McHardy <kaber@trash.net>
Wed, 29 Nov 2006 01:35:38 +0000 (02:35 +0100)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:31:31 +0000 (21:31 -0800)
commitbaf7b1e11282127e068d149825cccec002091d61
tree33eae4a25dad2666e5b51bffb76d5c7d2db725c2
parent39b46fc6f0d1161a5585cd8af7b3a05e8118ab7e
[NETFILTER]: x_tables: add NFLOG target

Add new NFLOG target to allow use of nfnetlink_log for both IPv4 and IPv6.
Currently we have two (unsupported by userspace) hacks in the LOG and ULOG
targets to optionally call to the nflog API. They lack a few features,
namely the IPv4 and IPv6 LOG targets can not specify a number of arguments
related to nfnetlink_log, while the ULOG target is only available for IPv4.
Remove those hacks and add a clean way to use nfnetlink_log.

Signed-off-by: Patrick McHardy <kaber@trash.net>
include/linux/netfilter/Kbuild
include/linux/netfilter/xt_NFLOG.h [new file with mode: 0644]
include/linux/netfilter_ipv4/ipt_LOG.h
include/linux/netfilter_ipv6/ip6t_LOG.h
net/ipv4/netfilter/ipt_LOG.c
net/ipv6/netfilter/ip6t_LOG.c
net/netfilter/Kconfig
net/netfilter/Makefile
net/netfilter/xt_NFLOG.c [new file with mode: 0644]