lists.openwall.net   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  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAPaK2r9hYN7ok09nPLaF9z2=aVATRWvDtYhM0-W1ozaykMwssw@mail.gmail.com>
Date:   Sun, 13 Oct 2019 15:17:31 +0800
From:   yue longguang <yuelongguang@...il.com>
To:     netdev@...r.kernel.org
Subject: ingress bandwidth limitation for ipv6 is inaccurate

Hi,all

1.  according to my test,  bandwidth limitation is inaccurate for
ingress ipv6 .  The accuracy is affected by burst.   if rate is less
than 100mbit , set burst to 1MB or 2MB, the result is almost
acceptable.  but when rate is bigger , the result is approximately 1/3
of rate.
command:  tc filter add dev qr-869fbdc2-1e parent ffff: protocol ipv6
u32 match ip6 src any police rate 500mbit burst 1M drop
so except for using ifb, what should be done to get a accurate result.

2. can flowid option of  ingess's filter belong to egress's class.
for example    tc filter add dev qr-869fbdc2-1e parent ffff: protocol
ipv6 u32 match ip6 src any police rate 500mbit burst 1M flowid 1:10
 (1:10 classid  is egress's qdisc's class )

thank you for replying my two questions

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