1
0
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:
kri3v 2015-07-02 12:55:43 -03:00
parent e57e08088a
commit dd0bdef640

View File

@ -8,6 +8,12 @@ maxretry = 20
# JAILS # JAILS
[ssh]
enabled = true
maxretry = 7
findtime = 120
bantime = 3600
[ssh-ddos] [ssh-ddos]
enabled = true enabled = true