<?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>Code and Complexity</title>
	<atom:link href="http://www.chesterproductions.net.nz/blogs/it/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chesterproductions.net.nz/blogs/it</link>
	<description>Yet more about software and systems on the Internet</description>
	<lastBuildDate>Thu, 28 Jan 2010 04:12:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>SELinux and audit2allow</title>
		<link>http://www.chesterproductions.net.nz/blogs/it/sysadmin/selinux-and-audit2allow/226/</link>
		<comments>http://www.chesterproductions.net.nz/blogs/it/sysadmin/selinux-and-audit2allow/226/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 04:12:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[selinux]]></category>

		<guid isPermaLink="false">http://www.chesterproductions.net.nz/blogs/it/?p=226</guid>
		<description><![CDATA[Using SELinux is reasonably straight forward once you get used to it.  It protects OS objects and configuration from potentially dangerous manipulation.  If an exception to its current policy is found then it is logged and either denied or allowed.  The reasons that it may be allowed depend on the policy&#8217;s construction.
For me I use [...]]]></description>
		<wfw:commentRss>http://www.chesterproductions.net.nz/blogs/it/sysadmin/selinux-and-audit2allow/226/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Brief Linux Sockets Connect Illustration</title>
		<link>http://www.chesterproductions.net.nz/blogs/it/code/a-brief-linux-sockets-connect-illustration/223/</link>
		<comments>http://www.chesterproductions.net.nz/blogs/it/code/a-brief-linux-sockets-connect-illustration/223/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 09:14:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[c++]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[sockets]]></category>

		<guid isPermaLink="false">http://www.chesterproductions.net.nz/blogs/it/?p=223</guid>
		<description><![CDATA[For a little while I&#8217;ve been playing with sockets in C now and have come up with the following succinct example of connecting.  Note that the connection is fairly flexible with regards to protocol and transport type.  It really is simply there to make the connection to somewhere else with as few questions asked.  It [...]]]></description>
		<wfw:commentRss>http://www.chesterproductions.net.nz/blogs/it/code/a-brief-linux-sockets-connect-illustration/223/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>When there&#8217;s Nothing in your Sock</title>
		<link>http://www.chesterproductions.net.nz/blogs/it/code/when-theres-nothing-in-your-sock/214/</link>
		<comments>http://www.chesterproductions.net.nz/blogs/it/code/when-theres-nothing-in-your-sock/214/#comments</comments>
		<pubDate>Sun, 03 Jan 2010 04:32:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[c++]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[sockets]]></category>

		<guid isPermaLink="false">http://www.chesterproductions.net.nz/blogs/it/?p=214</guid>
		<description><![CDATA[Normally I do most of my network programming in Java; life is just easier that way.  But some times, *very* rarely, you need to carve up a little C.  So I&#8217;ve not touched socket networking for a while and all its foibles.  Hence a few problems with reading from a socket.
When socket programming with [...]]]></description>
		<wfw:commentRss>http://www.chesterproductions.net.nz/blogs/it/code/when-theres-nothing-in-your-sock/214/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Looping Back through Netfilter</title>
		<link>http://www.chesterproductions.net.nz/blogs/it/code/looping-back-through-netfilter/206/</link>
		<comments>http://www.chesterproductions.net.nz/blogs/it/code/looping-back-through-netfilter/206/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 07:50:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[code]]></category>

		<guid isPermaLink="false">http://www.chesterproductions.net.nz/blogs/it/?p=206</guid>
		<description><![CDATA[Using netfilter as a loopback device is surprisingly simple and can let you tap into that network conversation between components on a platform that tends to be hidden by the OS in its own loopback device.  Here&#8217;s how:

iptables -t nat -A PREROUTING -s 192.168.122.2 -d 192.168.2.7 -p tcp --dport 80 -j DNAT --to 192.168.122.2:80
iptables [...]]]></description>
		<wfw:commentRss>http://www.chesterproductions.net.nz/blogs/it/code/looping-back-through-netfilter/206/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hex Translation of a char Buffer to a hex char Buffer</title>
		<link>http://www.chesterproductions.net.nz/blogs/it/c/hex-translation-of-a-char-buffer-to-a-hex-char-buffer/199/</link>
		<comments>http://www.chesterproductions.net.nz/blogs/it/c/hex-translation-of-a-char-buffer-to-a-hex-char-buffer/199/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 05:20:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[c++]]></category>

		<guid isPermaLink="false">http://www.chesterproductions.net.nz/blogs/it/?p=199</guid>
		<description><![CDATA[Some time ago I wrote up a hex2bin and a bin2hex utility in this blog.  This is an example of my hint in the comments in that blog as I&#8217;ve seen quite a few rather hashed attempts and it is really dauntingly simple.  I didn&#8217;t think that I needed to write it!  Note there&#8217;s no [...]]]></description>
		<wfw:commentRss>http://www.chesterproductions.net.nz/blogs/it/c/hex-translation-of-a-char-buffer-to-a-hex-char-buffer/199/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PSP Movie Encoding</title>
		<link>http://www.chesterproductions.net.nz/blogs/it/scripts/psp-movie-encoding/189/</link>
		<comments>http://www.chesterproductions.net.nz/blogs/it/scripts/psp-movie-encoding/189/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 09:22:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[scripts]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.chesterproductions.net.nz/blogs/it/?p=189</guid>
		<description><![CDATA[If you want to encode video to PSP format on Linux install ffmpeg and try this:
ffmpeg -i my_home_movie.mpg -f psp -r 29.97 -b 512k -ar 24000 -ab 64k -s 368x208 my_home_movie.mp4
Or if you prefer the other style you can try this:
ffmpeg -i my_home_movie.mpg -f psp -r 29.97 -b 512k -ar 24000 -ab 64k -s 320x240 [...]]]></description>
		<wfw:commentRss>http://www.chesterproductions.net.nz/blogs/it/scripts/psp-movie-encoding/189/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pidgin and Office Communicator</title>
		<link>http://www.chesterproductions.net.nz/blogs/it/sysadmin/pidgin-and-office-communicator/182/</link>
		<comments>http://www.chesterproductions.net.nz/blogs/it/sysadmin/pidgin-and-office-communicator/182/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 04:16:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.chesterproductions.net.nz/blogs/it/?p=182</guid>
		<description><![CDATA[We use office communicator at work which is a bit of a pain because it doesn&#8217;t log anything.  If you want to save your conversation you will need to resort to the old copy and paste trick.  Nothing as nice as Pidgin&#8217;s log option.
So I&#8217;ve gone back to Pidgin and installed the SIPE [...]]]></description>
		<wfw:commentRss>http://www.chesterproductions.net.nz/blogs/it/sysadmin/pidgin-and-office-communicator/182/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache Tomcat 6 and the HSM</title>
		<link>http://www.chesterproductions.net.nz/blogs/it/code/apache-tomcat-6-and-the-hsm/160/</link>
		<comments>http://www.chesterproductions.net.nz/blogs/it/code/apache-tomcat-6-and-the-hsm/160/#comments</comments>
		<pubDate>Sat, 25 Jul 2009 10:41:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[hsm]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.chesterproductions.net.nz/blogs/it/?p=160</guid>
		<description><![CDATA[Recently I&#8217;ve had some real fun with SafeNet HSM&#8217;s (Host Security Module or Hardware Security Module) and Tomcat 6 in the never ending process of PCIDSS compliance.  People are probably going to line up to stone me after saying this but PCIDSS is a really great effort to make things safe and secure for all [...]]]></description>
		<wfw:commentRss>http://www.chesterproductions.net.nz/blogs/it/code/apache-tomcat-6-and-the-hsm/160/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>To Mail a File Elegantly &#8211; Python or Perl?</title>
		<link>http://www.chesterproductions.net.nz/blogs/it/code/to-mail-a-file-elegantly-python-or-perl/144/</link>
		<comments>http://www.chesterproductions.net.nz/blogs/it/code/to-mail-a-file-elegantly-python-or-perl/144/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 10:23:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[scripting]]></category>

		<guid isPermaLink="false">http://www.chesterproductions.net.nz/blogs/it/?p=144</guid>
		<description><![CDATA[People fixate on particular languages and stir hot debates over the entrails of code compared in the cold hard light of a walk through but is the debate over which language is better worth even the energy of debate any more?  Take for example a trivial task such as regularly sending a file via [...]]]></description>
		<wfw:commentRss>http://www.chesterproductions.net.nz/blogs/it/code/to-mail-a-file-elegantly-python-or-perl/144/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Flatening Java Servlet Request Maps</title>
		<link>http://www.chesterproductions.net.nz/blogs/it/java/flatening-java-servlet-request-maps/140/</link>
		<comments>http://www.chesterproductions.net.nz/blogs/it/java/flatening-java-servlet-request-maps/140/#comments</comments>
		<pubDate>Sun, 12 Jul 2009 02:44:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[java map]]></category>
		<category><![CDATA[to string]]></category>

		<guid isPermaLink="false">http://www.chesterproductions.net.nz/blogs/it/?p=140</guid>
		<description><![CDATA[Some times it is necessary to flatten a map into a string.  For example when trying to log a servlet request onto a single log line without loosing too much info.  In this case each value is an array of strings.  So here it is, short and effective.  Enjoy!

  private [...]]]></description>
		<wfw:commentRss>http://www.chesterproductions.net.nz/blogs/it/java/flatening-java-servlet-request-maps/140/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
