<?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>blog.layer2.org &#187; network</title>
	<atom:link href="http://blog.layer2.org/category/network/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.layer2.org</link>
	<description>A technical blog</description>
	<lastBuildDate>Sun, 23 May 2010 00:15:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Running an rssh chroot on Ubuntu Lucid 10.04</title>
		<link>http://blog.layer2.org/2010/05/22/running-an-rssh-chroot-on-ubuntu-lucid-10-04/</link>
		<comments>http://blog.layer2.org/2010/05/22/running-an-rssh-chroot-on-ubuntu-lucid-10-04/#comments</comments>
		<pubDate>Sun, 23 May 2010 00:06:38 +0000</pubDate>
		<dc:creator>solipsistic</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[chroot]]></category>
		<category><![CDATA[rssh]]></category>

		<guid isPermaLink="false">http://blog.layer2.org/?p=90</guid>
		<description><![CDATA[I had some trouble getting a chroot running for rssh on Ubuntu Lucid 10.04. I ran the script below:
/usr/share/doc/rssh/examples/mkchroot.sh /var/chroot
It created most of the files, but didn&#8217;t include the right libraries. Here&#8217;s the minimum file listing I&#8217;ve been able to use:

libnsl was the tricky one that I found by trial and error. I installed bash [...]]]></description>
			<content:encoded><![CDATA[<p>I had some trouble getting a chroot running for rssh on Ubuntu Lucid 10.04. I ran the script below:</p>
<p>/usr/share/doc/rssh/examples/mkchroot.sh /var/chroot</p>
<p>It created most of the files, but didn&#8217;t include the right libraries. Here&#8217;s the minimum file listing I&#8217;ve been able to use:</p>
<p><a href="http://blog.layer2.org/wp-content/uploads/2010/05/rssh.png"><img class="alignnone size-full wp-image-91" title="rssh" src="http://blog.layer2.org/wp-content/uploads/2010/05/rssh.png" alt="" width="347" height="450" /></a></p>
<p>libnsl was the tricky one that I found by trial and error. I installed bash inside the chroot and tested running each binary. Everything runs without libnsl, but its required if you want it to work with rssh.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.layer2.org/2010/05/22/running-an-rssh-chroot-on-ubuntu-lucid-10-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Serve home directories to internal IPs only with lighttpd</title>
		<link>http://blog.layer2.org/2007/11/04/serve-home-directories-to-internal-ips-only-with-lighttpd/</link>
		<comments>http://blog.layer2.org/2007/11/04/serve-home-directories-to-internal-ips-only-with-lighttpd/#comments</comments>
		<pubDate>Mon, 05 Nov 2007 01:47:39 +0000</pubDate>
		<dc:creator>solipsistic</dc:creator>
				<category><![CDATA[network]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://blog.layer2.org/2007/11/04/serve-home-directories-to-internal-ips-only-with-lighttpd/</guid>
		<description><![CDATA[Recently, I decided I wanted to share home directories via HTTP to everyone on my home network. This is an easy way to share files with Windows machines where you don&#8217;t have any type of sshfs-like support. The problem was that this file/web server also faces the Internet. Obviously I don&#8217;t want to share our [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I decided I wanted to share home directories via HTTP to everyone on my home network. This is an easy way to share files with Windows machines where you don&#8217;t have any type of sshfs-like support. The problem was that this file/web server also faces the Internet. Obviously I don&#8217;t want to share our personal files to anybody who cares to look. After a bit of playing, I came up with this configuration:</p>
<pre>
$HTTP["remoteip"] != "192.168.1.0/24" {
  $HTTP["url"] =~ "^/~" {
    url.access-deny = ( "" )
    dir-listing.activate = "disable"
  }
}</pre>
<p>This allows any host with an IP in the 192.168.1.1-254 range view any URL that begins with /~username. It denies everyone else with a <em>403 &#8211; Forbidden</em> message. Note that for some reason, listing the conditions in the opposite order (url first, remoteip second) did not produce the correct results.</p>
<p>Finally, make sure that you have both the appropriate modules enabled:</p>
<pre>
server.modules += ( "mod_access", "mod_userdir" )</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.layer2.org/2007/11/04/serve-home-directories-to-internal-ips-only-with-lighttpd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Verizon FIOS and running a Linux operating system</title>
		<link>http://blog.layer2.org/2007/10/19/verizon-fios-and-running-a-linux-operating-system/</link>
		<comments>http://blog.layer2.org/2007/10/19/verizon-fios-and-running-a-linux-operating-system/#comments</comments>
		<pubDate>Fri, 19 Oct 2007 12:34:11 +0000</pubDate>
		<dc:creator>solipsistic</dc:creator>
				<category><![CDATA[fios]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[network]]></category>

		<guid isPermaLink="false">http://blog.layer2.org/2007/10/19/verizon-fios-and-running-a-linux-operating-system/</guid>
		<description><![CDATA[Despite the well known fact that Verizon Can&#8217;t Do Math, I have to say that I am surprised to find that their FIOS service is pretty good. I&#8217;ve had it for over a month, and haven&#8217;t noticed it go down or have any speed problems.
More interestingly, I&#8217;ve actually found that they are pretty Linux-friendly. Actually, [...]]]></description>
			<content:encoded><![CDATA[<p>Despite the well known fact that <a href="http://science.slashdot.org/article.pl?sid=06/12/09/0625245&amp;from=rss">Verizon Can&#8217;t Do Math</a>, I have to say that I am surprised to find that their FIOS service is pretty good. I&#8217;ve had it for over a month, and haven&#8217;t noticed it go down or have any speed problems.</p>
<p>More interestingly, I&#8217;ve actually found that they are pretty Linux-friendly. Actually, Linux-friendly might be too strong &#8211; lets just say that they have not locked me into using Windows for their service. I did have to use activatemyfios.verizon.net, which has a Windows/OS X only Firefox extension. But other than that, I haven&#8217;t felt the vendor lock-in blues.<br />
Here are some good points:</p>
<ul>
<li>As far as I can tell, Verizon only blocks port 80. I run both SSH and HTTPS from my home box.</li>
<li>Once I spoofed the <a href="http://blog.layer2.org/2007/10/01/silly-verizon-and-their-creepy-new-router/">correct MAC address</a>, I was able to use my own non-Verizon router</li>
<li>There is no PPPoE authentication or the like</li>
<li>My IP address has not changed since I started the service</li>
<li>Latency is very low (about 12ms to Google)</li>
<li>Service has not gone down</li>
</ul>
<p>I don&#8217;t use their phone or TV services, so I can&#8217;t comment on those. My guess would be that services like Vonage or Skype would work pretty well on my FIOS connection.</p>
<p>Bad points:</p>
<ul>
<li>The backup battery is supposedly pretty weak. It only provides voice service during a power outage, not Internet. For that, you&#8217;d have to use a UPS. Fortunately, I haven&#8217;t had the power go out.</li>
<li>It took forever to get the service installed. Even though the previous house owner already had FIOS installed, they couldn&#8217;t come out for 2.5 weeks.</li>
</ul>
<p>Verizon does pretty well here. So if you&#8217;re thinking about switching &#8211; I would recommend it.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.layer2.org/2007/10/19/verizon-fios-and-running-a-linux-operating-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Who the heck is 142.166.3.122 and 142.166.3.123 (radianrss-1.0)?</title>
		<link>http://blog.layer2.org/2007/10/15/who-the-heck-is-1421663123-radianrss-10/</link>
		<comments>http://blog.layer2.org/2007/10/15/who-the-heck-is-1421663123-radianrss-10/#comments</comments>
		<pubDate>Tue, 16 Oct 2007 03:05:54 +0000</pubDate>
		<dc:creator>solipsistic</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://blog.layer2.org/2007/10/15/who-the-heck-is-1421663123-radianrss-10/</guid>
		<description><![CDATA[I&#8217;ve been perusing through my logs lately and found the user agent &#8220;radianrss-1.0&#8243; numerous times. I&#8217;d never heard of this program (maybe an RSS reader?), so I did a google search. The only commentary I found was this post speculating that 142.166.3.123 was possibly involved in the compromise of katester.net.
Interestingly enough, the rest of the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been perusing through my logs lately and found the user agent &#8220;radianrss-1.0&#8243; numerous times. I&#8217;d never heard of this program (maybe an RSS reader?), so I did a <a href="http://www.google.com/search?q=radianrss">google search</a>. The only commentary I found was <a href="http://c0nsumer.livejournal.com/1061555.html">this post</a> speculating that 142.166.3.123 was possibly involved in the compromise of katester.net.</p>
<p>Interestingly enough, the rest of the search results are the traffic statistics pages of various Wordpress blogs around the Internet. There doesn&#8217;t seem to be a clear answer for what &#8220;radianrss&#8221; is, or why 142.166.3.122-123 is constantly indexing all of my blog posts.</p>
<p><span id="more-53"></span></p>
<pre>
[evian]$ grep "142.166.3.123" access.log
142.166.3.123 - - [15/Oct/2007:01:02:23 -0700] "GET /2007/10/14/if-youre-not-already-start-using-dd-wrt/ HTTP/1.1" 200 14022 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:01:52:14 -0700] "GET /feed/atom/ HTTP/1.1" 200 36826 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:03:36:42 -0700] "GET /feed/atom/ HTTP/1.1" 200 36826 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:04:02:18 -0700] "GET /2007/10/14/if-youre-not-already-start-using-dd-wrt/ HTTP/1.1" 200 14023 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:06:23:53 -0700] "GET /2007/10/06/the-new-ubuntu-is-coming-already/ HTTP/1.1" 200 10915 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:07:00:07 -0700] "GET /2007/10/07/apt-get-does-have-an-option-for-automatic-security-updates/ HTTP/1.1" 200 12223 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:07:01:49 -0700] "GET /2007/10/14/if-youre-not-already-start-using-dd-wrt/ HTTP/1.1" 200 14023 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:07:57:22 -0700] "GET /2007/10/08/use-mozilla-firefox-under-wine-to-reach-those-windows-only-sites/ HTTP/1.1" 200 13046 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:09:06:34 -0700] "GET /2007/10/12/rails-ruby-scriptconsole-has-tab-completion/ HTTP/1.1" 200 16010 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:09:17:26 -0700] "GET /feed/atom/ HTTP/1.1" 200 13032 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:09:27:21 -0700] "GET /feed/atom/ HTTP/1.1" 200 36826 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:10:02:07 -0700] "GET /2007/10/14/if-youre-not-already-start-using-dd-wrt/ HTTP/1.1" 200 14022 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:10:17:18 -0700] "GET /2007/10/14/slow-ssh-logins-in-ubuntu-feisty-704/ HTTP/1.1" 200 12895 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:12:46:43 -0700] "GET /2007/10/13/use-ps2pdf-to-create-pdfs-from-any-linux-application/ HTTP/1.1" 200 11739 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:13:01:23 -0700] "GET /2007/10/14/if-youre-not-already-start-using-dd-wrt/ HTTP/1.1" 200 14022 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:13:03:56 -0700] "GET /2007/10/14/slow-ssh-logins-in-ubuntu-feisty-704/ HTTP/1.1" 200 12882 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:14:32:48 -0700] "GET /feed/atom/ HTTP/1.1" 200 36826 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:15:08:14 -0700] "GET /feed/atom/ HTTP/1.1" 200 36825 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:15:08:21 -0700] "GET /2007/10/14/slow-ssh-logins-in-ubuntu-feisty-704/ HTTP/1.1" 200 12894 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:15:08:26 -0700] "GET /2007/10/14/if-youre-not-already-start-using-dd-wrt/ HTTP/1.1" 200 14014 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:16:01:29 -0700] "GET /2007/10/14/if-youre-not-already-start-using-dd-wrt/ HTTP/1.1" 200 14023 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:16:03:03 -0700] "GET /2007/10/14/slow-ssh-logins-in-ubuntu-feisty-704/ HTTP/1.1" 200 12882 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:18:29:20 -0700] "GET /2007/10/14/slow-ssh-logins-in-ubuntu-feisty-704/ HTTP/1.1" 200 12901 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:18:29:21 -0700] "GET /2007/10/14/if-youre-not-already-start-using-dd-wrt/ HTTP/1.1" 200 14008 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:18:47:46 -0700] "GET /feed/atom/ HTTP/1.1" 200 36826 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:19:01:27 -0700] "GET /2007/10/14/if-youre-not-already-start-using-dd-wrt/ HTTP/1.1" 200 14028 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:19:02:41 -0700] "GET /2007/10/14/slow-ssh-logins-in-ubuntu-feisty-704/ HTTP/1.1" 200 12896 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:19:49:08 -0700] "GET /feed/atom/ HTTP/1.1" 200 36818 "-" "radianrss-1.0"</pre>
<p>This is traffic just from today &#8211; less than 24 hours! Looking back a little further I also found</p>
<pre>
142.166.3.123 - - [14/Oct/2007:17:35:13 -0700] "GET /2007/10/14/slow-ssh-logins-in-ubuntu-feisty-704 HTTP/1.1" 200 450 "-" "Java/1.5.0_11"</pre>
<p>which has decided to use Java 1.5 as its user agent string.</p>
<p>I&#8217;m curious to know why this IP address is retrieving all of my (and others&#8217;) Wordpress blog(s), and why so frequently. Its not like the page has changed between each retrieval. Have you found this IP address in your logs, the &#8220;radianrss-1.0&#8243; user agent string, or anything else of interest?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.layer2.org/2007/10/15/who-the-heck-is-1421663123-radianrss-10/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Slow SSH logins in Ubuntu Feisty (7.04)</title>
		<link>http://blog.layer2.org/2007/10/14/slow-ssh-logins-in-ubuntu-feisty-704/</link>
		<comments>http://blog.layer2.org/2007/10/14/slow-ssh-logins-in-ubuntu-feisty-704/#comments</comments>
		<pubDate>Mon, 15 Oct 2007 00:10:48 +0000</pubDate>
		<dc:creator>solipsistic</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[network]]></category>

		<guid isPermaLink="false">http://blog.layer2.org/2007/10/14/slow-ssh-logins-in-ubuntu-feisty-704/</guid>
		<description><![CDATA[There are two major reasons (I know of) that can cause extremely slow SSH logins &#8211; anywhere in the range of 15-30 seconds. It doesn&#8217;t seem like a long time, but it takes forever to wait that out sitting at the terminal.
Say no to GSSAPIAuthentication
For some reason,  GSSAPIAuthentication is turned on by default in [...]]]></description>
			<content:encoded><![CDATA[<p>There are two major reasons (I know of) that can cause extremely slow SSH logins &#8211; anywhere in the range of 15-30 seconds. It doesn&#8217;t seem like a long time, but it takes forever to wait that out sitting at the terminal.</p>
<h2><strong>Say no to GSSAPIAuthentication</strong></h2>
<p>For some reason,  GSSAPIAuthentication is turned on by default in Ubuntu Feisty (7.04). If you ssh -v somewhere.com, you&#8217;ll see this in the output:</p>
<pre>...
debug1: Local version string SSH-2.0-OpenSSH_4.3p2 Debian-8ubuntu1
debug1: An invalid name was supplied
Cannot determine realm for numeric host address

debug1: An invalid name was supplied
A parameter was malformed
Validation error

debug1: An invalid name was supplied
Cannot determine realm for numeric host address

debug1: An invalid name was supplied
A parameter was malformed
Validation error

debug1: SSH2_MSG_KEXINIT sent
...</pre>
<p>There are two ways to fix it. You can edit either <strong>/etc/ssh/ssh_config</strong> to include</p>
<pre>GSSAPIAuthentication no</pre>
<p>Or, you can edit <strong>~/.ssh/config</strong> and add the same line. The only difference is that <strong>/etc/ssh/ssh_config</strong> will affect all systems users &#8211; probably a good thing.</p>
<h2><strong>Slow/broken DNS lookups</strong></h2>
<p>Each time you log into an OpenSSH server, it will typically perform a reverse-lookup on your IP address and store it in wtmp (try running the command &#8220;last&#8221;). If that DNS lookup times out, you&#8217;ll be in for a big delay. Whats worse, OpenSSH has a habit of performing the lookup 3 or 4 times, further extending the delay to 30 seconds or more.</p>
<p>Its generally best to fix the source of the problem by fixing whatever problem exists in your DNS infrastructure. This could be as simple as pointing /etc/resolv.conf to the correct nameserver.</p>
<p>If you&#8217;re really in a bind, you can pass the <strong>-u0</strong> flag to sshd. Unfortunately, the sshd man page does not reveal any config file options to accomplish the same thing. But, the -u0 flag will stop sshd from performing any lookups that are not absolutely necessary as part of the authentication mechanism.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.layer2.org/2007/10/14/slow-ssh-logins-in-ubuntu-feisty-704/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Silly Verizon and their creepy new router</title>
		<link>http://blog.layer2.org/2007/10/01/silly-verizon-and-their-creepy-new-router/</link>
		<comments>http://blog.layer2.org/2007/10/01/silly-verizon-and-their-creepy-new-router/#comments</comments>
		<pubDate>Tue, 02 Oct 2007 01:58:51 +0000</pubDate>
		<dc:creator>solipsistic</dc:creator>
				<category><![CDATA[fios]]></category>
		<category><![CDATA[network]]></category>

		<guid isPermaLink="false">http://blog.layer2.org/2007/10/01/silly-verizon-and-their-creepy-new-router/</guid>
		<description><![CDATA[I recently signed up for the Verizon FIOS service. Its nice, but probably not in the way you&#8217;d think. I only have 5 mbps down / 2 mbps up, which is the basic plan, and in my opinion, the only plan that makes financial sense. I just can&#8217;t see myself paying $180 per month for [...]]]></description>
			<content:encoded><![CDATA[<p>I recently signed up for the Verizon FIOS service. Its nice, but probably not in the way you&#8217;d think. I only have 5 mbps down / 2 mbps up, which is the basic plan, and in my opinion, the only plan that makes financial sense. I just can&#8217;t see myself paying <a href="http://www22.verizon.com/content/consumerfios/packages+and+prices/packages+and+prices.htm">$180 per month</a> for home internet service.</p>
<p>The nice part about the service is the latency. I have a 12ms ping to Google. I doubt most people get that at home on their cable or DSL lines. The best I&#8217;ve ever had at home was 40ms. At any rate, the low latency helps web pages load that extra bit faster (and it <em>is</em> noticeable).</p>
<p>The one thing about their service is their router. Apparently, I&#8217;m not the first one that <a href="http://www.mydd.com/story/2006/6/30/113944/311">thinks it is a little creepy</a>. Verizon has customized it to provide their IPTV (cable) service as well as perform the normal router functions. I decided to use my <a href="http://en.wikipedia.org/wiki/WRT54G">Linksys WRT54G</a> instead.</p>
<p>If you want to use their IPTV services, I&#8217;m willing to bet that you can chain their router behind yours. Just make sure to either change your router&#8217;s DHCP subnet to something other than 192.168.1.0/24, or change the Verizon router to use a different subnet (ie. 192.168.2.0/24). Most consumer routers will puke if you try to give them a non-routable IP address on their WAN interface in the same subnet as the one they are supposed to give to their own clients. Rightly so, I guess. Please comment about your experience with chaining the Verizon router below your own.</p>
<p>While setting up my own router, I noticed a few things:</p>
<ol>
<li>Verizon sets up your router with a random ESSID (network name) and WEP encryption. My tech wrote down the WEP key when she installed the service.</li>
<li>Even if you do stick with the Verizon router, please switch to WPA. WEP is easy enough to crack and won&#8217;t keep your data secure from a moderately skilled attacker.</li>
<li>The default login credentials for the router are <strong>admin/password</strong>. I&#8217;ve also heard some people having success with using &#8220;password1&#8243; as the password. Please change this the first time you log in.</li>
<li>Verizon uses MAC filtering, so you must spoof/clone the MAC on your router to match the Verizon router.</li>
<li>There is a MAC address printed on the outside of the router. Unfortunately, this is NOT the MAC address used by the WAN interface on the router. Instead, you must log into the router and choose the &#8220;System Monitoring&#8221; section (upper-right corner). This will give you what they call a &#8220;Broadband MAC Address.&#8221;</li>
</ol>
<p><a href="http://blog.layer2.org/wp-content/uploads/2007/10/verizon-router.png" title="Verizon Router Broadband MAC"><img src="http://blog.layer2.org/wp-content/uploads/2007/10/verizon-router.thumbnail.png" alt="Verizon Router Broadband MAC" /></a></p>
<p>Once I used the correct MAC address, I was able to get onto the FIOS network using my own router with no problems. They say your own router may not perform as well as theirs, but I didn&#8217;t notice any difference.</p>
<p>One last thing: You might notice that each time you type a character in the password field, several characters will appear. A brief look at the code suggests that they are hashing the data as you type. While it is incredibly annoying to have those characters randomly appear, at least they are using BSD-licensed code from a <a href="http://pajhome.org.uk/crypt/md5">reputable source</a>. Thank you Paul Johnston!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.layer2.org/2007/10/01/silly-verizon-and-their-creepy-new-router/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Use OpenDNS for faster and more secure browsing</title>
		<link>http://blog.layer2.org/2007/09/29/use-opendns-for-faster-and-more-secure-browsing/</link>
		<comments>http://blog.layer2.org/2007/09/29/use-opendns-for-faster-and-more-secure-browsing/#comments</comments>
		<pubDate>Sat, 29 Sep 2007 04:22:32 +0000</pubDate>
		<dc:creator>solipsistic</dc:creator>
				<category><![CDATA[fios]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[network]]></category>

		<guid isPermaLink="false">http://blog.layer2.org/2007/09/29/use-opendns-for-faster-and-more-secure-browsing/</guid>
		<description><![CDATA[I ran across opendns.org the other day and decided to try it.
There was a definite speed boost! I have Verizon FIOS and the OpenDNS servers are more responsive than Verizon&#8217;s DNS servers. I&#8217;ve noticed that most pages now load in about 3/4 of a second (time to look up the DNS name, fetch the page, [...]]]></description>
			<content:encoded><![CDATA[<p>I ran across opendns.org the other day and decided to try it.</p>
<p>There was a definite speed boost! I have Verizon FIOS and the OpenDNS servers are more responsive than Verizon&#8217;s DNS servers. I&#8217;ve noticed that most pages now load in about 3/4 of a second (time to look up the DNS name, fetch the page, and render it). I use <a href="http://fasterfox.mozdev.org/">fasterfox </a>to time it.</p>
<p><a href="http://opendns.org">OpenDNS </a>also provides some interesting reports. You can turn off the DNS logs if you like (privacy and all), but I found them useful. I have a <a href="http://lugui.layer2.org/index.php?title=POP_Your_Vandalmail_Live_to_Another_Service">cron job that runs every 5 minutes</a> and fetches my mail via POP and mails it to another account. The cron job had done over 24,000 DNS lookups of the same IP address in the last 8 days. My router is supposed to be caching those requests (isn&#8217;t that why you run local DNS?), but its easy to see that caching is not happening.</p>
<p>Also, OpenDNS gives you the ability to block domains, and automatically will block phishing and pornographic sites if you want. This can be pretty useful, for kid-safe and normal-user-safe browsing.</p>
<p>I&#8217;ve been pretty happy with using the service so far &#8211; especially since it is free. The only thing I&#8217;ve noticed is that I haven&#8217;t seen any *nix update clients. Anyone found one that they like?</p>
<p><strong>Update:</strong> here are some screenshots from their interface</p>
<p><strong>Recent Activity </strong></p>
<p><a href="http://blog.layer2.org/wp-content/uploads/2007/09/recent-activity.png" title="Recent Activity"><img src="http://blog.layer2.org/wp-content/uploads/2007/09/recent-activity.png" alt="Recent Activity" /></a></p>
<p><strong>Unique Domains</strong></p>
<p><a href="http://blog.layer2.org/wp-content/uploads/2007/09/unique-domains.png" title="Unique Domains"><img src="http://blog.layer2.org/wp-content/uploads/2007/09/unique-domains.png" alt="Unique Domains" /></a></p>
<p><strong>Top Domains</strong></p>
<p><a href="http://blog.layer2.org/wp-content/uploads/2007/09/top-domains.png" title="Top Domains"><img src="http://blog.layer2.org/wp-content/uploads/2007/09/top-domains.png" alt="Top Domains" /></a></p>
<p><strong>Sample blocked domain </strong></p>
<p><a href="http://blog.layer2.org/wp-content/uploads/2007/09/internetbadguyscom.png" title="Blocked domain"><img src="http://blog.layer2.org/wp-content/uploads/2007/09/internetbadguyscom.png" alt="Blocked domain" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.layer2.org/2007/09/29/use-opendns-for-faster-and-more-secure-browsing/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Friends don&#8217;t let friends use First Step Internet</title>
		<link>http://blog.layer2.org/2007/09/24/friends-dont-let-friends-use-first-step-internet/</link>
		<comments>http://blog.layer2.org/2007/09/24/friends-dont-let-friends-use-first-step-internet/#comments</comments>
		<pubDate>Tue, 25 Sep 2007 03:37:53 +0000</pubDate>
		<dc:creator>solipsistic</dc:creator>
				<category><![CDATA[network]]></category>

		<guid isPermaLink="false">http://blog.layer2.org/2007/09/24/friends-dont-let-friends-use-first-step-internet/</guid>
		<description><![CDATA[A long time ago, in a dream, really a nightmare, I had this terrible ISP &#8211; and then I realized that it wasn&#8217;t a dream at all. It was real.
The ISP was First Step Internet. When I was in college, I used to live in this apartment complex that bundled Internet with their lease agreement. [...]]]></description>
			<content:encoded><![CDATA[<p>A long time ago, in a dream, really a nightmare, I had this terrible ISP &#8211; and then I realized that it wasn&#8217;t a dream at all. It was real.</p>
<p>The ISP was <a href="http://www.fsr.com/">First Step Internet</a>. When I was in college, I used to live in this apartment complex that bundled Internet with their lease agreement. It was really a good idea, because it puts your Internet bill into your rent, so you have more predictable monthly expenses. It also forced your roommates to help pay for Internet. For some reason I always had roommates that didn&#8217;t want to pay because they didn&#8217;t need the Internet. And at $15 a month, you really couldn&#8217;t beat it since most other offerings were at least $25 per month. When you&#8217;re in college, $10 per month is a lot of money.</p>
<p>But the service from First Step Internet was terrible.</p>
<p>In the beginning, I was actually pretty excited. They came and wired all the rooms in the apartment complex with CAT5 cables, and we were eventually given the OK to plug in and use the Internet. There was no proprietary setup with a lot of ISPs like Verizon &#8211; just get an IP address from the DHCP server and you were connected.</p>
<p>It was initially opened up a week or two before the school year started. When I was first testing the line, I was happy with it since I was getting about 3 megs down and 1 meg up. While not the best, I definitely couldn&#8217;t complain for $15/3 roommates = $5 per month.</p>
<p>But as soon as everyone came back for the school year and plugged into their computers, the service came to a screeching halt. Here is one of the results I got from their speed test results:</p>
<p><a href="http://blog.layer2.org/wp-content/uploads/2007/09/slowfsr-small.png" title="Slow First Step Internet"><img src="http://blog.layer2.org/wp-content/uploads/2007/09/slowfsr-small.png" alt="Slow First Step Internet" /></a></p>
<p>Can you imagine only getting 85kbps to your ISP, and trying to share that among 3 people? Just think about the speed you would get to basically any site on the Internet. Now magnify that by about 10 times and you will get an idea for the pain that we felt while using their service. This screenshot was taken about 1am, so its not like their lines were busy. This was a good speed test. I&#8217;ve seen them 35kbps and below on their <strong>broadband</strong> lines.</p>
<p>There were many problems with their service, and I am going to list some of those that I experienced.</p>
<ul>
<li>Very slow link speeds (as seen above)</li>
<li>Very high latency (150ms+ ping to Google.com was common)</li>
<li>We were not given a public IP address. Instead I had a non-routable IP in the 192.168.x.y range. I talked with their technical support and they absolutely would not give me a public IP address or even forward a single port to my machine for SSH.</li>
<li>They used default/weak passwords or vulnerable switches/routers. Someone from our apartment complex was obviously as frustrated as I was and hacked their equipment. Unfortunately they weren&#8217;t too smart and when First Step tracked them down they had their network privileges revoked.</li>
<li>They subjectively blacklisted certain apartments for using too much bandwidth. When I sent them the screenshot above the tech confirmed my apartment was blacklisted, and that is why I was getting slow speeds. He then later told me that when they put in the bandwidth rules, they put them in backwards so that I had 85kbps down and something like 300kbps up. Not only did they severely limit the speed, they put the rules in backwards to make the service even more unbearable? What kind of ISP is this?</li>
<li>Their switches limited bandwidth by <em>switch port</em> and NOT by throttling the connection to the remote site you were connecting to. So, if I wanted to share a file with my roommate or play a LAN game, I was <strong>still</strong> limited by the 85/300kbps rule.</li>
<li>Even though First Step has a dedicated wireless link to my university, I still could not get under 200ms pings to the CS department Solaris servers. WTF?</li>
<li>First Step was at their worst when I contacted them about a problem I knew at least a dozen people in the apartment complex were having. For some reason they couldn&#8217;t access Hotmail through Internet Explorer. It worked fine with Firefox &#8211; but Internet Explorer would simply stop loading the page after the initial log in. Since I run Linux I never experienced the problem myself, but I tried for weeks to get them to understand that <em>many</em> people that I knew were having this issue. I even considered starting a petition, having people sign it and sending it to them. Finally I sent them a packet dump detailing all of the problem frame numbers and showing the difference in behavior between IE and Firefox. They came back a few days later saying that their <a href="http://www.mikrotik.com/">MikroTik router</a> had a bug in its firmware.</li>
<li>My entire apartment complex (200+ people) was served Internet by a single DSL line. This was a direct quote from one of their techs after a long conversation about why my service was so slow.</li>
</ul>
<p>At the end of the day the worst part of everything was that their service was consistently bad. Their techs were about the skill level I would expect &#8211; able to help most home users with general Internet problems. But sometimes I did feel like they were trying to fool me by telling me that the Internet was fine and 200ms pings were normal.</p>
<p>Man, I&#8217;m glad I don&#8217;t even live within range of First Step Internet anymore. They are hazardous to your health.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.layer2.org/2007/09/24/friends-dont-let-friends-use-first-step-internet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple network uptime test</title>
		<link>http://blog.layer2.org/2007/09/17/simple-network-uptime-test/</link>
		<comments>http://blog.layer2.org/2007/09/17/simple-network-uptime-test/#comments</comments>
		<pubDate>Tue, 18 Sep 2007 02:40:18 +0000</pubDate>
		<dc:creator>solipsistic</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[network]]></category>

		<guid isPermaLink="false">http://blog.layer2.org/2007/09/17/simple-network-uptime-test/</guid>
		<description><![CDATA[Trying to troubleshoot an intermittent network problem? Just want to know if you ISP is dropping packets or going down altogether?
So many times I&#8217;ve search the &#8216;net for a simple network uptime script. I always wanted to know the exact time the network went down (and came back up) so that I could track down [...]]]></description>
			<content:encoded><![CDATA[<p>Trying to troubleshoot an intermittent network problem? Just want to know if you ISP is dropping packets or going down altogether?</p>
<p>So many times I&#8217;ve search the &#8216;net for a simple network uptime script. I always wanted to know the exact time the network went down (and came back up) so that I could track down the cause of the problem. Here is a dead-simple script that will do just that:</p>

<div class="wp_syntax"><div class="code"><pre class="bash"><span style="color: #808080; font-style: italic;">#!/bin/bash</span>
<span style="color: #808080; font-style: italic;">## connect_test.<span style="color: #c20cb9; font-weight: bold;">sh</span> ##</span>
<span style="color: #808080; font-style: italic;">## This script continually pings an IP address / <span style="color: #c20cb9; font-weight: bold;">hostname</span> and reports *only*</span>
<span style="color: #808080; font-style: italic;">## when it is unable to reach the destination.</span>
<span style="color: #808080; font-style: italic;">##</span>
<span style="color: #808080; font-style: italic;">## Example: ./connect_test.<span style="color: #c20cb9; font-weight: bold;">sh</span> www.google.com</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> $<span style="color: #000000;">1</span> == <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>;
<span style="color: #000000; font-weight: bold;">then</span>
        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Please provide an IP/host to ping&quot;</span>
        <span style="color: #7a0874; font-weight: bold;">exit</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">while</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #c20cb9; font-weight: bold;">true</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">do</span>
        <span style="color: #007800;">p=</span>`<span style="color: #c20cb9; font-weight: bold;">ping</span> -c <span style="color: #000000;">4</span> $<span style="color: #000000;">1</span> &amp;gt; /dev/null <span style="color: #000000;">2</span>&amp;gt;&amp;amp;<span style="color: #000000;">1</span>`
        <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> $? != <span style="color: #000000;">0</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>;
        <span style="color: #000000; font-weight: bold;">then</span>
                <span style="color: #007800;">d=</span>`<span style="color: #c20cb9; font-weight: bold;">date</span>`
                <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Unable to reach $1 at $d&quot;</span>
                <span style="color: #c20cb9; font-weight: bold;">sleep</span> <span style="color: #000000;">1</span>
        <span style="color: #000000; font-weight: bold;">fi</span>
<span style="color: #000000; font-weight: bold;">done</span></pre></div></div>

<p>It works best if you open up multiple terminal windows and try to connect to different portions of your network simultaneously. For example:</p>

<div class="wp_syntax"><div class="code"><pre class="bash">./connect_test.<span style="color: #c20cb9; font-weight: bold;">sh</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>my neighboring workstation<span style="color: #7a0874; font-weight: bold;">&#93;</span>
./connect_test.<span style="color: #c20cb9; font-weight: bold;">sh</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>my gateway<span style="color: #7a0874; font-weight: bold;">&#93;</span>
./connect_test.<span style="color: #c20cb9; font-weight: bold;">sh</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>my ISPs DNS<span style="color: #7a0874; font-weight: bold;">&#93;</span>
./connect_test.<span style="color: #c20cb9; font-weight: bold;">sh</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>random domain - ie. google.com or yahoo.com<span style="color: #7a0874; font-weight: bold;">&#93;</span></pre></div></div>

<p>This way, you can determine exactly where the failure is AND you have a record of the time it occurred. Hope that helps!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.layer2.org/2007/09/17/simple-network-uptime-test/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

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