diff options
author | dtucker@openbsd.org <dtucker@openbsd.org> | 2021-01-09 13:10:02 +0100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2021-01-11 05:04:12 +0100 |
commit | 3a923129534b007c2e24176a8655dec74eca9c46 (patch) | |
tree | 136b1a9d28ec9f1527e5a47401dc72a2e78d2eab /servconf.h | |
parent | upstream: Move address handling functions out into their own file (diff) | |
download | openssh-3a923129534b007c2e24176a8655dec74eca9c46.tar.xz openssh-3a923129534b007c2e24176a8655dec74eca9c46.zip |
upstream: Add PerSourceMaxStartups and PerSourceNetBlockSize
options which provide more fine grained MaxStartups limits. Man page help
jmc@, feedback & ok djm@
OpenBSD-Commit-ID: e2f68664e3d02c0895b35aa751c48a2af622047b
Diffstat (limited to 'servconf.h')
-rw-r--r-- | servconf.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/servconf.h b/servconf.h index a0efe20fc..e0c3ff60a 100644 --- a/servconf.h +++ b/servconf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: servconf.h,v 1.148 2020/10/29 03:13:06 djm Exp $ */ +/* $OpenBSD: servconf.h,v 1.149 2021/01/09 12:10:02 dtucker Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -177,6 +177,9 @@ typedef struct { int max_startups_begin; int max_startups_rate; int max_startups; + int per_source_max_startups; + int per_source_masklen_ipv4; + int per_source_masklen_ipv6; int max_authtries; int max_sessions; char *banner; /* SSH-2 banner message */ |