From ccc0aca6c324b84f21c90cb8ece47bb5cf2b4a28 Mon Sep 17 00:00:00 2001 From: Aleksandr Lebedev Date: Sat, 18 Apr 2026 22:40:13 +0200 Subject: [PATCH] fail2ban fix --- systems/x86_64-linux/stargate/services/fail2ban.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systems/x86_64-linux/stargate/services/fail2ban.nix b/systems/x86_64-linux/stargate/services/fail2ban.nix index d8f58cc..3f98006 100644 --- a/systems/x86_64-linux/stargate/services/fail2ban.nix +++ b/systems/x86_64-linux/stargate/services/fail2ban.nix @@ -8,7 +8,7 @@ "fail2ban/action.d/ntfy.local".text = pkgs.lib.mkDefault (pkgs.lib.mkAfter '' [Definition] norestored = true # Needed to avoid receiving a new notification after every restart - actionban = ${pkgs.coreutils}/bin/echo " has been banned: jail has banned from accessing $(hostname) after attempts of hacking the system." | /run/wrappers/bin/sendmail -i fail2ban@localhost.com + #actionban = ${pkgs.coreutils}/bin/echo " has been banned: jail has banned from accessing $(hostname) after attempts of hacking the system." | /run/wrappers/bin/sendmail -i fail2ban@localhost.com ''); # Defines a filter that detects URL probing by reading the Nginx access log "fail2ban/filter.d/nginx-url-probe.local".text = pkgs.lib.mkDefault (pkgs.lib.mkAfter ''