This commit is contained in:
temasky
2020-07-31 12:45:56 +00:00
commit 5d419635ed
306 changed files with 26949 additions and 0 deletions
@@ -0,0 +1,10 @@
# - Store banned IP in SQL db while it's banned.
# - Remove banned IP from SQL db while it's unbanned.
[Definition]
actionstart =
actioncheck =
actionban = /usr/local/bin/fail2ban_banned_db ban <ip> <port> <protocol> <name> <ipjailfailures> <ipjailmatches>
actionunban = /usr/local/bin/fail2ban_banned_db unban <ip>
actionstop = /usr/local/bin/fail2ban_banned_db cleanup <name>