<?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>wp &#124; anoopdotnet &#187; identd</title>
	<atom:link href="http://wp.anoop.net/tag/identd/feed/" rel="self" type="application/rss+xml" />
	<link>http://wp.anoop.net</link>
	<description>yet another meaningless wordpress blog</description>
	<lastBuildDate>Mon, 06 Feb 2012 08:47:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com" />
	<atom:link rel="hub" href="http://superfeedr.com/hubbub" />
			<item>
		<title>testing identd from the command line (telnet)</title>
		<link>http://wp.anoop.net/2009/07/testing-identd-from-the-command-line-telnet/</link>
		<comments>http://wp.anoop.net/2009/07/testing-identd-from-the-command-line-telnet/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 04:59:06 +0000</pubDate>
		<dc:creator>Anoop</dc:creator>
				<category><![CDATA[Meaningless]]></category>
		<category><![CDATA[Technobabble]]></category>
		<category><![CDATA[identd]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[tcpdump]]></category>
		<category><![CDATA[telnet]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://wp.anoop.net/?p=90</guid>
		<description><![CDATA[You should know that I only recommend doing this on systems that you ABSOLUTELY trust. If you have any doubt what so ever, do NOT continue. I never thought i&#8217;d actually need this but i ended up actually providing it as a solution for securing database accounts. To get this working on CentOS 5, I [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>You should know that I only recommend doing this on systems that you ABSOLUTELY trust. If you have any doubt what so ever, do NOT continue.
</p></blockquote>
<p>I never thought i&#8217;d actually need this but i ended up actually providing it as a solution for securing database accounts.</p>
<p>To get this working on CentOS 5, I had to do the following</p>
<p># yum install xinetd authd</p>
<p>authd is an xinetd service and authd is the RFC 1413 identd service</p>
<p>Out of the box, authd comes a little more secure than I expected. It&#8217;s not bad but it&#8217;s definitely a hindrance for other systems when they don&#8217;t know what to send.</p>
<p>/etc/xinetd.d/auth will come by default with<br />
<code><br />
server_args     = -t60 --xerror --os -E<br />
</code></p>
<p>This tells inetd to expect the &#8216;uname&#8217; instead of &#8216;UNIX&#8217; as the OS name. It&#8217;s great that it offers this option but I don&#8217;t know if all identd clients need to know what OS it is. You can leave it in if you like. Lastly, it tells identd to encrypt the username and then send it. I&#8217;m not sure how many identd clients can handle that.</p>
<p>I changed it to </p>
<p><code><br />
server_args     = -t60 --xerror<br />
</code></p>
<p>start or restart xinetd and you should see 113 listening.</p>
<p>I&#8217;m a lazy guy so I can&#8217;t be bothered to open more than one connection to a server. You can open two if you prefer.</p>
<p>I login and start tcpdump</p>
<p><code><br />
tcpdump -i lo -nn "port 113" &#038;<br />
telnet localhost 113<br />
</code></p>
<p>It should show you distinctly what port two ports are involved in the connection you just made. </p>
<p><em>IP 127.0.0.1.SOURCE_PORT_NUM > 127.0.0.1.113</em></p>
<p>Next type in &#8220;SOURCE_PORT_NUM,113&#8243; and hit Enter. Note that &#8220;SOURCE_PORT&#8221; here is a NUMBER not actually &#8220;SOURCE_PORT&#8221;</p>
<p>Amidst all the messy tcpdump output, you should see a line</p>
<p><em>SOURCE_PORT_NUM , 113 : USERID : UNIX :root</em></p>
<p>That shows you that identd is working properly. At least locally.</p>
<p>So if you ever find any of this useless knowledge helpful, let me know.</p>
<p>Unix/Linux admins are taught to hate identd because it&#8217;s pretty much the least secure protocol but I have to believe that it has a place in an environment that is completely trusted. You don&#8217;t have random users logging in or random accounts being created.</p>
<p>I think the overall advantage here is that you can use this to provide an additional layer of security across your trusted enterprise.</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.anoop.net/2009/07/testing-identd-from-the-command-line-telnet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

