<?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/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>8bitodyssey.com &#187; spam</title>
	<atom:link href="http://8bitodyssey.com/archives/tag/spam/feed" rel="self" type="application/rss+xml" />
	<link>http://8bitodyssey.com</link>
	<description>WordPressでつづる、おでのこの道わが旅。</description>
	<lastBuildDate>Sat, 04 Feb 2012 02:26:13 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://8bitodyssey.com/archives/tag/spam/feed" />
		<item>
		<title>[wordpress] Akismetを暇にする現状で最強のスパム対策</title>
		<link>http://8bitodyssey.com/archives/841</link>
		<comments>http://8bitodyssey.com/archives/841#comments</comments>
		<pubDate>Sat, 23 Feb 2008 15:23:19 +0000</pubDate>
		<dc:creator>おで</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[ウェブ開発]]></category>
		<category><![CDATA[akismet]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://8bitodyssey.com/archives/841</guid>
		<description><![CDATA[<p><img src="http://www.odysseygate.com/images/pero.jpg" style="float: left; margin: 2px 5px 1px 0px"/></p>
<p>WordPressのオーナーにとってコメントスパム/スパムトラックバックは悩みの種だと思います。</p>
<p>Akismetはコメントスパム/スパムトラバを検知してくれる優秀なプラグインなのですが、コメント/トラバを受けて発信元（IPなど）、内容等を精査する仕組みのため、どうしてもデータベースへのアクセスが発生してしまいます。ひとつひとつの負荷は微々たるものでも塵も積もれば何とやら。スパムによる負荷なんてないに越したことはありません。</p>
<h3>2つのプラグインを導入する</h3>
<p>肝となるのは<a href="http://plasticdreams.org/" target="_blank" title=":: plasticdreams ::">aka</a>さんに教えてもらった2つのプラグイン。</p>
<p>1つ目は<strong><a href="http://www.hybrid6.com/webgeek/plugins/wp-spamfree" target="_blank" title="WP-SpamFree: A Powerful Anti-Spam Plugin for WordPress!">WP-SpamFree</a></strong>。現在WordPressを対象にスパムを撒き散らすスパマーの多くがボットを利用してスパムを自動化しており、ボットの多くはJavaScriptとCookiesの両方には対応していないそうです。WP-SpamFreeはJavaScriptとCookiesが無効になっているとコメント不能にすることでボットからのスパムコメントを防御します。</p>
<p>ところが現在日本のケータイの多くはJavaScriptやCookiesを解釈することができないため、このままではケータイからコメントできなくなってしまいます（ここではiモードブラウザやOpenWaveブラウザのことを指しています。フルブラウザはJSもCookiesも解釈できることが多いようです）。対処策としては、ケータイからのアクセスの場合WP-SpamFreeを動作しないようにしてやればOKです。</p>
<p>僕はケータイからのアクセスを<a href="http://wppluginsj.sourceforge.jp/ktai_style/" target="_blank" title="WordPress Plugins/JSeries ≫ Ktai Style">Ktai Style</a>で表示させるようにして<del datetime="2008-02-26T14:33:03+00:00">いるので、WP-SpamFreeの28行目（先頭）に<code style="font-weight: bold; color: #5dbf2e;">if(is_ktai()) return;</code>と挿入してやりました</del>（<a href="http://another.maple4ever.net/" target="_blank" title="hiromasa another :O)">hiromasa</a>さん、Thanx！）<ins datetime="2008-02-26T14:38:16+00:00">（Ktai Style Ver.1.10よりWP-SpamFreeのコード修正不要になりました。<a href="http://www.yuriko.net/" target="_blank" title="Yuriko.Net">yuriko</a>さん、Thanx！）</ins></p>
<p>2つ目のプラグインは<strong><a href="http://sw-guide.de/wordpress/plugins/simple-trackback-validation/" target="_blank" title="Simple Trackback Validation Plugin">Simple Trackback Validation Plugin</a></strong>。ほかのサイトから飛んできたトラックバックをどのような基準で審査し、基準からすると不正なものをどう処理するか設定できるようになります。</p>
<p><img src="http://farm4.static.flickr.com/3048/2285641519_2f4674a156_o.gif" alt="simple trackback validation plugin setting" width="480" height="480" style="border:1px solid #333;" /></p>
<p>上のスクリーンショットはデフォルトの状態で、僕は不正なトラバ処理を「Mark as spam」にし（不正なものはakismetにたまるようになります）、「Add prefix [Blocked by STBV]」のチェックを外しました（このチェックが入っているといちいと投稿者名に[Blocked（ｒｙ」が入ってしまうので、問題ないトラバだった場合に消すのが面倒だからです）。きちんとそのページへの言及リンクが入っていなければ認めない場合は「Strictness」で、WPへのURLが入っていればいいかなという場合は「Any link beginning with the following URLs is allowed: 」を選ぶとよいと思います。ぼくは後者で様子見中。</p>
<h3>驚くほどの効果</h3>
<p>この対策をしてから約1ヶ月。この間にAkismetがつかまえたスパム、Akismetをすり抜けたスパムともにゼロとなりました。驚くべき効果です（…と書いていたら正常動作で<a href="http://wp.mmrt-jp.net/" target="_blank" title="MMRT daily life">masayan</a>さんからのトラバをSimple Trackback Validationが弾いてたみたいです。masayanさん、ごめんなさい…。ページへのリンクがないと弾いちゃうの(´・ω・｀)）</p>
<p>Akismetが空の画面というのもなかなか清々しいですね。ぜひお試しあれ。</p>
<p><img src="http://farm3.static.flickr.com/2360/2285703565_066e87da04_o.gif" alt="暇そうなakismet" width="480" height="320" style="border:1px solid #333;" /></p><p>&copy; 2012 <a href="http://www.odysseygate.com/" title="Odysseygate.com">Odysseygate.com</a> This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact odysseygate@gmail.com so we can take legal action immediately.</p><p>鼻からカフェモカ。</p>]]></description>
		<wfw:commentRss>http://8bitodyssey.com/archives/841/feed</wfw:commentRss>
		<slash:comments>13</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://8bitodyssey.com/archives/841" />
	</item>
		<item>
		<title>SBMスパムとタグの名前のつけ方</title>
		<link>http://8bitodyssey.com/archives/754</link>
		<comments>http://8bitodyssey.com/archives/754#comments</comments>
		<pubDate>Fri, 19 Jan 2007 13:31:23 +0000</pubDate>
		<dc:creator>おで</dc:creator>
				<category><![CDATA[インターネット]]></category>
		<category><![CDATA[sbm]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[tag]]></category>

		<guid isPermaLink="false">http://8bitodyssey.com/archives/754</guid>
		<description><![CDATA[<p><img src="http://www.odysseygate.com/images/pero.jpg" style="float: left; margin: 2px 5px 1px 0px"/></p>
<h3>こんなブックマークするやつがShit！Fuck！</h3>
<p><a href="http://del.icio.us/tag/wordpress" target="_blank" title="">del.icio.usのwordpressタグ</a>のRSSをGoogle Readerに食べさせて、wordpress関連の話題をチェックしているのですが、ちょっと前からこのRSSにノイズが混じるようになりました。</p>
<p><img src="http://8bitodyssey.com/diary_photo/20070119.gif" alt="あんなサイトやこんなサイトが混入してしまっているwordpressタグのRSS" title="あんなサイトやこんなサイトが混入してしまっているwordpressタグのRSS" width="320" height="320" style="margin-right: 1em; border: 1px solid #333;" /><br />
↑あんなサイトやこんなサイトが混入してしまっているwordpressタグのRSSをGoogle Readerで受信した図</p>
<p>おそらくdel.icio.usからのアクセスをかせぐためにアダルトサイト等が自サイトに人気のあるタグ（ここではWordPress）をつけて自己ブックマークしたのでしょう。SBMスパム（ソーシャルブックマークスパム）ってことでしょうか。</p>
<p>こういう明らかにSBMを悪用した例は対策が容易だし、通報ボタンとかエントリをブックマークしたユーザとは別のユーザが当該エントリに対して信頼性や有用度の数値をつけられるようにすれば（パラメータをつかってモデレーション）対処できそうな。私がよく機能を知らないだけかもしれないけど。</p>
<h3>こたえてちょーだい</h3>
<p>タグといえば、首をかしげることもあって。はてなブックマークのホッテントリは楽しみに見てるんだけど、そこにあがるエントリについてるタグが変。タグがというよりタグのつけ方が変。</p>
<p>たとえば、<a href="http://dain.cocolog-nifty.com/myblog/2006/11/post_f0d3.html" target="_blank">わたしが知らないスゴ本は、きっとあなたが読んでいるさんの悪魔の詭弁術</a>のSBMエントリ。どこを読んでもドラクエとは関係ないのに、<a href="http://b.hatena.ne.jp/entry/http://dain.cocolog-nifty.com/myblog/2006/11/post_f0d3.html" target="_blank">ドラクエでタグ付け</a>されています。<a href="http://japan.cnet.com/news/media/story/0,2000056023,20080255,00.htm" target="_blank">グーグル、Firefoxの開発責任者を採用--「独自のブラウザ開発」の噂は本当か</a>というCNETの記事も…なぜか<a href="http://b.hatena.ne.jp/entry/http://japan.cnet.com/news/media/story/0,2000047715,20080255,00.htm" target="_blank">ドラクエ</a>。</p>
<p>ここまでひどい例じゃなくても、記事の中のほんの一文にドラクエの呪文が出てくるからとドラクエとタグ付けされていることもあったりします。</p>
<p>そもそも、タグ付けというのは分類のためのものであって、後から容易に取り出せるようにとつけられているものだとおもいます。だからエントリに述べられていることの中心を取って、みんなつけているのだと思うのですが、そうでもないのかな？<a href="http://d.hatena.ne.jp/naoya/20070116/1168935694" target="_blank">naoyaのはてなダイアリー - さくらインターネット移行記#1</a>の記事にさくらインターネットとタグ付けはしても、EverQuestとはタグ付けしないでしょ、というスタンスなんだけど。</p>
<p>こういうタグ付けはけしからん、というより、どういう風に考えた末に、このようなタグ付けをしているのか教えてちょーだい、といったところ。私が思いつきもしないメリットがあるのかしら？</p><p>&copy; 2012 <a href="http://www.odysseygate.com/" title="Odysseygate.com">Odysseygate.com</a> This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact odysseygate@gmail.com so we can take legal action immediately.</p><p>鼻からカフェモカ。</p>]]></description>
		<wfw:commentRss>http://8bitodyssey.com/archives/754/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://8bitodyssey.com/archives/754" />
	</item>
	</channel>
</rss>

