On Thu, Feb 20, 2003 at 07:33:40PM +0100, Patrick Schaaf wrote: > > 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? > > 1) Get the kernel source code. > > [...] *lol* > 5) Provide ways for userlevel to access those counters. I would be > interested to hear about the access methods you imagine. ctnetlink should do the trick. > best regards > Patrick -- - Harald Welte <laforge@netfilter.org> http://www.netfilter.org/ ============================================================================ "Fragmentation is like classful addressing -- an interesting early architectural error that shows how much experimentation was going on while IP was being designed." -- Paul Vixie
Attachment:
pgp00351.pgp
Description: PGP signature