Enhance apache-scan filters

tags/0.0.1
Daniel Berteaud 12 years ago
parent cb73eb7a4b
commit eb22e2eb6b
  1. 10
      root/etc/fail2ban/filter.d/apache-scan.conf

@ -1,9 +1,11 @@
[Definition] [Definition]
re_pma = pma|PMA|phpmyadmin|phpMyAdmin|myadmin|mysql|mysqladmin|sqladmin|mypma|xampp|mysqldb|mydb|db|pmadb|phpmyadmin1|myadmin2|php\-my\-admin|sqlmanager|websql|sqlweb|MyAdmin|phpadmin|sql|pma2005|databaseadmin|phpmanager re_pma = (admin|administrator|database|db|sql|typo3|xampp\/)?(pma|PMA|phpmyadmin|phpMyAdmin(\-?[\d\.\-]+((rc|pl|beta)\d+)?)?|myadmin|mysql|mysqladmin|sqladmin|mypma|xampp|mysqldb|mydb|db|pmadb|phpmyadmin1|myadmin2|php\-my\-admin|sqlmanager|websql|sqlweb|MyAdmin|phpadmin|sql|pma2005|databaseadmin|phpmanager)(\/main\.php|setup\.php|read_dump\.php|read_dump\.phpmain\.php)?
re_admin = administrator|manager|webadmin|ecrire|admin|mailadmin re_admin = administrator|manager|webadmin|ecrire|admin|mailadmin|setup\.php
re_proxy = freenode-proxy-checker\.txt|proxy|proxychecker re_proxy = freenode-proxy-checker\.txt|proxy|proxychecker|proxyheader\.php
re_various = vtigercrm|typo3|scripts|wp\-admin|wordpress|horde re_various = vtigercrm|typo3|scripts|wp\-admin|wp\-login\.php|wordpress|horde(\d+)?|w00tw00t\.*
failregex = \[client <HOST>\] File does not exist: .*\/(%(re_pma)s|%(re_admin)s|%(re_proxy)s|%(re_various)s)$ failregex = \[client <HOST>\] File does not exist: .*\/(%(re_pma)s|%(re_admin)s|%(re_proxy)s|%(re_various)s)$
\[client <HOST>\] client denied by server configuration: .*\/(%(re_admin)s|%(re_proxy)s)$
\[client <HOST>\] client sent HTTP/1.1 request without hostname \(see RFC2616 section 14.23\):
ignoreregex = ignoreregex =

Loading…
Cancel
Save