diff options
author | dtucker@openbsd.org <dtucker@openbsd.org> | 2021-01-09 12:10:02 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2021-01-11 15:04:12 +1100 |
commit | 3a923129534b007c2e24176a8655dec74eca9c46 (patch) | |
tree | 136b1a9d28ec9f1527e5a47401dc72a2e78d2eab /servconf.h | |
parent | d9a2bc71693ea27461a78110005d5a2d8b0c6a50 (diff) |
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
@@ -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 */ |