Prva inacica paketa za Debian jessie distribuciju.
[mod-security-cn.git] / rbl_lookup.conf
1 ## Begin - Generated by CARNet package mod-security-cn
2 #
3 #  REMOVE this whole block if you DON'T WANT mod-security-cn
4 #  to edit your configuration file.
5 #
6 ## End - Generated by CARNet package mod-security-cn
7
8 <IfModule security2_module>
9
10         # Skip RBL lookup for localhost, 161.53.0.0/16, 193.198.0.0/16,
11         # 192.84.91.0/24, 192.84.92.0/24, 192.84.105.0/24, 192.84.106.0/24,
12         # 31.147.0.0/16, 82.132.0.0/17 and 2001:b68::/32.
13         SecRule REMOTE_ADDR "!@rx ^(\:\:1|127\.0\.0\.1|161\.53\.\d{1,3}\.\d{1,3}|193\.198\.\d{1,3}\.\d{1,3}|192\.84\.(91|92|105|106)\.\d{1,3}|31\.147\.\d{1,3}\.\d{1,3}|82\.132\.(\d{1,2}|10\d{1}|11\d{1}|12[0-7]{1})\.\d{1,3}|2001\:b68\:.+)$" "phase:1,deny,log,id:99999,status:500,t:none,msg:'RBL: xbl.dnsbl-sh.carnet.hr',severity:CRITICAL,chain"
14
15         # RBL lookup using xbl.dnsbl-sh.carnet.hr
16         SecRule REMOTE_ADDR "@rbl xbl.dnsbl-sh.carnet.hr"
17
18 </IfModule>