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: <aMONxDXkzBZZRfE5@fedora>
Date: Fri, 12 Sep 2025 03:04:36 +0000
From: Hangbin Liu <liuhangbin@...il.com>
To: Yunshui Jiang <jiangyunshui@...inos.cn>,
	Sebastian Andrzej Siewior <bigeasy@...utronix.de>
Cc: Jakub Kicinski <kuba@...nel.org>, netdev@...r.kernel.org,
	Lukasz Majewski <lukma@...x.de>, Geliang Tang <geliang@...nel.org>
Subject: [HSR] hsr_ping test failed

Hi, Sebastian, Yunshui,

I tried to run hsr_ping recently on x86_64 arch (build via vng --build
--config tools/testing/selftests/net/hsr/config, latest net branch,
iproute2-6.15.0) and the test always failed due to error
"Expect to send and receive 10 packets and no duplicates."

I checked the normal ping test and found it also has duplicates.
e.g.

PING 100.64.0.3 (100.64.0.3) 56(84) bytes of data.

--- 100.64.0.3 ping statistics ---
2 packets transmitted, 2 received, +3 duplicates, 0% packet loss, time 1012ms

I'm not sure if I missed some configurations or anything else. How do we make
sure there is not duplicates?

Another issue during my testing is that the test checks

        while [ ${WAIT} -gt 0 ]
        do
                grep 00:00:00:00:00:00 /sys/kernel/debug/hsr/hsr*/node_table
                if [ $? -ne 0 ]
                then
                        break
                fi
                sleep 1
                let "WAIT = WAIT - 1"
        done

While in my testing the debug log shows 00:00:00:00:00:00 for mac B address
during the whole 5 seconds.

/sys/kernel/debug/hsr/hsr1/node_table:00:11:22:00:02:01 00:00:00:00:00:00  10026a200,  100265ef5,              0,     1
/sys/kernel/debug/hsr/hsr1/node_table:00:11:22:00:02:02 00:00:00:00:00:00  100265ef5,  100269800,              0,     1
/sys/kernel/debug/hsr/hsr1/node_table:00:11:22:00:03:01 00:00:00:00:00:00  100266140,  10026a200,              0,     1
/sys/kernel/debug/hsr/hsr1/node_table:00:11:22:00:03:02 00:00:00:00:00:00  100269000,  100266140,              0,     1
/sys/kernel/debug/hsr/hsr2/node_table:00:11:22:00:01:01 00:00:00:00:00:00  100269000,  100265ef5,              0,     1
/sys/kernel/debug/hsr/hsr2/node_table:00:11:22:00:01:02 00:00:00:00:00:00  100265ef5,  100269000,              0,     1
/sys/kernel/debug/hsr/hsr2/node_table:00:11:22:00:03:02 00:00:00:00:00:00  100266140,  10026a200,              0,     1
/sys/kernel/debug/hsr/hsr2/node_table:00:11:22:00:03:01 00:00:00:00:00:00  10026a200,  100266140,              0,     1
/sys/kernel/debug/hsr/hsr3/node_table:00:11:22:00:01:02 00:00:00:00:00:00  100269000,  100265ef5,              0,     1
/sys/kernel/debug/hsr/hsr3/node_table:00:11:22:00:01:01 00:00:00:00:00:00  100265ef5,  100269000,              0,     1
/sys/kernel/debug/hsr/hsr3/node_table:00:11:22:00:02:02 00:00:00:00:00:00  100265ef5,  10026a200,              0,     1
/sys/kernel/debug/hsr/hsr3/node_table:00:11:22:00:02:01 00:00:00:00:00:00  10026a200,  100265f98,              0,     1

Thanks
Hangbin

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