[openssh-commits] [openssh] 82/87: upstream: regess test for link-local address without scope acting
git+noreply at mindrot.org
git+noreply at mindrot.org
Fri Oct 30 20:21:59 AEDT 2026
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit 913d517fa22d3b80e538f7d210163b64f56a269c
Author: djm at openbsd.org <djm at openbsd.org>
AuthorDate: Fri Oct 30 06:25:27 2026 +0000
upstream: regess test for link-local address without scope acting
as a wildcard
Anthropic ANT-2026-4VBYIC2Q
OpenBSD-Regress-ID: 71a5bde790457b80f84e8dbd90cffc7ab1b92fa6
---
regress/addrmatch.sh | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/regress/addrmatch.sh b/regress/addrmatch.sh
index b743c7d55..b2ae39aef 100644
--- a/regress/addrmatch.sh
+++ b/regress/addrmatch.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: addrmatch.sh,v 1.7 2026/05/31 11:31:57 djm Exp $
+# $OpenBSD: addrmatch.sh,v 1.8 2026/10/30 06:25:27 djm Exp $
# Placed in the Public Domain.
tid="address match"
@@ -24,7 +24,7 @@ cat >>$OBJ/sshd_proxy <<EOD
ForceCommand nomatch
Match Address 192.168.0.0/16,!192.168.30.0/24,10.0.0.0/8,host.example.com
ForceCommand match1
-Match Address 1.1.1.1,::1,!::3,2000::/16
+Match Address 1.1.1.1,::1,!::3,2000::/16,fe80::/10
ForceCommand match2
Match LocalAddress 127.0.0.1,::1
ForceCommand match3
@@ -48,6 +48,7 @@ run_trial user ::3 somehost ::2 1234 nomatch "IP6 negated"
run_trial user ::4 somehost ::2 1234 nomatch "IP6 no match"
run_trial user 2000::1 somehost ::2 1234 match2 "IP6 network"
run_trial user 2001::1 somehost ::2 1234 nomatch "IP6 network"
+run_trial user fe80::1%1 somehost ::2 1234 match2 "IP6 scoped link-local address"
run_trial user ::5 somehost ::1 1234 match3 "IP6 localaddress"
run_trial user ::5 somehost ::2 5678 match4 "IP6 localport"
fi
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list