Yesterday I talked about developing a昨天我谈到发展 comment spam prevention plugin垃圾评论预防插件 with zero false positives . 零假阳性 I am currently using it on all of our blogs.我目前使用的,它在我们所有的博客。 Today I want to talk briefly about its origin and goals.今天,我想简单地谈一谈关于它的起源和目标。

But first here are the stats from my但首先,这里是从我的统计 Simple Thoughts blog简单的思考博客 :

1095 spam comments were blocked by Angsuman’s Comment Guard plugin in 23 hours 46 minutes. 1095年垃圾评论阻断Angsuman的评论民警卫队插件在23小时46分钟。 99.094% of the comments you received during this time were spam. 99.094 %的意见,您收到在这段时间分别是垃圾邮件。

Stats for统计资料 Anaconda Theme blog康达主题博客 :

1982 spam comments were blocked by Angsuman’s Comment Guard plugin in 3 days 10 hours 14 minutes. 1982年垃圾评论阻断Angsuman的评论民警卫队插件在3天10小时14分钟。 99.748% of the comments you received during this time were spam. 99.748 %的意见,您收到在这段时间分别是垃圾邮件。

As you can see it is quite effective.你可以看到,这是相当有效。 After I installed the Comment Guard plugin my Akismet queue is empty.之后,我安装了评论民警卫队插件我的akismet队列是空的。 I haven’t received any spam comments since.我并没有收到任何垃圾邮件的评论以来。 However I have received some valuable comments during this time.不过,我曾收到一些宝贵意见,在这段时间。 I have gained more time to answer to them as I do not have to anymore clean up spam from Moderation queue (used to get around 100 per day from Simple Thoughts blog alone; spams which passed through Akismet queue)我获得了更多时间来回答他们,正如我不须再清理垃圾邮件从审阅队列(用来取得约100每天从简单的思考博客单;垃圾邮件,其中通过akismet队列)

BTW: I did receive a comment in Chinese which was suspiciously small in length and so I suspected it to be spam.的BTW :我没有收到评论在中国这是形迹可疑的小,长度,所以我怀疑它是垃圾邮件。 However on Google translation I realized it is a valid comment asking me when I would release the next version of Anaconda theme.然而, Google翻译我意识到这是一个有效的评论,问我,当我将释放下一版本的康达主题。 I am impressed by how much you can write in little space in Chinese.我留下深刻的印象多少,你也可以撰写在狭小的空间在中国。 See for yourself见自己 here这里 .

Comment Guard is a labor of love more than anything else. 评论民警卫队是一项劳动,爱比任何事情都重要。 It is born out of my strong experiences and pain with handling comment spam in several of my blogs.这是诞生于我的经验和强烈的疼痛与处理垃圾评论在几个我的博客。 I respect my readers and will not take them through hoops to post a comment.我尊重我的读者,并不会采取他们通过箍,以张贴评论。 However I could never find a clean way in numerous plugins I used to completely stop robot / program generated comment spam.不过,我可从来没有找到一个清洁的方式在众多插件我用完全停止机器人/程序产生的垃圾评论。

Anti-spam plugins adopt questionable techniques like checking RBL (and other such black hole lists) for identifying spam IP’s.反垃圾邮件插件采取质疑的技术一样,检查乡(和其他此类黑洞名单)确定垃圾邮件的IP的。 This is plain wrong.这是完全错误的。 Many people, for example, connect from countries like India where ISP’s primarily issue dynamic IP’s.很多人,例如连接由国家像印度这样的地方ISP的主要问题,动态IP的。 Spam Karma 2 blocks them from posting comment in many cases because the RBL it uses blocks the whole dynamic IP ranges solely because they are dynamic and sometimes because someone from these IP’s have in the past spammed someone.垃圾邮件的因果报应2块,他们从发布评论,在许多情况下,因为它使用乡大厦的整个动态IP的范围,纯粹是因为他们是动态的,有时是因为有人从这些IP的已在过去的垃圾邮件的人。 This is something people do not have any control.这是一些人没有任何控制。 The usual solutions suggested are contacting the IP to remove these addresses.通常的解决方案建议,是联系的IP ,以删除这些地址。 It is easier said then done.这是说起来容易,然后做了。 In India ISP’s enjoy near-monopoly (like BSNL) and most often they do not care about their customers, let alone do something at their request.在印度ISP的享有几乎垄断(如印度BSNL )和大多数,他们往往不关心他们的客户,更遑论做一些事,在他们的要求。 Nowadays some RBL’s have started charging fees for removal!现在一些乡郊建屋地段的已开始收取费用,搬迁! In essence checking RBL is a bad policy.在本质上检查乡是一个坏的政策。 It is only acceptable if you do not care a bit about your readers and what they have to say.这是唯一可以接受的,如果你不照顾一下您的读者和他们的意见。

