Author: WEBSupport (27 Aug 10 11:50pm)
Agree with J.Perez6. Everybody don't have the same requirements, some just want to block comment spammers, others may just block memberships, etc. You have to select the data resources that you rely on and decide what you want to do with it. Project Honeypot is a database, not the mother of all solutions. If you wish to block all comment spammers and harvesters from entering your site, we look forward to your script that automate the following:
BLOCKING SPAMMERS
To block IP's or IP ranges from accessing your site, add the following to your htaccess file:
order allow,deny
deny from 212.92.243.188
deny from 60.24.0.0/14
allow from all
The above IP's are examples only. Decide on which sources you want to use for IP Blocking.
BLOCKING HARVESTERS
Your Awstats list bots that visited your site. Decide which ones are "bad" and block them adding the following to your htaccess:
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} ^AbachoBOT [OR]
RewriteCond %{HTTP_USER_AGENT} ^zerxbot [OR]
RewriteCond %{HTTP_USER_AGENT} ^Zeus
RewriteRule ^(.*)$ /error/yourhoneypot.php
The example above send them to your honeypot located in an "error" sub-directory, or you can send them to an error page by replacing the last line with:
RewriteRule ^.* - [F,L]
REMARK
To automate the above, just setup a team to develop a script. To get programmers, hire them from places like rentacoder.com or scriptlance.com etc. We look forward to see the J.Yard2 script listed at implementation lists.
PS: Just remember that most Internet users lease their IP's for a day or two from their ISP's, so blocking a single IP may not be the ideal solution. The script may have to remove IP's again after 3 days, depending on your data source.
|