-
-
Notifications
You must be signed in to change notification settings - Fork 39
/
jail.local
30 lines (27 loc) · 794 Bytes
/
jail.local
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Refork version jail.local for oldstable fail2ban 0.8.13 Debian 8.1 "Jessie"
#
# Custom BlackList Jail Settings to add to your
# jail.local file at the end
# requires an action.d and filter.d conf file available at
# GitHub: https://github.com/mitchellkrogza/Fail2Ban-Blacklist-JAIL-for-Repeat-Offenders-with-Perma-Extended-Banning
#
[DEFAULT]
port = 0:65535
filter = %(__name__)s
[blacklist]
enabled = true
logpath = /var/log/fail2ban.*
filter = blacklist
banaction = blacklist
bantime = 31536000 ; 1 year
findtime = 31536000 ; 1 year
maxretry = 10
#
# bantime, findtime and maxretry can be modified
# to your liking
# make sure though that these values are set higher
# than your other jails
# log file location is wile-carded to ensure even .log.gz files
# are read by Fail2Ban
#
#