<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><rss xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:admin="http://webns.net/mvcb/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
    <title>Village Elder</title>
    <link>http://www.village-elder.com/blog/</link>
    <description>Why do you seek the Village Elder?</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.1 - http://www.s9y.org/</generator>
    <managingEditor>blog@village-elder.com</managingEditor>
<webMaster>blog@village-elder.com</webMaster>
<pubDate>Fri, 15 Jun 2007 13:18:53 GMT</pubDate>

    <image>
        <url>http://www.village-elder.com/john.village-elder.jpg</url>
        <title>RSS: Village Elder - Why do you seek the Village Elder?</title>
        <link>http://www.village-elder.com/blog/</link>
        <width>100</width>
        <height>109</height>
    </image>

<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/VillageElder" type="application/rss+xml" /><item>
    <title>Great comments from Computer Defence</title>
    <link>http://feeds.feedburner.com/~r/VillageElder/~3/99520319/9-Great-comments-from-Computer-Defence.html</link>
    
    <comments>http://www.village-elder.com/blog/archives/9-Great-comments-from-Computer-Defence.html#comments</comments>
    <wfw:comment>http://www.village-elder.com/blog/wfwcomment.php?cid=9</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://www.village-elder.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=9</wfw:commentRss>
    

    <author>john@village-elder.com (John Curry)</author>
    <content:encoded>
    &lt;p&gt;I found some great comments to my &lt;a href="archives/7-A-realistic-approach-to-creating-very-strong-passwords.html"&gt;article on passwords &lt;/a&gt; on the &lt;a href="http://www.computerdefense.org/?p=278" target="_blank"&gt;Computer Defence blog!&lt;/a&gt; &amp;#160; There is a neat idea using passwords based on URL&amp;#39;s that I think would make very long passwords (40 characters or more) much easier to remember.&amp;#160; Check it out!&lt;/p&gt;&lt;p&gt;&amp;#160;There were also some references to some of my other posts being old news from 1995.&amp;#160; Yeah, it&amp;#39;s true.&amp;#160; I recently added my about page which describes how I&amp;#39;m using this blog as a way to publish entries from my personal tech notes, that I&amp;#39;ve created over the last 10 years.&amp;#160; I&amp;#39;m trying to start with the ones that are most requested.&amp;#160; This approach will certainly lead to tips and how too&amp;#39;s that may already be known my many. &amp;#160;&lt;/p&gt;&lt;p&gt;&amp;#160;Please feel free to take what you need, and skip what you already know.&amp;#160; Thanks to Computer Defence blog for giving my a good going over.&amp;#160; I&amp;#39;m new to the blogging scene and am humble in my blog foo. &amp;#160; &lt;/p&gt;  
    </content:encoded>

    <pubDate>Mon, 05 Mar 2007 11:08:57 -0600</pubDate>
    <guid isPermaLink="false">http://www.village-elder.com/blog/archives/9-guid.html</guid>
    
