]> git.ipfire.org Git - people/ms/linux.git/commit - net/netfilter/Makefile
netfilter: xtables: add nfacct match to support extended accounting
authorPablo Neira Ayuso <pablo@netfilter.org>
Fri, 23 Dec 2011 13:28:59 +0000 (14:28 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 25 Dec 2011 01:43:17 +0000 (02:43 +0100)
commitceb98d03eac5704820f2ac1f370c9ff385e3a9f5
treeae01b67bc105d3d8039b9dd53b893215407866c2
parent9413902796f56f6209e19dd54e840ed46950612c
netfilter: xtables: add nfacct match to support extended accounting

This patch adds the match that allows to perform extended
accounting. It requires the new nfnetlink_acct infrastructure.

 # iptables -I INPUT -p tcp --sport 80 -m nfacct --nfacct-name http-traffic
 # iptables -I OUTPUT -p tcp --dport 80 -m nfacct --nfacct-name http-traffic

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/linux/netfilter/Kbuild
include/linux/netfilter/xt_nfacct.h [new file with mode: 0644]
net/netfilter/Kconfig
net/netfilter/Makefile
net/netfilter/xt_nfacct.c [new file with mode: 0644]