summaryrefslogtreecommitdiff
path: root/etc/fail2ban/sshd.local
diff options
context:
space:
mode:
authorDenis Chevalier <perso@denischevalier.fr>2026-08-06 13:32:38 +0200
committerDenis Chevalier <perso@denischevalier.fr>2026-08-06 13:32:38 +0200
commit257a7d8b05bf081ea338132012861cf4d196fee1 (patch)
tree062423c4691f1f3e2a99b172336a97185bae29ec /etc/fail2ban/sshd.local
parent66f65ef6bc5692071805a928213c776a44c81bf7 (diff)
downloadpostinstall-257a7d8b05bf081ea338132012861cf4d196fee1.tar.gz
postinstall-257a7d8b05bf081ea338132012861cf4d196fee1.tar.bz2
postinstall-257a7d8b05bf081ea338132012861cf4d196fee1.zip
fix fail2ban config
Diffstat (limited to 'etc/fail2ban/sshd.local')
-rw-r--r--etc/fail2ban/sshd.local19
1 files changed, 0 insertions, 19 deletions
diff --git a/etc/fail2ban/sshd.local b/etc/fail2ban/sshd.local
deleted file mode 100644
index 89f16ec..0000000
--- a/etc/fail2ban/sshd.local
+++ /dev/null
@@ -1,19 +0,0 @@
-[DEFAULT]
-# Use UFW to execute IP bans
-banaction = ufw
-
-# Read logs directly from systemd journal (required for Arch Linux)
-backend = systemd
-
-# Ignore local traffic
-ignoreip = 127.0.0.1/8 ::1 192.168.1.0/24
-
-# Ban parameters
-findtime = 10m
-maxretry = 4
-bantime = 1h
-
-[sshd]
-enabled = true
-port = 22
-mode = normal