aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-04-21 14:35:12 +0800
committerkris <kris@FreeBSD.org>2000-04-21 14:35:12 +0800
commit16c39bd26173c2f4dad6cbedf68319b3499675fc (patch)
tree133a682b3b09cf3a8f711b6da690d838c646cbb8 /security
parentc12136efe07d7c5db53de2efb00ebe67ab840e6c (diff)
downloadfreebsd-ports-gnome-16c39bd26173c2f4dad6cbedf68319b3499675fc.tar.gz
freebsd-ports-gnome-16c39bd26173c2f4dad6cbedf68319b3499675fc.tar.zst
freebsd-ports-gnome-16c39bd26173c2f4dad6cbedf68319b3499675fc.zip
Don't make sshd listen on two ports by default (!) - this "feature" was
silently added on 2000/01/14 as part of the IPv6 support. The default sshd config had sshd listening both on port 22 and port 722 (this was apparently intended to facilitate traffic-shaping in that different queueing priorities could be assigned to ssh sessions on the two ports). Combine two patches into one. Submitted by: peter
Diffstat (limited to 'security')
-rw-r--r--security/ssh/files/patch-ae20
1 files changed, 16 insertions, 4 deletions
diff --git a/security/ssh/files/patch-ae b/security/ssh/files/patch-ae
index 5db3b9c4e63b..0ef0a89ae6c2 100644
--- a/security/ssh/files/patch-ae
+++ b/security/ssh/files/patch-ae
@@ -1,7 +1,13 @@
-*** server_config.sample.orig Wed May 12 20:18:51 1999
---- server_config.sample Sun Jun 6 02:36:38 1999
+*** server_config.sample.old Thu Apr 20 23:24:57 2000
+--- server_config.sample Thu Apr 20 23:26:24 2000
***************
-*** 7,13 ****
+*** 1,13 ****
+ # This is ssh server systemwide configuration file.
+
+ Port 22
+! ListenAddress 0.0.0.0
+ HostKey _ETCDIR_/ssh_host_key
+ RandomSeed _ETCDIR_/ssh_random_seed
ServerKeyBits 768
LoginGraceTime 600
KeyRegenerationInterval 3600
@@ -9,7 +15,13 @@
IgnoreRhosts no
StrictModes yes
QuietMode no
---- 7,13 ----
+--- 1,13 ----
+ # This is ssh server systemwide configuration file.
+
+ Port 22
+! #Port 722 # Secondary port to listen on
+ HostKey _ETCDIR_/ssh_host_key
+ RandomSeed _ETCDIR_/ssh_random_seed
ServerKeyBits 768
LoginGraceTime 600
KeyRegenerationInterval 3600