Statistics collector for Iptables. It records how many packets and bytes passed for given range of IPs (subnet). Each IP is counted separately. Data can be read via procfs from /proc/net/ipt_STATS/ directory. Kernel module is named xt_STATS.ko.
example:
download: ipt_STATS-5.tar.gz
(should work with linux versions 2.6.27 〰 2.6.37)
Gateway matching module for Iptables. Tells whether nexthop of datagram's route is within given range. Note that directly accessible hosts serve as gateways for themselves.
example:
download: ipt_via-9.tar.gz
(not up to date due to permanent API changes, sorry)