<?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>I do stuff - stuff is what I do! &#187; Networking</title>
	<atom:link href="http://blog.diktator.org/index.php/category/networking/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.diktator.org</link>
	<description></description>
	<lastBuildDate>Wed, 18 Jan 2012 19:08:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Glimmerblocker filter against Firesheep</title>
		<link>http://blog.diktator.org/index.php/2010/10/26/glimmerblocker-filter-against-firesheep/</link>
		<comments>http://blog.diktator.org/index.php/2010/10/26/glimmerblocker-filter-against-firesheep/#comments</comments>
		<pubDate>Tue, 26 Oct 2010 07:35:48 +0000</pubDate>
		<dc:creator>Fredrik</dc:creator>
				<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://blog.diktator.org/?p=465</guid>
		<description><![CDATA[With the recent appearance of the tool Firesheep being used for hijacking peoples cookies I noticed that a lot of people began installing tools in their browsers which forced connections to migrate from HTTP to HTTPS for certain web sites. One complaint was that these tools weren&#8217;t available for each and every browser they were [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;"><span class="dropcap">W</span>ith the recent appearance of the tool <a href="http://www.networkworld.com/news/2010/102510-firefox-add-on-firesheep-brings-hacking.html?hpg1=bn" target="_blank">Firesheep</a> being used for hijacking peoples cookies I noticed that a lot of people began installing tools in their browsers which forced connections to migrate from HTTP to HTTPS for certain web sites. One complaint was that these tools weren&#8217;t available for each and every browser they were using.</p>
<p style="text-align: left;"><strong>(Update: it seems that some of these browser plug-ins will actually allow an unsecured request to go out before the plug-in manages to rewrite the request. It seems that this problem is mostly tied to some sort of bug within Chrome. So that&#8217;s another reason to use a system wide proxy which gets it right from the very beginning instead.)</strong></p>
<p style="text-align: left;">So I started thinking along the lines of building something on top of the ad blocker I&#8217;m using on my Mac &#8211; <a href="http://glimmerblocker.org/" target="_blank">GlimmerBlocker</a>.</p>
<p style="text-align: left;">So now you can add a subscription to the set of filter I&#8217;ve built by adding this URL: <a href="http://diktator.org/sslify.xml" target="_blank">http://diktator.org/sslify.xml</a>. For a description of how to add subscriptions to filters check out this page: <a href="http://glimmerblocker.org/wiki/Filters#Howtosubscribetoafilter" target="_blank">http://glimmerblocker.org/wiki/Filters#Howtosubscribetoafilter</a>.</p>
<p style="text-align: left;">It&#8217;s just a beginning (and probably reeks of ugly hack), so any additions would be welcome! Just comment on this post.</p>
<p style="text-align: left;">Enjoy!</p>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.diktator.org%2Findex.php%2F2010%2F10%2F26%2Fglimmerblocker-filter-against-firesheep%2F&amp;t=Glimmerblocker%20filter%20against%20Firesheep" id="facebook_share_button_465" style="font-size:11px; line-height:13px; font-family:'lucida grande',tahoma,verdana,arial,sans-serif; text-decoration:none; display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; margin: 5px 0; height:15px; border:1px solid #d8dfea; color: #3B5998; background: #fff url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif) no-repeat top right;">Share</a>
	<script type="text/javascript">
	<!--
	var button = document.getElementById('facebook_share_link_465') || document.getElementById('facebook_share_icon_465') || document.getElementById('facebook_share_both_465') || document.getElementById('facebook_share_button_465');
	if (button) {
		button.onclick = function(e) {
			var url = this.href.replace(/share\.php/, 'sharer.php');
			window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
			return false;
		}
	
		if (button.id === 'facebook_share_button_465') {
			button.onmouseover = function(){
				this.style.color='#fff';
				this.style.borderColor = '#295582';
				this.style.backgroundColor = '#3b5998';
			}
			button.onmouseout = function(){
				this.style.color = '#3b5998';
				this.style.borderColor = '#d8dfea';
				this.style.backgroundColor = '#fff';
			}
		}
	}
	-->
	</script>
	]]></content:encoded>
			<wfw:commentRss>http://blog.diktator.org/index.php/2010/10/26/glimmerblocker-filter-against-firesheep/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DHCP problems with Bredbandsbolaget using a FreeBSD installation in a VMware environment</title>
		<link>http://blog.diktator.org/index.php/2009/05/20/dhcp-problems-bredbandsbolaget-freebsd-vmware/</link>
		<comments>http://blog.diktator.org/index.php/2009/05/20/dhcp-problems-bredbandsbolaget-freebsd-vmware/#comments</comments>
		<pubDate>Wed, 20 May 2009 08:48:25 +0000</pubDate>
		<dc:creator>Fredrik</dc:creator>
				<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://blog.diktator.org/?p=153</guid>
		<description><![CDATA[A weird thing occured yesterday. Our ISP (Bredbandsbolaget) has a switch in our basement which obviously has had problems for a while. Due to these problems we&#8217;ve been offline from time to time. The fact that a ISP has problems now and then isn&#8217;t the weird thing, what is the weird thing is that when the switch [...]]]></description>
			<content:encoded><![CDATA[<p><span class="dropcap">A</span> weird thing occured yesterday. Our ISP (Bredbandsbolaget) has a switch in our basement which obviously has had problems for a while. Due to these problems we&#8217;ve been offline from time to time. The fact that a ISP has problems now and then isn&#8217;t the weird thing, what is the weird thing is that when the switch in the basement has been rebooted and our connection should be up and running again my <a href="http://www.freebsd.org/" target="_blank">FreeBSD</a> (<a href="http://www.pfsense.com/" target="_blank">pfSense</a> installation) can&#8217;t get a new DHCP lease.</p>
<p>To give you a clearer view of what our infrastructure looks like I&#8217;ll give you a brief description:<br />
We have a physical machine in our wardrobe which runs a slimmed down version of Windows XP (much like TinyXP, but I&#8217;ve built it myself using <a href="http://www.nliteos.com/" target="_blank">nLite</a>). Apart from the regular stuff this machine also has an extra network card, this card is connected to our ISP and the other is connected to our internal switch. Installed on this machine is <a href="http://www.vmware.com/products/server/" target="_blank">VMware Server 2</a> and one of the virtual machines running within it is a pfSense installation (<a href="http://blog.pfsense.org/?p=293" target="_blank">pre-built for VMware</a> &#8211; nice!) which we use as our network gateway and firewall. This machine is configured to use the ISP facing network card as its external interface and the internally facing network card as its internal interface (d&#8217;uh). This setup has been working nicely for quite some time now (about a month or so) and we&#8217;re getting pretty good throughput as well, I&#8217;ve measured it up to 95 Mbps!</p>
<p>So, now to the weird stuff. When our ISP has been offline and it goes back online our gateway won&#8217;t or can&#8217;t get a DHCP lease from the ISPs DHCP server, or atleast that&#8217;s what it looks like. Changing the MAC address in the VMware configuration of our gateway and then rebooting the gateway doesn&#8217;t solve it. Running</p>
<blockquote><p>dhclient em0</p></blockquote>
<p>in order to interactivelly register a DHCP lease doesn&#8217;t help either, it just times out and then states that no lease could be obtained. The only thing that seems to help is to boot up another virtual machine configured to use the same external network card (in my case this happens to be a <a href="http://fedoraproject.org/" target="_blank">Fedora</a> installation) and have it use the exact same MAC address as the gateway machine. The fedora machine will successfully receive a DHCP lease and will also able to communicate with other machines on the internet. After shutting down the fedora machine and then starting the gateway the gateway will receive the same DHCP lease as the fedora machine just had and then everything works!</p>
<p>I haven&#8217;t had the time to look at this with a packet sniffer, it might reveal something interesting. Right now I can&#8217;t really deduce what the real problem here is:</p>
<ul>
<li>Is it a problem with the fact that I&#8217;m running the gateway as a virtual machine within VMware? If that would be the cause the fedora machine shouldn&#8217;t be able to get a DHCP lease either &#8211; but it does.</li>
<li>Or is it some sort of problem with the combination of FreeBSD/pfSense and Bredbandsbolagets DHCP server? This is the most reasonable explanation yet, since the fedora installation has no problems at all obtaining a new DHCP lease.</li>
</ul>
<p>This is isn&#8217;t such a big problem right now, but I imagine that when we move and our server (with all the virtual servers in it) is moved to our friends internet connection (also Bredbandsbolaget) for the duration of our relocation this might be a greater <a href="http://en.wikipedia.org/wiki/Pain_in_the_ass" target="_blank">PITA</a> than it is now because our traveltime to the server increases drastically.</p>
<p>Any input would of course be greatly appreciated. =)</p>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.diktator.org%2Findex.php%2F2009%2F05%2F20%2Fdhcp-problems-bredbandsbolaget-freebsd-vmware%2F&amp;t=DHCP%20problems%20with%20Bredbandsbolaget%20using%20a%20FreeBSD%20installation%20in%20a%20VMware%20environment" id="facebook_share_button_153" style="font-size:11px; line-height:13px; font-family:'lucida grande',tahoma,verdana,arial,sans-serif; text-decoration:none; display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; margin: 5px 0; height:15px; border:1px solid #d8dfea; color: #3B5998; background: #fff url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif) no-repeat top right;">Share</a>
	<script type="text/javascript">
	<!--
	var button = document.getElementById('facebook_share_link_153') || document.getElementById('facebook_share_icon_153') || document.getElementById('facebook_share_both_153') || document.getElementById('facebook_share_button_153');
	if (button) {
		button.onclick = function(e) {
			var url = this.href.replace(/share\.php/, 'sharer.php');
			window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
			return false;
		}
	
		if (button.id === 'facebook_share_button_153') {
			button.onmouseover = function(){
				this.style.color='#fff';
				this.style.borderColor = '#295582';
				this.style.backgroundColor = '#3b5998';
			}
			button.onmouseout = function(){
				this.style.color = '#3b5998';
				this.style.borderColor = '#d8dfea';
				this.style.backgroundColor = '#fff';
			}
		}
	}
	-->
	</script>
	]]></content:encoded>
			<wfw:commentRss>http://blog.diktator.org/index.php/2009/05/20/dhcp-problems-bredbandsbolaget-freebsd-vmware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

