Use Fail2ban for banning Bots ? Or Use Nginx for refusing Bots ?
First of all, does anyone know if F2B is only for other purposes than protecting authentication processes ? As far as I can know from reading, it can also ban some bots (see : BadBots filter). In that case, it would also be able to ban normal ‘bad’ traffic (from the bots) …
Question 1 : Is this the case ? So, F2B is not only used in context of authentication ?
Also, I read here : https://www.knthost.com/nginx/blocking-bots-nginx , that NGINX can be used to refuse bots.
Question 2 : which method would be preferable, in a sense of maintaining server speed and / or which method is better overall ?