mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 06:27:02 +03:00
Added Fail2ban instructions
This commit is contained in:
parent
07fd143853
commit
bc79a4f5b1
6 changed files with 63 additions and 0 deletions
8
fail2ban/filter.d/rainloop-fpm-journal.conf
Normal file
8
fail2ban/filter.d/rainloop-fpm-journal.conf
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[INCLUDES]
|
||||
before = common.conf
|
||||
[Definition]
|
||||
failregex = Auth failed: ip=<HOST> user=.*$
|
||||
ignoreregex =
|
||||
_daemon = php-fpm
|
||||
journalmatch = _SYSTEMD_UNIT=php-fpm.service SYSLOG_FACILITY=10
|
||||
#journalmatch = _SYSTEMD_UNIT=php-fpm.service SYSLOG_FACILITY=10 SYSLOG_IDENTIFIER=rainloop PRIORITY=3
|
||||
5
fail2ban/filter.d/rainloop-log.conf
Normal file
5
fail2ban/filter.d/rainloop-log.conf
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
[INCLUDES]
|
||||
#before = common.conf
|
||||
[Definition]
|
||||
failregex = Auth failed: ip=<HOST> user=.* host=.* port=.*$
|
||||
ignoreregex =
|
||||
Loading…
Add table
Add a link
Reference in a new issue