Skip to contentSkip to conversation

ACCOUNT is accounting only 1 direction

DISCUSSION Jindřich Vrba 1 participant 1 message Aug 9, 2007

lore
Share & tools
lore
#0 lore raw

Hello,

I tried to use ACCOUNT to see passing data and make graphs from it, but I see only one direction.

# iptables -A FORWARD -j ACCOUNT --addr 0.0.0.0/0 --tname all
# iptaccount -l all

ipt_ACCOUNT userspace accounting tool v1.2

Showing table: all
Run #0 - 1 item found
IP: 0.0.0.0 SRC packets: 651 bytes: 375788 DST packets: 0 bytes: 0 Finished.

I understand when adding rule in INPUT or OUTPUT, it is possible to see only one direction, but FORWARD is bidirectional.

Is this normal or only in my case?

# iptables -V
iptables v1.3.6
# iptables -j ACCOUNT -h
ACCOUNT v1.3.6 options:
# uname -r
2.6.18.8-henly-patched-20070809

Thanks,
Henly