allow to limit the number of per-host connections

This commit is contained in:
Nicola Murino
2021-05-08 19:45:21 +02:00
parent 8f736da4b8
commit 8f6cdacd00
21 changed files with 356 additions and 105 deletions

View File

@@ -12,6 +12,7 @@
"startup_hook": "",
"post_connect_hook": "",
"max_total_connections": 0,
"max_per_host_connections": 20,
"defender": {
"enabled": false,
"ban_time": 30,
@@ -19,7 +20,7 @@
"threshold": 15,
"score_invalid": 2,
"score_valid": 1,
"score_rate_exceeded": 3,
"score_limit_exceeded": 3,
"observation_time": 30,
"entries_soft_limit": 100,
"entries_hard_limit": 150,