Browse Source

* update sample config

master
Alex 'AdUser' Z 9 years ago
parent
commit
1e7e4d7d5d
  1. 10
      docs/f2b.conf.sample

10
docs/f2b.conf.sample

@ -9,6 +9,12 @@ group = root
daemon = yes daemon = yes
[defaults] [defaults]
enabled = no
bantime = 3600
findtime = 300
maxretry = 5
source = files:/var/log/messages
; filter = preg:/etc/f2b/filters/$someservice.preg
backend = exec-ipset:banned backend = exec-ipset:banned
[filter:preg] [filter:preg]
@ -26,5 +32,5 @@ unban = /sbin/ipset -! del <ID> <IP>
timeout = 2 timeout = 2
[jail:ssh] [jail:ssh]
source = files:/var/log/*.log source = files:/var/log/auth.log
filter = preg:filters/ssh.preg filter = preg:/etc/f2b/filters/ssh.preg

Loading…
Cancel
Save