<?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"
	>

<channel>
	<title>erdelynet.com</title>
	<atom:link href="http://erdelynet.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://erdelynet.com</link>
	<description>Mike Erdely's website (loads faster than Scott's blog)</description>
	<pubDate>Wed, 16 Jul 2008 17:45:29 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>xdm Trick</title>
		<link>http://erdelynet.com/tech/openbsd/xdm-trick/</link>
		<comments>http://erdelynet.com/tech/openbsd/xdm-trick/#comments</comments>
		<pubDate>Wed, 16 Jul 2008 17:45:29 +0000</pubDate>
		<dc:creator>merdely</dc:creator>
		
		<category><![CDATA[OpenBSD]]></category>

		<guid isPermaLink="false">http://erdelynet.com/?p=242</guid>
		<description><![CDATA[Here&#8217;s another quick tip I&#8217;ve started using.  Actually, I don&#8217;t normally run X with xdm and right now I can&#8217;t remember why I am on one of my boxes.  But I am.
If you put xdm_flags=&#8221;" in your /etc/rc.conf.local, xdm will start automatically during the boot process.  This is probably what you want [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.openbsd.org/"><img src="/images/puf150X129.gif" width="150" height="129" border="0" alt="Puffy" align="right" /></a>Here&#8217;s another quick tip I&#8217;ve started using.  Actually, I don&#8217;t normally run X with xdm and right now I can&#8217;t remember why I am on one of my boxes.  But I am.</p>
<p>If you put <tt>xdm_flags=&#8221;"</tt> in your /etc/rc.conf.local, xdm will start automatically during the boot process.  This is probably what you want nine times out of ten.  But, that tenth time, it&#8217;s annoying when X starts and you didn&#8217;t want it to.<br />
<span id="more-242"></span><br />
I put the following in my /etc/rc.local instead of putting <tt>xdm_flags=&#8221;"</tt> in my /etc/rc.conf.local:</p>
<blockquote>
<pre>echo "Press any key within 10 seconds to bypass xdm..."
old_tty=`stty -g`
stty -echo -icanon min 0 time 100
_KEY=$(dd count=1 bs=1 2>/dev/null)
stty "${old_tty}"

if [ "${_KEY}" = "" ]; then
 &nbsp; echo &#8220;starting xdm&#8230;&#8221;
 &nbsp; /usr/X11R6/bin/xdm
else
 &nbsp; echo Bypassing xdm
fi</pre>
</blockquote>
<p>The first <tt>stty</tt> command waits 10 seconds for you to press any key.  The value of that key is stored in ${_KEY}.  If you pressed a key (${_KEY} != &#8220;&#8221;), rc.local does not start xdm and boots to a normal non-X login prompt.  If you do <b>not</b> press a key, xdm starts and you&#8217;re greeted with the xdm login screen.</p>
<p>I hope that helps someone.</p>
]]></content:encoded>
			<wfw:commentRss>http://erdelynet.com/tech/openbsd/xdm-trick/feed/</wfw:commentRss>
		</item>
		<item>
		<title>rc.local trick</title>
		<link>http://erdelynet.com/tech/openbsd/rclocal-trick/</link>
		<comments>http://erdelynet.com/tech/openbsd/rclocal-trick/#comments</comments>
		<pubDate>Fri, 11 Jul 2008 17:24:40 +0000</pubDate>
		<dc:creator>merdely</dc:creator>
		
		<category><![CDATA[OpenBSD]]></category>

		<guid isPermaLink="false">http://erdelynet.com/?p=241</guid>
		<description><![CDATA[This is really just a quick tip for (re-)starting daemons.  Many converts from other operating systems complain about OpenBSD&#8217;s lack of an rc.d or init.d structure to quickly re-start/stop daemons.  Admittedly, it was a slight annoyance when I switched years ago.  But, I&#8217;ve gotten used to either looking up a daemon&#8217;s PID [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.openbsd.org/"><img src="/images/puf150X129.gif" width="150" height="129" border="0" alt="Puffy" align="right" /></a>This is really just a quick tip for (re-)starting daemons.  Many converts from other operating systems complain about OpenBSD&#8217;s lack of an rc.d or init.d structure to quickly re-start/stop daemons.  Admittedly, it was a slight annoyance when I switched years ago.  But, I&#8217;ve gotten used to either looking up a daemon&#8217;s PID and killing it or using <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pkill&#038;sektion=1">pkill(1)</a>.  Then looking at /etc/rc.local to find the commands (and possibly /etc/rc.conf* for variables) to re-start the daemon.<br />
<span id="more-241"></span><br />
Lately, I&#8217;ve started adding something like this in my /etc/rc.local:</p>
<blockquote><p>
## OpenLDAP Server<br />
if [ "$1" = "" -o "$1" = "openldap" ]; then<br />
slapd_flags=&#8221;-u _openldap&#8221;<br />
if [ "$slapd_flags" != "NO" -a -x /usr/local/libexec/slapd ]; then<br />
 &nbsp; &nbsp; &nbsp; install -d -o _openldap /var/run/openldap<br />
 &nbsp; &nbsp; &nbsp; /usr/local/libexec/slapd $slapd_flags<br />
 &nbsp; &nbsp; &nbsp; echo -n &#8216; slapd&#8217;<br />
fi<br />
fi
</p></blockquote>
<p>That way, I can stop OpenLDAP by running `<tt>sudo pkill slapd</tt>` and restart it with `<tt>sudo sh /etc/rc.local openldap</tt>`.  The boot process is not affected because $1 == &#8220;&#8221; so, all daemons in my rc.local are started.</p>
]]></content:encoded>
			<wfw:commentRss>http://erdelynet.com/tech/openbsd/rclocal-trick/feed/</wfw:commentRss>
		</item>
		<item>
		<title>4.3 binpatches for sparc64</title>
		<link>http://erdelynet.com/tech/openbsd/43-binpatches-for-sparc64/</link>
		<comments>http://erdelynet.com/tech/openbsd/43-binpatches-for-sparc64/#comments</comments>
		<pubDate>Wed, 04 Jun 2008 04:33:46 +0000</pubDate>
		<dc:creator>merdely</dc:creator>
		
		<category><![CDATA[OpenBSD]]></category>

		<guid isPermaLink="false">http://erdelynet.com/?p=240</guid>
		<description><![CDATA[I&#8217;ve finally put up binpatches for sparc64 (to accompany i386 and amd64).
The cumulative sparc64 binpatch for Errata up to and including 002_openssh2 for OpenBSD 4.3 is also available.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.openbsd.org/errata43.html"><img src="/images/puf150X129.gif" width="150" height="129" border="0" alt="Puffy" align="right" /></a>I&#8217;ve finally put up <a href="/binpatch/">binpatches</a> for sparc64 (to accompany i386 and amd64).</p>
<p>The cumulative <a href="/downloads/4.3/binpatch-4.3-sparc64-upto002.tgz">sparc64 binpatch</a> for Errata up to and including 002_openssh2 for OpenBSD 4.3 is also available.</p>
]]></content:encoded>
			<wfw:commentRss>http://erdelynet.com/tech/openbsd/43-binpatches-for-sparc64/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Undeadly - n2k8 Articles</title>
		<link>http://erdelynet.com/tech/openbsd/undeadly-n2k8-articles/</link>
		<comments>http://erdelynet.com/tech/openbsd/undeadly-n2k8-articles/#comments</comments>
		<pubDate>Wed, 04 Jun 2008 04:29:23 +0000</pubDate>
		<dc:creator>merdely</dc:creator>
		
		<category><![CDATA[OpenBSD]]></category>

		<guid isPermaLink="false">http://erdelynet.com/?p=239</guid>
		<description><![CDATA[Recently I had the privilege of publishing an eight part series of articles summarizing the recent Network Hackathon in Ito, Japan (n2k8) written by Mark Uemura (mtu@) with pictures from Tomoyuki Sakurai (sakurai@):




Part 1
Part 2
Part 3
Part 4




Part 5
Part 6
Part 7
Part 8




All of the pictures sent to me




I was honored that Mark chose to send the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/merdely/2503297863/sizes/o/"><img src="http://farm3.static.flickr.com/2147/2503297863_cbb0a85032_m.jpg" width="240" height="161" alt="n2k8" border="0" alignt="right" /></a>Recently I had the privilege of publishing an eight part series of articles summarizing the recent Network Hackathon in Ito, Japan (n2k8) written by <a href="http://www.openbsd-support.com/">Mark Uemura</a> (mtu@) with pictures from Tomoyuki Sakurai (sakurai@):</p>
<table>
<tr>
<td>
<ul>
<li><a href="http://undeadly.org/cgi?action=article&#038;sid=20080519070122">Part 1</a></li>
<li><a href="http://undeadly.org/cgi?action=article&#038;sid=20080520043317">Part 2</a></li>
<li><a href="http://undeadly.org/cgi?action=article&#038;sid=20080521031602">Part 3</a></li>
<li><a href="http://undeadly.org/cgi?action=article&#038;sid=20080522155939">Part 4</a></li>
</ul>
</td>
<td>
<ul>
<li><a href="http://undeadly.org/cgi?action=article&#038;sid=20080523100359">Part 5</a></li>
<li><a href="http://undeadly.org/cgi?action=article&#038;sid=20080527224340">Part 6</a></li>
<li><a href="http://undeadly.org/cgi?action=article&#038;sid=20080529012745">Part 7</a></li>
<li><a href="http://undeadly.org/cgi?action=article&#038;sid=20080603180706">Part 8</a></li>
</ul>
</td>
<td>
<ul>
<li><a href="http://www.flickr.com/photos/merdely/sets/72157605427121555/">All of the pictures</a> sent to me</li>
</ul>
</td>
</tr>
</table>
<p>I was honored that Mark chose to send the articles to me to publish.  It was truly a pleasure to work with Mark and share these summaries with the OpenBSD Journal audience.</p>
]]></content:encoded>
			<wfw:commentRss>http://erdelynet.com/tech/openbsd/undeadly-n2k8-articles/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Yaifo 4.3</title>
		<link>http://erdelynet.com/tech/openbsd/yaifo-43/</link>
		<comments>http://erdelynet.com/tech/openbsd/yaifo-43/#comments</comments>
		<pubDate>Mon, 19 May 2008 02:55:55 +0000</pubDate>
		<dc:creator>merdely</dc:creator>
		
		<category><![CDATA[OpenBSD]]></category>

		<category><![CDATA[Yaifo]]></category>

		<guid isPermaLink="false">http://erdelynet.com/tech/openbsd/yaifo-43/</guid>
		<description><![CDATA[Announcing YAIFO 4.3!
For the yaifo release accompanying OpenBSD 4.3, I decided to match OpenBSD&#8217;s version number. From this point forward, only one version of yaifo will be active. I will not backport updates for older versions of OpenBSD&#8230; who is &#8220;upgrading&#8221; to older versions anyway? So the current OpenBSD release and some recent version of [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.openbsd.org/orders.html"><img src="http://www.openbsd.org/art/puffy/puflogv200X130.gif" alt="OpenBSD" width="200" height="130" border="0" align="right" /></a>Announcing YAIFO 4.3!</p>
<blockquote><p>For the yaifo release accompanying OpenBSD 4.3, I decided to match OpenBSD&#8217;s version number. From this point forward, only one version of yaifo will be active. I will not backport updates for older versions of OpenBSD&#8230; who is &#8220;upgrading&#8221; to older versions anyway? So the current OpenBSD release and some recent version of -current will be supported.</p></blockquote>
<p>You can download Yaifo 4.3 from <a href="https://sourceforge.net/project/showfiles.php?group_id=201309">SourceForge</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://erdelynet.com/tech/openbsd/yaifo-43/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Errata 4.3: 001_openssh, 002_openssh2</title>
		<link>http://erdelynet.com/tech/openbsd/errata-43-001_openssh-002_openssh2/</link>
		<comments>http://erdelynet.com/tech/openbsd/errata-43-001_openssh-002_openssh2/#comments</comments>
		<pubDate>Wed, 07 May 2008 22:03:40 +0000</pubDate>
		<dc:creator>merdely</dc:creator>
		
		<category><![CDATA[OpenBSD]]></category>

		<guid isPermaLink="false">http://erdelynet.com/?p=237</guid>
		<description><![CDATA[I&#8217;ve updated my binpatch page to include binpatches for OpenBSD 4.3 (i386 and amd64 only, right now).
I will continue for a while to create binpatches for both 4.2 and 4.3 until it becomes too much work.
At some point soon, I&#8217;ll start supporting sparc64 4.3 binpatches.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.openbsd.org/errata43.html"><img src="/images/puf150X129.gif" width="150" height="129" border="0" alt="Puffy" align="right" /></a>I&#8217;ve updated my <a href="/binpatch/">binpatch</a> page to include binpatches for OpenBSD 4.3 (i386 and amd64 only, right now).</p>
<p>I will continue for a while to create binpatches for both 4.2 and 4.3 until it becomes too much work.<br />
At some point soon, I&#8217;ll start supporting sparc64 4.3 binpatches.</p>
]]></content:encoded>
			<wfw:commentRss>http://erdelynet.com/tech/openbsd/errata-43-001_openssh-002_openssh2/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Errata 011_openssh2</title>
		<link>http://erdelynet.com/tech/openbsd/errata-011_openssh2/</link>
		<comments>http://erdelynet.com/tech/openbsd/errata-011_openssh2/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 14:53:59 +0000</pubDate>
		<dc:creator>merdely</dc:creator>
		
		<category><![CDATA[OpenBSD]]></category>

		<guid isPermaLink="false">http://erdelynet.com/?p=236</guid>
		<description><![CDATA[The OpenBSD team released an OpenBSD 4.2 Errata entry for OpenSSH: 011_openssh2.
It is a SECURITY fix.  The description is:

Avoid possible hijacking of X11-forwarded connections with sshd(8) by refusing to listen on a port unless all address families bind successfully.

I&#8217;ve made binpatches for i386, amd64 and sparc64.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.openbsd.org/errata42.html"><img src="/images/puf150X129.gif" width="150" height="129" border="0" alt="Puffy" align="right" /></a>The OpenBSD team released an OpenBSD 4.2 Errata entry for OpenSSH: <a href="http://www.openbsd.org/errata42.html#011_openssh2">011_openssh2</a>.</p>
<p>It is a SECURITY fix.  The description is:</p>
<blockquote><p>
Avoid possible hijacking of X11-forwarded connections with <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&#038;sektion=8">sshd(8)</a> by refusing to listen on a port unless all address families bind successfully.
</p></blockquote>
<p>I&#8217;ve made <a href="/binpatch/">binpatches</a> for i386, amd64 and sparc64.</p>
]]></content:encoded>
			<wfw:commentRss>http://erdelynet.com/tech/openbsd/errata-011_openssh2/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Errata 009_ppp &#038; 010_openssh</title>
		<link>http://erdelynet.com/tech/openbsd/errata-009_ppp-010_openssh/</link>
		<comments>http://erdelynet.com/tech/openbsd/errata-009_ppp-010_openssh/#comments</comments>
		<pubDate>Mon, 31 Mar 2008 06:15:23 +0000</pubDate>
		<dc:creator>merdely</dc:creator>
		
		<category><![CDATA[OpenBSD]]></category>

		<guid isPermaLink="false">http://erdelynet.com/tech/openbsd/errata-009_ppp-010_openssh/</guid>
		<description><![CDATA[The OpenBSD team released Errata entries 009_ppp and 010_openssh for OpenBSD 4.2.
Both are SECURITY fixes.
For 009_ppp, the description is:

Buffer overflow in ppp command prompt parsing.

For 010_openssh, the description is:

sshd(8) would execute ~/.ssh/rc even when a sshd_config(5) ForceCommand directive was in effect, allowing users with write access to this file to execute arbitrary commands. This behaviour [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.openbsd.org/errata42.html"><img src="/images/puf150X129.gif" width="150" height="129" border="0" alt="Puffy" align="right" /></a>The OpenBSD team released Errata entries <a href="http://www.openbsd.org/errata42.html#009_ppp">009_ppp</a> and <a href="http://www.openbsd.org/errata42.html#010_openssh">010_openssh</a> for OpenBSD 4.2.</p>
<p>Both are SECURITY fixes.</p>
<p>For 009_ppp, the description is:</p>
<blockquote><p>
Buffer overflow in ppp command prompt parsing.
</p></blockquote>
<p>For 010_openssh, the description is:</p>
<blockquote><p>
<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&#038;sektion=8">sshd(8)</a> would execute ~/.ssh/rc even when a <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config&#038;sektion=5">sshd_config(5)</a> ForceCommand directive was in effect, allowing users with write access to this file to execute arbitrary commands. This behaviour was documented, but was an unsafe default and an extra hassle for administrators.
</p></blockquote>
<p>I&#8217;ve made <a href="/binpatch/">binpatches</a> for i386, amd64 and sparc64.</p>
]]></content:encoded>
			<wfw:commentRss>http://erdelynet.com/tech/openbsd/errata-009_ppp-010_openssh/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Why can&#8217;t I unsubscribe from the mailing list?</title>
		<link>http://erdelynet.com/faq/why-cant-i-unsubscribe-from-the-mailing-list/</link>
		<comments>http://erdelynet.com/faq/why-cant-i-unsubscribe-from-the-mailing-list/#comments</comments>
		<pubDate>Wed, 12 Mar 2008 15:11:50 +0000</pubDate>
		<dc:creator>merdely</dc:creator>
		
		<category><![CDATA[FAQ]]></category>

		<guid isPermaLink="false">http://erdelynet.com/faq/why-cant-i-unsubscribe-from-the-mailing-list/</guid>
		<description><![CDATA[It appears that some people have difficulty unsubscribing from mailing lists on my server.  Perhaps this is because of the anti-spam measures I have on my server.
Fighting spam takes a ridiculous amount of my time.  I employ several methods of preventing the delivery of spam to this list and to the mailboxes on [...]]]></description>
			<content:encoded><![CDATA[<p><a href="/category/faq/"><img src="/images/faq.jpg" alt="FAQ" width="128" height="128" border="0" align="right" /></a>It appears that some people have difficulty unsubscribing from mailing lists on my server.  Perhaps this is because of the anti-spam measures I have on my server.</p>
<p>Fighting spam takes a ridiculous amount of my time.  I employ several methods of preventing the delivery of spam to this list and to the mailboxes on my server.  Among these are blacklisting and greylisting.</p>
<p>With blacklisting, I use several methods to obtain lists of known spammers and tarpit those hosts.  (See OpenBSD&#8217;s<br />
<a href="http://www.openbsd.org/cgi-bin/man.cgi/?query=spamd&#038;sektion=8">spamd(8)</a> for more info) If you have having problems sending emails to this list, the list manager (to un/subscribe) or me, perhaps your server landed on a blacklist.</p>
<p>With greylisting, if my server hasn&#8217;t recently &#8220;talked&#8221; to your server, your server gets a temporary failure message.  If your server retries in 30 minutes (the standard), your message will be accepted.  Many large email providers use broken methods to deliver mail.  They use a pool of SMTP servers that rotate on retries.  Since greylisting uses the IP address of the sending server (along with the sender email address and the recipient email address) to determine when a message should be delayed or delivered and these pools use different IP addresses for each host, it is theoretically possible that the message NEVER gets delivered if the pool doesn&#8217;t retry with the same IP address within the timeout period.  For large known providers, I make an effort to whitelist their pools, but not all providers make that information easily accessible. Usually the downside to greylisting is that your message takes ~30 minutes to be delivered.  It sucks when I place an online food order and don&#8217;t get the confirmation email for ~30 minutes (and their system ate the order and we assumed it was on the way).</p>
<h3>When all else fails</h3>
<p>If you are trying to contact me and my server is simply not receiving your messages, <a href="/ssh-l/#comments">leave a comment</a> to a post on my site.  Comments are moderated and I&#8217;m a clever guy and should be able to figure out that you don&#8217;t actually mean for that comment to be made public.  But if you&#8217;re concerned that I may not understand, put in the comment that you tried to email me and it didn&#8217;t work, please don&#8217;t publish this comment, &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://erdelynet.com/faq/why-cant-i-unsubscribe-from-the-mailing-list/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Errata 008_ip6rthdr</title>
		<link>http://erdelynet.com/tech/openbsd/errata-008_ip6rthdr/</link>
		<comments>http://erdelynet.com/tech/openbsd/errata-008_ip6rthdr/#comments</comments>
		<pubDate>Mon, 25 Feb 2008 03:46:39 +0000</pubDate>
		<dc:creator>merdely</dc:creator>
		
		<category><![CDATA[OpenBSD]]></category>

		<guid isPermaLink="false">http://erdelynet.com/tech/openbsd/errata-008_ip6rthdr/</guid>
		<description><![CDATA[The OpenBSD team released an Errata entry 008_ip6rthdr for OpenBSD 4.2.
Quote from the henning@&#8217;s commit message:

MFC (mcbride)
Correctly check that we have a complete rthdr before trying to do m_copydata()
on it.

I&#8217;ve made binpatches for i386, amd64 and sparc64.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.openbsd.org/errata42.html"><img src="/images/puf150X129.gif" width="150" height="129" border="0" alt="Puffy" align="right" /></a>The OpenBSD team released an Errata entry <a href="http://www.openbsd.org/errata42.html#008_ip6rthdr">008_ip6rthdr</a> for OpenBSD 4.2.</p>
<p>Quote from the henning@&#8217;s <a href="http://marc.info/?l=openbsd-cvs&#038;m=120389777815657&#038;w=2">commit message</a>:</p>
<blockquote>
<pre>MFC (mcbride)
Correctly check that we have a complete rthdr before trying to do m_copydata()
on it.</pre>
</blockquote>
<p>I&#8217;ve made <a href="/binpatch/">binpatches</a> for i386, amd64 and sparc64.</p>
]]></content:encoded>
			<wfw:commentRss>http://erdelynet.com/tech/openbsd/errata-008_ip6rthdr/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
