Created recidivist jail

This commit is contained in:
Asif Bacchus 2018-09-30 01:17:05 -06:00
parent b2fbb4d77a
commit b1a0f20ee9

View File

@ -0,0 +1,22 @@
[recidivist]
# Ensure this system isn't blocked by accident
ignoreip = 127.0.0.1/8 ::1
# Check *Fail2Ban log* for repeat offenders (change this if you're log is stored
# elsewhere)
logpath = /var/log/fail2ban.log
# Timeframes (remember we are checking for systems that have already been banned
# 'maxretry' times within 'findtime')
maxretry = 3
findtime = 86400
# Levy a long 'bantime' on the multiple offender system (Suggest: min 3 days)
bantime = 259200
# Use the 'recidive' built-in filter
filter = recidive[_jailname="recidivist"]
# Enable the jail
enabled = true