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: <5a86e98f-66c1-4dfb-9e3f-4990bff4bf70@kernel.org>
Date: Fri, 23 Jan 2026 11:13:20 -0700
From: David Ahern <dsahern@...nel.org>
To: Fernando Fernandez Mancera <fmancera@...e.de>, netdev@...r.kernel.org
Cc: davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com,
 horms@...nel.org, shuah@...nel.org, linux-kselftest@...r.kernel.org,
 haleyb.dev@...il.com
Subject: Re: [PATCH 2/2 net-next v3] selftests: net: add ipv6 ping to local
 address from localhost

On 1/21/26 12:44 PM, Fernando Fernandez Mancera wrote:
> Test ipv6 pinging to local configured address and linklocal address from
> localhost with -I ::1.
> 
> Signed-off-by: Fernando Fernandez Mancera <fmancera@...e.de>
> ---
> v2: shellcheck fixes, added VRF based tests and simplified linklocal
> address parsing
> v3: extend existing test in fcnal-test.sh instead of creating a new one,
> notice some shellcheck warnings but I prefer to follow the style of the
> existing code. It can be fixed if it is a requirement.
> ---
>  tools/testing/selftests/net/fcnal-test.sh | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/tools/testing/selftests/net/fcnal-test.sh b/tools/testing/selftests/net/fcnal-test.sh
> index 844a580ae74e..890c3f8e51bb 100755
> --- a/tools/testing/selftests/net/fcnal-test.sh
> +++ b/tools/testing/selftests/net/fcnal-test.sh
> @@ -2327,6 +2327,13 @@ ipv6_ping_novrf()
>  		log_test_addr ${a} $? 2 "ping local, device bind"
>  	done
>  
> +	for a in ${NSA_LO_IP6} ${NSA_LINKIP6}%${NSA_DEV} ${NSA_IP6}
> +	do
> +		log_start
> +		run_cmd ${ping6} -c1 -w1 -I ::1 ${a}
> +		log_test_addr ${a} $? 0 "ping local, from localhost"
> +	done
> +
>  	#
>  	# ip rule blocks address
>  	#

Reviewed-by: David Ahern <dsahern@...nel.org>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