<?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>the nullest blog &#187; Uncategorized</title>
	<atom:link href="http://blog.thenullest.org/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.thenullest.org</link>
	<description>Techrants</description>
	<lastBuildDate>Mon, 04 Jun 2007 05:36:52 +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>Cygwin: How to make sshd log to syslog in Cygwin</title>
		<link>http://blog.thenullest.org/2007/06/01/cygwin-how-to-make-sshd-log-to-syslog-in/</link>
		<comments>http://blog.thenullest.org/2007/06/01/cygwin-how-to-make-sshd-log-to-syslog-in/#comments</comments>
		<pubDate>Fri, 01 Jun 2007 19:37:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cygwin]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.thenullest.org/2007/06/01/cygwin-how-to-make-sshd-log-to-syslog-in/</guid>
		<description><![CDATA[I recently installed the ssh daemon on cygwin and it works very well. However, by default to the windows event log. This annoyed me. By doing some google/Internet research I found out that this could be &#8220;solved&#8221; by starting the ssh daemon with the command line flag &#8220;-e&#8221; which tells sshd to log all error [...]]]></description>
			<content:encoded><![CDATA[<p>I recently installed the ssh daemon on cygwin and it works very well. However, by default to the windows event log. This annoyed me. By doing some google/Internet research I found out that this could be &#8220;solved&#8221; by starting the ssh daemon with the command line flag &#8220;-e&#8221; which tells sshd to log all error messages to stderr. Fair enough, the messages turned up in /var/log/sshd.log. But without the date wasn&#8217;t logged. This annoyed me even more.  Infact, i didn&#8217;t want to send the log messages to stderr but I didn&#8217;t want them to be directed to the windows log niether.</p>
<p>By doing some more internet research I found out that the deamon syslog-ng could be installed for cygwin. I gave it a shot.  You&#8217;ll find it in the Admin category in the Cygwin setup:</p>
<p><a TITLE="Syslog-ng" HREF="http://blog.thenullest.org/wp-content/uploads/2007/06/syslog1.png"><img ALT="Syslog-ng" SRC="http://blog.thenullest.org/wp-content/uploads/2007/06/syslog1.png" /></a></p>
<p>Once the setup has finished you can install the syslog-ng daemon by typing:</p>
<p>/usr/bin/syslog-ng-config</p>
<p>and answer yes to all questions (or no if you should disagree on something)<br />
Before starting the daemon you might have to edit the file /etc/syslog-ng.conf.<br />
The following configuration file worked for me:</p>
<blockquote><p><code>options {<br />
keep_hostname(yes);<br />
chain_hostnames(no);<br />
owner("system");<br />
group("root");<br />
perm(0664);<br />
sync(0);<br />
};source applications {<br />
unix-dgram("/dev/log");<br />
internal();<br />
};</p>
<p>source kernel {<br />
file("/dev/kmsg", log_prefix("kernel: "));<br />
};</p>
<p>destination messages {<br />
file("/var/log/messages");<br />
};</p>
<p>destination sshd { file("/var/log/sshd.log"); };</p>
<p>filter f_sshd { program(sshd); };</p>
<p>log { source(applications); filter(f_sshd); destination(sshd); };</p>
<p>log {<br />
source(applications);<br />
destination(messages);<br />
};</p>
<p>log {<br />
source(kernel);<br />
destination(messages);<br />
};<code></code></code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.thenullest.org/2007/06/01/cygwin-how-to-make-sshd-log-to-syslog-in/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>About</title>
		<link>http://blog.thenullest.org/2007/05/17/about/</link>
		<comments>http://blog.thenullest.org/2007/05/17/about/#comments</comments>
		<pubDate>Thu, 17 May 2007 12:24:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.thenullest.org/about/</guid>
		<description><![CDATA[This is a technical blog addressing programming and development but also some society and financial analysis.
]]></description>
			<content:encoded><![CDATA[<p>This is a technical blog addressing programming and development but also some society and financial analysis.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thenullest.org/2007/05/17/about/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
