Xuan Chen wrote:
Hi,
I want to add a packet or byte counter to the connection tracking module
in netfilter. That is, I want to track how many packets and bytes having
been sent through one connection. Where should I start? Any examples will
be very helpful!
btw, is there a search engine on netfilter's web page? I think that's
really helpful if people want to search for previous work and discussions.
Thanks,
-chen
http://www.google.com/search?hl=en&lr=&ie=ISO-8859-1&q=conntrack+match+bytes+per+connection&btnG=Google+Search
Doesn't apply clean to 2.4.20 iirc, but very easy to fix.
Patrick