aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2025-07-15 05:44:38 +0100
committerLexi Winter <ivy@FreeBSD.org>2025-07-19 02:05:16 +0100
commita6693b09e297a08c4fc2ba73620e9438a9ff0847 (patch)
tree05ccfc91b47a3609d28be81d41b20fa331b61b09
parentecf88947ef74607c9885b7d01b6bb2cfdf959b02 (diff)
inetd.conf: remove -[46] from the ssh entrystable/14
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)
-rw-r--r--usr.sbin/inetd/inetd.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/inetd/inetd.conf b/usr.sbin/inetd/inetd.conf
index 14e5fec5d1bf..d9e0febda483 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/local/libexec/telnetd telnetd
#telnet stream tcp6 nowait root /usr/local/libexec/telnetd telnetd
#shell stream tcp nowait root /usr/local/sbin/rshd rshd