Blog越写越少,频率越来越低,很大程度上是受到了Comment/Trackback Spam的骚扰,每天登陆MT,就开始忙着删除数之不尽,挥之不去的spam,在折腾了差不多半个小时之后,已经断然没有继续写blog的热情,早先还很有passion的把每个spam的ip手动添加到IP banning list,后来发现只是徒然,遂放弃……
于是重新拾掇起这个blog的时候,就誓要和spam抗争到底。
1. IP banning list:
其实MT提供了一个很简单的anti-spam功能,就是可以把spam的ip添加到一个blacklist,可惜道高一尺,魔高一丈。spam总是有办法变换着ip来访问你的网站,于是这个功能其实形如空设,加上proxy横空出世,防不胜防,所以我现在已经把这个list清空,所谓以不变应万变。
2. SCODE:
SCode有点类似我们现在经常看到的那种需要填写一串随机产生的数字才能完成form提交的功能,这是一个非常好的防止comment spam的一个办法,可以说是从根本上解决了问题,其次是用起来很方便,安装完成之后在页面内加上一段script即可。不过非常可惜的是,对于 trackback spam几乎没有任何功能,遂放弃again。
3. Blacklist:
Blacklist看起来似乎是一个很完美的solution,非常郁闷的是在我的server上面不work,一看requirement:
+ MT 3.1x
+ Perl 5.006 or better
+ A Unix-based server
+ The perl Storable module
干什么一定要Unix的server么……
4. SpamLookup:
那么好吧,在Blacklist作者的网站上搜罗到这个叫SpamLookup,到目前为止,还是非常好用的,自动block了很多我网站上已经有的spam,comment/trackback同吃~~~所提供的功能也正是我想要的:
Upon installing the plugin, you can go to the Movable Type main menu
and click on the 'SpamLookup' link now available under the "Plugins" list.
If you do not see such a link, the plugin is not installed properly.
This plugin gives you several defensive options:
* IP-based blacklisting based on DNS lookup services. Several
organizations and services exist to provide dynamic and
distributed IP blacklisting for known open proxies. You can
configure the list of services that are used for this test.
* Domain-based blacklisting based on DNS lookup services. As with
IP-based lookups, DNS lookups on domain names is also possible.
* Dynamic proxy testing. A more aggresive approach, but one that
will help identify open proxies that may not already be listed
by DNSBL services. You can also opt to automatically IP-ban
open proxies discovered in this way.
* Filtering based on "X-Forwarded-For" HTTP header. This header
typically accompanies a request from a proxy. Note however that
not all HTTP proxies are bad. Sometimes a user runs a local proxy
on their network to allow for local caching of data. To allow for
this, a list of IP subnets can be given to prevent blocking most
legitimate cases.
* Link count limitation. Moderate/Block comments and TrackBacks
based on the number of links that appear in the message.
希望从此摆脱spam的苦海,向spam说byebye~~~