Hallo Freunde,
im Blog einer Freundin (bikinisandpassports.com) setze ich AntiSpam Bee von Sergej ein um Spam zu verhindern.
In Verbindung mit
- dem Umbenennen der wp-trackback.php
- und dem Plugin Simple Trackback Validation
- und reCaptcha bei den Kommentaren
und diesen Einträgen in der .htaccess
Apache Configuration
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
RewriteRule ^wp-trackback\.php.*$ - [F,L]
RewriteCond %{REQUEST_METHOD} POST
RewriteCond %{REQUEST_URI} .wp-comments-post\.php*
RewriteCond %{HTTP_REFERER} !.*bikinisandpassports.com.* [OR]
RewriteCond %{HTTP_USER_AGENT} ^$
RewriteRule (.*) http://%{REMOTE_ADDR}/$ [R=301,L]
</IfModule>
# 2011 IP BLACKLIST
<Limit GET POST PUT>
Order Allow,Deny
Allow from all
Deny from 208.120.202.98
Deny from 208.64.202.134
Deny from 217.218.166.14
Deny from 173.65.81.35
Deny from 77.21.46.241
Deny from 82.166.163.
Deny from 85.175.209.175
Deny from 212.107.136.66
Deny from 76.70.116.52
Deny from 70.106.192.200
Deny from 213.98.214.17
Deny from 114.58.253.56
Deny from 70.27.145.208
Deny from 208.99.193.10
Deny from 58.243.5.216
Deny from 146.115.72.39
Deny from 219.136.130.241
Deny from 65.208.151.
Deny from 222.73.173.11
Deny from 65.55.106.
Deny from 72.206.102.189
Deny from 99.159.41.74
Deny from 188.40.42.199
Deny from 195.10.218.132
Deny from 69.116.41.121
Deny from 84.220.96.39
Deny from 85.137.90.133
Deny from 85.137.83.160
Deny from 91.144.190.35
Deny from 83.233.165.88
Deny from 86.35.12.14
Deny from 24.182.45.28
Deny from 97.74.24.41
Deny from 24.182.45.26
Deny from 211.206.123.177
Deny from 213.215.116.99
Deny from 188.40.89.203
Deny from 65.55.207.
Deny from 71.95.178.74
Deny from 98.189.159.150
Deny from 174.143.3.188
Deny from 66.96.248.69
Deny from 71.235.77.152
Deny from 67.36.185.44
Deny from 65.242.250.130
Deny from 194.8.75.
Deny from 188.26.51.239
Deny from 118.208.240.173
Deny from 24.43.155.122
Deny from 91.149.157.136
Deny from 88.0.172.95
Deny from 66.82.9.92
Deny from 66.63.167.50
Deny from 208.99
Deny from 64.219.110.207
Deny from 98.189.159.153
Deny from 174.127.132.10
Deny from 67.185.43.239
Deny from 83.246.164.78
Deny from 213.227.252.26
Deny from 91.213.121.24
Deny from 96.243.186.28
Deny from 67.142.164.34
Deny from 173.58.132.100
Deny from 59.160.160.9
Deny from 67.225.242.171
Deny from 71.34.43.102
Deny from 67.205.45.142
Deny from 77.49.61.248
Deny from 79.174.64.184
Deny from 207.241.228.162
Deny from 204.12.192.135
Deny from 218.24.170.133
Deny from 200.90.216.146
Deny from 86.18.88.15
Deny from 212.225.185.11
Deny from 76.115.45.61
Deny from 213.37.57.113
Deny from 192.117.105.105
Deny from 69.45.51.98
Deny from 72.193.217.97
Deny from 115.133.252.31
Deny from 117.196.229.254
Deny from 117.196.234.101
Deny from 117.196.236.41
Deny from 77.49.57.214
Deny from 71.95.178.68
Deny from 92.233.3.91
Deny from 76.25.146.62
Deny from 66.25.140.85
Deny from 79.103.230.53
Deny from 76.65.178.130
Deny from 41.129.5.121
Deny from 84.40.30.37
Deny from 110.45.143.142
Deny from 66.221.63.33
Deny from 121.254.228.146
Deny from 222.236.47.182
Deny from 118.129.170.49
Deny from 88.191.94.188
Deny from 62.141.56.136
Deny from 174.120.219.160
Deny from 67.222.152.66
Deny from 92.240.42.10
Deny from 174.142.75.205
Deny from 91.142.208.158
Deny from 64.22.96.66
Deny from 78.86.185.224
Deny from 91.205.96.19
Deny from 202.70.54.115
Deny from 213.167.96.196
Deny from 195.117.223.98
Deny from 85.17.211.164
Deny from 213.93.38.160
Deny from 65.55.3.211
Deny from 72.229.57.27
Deny from 77.93.2.81
Deny from 77.221.130.18
Deny from 91.205.96.13
Deny from 94.75.229.132
Deny from 95.108.157.252
Deny from 99.22.93.95
Deny from 173.193.219.168
Deny from 174.133.177.66
Deny from 178.234.154.230
Deny from 178.33.3.23
Deny from 190.174.198.86
Deny from 203.89.212.187
Deny from 207.241.228.166
Deny from 213.55.76.224
Deny from 216.171.98.77
Deny from 211.43.152
Deny from 77.249.112.76
Deny from 184.82.116.32
Deny from 98.250.121.142
Deny from 173.32.82.33
Deny from 79.34.126.22
Deny from 64.89.16.58
Deny from 222.124.202.167
Deny from 94.136.63.119
Deny from 67.192.123.214
Deny from 91.185.193.111
Deny from 193.239.187.186
Deny from 85.17.90.143
Deny from 72.52.204.157
Deny from 67.143.34.65
Deny from 121.218.199.114
Deny from 222.124.202.167
Deny from 64.34.195.152
Deny from 74.56.41.82
Deny from 184.73.140.81
Deny from 67.222.143.120
Deny from 90.209.15.216
Deny from 66.249.72.90
Deny from 92.206.68.31
Deny from 119.154.45.165
Deny from 82.146.74.171
Deny from 174.133.177.66
Deny from 173.193.214.243
Deny from 64.120.185.76
Deny from 216.104.40.218
Deny from 91.121.184.19
Deny from 74.63.125.188
Deny from 174.123.134.250
Deny from 178.139.65.224
Deny from 183.83.69.203
Deny from 84.51.33.20
Deny from 119.131.252.213
Deny from 188.62.245.32
Deny from 84.242.142.98
Deny from 212.227.136.205
Deny from 209.190.3.218
Deny from 80.56.96.59
Deny from 119.204.26.38
Deny from 202.177.27.140
Deny from 76.242.100.235
Deny from 182.208.57.207
Deny from 112.151.70.2
Deny from 190.20.205.72
Deny from 70.62.191.33
Deny from 60.249.252.214
Deny from 61.47.226.229
Deny from 186.113.137.236
Deny from 124.199.48.53
Deny from 67.77.210.16
Deny from 112.146.178.48
Deny from 60.240.2.154
Deny from 190.143.51.225
Deny from 217.115.203.154
Deny from 60.191.89.186
Deny from 193.23.143.117
Deny from 180.193.18.206
Deny from 115.161.108.145
Deny from 121.212.231.55
Deny from 201.212.57.248
Deny from 183.9.73.77
Deny from 83.218.173.191
Deny from 80.127.213.243
Deny from 218.209.63.19
Deny from 89.184.188.83
Deny from 213.206.88.42
Deny from 111.172.114.125
Deny from 199.203.84.67
Deny from 123.18.196.241
Deny from 58.185.107.18
Deny from 64.234.80.113
Deny from 212.83.70.180
Deny from 121.237.153.123
Deny from 24.112.67.92
Deny from 91.75.179.18
Deny from 77.248.175.127
Deny from 81.136.243.94
Deny from 213.189.4.102
Deny from 86.174.38.2
Deny from 220.87.72.250
Deny from 110.136.39.90
Deny from 61.8.226.95
Deny from 208.43.146.84
Deny from 88.208.236.71
Deny from 78.40.142.69
Deny from 74.193.12.33
</Limit>
# 5G:[QUERY STRINGS]
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{QUERY_STRING} (environ|localhost|mosconfig|scanner) [NC,OR]
RewriteCond %{QUERY_STRING} (menu|mod|path|tag)\=\.?/? [NC,OR]
RewriteCond %{QUERY_STRING} boot\.ini [NC,OR]
RewriteCond %{QUERY_STRING} echo.*kae [NC,OR]
RewriteCond %{QUERY_STRING} etc/passwd [NC,OR]
RewriteCond %{QUERY_STRING} \=\\%27$ [NC,OR]
RewriteCond %{QUERY_STRING} \=\\\'$ [NC,OR]
RewriteCond %{QUERY_STRING} \.\./ [NC,OR]
RewriteCond %{QUERY_STRING} \: [NC,OR]
RewriteCond %{QUERY_STRING} \[ [NC,OR]
RewriteCond %{QUERY_STRING} \] [NC]
RewriteRule .* - [F]
</IfModule>
# 5G:[USER AGENTS]
<IfModule mod_setenvif.c>
SetEnvIfNoCase User-Agent ^$ keep_out
SetEnvIfNoCase User-Agent (casper|cmsworldmap|diavol|dotbot) keep_out
SetEnvIfNoCase User-Agent (flicky|ia_archiver|jakarta|kmccrew) keep_out
SetEnvIfNoCase User-Agent (libwww|planetwork|pycurl|skygrid) keep_out
<Limit GET POST PUT>
Order Allow,Deny
Allow from all
Deny from env=keep_out
</Limit>
</IfModule>
# 5G:[REQUEST STRINGS]
<IfModule mod_alias.c>
RedirectMatch 403 (https?|ftp|php)\://
RedirectMatch 403 /(cgi|https?|ima|ucp)/
RedirectMatch 403 (\=\\\'|\=\\%27|/\\\'/?|\)\.css\()$
RedirectMatch 403 (\,|//|\)\+|/\,/|\{0\}|\(/\(|\.\.\.|\+\+\+|\|)
RedirectMatch 403 \.(cgi|asp|aspx|cfg|dll|exe|jsp|mdb|sql|ini|rar)$
RedirectMatch 403 /(contac|fpw|install|pingserver|register)\.php
RedirectMatch 403 (base64|crossdomain|localhost|wwwroot)
RedirectMatch 403 (eval\(|\_vti\_|\(null\)|echo.*kae)
RedirectMatch 403 \.well\-known/host\-meta
RedirectMatch 403 /function\.array\-rand
RedirectMatch 403 \)\;\$\(this\)\.html\(
RedirectMatch 403 proc/self/environ
RedirectMatch 403 msnbot\.htm\)\.\_
RedirectMatch 403 /ref\.outcontrol
RedirectMatch 403 com\_cropimage
RedirectMatch 403 indonesia\.htm
RedirectMatch 403 \{\$itemURL\}
RedirectMatch 403 function\(\)
RedirectMatch 403 labels\.rdf
</IfModule>
Alles anzeigen
konnte ich die Zahl des Spams der durchkommt bzw den ich manuell bearbeiten muss auf max. 1-2 pro Tag verringern (und selbst dann sind es nur echte User die sich für Antispam Bee verdächtig gemacht haben - also kein wirklicher Spam)
Soweit so gut.
Was mich allerdings ärgert ist folgendes: ASB (AntiSpam Bee) verhindert/blockt täglich ca. 4000(!!!!) Versuche im Blog zu Spammen!
Und diese Zahl möchte ich ebenfalls reduzieren, da jeder Bot und jeder Spammer der hier blockiert wird Bandbreite saugt...
Habt ihr da einen Tipp für mich?
Danke