<?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 &#187; Computing</title>
	<atom:link href="http://www.ryoku.org/category/computing/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>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>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>
		<item>
		<title>Using samba for time machine</title>
		<link>http://www.ryoku.org/2009/04/using-samba-for-time-machine/</link>
		<comments>http://www.ryoku.org/2009/04/using-samba-for-time-machine/#comments</comments>
		<pubDate>Sat, 11 Apr 2009 20:26:27 +0000</pubDate>
		<dc:creator>Arijan</dc:creator>
				<category><![CDATA[Computing]]></category>

		<guid isPermaLink="false">http://www.ryoku.org/?p=123</guid>
		<description><![CDATA[The title says samba, but you can actually use any network attached storage device, as long as OSX can communicate with it.
First enable unsupported network devices within OSX, open up a terminal and type:
defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1
Once that has been done we need to create a sparse image file for the time machine backups, [...]


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>
</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>The title says samba, but you can actually use any network attached storage device, as long as OSX can communicate with it.</p>
<p>First enable unsupported network devices within OSX, open up a terminal and type:</p>
<div class="code"><code>defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1</code></div>
<p>Once that has been done we need to create a sparse image file for the time machine backups, turn of time machine first. Then find out what your mac address is of the nic that will be connecting to your network attached storage device.</p>
<div class="code"><code>ifconfig en0 | grep ether</code></div>
<p>The reason why we need is mac address is because time machine uses the hostname and mac address to identify which sparse image to use. It&#8217;s time to create the disk image, do this on your local mac not on the storage device. Let&#8217;s say your computer name is &#8220;mac&#8221; and your mac address is 00:16:cb:af:91:d2 and the space you want to allocate for backups is 500g:</p>
<div class="code"><code>hdiutil -size 500g -fs HFS+J -volname "Backup of mac" mac_0016cbaf91d2.sparsebundle</code></div>
<p>Connect to the network storage device in finder and move the sparse image you created to the share you want to use for time machine backups, go to the preferences of time machine, change the destination turn it on and you are set.</p>


<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>
</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/04/using-samba-for-time-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Data gathering and visualisation with Maltego</title>
		<link>http://www.ryoku.org/2009/03/data-gathering-and-visualisation-with-maltego/</link>
		<comments>http://www.ryoku.org/2009/03/data-gathering-and-visualisation-with-maltego/#comments</comments>
		<pubDate>Sat, 21 Mar 2009 13:30:55 +0000</pubDate>
		<dc:creator>Arijan</dc:creator>
				<category><![CDATA[Computing]]></category>

		<guid isPermaLink="false">http://www.ryoku.org/?p=110</guid>
		<description><![CDATA[I just hit my 75 tranformations limit on the community edition of Maltego, and I must say I am quite impressed. This tool allows you to gather data en visualize it in different ways. Data can be technical like domains, websites, netblocks etc but you can also gather information about email adresses and persons.
Maltego gets [...]


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 just hit my 75 tranformations limit on the community edition of <a href="http://www.paterva.com/maltego/">Maltego</a>, and I must say I am quite impressed. This tool allows you to gather data en visualize it in different ways. Data can be technical like domains, websites, netblocks etc but you can also gather information about email adresses and persons.</p>
<p>Maltego gets it&#8217;s data from the web and it shows the relation between gathered information.</p>
<p><a href="http://www.ryoku.org/wp-content/uploads/2009/03/screenshot-maltego-v202ce.png"><img src="http://www.ryoku.org/wp-content/uploads/2009/03/screenshot-maltego-v202ce-300x158.png" alt="screenshot-maltego-v202ce" title="screenshot-maltego-v202ce" width="300" height="158" class="alignnone size-medium wp-image-111" /></a></p>
<p>In the screenshot above I did a transformation on ryoku.org, it visualizes the connections he can find. He found my email adresses and some other data. The nice thing is that you can run transformations on the results again, adding them to the visual map. This gives a nice drilldown feature.</p>
<p>Too bad they have a 75 transformation limit on the community edition, but for the rest very nice and usable tool.</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/2009/03/data-gathering-and-visualisation-with-maltego/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
