Write failed login attempts on the management interface to the syslog to allow fail2ban to ban repeat offenders

This commit is contained in:
Michael Kroes committed 2016-03-24 14:00:23 +01:00
1 parent 7d4d9915ec
commit 864bd988d8
3 files changed
+16 -17

No files matched your search

+1 -1
View File
@@ -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
+1 -1
View File
@@ -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 =