I just spent 2 hours trying to figure out why fail2ban didn’t increment the ban count.

--- a/fail2ban/etc/fail2ban/jail.local
+++ b/fail2ban/etc/fail2ban/jail.local
@@ -1,6 +1,6 @@
 [DEFAULT]

-bantime.incremet     = true
+bantime.increment    = true
 bantime.rndtime      =
 bantime.maxtime      =
 bantime.factor       = 1

After I found that I seriously considered becoming a goose farmer.

  • Lucy :3@feddit.org
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 days ago

    Also spent an hour wondering why it didn’t evalute -z “{CMD_OUT_ERROR” as true, despite manually running the script and echoing “‘${CMD_OUT_ERROR}’” evaluating to ‘’… well it’s the missing $.

    At least it’s time spent in working hours and being paid for the mess that they use as deployment for IdentityIQ written in kornshell.