Browse Source

* add config section

master
Alex 'AdUser' Z 4 years ago
parent
commit
79847e259d
  1. 9
      configs/f2b.conf.in

9
configs/f2b.conf.in

@ -23,6 +23,15 @@ banscore = 50
source = files:/var/log/messages source = files:/var/log/messages
backend = exec-ipset:banned backend = exec-ipset:banned
[csocket]
listen = unix:/var/run/f2b.sock
;listen = inet:localhost
;listen = inet:192.168.1.1
;listen = inet:[::1]:12345
; auth used only for 'inet' connections
; if password not set - it will be generated on each restart, see logs
;password = <something-long-enough>
[jail:ssh] [jail:ssh]
source = files:/var/log/auth.log source = files:/var/log/auth.log
filter = preg:${CMAKE_INSTALL_FULL_DATAROOTDIR}/f2b/filters/ssh.preg filter = preg:${CMAKE_INSTALL_FULL_DATAROOTDIR}/f2b/filters/ssh.preg

Loading…
Cancel
Save