<feedburner:origLink>http://www.village-elder.com/blog/archives/9-Great-comments-from-Computer-Defence.html</feedburner:origLink></item>
<item>
    <title>To sudo or not to sudo</title>
    <link>http://feeds.feedburner.com/~r/VillageElder/~3/97220584/8-To-sudo-or-not-to-sudo.html</link>
            <category>Unix</category>
    
    <comments>http://www.village-elder.com/blog/archives/8-To-sudo-or-not-to-sudo.html#comments</comments>
    <wfw:comment>http://www.village-elder.com/blog/wfwcomment.php?cid=8</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://www.village-elder.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=8</wfw:commentRss>
    

    <author>john@village-elder.com (John Curry)</author>
    <content:encoded>
      &lt;p&gt;I was forwarded a great &lt;a href="http://elliottback.com/wp/archives/2006/09/03/sudo-make-me-a-sandwich/" target="_blank"&gt;cartoon&lt;/a&gt; today.&amp;#160; It depicts a stick figure using the sudo command on another stick figure with an effect not unlike Obiwan telling that stormtrooper &amp;quot;These are not the droids you&amp;#39;re looking for&amp;quot;. I was so tickled by this cartoon that I had to try and share the humor with my wife.&amp;#160;&amp;#160; Of course I had to start by explaining that sudo is a command used to elevate a UNIX user&amp;#39;s privilege so that they can safely run commands as the dangerous root user without the risk of remaining root for fear of mucking up the system.&amp;#160; It didn&amp;#39;t work, and I had to be content in chuckling to myself.&lt;/p&gt;  &lt;p&gt;This reminded me of a little script that I used to use when I needed to use sudo repeatedly and didn&amp;#39;t want to retype my password every 5 minutes, as is the default behavior of sudo.&amp;#160; I called the script &amp;#39;frankensudo&amp;#39;, perhaps because it keeps bringing sudo back to life.&lt;/p&gt;  &lt;blockquote&gt;&lt;p&gt;&lt;strong&gt;#!/bin/bash&lt;/strong&gt;&lt;br /&gt; &lt;br /&gt; &lt;strong&gt;franken () {&lt;/strong&gt;&lt;br /&gt; &lt;strong&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; /usr/bin/sudo -v&lt;/strong&gt;&lt;br /&gt; &lt;strong&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; /bin/sleep 275&lt;/strong&gt;&lt;br /&gt; &lt;strong&gt;}&lt;/strong&gt;&lt;br /&gt; &lt;strong&gt;while true ; do &lt;/strong&gt;&lt;br /&gt; &lt;strong&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; franken &lt;/strong&gt;&lt;br /&gt; &lt;strong&gt;done&lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt;  &lt;p&gt;&amp;#160;I would invoke this script in the background with:&lt;/p&gt;  &lt;blockquote&gt;&lt;p&gt;&amp;#160;&lt;strong&gt;./frankensudo &amp;amp;&lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt;  &lt;p&gt;Of course, this is a bit sneaky and only slightly defeats the purpose of sudo.&amp;#160; After all you still need to type the word sudo to run a command.&amp;#160; You just won&amp;#39;t have to re-authenticate. &amp;#160; &lt;/p&gt;      
    </content:encoded>

    <pubDate>Tue, 27 Feb 2007 23:34:27 -0600</pubDate>
    <guid isPermaLink="false">http://www.village-elder.com/blog/archives/8-guid.html</guid>
    
