[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netfilter
Subject:    iptables   counters  with ethernet frame with tcp header ???
From:       Horst Meissner <horst () inline ! de>
Date:       2003-01-30 18:11:47
[Download RAW message or body]

Hello,
what exactly does the counters count
shaper:~# iptables -xvL OUT
Chain OUT (1 references)
     pkts      bytes target     prot opt 
in     out     source               destination
  1047519 
565962605            all  --  any    any     anywhere             anywhere
....

The first number is the number of the packets, and the second one the 
number of bytes.
But witch size with ethernet frame (14 bytes + 4 bytes CRC) with IP header 
20 bytes....
or without ?

What ist the correct one:
bytes target = 14 Bytes Ethernet  +  20 Bytes IP  + 20 Bytes TCP + XX Bytes 
Data + 4 Bytes  CRC
bytes target = 14 Bytes Ethernet  +  20 Bytes IP  + 20 Bytes TCP + XX Bytes 
Data
bytes target = 20 Bytes IP  + 20 Bytes TCP + XX Bytes Data
bytes target = 20 Bytes TCP + XX Bytes Data
bytes target = XX Bytes Data


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic