Yet another plugin for mangoblog! About two weeks ago, I rediscovered Project Honeypot.They have a service called HTTP:BL, where you can check ip addresses for comment spamming and email harvesting behaviour.
With the help of that service, you can now block those ip addresses from even seeing your blog. This will reduce comment spamming, reduce server resources, and helps protecting the content of your site, especially any email addresses you might have on your blog.
What it does is simple: before the template of your website is executed, the ip address of the visitor is checked. If it is a spammer or harvester, your custom message will be displayed, and the request will be aborted.
Download the plugin
You can download it with the following url: http://www.railodeveloper.com/svn.cfm?repositorypath=honeypotSpamBlocker/HoneypotSpamBlocker.zip%3AHEAD&download=1
You can also view and download the source code in my subversion browser
Settings
As you can see in the screenshot, there are a lot of settings. You can define which types of spammers are blocked, which are just logged, and even filter on last spam activity and threat rating by HTTP:BL.
Just click on the image to see a larger version.
Log files
In the settings you can define which types of events are logged. If you are logging anything, you can view the log from within the plugin settings page.
Test it
Because your ip is probably not spamming or harvesting, you need a way to test this plugin. Therefore, there is also a test screen within the settings page. Just enter an ip address and hit the button. A new window will then open which will act as if you are visiting your blog with that ip. You can find some spam ip addresses from the project honeypot website.
Problems? Want to say thanks?
Leave me a comment; I appreciate it!
| Viewed 397 times






#1 by Sami Hoda - June 30, 2010 at 12:45 AM
#2 by Mark Aplet - June 30, 2010 at 12:53 AM
#3 by Paul Klinkenberg - June 30, 2010 at 10:10 AM
#4 by Mark Aplet - June 30, 2010 at 4:16 PM
#5 by Sami Hoda - June 30, 2010 at 6:00 PM
#6 by Paul Klinkenberg - July 1, 2010 at 11:52 PM
#7 by Mark Aplet - July 8, 2010 at 11:39 PM
#8 by Paul Klinkenberg - July 9, 2010 at 1:39 PM
#9 by Laura - July 9, 2010 at 9:56 PM
#10 by Paul Klinkenberg - July 9, 2010 at 11:30 PM
#11 by Mark Aplet - July 10, 2010 at 1:01 AM
#12 by Laura - July 10, 2010 at 3:51 AM
#13 by Sami Hoda - July 22, 2010 at 9:46 PM
#14 by Paul Klinkenberg - July 22, 2010 at 11:21 PM
#15 by WebmasterAlex - August 11, 2010 at 7:00 PM
#16 by Paul Klinkenberg - August 11, 2010 at 9:11 PM
#17 by Paul Klinkenberg - August 11, 2010 at 9:13 PM