summaryrefslogtreecommitdiff
path: root/security/openssh/files/patch-ar
diff options
context:
space:
mode:
Diffstat (limited to 'security/openssh/files/patch-ar')
-rw-r--r--security/openssh/files/patch-ar46
1 files changed, 46 insertions, 0 deletions
diff --git a/security/openssh/files/patch-ar b/security/openssh/files/patch-ar
new file mode 100644
index 000000000000..2795e96d082a
--- /dev/null
+++ b/security/openssh/files/patch-ar
@@ -0,0 +1,46 @@
+--- /usr/ports/distfiles/OpenSSH-1.2/src/usr.bin/ssh/sshd.8 Tue Nov 23 18:58:38 1999
++++ sshd.8 Sun Dec 5 22:59:58 1999
+@@ -220,6 +220,31 @@
+ should check for new mail for interactive logins.
+ The default is
+ .Dq no .
++.It Cm ConnectionsPerPeriod
++This keyword allows for rate-limiting of connections, and
++is followed by two numbers in the format
++.Dq n/s ,
++where
++.Ar n
++is the number of connections from a certain address group
++accepted per period of
++.Ar s
++seconds. Any connection after the number
++.Ar n
++connection in the period of
++.Ar s
++seconds will be dropped, and an informational message will be logged.
++A connection will belong to a certain group, of which there are 13
++by default, according to its IP address.
++The default for this keyword is
++.Dq 0/0 ,
++and rate-limiting can be explicitly turned off by using an
++.Ar n
++parameter of
++.Ql 0
++and any
++.Ar s
++parameter.
+ .It Cm DenyGroups
+ This keyword can be followed by a number of group names, separated
+ by spaces. Users whose primary group matches one of the patterns
+@@ -453,8 +478,9 @@
+ If the login is on a tty, records login time.
+ .It
+ Checks
+-.Pa /etc/nologin ;
+-if it exists, prints contents and quits
++.Pa /etc/nologin and
++.Pa /var/run/nologin ;
++if one exists, it prints the contents and quits
+ (unless root).
+ .It
+ Changes to run with normal user privileges.