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]
Date:   Tue, 18 Aug 2020 23:40:19 +0300
From:   Denis Gubin <denis.gubin@...il.com>
To:     netdev@...r.kernel.org
Subject: tc filter show pretty mode

Good day, everybody!

I've got a problem with output tc filter show command in pretty mode.

I am looking to output and I don't see anything match mac address at all.

I've entered some command for test:
tc qdisc add dev ens5 ingress
tc filter add dev ens5 parent ffff: protocol ip u32 match ether dst
ce:22:a5:5a:1c:26 match ether src ce:22:a5:5a:1c:24


tc filter show dev ens5 ingress

filter protocol ip pref 49152 u32 chain 0
filter protocol ip pref 49152 u32 chain 0 fh 800: ht divisor 1
filter protocol ip pref 49152 u32 chain 0 fh 800::800 order 2048 key ht 800
bkt 0 not_in_hw
  match 0000ce22/0000ffff at -16
  match a55a1c26/ffffffff at -12
  match ce22a55a/ffffffff at -8
  match 1c240000/ffff0000 at -4


Then add -p (pretty) key and...

tc -p filter show dev ens5 ingress

filter protocol ip pref 49152 u32 chain 0
filter protocol ip pref 49152 u32 chain 0 fh 800: ht divisor 1
filter protocol ip pref 49152 u32 chain 0 fh 800::800 order 2048 key ht 800
bkt 0 not_in_hw

-- 
Best regards,
Denis Gubin

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