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.

  • frankenswine@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    1
    ·
    edit-2
    2 days ago

    know the feel. even funkier with ssh/scp and the like with every other tool using a different case argument for the same

    that’s how we learn and grow, i guess 🤷

    • poweruser@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      3
      ·
      12 hours ago

      I came to the comments to mention that exact experience. There must be historical reasons that SCP uses -P and SSH uses -p but I certainly didn’t expect it since they’re both from the same package (openssh)

    • nick
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      Oh yeah, you can be damn sure I’ll never make that mistake again.