<?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>2 Bit Hacker</title>
	<atom:link href="http://weblog.2bithacker.net/feed" rel="self" type="application/rss+xml" />
	<link>http://weblog.2bithacker.net</link>
	<description>We do what we must because we can.</description>
	<pubDate>Tue, 12 Aug 2008 22:40:55 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
			<item>
		<title>KB1QYW</title>
		<link>http://weblog.2bithacker.net/projects/mobilepc/kb1qyw.html</link>
		<comments>http://weblog.2bithacker.net/projects/mobilepc/kb1qyw.html#comments</comments>
		<pubDate>Tue, 12 Aug 2008 22:40:55 +0000</pubDate>
		<dc:creator>Chip</dc:creator>
		
		<category><![CDATA[Amateur Radio]]></category>

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

		<guid isPermaLink="false">http://weblog.2bithacker.net/?p=377</guid>
		<description><![CDATA[So, I finally went and took the test to get my amateur radio license. I&#8217;m now have a technician class license, callsign KB1QYW.
Now I just need a radio so I can do something with the license.
I&#8217;m still primarily interested in doing APRS and other packet applications, so I&#8217;ve been looking at radios with built in [...]]]></description>
			<content:encoded><![CDATA[<p>So, I finally went and took the test to get my amateur radio license. I&#8217;m now have a technician class license, callsign KB1QYW.</p>
<p>Now I just need a radio so I can do something with the license.</p>
<p>I&#8217;m still primarily interested in doing <a href="http://en.wikipedia.org/wiki/Automatic_Packet_Reporting_System">APRS</a> and other packet applications, so I&#8217;ve been looking at radios with built in <a href="http://en.wikipedia.org/wiki/Terminal_node_controller">TNCs</a>. At the moment I&#8217;m mainly drooling over the <a href="http://www.kenwoodusa.com/Communications/Amateur_Radio/Mobiles/TM-D710A">Kenwood TM-D710A</a>, which can do everything I want, and more, but runs about $600 new. Looks like an ideal mobile unit for what I want to do.</p>
<p>I&#8217;ve also been pointed toward the upcoming <a href="http://va3rcs.tripod.com/page6a.html">Yaesu VX8-R</a>, which also appears to have a built-in TNC, but is a handheld, rather than a mobile. From what I&#8217;ve heard, it should be considerably cheaper than the TM-D710A, but is overall less functional.</p>
<p>Either way I end up going, I&#8217;ve got some ideas for integrating a radio in my automobile with a PC. I&#8217;m thinking the car PC could pull in APRS data from the radio, OBD2 data from the car, GPS data, and perhaps video from a forward mounted camera. It should be pretty easy to rig up something to read the locations of other stations from the radio and insert them into a database for GPSDrive to read waypoints from, displaying them on a map along with my current position.</p>
<p>I&#8217;ve also been tossing around the idea of correlating position to fuel economy, creating a sort of fuel consumption heat map which could then be used to adjust my repetitive drives to more efficient routes. I don&#8217;t think this will be all that hard, just need to figure out how to get the current MPG number from the Prius, record it along with the current GPS coordinates, and then perhaps hack up Kismet&#8217;s gpsmap to plot that data instead of wireless access points (or in addition to.)</p>
<p>As far as hardware for the mobile PC, I&#8217;ve recently been looking at the <a href="http://www.ieiworld.com/product_groups/industrial/content.aspx?gid=00001000010000000002&#038;cid=08141362138429024070&#038;id=08142308604191860162">IEI IBX-500A</a>, which has enough serial ports for all the inputs I want, along with built-in 802.11 wireless. Not sure if the CPU would be fast enough for everything I want to do, but I think it&#8217;d work. I&#8217;ve also been looking at the <a href="http://www.via.com.tw/en/products/embedded/artigo/">VIA Artigo</a>, which is a bit smaller, and a little faster, but has a fan and no built-in wireless.</p>
<p>Not that I can afford to do any of this just yet, but it&#8217;s fun to think about&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://weblog.2bithacker.net/projects/mobilepc/kb1qyw.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>4th of July</title>
		<link>http://weblog.2bithacker.net/photography/4th-of-july.html</link>
		<comments>http://weblog.2bithacker.net/photography/4th-of-july.html#comments</comments>
		<pubDate>Fri, 04 Jul 2008 18:39:28 +0000</pubDate>
		<dc:creator>Chip</dc:creator>
		
		<category><![CDATA[Photography]]></category>

		<guid isPermaLink="false">http://weblog.2bithacker.net/?p=376</guid>
		<description><![CDATA[Happy Independence Day!
Was playing around with my Canon SD870 last night, using the CHDK firmware to do long exposure images of the fireworks. Some of them turned out nicely, I think.

Not bad for having no idea what I&#8217;m doing anyway. See the rest of them in my gallery.
]]></description>
			<content:encoded><![CDATA[<p>Happy Independence Day!</p>
<p>Was playing around with my Canon SD870 last night, using the <a href="http://chdk.wikia.com/">CHDK</a> firmware to do long exposure images of the fireworks. Some of them turned out nicely, I think.</p>
<div align="center"><img src="http://gallery.2bithacker.net/d/20961-2/img_0082+_Modified_.jpg" width="489" height="640" alt="Fireworks" /></div>
<p>Not bad for having no idea what I&#8217;m doing anyway. See the rest of them in my <a href="http://gallery.2bithacker.net/v/other/Fireworks2008/">gallery</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://weblog.2bithacker.net/photography/4th-of-july.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Such is Life</title>
		<link>http://weblog.2bithacker.net/personal/life/such-is-life.html</link>
		<comments>http://weblog.2bithacker.net/personal/life/such-is-life.html#comments</comments>
		<pubDate>Fri, 27 Jun 2008 02:06:40 +0000</pubDate>
		<dc:creator>Chip</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://weblog.2bithacker.net/?p=375</guid>
		<description><![CDATA[Not a lot going on at the moment, and I feel like typing, so it&#8217;s time for another general life update. Things are generally going pretty well, though there are a few annoyances at the moment, like the busted TV. My current plan is to get it repaired again and then sell it and buy [...]]]></description>
			<content:encoded><![CDATA[<p>Not a lot going on at the moment, and I feel like typing, so it&#8217;s time for another general life update. Things are generally going pretty well, though there are a few annoyances at the moment, like the busted TV. My current plan is to get it repaired again and then sell it and buy something non-LG. There&#8217;s a Sony Bravia 40&#8243; that&#8217;s not terribly unreasonable, but it&#8217;s a good chunk of change, so I&#8217;m not really sure what I&#8217;m going to do. I&#8217;ve got a stack of old electronics to sell off too. I should get on that and put the money toward the new set.</p>
<p>My birthday is coming up next week. Delia already got me my big present, a few months back, an Amazon Kindle e-reader, which I&#8217;ve been using almost continuously for my nightly reading. There&#8217;s nothing else I really want at the moment, but I&#8217;ve tagged a few things on my <a href="http://del.icio.us/2bithacker/want">want list</a> for good measure. Thinking about picking up <a href="http://www.amazon.com/gp/product/B000ZKDOVW?ie=UTF8&#038;tag=2bithac-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B000ZKDOVW">Soul Calibur IV</a> if I don&#8217;t get it otherwise.</p>
<p>I was also thinking of dragging Delia down to Easthampton, to go wandering around on <a href="http://en.wikipedia.org/wiki/Mount_Tom_(Massachusetts)">Mount Tom</a>. Haven&#8217;t been down there since I lived there with my mom when I was like 7. We&#8217;ll see how the weather goes.</p>
<p>Oh, and I finally got my home storage server/gateway up and running. Seems to be doing pretty well, though with 512MB it&#8217;s a little under powered in memory, but otherwise it&#8217;s doing the job nicely. Also picked up a <a href="http://www.roku.com/netflixplayer/">Netflix Player</a>, which is a pretty slick device. The movie selection on Netflix&#8217;s streaming service still isn&#8217;t that great, but they do have a pretty good selection of TV shows and documentaries, which is nice.</p>
<p>That&#8217;s about it for now, I guess. I&#8217;ll try and think of something interesting to write.</p>
]]></content:encoded>
			<wfw:commentRss>http://weblog.2bithacker.net/personal/life/such-is-life.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>LG 37LB5D</title>
		<link>http://weblog.2bithacker.net/personal/apartment/lg-37lb5d.html</link>
		<comments>http://weblog.2bithacker.net/personal/apartment/lg-37lb5d.html#comments</comments>
		<pubDate>Sat, 07 Jun 2008 22:11:34 +0000</pubDate>
		<dc:creator>Chip</dc:creator>
		
		<category><![CDATA[Apartment]]></category>

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

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

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

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

		<guid isPermaLink="false">http://weblog.2bithacker.net/?p=374</guid>
		<description><![CDATA[Okay, LG is going on my personal vendor blacklist, at least for LCD TVs. I bought this LG 37LB5D LCD television back in December to replace my Sony WEGA CRT, and initially I was very happy with it. Then it started having audio issues, which I worked around. Then it started having video issues, where [...]]]></description>
			<content:encoded><![CDATA[<p>Okay, LG is going on my personal vendor blacklist, at least for LCD TVs. I bought this LG 37LB5D LCD television back in December to replace my Sony WEGA CRT, and initially I was very happy with it. Then it started having audio issues, which I worked around. Then it started having video issues, where the screen would blank out randomly. I called a repair place, and the guy came out and swapped in a new power supply and control board, and everything was happy once again.</p>
<p>And so it went till today. The audio issue just resurfaced. I&#8217;m sitting here watching History HD off my TiVo, with no audio. First it was quick cut outs, now it&#8217;s just totally silent.</p>
<p>I suspect it&#8217;s something with the HDMI audio decoder. My suspicion is that it overheated and did some permanent damage to itself. I should probably contact the repair guy again and find out if the replacement parts were also under warranty, as it&#8217;s probably going to take another set of replacements to make this thing work again.</p>
<p>At this point though, I&#8217;m tempted to chuck this one off the balcony and go buy a Sharp AQUOS. We&#8217;ve got three of those at work and they&#8217;re running great. I suppose this is what I get for trying to save a buck and going with the cheap brand.</p>
]]></content:encoded>
			<wfw:commentRss>http://weblog.2bithacker.net/personal/apartment/lg-37lb5d.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Signature</title>
		<link>http://weblog.2bithacker.net/geek-stuff/signature.html</link>
		<comments>http://weblog.2bithacker.net/geek-stuff/signature.html#comments</comments>
		<pubDate>Tue, 15 Apr 2008 22:30:20 +0000</pubDate>
		<dc:creator>Chip</dc:creator>
		
		<category><![CDATA[Geek Stuff]]></category>

		<category><![CDATA[geek code]]></category>

		<category><![CDATA[hacker key]]></category>

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

		<guid isPermaLink="false">http://weblog.2bithacker.net/?p=372</guid>
		<description><![CDATA[Recently someone pointed out that the contents of my e-mail signature are getting somewhat outdated, which stuck an idea into my head to update it. For a while now I&#8217;ve been using the following:

Chip Marshall &#60;chip@2bithacker.net&#62;     http://weblog.2bithacker.net/
GCM/IT d+(-) s+:++ a26>? C++ UB++++$ P+++$ L- E--- W++ N@ o K- w O [...]]]></description>
			<content:encoded><![CDATA[<p>Recently someone pointed out that the contents of my e-mail signature are getting somewhat outdated, which stuck an idea into my head to update it. For a while now I&#8217;ve been using the following:</p>
<pre>
Chip Marshall &lt;chip@2bithacker.net&gt;     http://weblog.2bithacker.net/
GCM/IT d+(-) s+:++ a26>? C++ UB++++$ P+++$ L- E--- W++ N@ o K- w O M+
V-- PS+ PE Y+ PGP++ t+@ R@ tv@ b++@ DI++++ D+(-) G++ e>++ h>++ r-- y?
</pre>
<p>That jumbled mess is a <a href="http://en.wikipedia.org/wiki/Geek_Code">Geek Code</a>, a somewhat out of date, condensed representation of me. Given that the guidelines of the Code haven&#8217;t been updated since 1996, I&#8217;ve started looking into alternatives.</p>
<p>The first one I came across was <a href="http://www.gadgeteer.net/omnicode/">OmniCode</a>, which offers a similar syntax and a greater flexibility. However, the actual guidelines don&#8217;t seem to be well thought-out and the resulting code takes up too much space.</p>
<p>My second finding was the <a href="http://www.hackerkey.com/hacker.html">Hacker Key</a>, which is again inspired by the Geek Code, and provides a further condensced format with updated parameters. I created a key pretty quickly, and tried the following on for size:</p>
<pre>
Chip Marshall &lt;chip@2bithacker.net&gt;        http://weblog.2bithacker.net/
v4sw5PUhw4/5ln5pr5FOPck4ma4u6FLOw5Xm5l5Ui2e4t4/5ARWb7HKOen6a2Xs5IMr2g6CM
</pre>
<p>It&#8217;s a little wider, but only two lines overall, and conveys approx the same amount of information to someone who knows what they&#8217;re looking at. I thought it looked kindof odd though, so I shuffled the components around and added in my PGP key ID, resulting in:</p>
<pre>
Chip Marshall &lt;chip@2bithacker.net&gt;
v4sw5PUhw4/5ln5pr5FOPck4ma4u6FLOw5Xm5l5Ui2e4t4/5ARWb7HKOen6a2Xs5IMr2g6CM
http://weblog.2bithacker.net/                        PGP key ID 43C4819E
</pre>
<p>It&#8217;s still a little wider than I&#8217;d like, but I could trim out a parameter or two to bring it back down. Haven&#8217;t decided if I really like it overall though yet.</p>
<p>Maybe I just spend too much time on these sorts of things&#8230;</p>
<p><b>PS</b>: Oooh, what if I put the Hacker Key under the URL/PGP key line?</p>
<pre>
Chip Marshall &lt;chip@2bithacker.net&gt;
http://weblog.2bithacker.net/                        PGP key ID 43C4819E
v4sw5PUhw4/5ln5pr5FOPck4ma4u6FLOw5Xm5l5Ui2e4t4/5ARWb7HKOen6a2Xs5IMr2g6CM
</pre>
<p>Hmm&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://weblog.2bithacker.net/geek-stuff/signature.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Web Site Update</title>
		<link>http://weblog.2bithacker.net/geek-stuff/website/web-site-update.html</link>
		<comments>http://weblog.2bithacker.net/geek-stuff/website/web-site-update.html#comments</comments>
		<pubDate>Thu, 10 Apr 2008 15:25:16 +0000</pubDate>
		<dc:creator>Chip</dc:creator>
		
		<category><![CDATA[Website]]></category>

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

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

		<guid isPermaLink="false">http://weblog.2bithacker.net/?p=371</guid>
		<description><![CDATA[Been making a few changes on the website. Did the upgrade to WordPress 2.5, which seems to be working fine, though I&#8217;m not a big fan of the new admin interface. I also finally fixed the CSS for the text boxes on the sidebar in this theme, so they have the proper background and bottom [...]]]></description>
			<content:encoded><![CDATA[<p>Been making a few changes on the website. Did the upgrade to WordPress 2.5, which seems to be working fine, though I&#8217;m not a big fan of the new admin interface. I also finally fixed the CSS for the text boxes on the sidebar in this theme, so they have the proper background and bottom decoration.</p>
<p>Some of you may have noticed that I switched to the <a href="http://themes.wordpress.net/columns/1-column/1630/cli-20/">CLI</a> theme for a bit. I liked it, but decided to go back to <a href="http://themes.wordpress.net/columns/2-columns/149/connections-reloaded-15/">Connections Reloaded</a>. One of these days I&#8217;ll get around to writing my own theme&#8230;</p>
<p>Also, I added an Amazon box to the sidebar, the top item is what Amazon thinks you want to buy based on your purchase history and the content of my site supposedly. The bottom item is a link to the <a href="http://www.amazon.com/gp/product/B000FI73MA/?tag=2bithac-20">Kindle e-reader</a>. If you want to buy a Kindle, please use the link over there, they give associates a huge cut of the purchase price on those. <img src='http://weblog.2bithacker.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://weblog.2bithacker.net/geek-stuff/website/web-site-update.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Hindenburg</title>
		<link>http://weblog.2bithacker.net/geek-stuff/hindenburg.html</link>
		<comments>http://weblog.2bithacker.net/geek-stuff/hindenburg.html#comments</comments>
		<pubDate>Sat, 01 Mar 2008 03:21:35 +0000</pubDate>
		<dc:creator>Chip</dc:creator>
		
		<category><![CDATA[Geek Stuff]]></category>

		<guid isPermaLink="false">http://weblog.2bithacker.net/geek-stuff/hindenburg.html</guid>
		<description><![CDATA[It&#8217;s getting to be that time of the month again, when I start whining about how no one donates to the Hindenburg fund. Unfortunately, it&#8217;s gotten to the point where it looks like Jason and I are the only ones really using it, and it&#8217;s hard to justify the $90/mo to keep it operational.
So, I&#8217;m [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s getting to be that time of the month again, when I start whining about how no one <a href="http://donate.2bithacker.net/">donates</a> to the Hindenburg fund. Unfortunately, it&#8217;s gotten to the point where it looks like Jason and I are the only ones really using it, and it&#8217;s hard to justify the $90/mo to keep it operational.</p>
<p>So, I&#8217;m starting to think I need to start selling some services on the box in order to get a regular flow of money coming in. Cheap virtual web hosting seems to be the easiest to do, if I can find buyers who would rather go for my little locally hosted box over one of the larger services. $10/mo seems fair to me, and at that rate I only need to get 9 customers to cover the hosting costs. If I could even get 3 or 4 it would be a big help.</p>
<p>If anyone has ideas for other services, or would be interesting in hosting, let me know. I suppose I should do this in some sort of official fashion via 2 Bit Hacker Consulting.</p>
]]></content:encoded>
			<wfw:commentRss>http://weblog.2bithacker.net/geek-stuff/hindenburg.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Off to San Jose</title>
		<link>http://weblog.2bithacker.net/personal/travel/off-to-san-jose.html</link>
		<comments>http://weblog.2bithacker.net/personal/travel/off-to-san-jose.html#comments</comments>
		<pubDate>Sat, 16 Feb 2008 21:01:16 +0000</pubDate>
		<dc:creator>Chip</dc:creator>
		
		<category><![CDATA[Travel]]></category>

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

		<guid isPermaLink="false">http://weblog.2bithacker.net/personal/travel/off-to-san-jose.html</guid>
		<description><![CDATA[I&#8217;m off to San Jose, CA till Thursday to attend the NANOG conference with my boss. Should be a fun trip, my first NANOG and my first time out that far west. If anyone out there wants to try and meet up while I&#8217;m out there, drop me an e-mail.
Also, my eee PC is cool. [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m off to San Jose, CA till Thursday to attend the NANOG conference with my boss. Should be a fun trip, my first NANOG and my first time out that far west. If anyone out there wants to try and meet up while I&#8217;m out there, drop me an e-mail.</p>
<p>Also, my eee PC is cool. Using it in the terminal to write this.</p>
]]></content:encoded>
			<wfw:commentRss>http://weblog.2bithacker.net/personal/travel/off-to-san-jose.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>2008 Projects</title>
		<link>http://weblog.2bithacker.net/geek-stuff/2008-projects.html</link>
		<comments>http://weblog.2bithacker.net/geek-stuff/2008-projects.html#comments</comments>
		<pubDate>Fri, 25 Jan 2008 00:42:01 +0000</pubDate>
		<dc:creator>Chip</dc:creator>
		
		<category><![CDATA[Geek Stuff]]></category>

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

		<category><![CDATA[Home Router]]></category>

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

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

		<guid isPermaLink="false">http://weblog.2bithacker.net/personal/random-junk/2008-projects.html</guid>
		<description><![CDATA[I often have a number of projects floating around in my head that I&#8217;d like to get done around the apartment. Largely for my own tracking, I&#8217;ve decided to list them here, roughly in the order I&#8217;d like to get them done.


Home Server: For a while now I&#8217;ve been wanting to build a NAS box [...]]]></description>
			<content:encoded><![CDATA[<p>I often have a number of projects floating around in my head that I&#8217;d like to get done around the apartment. Largely for my own tracking, I&#8217;ve decided to list them here, roughly in the order I&#8217;d like to get them done.</p>
<ol>
<li>
<p><strong>Home Server</strong>: For a while now I&#8217;ve been wanting to build a <acronym title="Network Attached Storage">NAS</acronym> box for the apartment. A place to backup all my important files from other systems so I don&#8217;t have to worry about what I&#8217;m losing when I randomly decided to format and reinstall my OS. I was originally thinking of reusing an older Mini-ITX board I have kicking around, giving it a SATA controller and a few large hard drives. I&#8217;ve also wanted to do my own router for the apartment. I&#8217;m currently using a Linksys WRT54g running dd-wrt, which works fine, but I&#8217;d like more control. I think the most economical solution is to combine the two projects into a single Home Server, probably running FreeBSD. It&#8217;ll need at least 2 network interfaces, and preferably 4 or more SATA channels. I could easily reuse one of the 5 or so motherboard I have kicking around the apartment, as I don&#8217;t need a ton of CPU power or memory. Software wise, just the normal file sharing stuff, NFS, Samba, a web server, maybe look into WebDAV.</p>
</li>
<li>
<p><strong>HTPC</strong>: I&#8217;d still like to get a Home Theater PC hooked up. I tried this a few years ago without much luck, but now that I have a TV with HDMI inputs, it should be nice and easy. I originally wanted to do this with MythTV, but I think I&#8217;ve cooled on that. I think it&#8217;ll actually run Windows, primarily for the ability to play streaming Netflix.</p>
</li>
<li>
<p><strong>Replace Desktop</strong>: Now that a couple of guys at work have <a href="http://eeepc.asus.com/global/product.htm">eee PCs</a> I&#8217;ve been reconsidering my own systems. I rarely use my desktop at home anymore (perhaps repurpose it to HTPC?) so I&#8217;ve been tossing around the idea of replacing the desktop and my ThinkPad T43 with a heftier laptop, like a T61 or an ASUS G1S. Basically, a laptop decent enough to game on if I feel like it. Then pick up an eee to use for portability and quick things like checking e-mail or fixing stuff for work. The Nokia n800 works pretty well for the latter things currently, but the lack of keyboard hurts a bit. And the eee PC is a plain x86 CPU, so I could run XP on it and be able to use Slingbox, which would be nice.</p>
</li>
<li>
<p><strong>Car PC</strong>: Yeah, still keeping this dream alive. Some day I&#8217;ll build it. It seems to be getting easier though. Bluetooth GPS, Bluetooth serial adapter on the OBD2. Maybe someone will figure out how to hack into the Prius MFD by then.</p>
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://weblog.2bithacker.net/geek-stuff/2008-projects.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>RFC Ignorance</title>
		<link>http://weblog.2bithacker.net/work/rfc-ignorance.html</link>
		<comments>http://weblog.2bithacker.net/work/rfc-ignorance.html#comments</comments>
		<pubDate>Thu, 17 Jan 2008 04:12:09 +0000</pubDate>
		<dc:creator>Chip</dc:creator>
		
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://weblog.2bithacker.net/work/rfc-ignorance.html</guid>
		<description><![CDATA[Recently at work I have been noticing an annoying trend in large provider e-mail installations. Due to the nature of our e-mail forwarding services, we occasionally get blocked by providers such as Comcast and AT&#038;T. This normally isn&#8217;t a big deal, but a few months ago Comcast made a change to their mail system, and [...]]]></description>
			<content:encoded><![CDATA[<p>Recently at work I have been noticing an annoying trend in large provider e-mail installations. Due to the nature of our e-mail forwarding services, we occasionally get blocked by providers such as Comcast and AT&#038;T. This normally isn&#8217;t a big deal, but a few months ago Comcast made a change to their mail system, and now when you get blocked it will respond to an open connection with a 554 error and close the connection. AT&#038;T now does something similar, issuing a 550 error and closing the connection. I don&#8217;t mind getting blocked so much, but the manner in which they do so violates the SMTP RFCs, and that just gets on my nerves.</p>
<p>The specific RFCs in question are <a href="http://www.ietf.org/rfc/rfc0821.txt">821</a> and it&#8217;s proposed successor, <a href="http://www.ietf.org/rfc/rfc2821.txt">2821</a>. The section in question in both of these documents is 4.3, which specifies what responses can be returned for various commands. 821 specifies that the initial client connection can be answered with a 220, which is normal, or a 421, meaning the service is not available, and the connection will be closed. The 421 can be issued at any time during the conversation, and usually indicates that the server is shutting down and can&#8217;t complete what it&#8217;s doing. RFC 2821 changed this, allowing the 220 or a 554. AT&#038;T&#8217;s response code of 550 is not a valid response in either RFC, so AT&#038;T isn&#8217;t following the RFC at all with their reply. Comcast&#8217;s reply is technically valid, but I feel it&#8217;s being used incorrectly.</p>
<p>The was an interesting <a href="http://www.exim.org/lurker/message/20030314.230213.bf17c143.en.html">thread</a> on the exim-users mailing list on the topic, beginning with Exim&#8217;s handling of 554 on connect and expanding into the meaning of the return code. Some people think it means that you are being told you will never be able to deliver the message you are trying to send and should discard it, which is how Exim handles it. Others (including myself) think it&#8217;s intended meaning is to indicate that the server in question cannot take the mail, but the delivery should be attempted at other MX records for the domain, or other A records for the current MX. Keep in mind that the server doesn&#8217;t know anything about the message at this point, the client hasn&#8217;t had a chance to say EHLO, let alone give sender and recipient information. RFC 2821 states the meaning for 554 on connect to mean &#8220;No SMTP service here&#8221;, which is fairly vague. My opinion is that this indicates that this particular server will not except mail for any reason, not that the message is undeliverable (unless this is the only A record for the recipient domain&#8217;s MX record.) In this case, using 554 on connect to reject mail from a particular server isn&#8217;t really helpful. The generally accepted method of rejecting after RCPT commands is probably a better route, since the server may be trying to send to your postmaster address, which you&#8217;re obligated to take mail for.</p>
<p>Regardless of the meaning of 554 and the appropriateness of it&#8217;s use as a rejection mechanism against spammers, Comcast and AT&#038;T are also ignoring the RFCs by dropping the connection after issuing their error codes. Here&#8217;s the relevant part of RFC 2821:</p>
<blockquote><p>The SMTP protocol allows a server to formally reject a transaction while still allowing the initial connection as follows: a 554 response MAY be given in the initial connection opening message instead of the 220.  A server taking this approach MUST still wait for the client to send a QUIT (see section 4.1.1.10) before closing the connection and SHOULD respond to any intervening commands with &#8220;503 bad sequence of commands&#8221;.  Since an attempt to make an SMTP connection to such a system is probably in error, a server returning a 554 response on connection opening SHOULD provide enough information in the reply text to facilitate debugging of the sending system.</p></blockquote>
<p>See that &#8220;MUST still wait for the client to send a QUIT&#8221;? Both Comcast and AT&#038;T don&#8217;t follow that. It would be permissible to timeout after that, but the RFC doesn&#8217;t allow for simply dropping the connection.</p>
<p>So what to do about this people? I&#8217;m not really sure. It would be nice if large e-mail providers respected the rules put forth by the Internet community, but how do you penalize them if they don&#8217;t? The only idea I currently have is to form something similar to the existing <a href="http://rfc-ignorant.org/">rfc-ignorant.org</a> listings, but for general RFC breakers, as opposed to their specific lists. This could then be used to block mail from sites that don&#8217;t follow the rules, which if you&#8217;re big enough would get their attention, but hurts users by rejecting their e-mail.</p>
<p>As a mixed blessing, the Internet is designed to allow people to do pretty much whatever they want to do with the servers they run, and there&#8217;s just no good way to get some sites, especially large company sites, to follow the rules if they don&#8217;t want to, unless you deny them access to things they want.</p>
]]></content:encoded>
			<wfw:commentRss>http://weblog.2bithacker.net/work/rfc-ignorance.html/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
