<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Scott Yang's Playground &#187; Spam</title>
	<atom:link href="http://scott.yang.id.au/tag/spam/feed/" rel="self" type="application/rss+xml" />
	<link>http://scott.yang.id.au</link>
	<description>Faith, Technology and Randomness in Life, According to Scott</description>
	<lastBuildDate>Thu, 09 Feb 2012 09:01:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Securing Your Blog, or Else&#8230;</title>
		<link>http://scott.yang.id.au/2008/04/securing-your-blog-or-else/</link>
		<comments>http://scott.yang.id.au/2008/04/securing-your-blog-or-else/#comments</comments>
		<pubDate>Mon, 07 Apr 2008 05:30:42 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Spam]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://scott.yang.id.au/2008/04/securing-your-blog-or-else/</guid>
		<description><![CDATA[Deep Jive Interests: TailRank Exposes Massive Number Of Blogs Hacked &#8212; turns out all the latest spam sites are legitimate but hacked WordPress sites. I have also experienced a surge of trackback spams over the last couple of days, from hacked WordPress sites with their wp-content populated with static spammy content. WordPress 2.3.3 wasn&#8217;t even [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.deepjiveinterests.com/2008/04/07/breaking-tailrank-exposes-massive-number-of-blogs-hacked/">Deep Jive Interests: TailRank Exposes Massive Number Of Blogs Hacked</a> &#8212; turns out all the latest spam sites are legitimate but hacked WordPress sites. I have also experienced a surge of trackback spams over the last couple of days, from hacked WordPress sites with their <code>wp-content</code> populated with static spammy content. <a href="http://smackdown.blogsblogsblogs.com/2008/03/23/new-wordpress-233-exploitvulnerability-adds-spam-directory-wp-content1/">WordPress 2.3.3 wasn&#8217;t even safe</a>, although it was only superceded a few days earlier when 2.5 came out. And people are still discussing how much they hated WordPress 2.5 because of its new dashboard?! Maybe we should go back to writing static HTML files.</p>
]]></content:encoded>
			<wfw:commentRss>http://scott.yang.id.au/2008/04/securing-your-blog-or-else/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Akismet Offline?</title>
		<link>http://scott.yang.id.au/2008/01/akismet-offline/</link>
		<comments>http://scott.yang.id.au/2008/01/akismet-offline/#comments</comments>
		<pubDate>Thu, 03 Jan 2008 04:38:57 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[akismet]]></category>
		<category><![CDATA[Spam]]></category>

		<guid isPermaLink="false">http://scott.yang.id.au/2008/01/akismet-offline/</guid>
		<description><![CDATA[Mike Arrington of TechCrunch shared his list of Web 2.0 Companies he could not live without, and on the point of WordPress. Their Akismet spam comment blocking service is a godsend &#8211; without it we would quite simply be overrun with spam. It catches 15,000 or more spam comments per day and auto-deletes them. I [...]]]></description>
			<content:encoded><![CDATA[<p>Mike Arrington of TechCrunch shared <a href="http://www.techcrunch.com/2008/01/01/2008-web-20-companies-i-couldnt-live-without/">his list of Web 2.0 Companies he could not live without</a>, and on the point of WordPress.</p>
<blockquote><p>Their <a href="http://akismet.com/">Akismet</a> spam comment blocking service is a godsend &#8211; without it we would quite simply be overrun with spam. It catches 15,000 or more spam comments per day and auto-deletes them.</p></blockquote>
<p>I agree that Akismet has been a great help keeping the number of spams down here. It might not be 15,000 comment spams a day, but since I first deployed Akismet plugin on this blog, it has already blocked 220,000+ spams for me.</p>
<p>So you&#8217;ll know it when Akismet is offline &#8212; <b>lots</b> of comment spams came through waiting for manual moderation. I can&#8217;t seem to get onto their website, and <a href="http://blog.akismet.com/">their blog</a> returns system error 500 every now and then. Anyone else experiencing the same? I won&#8217;t be surprised if they get DDoS&#8217;ed, which seems to be the norm these days with all the spam-fighting companies.</p>
]]></content:encoded>
			<wfw:commentRss>http://scott.yang.id.au/2008/01/akismet-offline/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Greylisting Spams with Postfix + Gld</title>
		<link>http://scott.yang.id.au/2006/09/greylisting-spams-with-postfix-gld/</link>
		<comments>http://scott.yang.id.au/2006/09/greylisting-spams-with-postfix-gld/#comments</comments>
		<pubDate>Fri, 01 Sep 2006 11:20:09 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Postfix]]></category>
		<category><![CDATA[Spam]]></category>

		<guid isPermaLink="false">http://scott.yang.id.au/2006/09/greylisting-spams-with-postfix-gld/</guid>
		<description><![CDATA[HostingFu: Greylisting spams with Postfix + Gld. I have previously used only Amavisd + SpamAssassin + ClamAV, but the amount of incoming spams really work my poor server hard. After running greylisting for a month, spams virtually disappeared from my inbox. Highly recommended if you are running your own mail server.]]></description>
			<content:encoded><![CDATA[<p><a href="http://hostingfu.com/article/greylisting-spams-with-postfix-gld">HostingFu: Greylisting spams with Postfix + Gld</a>. I have previously used only <a href="http://scott.yang.id.au/2004/03/running-postfix-amavis-clam-antivirus/">Amavisd + SpamAssassin + ClamAV</a>, but the amount of incoming spams really work my poor server hard. After running greylisting for a month, spams virtually disappeared from my inbox. Highly recommended if you are running your own mail server.</p>
]]></content:encoded>
			<wfw:commentRss>http://scott.yang.id.au/2006/09/greylisting-spams-with-postfix-gld/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Home Server Back On-Line</title>
		<link>http://scott.yang.id.au/2006/08/home-server-back-on-line/</link>
		<comments>http://scott.yang.id.au/2006/08/home-server-back-on-line/#comments</comments>
		<pubDate>Wed, 02 Aug 2006 14:28:08 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Spam]]></category>

		<guid isPermaLink="false">http://scott.yang.id.au/2006/08/home-server-back-on-line/</guid>
		<description><![CDATA[Electrician came in the morning and fixed the power switch, which was actually burnt pretty badly when we looked at it last night. As you can see the Netural line has been burnt. They came and replaced the fitting, and the power is good again. Everything is up and running. I have also been experimenting [...]]]></description>
			<content:encoded><![CDATA[<p>Electrician came in the morning and fixed the power switch, which was actually burnt pretty badly when we looked at it last night.</p>
<p style="text-align:center"><a href="http://gallery.yang.id.au/v/scott/misc/CIMG1557.JPG.html"><img src="http://gallery.yang.id.au/d/954-2/CIMG1557.JPG" alt="Burnt power point" width="640" height="480"/></a></p>
<p>As you can see the Netural line has been burnt. They came and replaced the fitting, and the power is good again. Everything is up and running.</p>
<p>I have also been experimenting with <a href="http://greylisting.org/">greylisting</a> using <a href="http://www.gasmi.net/gld.html">Gld</a> + <a href="http://www.postfix.org/">Postfix</a>. It is kind of effective in reducing spams by asking the sender&#8217;s email server to try again. I am still having Amavis + SpamAssassin to do content filtering after the greylisting, but I am getting significantly less spams slipping through.</p>
]]></content:encoded>
			<wfw:commentRss>http://scott.yang.id.au/2006/08/home-server-back-on-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Akismet, centralised spam combating solution by Matt</title>
		<link>http://scott.yang.id.au/2005/10/akismet-spam-combating/</link>
		<comments>http://scott.yang.id.au/2005/10/akismet-spam-combating/#comments</comments>
		<pubDate>Wed, 26 Oct 2005 06:51:33 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Spam]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://scott.yang.id.au/2005/10/akismet-spam-combating/</guid>
		<description><![CDATA[Matt Mullenweg announced a new spam combating service &#8212; Akismet. If you are a personal blogger, or pro-blogger-wannabe who cannot make more than $500 a month, Akismet is free for you to use. If it is a commercial site, or you are making big bucks from your blogsites &#8212; then a commercial license needs to [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://scott.yang.id.au/file/images/homepage-akismet.jpg" alt="Akismet's Homepage" width="250" height="166" class="floaty" style="border:1px solid #888"/> <a href="http://matt.wordpress.com/2005/10/25/announcing-akismet/">Matt Mullenweg announced a new spam combating service</a> &#8212; <a href="http://akismet.com/">Akismet</a>. If you are a personal blogger, or pro-blogger-wannabe who cannot make more than $500 a month, Akismet is free for you to use. If it is a commercial site, or you are making big bucks from your blogsites &#8212; then a commercial license needs to be acquired starting from $5/month.</p>
<p>So, how does Akismet catch spams? How does it reduce false positives? What sort of algorithm does it use? Well, hmmm. <em>We don&#8217;t know</em>. Akismet is a <strong>centralised</strong> spam classifying service. For every comment received by your blog, it gets delivered to a <a href="http://rest.akismet.com/">centralised server</a>, using a REST-based API. If the big brain on that server doesn&#8217;t like, it yells back &#8220;Spam!!!&#8221; and so that comment will be marked.</p>
<p>So, how does this centralised server determine whether a comment is a <em>ham</em> or a <em>spam</em>? According to the <a href="http://akismet.com/faq/">FAQ</a>,</p>
<blockquote><p>When a new comment, trackback, or pingback comes to your blog it is submitted to the Akismet web service which runs <strong>hundreds of tests</strong> on the comment and returns a thumbs up or thumbs down.</p></blockquote>
<p>Hmm. Probably something like <a href="http://spamassassin.apache.org/">SpamAssassin</a> but for blog comments. According to <a href="http://www.ioerror.us/">Michael Hampton</a>, it <a href="http://error.wordpress.com/2005/10/26/automattic-kismet/">&#8220;entirely replace plugins such as wp-hashcash, Spam Karma 2, AuthImage, etc&#8221;</a> so I guess they must have sampled some of those implementations. Further on, he mentioned that he has &#8220;integrating CJD&#8217;s Spam Nuker&#8221;. So we probably get some idea what kind of backend does it have.</p>
<p>It also allows the users to manually classify comments as spam or ham. In the sense it might have some kind of Bayesian classifier that can be trained. Useful to report all the false positive. and false negatives.</p>
<p>So, what&#8217;s good about Akismet?</p>
<ul>
<li>A large sample of comment spams allows its Bayesian classifier to be thoroughly trained.</li>
<li>Centralised service so Matt and co can do all the fine tuning without touching your site. No more updates for algorithm changes.</li>
<li>Nice API that can be easily integrated into other blog tools. There might even command-line tools that can submit spam/ham in bulk.</li>
</ul>
<p>But why I probably would not use it?</p>
<ul>
<li>A <strong>centralised</strong> server. I hate latency, especially my blogs are hosted somewhere half way around the world to Akismet&#8217;s central server.</li>
<li>A <strong>centralised</strong> service. Just imagine millions of WordPress blogs download this plugin and deploy it today, and send millions of comments to this potentially CPU intensive classifying job&#8230;</li>
<li>A <strong>centralised</strong> user-trained classification service. Although FAQ said that it is unlikely to poison the classifier (probably some kind of jail on a per-API key level), I just don&#8217;t feel right when someone anonymous blogger is moderating my comments.</li>
<li>I don&#8217;t earn USD$500 a month blogging, but I hope one day <em>I will</em>. (Currently projecting when un*x time(2) wraps around&#8230;)</li>
<li>But most importantly, <strong>I don&#8217;t get spams</strong>. Well. Rarely &#8212; to a point that it has never bothered me, when I require all first-time commenters to be moderated, which should be a default option for WordPress.</li>
</ul>
<p>Still, I applaud for this great product. Not perfect, but probably still the next best thing than that red button labelled &#8220;Kill All Spammers&#8221;.</p>
<p><b>Update</b>: Since I moved the site to DreamHost, I have actually started to use Akismet, and was surprised by the result &#8212; <em>it is quite good</em>. Centralised issue still concerns me. Things like Ping-o-matic outage can really stall blog posting, but fortunately Akismet plugin has good built-in timeout so that it will give up if the server is not responsive.</p>
]]></content:encoded>
			<wfw:commentRss>http://scott.yang.id.au/2005/10/akismet-spam-combating/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Combating Referrer Spam with WordPress</title>
		<link>http://scott.yang.id.au/2005/09/combating-referrer-spam-with-wordpress/</link>
		<comments>http://scott.yang.id.au/2005/09/combating-referrer-spam-with-wordpress/#comments</comments>
		<pubDate>Mon, 19 Sep 2005 11:58:54 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Spam]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://scott.yang.id.au/?p=17</guid>
		<description><![CDATA[I hate referrer spams. Not that I clicked on every referrer URL to see where it leads to. I love my statistics, and anything that skews the result annoys me. I do not want to open up my faviourite log analyzer, and see all the top referrers are pr0n or p0ker sites. At the same [...]]]></description>
			<content:encoded><![CDATA[<p>I hate <a href="http://en.wikipedia.org/wiki/Referer_spam">referrer spams</a>.</p>
<p>Not that I clicked on every referrer URL to see where it leads to. I love my statistics, and anything that skews the result annoys me. I do not want to open up my <a href="http://awstats.sourceforge.net/">faviourite log analyzer</a>, and see all the top referrers are pr0n or p0ker sites.</p>
<p>At the same time, it is also one of the most difficult method of spam to combat with, without causing too much inconvenience. You can put all the incoming comments and trackbacks through a moderation queue without really irritating your readers. Try to moderate every page view when it comes from an unknown referrer!</p>
<p>There has been quite a few attempts to resolve this issue in the past.</p>
<h3 id="toc-mod_rewrite">Mod_Rewrite</h3>
<p>My initial attempt is by putting some <a href="http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html">mod_rewrite</a> rules into <code>.htaccess</code> file, to return 403 access denied to referrer spammers/spambots. For example,</p>
<pre class="code">
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_REFERER} pr0n.example.com [OR]
RewriteCond %{HTTP_REFERER} p0ker.example.com [OR]
RewriteCond %{HTTP_REFERER} r0ulette.example.com [OR]
RewriteCond %{HTTP_REFERER} l0an.example.com
RewriteRule .* - [F,L]
</pre>
<p>The problem is, my <code>.htaccess</code> file soon become a gigantic unmanageable piece of mess, as I started adding spammy host names one after another. Moreover, referrers spammers seem to have unlimited supply of domain names that there is just no way you can catch them all (also caused by <a href="http://scott.yang.id.au/2004/11/comment-spams-with-info/">free .info domains a while ago</a>). And you normally only find new ones to add when the spambots have already visited your sites and tainted your logs.</p>
<p>Combating against referrer spams with mod_rewrite rules is a battle that can never be won.</p>
<h3 id="toc-referrer-bouncer">Referrer Bouncer</h3>
<p>Then I found <a href="http://blog.taragana.com/index.php/archive/word-press-1-5-plugin-referer-bouncer/">Referrer Bouncer</a> (via <a href="http://www.bloggingpro.com/">Blogging Pro News</a>), a <a href="http://wordpress.org/">WordPress</a> plugin that blocks referrer spams by matching against a plain text file. It gives some interesting responses &#8212; instead of denying spambot the access, it actually sends back a 302 &#8220;Found&#8221; to tell the spammers to go back its own website.</p>
<p>It is designed this way to punish the spammers to consume its own resource. However, the effect cannot be verified, as we do not know whether referrer spammers have actually implemented following the URL.</p>
<p>Does it work? Only slightly better than the old mod_rewrite approach. At least you will not render your blogsite inaccessible when you stuffed up your regular expressions in <code>RewriteCond</code>. However the old issues persists. It still does not address the ever-changing host names of referrer spams.</p>
<h3 id="toc-referrer-karma">Referrer Karma</h3>
<p>Last week I installed <a href="http://unknowngenius.com/blog/wordpress/ref-karma/">Referrer Karma</a> (2.3b). The design philosophy is:</p>
<ol>
<li>If the referrer exists in the white-list &#8212; <strong>in</strong>.</li>
<li>If the referrer exists in the black-list &#8212; <strong>out</strong>.</li>
<li>Fetch the content of the referrer, and if my site name can be found in the content &#8212; <strong>add to white-list and in</strong>.</li>
<li>Otherwise, <strong>add to black-list and out</strong>.</li>
</ol>
<p>It is actually a bit more complicated than that, but you get the idea.</p>
<p>What is good about this approach is, it places all page views via referrers through a <em>moderation queue</em>, and it automates the moderation by checking whether the referrer is genuine. So there is no more weekly-hunt in my <code>access_log</code> files searching for fishy referrers, as those illegitimate ones would have been filtered out.</p>
<p>I am now running Referrer Karma on some of my sites, and it worked reasonable well. I can see logs of baddies getting rejected at the door, and the good guys getting welcomed in &#8212; most of the time, and at a price&#8230;</p>
<p>You see. The method of <em>auto-moderation</em> is by fetching the source content and try to find traces of links. However, a legitimate referrer might not have links inside the HTML content. Links might be loaded and generated via Javascript. It might be clicked from inside an &lt;iframe/&gt;. So in order to reduce false negatives, Spam Karma tried to retrieve up to <strong>8</strong> levels of recursion on Javascript and IFrames &#8212; breadth-first style traversal, all at once, regardless whether the main HTML content has already matched the links or not.</p>
<p>That is <strong>a lot</strong> of bandwidth usage, especially over some complicated sites where it might import 1-20 Javascripts or IFrames. Over the last couple of days my out-bound link was actually full-satuated for a few hours a day, and initially I could not figure out what caused it except for the fear of getting hacked or getting DDoS&#8217;ed. Well, you can blame my relative narrow pipe (only 512kbps out-bound), but after debugging and analysing Referrer Karma it turned out to the cause.</p>
<p>Bad bad coding.</p>
<p>A quick hack to change its behaviour to stop traversal as soon as a match is found, as well as reducing the depth to 2, solved my bandwidth problem. Referrer Karma is again useful now.</p>
<h3 id="toc-conclusion">Conclusion</h3>
<p>There are still issues that make Referrer Karma generating a lot of false negatives. For example,</p>
<ul>
<li>Source pages cannot be reached (side Intranet, behind HTTP auth, etc)</li>
<li>Legitimate pages does not contain links (links not available to anonymous users, time-sensitive links)</li>
<li>Obfuscated Javascript pages</li>
<li>etc&#8230;</li>
</ul>
<p>There is no perfect solution, but Referrer Karma (+ a few hacks) does make sites more spam-free.</p>
]]></content:encoded>
			<wfw:commentRss>http://scott.yang.id.au/2005/09/combating-referrer-spam-with-wordpress/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Blacklisted (and it is real this time)</title>
		<link>http://scott.yang.id.au/2005/02/blacklisted/</link>
		<comments>http://scott.yang.id.au/2005/02/blacklisted/#comments</comments>
		<pubDate>Thu, 10 Feb 2005 11:34:30 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Spam]]></category>
		<category><![CDATA[Yahoo]]></category>

		<guid isPermaLink="false">http://scott.yang.id.au/2005/02/blacklisted/</guid>
		<description><![CDATA[9:30pm at night and got an ICQ message from Wilson, asking whether I have noticed that Yahoo is now labeling my server as bulk mail sender. So immediately I tested sending different messasges (all legitimate with non-spammy content), originated from different domains to one of my Yahoo account, and everyone of them landed in the [...]]]></description>
			<content:encoded><![CDATA[<p>9:30pm at night and got an ICQ message from Wilson, asking whether I have noticed that <a href="http://www.yahoo.com/">Yahoo</a> is now labeling my server as bulk mail sender. So immediately I tested sending different messasges (all legitimate with non-spammy content), originated from different domains to one of my Yahoo account, and <strong>everyone of them</strong> landed in the Bulk mail folder! What the?!</p>
<p>Click on &#8220;Full Headers&#8221; reveals what Yahoo SpamGuard has done:</p>
<div style="margin:0px 20px">
<table cellpadding="5" cellspacing="0">
<tr>
<th style="background-color:#eef;border-right:#bbb solid 1px;text-align:left">X-YahooFilteredBulk:</th>
<td>220.233.28.239</td>
</tr>
</table>
</div>
<p>Sounds like my IP address has just been <em>black listed</em>, and it affects every single email originated from this IP &#8211; including personal emails sent by myself! In fact, I don&#8217;t recall myself sending any unsolicited commercial email lately, nor have I infected by virus &#8211; the mail server is guarded well with firewalls and anti-virii software. Who knows how my IP address ended up over there?! Anyway, if you are using Yahoo, and you are expecting an email from me (or from one of the <a href="http://list.focus-unsw.org/">FOCUS mailing lists</a>), then please check your bulk mail folder. You might find surprises there&#8230;</p>
<p>What steps should I take? I might write to Yahoo complaining about the situation. If you have my emails (or other FOCUS related emails) in the bulk folder, please select them and mark them explicitly as &#8220;Not Spams&#8221; &#8211; maybe this can somehow re-train the filter.</p>
<p>Hopefully it is only temporary.</p>
<p><b>Updated 11 Feb 2005 @ 9:35am</b>: Instead of asking Postfix to send emails directly to the destination, I am having it relaying to Exetel&#8217;s SMTP box. It seems to be working now, and all mails appear in Inbox!</p>
]]></content:encoded>
			<wfw:commentRss>http://scott.yang.id.au/2005/02/blacklisted/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Comment Spams slows down MT</title>
		<link>http://scott.yang.id.au/2004/12/comment-spams-slows-down-mt/</link>
		<comments>http://scott.yang.id.au/2004/12/comment-spams-slows-down-mt/#comments</comments>
		<pubDate>Sun, 19 Dec 2004 06:30:44 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Movable Type]]></category>
		<category><![CDATA[Spam]]></category>

		<guid isPermaLink="false">http://scott.yang.id.au/2004/12/comment-spams-slows-down-mt/</guid>
		<description><![CDATA[Comment spams DDoS&#8217;ed servers hosting MovableType. Not surprising, especially in slow servers where even spawning a new process of perl is considered &#8220;expensive&#8221;. Maybe for FOCUSer.net to move to WordPress would be one resolution for 2005.]]></description>
			<content:encoded><![CDATA[<p><a href="http://news.netcraft.com/archives/2004/12/17/hosts_disable_movable_type_as_comment_spam_slows_servers.html">Comment spams DDoS&#8217;ed servers hosting MovableType</a>. Not surprising, especially in slow servers where even spawning a new process of perl is considered &#8220;expensive&#8221;. Maybe for <a href="http://focuser.net/">FOCUSer.net</a> to move to WordPress would be one resolution for 2005.</p>
]]></content:encoded>
			<wfw:commentRss>http://scott.yang.id.au/2004/12/comment-spams-slows-down-mt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Religious Spam</title>
		<link>http://scott.yang.id.au/2004/11/religious-spam/</link>
		<comments>http://scott.yang.id.au/2004/11/religious-spam/#comments</comments>
		<pubDate>Wed, 24 Nov 2004 00:41:03 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Spam]]></category>

		<guid isPermaLink="false">http://scott.yang.id.au/2004/11/religious-spam/</guid>
		<description><![CDATA[Religion and faith related spam emails are on the rise, and they are exempted from the spam law as they are not commercial, according to ReligiousNewsBlog. I&#8217;ve received plenty Nigerian spams that played Christian theme, but so far I have not received one that requested me to repent and be saved. Oh wait! I receive [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.religionnewsblog.com/9477-And_on_the_eighth_day,_the_Lord_created_spam.html">Religion and faith related spam emails are on the rise, and they are exempted from the spam law as they are not commercial, according to ReligiousNewsBlog</a>. I&#8217;ve received plenty Nigerian spams that played Christian theme, but so far I have not received one that requested me to repent and be saved. Oh wait! I receive that <em>all the time</em>! From some church <a href="http://list.focus-unsw.org/">mailing list</a> that I subscribe to&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://scott.yang.id.au/2004/11/religious-spam/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Comment Spams with .info</title>
		<link>http://scott.yang.id.au/2004/11/comment-spams-with-info/</link>
		<comments>http://scott.yang.id.au/2004/11/comment-spams-with-info/#comments</comments>
		<pubDate>Thu, 04 Nov 2004 02:38:04 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Domain]]></category>
		<category><![CDATA[Spam]]></category>

		<guid isPermaLink="false">http://scott.yang.id.au/2004/11/comment-spams-with-info/</guid>
		<description><![CDATA[FOCUSer.net has been bambarded with lots of comment spams lately. As many members do not check their emails regularly for comment notifications, many spam messages were left there for a day or two. I have been tuning the Apache server configuration to block out spam bots, but many of them still manage to slip through [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://focuser.net/">FOCUSer.net</a> has been bambarded with lots of comment spams lately. As many members do not check their emails regularly for comment notifications, many spam messages were left there for a day or two. I have been tuning the Apache server configuration to block out spam bots, but many of them still manage to slip through by supplying &#8220;real&#8221; user-agent and referrer information. I can&#8217;t block by IP&#8217;s either, as they seem to be coming from <em>everywhere</em> &#8211; probably from virus infected zombie PC&#8217;s.</p>
<p>So I fell back to the mighty <a href="http://www.jayallen.org/projects/mt-blacklist/">MT BlackList</a>, and tried to manually add offending domains to the black list. But the effort was in vain &#8211; all of them have different domains! One way to stop spamming is to reduce the commercial viability of the spammers, based on the principle that if they can&#8217;t make profit, they will stop. Black listing domains has been an implementation of that principle, assuming that the spammers cannot have unlimited supply of domains, as registration new domains on <acronym title="Top Level Domains">TLD</acronym> costs money&#8230;</p>
<p>Until some registrars started to offer <a href="http://scott.yang.id.au/2004/09/free-info-domain/">free .info domains for one year</a>. When the news hit the street over 2 months ago, I initially thought that the idea was interesting &#8211; you can register up to 20 <code>.info</code> domains for free. Who would want to register that many second-level domains with only 1 year expiry, other than the evil <em>domain squatters</em>? But apparently spammers, who represent another form of evil on the Internet, have found a new application on these free domains &#8211; to defeat the black list.</p>
<p>That is exactly what has been happening. Many spam-bot generated comment spams over the last couple of days were pointing to many weird but unique <code>.info</code> domains. There is no way that I can block every single one of them with MT BlackList, especially when they can quickly register new ones at no cost!</p>
<p>At the end, I am very tempted to just block the entire <code>.info</code> domain from leaving comments on FOCUSer.net, since over the last 2 years <strong>no one</strong> has ever commented on these blogsites with a <code>.info</code> domain, other than the comment spammers. We&#8217;ll see.</p>
]]></content:encoded>
			<wfw:commentRss>http://scott.yang.id.au/2004/11/comment-spams-with-info/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Combat Comment Spam</title>
		<link>http://scott.yang.id.au/2004/08/combat-comment-spam/</link>
		<comments>http://scott.yang.id.au/2004/08/combat-comment-spam/#comments</comments>
		<pubDate>Wed, 25 Aug 2004 07:24:48 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Movable Type]]></category>
		<category><![CDATA[Spam]]></category>

		<guid isPermaLink="false">http://scott.yang.id.au/2004/08/combat-comment-spam/</guid>
		<description><![CDATA[Just a discovery this week. Putting the following setting inside the Apache configuration (virtual host or .htaccess) seems to have positive effect on combating Movable Type comment spams. SetEnvIf User-Agent libwww-perl NOPOST &#60;Limit POST&#62; Order Allow,Deny Allow from all Deny from env=NOPOST &#60;/Limit&#62; It seems that many spam bots are written in Perl, so here [...]]]></description>
			<content:encoded><![CDATA[<p>Just a discovery this week. Putting the following setting inside the Apache configuration (virtual host or <code>.htaccess</code>) seems to have positive effect on combating Movable Type comment spams.</p>
<pre>
SetEnvIf User-Agent libwww-perl NOPOST

&lt;Limit POST&gt;
    Order Allow,Deny
    Allow from all
    Deny from env=NOPOST
&lt;/Limit&gt;
</pre>
<p>It seems that many spam bots are written in Perl, so here I simply reject their POST request if the user-agent matches. It is also easy to extend if there are variants. From the Apache log it rejects about 10 requests over the last 24 hours. Not bad I guess.</p>
<p>It does not work against the <em>trolls</em> though. I got 6 comments today on this site, with nothing but a swearing word starts with &#8216;F&#8217;. Should have block it from WordPress&#8230;</p>
<p>And yes, I am still here! Too many things to do over the last couple of days. Actually it was worse &#8211; got this mental block that I can&#8217;t find any interesting thing to blog. Expect it to continue for another few days&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://scott.yang.id.au/2004/08/combat-comment-spam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WP and Comment Spam</title>
		<link>http://scott.yang.id.au/2004/08/wp-and-comment-spam/</link>
		<comments>http://scott.yang.id.au/2004/08/wp-and-comment-spam/#comments</comments>
		<pubDate>Sun, 01 Aug 2004 23:59:28 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Spam]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://scott.yang.id.au/2004/08/wp-and-comment-spam/</guid>
		<description><![CDATA[Matthew Mullenweg talked about WordPress and why it does not get many comment spams. I don&#8217;t get many comment spams either when I was with MovableType. That has nothing to do with the underlying software, but lack of popularity that spammers don&#8217;t even bother to flood me :)]]></description>
			<content:encoded><![CDATA[<p><a href="http://photomatt.net/2004/08/01/weeds-in-the-garden/">Matthew Mullenweg talked about WordPress and why it does not get many comment spams</a>. I don&#8217;t get many comment spams either when I was with MovableType. That has nothing to do with the underlying software, but lack of popularity that spammers don&#8217;t even bother to flood me :)</p>
]]></content:encoded>
			<wfw:commentRss>http://scott.yang.id.au/2004/08/wp-and-comment-spam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>71% Spam Servers from .cn</title>
		<link>http://scott.yang.id.au/2004/05/71-spam-servers-from-cn/</link>
		<comments>http://scott.yang.id.au/2004/05/71-spam-servers-from-cn/#comments</comments>
		<pubDate>Fri, 21 May 2004 00:38:25 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Spam]]></category>

		<guid isPermaLink="false">http://scott.yang.id.au/2004/05/71-spam-servers-from-cn/</guid>
		<description><![CDATA[Reports are saying 71% of spam emails coming from servers in China. Doesn&#8217;t that make me proud? Not!]]></description>
			<content:encoded><![CDATA[<p><a href="http://commtouch.com/analysts_and_publications.shtml">Reports are saying 71% of spam emails coming from servers in China</a>. Doesn&#8217;t that make me proud? Not!</p>
]]></content:encoded>
			<wfw:commentRss>http://scott.yang.id.au/2004/05/71-spam-servers-from-cn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why go to Moore, SMBC or Morling when you can &#8230;</title>
		<link>http://scott.yang.id.au/2004/04/why-go-to-moore-smbc-or-morling-when-you-can/</link>
		<comments>http://scott.yang.id.au/2004/04/why-go-to-moore-smbc-or-morling-when-you-can/#comments</comments>
		<pubDate>Mon, 19 Apr 2004 04:45:14 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[Christianity]]></category>
		<category><![CDATA[Spam]]></category>

		<guid isPermaLink="false">http://scott.yang.id.au/2004/04/why-go-to-moore-smbc-or-morling-when-you-can/</guid>
		<description><![CDATA[I received a spam email this afternoon that boasts the following product: Become a legally ordained minister within 48 hours As a minister, you will be authorized to perform the rites and ceremonies of the church! Perform Weddings, Funerals, Perform Baptisms, Forgiveness of Sins, Visit Correctional Facilities Want to start your own church? Then there [...]]]></description>
			<content:encoded><![CDATA[<p>I received a spam email this afternoon that boasts the following product:</p>
<blockquote>
<p><b>Become a legally ordained minister within 48 hours</b></p>
<p>As a minister, you will be authorized to perform the rites and ceremonies of the church!</p>
<p>Perform Weddings, Funerals, Perform Baptisms, <em>Forgiveness of Sins</em>, Visit Correctional Facilities</p>
<p>Want to start your own church?</p>
</blockquote>
<p>Then there is a link at the bottom of the email that points you to the website that sells you this certificate for USD$29.95. It has an interesting emphasis on the power of &#8220;forgiveness of sins&#8221;:</p>
<blockquote>
<p><b>FORGIVENESS OF SINS</b></p>
<p>The Catholic Church has practiced the forgiveness of sins for centuries.</p>
<p style="font-size:smaller"><sup>**</sup> Forgiveness of Sins is granted to all who ask in sincerity and willingness to change for the better!!</p>
</blockquote>
<p>Yeah, right! Why go to theological college and study hard for 3-4 years learning Hebrews, Greek, church history and the <em>actual word of God</em>, when you can be <em>ordained</em> on-line at fraction of money and time with free delivery! Moreover, at theological college they teach you that <b>only</b> God can forgive the sins that you have committed against Him. But hey! This certificate grants you the <em>power</em> to order God that He <em>should</em> forgive and forget other people&#8217;s sin as well!! How awesome is that! With USD$29.95, that sounds like a bargain to me&#8230;</p>
<p>I wonder how many people actually went and bought themselves a copy.</p>
]]></content:encoded>
			<wfw:commentRss>http://scott.yang.id.au/2004/04/why-go-to-moore-smbc-or-morling-when-you-can/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Running Postfix + AMaViS + Clam AntiVirus</title>
		<link>http://scott.yang.id.au/2004/03/running-postfix-amavis-clam-antivirus/</link>
		<comments>http://scott.yang.id.au/2004/03/running-postfix-amavis-clam-antivirus/#comments</comments>
		<pubDate>Wed, 17 Mar 2004 23:14:03 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Spam]]></category>
		<category><![CDATA[Virus]]></category>

		<guid isPermaLink="false">http://scott.yang.id.au/2004/03/running-postfix-amavis-clam-antivirus/</guid>
		<description><![CDATA[I have just got Postfix on my Mandrake Linux box to talk to Clam AntiVirus via amavisd-new, which also does spam filtering as well. It uses Postfix&#8217;s content filtering interface to pipe the incoming emails through another SMTP server to quarantine potential viruses. Because AMaViS also integrates with Spam Assassin, I have thus dropped my [...]]]></description>
			<content:encoded><![CDATA[<p>I have just got <a href="http://www.postfix.org/">Postfix</a> on my <a href="http://www.mandrakelinux.com/">Mandrake Linux</a> box to talk to <a href="http://www.clamav.net/">Clam AntiVirus</a> via <a href="http://www.ijs.si/software/amavisd/">amavisd-new</a>, which also does spam filtering as well. It uses Postfix&#8217;s content filtering interface to pipe the incoming emails through another SMTP server to quarantine potential viruses. Because AMaViS also integrates with <a href="http://www.spamassassin.org/">Spam Assassin</a>, I have thus dropped <a href="http://scott.yang.id.au/archives/000044.php">my procmail script</a> that does spam checking at local drop.</p>
<p>The installation is quite straight forward, except maybe the Perl modules as I have a broken CPAN configuration. Everything seems to be working fine so far. Last night it has successfully quarantined 20+ incoming Worm.SomeFool.Gen-1, one <a href="http://securityresponse.symantec.com/avcenter/venc/data/w32.yaha.p@mm.html">Win32.Yaha.P</a> and a few different spams. Still trying to work out who is that MTS guy on the Optus network that has caught the virus&#8230;</p>
<p>The only complain I have is probably the amount of resources it requires to run Clam AV + AMaVis. When the daemons bootstrapped, <tt>clamd</tt> uses around 12Mb RSS and 3 instances of <tt>amavisd</tt> are running at 20Mb each! Scanning each incoming email would take at least 3 seconds on my aging dual 400Mhz Celeron. I wonder how would a large deployment would cope.</p>
]]></content:encoded>
			<wfw:commentRss>http://scott.yang.id.au/2004/03/running-postfix-amavis-clam-antivirus/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

