Add a "refuseconnection" penalty class to sshd_config
authordjm <djm@openbsd.org>
Sun, 15 Sep 2024 01:11:26 +0000 (01:11 +0000)
committerdjm <djm@openbsd.org>
Sun, 15 Sep 2024 01:11:26 +0000 (01:11 +0000)
commit4ad4d979befa76a8400438890fa82e99f8cc01ae
tree2b4e911947d455c0c9055e23f3d5b4c243f3635b
parentc45c7063014de0ed06f2cd637d5f4c089be5d708
Add a "refuseconnection" penalty class to sshd_config
PerSourcePenalties

This allows penalising connection sources that have had connections
dropped by the RefuseConnection option. ok markus@
usr.bin/ssh/servconf.c
usr.bin/ssh/servconf.h
usr.bin/ssh/srclimit.c
usr.bin/ssh/srclimit.h
usr.bin/ssh/sshd.c
usr.bin/ssh/sshd_config.5