mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-11-18 09:56:00 +01:00
Write failed login attempts on the management interface to the syslog to allow fail2ban to ban repeat offenders
This commit is contained in:
1 parent
7d4d9915ec
commit
864bd988d8
3 files changed
+16
-17
No files matched your search
@@ -28,7 +28,7 @@ maxretry = 20
|
||||
enabled = true
|
||||
filter = miab-management-daemon
|
||||
port = http,https
|
||||
logpath = /var/log/mailinabox.log
|
||||
logpath = /var/log/syslog
|
||||
maxretry = 20
|
||||
findtime = 30
|
||||
|
||||
|
||||
@@ -8,5 +8,5 @@ before = common.conf
|
||||
|
||||
_daemon = mailinabox
|
||||
|
||||
failregex = Failed login from ip <HOST>
|
||||
failregex = MIAB: Failed login attempt from ip <HOST> - timestamp .*
|
||||
ignoreregex =
|
||||
Reference in new issue
Block a user