Skip to contentSkip to conversation

Accuracy of packet counting?

DISCUSSION John Holman 1 participant 1 message May 25, 2002 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
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