<feedburner:origLink>http://www.village-elder.com/blog/archives/8-To-sudo-or-not-to-sudo.html</feedburner:origLink></item>
<item>
    <title>A realistic approach to creating very strong passwords</title>
    <link>http://feeds.feedburner.com/~r/VillageElder/~3/97207428/7-A-realistic-approach-to-creating-very-strong-passwords.html</link>
            <category>Security</category>
    
    <comments>http://www.village-elder.com/blog/archives/7-A-realistic-approach-to-creating-very-strong-passwords.html#comments</comments>
    <wfw:comment>http://www.village-elder.com/blog/wfwcomment.php?cid=7</wfw:comment>

    <slash:comments>4</slash:comments>
    <wfw:commentRss>http://www.village-elder.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=7</wfw:commentRss>
    

    <author>john@village-elder.com (John Curry)</author>
    <content:encoded>
    &lt;font face="verdana,arial,helvetica,sans-serif" size="2"&gt;The challenge with using strong passwords is that strong passwords are difficult to remember.  They often get written down defeating the security benefits of the passwords strength.  On the other side of the problem, easy to remember passwords are almost always easy to crack or out right guess.&lt;br /&gt;&lt;br /&gt;Most security engineers will strike a compromise and go for passwords that contain words or partial words with some character substitution.  &lt;br /&gt;&lt;br /&gt;The fundamental issue here is that humans remember words well.  It&amp;rsquo;s the foundation of our use of language. But we can use another approach to create very strong passwords that are also easy to remember.&lt;br /&gt;&lt;br /&gt;The trick?  Derive passwords from something as easy to remember as words; phrases.  Easy to remember phrases can be used to generate very strong passwords.  &lt;br /&gt;&lt;br /&gt;Let&amp;rsquo;s take a sample phrase to use as our seed.  I tend to prefer obscure quotes from movies or literature.  I look for quotes that I find myself remembering but that aren&amp;rsquo;t popular.  Lets take a quote from the Sam Raimi movie &amp;ldquo;Evil Dead II&amp;rdquo;:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&amp;ldquo;I got you didn&amp;rsquo;t I you little sucker!&amp;rdquo;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;We can take an acronym approach to generate:&lt;br /&gt;&lt;strong&gt;    igydiyls!&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;We could also take a syllable approach to generate:&lt;br /&gt;&lt;strong&gt;    igydniylsk!&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;We could take a last letter approach to get:&lt;br /&gt;&lt;strong&gt;    itutiuer!&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Next we want to strengthen the password without losing its mnemonic properties.  We can accomplish this with some character replacement.  I&amp;rsquo;ll use our first example and extend it.  I try to use characters in the replacement that aren&amp;rsquo;t common.  For example, I wouldn&amp;rsquo;t swap an e for a 3, or an i for a 1 or an a for an @.  Those are too predictable.&lt;br /&gt;&lt;br /&gt;In this case I&amp;rsquo;ll swap:&lt;br /&gt;&lt;br /&gt;    &amp;ldquo;.&amp;rdquo; For the letter &amp;ldquo;d&amp;rdquo;        d stands for dot.&lt;br /&gt;    &amp;ldquo;6&amp;rdquo; for the letter &amp;ldquo;G&amp;rdquo;        similar shape but not very common&lt;br /&gt;    &amp;ldquo;b&amp;rdquo; for the character &amp;ldquo;!&amp;rdquo;    often called a &amp;lsquo;bang&amp;rsquo;.&lt;br /&gt;    &lt;br /&gt;And lastly I&amp;rsquo;ll substitute the character &amp;ldquo;s&amp;rdquo; for a shift on the keyboard so the very next character will be shifted to uppercase.&lt;br /&gt;&lt;br /&gt;Now I get:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;    i6y.iylB&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Ok now that&amp;rsquo;s a pretty good password!  If your administrator handed you this password you would probably cringe, knowing you would have a hell of a time trying to remember it.  Now when I type it I recite the quote.  In my head of course &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;I (type i) got (6) you (y) didn&amp;rsquo;t (.) I (i) you (y) little (l) sucker (SHIFT) ! (B)&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;I hope this helps.  Please post comments if you have any nifty password tricks.&lt;/font&gt;  
    </content:encoded>

    <pubDate>Tue, 20 Feb 2007 21:22:32 -0600</pubDate>
    <guid isPermaLink="false">http://www.village-elder.com/blog/archives/7-guid.html</guid>
    
<feedburner:origLink>http://www.village-elder.com/blog/archives/7-A-realistic-approach-to-creating-very-strong-passwords.html</feedburner:origLink></item>
<item>
    <title>How to spoof your MAC address under Linux</title>
    <link>http://feeds.feedburner.com/~r/VillageElder/~3/97207429/6-How-to-spoof-your-MAC-address-under-Linux.html</link>
            <category>Unix</category>
    
    <comments>http://www.village-elder.com/blog/archives/6-How-to-spoof-your-MAC-address-under-Linux.html#comments</comments>
    <wfw:comment>http://www.village-elder.com/blog/wfwcomment.php?cid=6</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.village-elder.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=6</wfw:commentRss>
    

    <author>john@village-elder.com (John Curry)</author>
    <content:encoded>
    &lt;p&gt;&lt;font size="2"&gt;Sometimes you need to make your Linux box look like another at the switch layer (layer 2 btw). This might make your machine look like another to the networking gear, or if you don&amp;#39;t want the manufacturer of your network card to be known to other devices on the network segment. The process is really easy if don&amp;#39;t need the change to be persistant between reboots.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;  ifdown eth0&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;  ifconfig eth0 hw ether 00:80:FF:FF:98:F5&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;  ifup eth0&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;&lt;font size="2"&gt;If you need to make the change persistent between reboots you can put these commands in the file:&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="verdana,arial,helvetica,sans-serif" size="2"&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;&lt;font face="verdana,arial,helvetica,sans-serif" size="2"&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;  /etc/rc.local&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="verdana,arial,helvetica,sans-serif" size="2"&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;&lt;font face="verdana,arial,helvetica,sans-serif" size="2"&gt;The commands in &lt;font face="courier new,courier,monospace"&gt;rc.local&lt;/font&gt; get run each time the system boots.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="verdana,arial,helvetica,sans-serif" size="2"&gt;If you want to play with this you can use the command&lt;/font&gt;&lt;font face="verdana,arial,helvetica,sans-serif" size="2"&gt;:&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="verdana,arial,helvetica,sans-serif" size="2"&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;&lt;font face="verdana,arial,helvetica,sans-serif" size="2"&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;  arp -a&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="verdana,arial,helvetica,sans-serif" size="2"&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;&lt;font face="verdana,arial,helvetica,sans-serif" size="2"&gt;This command works on both windows and linux, and will list all the MAC addresses your machine can see on the local network segment. If you want to determine what manufacturer made the network card associated with the MAC addresses you found, you can look them up with the nifty tools found &lt;a href="http://www.gorlani.com/tools/findamac/" target="_blank" title="Gorlani dot Com MAC Address Tools"&gt;here&lt;/a&gt;.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&amp;#160;&lt;/p&gt;  
    </content:encoded>

    <pubDate>Sun, 18 Feb 2007 21:38:20 -0600</pubDate>
    <guid isPermaLink="false">http://www.village-elder.com/blog/archives/6-guid.html</guid>
    
