<?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>$words[rand()] &#187; Networking</title>
	<atom:link href="http://seanharlow.info/category/geekery/networking/feed/" rel="self" type="application/rss+xml" />
	<link>http://seanharlow.info</link>
	<description>Programming, politics, and pissed off rants...</description>
	<lastBuildDate>Mon, 19 Mar 2012 21:49:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>VMware ESXi 3.5u4, Intel SATA, and local datastores</title>
		<link>http://seanharlow.info/2009/05/05/vmware-esxi-35u4-intel-sata-and-local-datastores/</link>
		<comments>http://seanharlow.info/2009/05/05/vmware-esxi-35u4-intel-sata-and-local-datastores/#comments</comments>
		<pubDate>Tue, 05 May 2009 18:26:41 +0000</pubDate>
		<dc:creator>wolrah</dc:creator>
				<category><![CDATA[Geekery]]></category>
		<category><![CDATA[Internet Goodness]]></category>
		<category><![CDATA[My Servers]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[datastore]]></category>
		<category><![CDATA[esx]]></category>
		<category><![CDATA[esxi]]></category>
		<category><![CDATA[sata]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://seanharlow.info/?p=137</guid>
		<description><![CDATA[This morning I rebooted my test box running VMware ESXi 3.5 to complete the upgrade from Update 3 to Update 4. The hypervisor came back up, but no guests were running and when I popped open the VI Client it indicated that there were no datastores configured and it could not find any of the [...]]]></description>
			<content:encoded><![CDATA[<img style='float: left; margin-right: 10px; border: none;' src='http://www.gravatar.com/avatar.php?gravatar_id=b74ece40b0ed98a2f2a63f3437d93547&amp;default=http://use.perl.org/images/pix.gif' alt='No Gravatar' width=40 height=40/><p>This morning I rebooted my test box running <a href="http://www.vmware.com">VMware</a> <a href="https://www.vmware.com/tryvmware/?p=esxi">ESXi 3.5</a> to complete the upgrade from Update 3 to Update 4.  The hypervisor came back up, but no guests were running and when I popped open the VI Client it indicated that there were no datastores configured and it could not find any of the virtual machines I had in inventory.  It saw the internal disks and that they were formatted VMFS, but would not allow me to do anything other than format them over again.</p>
<p>Normally this would have simply annoyed me since I would have lost my test VMs, but they don’t take long to build so I’d have just formatted them and gone on with my day.  Unfortunately within the last week we had temporarily moved a critical application’s VM to this box and we had not properly reconfigured backup.  I could restore from the week old backup, but there would be hell to pay.</p>
<p>Since the VMFS partitions were clearly visible I felt I had a chance, but I’m still new to ESX/ESXi so my first step was to flip over to my always running irssi session (if you use IRC and do not use screened irssi, go Google it now and enjoy) and ask for help in <a href="irc://irc.synirc.org/shsc">#shsc</a> and <a href="irc://irc.freenode.net/vmware">#vmware</a>.  #shsc always has a few guys who work on large VMware installs idling, and of course #vmware is obvious.  While waiting for any input from IRC, I went to Google for my next step.  I knew ESXi has the capability to be accessed via SSH, but it’s disabled by default, so I looked up <a href="http://www.yellow-bricks.com/2008/08/10/howto-esxi-and-ssh/">how to turn it on</a>.  A few minutes later after bringing a monitor over to the machine and rebooting it I had SSH access and could go through system logs from the comfort of my laptop.</p>
<p>In /var/log/messages I found two entries referencing my SATA controller which looked interesting:<br />
<code>May  5 14:34:35 vmkernel: 0:00:06:39.406 cpu0:3616)ALERT: LVM: 4482: vmhba000:0:0:3 may be snapshot: disabling access. See resignaturing section in SAN config guide.<br />
May  5 14:34:35 vmkernel: 0:00:06:39.408 cpu0:3616)ALERT: LVM: 4482: vmhba0:0:0:1 may be snapshot: disabling access. See resignaturing section in SAN config guide.</code></p>
<p>This information, after a quick trip to Google, led to VMware’s <a href="http://pubs.vmware.com/vi301/san_cfg/wwhelp/wwhimpl/common/html/wwhelp.htm?context=san_cfg&amp;file=esx_san_cfg_manage.8.50.html">SAN configuration guide</a> which references similar issues occurring on SANs, so I tried enabling the resignaturing option and magically my datastores reappeared.  After renaming them back to their original names and turning the resignaturing option back off I had all my data and was able to download the disk images and VMX files so I was safe in the event of a major problem.</p>
<p>At this point, I could see my VMs but the VI inventory was still convinced that they were on the “old drives”, so after a bit more time on Google I discovered the Import feature within the datastore browser and I was able to bring the VMs back in and get them booting up.</p>
<div id="attachment_139" class="wp-caption aligncenter" style="width: 441px"><img class="size-full wp-image-139" title="Yaaaay!" src="http://seanharlow.info/wp-content/uploads/2009/05/picture-1.png" alt="Screenshot showing my datastores and two VMs running" width="431" height="248" /><p class="wp-caption-text">Screenshot showing my datastores and two VMs running</p></div>
<p>After confirming that the VMs I really needed were booting and operational, I shut everything down to move the server back to its spot in my rack.  Fortunately everything came right back up so the pressure was now off.</p>
<p>Now my concerns shifted.  If this happened once, what’s to stop it from happening again?  I needed to figure out why it happened.  Fortunately at nearly the exact moment I started thinking about this IRC came through for me.  “jidar” in #shsc linked to <a href="http://communities.vmware.com/thread/206242">this</a> thread on VMware’s forum with literally the exact same symptoms.  A few posts down was a link to <a href="http://www.vm-help.com/esx/esx3i/no_persistent_storage_after_upgrade.php">this</a> page which again matched my experience exactly and says that U4 updated a number of SATA drivers including the one for the ICH9 controller in my PowerEdge and changed the way they appear to the hypervisor, which led to it not recognizing the drives for what they are.</p>
<p>Right now I’m moderately annoyed at an update that’s not even enough to earn it a minor version number bump on a piece of software intended for enterprise use having a change with the potential to cause this, but on the other hand I don’t expect anyone who really cares about reliability to be using SATA local storage.  Ah well, I learned a bit about navigating around ESXi’s internals.</p>
]]></content:encoded>
			<wfw:commentRss>http://seanharlow.info/2009/05/05/vmware-esxi-35u4-intel-sata-and-local-datastores/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Coming Soon: Comparison of PC-based router/firewall platforms</title>
		<link>http://seanharlow.info/2009/04/20/coming-soon-comparison-of-pc-based-routerfirewall-platforms/</link>
		<comments>http://seanharlow.info/2009/04/20/coming-soon-comparison-of-pc-based-routerfirewall-platforms/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 18:59:59 +0000</pubDate>
		<dc:creator>wolrah</dc:creator>
				<category><![CDATA[Geekery]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://seanharlow.info/?p=132</guid>
		<description><![CDATA[Over the coming weeks I will be spending one week each with a number of PC-based router/firewall products installed as the primary NAT gateway at my apartment. I will be reviewing them based on overall performance, interoperability with my SIP-based VoIP service, QoS capabilities, VPN capabilities, and any extra features that make them stand out [...]]]></description>
			<content:encoded><![CDATA[<img style='float: left; margin-right: 10px; border: none;' src='http://www.gravatar.com/avatar.php?gravatar_id=b74ece40b0ed98a2f2a63f3437d93547&amp;default=http://use.perl.org/images/pix.gif' alt='No Gravatar' width=40 height=40/><p>Over the coming weeks I will be spending one week each with a number of PC-based router/firewall products installed as the primary NAT gateway at my apartment.  I will be reviewing them based on overall performance, interoperability with my SIP-based VoIP service, QoS capabilities, VPN capabilities, and any extra features that make them stand out from the crowd.</p>
<p>The test platform will be a Dell PowerEdge SC430 with a 1.6 GHz Intel Xeon dual core processor and 4GB of RAM.  The current list of software to test is as follows:</p>
<ul>
<li><a href="http://www.pfsense.org">pfSense</a> 1.2 (Stable)</li>
<li><a href="http://www.pfsense.org">pfSense</a> 2.0 (Alpha)</li>
<li><a href="http://www.untangle.com">Untangle</a> Open Source 6.1</li>
<li><a href="http://www.vyatta.com">Vyatta</a> Community 5</li>
</ul>
<p>I will also be testing “appliance” type routers based on what is available to me, which currently is as follows:</p>
<ul>
<li>Linksys WRT54GL (Linksys firmware 4.30.12)</li>
<li>Linksys WRT54GL (Tomato 1.23)</li>
<li>Linksys WRT54GL (DD-WRT v24 SP1 Mega)</li>
<li>Linksys WRT54GL (OpenWRT Kamikaze 8.09)</li>
<li>Cisco 1841 (IOS 12.4(23))</li>
<li>Watchguard Firebox X Edge</li>
<li>Edgewater Edgemarc 4500 (VOS 9.1.2)</li>
</ul>
<p>The Watchguard is currently unknown due to not having the password for it and I may cut down the list of Linksys firmwares, but all of the rest will be tested.</p>
<p>Hardware or software suggestions for further testing are appreciated.</p>
]]></content:encoded>
			<wfw:commentRss>http://seanharlow.info/2009/04/20/coming-soon-comparison-of-pc-based-routerfirewall-platforms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Potentially serious vulnerability in a number of SIP endpoints</title>
		<link>http://seanharlow.info/2009/04/11/potentially-serious-vulnerability-in-a-number-of-sip-endpoints/</link>
		<comments>http://seanharlow.info/2009/04/11/potentially-serious-vulnerability-in-a-number-of-sip-endpoints/#comments</comments>
		<pubDate>Sat, 11 Apr 2009 16:16:11 +0000</pubDate>
		<dc:creator>wolrah</dc:creator>
				<category><![CDATA[Geekery]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[VoIP]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://seanharlow.info/?p=123</guid>
		<description><![CDATA[Sjur Usken and Sandro Gauci have discovered a major flaw in the SIP implementations on a wide range of IP phones. The short explanation is that the phones do not verify where a proxy authentication request is coming from and happily return the SIP authentication information. It is hashed and salted, but the salt is [...]]]></description>
			<content:encoded><![CDATA[<img style='float: left; margin-right: 10px; border: none;' src='http://www.gravatar.com/avatar.php?gravatar_id=b74ece40b0ed98a2f2a63f3437d93547&amp;default=http://use.perl.org/images/pix.gif' alt='No Gravatar' width=40 height=40/><p><a href="http://www.usken.no/">Sjur Usken</a> and <a href="http://enablesecurity.com/blog/">Sandro Gauci</a> have discovered a major flaw in the SIP implementations on a wide range of IP phones.  The short explanation is that the phones do not verify where a proxy authentication request is coming from and happily return the SIP authentication information.  It is hashed and salted, but the salt is chosen by the attacker, so a set of rainbow tables would make cracking it trivial.  For full details, check out <a href="http://www.usken.no/2009/03/26/get-the-password-from-any-sip-device-its-fully-possible/">Sjur’s blog post</a> (which spread fairly rapidly around the VoIP world) and his <a href="http://www.usken.no/2009/04/11/and-the-cisc-7940-phones-leaks-its-password-hash/">latest post</a> showing the trace as he attacked a Cisco 7940 I set up for this purpose.</p>
<p>Until the phone vendors release fixed firmware (if they do) the only way to defend yourself from this is to not have phones exposed on public IP addresses.  If they have to be for some reason (we all know SIP and NAT really don’t get along, and proper SIP aware NAT devices cost a fair bit) set firewall rules that prevent the phones from speaking SIP to any IPs that aren’t part of your VoIP system.  Alternatively, in the event that every single phone on your system is statically addressed, the reverse could be done at the registrar side.  It wouldn’t stop the attackers from finding the password, but it would prevent them from using it in any way.</p>
<p>The implications of an attacker gaining the SIP authentication information are of course severe, once they have that they can imitate the attacked phone and make calls to any number of regions potentially costing thousands of dollars in the course of a single night. </p>
]]></content:encoded>
			<wfw:commentRss>http://seanharlow.info/2009/04/11/potentially-serious-vulnerability-in-a-number-of-sip-endpoints/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

