Added Fail2ban instructions

This commit is contained in:
djmaze 2020-07-29 11:29:59 +02:00
parent 07fd143853
commit bc79a4f5b1
6 changed files with 63 additions and 0 deletions

View 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

View file

@ -0,0 +1,5 @@
[INCLUDES]
#before = common.conf
[Definition]
failregex = Auth failed: ip=<HOST> user=.* host=.* port=.*$
ignoreregex =