include/linux/netfilter/xt_nfacct.h
0 → 100644
+13
−0
+10
−0
+1
−0
net/netfilter/xt_nfacct.c
0 → 100644
+76
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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>