Accuracy of packet counting?
Quoted 4 lines · Harald Welte
Quoted 2 lines · John Holman
My question:
Quoted 9 lines
Quoted 2 lines
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.]
Signature · 4 lines
Best regards, John Holman Eastax WWW Melbourne, Australia