Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

README.md

Fail2Ban Filter for Apache2 ModSecurity2

Note: This will only work if you have full access to your web server's /etc/fail2ban/ files.

How to use:

  • Install, enable, and configure ModSecurity2 to your web server.
  • Copy /filter.d/apache-security2.conf from this repository to /etc/fail2ban/filter.d/
  • Add a [apache-security2] section to the Jails section of your /etc/fail2ban/jail.local file...
	[apache-security2]
	port     = http,https
	logpath  = %(apache_error_log)s
	maxretry = 4
	enabled = true
  • Restart Fail2Ban: service fail2ban restart

Additional Notes:

More info: https://www.kazimer.com/update-fail2ban-apache-security-conf-filter-for-security2-module/

About

Fail2Ban filter for Apache2 ModSecurity2

Resources

License

Packages

No packages published