Rev 5 | Blame | Compare with Previous | Last modification | View Log | RSS feed
# Fail2Ban apache-modsec filter#[INCLUDES]# Read common prefixes. If any customizations available -- read them from# apache-common.localbefore = apache-common.conf[Definition]failregex = ^%(_apache_error_client)s ModSecurity:\s+(?:\[(?:\w+ \"[^\"]*\"|[^\]]*)\]\s*)*Access denied with code [45]\d\dignoreregex =# https://github.com/SpiderLabs/ModSecurity/wiki/ModSecurity-2-Data-Formats# Author: Daniel Black# Sergey G. Brester aka sebres (review, optimization)