this post was submitted on 20 Feb 2025
105 points (97.3% liked)

Selfhosted

42730 readers
444 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] frankenswine 33 points 2 days ago (2 children)

happens to the best. if fail2ban were any more resiliently engineered it would have failed to start due to the error in the config file

[–] eager_eagle 31 points 2 days ago

This is such an underutilized and neglected behavior.

The very least a config parser should do is to log a warning.

[–] [email protected] 3 points 2 days ago* (last edited 2 days ago)

the amount of software I've used that lacks this type of system is aggravating. How hard is it to keep an object of property names, and if the name isn't in it then it errors.

this can be continued into command line as well. if flag -z doesn't exist, you shouldn't allow me to run a command with it. It's clear I am trying to do something (incorrectly) thinking -z is something it isn't, just error it and tell me that.