<?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>JosteinB &#187; IT</title>
	<atom:link href="http://josteinb.com/category/it/feed/" rel="self" type="application/rss+xml" />
	<link>http://josteinb.com</link>
	<description>The blog with the awesome slogan</description>
	<lastBuildDate>Fri, 26 Mar 2010 17:31:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Safari 4 Top Sites messes with your Google Analytics</title>
		<link>http://josteinb.com/2010/02/safari-4-top-sites-messes-with-your-google-analytics/</link>
		<comments>http://josteinb.com/2010/02/safari-4-top-sites-messes-with-your-google-analytics/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 18:04:22 +0000</pubDate>
		<dc:creator>Jostein</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Google Analytics]]></category>
		<category><![CDATA[Safari 4]]></category>
		<category><![CDATA[Top Sites]]></category>

		<guid isPermaLink="false">http://josteinb.com/?p=124</guid>
		<description><![CDATA[I noticed some strange results in my google analytics account recently, getting a very high bounce rate from visits, and since this is a very small blog about very geeky stuff, a fairly high increase in traffic. After some tweaking around in analytics it turned out that most of the new bouncing traffic came from [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>I noticed some strange results in my google analytics account recently, getting a very high bounce rate from visits, and since this is a very small blog about very geeky stuff, a fairly high increase in traffic.</p>
<p>After some tweaking around in analytics it turned out that most of the new bouncing traffic came from Safari, from a machine with the same screen resolution as mine, from my city, my broad band provider and so on.</p>
<p>It turns out that this is because my blog had appeared on Safaris &#8220;Top Sites&#8221;, a grid of often visited web pages on the welcome screen of Safari. And every time you open safari, it contacts the webpage for an updated snapshot of the page.  This is recorded by analytics and regarded as a bounce visit, decreasing your average time on site and increasing your bounce rate.</p>
<p>So far, it doesn&#8217;t seem like there is any other solution to this except removing the site from &#8220;Top Sites&#8221;, until Google or Apple figure something out.  This of course does not solve the, for me not yet existing, problem of bogus traffic from other Safari users.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://josteinb.com/2010/02/safari-4-top-sites-messes-with-your-google-analytics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hiding the Tab-bar in Thunderbird 3</title>
		<link>http://josteinb.com/2009/12/hiding-the-tab-bar-in-thunderbird-3/</link>
		<comments>http://josteinb.com/2009/12/hiding-the-tab-bar-in-thunderbird-3/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 11:52:40 +0000</pubDate>
		<dc:creator>Jostein</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[tab]]></category>
		<category><![CDATA[Thunderbird]]></category>

		<guid isPermaLink="false">http://josteinb.com/?p=94</guid>
		<description><![CDATA[In the new Thunderbird 3, Mozilla included tabbed browsing.  Since you usually don&#8217;t have tabs open all the time, it would be nice to be able to hide the tab-bar when no tabs are open.  There is a hidden option to accomplish this.  Thanks to Truben for pointing this out! Read his article at http://truben.no/journal/auto-hide-tab-bar-in-mozilla-thunderbird-3/ [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>In the new Thunderbird 3, Mozilla included tabbed browsing.  Since you usually don&#8217;t have tabs open all the time, it would be nice to be able to hide the tab-bar when no tabs are open.  There is a hidden option to accomplish this.  Thanks to <a title="truben" href="http://truben.no/journal" target="_self">Truben</a> for pointing this out!</p>
<p>Read his article at <a href="http://truben.no/journal/auto-hide-tab-bar-in-mozilla-thunderbird-3/" target="_self">http://truben.no/journal/auto-hide-tab-bar-in-mozilla-thunderbird-3/ </a></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://josteinb.com/2009/12/hiding-the-tab-bar-in-thunderbird-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Wireshark on Mac OS X 10.6 Snow Leopard</title>
		<link>http://josteinb.com/2009/10/installing-wireshark-on-mac-os-x-10-6-snow-leopard/</link>
		<comments>http://josteinb.com/2009/10/installing-wireshark-on-mac-os-x-10-6-snow-leopard/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 14:39:16 +0000</pubDate>
		<dc:creator>Jostein</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[no interfaces]]></category>
		<category><![CDATA[wireshark]]></category>

		<guid isPermaLink="false">http://josteinb.com/?p=73</guid>
		<description><![CDATA[After upgrading to Snow Leopard, one of the few things that stopped working for me was Wireshark, a really cool network analyzer I&#8217;m planning to write more about later. What happened was that at startup you get a long list of error messages, and then no network interfaces could be found. Luckily, Michael Gracie has [...]


Related posts:<ol><li><a href='http://josteinb.com/2009/10/spoofing-your-mac-address-in-snow-leopard/' rel='bookmark' title='Permanent Link: Spoofing your MAC-address in Snow Leopard'>Spoofing your MAC-address in Snow Leopard</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>After upgrading to Snow Leopard, one of the few things that stopped working for me was</p>
<div id="attachment_76" class="wp-caption alignright" style="width: 210px"><img class="size-full wp-image-76" title="Wireshark" src="http://josteinb.com/wp-content/uploads/2009/10/Wireshark.png" alt="Wireshark" width="200" height="200" /><p class="wp-caption-text">Wireshark</p></div>
<p>Wireshark, a really cool network analyzer I&#8217;m planning to write more about later. What happened was that at startup you get a long list of error messages, and then no network interfaces could be found.</p>
<p>Luckily, <a title="Michael Gracie" href="http://michaelgracie.com/2009/10/13/getting-wireshark-running-on-os-x-snow-leopard-10.6/" target="_self">Michael Gracie</a> has scavenged the net for a solution, and found it.</p>
<p>Basically, all you need to do is follow the normal instructions, Dragging the app to the Application folder, the ChmodBPF folder in utilities to the StartupItems alias and the contents of the commandLine folder to /usr/local/bin.</p>
<p>Open a terminal and type:</p>
<p><code>cd /Library/StartupItems<br />
sudo chown -R root:wheel ChmodBPF</code></p>
<p>enter your password and hit enter.</p>
<p>Now start up Wireshark, close the list of error messages, hit edit -&gt; preferences -&gt; name resolution, click the edit button next to “SMI (MIB and PIB paths)”, click &#8220;new&#8221; and type <code>/usr/share/snmp/mibs/ </code> in the text field.  Now click apply / OK, all your way out, exit, and reboot your computer.</p>
<p>After the reboot, everything should be working like a charm.</p>


<p>Related posts:<ol><li><a href='http://josteinb.com/2009/10/spoofing-your-mac-address-in-snow-leopard/' rel='bookmark' title='Permanent Link: Spoofing your MAC-address in Snow Leopard'>Spoofing your MAC-address in Snow Leopard</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://josteinb.com/2009/10/installing-wireshark-on-mac-os-x-10-6-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Learning web-security through penetration testing</title>
		<link>http://josteinb.com/2009/10/learning-web-security-through-penetration-testing/</link>
		<comments>http://josteinb.com/2009/10/learning-web-security-through-penetration-testing/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 14:18:57 +0000</pubDate>
		<dc:creator>Jostein</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[OWASP]]></category>
		<category><![CDATA[penetration testing]]></category>

		<guid isPermaLink="false">http://josteinb.com/?p=70</guid>
		<description><![CDATA[At the ROOTS 2009 conference I attended a workshop with Martin Knobloch called &#8220;Application Security &#8211; Awareness.&#8221;  Martin works for OWASP, The Open Web Application Security Project, and they have created a lot of cool stuff.  On the workshop we got an introduction to WebScarab and WebGoat, and for learning how a lot of software [...]


Related posts:<ol><li><a href='http://josteinb.com/2009/12/citing-displaying-source-code-in-latex/' rel='bookmark' title='Permanent Link: Citing / displaying source code in LaTeX'>Citing / displaying source code in LaTeX</a></li>
<li><a href='http://josteinb.com/2009/10/installing-wireshark-on-mac-os-x-10-6-snow-leopard/' rel='bookmark' title='Permanent Link: Installing Wireshark on Mac OS X 10.6 Snow Leopard'>Installing Wireshark on Mac OS X 10.6 Snow Leopard</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>At the <a title="ROOTS 2009" href="http://roots.dnd.no/ROOTS/tabid/388/itemId/44/Default.aspx" target="_self">ROOTS 2009</a> conference I attended a workshop with <a title="Martin Knobloch" href="http://twitter.com/knoblochmartin" target="_self">Martin Knobloch</a> called</p>
<div id="attachment_79" class="wp-caption alignright" style="width: 185px"><img class="size-full wp-image-79" title="owasp-small" src="http://josteinb.com/wp-content/uploads/2009/10/owasp-small.jpg" alt="OWASP" width="175" height="175" /><p class="wp-caption-text">OWASP</p></div>
<p>&#8220;Application Security &#8211; Awareness.&#8221;  Martin works for <a title="OWASP" href="http://www.owasp.org/index.php/Main_Page" target="_self">OWASP</a>, The Open Web Application Security Project, and they have created a lot of cool stuff.  On the workshop we got an introduction to <a title="WebScarab" href="http://www.owasp.org/index.php/Category:OWASP_WebScarab_Project" target="_self">WebScarab</a> and <a title="WebGoat" href="http://www.owasp.org/index.php/Category:OWASP_WebGoat_Project" target="_self">WebGoat</a>, and for learning how a lot of software vulnerabilities work, they are great tools, and fun to play with.</p>
<p>WebScarab is a tool to analyze HTTP and HTTPS communication, and intercepts traffic as a proxy between your browser and the application you are analyzing, and let you look at and modify requests. WebScarab itself is not a training tool, but is supposed to be used for serious application analysis.</p>
<p>WebGoat is a Java web application hosted on a local tomcat server, which contains a lot of flaws and vulnerabilities. The application consists of a series of challenges, in which you use WebScarab to crack your way into the application.</p>
<p>The challenges range from very simple stuff like scanning through source code to look for hardcoded passwords, to more interesting things like Cross Site Scripting and SQL-injection for stealing credit card numbers.</p>
<p>Both tools can be downloaded for free from the <a title="OWASP" href="http://www.owasp.org/index.php/Category:OWASP_Download" target="_self">OWASP</a> download page, and since it is written in Java, it works on all platforms.</p>
<p>Just be sure to disconnect from the internet before starting WebGoat, since it opens up your computer to all the vulnerabilities it contains while it is running.</p>


<p>Related posts:<ol><li><a href='http://josteinb.com/2009/12/citing-displaying-source-code-in-latex/' rel='bookmark' title='Permanent Link: Citing / displaying source code in LaTeX'>Citing / displaying source code in LaTeX</a></li>
<li><a href='http://josteinb.com/2009/10/installing-wireshark-on-mac-os-x-10-6-snow-leopard/' rel='bookmark' title='Permanent Link: Installing Wireshark on Mac OS X 10.6 Snow Leopard'>Installing Wireshark on Mac OS X 10.6 Snow Leopard</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://josteinb.com/2009/10/learning-web-security-through-penetration-testing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spoofing your MAC-address in Snow Leopard</title>
		<link>http://josteinb.com/2009/10/spoofing-your-mac-address-in-snow-leopard/</link>
		<comments>http://josteinb.com/2009/10/spoofing-your-mac-address-in-snow-leopard/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 13:17:59 +0000</pubDate>
		<dc:creator>Jostein</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mac-address]]></category>
		<category><![CDATA[Snow Leopard]]></category>
		<category><![CDATA[spoof]]></category>
		<category><![CDATA[spoofing]]></category>

		<guid isPermaLink="false">http://josteinb.com/?p=67</guid>
		<description><![CDATA[This might not be the most useful hack, but in some scenarios it might be good to know.  And it does show those who believe that blacklisting MAC-addresses on their access point is a good security feature that they are mistaken. For example the system they used at the college I lived in at the [...]


Related posts:<ol><li><a href='http://josteinb.com/2009/10/installing-wireshark-on-mac-os-x-10-6-snow-leopard/' rel='bookmark' title='Permanent Link: Installing Wireshark on Mac OS X 10.6 Snow Leopard'>Installing Wireshark on Mac OS X 10.6 Snow Leopard</a></li>
<li><a href='http://josteinb.com/2009/12/useful-bash-command/' rel='bookmark' title='Permanent Link: Useful BASH-command: !!'>Useful BASH-command: !!</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This might not be the most useful hack, but in some scenarios it might be good to know.  And it does show those who believe that blacklisting MAC-addresses on their access point is a good security feature that they are mistaken.</p>
<p>For example the system they used at the college I lived in at the University of Newcastle, where you had to send in a paper form to register your mac-address to the ethernet outlet in your room, and weren&#8217;t able to use the internet on your laptop when visiting friends on the campus.</p>
<p>Be aware that using these commands to work around such a policy is probably illegal, though.<br />
In snow leopard, spoofing your ethernet MAC-address is as easy as opening a terminal, and type sudo ifconfig en0 lladdr aa:bb:cc:dd:ee:ff</p>
<p>The address can of course be anything you want it to be.</p>
<p>For spoofing the address of your airport card you first have to disconnect from the network you are currently on, this can be done by clicking the airport-symbol in the menu bar, select join other network, type some random name, hit connect and then cancel. Now type</p>
<p>sudo ifconfig en1 lladdr aa:bb:cc:dd:ee:ff</p>
<p>And then you can reconnect, with your new address.</p>
<p>Update:</p>
<p>Captain Future has created an applescript for spoofing the mac address that looks very nice.  It can be found <a title="AirPortClown" href="http://blog.funkensturm.de/2010/01/22/airportclown-simple-mac-address-spoof-for-snow-leopard/" target="_self">here</a>. Thanks!</p>


<p>Related posts:<ol><li><a href='http://josteinb.com/2009/10/installing-wireshark-on-mac-os-x-10-6-snow-leopard/' rel='bookmark' title='Permanent Link: Installing Wireshark on Mac OS X 10.6 Snow Leopard'>Installing Wireshark on Mac OS X 10.6 Snow Leopard</a></li>
<li><a href='http://josteinb.com/2009/12/useful-bash-command/' rel='bookmark' title='Permanent Link: Useful BASH-command: !!'>Useful BASH-command: !!</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://josteinb.com/2009/10/spoofing-your-mac-address-in-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Switched to WordPress</title>
		<link>http://josteinb.com/2009/09/switched-to-wordpress/</link>
		<comments>http://josteinb.com/2009/09/switched-to-wordpress/#comments</comments>
		<pubDate>Sun, 13 Sep 2009 20:13:22 +0000</pubDate>
		<dc:creator>Jostein</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://josteinb.com/2009/09/switched-to-wordpress/</guid>
		<description><![CDATA[Well, after using Joomla! for my blog since March, I got tired of it. Joomla is great for building large websites, but it was way too complicated for a simple blog like this.   Also, it&#8217;s kind of strange that a open source project got next to no documentation.  I had some problems migrating the [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<div id="attachment_84" class="wp-caption alignleft" style="width: 160px"><img class="size-thumbnail wp-image-84" title="Wordpress_Logo" src="http://josteinb.com/wp-content/uploads/2009/09/Wordpress_Logo-150x150.png" alt="Wordpress" width="150" height="150" /><p class="wp-caption-text">Wordpress</p></div>
<p>Well, after using Joomla! for my blog since March, I got tired of it.  Joomla is great for building large websites, but it was way too complicated for a simple blog like this.   Also, it&#8217;s kind of strange that a open source project got next to no documentation.  I had some problems migrating the articles from the Joomla database because of some charset errors from norwegian letters, but have imported the most important stuff now.  Using WordPress is a whole different experience&#8230; so easy!</p>
<p>I guess I have to learn hacking WordPress themes now.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://josteinb.com/2009/09/switched-to-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Diaper Pattern</title>
		<link>http://josteinb.com/2009/05/the-diaper-pattern/</link>
		<comments>http://josteinb.com/2009/05/the-diaper-pattern/#comments</comments>
		<pubDate>Fri, 15 May 2009 13:25:03 +0000</pubDate>
		<dc:creator>Jostein</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[anti-pattern]]></category>
		<category><![CDATA[diaper pattern]]></category>

		<guid isPermaLink="false">http://josteinb.com/?p=16</guid>
		<description><![CDATA[At the final presentation of our XP-driven webshop project we ended up in a discussion about whether to catch runtime exceptions at the top-level or not. After having attended a talk by Kåre Nilsen at ROOTS 2009, called &#8220;Enterprise app without enterprise crap&#8221;, we took the stand that we did not want to catch the [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>At the final presentation of our XP-driven webshop project we ended up in a discussion about whether to catch runtime exceptions at the top-level or not.  After having attended a talk by Kåre Nilsen at ROOTS 2009, called &#8220;Enterprise app without enterprise crap&#8221;, we took the stand that we did not want to catch the exceptions and rather try to fix them if they occured in stead of hiding what went wrong.</p>
<p>It turns out there is an anti-pattern that describes this dilemma, called the <a href="http://www.pirnat.com/mike/2009/05/09/the-diaper-pattern-stinks/" title="Diaper Pattern">Diaper Pattern</a>.  -&#8221;Because it catches all the shit&#8221;.</p>
<p>Now what&#8217;s left to decide is whether this applies to web apps or not&#8230;</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://josteinb.com/2009/05/the-diaper-pattern/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spring Tutorial for Beginners</title>
		<link>http://josteinb.com/2009/04/spring-tutorial-for-beginners/</link>
		<comments>http://josteinb.com/2009/04/spring-tutorial-for-beginners/#comments</comments>
		<pubDate>Sun, 12 Apr 2009 13:26:20 +0000</pubDate>
		<dc:creator>Jostein</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[beginners]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[spring]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://josteinb.com/?p=19</guid>
		<description><![CDATA[Here&#8217;s a link to a nice Spring tutorial, to get into Spring basics http://www.roseindia.net/spring/index.shtml No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a link to a nice Spring tutorial, to get into Spring basics</p>
<p><a href="http://www.roseindia.net/spring/index.shtml" title="http://www.roseindia.net/spring/index.shtml">http://www.roseindia.net/spring/index.shtml</a></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://josteinb.com/2009/04/spring-tutorial-for-beginners/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