Then there are checking for proxies.然后有检查委托书。 Again there are RBL’s which are used to check for open proxies and many of the anti-spam plugin decide to block them.再有乡的这是用来检查开放的代理人和很多的反垃圾邮件插件决定来阻止他们。 This is a draconian policy.这是一个严苛的政策。 In many countries like China or even Iran people are forced to access web through proxy to get access to most content.在许多国家和中国一样,甚至伊朗人民是被迫访问的网站通过代理,以获得大多数内容。 Blocking proxies effectively blocks lots of valuable readers.阻断代理人有效座很多宝贵的读者。

Plugins like SK 2 makes guesses about user behavior based on the author’s observation which in many cases are wrong.插件一样的SK 2 ,使猜测用户行为的基础上,作者的观察,在许多情况下都是错误的。 A case in point.一个典型的例子。 I tried to contact a customer who was having problems.我曾尝试联络客户谁是有问题。 I wasn’t able to connect with him via email as it was getting bounced due to mail server error.我是无法连接到与他通过电子邮件,因为这是获得反弹,由于邮件服务器的错误。 So I tried posting a comment to his blog.因此,我试图张贴评论他的博客。 The comment kept getting rejected , most likely because SK2 determines that comments can only be of certain size and no more!评论不断取得拒绝,最有可能是因为sk2决定的评论,只能对一定规模和没有更多! So I persisted and tried submitting, without success, with smaller and smaller size.因此,我坚持,并试图提交,没有成功,与小尺寸。 After some attempts SK2 determined I was a spammer and informed me that I was reported to Akismet.经过一些尝试sk2确定我是一个垃圾邮件发送者,并告诉我,我是报akismet 。

When you go down and dirty with the code you will find tons of such inane assumptions.当您走和肮脏与代码你会发现吨这种inane的假设。 I can go on whole night about them.我可以去对整个晚上约他们。 The bottomline is I couldn’t trust my blog with SK2 or Bad Behaviour.底线是,我不能信任我的博客与sk2或坏的行为。 Even Akismet has lots of false positive issues. akismet ,甚至有很多假阳性的问题。 However it is better of the three.不过,最好是上述三个。 Even then I was getting over 100 spams in moderation queue for this blog alone.即使在当时我买的超过100个垃圾邮件在审阅队列为此博客单。 I was going way over my bandwidth and people thought what was I doing all day.我去的方式超过我的带宽和人民的思想,什么是我做的所有天。

Out of this frustration Comment Guard was born.出于这种挫折感评论后卫诞生了。 I am very happy to say that so far it has given me 100% success rate .我很高兴地说,到目前为止,它让我有百分之一百的成功率。 I am testing it on all my blogs and will continue to do so for about a month, or till I am confident that I have fully tamed the beast.我测试它的所有我的Blog ,并会继续这样做,约一个月,或到我深信我已完全驯服野兽。 I know that I will be fully happy with this plugin if all it does is stop 100% of spams on my sites only.我知道我将得到充分乐意与此插件,如果所有它是停止100 %的垃圾邮件对我的网站只。 I would however be happy to enroll beta testers after about a week.不过,我很乐意参加Beta测试后,约一个星期。 So if you would like to test it, let me know.因此,如果你想测试它,让我知道。

BTW: If you are a spammer, bring it on baby!的BTW :如果你是一个垃圾邮件发送者, 使其对婴儿!