<feedburner:origLink>http://www.village-elder.com/blog/archives/6-How-to-spoof-your-MAC-address-under-Linux.html</feedburner:origLink></item>
<item>
    <title>How to retrieve web documents with telnet</title>
    <link>http://feeds.feedburner.com/~r/VillageElder/~3/97207430/2-How-to-retrieve-web-documents-with-telnet.html</link>
            <category>Unix</category>
    
    <comments>http://www.village-elder.com/blog/archives/2-How-to-retrieve-web-documents-with-telnet.html#comments</comments>
    <wfw:comment>http://www.village-elder.com/blog/wfwcomment.php?cid=2</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.village-elder.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=2</wfw:commentRss>
    

    <author>john@village-elder.com (John Curry)</author>
    <content:encoded>
    &lt;pre&gt;&lt;font face="verdana,arial,helvetica,sans-serif" size="2"&gt;Here is how to retrieve documents on a webserver with only the telnet comand...&lt;br /&gt;&lt;br /&gt;first telnet to port 80 on the desired server....&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;telnet www.xonk.org 80&lt;/font&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;At the prompt type the following command...&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;GET /index.html HTML/1.0 &amp;lt;ENTER&amp;gt;&lt;br /&gt;&amp;lt;ENTER&amp;gt;&lt;/font&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;You need 2 newlines to make this work.  So the &amp;quot;&amp;lt;ENTER&amp;gt;&amp;quot;&amp;#39;s mean use the &lt;br /&gt;Enter key on the keyboard.  You can substitute the /index.html for&lt;br /&gt;/index.htm or what ever html you are looking for.&lt;/font&gt;&lt;/pre&gt;   
    </content:encoded>

    <pubDate>Sat, 17 Feb 2007 13:01:38 -0600</pubDate>
    <guid isPermaLink="false">http://www.village-elder.com/blog/archives/2-guid.html</guid>
    
