NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

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



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 <christos%zoulas.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: gnats-admin%netbsd.org@localhost,
  netbsd-bugs%netbsd.org@localhost,
  rokuyama.rk%gmail.com@localhost,
  buhrow%netbsd.org@localhost
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 =
  <gnats-admin%netbsd.org@localhost> wrote:
  >=20
  > The following reply was made to PR bin/60512; it has been noted by =
  GNATS.
  >=20
  > From: Christos Zoulas <christos%zoulas.com@localhost>
  > To: Rin Okuyama <rokuyama.rk%gmail.com@localhost>
  > Cc: Taylor R Campbell <riastradh%netbsd.org@localhost>,
  > Martin Husemann <martin%duskware.de@localhost>, Brian Buhrow =
  <buhrow%netbsd.org@localhost>,
  > christos%netbsd.org@localhost, gnats-bugs%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
  > 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 <rin%netbsd.org@localhost>
Reply-To: source-changes-d%NetBSD.org@localhost
To: source-changes-full%NetBSD.org@localhost

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.



Home | Main Index | Thread Index | Old Index