From 79847e259da5c4102e19940952ac7c20fb0c666c Mon Sep 17 00:00:00 2001 From: Alex 'AdUser' Z Date: Tue, 23 Mar 2021 17:03:07 +1000 Subject: [PATCH] * add config section --- configs/f2b.conf.in | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/configs/f2b.conf.in b/configs/f2b.conf.in index ea087ca..f2c7ea9 100644 --- a/configs/f2b.conf.in +++ b/configs/f2b.conf.in @@ -23,6 +23,15 @@ banscore = 50 source = files:/var/log/messages 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 = + [jail:ssh] source = files:/var/log/auth.log filter = preg:${CMAKE_INSTALL_FULL_DATAROOTDIR}/f2b/filters/ssh.preg