Last active
August 29, 2015 14:15
-
-
Save thiagotalma/9a25e91a384861376b00 to your computer and use it in GitHub Desktop.
fail2ban filters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Fail2Ban Configuration File | |
# | |
# web-zerokiddies.conf | |
# | |
# Author: Thiago Talma | |
# Revision: 2015-02-13 | |
[Definition] | |
badurls = admin|fck|sql|webdb|wp-login\.php|soap|manager|setup|pma|status|readme|dl-skin|download\.php|info\.php|\.\.\/|changelog\.txt | |
failregex = ^(?i)(.*:\d+ )?<HOST> .* "(GET|POST|HEAD) .*(%(badurls)s).* HTTP.*" (403|404) .*$ | |
^(?i)(.*:\d+ )?<HOST> .* "(GET|POST|HEAD) / HTTP.*" (403|404) .*$ | |
ignoreregex = | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment