]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[NETFILTER]: Add new iptables "connbytes" match
authorHarald Welte <laforge@netfilter.org>
Sat, 13 Aug 2005 20:56:26 +0000 (13:56 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 29 Aug 2005 22:58:04 +0000 (15:58 -0700)
commit9d810fd2d28a9d672eca3136476af1a54a380bb2
tree1eaa57851bbc1eeee094b92c539de8e7509aa297
parent0ba2c6e8c0fb5cde5a23a213c2e7cb851b85c310
[NETFILTER]: Add new iptables "connbytes" match

This patch ads a new "connbytes" match that utilizes the CONFIG_NF_CT_ACCT
per-connection byte and packet counters.  Using it you can do things like
packet classification on average packet size within a connection.

Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter_ipv4/ipt_connbytes.h [new file with mode: 0644]
net/ipv4/netfilter/Kconfig
net/ipv4/netfilter/Makefile
net/ipv4/netfilter/ipt_connbytes.c [new file with mode: 0644]