Flow based network accounting with Linux Many networking scenarios require some form of network accounting that goes beyond some simple packet and byte counters as available from the 'ifconfig' output. The author has implemented an efficient approach, by which the accounting information is stored in the in-kernel connection tracking table of the ip_conntrack stateful firewall state machine.