<?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>Steve&#039;s Blog</title>
	<atom:link href="http://www.crc.id.au/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.crc.id.au</link>
	<description>One beans place in space.</description>
	<lastBuildDate>Sat, 07 Jan 2012 11:00:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Network antispoof with Xen 4.x</title>
		<link>http://www.crc.id.au/2012/01/07/network-antispoof-with-xen-4-x/</link>
		<comments>http://www.crc.id.au/2012/01/07/network-antispoof-with-xen-4-x/#comments</comments>
		<pubDate>Sat, 07 Jan 2012 10:57:24 +0000</pubDate>
		<dc:creator>Steven Haigh</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.crc.id.au/?p=577</guid>
		<description><![CDATA[I&#8217;ve recently set up a new Xen Dom0 for use by a lot of people &#8211; many of whom I may not know very well. This being the case, I want to make sure that people behave and don&#8217;t take more than they are allocated. The big thing that I needed to solve was people [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently set up a new Xen Dom0 for use by a lot of people &#8211; many of whom I may not know very well. This being the case, I want to make sure that people behave and don&#8217;t take more than they are allocated. The big thing that I needed to solve was people just taking IP addresses out of the /24 assigned to the server.</p>
<p>Xen 3.4.1 had a working solution, however it seems to be completely broken in 4.x.</p>
<p>So, to solve this, I found that you can do some magic in iptables to give the same result.</p>
<p><strong>1)</strong> Enable iptables on bridging interfaces in /etc/sysctl.conf<br />
<code>net.bridge.bridge-nf-call-iptables = 1</code><br />
Then reload the file using <i>sysctl -p</i></p>
<p><strong>2)</strong> Write the rules in /etc/sysconfig/iptables:<br />
<code>*filter<br />
:INPUT ACCEPT [26:2197]<br />
:FORWARD ACCEPT [0:0]<br />
:OUTPUT ACCEPT [444:63703]<br />
-A INPUT -i eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT<br />
-A INPUT -i eth0 -p icmp -j ACCEPT<br />
-A INPUT -i eth0 -j REJECT --reject-with icmp-host-prohibited<br />
-A FORWARD -d 192.168.1.0/24 -j ACCEPT<br />
-A FORWARD -s 192.168.1.10/32 -m mac --mac-source 11:22:33:44:55:66 -j ACCEPT<br />
-A FORWARD -s 192.168.1.11/32 -m mac --mac-source 11:22:33:44:55:67 -j ACCEPT<br />
-A FORWARD -j DROP<br />
COMMIT</code></p>
<p><strong>3)</strong> When you set up the DomU config file in /etc/xen, alter your vif line to specify the MAC address:<br />
<code>vif             = [ 'mac=11:22:33:44:55:66,bridge=br0' ]</code></p>
<p>Now for the explanation. When a packet gets sent TO the DomU, the destination rule is hit and the packet flows TO the DomU. When the DomU replies, if its MAC address doesn&#8217;t match the one in &#8211;mac-source, then the packet is dropped.</p>
<p>The added benefit here is that as we DROP everything else, if the DomU tries to change IP or grab an IP not associated with a MAC, the packets will just get dropped.</p>
<p>Sadly, theres nothing you can do to stop people from using other entries you put on the list &#8211; however it does stop random resource grabs for IPs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crc.id.au/2012/01/07/network-antispoof-with-xen-4-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Whats happened to the last few months?</title>
		<link>http://www.crc.id.au/2012/01/03/whats-happened-to-the-last-few-months/</link>
		<comments>http://www.crc.id.au/2012/01/03/whats-happened-to-the-last-few-months/#comments</comments>
		<pubDate>Mon, 02 Jan 2012 13:13:55 +0000</pubDate>
		<dc:creator>Steven Haigh</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://www.crc.id.au/?p=574</guid>
		<description><![CDATA[Ok, so I&#8217;ve neglected to put a lot of new up here lately&#8230; 1) kernel-xen packages have been updated to 2.6.32.50. 2) Started up a new photography site to try and get some great images to people. I really enjoy taking photos, but DAMN the equipment is expensive. I&#8217;m hoping to invest anything made on [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, so I&#8217;ve neglected to put a lot of new up here lately&#8230;</p>
<p>1) kernel-xen packages have been updated to 2.6.32.50.</p>
<p>2) Started up a <a href="http://photos.crc.id.au">new photography site</a> to try and get some great images to people. I really enjoy taking photos, but DAMN the equipment is expensive. I&#8217;m hoping to invest anything made on that site back into equipment to take more photos etc..</p>
<p>3) Damn, Christmas AND New Years has passed. It was the first real Christmas dinner with family and friends that I&#8217;d been a part of in my own home for waaay too long. Emma really pulled it all together and I couldn&#8217;t have done any of it without her.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crc.id.au/2012/01/03/whats-happened-to-the-last-few-months/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xen and Kernel updates.</title>
		<link>http://www.crc.id.au/2011/12/11/xen-and-kernel-updates/</link>
		<comments>http://www.crc.id.au/2011/12/11/xen-and-kernel-updates/#comments</comments>
		<pubDate>Sat, 10 Dec 2011 13:33:50 +0000</pubDate>
		<dc:creator>Steven Haigh</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Scientific Linux]]></category>

		<guid isPermaLink="false">http://www.crc.id.au/?p=569</guid>
		<description><![CDATA[Just a quick note to say I&#8217;ve updated Xen to 4.1.2 and my Dom0 linux kernel to 2.6.32.50. They should be automatically updated via yum. Remember to edit your grub.conf correctly after updating the kernel.]]></description>
			<content:encoded><![CDATA[<p>Just a quick note to say I&#8217;ve updated Xen to 4.1.2 and my Dom0 linux kernel to 2.6.32.50. They should be automatically updated via yum. Remember to edit your grub.conf correctly after updating the kernel.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crc.id.au/2011/12/11/xen-and-kernel-updates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EL6 Xen kernel updates</title>
		<link>http://www.crc.id.au/2011/09/17/el6-xen-kernel-updates/</link>
		<comments>http://www.crc.id.au/2011/09/17/el6-xen-kernel-updates/#comments</comments>
		<pubDate>Sat, 17 Sep 2011 02:59:17 +0000</pubDate>
		<dc:creator>Steven Haigh</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.crc.id.au/?p=565</guid>
		<description><![CDATA[I&#8217;ve just posted some new kernel-xen RPMs based on 2.6.32.46. Changelog: * Sat Sep 17 2011 Steven Haigh - Revert "xen/apic: Provide an 'apic_xen' to set the override the apic->[read&#124;write] for all cases." - Merged in 2.6.32.46 fixes: igb: Fix lack of flush after register write and before delay fuse: check size of FUSE_NOTIFY_INVAL_ENTRY message [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just posted some new kernel-xen RPMs based on 2.6.32.46.</p>
<p>Changelog:</p>
<pre>* Sat Sep 17 2011 Steven Haigh <netwiz @crc.id.au>
- Revert "xen/apic: Provide an 'apic_xen' to set the override the apic->[read|write] for all cases."
- Merged in 2.6.32.46 fixes:
      igb: Fix lack of flush after register write and before delay
      fuse: check size of FUSE_NOTIFY_INVAL_ENTRY message
      drm/ttm: fix ttm_bo_add_ttm(user) failure path
      x86, UV: Remove UV delay in starting slave cpus
      x86-32, vdso: On system call restart after SYSENTER, use int $0x80
      futex: Fix regression with read only mappings
      ALSA: ac97: Add HP Compaq dc5100 SFF(PT003AW) to Headphone Jack Sense whitelist
      ALSA: snd_usb_caiaq: track submitted output urbs
      befs: Validate length of long symbolic links.
      fs/partitions/efi.c: corrupted GUID partition tables can cause kernel oops
      perf tools: do not look at ./config for configuration
      mm: fix wrong vmap address calculations with odd NR_CPUS values
      ALSA: snd-usb-caiaq: Correct offset fields of outbound iso_frame_desc
      hwmon: (ibmaem) add missing kfree
      atm: br2864: sent packets truncated in VC routed mode
      USB: Serial: Added device ID for Qualcomm Modem in Sagemcom's HiLo3G
      USB: usb-storage: unusual_devs entry for ARM V2M motherboard.
      USB: assign instead of equal in usbtmc.c
      USB: xhci: fix OS want to own HC</netwiz></pre>
<p>The guide can be found <a href="http://www.crc.id.au/xen-on-rhel6-scientific-linux-6-centos-6-howto/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crc.id.au/2011/09/17/el6-xen-kernel-updates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The future &#8211; Its going to be a wild ride.</title>
		<link>http://www.crc.id.au/2011/08/27/the-future-its-going-to-be-a-wild-ride/</link>
		<comments>http://www.crc.id.au/2011/08/27/the-future-its-going-to-be-a-wild-ride/#comments</comments>
		<pubDate>Fri, 26 Aug 2011 16:36:31 +0000</pubDate>
		<dc:creator>Steven Haigh</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://www.crc.id.au/?p=559</guid>
		<description><![CDATA[For a long time now, I&#8217;ve been seeing the effect of technology on everyday life. This is a great video on how technology is causing a very disruptive shift in how we view the world, what it means, and how the next generation will live. To me, this is one of the best reasons on [...]]]></description>
			<content:encoded><![CDATA[<p>For a long time now, I&#8217;ve been seeing the effect of technology on everyday life. This is a great video on how technology is causing a very disruptive shift in how we view the world, what it means, and how the next generation will live.</p>
<p><center><iframe width="560" height="345" src="http://www.youtube.com/embed/ceEog1XS5OI" frameborder="0" allowfullscreen></iframe></center></p>
<p>To me, this is one of the best reasons on earth that we should be building the NBN in Australia. The future of having fibre to everywhere will give us a mass of opportunity to live in the new economy in 20-30 years time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crc.id.au/2011/08/27/the-future-its-going-to-be-a-wild-ride/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kernel-xen &amp; xen updates</title>
		<link>http://www.crc.id.au/2011/08/19/kernel-xen-xen-updates/</link>
		<comments>http://www.crc.id.au/2011/08/19/kernel-xen-xen-updates/#comments</comments>
		<pubDate>Fri, 19 Aug 2011 12:11:25 +0000</pubDate>
		<dc:creator>Steven Haigh</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Scientific Linux]]></category>

		<guid isPermaLink="false">http://www.crc.id.au/?p=557</guid>
		<description><![CDATA[Just posted an update to both kernel-xen and the xen packages. Xen changelog: * Sun Aug 14 2011 Michael Young &#8211; 4.1.1-3 - untrusted guest controlling PCI[E] device can lock up host CPU [CVE-2011-3131] kernel-xen changelog: * Fri Aug 19 2011 Steven Haigh ! Note: USB-DVB still seems to be broken. - commit &#8216;v2.6.32.45&#8242;: - [...]]]></description>
			<content:encoded><![CDATA[<p>Just posted an update to both kernel-xen and the xen packages.</p>
<p>Xen changelog:</p>
<blockquote><p>* Sun Aug 14 2011 Michael Young <m .a.young@durham.ac.uk> &#8211; 4.1.1-3<br />
- untrusted guest controlling PCI[E] device can lock up host CPU [CVE-2011-3131]</m></p></blockquote>
<p>kernel-xen changelog:</p>
<blockquote><p>* Fri Aug 19 2011 Steven Haigh <netwiz @crc.id.au><br />
! Note: USB-DVB still seems to be broken.<br />
- commit &#8216;v2.6.32.45&#8242;:<br />
- Linux 2.6.32.45<br />
- powerpc: pseries: Fix kexec on machines with more than 4TB of RAM<br />
- powerpc: Fix device tree claim code<br />
- ALSA: snd-usb-caiaq: Fix keymap for RigKontrol3<br />
- ALSA: timer &#8211; Fix Oops at closing slave timer<br />
- net: Compute protocol sequence numbers and fragment IDs using MD5.<br />
- crypto: Move md5_transform to lib/md5.c</netwiz></p></blockquote>
<p>Details on how to use these packages and set up a repository are available on <a href="http://www.crc.id.au/xen-on-rhel6-scientific-linux-6-centos-6-howto/">the EL6 and Xen howto guide</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crc.id.au/2011/08/19/kernel-xen-xen-updates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kernel-xen updates</title>
		<link>http://www.crc.id.au/2011/08/14/kernel-xen-updates/</link>
		<comments>http://www.crc.id.au/2011/08/14/kernel-xen-updates/#comments</comments>
		<pubDate>Sun, 14 Aug 2011 10:35:17 +0000</pubDate>
		<dc:creator>Steven Haigh</dc:creator>
				<category><![CDATA[Scientific Linux]]></category>

		<guid isPermaLink="false">http://www.crc.id.au/?p=555</guid>
		<description><![CDATA[Have just finished posting a new kernel-xen to the repo. Changes: * Sun Aug 14 2011 Steven Haigh - Disabled module creation for USB DVB tuners due to errors on compile. This will affect all DVB tuners using the dvb-usb module. I would assume most people who run this kernel won't use USB tuners on [...]]]></description>
			<content:encoded><![CDATA[<p>Have just finished posting a new kernel-xen to the repo.</p>
<p>Changes:</p>
<pre>* Sun Aug 14 2011 Steven Haigh <netwiz @crc.id.au>
- Disabled module creation for USB DVB tuners due to errors on compile. This
  will affect all DVB tuners using the dvb-usb module.
  I would assume most people who run this kernel won't use USB tuners on Dom0.
- Merged in 2.6.32.44</netwiz></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.crc.id.au/2011/08/14/kernel-xen-updates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Plus, +1 buttons and invites</title>
		<link>http://www.crc.id.au/2011/08/13/google-plus-1-buttons-and-invites/</link>
		<comments>http://www.crc.id.au/2011/08/13/google-plus-1-buttons-and-invites/#comments</comments>
		<pubDate>Sat, 13 Aug 2011 08:14:21 +0000</pubDate>
		<dc:creator>Steven Haigh</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://www.crc.id.au/?p=551</guid>
		<description><![CDATA[Well, I think I&#8217;ve been on enough of a rampage spreading the word about Google Plus. So, whats missing? Adding the +1 buttons here. So now you&#8217;ll see them. If you&#8217;re out there wondering what this whole Google Plus thing is about? So, what are you waiting for? Oh right, an Invite. Here you go.]]></description>
			<content:encoded><![CDATA[<p>Well, I think I&#8217;ve been on enough of a rampage spreading the word about <a href="http://plus.google.com">Google Plus</a>. So, whats missing? Adding the +1 buttons here. So now you&#8217;ll see them.</p>
<p>If you&#8217;re out there wondering what this whole Google Plus thing is about?</p>
<p><center><iframe width="560" height="349" src="http://www.youtube-nocookie.com/embed/nGugj1ym594?rel=0" frameborder="0" allowfullscreen></iframe></center></p>
<p>So, what are you waiting for? Oh right, an Invite. <a href="https://plus.google.com/_/notifications/ngemlink?path=%2F%3Fgpinv%3Do8YPUPBvXuU%3AFSNYy3QXdKM" target="_blank">Here you go</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crc.id.au/2011/08/13/google-plus-1-buttons-and-invites/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New blog theme, Xen Packages</title>
		<link>http://www.crc.id.au/2011/08/09/new-blog-theme-xen-packages/</link>
		<comments>http://www.crc.id.au/2011/08/09/new-blog-theme-xen-packages/#comments</comments>
		<pubDate>Tue, 09 Aug 2011 01:24:16 +0000</pubDate>
		<dc:creator>Steven Haigh</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Scientific Linux]]></category>

		<guid isPermaLink="false">http://www.crc.id.au/?p=524</guid>
		<description><![CDATA[I&#8217;ve finally changed my blog theme after what is probably years and years of the same theme. This one is very minimalist &#8211; which means fast loading etc. I think its quite good &#8211; comments welcome I&#8217;ve done a quick refresh to the Xen packages in my repo to remove an extra repository file from [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve finally changed my blog theme after what is probably years and years of the same theme. This one is very minimalist &#8211; which means fast loading etc. I think its quite good &#8211; comments welcome <img src='http://www.crc.id.au/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I&#8217;ve done a quick refresh to the Xen packages in my repo to remove an extra repository file from the package which could cause some issues with yum. Its a minor issue &#8211; so if you&#8217;ve already got 4.1.1-2 installed, just delete the file <em>/etc/yum.repos.d/dom0-kernel.repo</em> and you&#8217;ll be set.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crc.id.au/2011/08/09/new-blog-theme-xen-packages/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Xen &amp; Dom0 Kernel updated</title>
		<link>http://www.crc.id.au/2011/07/31/xen-dom0-kernel-updated/</link>
		<comments>http://www.crc.id.au/2011/07/31/xen-dom0-kernel-updated/#comments</comments>
		<pubDate>Sun, 31 Jul 2011 07:09:39 +0000</pubDate>
		<dc:creator>Steven Haigh</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Scientific Linux]]></category>

		<guid isPermaLink="false">http://www.crc.id.au/?p=510</guid>
		<description><![CDATA[I&#8217;ve just updated the kernel-xen and xen packages used in my Xen Repos for EL6. Kernel Changelog: * Sun Jul 31 2011 Steven Haigh - Brought kernel config inline with stock EL6 kernels - Fix: xen/blkback: don&#8217;t fail empty barrier requests - Revert &#8220;xen/blkback: When writting barriers set the sector number to zero&#8230;&#8221; - blktap: [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just updated the kernel-xen and xen packages used in my <a href="http://www.crc.id.au/xen-on-rhel6-scientific-linux-6-centos-6-howto/">Xen Repos</a> for EL6.</p>
<p>Kernel Changelog:</p>
<blockquote><p>
* Sun Jul 31 2011 Steven Haigh <netwiz @crc.id.au><br />
- Brought kernel config inline with stock EL6 kernels<br />
- Fix: xen/blkback: don&#8217;t fail empty barrier requests<br />
- Revert &#8220;xen/blkback: When writting barriers set the sector number to zero&#8230;&#8221;<br />
- blktap: Fix reference to freed struct request.<br />
- Merged in 2.6.32.43<br />
- Fixed minor bug in post-install script modifying yum.conf to recognise<br />
  kernel-xen as a kernel package and allow multiple installs.<br />
- Fixed bug not removing generated initramfs when removing kernel-xen pacakge<br />
</netwiz></p></blockquote>
<p>Xen Changelog:</p>
<blockquote><p>
* Wed Jul 20 2011 Michael Young <m .a.young@durham.ac.uk> &#8211; 4.1.1-2<br />
- clean up patch to solve a problem with hvmloader compiled with gcc 4.6<br />
</m></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.crc.id.au/2011/07/31/xen-dom0-kernel-updated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

