From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Holman Subject: Re: Accuracy of packet counting? Date: Sun, 26 May 2002 08:16:55 +1000 Sender: netfilter-admin@lists.samba.org Message-ID: <3CF00D57.F2399EBE@eastax.com> References: <3CE4352B.36C46B79@john.holman.name> <20020525120020.O30908@sunbeam.de.gnumonks.org> Reply-To: mail@john.holman.name Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Errors-To: netfilter-admin@lists.samba.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: Harald Welte Cc: John Holman , netfilter@lists.samba.org Harald Welte wrote: > > On Fri, May 17, 2002 at 08:39:39AM +1000, John Holman wrote: > > My question: > > > > Is there ANY reason to suppose that the ACCOUNTING total is not an > > accurate count of all IP traffic into and out of eth0? > > yes, since you only count locally-generated and locally-targeted traffic, > not the traffic forwarded by your machine. > > use your accounting rules in the mangle table (PREROUTING and POSTROUTING) > to cover all traffic. > Thank you for that, Harald, it was a RTFM problem :( [I eventually managed to work out the reason for the discrepancies byself, by checking against a detailed traffic report supplied by my ISP.] -- Best regards, John Holman Eastax WWW Melbourne, Australia