🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #3919

Bug#1153531: openssh-server: unable to configure tcp-wrappers

#3919
From: Colin Watson
Date: Mon, 09 Nov 2026 18:10
26 lines
3055 bytes
On Mon, Nov 09, 2026 at 05:58:42PM +0100, R.Scussat - DSP LABS S.r.l. wrote:
>some time ago, OpenSSH server was modified to separate session related
>operations into a separate program (`sshd-session`) in order to improve
>security.
>However, this change altered TCP wrappers behavior: previously, the key used
>for `libwrap` was derived from the executable's name, whereas now it is
>static and fixed as "sshd."
>Unfortunately, if two separate instances of `sshd` are installed on the same
>machine, it becomes impossible to configure TCP wrappers appropriately, as
>both instances use the same key.

Hmm, OK, I hadn't realized this.  However, support for TCP wrappers in 
OpenSSH is on life support in Debian, having been removed upstream in 
OpenSSH 6.7; I definitely don't intend to add more user-facing options 
for it, and ultimately I'd prefer to move towards dropping it entirely.

Please could you explore whether any other approach would be feasible 
for you?  For example, 
https://fedoraproject.org/wiki/Changes/Deprecate_TCP_wrappers#Documentation 
suggests several alternatives, none of which should require changes to 
sshd.

Thanks,

-- 
Colin Watson (he/him)                              [cjwatson@debian.org]
Technical Details
Message-ID: <NXBYC-aRi5-35@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.nntp4.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NXBcd-aQQz-7@gated-at.bofh.it> <NXBcd-aQQz-7@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.nntp4.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Colin Watson <cjwatson@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1153531: openssh-server: unable to configure tcp-wrappers
Date: Mon, 09 Nov 2026 19:10:02 +0100
Message-ID: <NXBYC-aRi5-35@gated-at.bofh.it>
References: <NXBcd-aQQz-7@gated-at.bofh.it> <NXBcd-aQQz-7@gated-at.bofh.it>
X-Original-To: "R.Scussat - DSP LABS S.r.l." <dsplabs@dsplabs.net>,
	1153531@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Mon Nov  9 18:05:06 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Colin Watson <cjwatson@debian.org>, 1153531@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-ssh@lists.debian.org
X-Debian-Pr-Message: followup 1153531
X-Debian-Pr-Package: openssh-server
X-Debian-Pr-Source: openssh
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
X-Debian-User: cjwatson
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2001697
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 26
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Mon, 9 Nov 2026 18:02:58 +0000
X-Original-Message-ID: <avIK0t14xsv1mF3M@riva.ucam.org>
X-Original-References: <179424352290.361273.5402073262830677757.reportbug@gw1.local.lan> <179424352290.361273.5402073262830677757.reportbug@gw1.local.lan>