b8bb5d
diff -up openssh-5.8p2/servconf.c.max-startups openssh-5.8p2/servconf.c
b8bb5d
--- openssh-5.8p2/servconf.c.max-startups	2013-02-08 16:54:23.003052391 +0100
b8bb5d
+++ openssh-5.8p2/servconf.c	2013-02-08 16:54:23.021052316 +0100
b8bb5d
@@ -262,11 +262,11 @@ fill_default_server_options(ServerOption
b8bb5d
 	if (options->gateway_ports == -1)
b8bb5d
 		options->gateway_ports = 0;
b8bb5d
 	if (options->max_startups == -1)
b8bb5d
-		options->max_startups = 10;
b8bb5d
+		options->max_startups = 100;
b8bb5d
 	if (options->max_startups_rate == -1)
b8bb5d
-		options->max_startups_rate = 100;		/* 100% */
b8bb5d
+		options->max_startups_rate = 30;		/* 30% */
b8bb5d
 	if (options->max_startups_begin == -1)
b8bb5d
-		options->max_startups_begin = options->max_startups;
b8bb5d
+		options->max_startups_begin = 10;
b8bb5d
 	if (options->max_authtries == -1)
b8bb5d
 		options->max_authtries = DEFAULT_AUTH_FAIL_MAX;
b8bb5d
 	if (options->max_sessions == -1)
b8bb5d
diff -up openssh-5.8p2/sshd_config.5.max-startups openssh-5.8p2/sshd_config.5
b8bb5d
--- openssh-5.8p2/sshd_config.5.max-startups	2013-02-08 16:54:23.004052387 +0100
b8bb5d
+++ openssh-5.8p2/sshd_config.5	2013-02-08 16:54:23.021052316 +0100
b8bb5d
@@ -778,7 +778,7 @@ SSH daemon.
b8bb5d
 Additional connections will be dropped until authentication succeeds or the
b8bb5d
 .Cm LoginGraceTime
b8bb5d
 expires for a connection.
b8bb5d
-The default is 10.
b8bb5d
+The default is 10:30:100.
b8bb5d
 .Pp
b8bb5d
 Alternatively, random early drop can be enabled by specifying
b8bb5d
 the three colon separated values
b8bb5d
diff -up openssh-5.8p2/sshd_config.max-startups openssh-5.8p2/sshd_config
b8bb5d
--- openssh-5.8p2/sshd_config.max-startups	2013-02-08 16:54:23.017052333 +0100
b8bb5d
+++ openssh-5.8p2/sshd_config	2013-02-08 16:54:23.021052316 +0100
b8bb5d
@@ -122,7 +122,7 @@ X11Forwarding yes
b8bb5d
 #ShowPatchLevel no
b8bb5d
 #UseDNS yes
b8bb5d
 #PidFile /var/run/sshd.pid
b8bb5d
-#MaxStartups 10
b8bb5d
+#MaxStartups 10:30:100
b8bb5d
 #PermitTunnel no
b8bb5d
 #ChrootDirectory none
b8bb5d