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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d746708a-f000-a6f7-d0d5-ab5905d080da@ibw.com.ni>
Date:   Fri, 19 Jun 2020 07:56:46 -0600
From:   "Roberto J. Blandino Cisneros" <roberto.blandino@....com.ni>
To:     Linux Kernel Network Developers <netdev@...r.kernel.org>
Subject: Re: RATE not being printed on tc -s class show dev XXXX

My TC rules are as follow:

TC="/usr/sbin/tc"
DEV=$1
ip=$2
MASTER1="50000kbit"
RATE1="1000kbit"
burst="5k"
$TC qdisc add dev $DEV root handle 1: htb default 10
$TC class add dev $DEV parent 1: classid 1:1 htb rate ${MASTER1} ceil 
${MASTER1} burst $burst
$TC class add dev $DEV parent 1:1 classid 1:10 htb rate ${RATE1} ceil 
${RATE1} prio 3 burst $burst
$TC qdisc add dev $DEV parent 1:10 handle 10: sfq perturb 10
$TC filter add dev $DEV parent 1: protocol all prio 1 u32 match ip dst 
$ip flowid 1:10
$TC filter add dev $DEV parent 1: protocol all prio 1 u32 match ip src 
$ip flowid 1:10


El 18/6/20 a las 19:30, Cong Wang escribió:
>
> You either need to enable /sys/module/sch_htb/parameters/htb_rate_est
> or specify a rate estimator when you create your HTB class.
Does it need to be set on the "root handle"?
>
> Thanks.
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