libredtail
Friday, May 15, 2026 at 17:12:20
Getting scanned on one of the system by libredtail-http. So I’m blocking it on that server.
I tried adding this to apache2.conf, didn’t work:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond "%{HTTP_USER_AGENT}" "libredtail-http" [NC]
RewriteRule ^ - [F,L]
</IfModule>
So i tried moving it within the file, I tried adding the same thing to global-redtailban.conf in apache2/conf-available and running a2enconf global-redtailban, also didn’t work.
So I finally found something that said to add this to the apache2.conf file (replacing BadBot with the one I want to ban):
<If "%{HTTP_USER_AGENT} == 'BadBot'">
Require all denied
</If>
That seems to have done the trick.