summaryrefslogtreecommitdiff
path: root/hosts/denpa/fail2ban
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2025-10-17 12:22:00 -0400
committerAndrew Opalach <andrew@akon.city> 2025-10-17 12:32:42 -0400
commit544da1ba50d9cbf51a18ca0abf1db66b3baa7460 (patch)
tree1caa87664ea4937c5f4e6e8dc83c49b3132ddd70 /hosts/denpa/fail2ban
parent85a47287e56ba9100420246531ebea5996cc0486 (diff)
downloaddotfiles-544da1ba50d9cbf51a18ca0abf1db66b3baa7460.tar.gz
dotfiles-544da1ba50d9cbf51a18ca0abf1db66b3baa7460.tar.bz2
dotfiles-544da1ba50d9cbf51a18ca0abf1db66b3baa7460.zip
Gentoo desktop
Diffstat (limited to 'hosts/denpa/fail2ban')
-rw-r--r--hosts/denpa/fail2ban/fail2ban.d/denpa.local2
-rw-r--r--hosts/denpa/fail2ban/jail.d/denpa.local38
2 files changed, 0 insertions, 40 deletions
diff --git a/hosts/denpa/fail2ban/fail2ban.d/denpa.local b/hosts/denpa/fail2ban/fail2ban.d/denpa.local
deleted file mode 100644
index b3d98c4..0000000
--- a/hosts/denpa/fail2ban/fail2ban.d/denpa.local
+++ /dev/null
@@ -1,2 +0,0 @@
-[DEFAULT]
-allowipv6 = true
diff --git a/hosts/denpa/fail2ban/jail.d/denpa.local b/hosts/denpa/fail2ban/jail.d/denpa.local
deleted file mode 100644
index 70973fe..0000000
--- a/hosts/denpa/fail2ban/jail.d/denpa.local
+++ /dev/null
@@ -1,38 +0,0 @@
-[DEFAULT]
-maxretry = 4
-findtime = 60m
-bantime = 24h
-backend = systemd
-logtarget = SYSTEMD-JOURNAL
-banaction = nftables-multiport
-banaction_allports = nftables-allports
-#mta = sendmail
-#destemail = mark@akon.city
-#action = %(action_)s
-# %(mta)s-whois-matches[sender="%(sender)s", dest="%(destemail)s", chain="%(chain)s"]
-
-[postfix]
-enabled = true
-mode = aggressive
-journalmatch=_SYSTEMD_UNIT=postfix@-.service
-
-[postfix-sasl]
-enabled = true
-journalmatch=_SYSTEMD_UNIT=postfix@-.service
-
-[sieve]
-enabled = true
-journalmatch=_SYSTEMD_UNIT=dovecot.service
-
-[dovecot]
-enabled = true
-journalmatch=_SYSTEMD_UNIT=dovecot.service
-
-[nginx-limit-req]
-enabled = true
-journalmatch=_SYSTEMD_UNIT=nginx.service
-
-[sshd]
-enabled = true
-mode = aggressive
-journalmatch=_SYSTEMD_UNIT=ssh.service