Created recidivist jail
This commit is contained in:
parent
b2fbb4d77a
commit
b1a0f20ee9
22
etc/fail2ban/jail.d/recidivist.conf
Normal file
22
etc/fail2ban/jail.d/recidivist.conf
Normal 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
|
Loading…
Reference in New Issue
Block a user