-
How do i block aggressive bots querying my server endpoint /search?tag=... every other second?
Friendica Support6 10 0
How do i block aggressive bots querying my server endpoint /search?tag=... every other second? -
@pankraz
Maybe with the Add-on Blockbot -
-
@tux
Does that work with Bots purporting to be a normal Chrome Browser? -
@pankraz Could they be firewall blocked on the host?
-
-
@pankraz
Why not disable the search function for guests? You can find the relevant setting in the admin panel. -
@pankraz You could use fail2ban.
Idea: block any IP that calls/search?tag=more than 30 times a minute (that would be a query every 2 seconds) for 10 Minutes or so. -
@feb Wow, I didn't know there is an option for that.
-
@pankraz
This solves your problem without restricting the functionality for you as a user
Ciao! Sembra che tu sia interessato a questa conversazione, ma non hai ancora un account.
Stanco di dover scorrere gli stessi post a ogni visita? Quando registri un account, tornerai sempre esattamente dove eri rimasto e potrai scegliere di essere avvisato delle nuove risposte (tramite email o notifica push). Potrai anche salvare segnalibri e votare i post per mostrare il tuo apprezzamento agli altri membri della comunità.
Con il tuo contributo, questo post potrebbe essere ancora migliore 💗
Registrati Accedi
Citiverse è un progetto che si basa su NodeBB ed è federato! | Categorie federate | Chat | 📱 Installa web app o APK | 🧡 Donazioni | Privacy Policy










