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
1 changed files with 6 additions and 0 deletions

View File

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