~racb/ubuntu/precise/modsecurity-apache/988819_2

« back to all changes in this revision

Viewing changes to rules/optional_rules/modsecurity_crs_55_marketing.conf

  • Committer: Bazaar Package Importer
  • Author(s): Alberto Gonzalez Iniesta
  • Date: 2011-03-23 18:36:29 UTC
  • Revision ID: james.westby@ubuntu.com-20110323183629-8rwn0362sqqqqbgl
Tags: upstream-2.5.13
ImportĀ upstreamĀ versionĀ 2.5.13

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# ---------------------------------------------------------------
 
2
# Core ModSecurity Rule Set ver.2.0.10
 
3
# Copyright (C) 2006-2010 Trustwave All rights reserved.
 
4
#
 
5
# The ModSecurity Core Rule Set is distributed under GPL version 2
 
6
# Please see the enclosed LICENCE file for full details.
 
7
# ---------------------------------------------------------------
 
8
 
 
9
 
 
10
# These rules do not have a security importance, but shows other benefits of 
 
11
# monitoring and logging HTTP transactions.
 
12
# --
 
13
 
 
14
SecRule REQUEST_HEADERS:User-Agent "msn(?:bot|ptc)" \
 
15
        "phase:2,rev:'2.0.10',t:none,t:lowercase,block,msg:'MSN robot activity',id:'910008',severity:'6'"
 
16
 
 
17
SecRule REQUEST_HEADERS:User-Agent "\byahoo(?:-(?:mmcrawler|blogs)|! slurp)\b" \
 
18
        "phase:2,rev:'2.0.10',t:none,t:lowercase,block,msg:'Yahoo robot activity',id:'910007',severity:'6'"
 
19
 
 
20
SecRule REQUEST_HEADERS:User-Agent "(?:(?:gsa-crawler \(enterprise; s4-e9lj2b82fjjaa; me\@mycompany\.com|adsbot-google \(\+http:\/\/www\.google\.com\/adsbot\.html)\)|\b(?:google(?:-sitemaps|bot)|mediapartners-google)\b)" \
 
21
        "phase:2,rev:'2.0.10',t:none,t:lowercase,block,msg:'Google robot activity',id:'910006',severity:'6'"