From 20cb29c2f8c5c87bc590896854a20b1473ceb358 Mon Sep 17 00:00:00 2001 From: "info@mode42.com" Date: Sat, 8 Aug 2026 03:54:55 +0000 Subject: #2 --- share/fail2ban/jail.d/hybbx.local.example | 45 +++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 share/fail2ban/jail.d/hybbx.local.example (limited to 'share/fail2ban/jail.d/hybbx.local.example') diff --git a/share/fail2ban/jail.d/hybbx.local.example b/share/fail2ban/jail.d/hybbx.local.example new file mode 100644 index 0000000..3d91296 --- /dev/null +++ b/share/fail2ban/jail.d/hybbx.local.example @@ -0,0 +1,45 @@ +# Example fail2ban jails for HyBBX security.log +# +# HyBBX v2.0.0+ includes built-in [security] bans — these filters are optional +# for site-wide iptables/nftables integration alongside the daemon. +# +# 1. Copy filter.d/*.conf to /etc/fail2ban/filter.d/ +# 2. Copy this file to /etc/fail2ban/jail.d/hybbx.local +# 3. Set logpath to your HyBBX logs directory ([log] dir in hybbx.ini) +# 4. sudo fail2ban-client reload + +[hybbx-telnet] +enabled = true +filter = hybbx-telnet +port = 2323 +logpath = /usr/local/hybbx/logs/security.log +maxretry = 5 +findtime = 600 +bantime = 600 + +[hybbx-circuit] +enabled = true +filter = hybbx-circuit +port = 7323 +logpath = /usr/local/hybbx/logs/security.log +maxretry = 5 +findtime = 600 +bantime = 600 + +[hybbx-ssh] +enabled = false +filter = hybbx-ssh +port = 3232 +logpath = /usr/local/hybbx/logs/security.log +maxretry = 5 +findtime = 600 +bantime = 600 + +[hybbx-websocket] +enabled = false +filter = hybbx-websocket +port = 4591 +logpath = /usr/local/hybbx/logs/security.log +maxretry = 5 +findtime = 600 +bantime = 600 -- cgit v1.3.1