<feedburner:origLink>http://www.village-elder.com/blog/archives/2-How-to-retrieve-web-documents-with-telnet.html</feedburner:origLink></item>
<item>
    <title>How to test a mail server by sending mail with telnet</title>
    <link>http://feeds.feedburner.com/~r/VillageElder/~3/97207431/1-How-to-test-a-mail-server-by-sending-mail-with-telnet.html</link>
            <category>Sendmail</category>
    
    <comments>http://www.village-elder.com/blog/archives/1-How-to-test-a-mail-server-by-sending-mail-with-telnet.html#comments</comments>
    <wfw:comment>http://www.village-elder.com/blog/wfwcomment.php?cid=1</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.village-elder.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=1</wfw:commentRss>
    

    <author>john@village-elder.com (John Curry)</author>
    <content:encoded>
    &lt;pre&gt;&lt;font face="verdana,arial,helvetica,sans-serif" size="2"&gt;Here is a cool way to test SMTP mail relay service.&lt;br /&gt;&lt;br /&gt;Use the telnet program in unix or windows to connect to port 25(SMTP) on your&lt;br /&gt;SMTP server.  Note that windows telnet from the command line will not echo what&lt;br /&gt;you type so it is not recommended.&lt;br /&gt;&lt;br /&gt;  &lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;telnet mail.yourdomain.com 25&lt;/font&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;You will be prompted with a SMTP server response something like this..&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;  Trying 64.26.21.198...&lt;br /&gt;  Connected to mail.yourdomain.com.&lt;br /&gt;  Escape character is &amp;#39;^]&amp;#39;.&lt;br /&gt;  220 mail.yourdomain.com ESMTP Sendmail 8.9.3/8.9.3; Tue, 27 Aug 2002 16:20:32 -0500&lt;/font&gt;&lt;/strong&gt;&lt;br /&gt; &lt;br /&gt;Next you identify yourself with the ehlo &amp;quot;hello&amp;quot; command..&lt;br /&gt;&lt;br /&gt;  &lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;ehlo myhost.mydomain.com&lt;/font&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;You should see a response like this..&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;  250-mail.yourdomain.com myhost.mydomain.com [203.32.9.6] pleased to meet you&lt;br /&gt;  250-8BITMIME&lt;br /&gt;  250-SIZE 10000000&lt;br /&gt;  250-DSN&lt;br /&gt;  250-ONEX&lt;br /&gt;  250-ETRN&lt;br /&gt;  250-XUSR&lt;br /&gt;  250 HELP&lt;/font&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Now start creating the mail message by entering the from address..  &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;  mail from: someone@mydomain.com&lt;/font&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;You will recieve a response like this..&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;  250 someone@mydomain.com... Sender ok&lt;/font&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Now define the recipient&amp;#39;s address..&lt;br /&gt;&lt;br /&gt;&lt;font face="courier new,courier,monospace"&gt;&lt;strong&gt;  rcpt to: person@somewhere.com&lt;/strong&gt;&lt;/font&gt;&lt;br /&gt;If the mail server allows relay for the user you specified, you will recieve&lt;br /&gt;a resonse like this..&lt;br /&gt;&lt;br /&gt;&lt;font face="courier new,courier,monospace"&gt;&lt;strong&gt;  250 person@somewhere.com... Recipient ok&lt;/strong&gt;&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;If the mail server does not allow relaying for the user specified, you will&lt;br /&gt;an error like this..&lt;br /&gt;&lt;br /&gt;&lt;font face="courier new,courier,monospace"&gt;&lt;strong&gt;  550 person@somewhere.com... Relaying denied&lt;/strong&gt;&lt;/font&gt;&lt;br /&gt;This is a good way to test a mail server for the open relay vulnerability. If&lt;br /&gt;the mail server allows relay for all email addresses and is publicly&lt;br /&gt;accessable it may be used by spammers to send unsolicited mail.&lt;br /&gt;&lt;br /&gt;Now we start the data part of the message, type...&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;  data&lt;/font&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Next you need to construct the body of the message and optionaly nice looking &lt;br /&gt;mail headers.  First the optional headers.  You can skip this step and still &lt;br /&gt;send mail. When you are finished with the body of the message, type a single&lt;br /&gt;&amp;quot;.&amp;quot; on an otherwise empty line.  This will signal the end of the message.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;  To: John Thomas &amp;lt;person@somewhere.com&amp;gt;&lt;br /&gt;  From: Jane Smith &amp;lt;someone@mydomain.com&amp;gt;&lt;br /&gt;  Subject: Testing SMTP Mail Relay&lt;br /&gt;  Dear John&lt;br /&gt;&lt;br /&gt;  This is the body of the message.&lt;br /&gt;&lt;br /&gt;  .&lt;/font&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Now you will see a response like this..&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;  250 QAA07271 Message accepted for delivery&lt;/font&gt;&lt;/strong&gt;&lt;br /&gt;Finally, disconnect from the mail server by typing..&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;  quit&lt;/font&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;You will see..&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;  221 mail.yourdomain.com closing connection&lt;br /&gt;  Connection closed by foreign host.&lt;/font&gt;&lt;/strong&gt;&lt;br /&gt;Optionaly you can continue to compose more messages.&lt;br /&gt;&lt;br /&gt;Here is an end to end example...&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;user@host ~$ telnet 192.168.99.99 25&lt;br /&gt;Trying 192.168.99.99...&lt;br /&gt;Connected to mx.someotherplace.com (192.168.99.99).&lt;br /&gt;Escape character is &amp;#39;^]&amp;#39;.&lt;br /&gt;220 mx.someotherplace.com ESMTP CSEEMail (2.0)&lt;br /&gt;ehlo myhost.org&lt;br /&gt;250-mx.someotherplace.com&lt;br /&gt;250-PIPELINING&lt;br /&gt;250-SIZE 28672000&lt;br /&gt;250-VRFY&lt;br /&gt;250-ETRN&lt;br /&gt;250 8BITMIME&lt;br /&gt;mail from: user@someplace.com&lt;br /&gt;250 Ok&lt;br /&gt;rcpt to: user@someotherplace.org&lt;br /&gt;250 Ok&lt;br /&gt;data&lt;br /&gt;354 End data with &amp;lt;CR&amp;gt;&amp;lt;LF&amp;gt;.&amp;lt;CR&amp;gt;&amp;lt;LF&amp;gt;&lt;br /&gt;Subject: Howdy from me&lt;br /&gt;here is the end to end test&lt;br /&gt;.&lt;br /&gt;250 Ok: queued as D3A30D80E1&lt;br /&gt;quit&lt;br /&gt;221 Bye&lt;br /&gt;Connection closed by foreign host.&lt;br /&gt;user@host ~$&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/pre&gt;   
    </content:encoded>

    <pubDate>Fri, 16 Feb 2007 22:14:25 -0600</pubDate>
    <guid isPermaLink="false">http://www.village-elder.com/blog/archives/1-guid.html</guid>
    
