Submit your Linux news story here.

How to block bad bots accessing Apache/Nginx web server with Fail2ban software on Linux

Fail2Ban is an intrusion prevention software that protects Linux and Unix servers from brute-force attacks. Written in the Python programming language and released under GPLv2+. The software watches for selected log entries and running scripts based on them.

From the blog post:

There are bots which go around scanning the internet and send thousands of requests to web servers in hopes of finding vulnerabilities. This post discusses blocking such bots with Fail2ban. We assume that you are using Apache as a web server. However, these instructions can be easily adjusted for nginx or any other web server.

Comments on this entry are closed.