mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-09 08:15:13 +03:00
add rate limiting support
This commit is contained in:
19
sftpgo.json
19
sftpgo.json
@@ -19,12 +19,29 @@
|
||||
"threshold": 15,
|
||||
"score_invalid": 2,
|
||||
"score_valid": 1,
|
||||
"score_rate_exceeded": 3,
|
||||
"observation_time": 30,
|
||||
"entries_soft_limit": 100,
|
||||
"entries_hard_limit": 150,
|
||||
"safelist_file": "",
|
||||
"blocklist_file": ""
|
||||
}
|
||||
},
|
||||
"rate_limiters": [
|
||||
{
|
||||
"average": 0,
|
||||
"period": 1000,
|
||||
"burst": 1,
|
||||
"type": 2,
|
||||
"protocols": [
|
||||
"SSH",
|
||||
"FTP",
|
||||
"DAV"
|
||||
],
|
||||
"generate_defender_events": false,
|
||||
"entries_soft_limit": 100,
|
||||
"entries_hard_limit": 150
|
||||
}
|
||||
]
|
||||
},
|
||||
"sftpd": {
|
||||
"bindings": [
|
||||
|
||||
Reference in New Issue
Block a user