mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-22 02:17:26 +00:00
Added more bantime and lowered max retry attempts
Ban time was too low for preventing ssh brute force attacks, this change also allows to keep the auth.log more clean and avoid wasting cpu and i/o on this. Bots eventually will flag your IP as secure and move along.
This commit is contained in:
parent
e57e08088a
commit
dd0bdef640
@ -8,6 +8,12 @@ maxretry = 20
|
||||
|
||||
# JAILS
|
||||
|
||||
[ssh]
|
||||
enabled = true
|
||||
maxretry = 7
|
||||
findtime = 120
|
||||
bantime = 3600
|
||||
|
||||
[ssh-ddos]
|
||||
enabled = true
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user