Re: bin/60512: sshd: hosts.deny and hosts.allow for NetBSD 10 not working for 11

"Rin Okuyama via gnats" <[email protected]> Thu, 30 Jul 2026 08:05:01 +0000 (UTC)
Newsgroups gmane.os.netbsd.bugs
Message-ID <[email protected]>
The following reply was made to PR bin/60512; it has been noted by GNATS.

From: Rin Okuyama <[email protected]>
To: [email protected], [email protected], [email protected],
 Christos Zoulas <[email protected]>
Cc: [email protected]
Subject: Re: bin/60512: sshd: hosts.deny and hosts.allow for NetBSD 10 not
 working for 11
Date: Thu, 30 Jul 2026 17:01:58 +0900

 On 2026/07/29 21:50, Christos Zoulas via gnats wrote:
 > The following reply was made to PR bin/60512; it has been noted by GNATS.
 > 
 > From: Christos Zoulas <[email protected]>
 > To: [email protected]
 > Cc: [email protected],
 >   [email protected],
 >   [email protected],
 >   [email protected]
 > Subject: Re: bin/60512: sshd: hosts.deny and hosts.allow for NetBSD 10 not
 >   working for 11
 > Date: Wed, 29 Jul 2026 15:46:28 +0300
 > 
 >   Err, sshd.
 >   
 >   christos
 >   
 >   > On Jul 29, 2026, at 3:40=E2=80=AFPM, Christos Zoulas via gnats =
 >   <[email protected]> wrote:
 >   >=20
 >   > The following reply was made to PR bin/60512; it has been noted by =
 >   GNATS.
 >   >=20
 >   > From: Christos Zoulas <[email protected]>
 >   > To: Rin Okuyama <[email protected]>
 >   > Cc: Taylor R Campbell <[email protected]>,
 >   > Martin Husemann <[email protected]>, Brian Buhrow =
 >   <[email protected]>,
 >   > [email protected], [email protected], [email protected]
 >   > Subject: Re: bin/60512: sshd: hosts.deny and hosts.allow for NetBSD 10 =
 >   not working for 11
 >   > Date: Wed, 29 Jul 2026 15:38:11 +0300
 >   >=20
 >   > I agree, let's just use "ssh".
 >   >=20
 >   > christos
 >   >=20
 >   
 
 Thanks! Committed :)
 
 rin
 
 -------- Forwarded Message --------
 Subject: CVS commit: src/crypto/external/bsd/openssh/dist
 Date: Thu, 30 Jul 2026 01:28:25 +0000
 From: Rin Okuyama <[email protected]>
 Reply-To: [email protected]
 To: [email protected]
 
 Module Name:	src
 Committed By:	rin
 Date:		Thu Jul 30 01:28:25 UTC 2026
 
 Modified Files:
 	src/crypto/external/bsd/openssh/dist: sshd-session.c
 
 Log Message:
 sshd-session: For libwrap, only check "sshd"
 
 Previously, both "sshd" and "sshd-session" were checked, which
 does not work for some hosts.allow configurations, as described
 in PR bin/60512.
 
 Instead, only check "sshd" again as done before sshd-session was
 introduced; "sshd-session" is an internal implementation detail,
 and we should just use "sshd" consistently.
 
 OK christos
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.13 -r1.14 \
      src/crypto/external/bsd/openssh/dist/sshd-session.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.