You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
476 B
25 lines
476 B
9 years ago
|
[main]
|
||
9 years ago
|
includes = /etc/f2b/conf-enabled
|
||
9 years ago
|
pidfile = /var/run/f2b.pid
|
||
|
logdest = syslog
|
||
9 years ago
|
loglevel = info
|
||
9 years ago
|
logfile = /var/log/f2b.log
|
||
9 years ago
|
user = root
|
||
|
group = root
|
||
|
daemon = yes
|
||
|
|
||
|
[defaults]
|
||
9 years ago
|
enabled = no
|
||
|
bantime = 3600
|
||
|
findtime = 300
|
||
9 years ago
|
incr_bantime = 0.0
|
||
|
incr_findtime = 0.0
|
||
9 years ago
|
maxretry = 5
|
||
|
source = files:/var/log/messages
|
||
|
; filter = preg:/etc/f2b/filters/$someservice.preg
|
||
|
backend = exec-ipset:banned
|
||
9 years ago
|
|
||
|
[jail:ssh]
|
||
9 years ago
|
source = files:/var/log/auth.log
|
||
|
filter = preg:/etc/f2b/filters/ssh.preg
|