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 ''