fail2ban stall #ai #fail2ban

In January I added a new jail to my fail2ban configuration: apache-aibots. It's a simple regular expression match of two AI crawlers that do not respect robots.txt. Because of course they don't.
This evening I noticed that there was a bunch of hits to my demo calendar website from these AI crawlers, and they weren't getting blocked. Oh no!
I haven't figured out why fail2ban started failing me - the log file did not reveal anything, and using fail2ban-regex accesslogsnippet /etc/fail2ban/filter.d/apache-aibots.conf reported that 99 of 100 lines matched, so the regular expression is still good.
fail2ban-client status apache-aibots reported 0 IPs in jail, and 517 total banned.
So I restarted the fail2ban service, and - as you can see on the graph above - quickly 135 IPs got banned - nice!
Still haven't figured out why it failed, though, but in the future I will look at the graph when I notice the increased number of log entries scrolling by.
@blog
are you saying that fail2ban failed by failing to ban?
- Ed W8EMV :city_ann_arbor: ๐๏ธ - 2026-05-07