<?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>Schadenfreude &#187; networking</title>
	<atom:link href="http://www.ralree.com/tag/networking/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ralree.com</link>
	<description>Malicious enjoyment derived from observing someone else's misfortune</description>
	<lastBuildDate>Sun, 28 Feb 2010 04:18:37 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Setting up DNS on my network</title>
		<link>http://www.ralree.com/2008/03/25/setting-up-dns-on-my-network/</link>
		<comments>http://www.ralree.com/2008/03/25/setting-up-dns-on-my-network/#comments</comments>
		<pubDate>Tue, 25 Mar 2008 04:09:00 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bind]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[networking]]></category>

		<guid isPermaLink="false">http://www.ralree.info/2008/03/25/setting-up-dns-on-my-network</guid>
		<description><![CDATA[I decided to set up bind9 today on my Gutsy server.  It wasn’t too painful after I finally found some posts from someone who knew what they were doing (2 tutorials I read contained invalid configurations…).
First, you install bind:

sudo apt-get install bind9


I decided to set up bind9 today on my Gutsy server.  It [...]]]></description>
			<content:encoded><![CDATA[<p>I decided to set up bind9 today on my Gutsy server.  It wasn’t too painful after I finally found some posts from someone who knew what they were doing (2 tutorials I read contained invalid configurations…).</p>
<p>First, you install bind:</p>
<pre><code>
sudo apt-get install bind9
</code></pre>
<p><span id="more-11138"></span></p>
<p>I decided to set up bind9 today on my Gutsy server.  It wasn’t too painful after I finally found some posts from someone who knew what they were doing (2 tutorials I read contained invalid configurations…).</p>
<p>First, you install bind:</p>
<pre><code>
sudo apt-get install bind9
</code></pre>
<p>Then, you edit <strong>/etc/bind/named.conf</strong>:</p>
<pre><code>
acl homenet { 192.168.1.0/24; };

options {
  directory "/etc/bind/zones";
};

zone "." IN {
  type hint;
  file "named.root";
};

zone "who" IN {
  type master;
  file "who.db";
  allow-query { homenet; };
};

zone "1.168.192.in-addr.arpa" {
  type master;
  file "rev.1.168.192.in-addr.arpa";
};
</code></pre>
<p>This makes an ACL for my home network (192.168.1.1 &#8211; 192.168.1.254), sets the directory where my zone files live, defines a zone for the root DNS servers, defines a domain called <strong>.who</strong>, where all my machines will live, and only allows my home network IP space to query it, and also defines the reverse lookup zone.</p>
<p>Now, I simply had to make the zone files.  Here’s what I came up with for <strong>zones/who.db</strong>:</p>
<pre><code>
$ORIGIN who.
$TTL 86400
@   IN  SOA   ns.who. rofl.who. (
    2006081401
    28800
    3600
    604800
    38400
)
                IN      NS  ns.who

                IN A       192.168.1.134
*               IN A       192.168.1.134
rofl            IN A       192.168.1.134
ns              IN A       192.168.1.134
davros          IN A       192.168.1.3
</code></pre>
<p>Basically, everything goes to my machine at <strong>192.168.1.134</strong> except things going to davros.  It’s lame, but it’s a good template.</p>
<p>Here’s the Reverse lookup zone:</p>
<pre><code>
$ORIGIN .
$TTL 86400
1.168.192.in-addr.arpa IN SOA ns1.who. rofl.who. (
                        2006081401;
                        28800;
                        604800;
                        604800;
                        86400
)
     NS     ns1.who.
$ORIGIN 1.168.192.in-addr.arpa.
134    PTR    rofl.who.
3      PTR    davros.who.
</code></pre>
<p>Restart the bind service with <code>sudo /etc/init.d/bind9 restart</code>.  Also, add it to your <strong>/etc/resolv.conf</strong>.  Try it out like this:</p>
<pre><code>
hank@davros:~$ dig davros.who

; &lt;&lt;&gt;&gt; DiG 9.4.1-P1 &lt;&lt;&gt;&gt; davros.who
;; global options:  printcmd
;; Got answer:
;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 38320
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:
;davros.who.                    IN      A

;; ANSWER SECTION:
davros.who.             86400   IN      A       192.168.1.3

;; AUTHORITY SECTION:
who.                    86400   IN      NS      ns.who.who.

;; ADDITIONAL SECTION:
ns.who.who.             86400   IN      A       192.168.1.134

;; Query time: 1 msec
;; SERVER: 192.168.1.134#53(192.168.1.134)
;; WHEN: Mon Mar 24 23:22:46 2008
;; MSG SIZE  rcvd: 81
</code></pre>
<p>I then added it to my DD-WRT settings on my Linksys WRT54Gv8 router under <strong>Setup -&gt; Basic Setup</strong>:</p>
<p><img src="http://ralree.com/assets/2008/3/25/screenshot1.png" alt="DDWRT Screencap" /></p>
<p>My router now simply sends out its IP as the sole DNS server, but routes all the DNS requests to the right spots.  Brilliant.  Let me know if I did something stupid/wrong…</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2008/03/25/setting-up-dns-on-my-network/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ICMP Tunneling using ptunnel</title>
		<link>http://www.ralree.com/2008/03/22/icmp-tunneling-using-ptunnel/</link>
		<comments>http://www.ralree.com/2008/03/22/icmp-tunneling-using-ptunnel/#comments</comments>
		<pubDate>Sat, 22 Mar 2008 06:01:00 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[icmp]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[tunneling]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://www.ralree.info/2008/03/22/icmp-tunneling-using-ptunnel</guid>
		<description><![CDATA[I found this great little piece of software that does something really cool: it allows you to route your TCP traffic through a proxy using strictly ICMP packets for communication.  Here&#8217;s a screenshot of it in action:

This rocks &#8211; now I have to try it on some For-Pay wireless&#8230;
]]></description>
			<content:encoded><![CDATA[<p>I found this <a href="http://www.cs.uit.no/~daniels/PingTunnel/">great little piece of software</a> that does something really cool: it allows you to route your TCP traffic through a proxy using strictly ICMP packets for communication.  Here&#8217;s a screenshot of it in action:</p>
<p><a href="/assets/2008/3/22/screenshot2.png"><img src="/assets/2008/3/22/screenshot2_medium.png" alt=""/></a></p>
<p>This rocks &#8211; now I have to try it on some For-Pay wireless&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2008/03/22/icmp-tunneling-using-ptunnel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Another Speed Test</title>
		<link>http://www.ralree.com/2007/09/03/another-speed-test/</link>
		<comments>http://www.ralree.com/2007/09/03/another-speed-test/#comments</comments>
		<pubDate>Mon, 03 Sep 2007 21:37:00 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[comcast]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[networking]]></category>

		<guid isPermaLink="false">http://www.ralree.info/2007/10/13/another-speed-test</guid>
		<description><![CDATA[
Did another speed test today.  So I guess I effectively have approximately a 16Mbit/1Mbit Down/Up line.  Horray me!
]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.speedtest.net/result/181745365.png" alt="Speed Test"/></p>
<p>Did another speed test today.  So I guess I effectively have approximately a 16Mbit/1Mbit Down/Up line.  Horray me!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2007/09/03/another-speed-test/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>slurm is awesome</title>
		<link>http://www.ralree.com/2007/05/10/slurm-is-awesome/</link>
		<comments>http://www.ralree.com/2007/05/10/slurm-is-awesome/#comments</comments>
		<pubDate>Thu, 10 May 2007 04:20:00 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[utility]]></category>

		<guid isPermaLink="false">http://www.ralree.info/2007/10/13/slurm-is-awesome</guid>
		<description><![CDATA[
So, the aptly named slurm is pretty awesome, making pretty graphs of my network traffic.  I think I should use it more often.
]]></description>
			<content:encoded><![CDATA[<p><img src="http://ralree.info/assets/2007/5/10/Slurm.png" alt="Slurm!"/></p>
<p>So, the aptly named <a href="http://www.wormulon.net/slurm">slurm</a> is pretty awesome, making pretty graphs of my network traffic.  I think I should use it more often.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2007/05/10/slurm-is-awesome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.328 seconds -->
