<?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>Nall Design Works</title>
	<atom:link href="http://www.nall.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.nall.com/blog</link>
	<description>SELinux and Multilevel Security</description>
	<lastBuildDate>Sat, 19 Jun 2010 14:13:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>VMWare Fusion port forwarding</title>
		<link>http://www.nall.com/blog/?p=106</link>
		<comments>http://www.nall.com/blog/?p=106#comments</comments>
		<pubDate>Mon, 14 Jun 2010 01:32:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://www.nall.com/blog/?p=106</guid>
		<description><![CDATA[I needed to forward port 2020 on my laptop to a VM for test sudo vi "/Library/Application Support/VMware Fusion/vmnet8/nat.conf" Edit the [incomingtcp] stanza and add the port forward. 192.168.243.138 is the VM IP address. [incomingtcp] 2020 = 192.168.243.138:2020 Restart VMware Fusion networking. sudo "/Library/Application Support/VMware Fusion/boot.sh" --restart]]></description>
			<content:encoded><![CDATA[<p>I needed to forward port 2020 on my laptop to a VM for test</p>
<pre>
 sudo vi "/Library/Application Support/VMware Fusion/vmnet8/nat.conf"
</pre>
<p>Edit the <code>[incomingtcp]</code> stanza and add the port forward. <code>192.168.243.138</code> is the VM IP address.</p>
<pre>
[incomingtcp]
2020 = 192.168.243.138:2020
</pre>
<p>Restart VMware Fusion networking.</p>
<pre>
 sudo "/Library/Application Support/VMware Fusion/boot.sh" --restart
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.nall.com/blog/?feed=rss2&amp;p=106</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MacBook Pro VMWare xorg.conf for Fedora 10 Enforcing</title>
		<link>http://www.nall.com/blog/?p=104</link>
		<comments>http://www.nall.com/blog/?p=104#comments</comments>
		<pubDate>Fri, 11 Jun 2010 15:42:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.nall.com/blog/?p=104</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><script src="http://gist.github.com/434653.js"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nall.com/blog/?feed=rss2&amp;p=104</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Turning on MLS in Fedora 13 (v2)</title>
		<link>http://www.nall.com/blog/?p=96</link>
		<comments>http://www.nall.com/blog/?p=96#comments</comments>
		<pubDate>Thu, 10 Jun 2010 15:36:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SELinux]]></category>

		<guid isPermaLink="false">http://www.nall.com/blog/?p=96</guid>
		<description><![CDATA[Download Fedora 13 from http://fedoraproject.org/get-fedora Boot and install a gnome desktop (I haven&#8217;t tested KDE). Login and do the following: su - yum update yum install selinux-policy-mls policycoreutils-gui yum erase setroubleshoot-server sed -i -e "s/targeted/mls/" /etc/selinux/config touch /.autorelabel chkconfig mcstrans on reboot Per Dan Walsh, setroubleshoot needs to be removed because sedispatch, a component of [...]]]></description>
			<content:encoded><![CDATA[<p>Download Fedora 13 from <a href="http://fedoraproject.org/get-fedora">http://fedoraproject.org/get-fedora</a><br />
Boot and install a gnome desktop (I haven&#8217;t tested KDE).<br />
Login and do the following:</p>
<pre>
 su -
 yum update
 yum install selinux-policy-mls policycoreutils-gui
 yum erase setroubleshoot-server
 sed -i -e "s/targeted/mls/" /etc/selinux/config
 touch /.autorelabel
 chkconfig mcstrans on
 reboot
</pre>
<p>Per Dan Walsh, <code>setroubleshoot</code> needs to be removed because <code>sedispatch</code>, a component of setroubleshoot-server runs at SystemHigh and can&#8217;t talk to the SystemLow system DBus, generating an endless stream of AVCs. After the reboot, login as <code>root</code> on a VT and</p>
<pre>
 semanage user -a -r SystemLow-SystemHigh -L SystemLow -R staff_r staff_u
 semanage login -a -s staff_u joe
 setsebool allow_execmem on
 newrole -r secadm_r
 rm -f /var/log/audit/audit.log
 reboot
</pre>
<p>Replace <code>joe</code> with your user name.</p>
<p>You can login as yourself through gdm at this point. The <code>allow_execmem</code> boolean allows firefox to work when run as <code>staff_t</code>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nall.com/blog/?feed=rss2&amp;p=96</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Turning on MLS in Fedora 13</title>
		<link>http://www.nall.com/blog/?p=7</link>
		<comments>http://www.nall.com/blog/?p=7#comments</comments>
		<pubDate>Thu, 10 Jun 2010 03:13:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SELinux]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[MLS]]></category>

		<guid isPermaLink="false">http://www.nall.com/blog/?p=7</guid>
		<description><![CDATA[Download Fedora 13 from http://fedoraproject.org/get-fedora Boot and install a gnome desktop (I haven&#8217;t tested KDE). Login and do the following: su - yum update yum install selinux-policy-mls yum erase setroubleshoot-server sed -i -e "s/targeted/mls/" /etc/selinux/config touch /.autorelabel chkconfig mcstrans on reboot sedispatch, a component of setroubleshoot-server generates an endless stream of AVCs (Bug 602502) that [...]]]></description>
			<content:encoded><![CDATA[<p>Download Fedora 13 from <a href="http://fedoraproject.org/get-fedora">http://fedoraproject.org/get-fedora</a><br />
Boot and install a gnome desktop (I haven&#8217;t tested KDE).<br />
Login and do the following:</p>
<pre>
 su -
 yum update
 yum install selinux-policy-mls
 yum erase setroubleshoot-server
 sed -i -e "s/targeted/mls/" /etc/selinux/config
 touch /.autorelabel
 chkconfig mcstrans on
 reboot
</pre>
<p><code>sedispatch</code>, a component of setroubleshoot-server generates an endless stream of AVCs (<a href="https://bugzilla.redhat.com/show_bug.cgi?id=602502">Bug 602502</a>) that resemble<br />
<div id="attachment_84" class="wp-caption alignnone" style="width: 731px"><a href="http://www.nall.com/blog/wp-content/uploads/2010/06/FlySketchWorkflow-2010.06.09-20.07.png"><img src="http://www.nall.com/blog/wp-content/uploads/2010/06/FlySketchWorkflow-2010.06.09-20.07.png" alt="" title="sedispatch" width="721" height="70" class="size-full wp-image-84" /></a><p class="wp-caption-text">sedispatch avc</p></div><br />
so I chose to remove it. After the reboot, login as <code>root</code> on a VT and</p>
<pre>
 semanage user -a -r SystemLow-SystemHigh -L SystemLow -R staff_r staff_u
 semanage login -a -s staff_u joe
 newrole -r secadm_r -l SystemHigh
 rm -f /var/log/audit/audit.log
 reboot
</pre>
<p>Replace <code>joe</code> with your user name.</p>
<p>You can login as yourself through gdm at this point. I tried to start firefox, but it died with a segmentation violation (<a href="https://bugzilla.redhat.com/show_bug.cgi?id=602518">Bug 602518</a>).</p>
<div id="attachment_92" class="wp-caption alignnone" style="width: 808px"><a href="http://www.nall.com/blog/wp-content/uploads/2010/06/firefox-dies.png"><img src="http://www.nall.com/blog/wp-content/uploads/2010/06/firefox-dies.png" alt="" title="firefox-dies" width="798" height="601" class="size-full wp-image-92" /></a><p class="wp-caption-text">Firefox dies</p></div>
<p>I&#8217;m pretty impressed that something so out of the mainstream works so well on a first try.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nall.com/blog/?feed=rss2&amp;p=7</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

