lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 11 Feb 2022 09:48:04 +0100
From:   Oleksij Rempel <>
Subject: packet stats validation

Hi all,

I'm implementing stats64 for the ksz switch and by validating my
implementation found different by count methods in different sub
systems. For example, i send 64 byte packet with:

mausezahn enp1s0f3 -c 1 -a rand -p 64

- tshark is recognizing 64 byte frame with 50 byte data
- Intel igb is counting it as 64 byte
- ksz9477 switch HW counter is counting it as 68 bytes packet
- linux bridge is counting it as 50 byte packet

Can you please help me to understand this differences?
Do linux bridge is doing it correct or it is a bug?
ksz9477 is probably adding a tag and counting tagged packets. Should
this number be provided to stats64?

Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       |  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

Powered by blists - more mailing lists