[Bug 280440] tcpwrappers no longer works with spawning processes in openssh-portable

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 28 Oct 2024 13:05:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280440

--- Comment #4 from mike@sentex.net ---
(In reply to Zsolt Udvari from comment #3)

Correct. With the latest it still does not work. 
If you do something simple like add 

ssh : ALL  : spawn /usr/local/bin/log-test.sh %a :  ALLOW


# cat /usr/local/bin/log-test.sh 
#!/bin/sh

set | /usr/bin/logger -t SPAWN


if you start the base version of sshd it works. From the ports, its never
called.

# pkg info openssh-portable | head
openssh-portable-9.9.p1,1
Name           : openssh-portable
Version        : 9.9.p1,1
Installed on   : Mon Oct 28 08:35:52 2024 EDT
Origin         : security/openssh-portable
Architecture   : FreeBSD:13:amd64
Prefix         : /usr/local
Categories     : security
Licenses       : OPENSSH
Maintainer     : bdrewery@FreeBSD.org


truss -f -p <pid of listening sshd>

-- 
You are receiving this mail because:
You are the assignee for the bug.