mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-11-18 09:56:00 +01:00
Add fail2ban to management interface
This commit is contained in:
1 parent
65add24e2a
commit
7d4d9915ec
4 files changed
+45
-1
No files matched your search
@@ -24,6 +24,15 @@ filter = dovecotimap
|
||||
findtime = 30
|
||||
maxretry = 20
|
||||
|
||||
[management-daemon]
|
||||
enabled = true
|
||||
filter = miab-management-daemon
|
||||
port = http,https
|
||||
logpath = /var/log/mailinabox.log
|
||||
maxretry = 20
|
||||
findtime = 30
|
||||
|
||||
[recidive]
|
||||
enabled = true
|
||||
maxretry = 10
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
# Fail2Ban filter Mail-in-a-Box management daemon
|
||||
|
||||
[INCLUDES]
|
||||
|
||||
before = common.conf
|
||||
|
||||
[Definition]
|
||||
|
||||
_daemon = mailinabox
|
||||
|
||||
failregex = Failed login from ip <HOST>
|
||||
ignoreregex =
|
||||
Reference in new issue
Block a user