<feedburner:origLink>http://www.village-elder.com/blog/archives/1-How-to-test-a-mail-server-by-sending-mail-with-telnet.html</feedburner:origLink></item>
<item>
    <title>Digital Storage Cheat Sheet</title>
    <link>http://feeds.feedburner.com/~r/VillageElder/~3/97207432/3-Digital-Storage-Cheat-Sheet.html</link>
            <category>Networking</category>
    
    <comments>http://www.village-elder.com/blog/archives/3-Digital-Storage-Cheat-Sheet.html#comments</comments>
    <wfw:comment>http://www.village-elder.com/blog/wfwcomment.php?cid=3</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.village-elder.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=3</wfw:commentRss>
    

    <author>john@village-elder.com (John Curry)</author>
    <content:encoded>
    &lt;pre&gt;&lt;font face="verdana,arial,helvetica,sans-serif" size="2"&gt;File Sizes &lt;/font&gt;&lt;/pre&gt;&lt;pre&gt;&lt;table border="1" cellspacing="4" cellpadding="1" style="width: 100%"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="width: 20%"&gt;&lt;font size="2"&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;1024 Bytes&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/td&gt;&lt;td align="center" style="width: 20%"&gt;&lt;font size="2"&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;=&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/td&gt;&lt;td style="width: 20%"&gt;&lt;font size="2"&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;1 Kilobyte&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/td&gt;&lt;td align="center" style="width: 20%"&gt;&lt;font size="2"&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;or&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/td&gt;&lt;td style="width: 20%"&gt;&lt;font size="2"&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;1K&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width: 20%"&gt;&lt;font size="2"&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;1024 Kilobytes&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/td&gt;&lt;td align="center" style="width: 20%"&gt;&lt;font size="2"&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;=&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/td&gt;&lt;td style="width: 20%"&gt;&lt;font size="2"&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;1 Megabyte&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/td&gt;&lt;td align="center" style="width: 20%"&gt;&lt;font size="2"&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;or&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/td&gt;&lt;td style="width: 20%"&gt;&lt;font size="2"&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;1M&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width: 20%"&gt;&lt;font size="2"&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;1048576 Bytes*&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/td&gt;&lt;td align="center" style="width: 20%"&gt;&lt;font size="2"&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;=&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/td&gt;&lt;td style="width: 20%"&gt;&lt;font size="2"&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;1 Megabyte&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/td&gt;&lt;td align="center" style="width: 20%"&gt;&lt;font size="2"&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;or&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/td&gt;&lt;td style="width: 20%"&gt;&lt;font size="2"&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;1M&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width: 20%"&gt;&lt;font size="2"&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;1073741824 Bytes&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/td&gt;&lt;td align="center" style="width: 20%"&gt;&lt;font size="2"&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;=&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/td&gt;&lt;td style="width: 20%"&gt;&lt;font size="2"&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;1 Gigabytes&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/td&gt;&lt;td align="center" style="width: 20%"&gt;&lt;font size="2"&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;or&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/td&gt;&lt;td style="width: 20%"&gt;&lt;font size="2"&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;1G&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;font face="verdana,arial,helvetica,sans-serif" size="2"&gt;&lt;br /&gt;* Sometimes 1000000 Bytes is called a Meg, but this is only an aproximation&lt;/font&gt;&lt;/pre&gt;   
    </content:encoded>

    <pubDate>Thu, 15 Feb 2007 13:13:00 -0600</pubDate>
    <guid isPermaLink="false">http://www.village-elder.com/blog/archives/3-guid.html</guid>
    
