Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jul 2025 05:16:47 GMT
From:      Lexi Winter <ivy@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 42dd8f4add1f - stable/13 - inetd.conf: remove -[46] from the ssh entry
Message-ID:  <202507190516.56J5GltM028797@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by ivy:

URL: https://cgit.FreeBSD.org/src/commit/?id=42dd8f4add1f2b485f2f9b44685af34a1ef235a5

commit 42dd8f4add1f2b485f2f9b44685af34a1ef235a5
Author:     Lexi Winter <ivy@FreeBSD.org>
AuthorDate: 2025-07-15 04:44:38 +0000
Commit:     Lexi Winter <ivy@FreeBSD.org>
CommitDate: 2025-07-19 01:13:21 +0000

    inetd.conf: remove -[46] from the ssh entry
    
    sshd doesn't require these flags, and including them makes outgoing
    connections (e.g., port forwarding) restricted to the family of the
    inbound connection, which is not usually desirable and also not how
    standalone sshd works.
    
    MFC after:      3 days
    Reviewed by:    kevans
    Approved by:    kevans (mentor)
    Differential Revision:  https://reviews.freebsd.org/D51296
    
    (cherry picked from commit 6738882248a755aad859784150969085e006cf89)
---
 usr.sbin/inetd/inetd.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/usr.sbin/inetd/inetd.conf b/usr.sbin/inetd/inetd.conf
index 7fef6c8fea0d..5fd058e2f467 100644
--- a/usr.sbin/inetd/inetd.conf
+++ b/usr.sbin/inetd/inetd.conf
@@ -7,8 +7,8 @@
 #
 #ftp	stream	tcp	nowait	root	/usr/libexec/ftpd	ftpd -l
 #ftp	stream	tcp6	nowait	root	/usr/libexec/ftpd	ftpd -l
-#ssh	stream	tcp	nowait	root	/usr/sbin/sshd		sshd -i -4
-#ssh	stream	tcp6	nowait	root	/usr/sbin/sshd		sshd -i -6
+#ssh	stream	tcp	nowait	root	/usr/sbin/sshd		sshd -i
+#ssh	stream	tcp6	nowait	root	/usr/sbin/sshd		sshd -i
 #telnet	stream	tcp	nowait	root	/usr/libexec/telnetd	telnetd
 #telnet	stream	tcp6	nowait	root	/usr/libexec/telnetd	telnetd
 #shell	stream	tcp	nowait	root	/usr/local/sbin/rshd	rshd



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202507190516.56J5GltM028797>