<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.0" -->
<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/"
	>

<channel>
	<title>greenbits</title>
	<link>http://greenbits.net/~rlotz</link>
	<description></description>
	<pubDate>Mon, 23 Apr 2007 15:27:19 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0</generator>
	<language>en</language>
			<item>
		<title>POP3 Intercept Daemon (v0.2)</title>
		<link>http://greenbits.net/~rlotz/?p=3</link>
		<comments>http://greenbits.net/~rlotz/?p=3#comments</comments>
		<pubDate>Tue, 09 Sep 2003 02:34:00 +0000</pubDate>
		<dc:creator>rlotz</dc:creator>
		
	<category>bits</category>
		<guid isPermaLink="false">http://greenbits.net/~rlotz/?p=3</guid>
		<description><![CDATA[Rob made an amusing comment on the NoCat Auth list today:

Actually, speaking of proxy servers, I get four or five users every day that use POP in the clear from my node.  I&#8217;d love to see a POP proxy server that accepts any username and password, and delivers a message that tells the user [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://constructiveinterference.net/">Rob</a> made an amusing <a href="http://lists.nocat.net/pipermail/nocat/2003-September/003624.html">comment</a> on the <a href="http://nocat.net/">NoCat</a> Auth <a href="http://lists.nocat.net/mailman/listinfo/nocat">list</a> today:</p>
<blockquote><p><em><br />
Actually, speaking of proxy servers, I get four or five users every day that use POP in the clear from my node.  I&#8217;d love to see a POP proxy server that accepts any username and password, and delivers a message that tells the user what an idiot they are for using insecure protocols.<br />
</em></p></blockquote>
<p>Since POP3 is so easy, and I have plenty of other things I should be doing, I decided to write a <a href="http://greenbits.net/~rlotz/pub/pop3id">pop3 intercept daemon</a>.  It does nothing but return the message included in the Perl source.  Installation is easy: just run it from inetd.  Since I don&#8217;t trust my own code I&#8217;ve chosen to run it as nobody:</p>
<pre>pop3            stream  tcp     nowait  nobody  /home/rlotz/bin/pop3id  pop3id</pre>
<p>You&#8217;ll need to restart inetd ( <tt>kill -HUP `cat /var/run/inetd`</tt> ) and redirect all traffic destined to 110 to your pop3 intercept daemon.  For <a href="http://www.openbsd.org/">OpenBSD</a> include the following line in <tt>/etc/pf.conf</tt> (<tt>int_if</tt> is a macro that defines my internal interface):</p>
<pre>rdr on $int_if proto tcp from any to any port 110 -> $int_if port 110</pre>
]]></content:encoded>
			<wfw:commentRSS>http://greenbits.net/~rlotz/?feed=rss2&amp;p=3</wfw:commentRSS>
		</item>
	</channel>
</rss>

