blob: 3d91296e18365cc15ffe1d89a04e3c4e6a56508b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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
|