First of all I wish you a Merry Christmas and a Happy New Year. Ubuntu Server: 18.04 Apache: 2.4.29-1ubuntu4.20 Fail2ban: 0.10.2-2 As you can see in the attached document I have enabled the badbots configuration to block them through fail2ban, however it does not perform any blocking. I have reviewed several howtoforge articles that talk about the topic: https://www.howtoforge.com/community/threads/apache-badbots-fail2ban.60528/#post-291921 https://www.howtoforge.com/communit...oesnt-work-on-ubuntu-20-04.85454/#post-412679 Following the first article I did the test that florian030 suggests and that it should work but when I run it, it does not mark it. I also ran it with log records that it should mark at production level but it doesn't work. If I'm not wrong it's something in the regex or robots customs parameters. Maybe the blanks spaces without \? If anyone has an idea of what it might be, they would be grateful.