<?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>ryoku.org</title>
	<atom:link href="http://www.ryoku.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ryoku.org</link>
	<description>Nerd stuff</description>
	<lastBuildDate>Mon, 15 Feb 2010 18:23:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>www.ryoku.org now available on ipv6</title>
		<link>http://www.ryoku.org/2010/02/www-ryoku-org-now-available-on-ipv6/</link>
		<comments>http://www.ryoku.org/2010/02/www-ryoku-org-now-available-on-ipv6/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 18:23:05 +0000</pubDate>
		<dc:creator>Arijan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.ryoku.org/?p=205</guid>
		<description><![CDATA[I&#8217;ve migrated most of my network to ipv6 this weekend, this evening I migrated my webserver. You can now visit this site using either ipv6 or ipv4.
The process of setting it all up is a bit confusing at first if you are still in an ipv4 mindset. The concept of broadcasting and firewalls took me [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve migrated most of my network to ipv6 this weekend, this evening I migrated my webserver. You can now visit this site using either ipv6 or ipv4.</p>
<p>The process of setting it all up is a bit confusing at first if you are still in an ipv4 mindset. The concept of broadcasting and firewalls took me some time to get used too.</p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.ryoku.org/2010/02/www-ryoku-org-now-available-on-ipv6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iMac still waiting for root device</title>
		<link>http://www.ryoku.org/2010/02/imac-still-waiting-for-root-device/</link>
		<comments>http://www.ryoku.org/2010/02/imac-still-waiting-for-root-device/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 23:11:07 +0000</pubDate>
		<dc:creator>Arijan</dc:creator>
				<category><![CDATA[Computing]]></category>

		<guid isPermaLink="false">http://www.ryoku.org/?p=202</guid>
		<description><![CDATA[Somehow I managed to get my iMac to hang on bootup with the &#8220;still waiting for root device&#8221; message.
This message is not unfamiliar for me since I used a hackingtosh in the past, there it used to mean that the bootdevice could not be found. After booting in verbose mode (cmd+v at boot) to discover [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Somehow I managed to get my iMac to hang on bootup with the &#8220;still waiting for root device&#8221; message.</p>
<p>This message is not unfamiliar for me since I used a hackingtosh in the past, there it used to mean that the bootdevice could not be found. After booting in verbose mode (cmd+v at boot) to discover what was bugging my mac I tried single user mode (shift during boot) I was amazed to find the iMac would boot normally in safemode.</p>
<p>After scouting around a bit I found out about the &#8220;bless&#8221; command. </p>
<pre class="brush: plain;">
sudo bless --folder /System/Library/CireServces --bootefi
</pre>
<p>Fixed my problem, so luckily I don&#8217;t need to re-install my Mac.</p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.ryoku.org/2010/02/imac-still-waiting-for-root-device/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The playstation 3 has been hacked.</title>
		<link>http://www.ryoku.org/2010/01/the-playstation-3-has-been-hacked/</link>
		<comments>http://www.ryoku.org/2010/01/the-playstation-3-has-been-hacked/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 17:17:30 +0000</pubDate>
		<dc:creator>Arijan</dc:creator>
				<category><![CDATA[Computing]]></category>

		<guid isPermaLink="false">http://www.ryoku.org/?p=198</guid>
		<description><![CDATA[Two days ago George Hotz managed to get full access to the cpu and memory of the playstation 3.
He is the same guy that did some hacking on the iPhone (blacksn0w), apparently it took him 5 weeks to crack it. It&#8217;s quite an impressive job, the playstation 3 remained untouched for 3+ years. 
More information [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Two days ago George Hotz managed to get full access to the cpu and memory of the playstation 3.</p>
<p>He is the same guy that did some hacking on the iPhone (blacksn0w), apparently it took him 5 weeks to crack it. It&#8217;s quite an impressive job, the playstation 3 remained untouched for 3+ years. </p>
<p>More information about this can be found on his <a href="http://geohotps3.blogspot.com/">blog</a>.</p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.ryoku.org/2010/01/the-playstation-3-has-been-hacked/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sithid.com</title>
		<link>http://www.ryoku.org/2010/01/sithid-com/</link>
		<comments>http://www.ryoku.org/2010/01/sithid-com/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 01:00:25 +0000</pubDate>
		<dc:creator>Arijan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.ryoku.org/?p=195</guid>
		<description><![CDATA[Today I launched a new domain, I named it sithid.com.
The name doesn&#8217;t have a special meaning or deeper thoughts, I just like the name. For me sithid.com is a place where I will host my public projects and the spot where I experiment with ruby on rails.
Currently I am in the process of configuring redmine [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Today I launched a new domain, I named it <a href="http://www.sithid.com">sithid.com</a>.</p>
<p>The name doesn&#8217;t have a special meaning or deeper thoughts, I just like the name. For me <a href="http://www.sithid.com">sithid.com</a> is a place where I will host my public projects and the spot where I experiment with ruby on rails.</p>
<p>Currently I am in the process of configuring redmine for project management, the domain should be available soon depending on your dns configuration.</p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.ryoku.org/2010/01/sithid-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EnterpriseDB</title>
		<link>http://www.ryoku.org/2010/01/enterprisedb/</link>
		<comments>http://www.ryoku.org/2010/01/enterprisedb/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 18:33:11 +0000</pubDate>
		<dc:creator>Arijan</dc:creator>
				<category><![CDATA[Computing]]></category>

		<guid isPermaLink="false">http://www.ryoku.org/?p=190</guid>
		<description><![CDATA[This week I am receiving training in EnterpriseDB Advanced Server (the commercial postgresql), as an Oracle DBA I am quite impressed with the features it offers.
I think this certainly will have it&#8217;s uses, and it provides a nice alternative for 50 to 80% of the databases on the market. 
Later this week I hope to [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>This week I am receiving training in EnterpriseDB Advanced Server (the commercial postgresql), as an Oracle DBA I am quite impressed with the features it offers.</p>
<p>I think this certainly will have it&#8217;s uses, and it provides a nice alternative for 50 to 80% of the databases on the market. </p>
<p>Later this week I hope to become certified.</p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.ryoku.org/2010/01/enterprisedb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up jabberd2</title>
		<link>http://www.ryoku.org/2010/01/setting-up-jabberd2/</link>
		<comments>http://www.ryoku.org/2010/01/setting-up-jabberd2/#comments</comments>
		<pubDate>Sun, 03 Jan 2010 20:32:38 +0000</pubDate>
		<dc:creator>Arijan</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[xmpp]]></category>

		<guid isPermaLink="false">http://www.ryoku.org/?p=183</guid>
		<description><![CDATA[Today I&#8217;ve setup a jabber daemon, more specific jabberd2 following the documentation over at jabberdoc.org
It went quite smoothly, however there are a few pitfalls with the tls/ssl configuration, on my client I got several error messages regarding the TLS handshake. After looking in the server logs I found a bunch of error messages like illustrated [...]


Related posts:<ol><li><a href='http://www.ryoku.org/2009/12/fun-with-puppet-and-rsyslog/' rel='bookmark' title='Permanent Link: Fun with puppet and rsyslog'>Fun with puppet and rsyslog</a> <small>Today I switched from syslog-ng to rsyslog, I am also...</small></li>
<li><a href='http://www.ryoku.org/2009/11/using-syslog-ng-as-a-central-loghost/' rel='bookmark' title='Permanent Link: Using syslog-ng as a central loghost'>Using syslog-ng as a central loghost</a> <small>Today I woke up and found out that syslog-ng 3.0...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Today I&#8217;ve setup a jabber daemon, more specific jabberd2 following the <a href='http://www.jabberdoc.org/FrontPage'>documentation</a> over at jabberdoc.org</p>
<p>It went quite smoothly, however there are a few pitfalls with the tls/ssl configuration, on my client I got several error messages regarding the TLS handshake. After looking in the server logs I found a bunch of error messages like illustrated below:</p>
<pre class="brush: plain;">
error: SSL handshake error (error:140890C7:SSL routines:SSL3_GET_CLIENT_CERTIFICATE:peer did not return a certificate)
</pre>
<p>The reason for this error was the &#8220;verify-mode&#8221; directive in c2s.xml, I changed this from 7 (where you require client certificates) to 2 (where you don&#8217;t require client certificates)</p>
<p>It is all working quite well, currently I am writing a ruby client to pass alerts trough my jabber setup.</p>


<p>Related posts:<ol><li><a href='http://www.ryoku.org/2009/12/fun-with-puppet-and-rsyslog/' rel='bookmark' title='Permanent Link: Fun with puppet and rsyslog'>Fun with puppet and rsyslog</a> <small>Today I switched from syslog-ng to rsyslog, I am also...</small></li>
<li><a href='http://www.ryoku.org/2009/11/using-syslog-ng-as-a-central-loghost/' rel='bookmark' title='Permanent Link: Using syslog-ng as a central loghost'>Using syslog-ng as a central loghost</a> <small>Today I woke up and found out that syslog-ng 3.0...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.ryoku.org/2010/01/setting-up-jabberd2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A central loghost</title>
		<link>http://www.ryoku.org/2009/12/a-central-loghost/</link>
		<comments>http://www.ryoku.org/2009/12/a-central-loghost/#comments</comments>
		<pubDate>Sun, 27 Dec 2009 01:39:34 +0000</pubDate>
		<dc:creator>Arijan</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[syslog]]></category>

		<guid isPermaLink="false">http://www.ryoku.org/?p=181</guid>
		<description><![CDATA[As promised in my previous post, my configuration for a central loghost using rsyslog.
Most of my clients connect using tls, however some devices do not support this (dd-wrt for example), so I also open an udp socket for use on the lan only.
I use splunk to mine my logs.

$ModLoad imuxsock # provides support for local [...]


Related posts:<ol><li><a href='http://www.ryoku.org/2009/11/using-syslog-ng-as-a-central-loghost/' rel='bookmark' title='Permanent Link: Using syslog-ng as a central loghost'>Using syslog-ng as a central loghost</a> <small>Today I woke up and found out that syslog-ng 3.0...</small></li>
<li><a href='http://www.ryoku.org/2009/12/fun-with-puppet-and-rsyslog/' rel='bookmark' title='Permanent Link: Fun with puppet and rsyslog'>Fun with puppet and rsyslog</a> <small>Today I switched from syslog-ng to rsyslog, I am also...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>As promised in my previous post, my configuration for a central loghost using rsyslog.</p>
<p>Most of my clients connect using tls, however some devices do not support this (dd-wrt for example), so I also open an udp socket for use on the lan only.</p>
<p>I use <a href='http://www.splunk.com'>splunk</a> to mine my logs.</p>
<pre class="brush: plain;">
$ModLoad imuxsock # provides support for local system logging
$ModLoad imklog   # provides kernel logging support (previously done by rklogd)

# UDP socket for lan (dd-wrt etc)
$ModLoad imudp
$UDPServerRun 514

# TCP socket for tls clients
$ModLoad imtcp

$DefaultNetstreamDriver gtls
$DefaultNetstreamDriverCAFile /etc/rsyslog/ca.pem
$DefaultNetstreamDriverCertFile /etc/rsyslog/loghost.pem
$DefaultNetstreamDriverKeyFile /etc/rsyslog/loghost.key.pem

$InputTCPServerStreamDriverAuthMode x509/name
$InputTCPServerStreamDriverPermittedPeer *.ryoku.org
$InputTCPServerStreamDriverPermittedPeer *.home
$InputTCPServerStreamDriverMode 1
$InputTCPServerRun 514

$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat

$FileOwner root
$FileGroup adm
$FileCreateMode 0640
$DirCreateMode 0755
$Umask 0022

$IncludeConfig /etc/rsyslog.d/*.conf

# Templates for central loghost
$template t-messages,&quot;/var/log/hosts/%HOSTNAME%/%$YEAR%%$MONTH%/messages&quot;
$template t-debug,&quot;/var/log/hosts/%HOSTNAME%/%$YEAR%%$MONTH%/debug&quot;

$template t-auth,&quot;/var/log/hosts/%HOSTNAME%/%$YEAR%%$MONTH%/auth.log&quot;
$template t-syslog,&quot;/var/log/hosts/%HOSTNAME%/%$YEAR%%$MONTH%/syslog&quot;
$template t-cron,&quot;/var/log/hosts/%HOSTNAME%/%$YEAR%%$MONTH%/cron.log&quot;
$template t-daemon,&quot;/var/log/hosts/%HOSTNAME%/%$YEAR%%$MONTH%/daemon.log&quot;
$template t-kern,&quot;/var/log/hosts/%HOSTNAME%/%$YEAR%%$MONTH%/kern.log&quot;
$template t-lpr,&quot;/var/log/hosts/%HOSTNAME%/%$YEAR%%$MONTH%/lpr.log&quot;
$template t-mail,&quot;/var/log/hosts/%HOSTNAME%/%$YEAR%%$MONTH%/mail.log&quot;
$template t-user,&quot;/var/log/hosts/%HOSTNAME%/%$YEAR%%$MONTH%/user.log&quot;

$template t-mail-info,&quot;/var/log/hosts/%HOSTNAME%/%$YEAR%%$MONTH%/mail.info&quot;
$template t-mail-warn,&quot;/var/log/hosts/%HOSTNAME%/%$YEAR%%$MONTH%/mail.warn&quot;
$template t-mail-err,&quot;/var/log/hosts/%HOSTNAME%/%$YEAR%%$MONTH%/mail.err&quot;

# Standard logfiles
auth,authpriv.*			?t-auth
*.*;auth,authpriv.none		-?t-syslog
#cron.*				?t-cron
daemon.*			-?t-daemon
kern.*				-?t-kern
lpr.*				-?t-lpr
mail.*				-?t-mail
user.*				-?t-user

# Mail logging
mail.info			-?t-mail-info
mail.warn			-?t-mail-warn
mail.err			?t-mail-err

# Catchall
*.=debug;\
	auth,authpriv.none;\
	news.none;mail.none	-?t-debug
*.=info;*.=notice;*.=warn;\
	auth,authpriv.none;\
	cron,daemon.none;\
	mail,news.none		-?t-messages

# Emerg goes to all who are logged in
*.emerg				*
</pre>


<p>Related posts:<ol><li><a href='http://www.ryoku.org/2009/11/using-syslog-ng-as-a-central-loghost/' rel='bookmark' title='Permanent Link: Using syslog-ng as a central loghost'>Using syslog-ng as a central loghost</a> <small>Today I woke up and found out that syslog-ng 3.0...</small></li>
<li><a href='http://www.ryoku.org/2009/12/fun-with-puppet-and-rsyslog/' rel='bookmark' title='Permanent Link: Fun with puppet and rsyslog'>Fun with puppet and rsyslog</a> <small>Today I switched from syslog-ng to rsyslog, I am also...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.ryoku.org/2009/12/a-central-loghost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fun with puppet and rsyslog</title>
		<link>http://www.ryoku.org/2009/12/fun-with-puppet-and-rsyslog/</link>
		<comments>http://www.ryoku.org/2009/12/fun-with-puppet-and-rsyslog/#comments</comments>
		<pubDate>Sun, 27 Dec 2009 00:48:11 +0000</pubDate>
		<dc:creator>Arijan</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[puppet]]></category>
		<category><![CDATA[syslog]]></category>

		<guid isPermaLink="false">http://www.ryoku.org/?p=179</guid>
		<description><![CDATA[Today I switched from syslog-ng to rsyslog, I am also working with puppet nowadays, I wrote a module for puppet that provides my syslog clients with their certificates (I use TLS to secure the transport)
Below is the module I wrote for puppet, the script I wrote to generate certificates for the client machine store the [...]


Related posts:<ol><li><a href='http://www.ryoku.org/2009/12/a-central-loghost/' rel='bookmark' title='Permanent Link: A central loghost'>A central loghost</a> <small>As promised in my previous post, my configuration for a...</small></li>
<li><a href='http://www.ryoku.org/2009/12/puppet/' rel='bookmark' title='Permanent Link: Puppet'>Puppet</a> <small>I&#8217;m tinkering around with puppet lately. For those who don&#8217;t...</small></li>
<li><a href='http://www.ryoku.org/2010/01/setting-up-jabberd2/' rel='bookmark' title='Permanent Link: Setting up jabberd2'>Setting up jabberd2</a> <small>Today I&#8217;ve setup a jabber daemon, more specific jabberd2 following...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Today I switched from syslog-ng to rsyslog, I am also working with puppet nowadays, I wrote a module for puppet that provides my syslog clients with their certificates (I use TLS to secure the transport)</p>
<p>Below is the module I wrote for puppet, the script I wrote to generate certificates for the client machine store the certificates into the files area of the module.</p>
<pre class="brush: plain;">
class rsyslog-client {

	package { &quot;rsyslog&quot;:
		ensure =&gt; present,
	}

	package { &quot;rsyslog-gnutls&quot;:
		ensure =&gt; present,
	}

	service { &quot;rsyslog&quot;:
		ensure =&gt; running,
	}

	host { &quot;loghost&quot;:
		ensure =&gt; present,
		name =&gt; &quot;loghost&quot;,
		ip =&gt; &quot;$loghost&quot;,
	}

	file { &quot;/etc/rsyslog&quot;:
		ensure =&gt; directory,
	}	

	file { &quot;/etc/rsyslog/$fqdn.key.pem&quot;:
		owner =&gt; root,
		group =&gt; root,
		source =&gt; &quot;puppet:///rsyslog-client/$fqdn.key.pem&quot;,
		ensure =&gt; file,
		notify =&gt; service[&quot;rsyslog&quot;],
	}

	file { &quot;/etc/rsyslog/$fqdn.pem&quot;:
		owner =&gt; root,
		group =&gt; root,
		source =&gt; &quot;puppet:///rsyslog-client/$fqdn.pem&quot;,
		ensure =&gt; file,
		notify =&gt; service[&quot;rsyslog&quot;],
	}

	file { &quot;/etc/rsyslog/ca.pem&quot;:
		owner =&gt; root,
		group =&gt; root,
		source =&gt; &quot;puppet:///rsyslog-client/ca.pem&quot;,
		ensure =&gt; file,
		notify =&gt; service[&quot;rsyslog&quot;],
	}

	file { &quot;/etc/rsyslog.conf&quot;:
		owner 	=&gt; root,
		group	=&gt; root,
		content =&gt; template(&quot;rsyslog-client/rsyslog.conf.erb&quot;),
		ensure  =&gt; file,
		require =&gt; package[&quot;rsyslog&quot;],
		notify  =&gt; service[&quot;rsyslog&quot;]
	}

}
</pre>
<p>I&#8217;ll post my rsyslog.conf of the central loghost when I have written a decent one.</p>


<p>Related posts:<ol><li><a href='http://www.ryoku.org/2009/12/a-central-loghost/' rel='bookmark' title='Permanent Link: A central loghost'>A central loghost</a> <small>As promised in my previous post, my configuration for a...</small></li>
<li><a href='http://www.ryoku.org/2009/12/puppet/' rel='bookmark' title='Permanent Link: Puppet'>Puppet</a> <small>I&#8217;m tinkering around with puppet lately. For those who don&#8217;t...</small></li>
<li><a href='http://www.ryoku.org/2010/01/setting-up-jabberd2/' rel='bookmark' title='Permanent Link: Setting up jabberd2'>Setting up jabberd2</a> <small>Today I&#8217;ve setup a jabber daemon, more specific jabberd2 following...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.ryoku.org/2009/12/fun-with-puppet-and-rsyslog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Puppet</title>
		<link>http://www.ryoku.org/2009/12/puppet/</link>
		<comments>http://www.ryoku.org/2009/12/puppet/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 20:09:30 +0000</pubDate>
		<dc:creator>Arijan</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[puppet]]></category>

		<guid isPermaLink="false">http://www.ryoku.org/?p=175</guid>
		<description><![CDATA[I&#8217;m tinkering around with puppet lately.
For those who don&#8217;t know what puppet is, it&#8217;s a tool for sys admins. It&#8217;s written in ruby so it&#8217;s quite platform independent. You can use the tool to describe your it landscape, you can write classes and add them to various nodes in your network in a central place. [...]


Related posts:<ol><li><a href='http://www.ryoku.org/2009/12/fun-with-puppet-and-rsyslog/' rel='bookmark' title='Permanent Link: Fun with puppet and rsyslog'>Fun with puppet and rsyslog</a> <small>Today I switched from syslog-ng to rsyslog, I am also...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m tinkering around with <a href='http://reductivelabs.com/products/puppet/'>puppet</a> lately.</p>
<p>For those who don&#8217;t know what puppet is, it&#8217;s a tool for sys admins. It&#8217;s written in ruby so it&#8217;s quite platform independent. You can use the tool to describe your it landscape, you can write classes and add them to various nodes in your network in a central place. For example you can write an ssh class where make sure the sshd only accepts public keys and disables keyboard interactive authentication, you can also transfer files with puppet thus distributing all your keys.</p>
<p>The beauty is that puppet will make sure your node complies to the classes assigned to them on specified intervals. When a change is made to your node by a developer or user that conflicts with your central policy puppet will correct it leaving your landscape in a known state.</p>


<p>Related posts:<ol><li><a href='http://www.ryoku.org/2009/12/fun-with-puppet-and-rsyslog/' rel='bookmark' title='Permanent Link: Fun with puppet and rsyslog'>Fun with puppet and rsyslog</a> <small>Today I switched from syslog-ng to rsyslog, I am also...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.ryoku.org/2009/12/puppet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using syslog-ng as a central loghost</title>
		<link>http://www.ryoku.org/2009/11/using-syslog-ng-as-a-central-loghost/</link>
		<comments>http://www.ryoku.org/2009/11/using-syslog-ng-as-a-central-loghost/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 22:44:29 +0000</pubDate>
		<dc:creator>Arijan</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Splunk]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.ryoku.org/?p=171</guid>
		<description><![CDATA[Today I woke up and found out that syslog-ng 3.0 supports native tls for securing your log transport. In the past I have used syslog-ng in combination with stunnel.
I configured my loghost to log all messages to /var/log/hosts/$hostname/$year/$month/, I reconfigured the servers on my lan to use the unencrypted transport (s_remote) and my servers somewhere [...]


Related posts:<ol><li><a href='http://www.ryoku.org/2009/12/a-central-loghost/' rel='bookmark' title='Permanent Link: A central loghost'>A central loghost</a> <small>As promised in my previous post, my configuration for a...</small></li>
<li><a href='http://www.ryoku.org/2009/12/fun-with-puppet-and-rsyslog/' rel='bookmark' title='Permanent Link: Fun with puppet and rsyslog'>Fun with puppet and rsyslog</a> <small>Today I switched from syslog-ng to rsyslog, I am also...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Today I woke up and found out that syslog-ng 3.0 supports native tls for securing your log transport. In the past I have used syslog-ng in combination with stunnel.</p>
<p>I configured my loghost to log all messages to /var/log/hosts/$hostname/$year/$month/, I reconfigured the servers on my lan to use the unencrypted transport (s_remote) and my servers somewhere on the internet to use the secure transport (s_tls)</p>
<pre class="brush: plain;">
@version: 3.0

options {
	chain_hostnames(no);
	stats_freq(43200);
	create_dirs (yes);
};

source s_local {
    unix-stream(&quot;/dev/log&quot; max-connections(256));
    internal();
    file(&quot;/proc/kmsg&quot;);
};

source s_remote {
	tcp();
	udp();
};

source s_tls {
	syslog(ip(0.0.0.0) port(2009)
		transport(&quot;tls&quot;)
		tls( key_file(&quot;/etc/syslog-ng/key.d/syslog-ng-server.key&quot;) cert_file(&quot;/etc/syslog-ng/cert.d/syslog-ng-server.cert&quot;)
	peer_verify(optional-untrusted)) );
};

destination d_console_all { file(&quot;/dev/tty12&quot;); };
destination d_messages { file(&quot;/var/log/hosts/$HOST/$YEAR/$MONTH/messages&quot;); };
destination d_auth { file(&quot;/var/log/hosts/$HOST/$YEAR/$MONTH/auth.log&quot;); };

filter f_auth { facility(auth, authpriv); };

log { source(s_local); destination(d_console_all); };

log { source(s_local); filter(f_auth); destination(d_auth); };
log { source(s_remote); filter(f_auth); destination(d_auth); };
log { source(s_tls); filter(f_auth); destination(d_auth); };

log { source(s_remote); destination(d_messages); };
log { source(s_local); destination(d_messages); };
log { source(s_tls); destination(d_messages); };
</pre>
<p>There is also a copy of splunk running on my loghost, to query and log-mine my logging, I am quite happy with this setup and will be adding notification to my logging using the &#8220;program&#8221; directive of syslog-ng soon.</p>


<p>Related posts:<ol><li><a href='http://www.ryoku.org/2009/12/a-central-loghost/' rel='bookmark' title='Permanent Link: A central loghost'>A central loghost</a> <small>As promised in my previous post, my configuration for a...</small></li>
<li><a href='http://www.ryoku.org/2009/12/fun-with-puppet-and-rsyslog/' rel='bookmark' title='Permanent Link: Fun with puppet and rsyslog'>Fun with puppet and rsyslog</a> <small>Today I switched from syslog-ng to rsyslog, I am also...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.ryoku.org/2009/11/using-syslog-ng-as-a-central-loghost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
