Explorar el Código

remove fail2ban docs. Built-in defender should be used

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
Nicola Murino hace 1 año
padre
commit
9b8407aeb0
Se han modificado 3 ficheros con 0 adiciones y 28 borrados
  1. 0 3
      fail2ban/README.md
  2. 0 15
      fail2ban/filters/sftpgo.conf
  3. 0 10
      fail2ban/jails/sftpgo.conf

+ 0 - 3
fail2ban/README.md

@@ -1,3 +0,0 @@
-# Fail2ban
-
-:warning: We recommend using the [built-in defender](../docs/defender.md) instead of Fail2ban.

+ 0 - 15
fail2ban/filters/sftpgo.conf

@@ -1,15 +0,0 @@
-[INCLUDES]
-before = common.conf
-
-[DEFAULT]
-_daemon = sftpgo
-
-[Definition]
-
-# By default, first authenticate method is public_key and must be excluded from the filter to avoid false positives failed attempts
-failregex = ^.*"sender":"connection_failed","client_ip":"<HOST>","username":".*","login_type":"password".*"}$
-
-ignoreregex =
-
-[Init]
-journalmatch = _SYSTEMD_UNIT=sftpgo.service + _COMM=sftpgo

+ 0 - 10
fail2ban/jails/sftpgo.conf

@@ -1,10 +0,0 @@
-[sftpgo]
-enabled = true
-port = 2022
-filter = sftpgo
-action = iptables-allports[name=sftpgo]
-logpath = 
-backend = systemd
-maxretry = 5
-bantime = 600
-findtime = 86400