<feedburner:origLink>http://www.village-elder.com/blog/archives/3-Digital-Storage-Cheat-Sheet.html</feedburner:origLink></item>
<item>
    <title>Using the Linux route command</title>
    <link>http://feeds.feedburner.com/~r/VillageElder/~3/97207433/4-Using-the-Linux-route-command.html</link>
            <category>Unix</category>
    
    <comments>http://www.village-elder.com/blog/archives/4-Using-the-Linux-route-command.html#comments</comments>
    <wfw:comment>http://www.village-elder.com/blog/wfwcomment.php?cid=4</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.village-elder.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=4</wfw:commentRss>
    

    <author>john@village-elder.com (John Curry)</author>
    <content:encoded>
    &lt;pre&gt;&lt;font face="verdana,arial,helvetica,sans-serif" size="2"&gt;Add a default gateway&lt;/font&gt;&lt;/pre&gt;&lt;pre&gt;&lt;font face="verdana,arial,helvetica,sans-serif" size="2"&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;route add default gw 10.0.0.1&lt;/font&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;This will add a temporary route that will clear after reboot.  To set the&lt;br /&gt;default gateway betwen reboots edit /etc/sysconfig/network with the following&lt;br /&gt;line&lt;br /&gt;&lt;br /&gt;&lt;font face="courier new,courier,monospace"&gt;&lt;strong&gt;GATEWAY=10.0.0.1&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;/pre&gt;&lt;font size="2"&gt;&lt;hr width="100%" size="2" /&gt;&lt;/font&gt;&lt;pre&gt;&lt;font face="verdana,arial,helvetica,sans-serif" size="2"&gt;&lt;br /&gt;Add a static route&lt;br /&gt;&lt;br /&gt;&lt;font face="courier new,courier,monospace"&gt;&lt;strong&gt;route add -net 192.168.100.0 netmask 255.255.255.0 eth0&lt;/strong&gt;&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;This will route all traffic toward this subnet to the eth0 interface&lt;/font&gt;&lt;/pre&gt;&lt;font size="2"&gt;&lt;hr width="100%" size="2" /&gt;&lt;/font&gt;&lt;pre&gt;&lt;font face="verdana,arial,helvetica,sans-serif" size="2"&gt;&lt;br /&gt;Manually add a static non gateway route&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;font face="courier new,courier,monospace"&gt;route add -net 10.8.100.0 netmask 255.255.255.0 gw 10.0.16.140&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/pre&gt;&lt;font size="2"&gt;&lt;hr width="100%" size="2" /&gt;&lt;/font&gt;&lt;pre&gt;&lt;font face="verdana,arial,helvetica,sans-serif" size="2"&gt;you can add stuff to the file &lt;font face="courier new,courier,monospace"&gt;/etc/sysconfig/static-routes&lt;/font&gt;&lt;br /&gt;to make stuff start on boot&lt;br /&gt;&lt;br /&gt;The syntax is a bit different than the route command.  Check the file&lt;br /&gt;&lt;font face="courier new,courier,monospace"&gt;/etc/sysconfig/network-scripts/ifup-route&lt;/font&gt; to see the syntax it&amp;#39;s using.&lt;/font&gt;&lt;/pre&gt;  
    </content:encoded>

    <pubDate>Wed, 14 Feb 2007 13:38:00 -0600</pubDate>
    <guid isPermaLink="false">http://www.village-elder.com/blog/archives/4-guid.html</guid>
    
<feedburner:origLink>http://www.village-elder.com/blog/archives/4-Using-the-Linux-route-command.html</feedburner:origLink></item>

</channel>
</rss>
