ITSec-Chile / Waf2Py

Waf2Py is a nice and easy to use web interface for modsecurity v3 with nginx connector. Waf2Py is free and powered by Web2Py that controls modsecurity and nginx configuration in an easy way, allowing you to configure protection for any web application in just minutes.
Other
51 stars 17 forks source link

Fail2ban #14

Closed tai5555 closed 2 years ago

tai5555 commented 2 years ago

Hi ! I have a query does it provide support to integrate utility like fail2ban (https://www.fail2ban.org/wiki/index.php/Main_Page). Alternatively how I can ban an ip via it? Please guide me. Thank you!

ch-rigu commented 2 years ago

Hi!, at the moment fail2ban is not integrated. I'm going to integrate it in a newer version, but it will take some time because WAF2PY will be re-written in a new framework (more fast and light). You can configure fail2ban to watch nginx logs and ban attackers. But I don't have a receipt for this, maybe this guide you or give you an idea of how to: https://snippets.aktagon.com/snippets/554-how-to-secure-an-nginx-server-with-fail2ban

cheers.