<?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>[blog.rayfoo] &#187; WordPress</title>
	<atom:link href="http://blog.rayfoo.info/tag/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.rayfoo.info</link>
	<description>Infosec, DFIR, tech geekery, thoughts and whatnot</description>
	<lastBuildDate>Wed, 25 Jan 2012 00:36:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Blocking spam with WP-SpamFree</title>
		<link>http://blog.rayfoo.info/2010/04/blocking-spam-with-wp-spamfree</link>
		<comments>http://blog.rayfoo.info/2010/04/blocking-spam-with-wp-spamfree#comments</comments>
		<pubDate>Sun, 11 Apr 2010 10:55:14 +0000</pubDate>
		<dc:creator>ray</dc:creator>
				<category><![CDATA[Everything]]></category>
		<category><![CDATA[automated]]></category>
		<category><![CDATA[filtering]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WP-SpamFree]]></category>

		<guid isPermaLink="false">http://blog.rayfoo.info/?p=521</guid>
		<description><![CDATA[WP-SpamFree is the plugin that I use for automatic filtering of spam. So far there's only like 5 spams that went past out of the 1000+ filtered ones, which is a 0.5% false negative rate.  Pretty good I'd say.  Of course a 0.5% false negative rate's not good for sites that get thousands of comments [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://wordpress.org/extend/plugins/wp-spamfree/">WP-SpamFree</a> is the plugin that I use for automatic filtering of spam.</p>
<p>So far there's only like 5 spams that went past out of the 1000+ filtered ones, which is a 0.5% false negative rate.  Pretty good I'd say.  Of course a 0.5% false negative rate's not good for sites that get thousands of comments per day, but I'm pretty sure it would suit the needs of most WP installations out there <img src='http://blog.rayfoo.info/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>[<a href="http://wordpress.org/extend/plugins/wp-spamfree/">WP-SpamFree plugin</a>; <a href="http://www.polepositionmarketing.com/library/wp-spamfree/">WP-SpamFree site</a>]</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rayfoo.info/2010/04/blocking-spam-with-wp-spamfree/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rubbish attracts flies</title>
		<link>http://blog.rayfoo.info/2010/02/rubbish-attracts-flies</link>
		<comments>http://blog.rayfoo.info/2010/02/rubbish-attracts-flies#comments</comments>
		<pubDate>Thu, 25 Feb 2010 17:25:25 +0000</pubDate>
		<dc:creator>ray</dc:creator>
				<category><![CDATA[Everything]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.rayfoo.info/?p=446</guid>
		<description><![CDATA[Immediately after the previous post on the list of SSH user IDs used in attempting the brute forcing, the blog has suddenly gotten a lot more attention... ...from spammers. The number of blocked spam jumped by over a hundred in the span of just a day! Perhaps it would be good to be careful on [...]]]></description>
			<content:encoded><![CDATA[<p>Immediately after the <a href="http://blog.rayfoo.info/2010/02/ssh-brute-force-namelist">previous post</a> on the list of SSH user IDs used in attempting the brute forcing, the blog has suddenly gotten a lot more attention...</p>
<p>...from spammers.  The number of blocked spam jumped by over a hundred in the span of just a day!</p>
<p>Perhaps it would be good to be careful on the wordings used here, don't want Google to be flagging this site as a malicious site <img src='http://blog.rayfoo.info/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rayfoo.info/2010/02/rubbish-attracts-flies/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>So THAT&#8217;S how they do that!</title>
		<link>http://blog.rayfoo.info/2010/02/so-thats-how-they-do-that</link>
		<comments>http://blog.rayfoo.info/2010/02/so-thats-how-they-do-that#comments</comments>
		<pubDate>Mon, 08 Feb 2010 13:57:39 +0000</pubDate>
		<dc:creator>ray</dc:creator>
				<category><![CDATA[Everything]]></category>
		<category><![CDATA[avatar]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[Gravatar]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.rayfoo.info/?p=427</guid>
		<description><![CDATA[Have always wondered how those people commenting in various WordPress blogs get to have their own custom avatar. Now I do know how... Somehow chanced upon this site (http://en.gravatar.com/) which allows you to set a custom avatar, so that when you comment on supported platforms like WordPress, it appears along with your comment. Neat huh? [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://en.gravatar.com/"><img class="alignright size-full wp-image-429" title="Gravatar" src="http://blog.rayfoo.info/wp-content/uploads/2010/02/gravatar.png" alt="Gravatar" width="274" height="55" /></a>Have always wondered how those people commenting in various WordPress blogs get to have their own custom avatar.  Now I do know how...</p>
<p>Somehow chanced upon this site (<a href="http://en.gravatar.com/">http://en.gravatar.com/</a>) which allows you to set a custom avatar, so that when you comment on supported platforms like WordPress, it appears along with your comment.  Neat huh?</p>
<p>How you use it is like this:<br />
1. You register for a Gravatar account.</p>
<p>2. You tie one (or more) email address(es) to that Gravatar account.</p>
<p>3. You upload avatar(s) into your Gravatar account.</p>
<p>4. You tie the avatar(s) to the email address(es) in Gravatar.</p>
<p>5. Go to the (WordPress) blog post and add a comment.  You need to fill in the email address to be the same as one of those you registered into Gravatar.</p>
<p>6. The corresponding Gravatar appears along with your comment!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rayfoo.info/2010/02/so-thats-how-they-do-that/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Restoration</title>
		<link>http://blog.rayfoo.info/2010/01/restoration</link>
		<comments>http://blog.rayfoo.info/2010/01/restoration#comments</comments>
		<pubDate>Mon, 11 Jan 2010 15:32:47 +0000</pubDate>
		<dc:creator>ray</dc:creator>
				<category><![CDATA[Everything]]></category>
		<category><![CDATA[server administration]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.rayfoo.info/?p=389</guid>
		<description><![CDATA[Finally restored the blog in 2.5 hrs, after a stupid mistake following a botched WordPress install. Lesson learnt: even if tools like WordPress Automatic Upgrade helps you to perform backups, make sure you know everything is backed up before you do a delete! Even though all the posts have been restored, I think I will [...]]]></description>
			<content:encoded><![CDATA[<p>Finally restored the blog in 2.5 hrs, after a stupid mistake following a botched WordPress install.</p>
<p>Lesson learnt: even if tools like WordPress Automatic Upgrade helps you to perform backups, make sure you know everything is backed up before you do a delete!</p>
<p>Even though all the posts have been restored, I think I will not restore any more of the lost images, so there.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rayfoo.info/2010/01/restoration/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monitoring WordPress using syslog and OSSEC</title>
		<link>http://blog.rayfoo.info/2009/10/monitoring-wordpress-using-syslog-and-ossec</link>
		<comments>http://blog.rayfoo.info/2009/10/monitoring-wordpress-using-syslog-and-ossec#comments</comments>
		<pubDate>Tue, 06 Oct 2009 16:35:58 +0000</pubDate>
		<dc:creator>ray</dc:creator>
				<category><![CDATA[Everything]]></category>
		<category><![CDATA[audit trail]]></category>
		<category><![CDATA[OSSEC]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[syslog]]></category>
		<category><![CDATA[web application]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.rayfoo.info/?p=202</guid>
		<description><![CDATA[This has got to be one of the unconventional (yet interesting) ideas I've come across. It involves the use of a plugin (currently maintained at OSSEC) to get WordPress to send syslog events for OSSEC to parse.  It is a good idea since it is good to monitor any web applications running for anomalies, but [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ossec.net/"><img class="alignright size-full wp-image-201" title="OSSEC" src="http://blog.rayfoo.info/wp-content/uploads/2009/10/ossec_logo.jpg" alt="OSSEC" width="89" height="37" /></a><a href="http://wordpress.org/download/"><img class="alignright size-full wp-image-200" title="WordPress" src="http://blog.rayfoo.info/wp-content/uploads/2009/10/wordpress-logo.png" alt="WordPress" width="181" height="31" /></a>This has got to be one of the unconventional (yet interesting) ideas I've come across.</p>
<p>It involves the use of a <a href="http://www.ossec.net/main/wpsyslog2">plugin</a> (currently maintained at <a href="http://www.ossec.net/">OSSEC</a>) to get <a href="http://wordpress.org/download/">WordPress</a> to send <a href="http://en.wikipedia.org/wiki/Syslog">syslog</a> events for OSSEC to parse.  It is a good idea since it is good to monitor any web applications running for anomalies, but WordPress doesn't seem to provide any kind of audit logging.</p>
<p>Looking at its capabilities, the first use for this that comes to mind is to monitor sites that run WordPress with multiple user logons.  As for those with insufficient access to your web server (you're on a shared webhost), you're probably better off using the <a href="http://www.wpbeginner.com/wp-tutorials/11-vital-tips-and-hacks-to-protect-your-wordpress-admin-area/">tips given at wpbeginner</a>.</p>
<p>I won't know yet, but perhaps I'll have a better idea on what it is good for after I try it out.</p>
<p>Do YOU use OSSEC to monitor your WordPress installations?  Any comments on it?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rayfoo.info/2009/10/monitoring-wordpress-using-syslog-and-ossec/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting WordPress to work with memcached</title>
		<link>http://blog.rayfoo.info/2009/08/getting-wordpress-to-work-with-memcached</link>
		<comments>http://blog.rayfoo.info/2009/08/getting-wordpress-to-work-with-memcached#comments</comments>
		<pubDate>Sat, 22 Aug 2009 17:15:50 +0000</pubDate>
		<dc:creator>ray</dc:creator>
				<category><![CDATA[Everything]]></category>
		<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[memcached]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.rayfoo.info/?p=9</guid>
		<description><![CDATA[Wordpress can work with memcached as a cache, here's how to do it.]]></description>
			<content:encoded><![CDATA[<p>WordPress can work with memcached as a cache, and there are <a href="http://www.google.com/search?q=wordpress+memcached" target="_blank">plenty</a> of places to find instructions on how to do that.</p>
<p>I referred to <a href="http://ryan.wordpress.com/2005/12/23/memcached-backend/" target="_blank">Ryan</a>'s and <a href="http://mohanjith.net/blog/2008/10/using-memcached-with-wordpress-object-cache.html" target="_blank">Mohanjith</a>'s blog posts that detail this, and after some tweaks to get it up working with the most recent version of WordPress on PHP5, I've decided to write some instructions that are a little more recent <img src='http://blog.rayfoo.info/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><span id="more-9"></span></p>
<h1>1. Install WordPress and memcached. (duh)</h1>
<p>Google for instructions on how to do that for your relevant distros, but I won't be covering that here.  I assume that your memcached server is listening on 127.0.0.1:11211.</p>
<h1>2. Copy object-cache.php into wp-content folder.</h1>
<p>I've mirrored Mohanjith's modified version <a href="http://blog.rayfoo.info/wp-content/uploads/2009/08/object-cache.txt">here</a>.  Do remember to rename it to object-cache.php, and make it readable by the PHP user account.</p>
<h1>3. Edit your wp-config.php file.</h1>
<p>Add these lines in:</p>
<p><code>global $memcached_servers;<br />
$memcached_servers = array('default' =&gt; array('127.0.0.1:11211'));<br />
global $blog_id;<br />
$blog_id = 'some_unique_identifier';</code></p>
<p>If you have different WordPress blogs using the same memcached cache, $blog_id MUST be unique across different blogs.  Else you can just leave it as it is <img src='http://blog.rayfoo.info/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<h1>4. Enjoy the speedup.</h1>
<p>There you're done!  You can verify that WordPress is using the memcached cache by issuing the "stats" command to memcached, which I probably will write how to in another post.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rayfoo.info/2009/08/getting-wordpress-to-work-with-memcached/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

