~ubuntu-branches/ubuntu/vivid/fail2ban/vivid

« back to all changes in this revision

Viewing changes to config/filter.d/apache-modsecurity.conf

  • Committer: Package Import Robot
  • Author(s): Yaroslav Halchenko
  • Date: 2014-03-18 23:13:35 UTC
  • mfrom: (1.2.10)
  • Revision ID: package-import@ubuntu.com-20140318231335-zo2ibn1cfrhl6qzn
Tags: 0.8.13-1
* New upstream bug-fix release: but consider 0.9.0 (to be uploaded to
  experimental)
* debian/jail:
  - new jail definitions: apache-modsecurity, apache-nohome, freeswitch,
    ejabberd-auth, ssh-blocklist, nagios
  - new configuration option: ignorecommand
* debian/post{inst,rm},preinst:
  - [thanks to Daniel Schaal]: take care about renaming config files
    - firewall-cmd-direct-new.conf to firewallcmd-new.conf which happened
      in 0.8.11-29-g56b6bf7
    - lighttpd-fastcgi.conf to suhosin.conf and
      sasl.conf to postfix-sasl.conf in the past 0.8.11 release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Fail2Ban apache-modsec filter
 
2
#
 
3
 
 
4
[INCLUDES]
 
5
 
 
6
# Read common prefixes. If any customizations available -- read them from
 
7
# apache-common.local
 
8
before = apache-common.conf
 
9
 
 
10
[Definition]
 
11
 
 
12
 
 
13
failregex = ^%(_apache_error_client)s ModSecurity:  (\[.*?\] )*Access denied with code [45]\d\d.*$
 
14
 
 
15
ignoreregex = 
 
16
 
 
17
# https://github.com/SpiderLabs/ModSecurity/wiki/ModSecurity-2-Data-Formats
 
18
# Author: Daniel Black