Skip to contentSkip to conversation

Total traffic

DISCUSSION Mario Ohnewald 2 participants 2 messages Oct 5, 2003 – Oct 6, 2003

lore
Share & tools
lore
#0 lore raw

Hello!
I am running the SuSI Firewall2, and i want to find out my total traffic, which i need for my traffic script.
I have 2 questions about it:
Will: iptables -L -vnx | grep "state NEW,RELATED,ESTABLISHED" | grep
"ACCEPT all"

Give me the toal traffic? If yes, why does iptraf log about twice as much traffic than my iptables??

Should it not be the same, or am i looking at the wrong iptables line?

Cheers, Mario

Signature · 6 lines
NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService

Jetzt kostenlos anmelden unter http://www.gmx.net

+++ GMX - die erste Adresse für Mail, Message, More! +++
#1 lore raw

I just insert blank rules to mangle,pre & post.

Quoted 17 lines · Mario Ohnewald

Hello!
I am running the SuSI Firewall2, and i want to find out my total traffic, which i need for my traffic script.
I have 2 questions about it:
Will: iptables -L -vnx | grep "state NEW,RELATED,ESTABLISHED" | grep
"ACCEPT all"

Give me the toal traffic? If yes, why does iptraf log about twice as much traffic than my iptables??

Should it not be the same, or am i looking at the wrong iptables line?

Cheers, Mario