#Fail2ban

aaron ~# :blinkingcursor:neuroexception@infosec.exchange
2025-06-15

This is just beautiful. The project uses #MariaDB to store all the collected data. It makes heavy use of #API endpoints which will be a top priority not only for the internal workings. My focus mostly lies in making this as flexible as possible so people can configure it exactly as they need it. Configuration will be in #yaml.

What i got so far is:

  • packet capturing (from client, sent to the control server)
  • a webhook (which will be a drop-in replacement for #Discord's since a lot of services support sending logs to discord webhooks)

What's planned:

  • Log file monitoring (like #Fail2Ban, but more advanced and easier to configure)
  • A fully featured dashboard which visualizes the data and gives you control and a transparent overview of your network activity.
  • IP banning (multiple ways to make it flexible)
  • Maybe even some advanced responses (like reporting all ports as open for nmap scans)

I would be very interested to know what you think. Ideas, criticism and questions are very welcome. As soon as the base is working, i will push it to #Github.

#developement #coding #sideproject #homelab #security #networking #monitoring #xdr

A screenshot of a database containing IP addresses and some geolocation data.A screenshot of a dashboard showing a list of IP addresses with a flag of their country left to it.
aaron ~# :blinkingcursor:neuroexception@infosec.exchange
2025-06-14

I've already done a webhook similar to #discord's and will also implement #logfile #monitoring to replace #Fail2Ban.

On average, my primary public-facing reverse proxy has around 1,200 banned IPs (via fail2ban.)

#fail2ban #cybersecurity #security

aaron ~# :blinkingcursor:neuroexception@infosec.exchange
2025-06-10

God damn i never liked notifications until now.

#fail2ban #security #ip #ban #automation #sysadmin #linux #abuseipdb

A screenshot of an IP ban notification to a discord webhook showing detailed informations about the geolocation and reports of the IP.
aaron ~# :blinkingcursor:neuroexception@infosec.exchange
2025-06-10

I finally finished my #Fail2Ban setup and am quite happy with the result. I've got #discord and #email notifications, global IP banning (on all servers) and automatic reporting to #abuseipdb based on multiple factors. This is awesome.

I'm so happy that i took the time to set up #Authelia as it's a breeze to #protect a single #endpoint and cover 70-80% of all services.

#homelab #selfhosting #linux #security #sso #oidc #OpenIDConnect

aaron ~# :blinkingcursor:neuroexception@infosec.exchange
2025-06-07

I came across the #Fail2Ban #docker image from #linuxserverio and thought to myself that it's finally time to set up Fail2Ban. I admit i never used it before and it was a bit difficult to add it to my #playbook as all of my #servers have different services and therefore different #logfile paths, but that's nothing #jinja #templating can't fix.

Now that i've got #Discord notifications for banned #IPs, it's time to work on actual #IPblocking. I also want to use the #IPComplaint and #AbuseIPDB actions as i really like the idea of reporting abuse (even though i have no idea how effective that may be).

I may also want to replace the discord #webhook with #email notifications later as that's mostly the reason i've set up a #mailserver ( #stalwart ) in the first place.

I mean, most of my services are only accessible from #tailscale or my #homenetwork, but since #Ansible makes it so much easier to apply higher standards, i just can't resist. My #homelab is changing every day and i think setting up additional #security, even though i don't need it yet, is never a bad idea.

#networking #badactors #firewall #automation #linux #selfhosting #homeserver

2025-06-06

Anyone out there have experience writing custom filters for fail2ban? I trying to write my first one for Apache on AlmaLinux 8 and running into problems. I’m not sure if the problem is the regex or the fact that I’m trying to scan multiple log files using wildcards in the logpath. I would be happy to pay for a few hours of consulting time. #SysAdmin #fail2ban

2025-06-06

Thanks to #sourcehut support, who suggested I might have a #fail2ban rule blocking their server and indeed I had. I had such tunnel vision from the blocklist it never occured to me to check...

2025-06-05

#reaction 's v2.0.0 is published!
In the article: #rust rewrite, #nlnet grant and roadmap for upcoming months.

reaction is a software which aims to replace #fail2ban on UNIX servers, while being faster, more flexible, an ncier to configure.

blog.ppom.me/en-reaction-v2

Many thanks to @nlnet for their support!

2025-06-05

La v2.0.0 de #reaction est publiée !
Au programme : réécriture en #rust, subvention de #nlnet, et roadmap pour les mois à venir.

reaction est un logiciel qui vise à remplacer #fail2ban sur les serveurs UNIX, en étant plus rapide, plus flexible, et plus agréable à configurer.

blog.ppom.me/fr-reaction-v2

Simon Skoczylasgiftkugel@ruhr.social
2025-06-04

More UI improvements

Added possibility to sort the banned entries

github.com/webishdev/fail2ban-

#fail2ban #security #golang #docker #podman #container

Carl O.S. ©carloshr@lile.cl
2025-06-02

Hace algunos días habilité fail2ban en un servidor que tengo en la nube. Hoy revisé los logs y me parece realmente impresionante la cantidad de intentos de login que hay.

#fail2ban #Linux

eternaltyroeternaltyro
2025-05-30

@osm_tech please also integrate or similar to frustrate AI scrapers. I too would like to read the cause and remediation in detail with rationae for if you can.

OpenStreetMap Ops Teamosm_tech@en.osm.town
2025-05-29

Fixed. The #OSM wiki.openstreetmap.org is back up to speed. We've been able to mitigate the bot traffic. #fail2ban

Simon Skoczylasgiftkugel@ruhr.social
2025-05-29

Improved the UI a bit 😃

Now with flags 😅 ☺️

github.com/webishdev/fail2ban-

#fail2ban #dashboard #golang #security

OpenStreetMap Ops Teamosm_tech@en.osm.town
2025-05-29

Unfortunately the #OpenStreetMap wiki is very slow today. We are fighting an aggressive web scraper bot. 10,000 of IPs involved. Randomised User-Agent. Ignoring robots.txt #aibot #ddos

Update: Fixed. We've been able to mitigate the bot traffic. #fail2ban

Jakke LehtonenJagster@www.eksis.one
2025-05-28

Oletushostin piilottaminen maailmalta Ngxillä

Logeissa näkyy usein tämän kaltaista roskaa: 167.94.138.189 - - [28/May/2025:13:31:24 +0300] "GET /favicon.ico HTTP/1.1" 404 146 "-" "Mozilla/5.0 (compatible; CensysInspect/1.1; +https://about.censys.io/)" Toinen paljon kolkuteltu on GET ”/.env”, juuri, favicon tai robots.txt. Jos harrastaa suodatusta user-agentin perusteella, niin nuo eivät jää koskaan kiinni. Syy on se, että oletus-hostia ei ole määritelty, jolloin Nginx lähettää kaikki pyynnöt konffattujen domainien […]

eksis.one/palvelimet/oletushos

2025-05-27

Das schöne ist, wenn fail2ban funktioniert. Das schlechte daran: Wenn fail2ban funktioniert.

Dicke Wurstfinger und Passworteingabe vor dem dritten Kaffee...

#ausgesperrt #fail2ban #linux #opensource #security

Comunitatea Linux Româniaclr@comunitatealinux.ro
2025-05-26

Cum să preveniți atacurile Brute-Force folosind Fail2ban

SSH și FTP sunt două dintre cele mai exploatate protocoale de rețea. Hackerii utilizează instrumente automate complexe pentru a ghici numele de utilizator și parola și apoi pătrund în sistemul dumneavoastră. Cu ajutorul unor bune practici de securitate, puteți reduce majoritatea riscurilor de securitate. Iar cu Fail2ban, puteți reduce și mai mult riscul de încălcare a securității, fiind proactivi în securizarea serverelor sau a calculatoarelor. Ce este Fail2ban? Fail2ban […]

comunitatealinux.ro/cum-sa-pre

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst