<?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>etbe - Russell Coker &#187; Security</title>
	<atom:link href="http://etbe.coker.com.au/category/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://etbe.coker.com.au</link>
	<description>Linux, politics, and other interesting things</description>
	<lastBuildDate>Thu, 23 May 2013 09:56:22 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>SE Linux Things To Do</title>
		<link>http://etbe.coker.com.au/2013/01/31/selinux-todo/</link>
		<comments>http://etbe.coker.com.au/2013/01/31/selinux-todo/#comments</comments>
		<pubDate>Wed, 30 Jan 2013 21:16:33 +0000</pubDate>
		<dc:creator>etbe</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Selinux]]></category>

		<guid isPermaLink="false">http://etbe.coker.com.au/?p=3654</guid>
		<description><![CDATA[<p>At the end of my talk on Monday about the status of SE Linux [1] I described some of the things that I want to do with SE Linux in Debian (and general SE Linux stuff). Here is a brief summary of some of them:</p> <p>One thing I&#8217;ve wanted to do for years is to [...]]]></description>
				<content:encoded><![CDATA[<p>At the end of <a href="http://etbe.coker.com.au/2013/01/28/selinux-status-lca2013/">my talk on Monday about the status of SE Linux [1]</a> I described some of the things that I want to do with SE Linux in Debian (and general SE Linux stuff). Here is a brief summary of some of them:</p>
<p>One thing I&#8217;ve wanted to do for years is to get X Access Controls working in Debian. This means that two X applications could have windows on the same desktop but be unable to communicate with each other by any of the X methods (this includes screen capture and clipboard). It seems that the Fedora people are moving to sandbox processes with Xephyr for X access (<a href="http://danwalsh.livejournal.com/31146.html">see Dan Walsh&#8217;s blog post about sandbox -X [2]</a>). But XAce will take a lot of work and time is always an issue.</p>
<p>An ongoing problem with SE Linux (and most security systems) is the difficulty in running applications with minimum privilege. One example of this is utility programs which can be run by multiple programs, if a utility is usually run by a process that is privileged then we probably won&#8217;t notice that it requires excess privileges until it&#8217;s run in a different context. This is a particular problem when trying to restrict programs that may be run as part of a user session. A common example is programs that open files read-write when they only need to read them, if the program then aborts when it can&#8217;t open the file in question then we will have a problem when it&#8217;s run from a context that doesn&#8217;t grant it write access. To deal with such latent problems I am considering ways of analysing the operation of systems to try and determine which programs request more access than they really need.</p>
<p>During my talk I discussed the possibility of using a shared object to log file open/read/write to find such latent problems. A member of the audience suggested static code analysis which seems useful for some languages but doesn&#8217;t seem likely to cover all necessary languages. Of course the benefit of static code analysis is that it will catch operations that the program doesn&#8217;t perform in a test environment &#8211; error handling is one particularly important corner case in this regard.</p>
<ul>
<li>[1]<a href="http://etbe.coker.com.au/2013/01/28/selinux-status-lca2013/"> http://etbe.coker.com.au/2013/01/28/selinux-status-lca2013/</a></li>
<li>[2]<a href="http://danwalsh.livejournal.com/31146.html"> http://danwalsh.livejournal.com/31146.html</a></li>
</ul>
<div class='yarpp-related-rss'>
<p>Related posts:</p><ol>
<li><a href='http://etbe.coker.com.au/2009/11/17/debian-ssh-se-linux/' rel='bookmark' title='Debian SSH and SE Linux'>Debian SSH and SE Linux</a> <small>I have just filed Debian bug report #556644 against the...</small></li>
<li><a href='http://etbe.coker.com.au/2011/07/22/run-se-linux-policy/' rel='bookmark' title='/run and SE Linux Policy'>/run and SE Linux Policy</a> <small>Currently Debian/Unstable is going through a transition to using /run...</small></li>
<li><a href='http://etbe.coker.com.au/2012/06/22/se-linux-policy-wheezy/' rel='bookmark' title='New SE Linux Policy for Wheezy'>New SE Linux Policy for Wheezy</a> <small>I&#8217;ve just uploaded a new SE Linux policy for Debian/Wheezy....</small></li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://etbe.coker.com.au/2013/01/31/selinux-todo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My SE Linux Status Report &#8211; LCA 2013</title>
		<link>http://etbe.coker.com.au/2013/01/28/selinux-status-lca2013/</link>
		<comments>http://etbe.coker.com.au/2013/01/28/selinux-status-lca2013/#comments</comments>
		<pubDate>Mon, 28 Jan 2013 02:56:30 +0000</pubDate>
		<dc:creator>etbe</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Selinux]]></category>

		<guid isPermaLink="false">http://etbe.coker.com.au/?p=3650</guid>
		<description><![CDATA[<p>This morning I gave a status report on SE Linux. The talk initially didn&#8217;t go too well, I wasn&#8217;t in the right mental state for it and I moved through the material too fast. Fortunately Casey Schaufler asked some really good questions which helped me to get back on track. The end result seemed reasonably [...]]]></description>
				<content:encoded><![CDATA[<p>This morning I gave a status report on SE Linux. The talk initially didn&#8217;t go too well, I wasn&#8217;t in the right mental state for it and I moved through the material too fast. Fortunately Casey Schaufler asked some really good questions which helped me to get back on track. The end result seemed reasonably good. Here&#8217;s a summary of the things I discussed:</p>
<p>Transaction hooks for RPM to support SE Linux operations. This supports signing packages to indicate their security status and preventing packages from overwriting other packages or executing scripts in the wrong context. There is also work to incorporate some of the features of that into &#8220;dpkg&#8221; for Debian.</p>
<p>Some changes to libraries to allow faster booting. Systems with sysvinit and a HDD won&#8217;t be affected but with systemd and SSD it makes a real difference. Mostly Red Hat&#8217;s work.</p>
<p>Filename transition rules to allow the initial context to be assigned based on file name were created in 2011 but are not starting to get used.</p>
<p>When systemd is used for starting/stopping daemons some hacks such as run_init can be avoided. Fedora is making the best progress in this regard due to only supporting systemd while the support for other init systems will limit what we can do for Debian. This improves security by stopping terminal buffer insertion attacks while also improving reliability by giving the daemon the same inherited settings each time it&#8217;s executed.</p>
<p>Labelled NFS has been accepted as part of the NFSv4.2 specification. This is a big deal as labelled NFS work has been going for many years without hitting such a milestone in the past.</p>
<p>ZFS and BTRFS support but we still need to consider management issues for such snapshot based filesystems. Filesystem snapshots have the potential to interact badly with relabelling if we don&#8217;t develop code and sysadmin practices to deal with it properly.</p>
<p>The most significant upstream focus of SE Linux development over the last year is SE Android. I hope that will result in more work on the X Access Controls for use on the desktop.</p>
<p>During question time I also gave a 3 minute &#8220;lightning talk&#8221; description of SE Linux.</p>
<div class='yarpp-related-rss'>
<p>Related posts:</p><ol>
<li><a href='http://etbe.coker.com.au/2012/01/25/se-linux-status-2012-01/' rel='bookmark' title='SE Linux Status in Debian 2012-01'>SE Linux Status in Debian 2012-01</a> <small>Since my last SE Linux in Debian status report [1]...</small></li>
<li><a href='http://etbe.coker.com.au/2012/06/17/debian-selinux-june-2012/' rel='bookmark' title='Debian SE Linux Status June 2012'>Debian SE Linux Status June 2012</a> <small>It&#8217;s almost the Wheezy freeze time and I&#8217;ve been working...</small></li>
<li><a href='http://etbe.coker.com.au/2009/01/20/status-se-linux-debian-lca2009/' rel='bookmark' title='Status of SE Linux in Debian LCA 2009'>Status of SE Linux in Debian LCA 2009</a> <small>This morning I gave a talk at the Security mini-conf...</small></li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://etbe.coker.com.au/2013/01/28/selinux-status-lca2013/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finding an ATM Skimmer</title>
		<link>http://etbe.coker.com.au/2012/12/23/finding-an-atm-skimmer/</link>
		<comments>http://etbe.coker.com.au/2012/12/23/finding-an-atm-skimmer/#comments</comments>
		<pubDate>Sun, 23 Dec 2012 01:08:49 +0000</pubDate>
		<dc:creator>etbe</dc:creator>
				<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://etbe.coker.com.au/?p=3575</guid>
		<description><![CDATA[<p>A member of SAGE-AU [1] found two ATM skimmers [2] and gave me permission to publish his description and analysis of the situation. I&#8217;ve lightly edited this from a mailing list post to a blog format with permission from the author. This Courier-Mail article refers to the skimmers in question [3].</p> <p>People were wondering what [...]]]></description>
				<content:encoded><![CDATA[<p>A member of <a href="http://www.sage-au.org.au/">SAGE-AU [1]</a> found two <a href="http://en.wikipedia.org/wiki/Skimming_(credit_card_fraud)#Skimming">ATM skimmers [2]</a> and gave me permission to publish his description and analysis of the situation. I&#8217;ve lightly edited this from a mailing list post to a blog format with permission from the author. <a href="http://www.couriermail.com.au/news/queensland/european-atm-skimming-machine-your-credit-cards-new-worst-enemy-in-australian-crime-first/story-e6freoof-1226521141277">This Courier-Mail article refers to the skimmers in question [3]</a>.</p>
<p>People were wondering what gave the skimmers away so here goes, NB this is only about the 2 I discovered.</p>
<ol>
<li>The actual atms in question were the free standing type (but even this doesn&#8217;t matter in the scheme of things because they can be on those in a bank of the things).</li>
<li>I&#8217;d actually conducted transaction and was waiting for my card to come out of the machine &#8211; these things looked that good. The colours matched &#8211; especially in the 3/4 or less light that you typically have on the fascia&#8217;s of such machine. The backing plate grey matched atm fascia as did the green &#8220;bubble&#8221; where the card goes.</li>
<li>WHAT REALLY CAUSED SUSPICION &#8211; my card was having difficulty coming out of the atm at end of transaction i.e. card coming out extra slow &#8211; then only the end couple of mm, I had to physically grab my card with fingertips to get it out and there was barely perceptible movement of skimmer due to my fingers using the green &#8220;bubble&#8221; as purchase point, THAT was what made me suspect. I then really had close look and found that I could move the &#8220;bubble&#8221; with its backing plate &#8211; I pulled it off the machine and then looked at the atm next to it and found it to look exactly the same. These things are held on by double sided tape.</li>
<li>Grabbed the cleaning lady wandering past showed her the device and asked her to get security. Security and centre operations manager subsequently showed up, while waiting for them I had to stop people from using either machine (everyone amazed at how good these things looked). Centre ops guy went and checked other machines in the centre, I left my details and they called the cops&#8230; I went straight to my credit union and reported what had happened and they cancelled my card and ordered a new one on the spot for me.</li>
<li>Coincidently (or not) the centre ops and security lady told me that the machines had been serviced (refilled) not too much earlier that day &#8211; i.e. I wondered if the bad guys did the &#8220;service&#8221; or were tracking armaguard servicing types.</li>
</ol>
<p>Quick side notes: </p>
<ol>
<li>3 more skimmers have been found since then.</li>
<li>Subsequently, I found out these were the type that needed to be picked up for the bad guys to retrieve the data i.e. these weren&#8217;t the type that transmitted to some-one sitting near by via Bluetooth/wireless i.e. in this instance I need not have cancelled my card and gotten a new one from my credit union.<br />HOWEVER, it is best practice if you discover one and you&#8217;ve used that machine to immediately have your financial institution cancel your card and issue you a new one &#8211; though getting the new one can take up to a week.</li>
<li>As I understand it, These 2 devices (i.e. others could be different) have 2 usb ports one for the reader and the other to a pinhole camera (commercially available type removed from it&#8217;s original housing). The magnetic stripe data is held on the audio track associated with the video and there was an 8GB storage card to hold it all i.e. it makes things easier for the bad guys to match PINs to card details.</li>
<li>If you do find a skimmer DO NOT touch the insides (non public facing parts) of it &#8211; this is where the cops can really try lift dna and prints from; gathering prints from externally is far more fraught as everyone and their dog has probably touched the exterior of the skimmer.</li>
<li>In the lead up to Xmas these things or similar are highly likely to become more prevalent as we all go about parting with dosh  while gift shopping &#8211; SO BE AWARE AND CAREFUL.</li>
</ol>
<ul>
<li>[1]<a href="http://www.sage-au.org.au/"> http://www.sage-au.org.au/</a></li>
<li>[2]<a href="http://en.wikipedia.org/wiki/Skimming_(credit_card_fraud)#Skimming"> http://en.wikipedia.org/wiki/Skimming_(credit_card_fraud)#Skimming</a></li>
<li>[3]<a href="http://www.couriermail.com.au/news/queensland/european-atm-skimming-machine-your-credit-cards-new-worst-enemy-in-australian-crime-first/story-e6freoof-1226521141277"> http://tinyurl.com/aqu9yb6</a></li>
</ul>
<div class='yarpp-related-rss'>
<p>Related posts:</p><ol>
<li><a href='http://etbe.coker.com.au/2009/06/14/finding-thread-unsafe-code/' rel='bookmark' title='Finding Thread-unsafe Code'>Finding Thread-unsafe Code</a> <small>One problem that I have had on a number of...</small></li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://etbe.coker.com.au/2012/12/23/finding-an-atm-skimmer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New SE Linux Policy for Wheezy</title>
		<link>http://etbe.coker.com.au/2012/06/22/se-linux-policy-wheezy/</link>
		<comments>http://etbe.coker.com.au/2012/06/22/se-linux-policy-wheezy/#comments</comments>
		<pubDate>Thu, 21 Jun 2012 14:12:14 +0000</pubDate>
		<dc:creator>etbe</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Selinux]]></category>

		<guid isPermaLink="false">http://etbe.coker.com.au/?p=3326</guid>
		<description><![CDATA[<p>I&#8217;ve just uploaded a new SE Linux policy for Debian/Wheezy. It now works correctly with systemd and Chromium, two significant features that I wanted for Wheezy. Now it turns out that we have until the end of the month for Wheezy updates, so I may get another version of the policy uploaded before then. If [...]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve just uploaded a new SE Linux policy for Debian/Wheezy. It now works correctly with systemd and Chromium, two significant features that I wanted for Wheezy. Now it turns out that we have until the end of the month for Wheezy updates, so I may get another version of the policy uploaded before then. If so it will only be for relatively minor changes, I think that most SE Linux users would be reasonably happy with policy the way it is. Anything that doesn&#8217;t work now can probably be solved by local configuration changes.</p>
<h3>execmem</h3>
<p>The current version of KDE in Debian is 4.8.4, it seems that large parts of the KDE environment depend on execmem access, this includes kwin and plasma-desktop. Basically there is no possibility of having a KDE desktop environment without those programs and therefore KDE depends on execmem access.</p>
<p>Debugging this is difficult as the important programs SEGV when denied execmem access and the KDE crash handler really gets in the way of debugging it &#8211; running /usr/bin/plasma-desktop results in the process forking a child and detaching from the gdb session.</p>
<p>The most clear example of an execmem issue in KDE is from the program /usr/lib/kde4/libexec/kwin_opengl_test which gives the following error:<br />
<b>LLVM ERROR: Allocation failed when allocating new memory in the JIT<br />
Can&#8217;t allocate RWX Memory: Permission denied</b></p>
<p>To make this work you run the command &#8220;<b>setsebool -P allow_execmem 1</b>&#8221; which gives many domains the ability to create writable-executable memory regions.</p>
<p>I raised this issue for discussion on the SE Linux mailing list and <a href="http://marc.info/?l=selinux&#038;m=134011618909818&#038;w=2">Hinnerk van Bruinehsen wrote an informative message in response summarising the situation [1]</a>. It seems that it&#8217;s possible to compile some of the programs in question to not use the JIT and therefore not require such access and there is a build option in Gentoo to allow it. But it&#8217;s impractically difficult for me to fork KDE in Debian so the only option is to recommend that people enable the <b>allow_execmem</b> boolean for Debian desktop systems running SE Linux.</p>
<ul>
<li>[1]<a href="http://marc.info/?l=selinux&#038;m=134011618909818&#038;w=2"> http://marc.info/?l=selinux&#038;m=134011618909818&#038;w=2</a></li>
</ul>
<div class='yarpp-related-rss'>
<p>Related posts:</p><ol>
<li><a href='http://etbe.coker.com.au/2011/07/22/run-se-linux-policy/' rel='bookmark' title='/run and SE Linux Policy'>/run and SE Linux Policy</a> <small>Currently Debian/Unstable is going through a transition to using /run...</small></li>
<li><a href='http://etbe.coker.com.au/2008/09/21/dkim-signing-and-selinux-policy/' rel='bookmark' title='An Update on DKIM Signing and SE Linux Policy'>An Update on DKIM Signing and SE Linux Policy</a> <small>In my previous post about DKIM [1] I forgot to...</small></li>
<li><a href='http://etbe.coker.com.au/2010/06/29/se-linux-policy-squeeze/' rel='bookmark' title='New SE Linux Policy for Squeeze'>New SE Linux Policy for Squeeze</a> <small>I have just uploaded refpolicy version 0.2.20100524-1 to Unstable. This...</small></li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://etbe.coker.com.au/2012/06/22/se-linux-policy-wheezy/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Debian SE Linux Status June 2012</title>
		<link>http://etbe.coker.com.au/2012/06/17/debian-selinux-june-2012/</link>
		<comments>http://etbe.coker.com.au/2012/06/17/debian-selinux-june-2012/#comments</comments>
		<pubDate>Sun, 17 Jun 2012 06:48:39 +0000</pubDate>
		<dc:creator>etbe</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Selinux]]></category>

		<guid isPermaLink="false">http://etbe.coker.com.au/?p=3318</guid>
		<description><![CDATA[<p>It&#8217;s almost the Wheezy freeze time and I&#8217;ve been working frantically to get things working properly.</p> Policy Status <p>At the moment I&#8217;m preparing an upload of the policy which will support KDE (and probably most desktop environment) logins and many little fixes related to server operations (particularly MTAs). I would like to get another version [...]]]></description>
				<content:encoded><![CDATA[<p>It&#8217;s almost the Wheezy freeze time and I&#8217;ve been working frantically to get things working properly.</p>
<h3>Policy Status</h3>
<p>At the moment I&#8217;m preparing an upload of the policy which will support KDE (and probably most desktop environment) logins and many little fixes related to server operations (particularly MTAs). I would like to get another version done before Wheezy is released, but if Wheezy releases with version 2.20110726-6 of the policy that will be OK. It will work well enough for most things that users will be able to use local changes for the things that don&#8217;t work.</p>
<p>One significant lack with the current policy is that systemd won&#8217;t work. I&#8217;ve included most of the policy changes needed, but haven&#8217;t done any of the testing and tweaking that is necessary to make it work properly.</p>
<p>I would like to see policy support for systemd in a Wheezy update if I don&#8217;t get it done in time for the first release. If I don&#8217;t get it done in time for the release and if the release team don&#8217;t accept it for an update then I&#8217;ll put it in my own repository so anyone who needs it can get it.</p>
<h3>/run Labelling</h3>
<p>One significant change for Wheezy is to use a tmpfs mounted on /run instead of /var/run. This means that lots of daemon start scripts create subdirectories of /run at boot time which need to have SE Linux labels applied for correct operation. The way things work is that usually the daemon will write to the directory immediately after the init script has created it, so I can&#8217;t just have my own script recursively relabel all of /run.</p>
<p>Some packages that need to be patched are <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677831">x11-common #677831</a>, <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677686">clamav-daemon #677686</a>, <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677685">sasl2-bin #677685</a>, <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677684">dkim-filter #677684</a>, and <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677580">cups #677580</a>. I am sure that there are others.</p>
<p><b>[ -x /sbin/restorecon ] &amp;&amp; /sbin/restorecon -R $DIR</b></p>
<p>Generally if you are writing an init script and creating a directory under /run then you need to have some shell code like the above immediately after it&#8217;s created. Also the same applies for directories under /tmp and any other significant directories that are created at boot time.</p>
<h3>Upgrading</h3>
<p>Currently there are some potential problems with the upgrade process, I&#8217;m working on them at the moment. Ideally an &#8220;<b>apt-get dist-upgrade</b>&#8221; would cleanly upgrade everything. But at the moment it seems likely that the upgrade might initially go wrong and then work on the second try. There are some complications such as the <b>selinux-policy-default</b> package owning a config file which is used by <b>mcstransd</b> (which is part of the <b>policycoreutils</b> package), when the config file format changes you get order dependencies for the upgrade.</p>
<h3>Kernel Support</h3>
<p>My aim when developing a new SE Linux release for Debian is that the policy should work as much as possible with the user-space from the previous release. So if you upgrade from Squeeze to Wheezy you should be able to start the process by upgrading the SE Linux policy (which drags in the utilities and lots of libraries). This means that if you have a server running you don&#8217;t have to put it out of action for the entire upgrade, you can get the policy going and then get other things going. I haven&#8217;t tested this yet but I don&#8217;t expect any problems (apart from all the dependencies).</p>
<p>Also the policy should work with the kernel from the previous release. So if you have a virtual server where it&#8217;s not convenient to upgrade the kernel then that shouldn&#8217;t stop you from upgrading the user-space and the SE Linux policy. I&#8217;ve tested this and found one bug, <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677730">the sepolgen-ifgen utility that you need to run before audit2allow -R won&#8217;t work if the kernel is older than the utilities #677730</a>. I don&#8217;t know if it will be possible to get this fixed. Anyway it&#8217;s not that important, you can always copy the audit log to another system running the same policy to run audit2allow, it&#8217;s not convenient but not THAT difficult either.</p>
<h3>The End Result</h3>
<p>I think that the result of using SE Linux in Wheezy will be quite good for the people who get the upgrade done and who modify a few init scripts that don&#8217;t get the necessary changes in time. I anticipate that someone who doesn&#8217;t know much about SE Linux will be able to get a basic workstation or small server installation done in considerably less than an hour if they read the documentation and someone who knows what they are doing will get it done in a matter of minutes (plus download and install time which can be significant on old hardware).</p>
<p>At the moment I&#8217;m in the process of upgrading all of my systems to Unstable (currently Testing has versions of some SE Linux packages that are too broken). While doing this I will keep discovering bugs and fix as many of them as possible. But it seems that I&#8217;ve already fixed most things that affect common users.</p>
<p>Also BTRFS works well. Not that supporting a new filesystem is a big deal (all that&#8217;s needed is XATTR support), but having all the nice new features on one system is a good thing. Now I just need to get systemd working.</p>
<div class='yarpp-related-rss'>
<p>Related posts:</p><ol>
<li><a href='http://etbe.coker.com.au/2012/01/25/se-linux-status-2012-01/' rel='bookmark' title='SE Linux Status in Debian 2012-01'>SE Linux Status in Debian 2012-01</a> <small>Since my last SE Linux in Debian status report [1]...</small></li>
<li><a href='http://etbe.coker.com.au/2012/03/06/selinux-debian-2012-03/' rel='bookmark' title='SE Linux Status in Debian 2012-03'>SE Linux Status in Debian 2012-03</a> <small>I have just finished updating the user-space SE Linux code...</small></li>
<li><a href='http://etbe.coker.com.au/2011/10/31/selinux-status-2011-10/' rel='bookmark' title='SE Linux Status in Debian 2011-10'>SE Linux Status in Debian 2011-10</a> <small>Debian/Unstable Development deb http://www.coker.com.au wheezy selinux The above APT sources.list...</small></li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://etbe.coker.com.au/2012/06/17/debian-selinux-june-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Neighborhood Watch</title>
		<link>http://etbe.coker.com.au/2012/04/23/neighborhood-watch/</link>
		<comments>http://etbe.coker.com.au/2012/04/23/neighborhood-watch/#comments</comments>
		<pubDate>Sun, 22 Apr 2012 16:00:28 +0000</pubDate>
		<dc:creator>etbe</dc:creator>
				<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://etbe.coker.com.au/?p=3263</guid>
		<description><![CDATA[<p>While writing my previous post I heard a huge noise at the front of my house. I found one man being restrained in a seated position on the ground at my front door, the man who was holding him down was accusing him of theft and asking me to call the police, and a woman [...]]]></description>
				<content:encoded><![CDATA[<p>While writing my previous post I heard a huge noise at the front of my house. I found one man being restrained in a seated position on the ground at my front door, the man who was holding him down was accusing him of theft and asking me to call the police, and a woman was hanging around and crying.</p>
<p>When calling the police I discovered that Optus (the Telco that provides the virtual service which Virgin Mobile uses) doesn&#8217;t accept 112 as an emergency number! This combined with the fact that CyanogenMod 7 on my phone doesn&#8217;t accept 000 as an emergency number meant that I had to unlock my phone before calling the police. Unlocking your phone late at night when there&#8217;s a situation that needs police attention isn&#8217;t as easy as you would hope. As an aside there are usually no penalties for testing the emergency service on your phone, people who install PABX systems and other significant telephony devices test emergency services calls as a matter of routine, so testing emergency calls from your phone is a really good idea. If anyone knows how to configure CyanogenMod 7 to support 000 as an emergency call then please let me know!</p>
<p>Anyway the man who was held down claimed that a friend of his had given him a bag containing tools that he had lugged from some place not particularly near my house. The man who was holding him down said that he witnessed the other man stealing the tools from his neighbor &#8211; not far from my house. The woman was apparently the girlfriend of the man who was accused of burglary.</p>
<p>The end result was that the police arrested the man who was accused of burglary and his girlfriend. He didn&#8217;t have any obvious injuries and the police said that the man who detained him did them a favor, so it seems unlikely that there will be any assault charges filed. Presumably the man who detained the burglar is explaining it all at the police station now, I hope the police gave him a chance to put on pants and shoes first.</p>
<p>The man who made the burglary accusation said that his house was robbed last night which is why he was more observant than usual tonight.</p>
<p>This makes me glad of my policy of rejecting every job offer which involves moving to the US. In Australia hand guns are really hard to get so there&#8217;s no way that a house burglary will involve a gun and there&#8217;s also no way that someone who wants to help the police will have a gun. So while it was unpleasant to have this happen at my front door it didn&#8217;t involve any risk to me. It could have ended up with someone other than me getting a beating but the probability of serious injury or death for them was quite low. As everyone knew that no-one had a gun and no-one wanted to be charged with assault it made sense for everyone to avoid excessive force. From what I saw no excessive force was used.</p>
<p>The police arrived fairly quickly and EVERYONE was glad to see them. All up it took a bit more than 30 minutes from the first noise to the police departing after arresting both suspects and filling out a bunch of paperwork. I was impressed by that!</p>
<div class='yarpp-related-rss'>
<p>Related posts:</p><ol>
<li><a href='http://etbe.coker.com.au/2011/12/05/cyanogenmod-galaxy-s/' rel='bookmark' title='CyanogenMod and the Galaxy S'>CyanogenMod and the Galaxy S</a> <small>Thanks to some advice from Philipp Kern I have now...</small></li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://etbe.coker.com.au/2012/04/23/neighborhood-watch/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
