<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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/"
	>

<channel>
	<title>selinux &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/selinux/</link>
	<description>Feed of posts on WordPress.com tagged "selinux"</description>
	<pubDate>Fri, 25 Dec 2009 10:48:24 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Installing Squid 3.0 on Fredora 11]]></title>
<link>http://jonathanjwright.wordpress.com/2009/12/16/installing-squid-3-0-on-fredora-11/</link>
<pubDate>Wed, 16 Dec 2009 14:41:05 +0000</pubDate>
<dc:creator>Jonathan Wright</dc:creator>
<guid>http://jonathanjwright.wordpress.com/2009/12/16/installing-squid-3-0-on-fredora-11/</guid>
<description><![CDATA[Install Squid in the normal fashion using yum or System -&gt; Administration -&gt; Add/Remove Softwa]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><ol>
<li>Install <a href="http://www.squid-cache.org/" target="_blank">Squid</a> in the normal fashion using yum or System -&#62; Administration -&#62; Add/Remove Software.</li>
<li>Open the Squid configuration file by executing the following command:
<div class="example-code">
<pre><code>sudo gedit /etc/squid/squid.conf</code></pre>
</div>
</li>
<li>Change the value of the <code>error_directory</code> property so that it points to an actual directory. For example:
<div class="example-code">
<pre><code>error_directory /usr/share/squid/errors/English</code></pre>
</div>
<p>As opposed to
<div class="example-code">
<pre><code>error_directory /usr/share/squid/errors/en</code></pre>
</div>
<p>which didn&#8217;t exist on my system after the install had completed.</li>
<li>If your current <a href="http://docs.fedoraproject.org/selinux-user-guide/f11/en-US/index.html" target="_blank">SELinux</a> enforcing mode is set to &#34;Enforcing&#34; you&#8217;ll also need to perform the following steps.</li>
<li>Create the following Type Enforcement file (the remaining steps assume the file name <code>local.te</code>):
<div class="example-code">
<pre><code>module local 1.0;

require {
	type var_run_t;
	type unconfined_t;
	type squid_t;
	class file {open read getattr};
	class process signal;
}

#============= squid_t ==============
allow squid_t var_run_t:file {open read getattr};
allow squid_t unconfined_t:process signal;</code></pre>
</div>
<p><b>N.B.</b> The following steps will overwrite any existing module with the same name. To check if you already have a policy module called local go to System -&#62; Administration -&#62; SELinux Management, select &#34;Policy Module&#34; from the left-hand menu and enter &#34;local&#34; into the filter field. If you&#8217;ve already got a module called local simply edit the Type Enforcement file accordingly. For example:
<div class="example-code">
<pre><code>module <b>mysquid</b> 1.0;</code></pre>
</div>
</li>
<li>Edit accordingly, then execute the following script:
<div class="example-code">
<pre><code>dir=<b>&#60;your-dir-path&#62;</b>;
sudo checkmodule -M -m -o $dir/local.mod $dir/local.te;
sudo semodule_package -o $dir/local.pp -m $dir/local.mod;
sudo semodule -i $dir/local.pp;</code></pre>
</div>
<p><b>N.B.</b> The <code>checkmodule</code> command takes the Type Enforcement file, <code>local.te</code>, created in step 5 as its input.</li>
<li>Got to System -&#62; Administration -&#62; Services. Start Squid.</li>
<li>Cleanup any unwanted files created in steps 5 and 6.</li>
</ol>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Microsoft - Rumours of our Black Screen of Death are greatly exagerated]]></title>
<link>http://jazzyjeph.wordpress.com/2009/12/02/microsoft-rumours-of-our-black-screen-of-death-are-greatly-exagerated/</link>
<pubDate>Wed, 02 Dec 2009 07:48:33 +0000</pubDate>
<dc:creator>jazzyjeph</dc:creator>
<guid>http://jazzyjeph.wordpress.com/2009/12/02/microsoft-rumours-of-our-black-screen-of-death-are-greatly-exagerated/</guid>
<description><![CDATA[Nice, the epruption over Microsoft&#8217;&#8217;s &#8220;Black Screen of Death&#8221; seems to be th]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Nice, the epruption over Microsoft&#8217;&#8217;s &#8220;Black Screen of Death&#8221; seems to be that NO its not related to any Security Updates but YES, &#8220;we do know that &#8216;black screen&#8217; behavior is associated with some malware families such as Daonol.&#8221; My mate Aiden had already reported that of the hundreds of Microsoft PC&#8217;s that have passed through the company he works for (poor lad) they have NEVER had the &#8220;Black Screen of Death&#8221; issue, unless caused by faulty graphics drivers.</p>
<p>Microsoft&#8217;s <a target="_blank" href="http://blogs.technet.com/msrc/archive/2009/12/01/reports-of-issues-with-november-security-updates.aspx">MSRC</a> reveals there take on it.</p>
<p>So 1] <b><a target="_blank" href="http://www.prevx.com/blog.asp">PREVX</a></b> when you dislike &#8220;proprietary&#8221; software as much as us please give us well researched facts,&#160; ie; discuss Windows problems with MS first.<br />&#160;&#160;&#160;&#160; 2] <b>Everyone Else</b> Use a strong operating system in the first place and keep it updated, any version of <a target="_blank" href="http://en.wikipedia.org/wiki/Security-Enhanced_Linux">SELinux</a> should do.</p>
<p><a target="_blank" href="http://news.bbc.co.uk/1/hi/technology/8388253.stm">Malware suspected of &#8220;Black Screen&#8221; issue<br /></a><br /><a href="http://www.msnbc.msn.com/id/34223754/ns/technology_and_science-security/">‘Black screen of death’ for some Windows users &#8211; Security- msnbc.com</a><br />
<blockquote></blockquote>
<p>Technorati Tags: <a class="performancingtags" href="http://technorati.com/tag/Black%20Screen%20of%20Death" rel="tag">Black Screen of Death</a>, <a class="performancingtags" href="http://technorati.com/tag/Microsoft" rel="tag">Microsoft</a>, <a class="performancingtags" href="http://technorati.com/tag/Security" rel="tag">Security</a>, <a class="performancingtags" href="http://technorati.com/tag/Updates" rel="tag">Updates</a>, <a class="performancingtags" href="http://technorati.com/tag/" rel="tag"></a></p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=3d0a7cf7-b7c3-898c-9992-b697efd9a2c4" /></div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[EnGarde Secure Linux

The Community Ed ... ]]></title>
<link>http://wajatimur.wordpress.com/2009/11/17/engarde-secure-linuxthe-community-ed/</link>
<pubDate>Tue, 17 Nov 2009 16:51:02 +0000</pubDate>
<dc:creator>wajatimur</dc:creator>
<guid>http://wajatimur.wordpress.com/2009/11/17/engarde-secure-linuxthe-community-ed/</guid>
<description><![CDATA[EnGarde Secure Linux The Community Edition of EnGarde Secure Linux was designed to support features ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>EnGarde Secure Linux</p>
<p>The Community Edition of EnGarde Secure Linux was designed to support features suitable for individuals, students, security enthusiasts, and those wishing to evaluate the level of security and ease of management available in Guardian Digital enterprise products. Its development is very much driven by not only the requests from the community, but also their continued participation.</p>
<p>The Community Edition is a dynamic, rapidly-evolving product that serves to exhibit the best-of-breed applications currently under development. Guardian Digital enterprise products provide greater levels of support, support for more advanced hardware, more sophisticated upgrade path, and features more suitable for enterprises, including support for our other enterprise applications.</p>
<p>    * Simple &#38; Secure Remote Administration<br />
    * Powerful Host Intrusion Detection<br />
    * Secure Network Services<br />
    * Built-in Support and Alerts<br />
    * Robust Network Intrusion Detection<br />
    * Quick and Secure Web, DNS email, FTP<br />
    * Network Gateway Firewall<br />
    * Monitor System Access<br />
    * Protect Against Data Loss<br />
    * Security Control Center<br />
    * Engineered to be Secure<br />
    * Significantly Reduces Support Costs </p>
<p>http://www.engardelinux.org</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Laissez-faire Security - A Good Thing]]></title>
<link>http://administratosphere.wordpress.com/2009/11/09/laissez-faire-security-a-good-thing/</link>
<pubDate>Mon, 09 Nov 2009 15:31:04 +0000</pubDate>
<dc:creator>ddouthitt</dc:creator>
<guid>http://administratosphere.wordpress.com/2009/11/09/laissez-faire-security-a-good-thing/</guid>
<description><![CDATA[Bruce Schneier wrote today about a paper that describes something it calls laissez-faire security: t]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Bruce Schneier <a href="http://www.schneier.com/blog/archives/2009/11/laissez-faire_a.html">wrote</a> today about a <a href="http://www.cs.columbia.edu/~smb/papers/nspw-use.pdf">paper</a> that describes something it calls laissez-faire security: the idea that tight <a href="http://en.wikipedia.org/wiki/Rbac">role-based security</a> (RBAC) will lead to situations where the security prevents people from doing what they need to do for their jobs, which subsequently leads to normal people finding ways to circumvent (and weaken) security.</p>
<p>The proposal presented in the paper <a href="http://www.cs.columbia.edu/~smb/papers/nspw-use.pdf">Laissez-faire Security</a> (by two researchers from Columbia University and two from Microsoft) suggests that rather than tightening things down, one should audit strongly instead.  One of the authors, <a href="http://www.cs.columbia.edu/~smb/">Steven M. Bellovin</a>, is a luminary steeped in the history of the Internet, in the security arena, and one of the founders of <a href="http://en.wikipedia.org/wiki/Usenet">Usenet</a>.</p>
<p>The results of RBAC can be seen by every administrator sooner or later &#8211; many times, experienced personally.  <a href="http://en.wikipedia.org/wiki/Security-Enhanced_Linux">SELinux</a> is a perfect example: despite its acknowledged security benefits, it is commonly disabled or left in an &#8220;advisory&#8221; state only because of the problems in implementing such a restrictive policy.</p>
<p>From a user perspective, there are numerous examples of people bypassing security in efforts to share data or to utilize tools to get work done.</p>
<p><em>Laissez-faire Security</em> is about letting users select the appropriate security rules within a framework of policies &#8211; which they can ignore (after notification and auditing) &#8211; at their own peril.  The policy violations can then be handled outside of the computing environment in other ways if needed.</p>
<p>The paper compares computer security to an economy and to the workings of the free-market economy in particular.  This paper is very interesting reading and would be worth reading for any security-minded administrator.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Fedora 12 Beta Installation.. A Breeze!]]></title>
<link>http://queasyquagmire.wordpress.com/2009/11/04/fedora-12-beta-installation-a-breeze/</link>
<pubDate>Wed, 04 Nov 2009 13:37:51 +0000</pubDate>
<dc:creator>salvassn</dc:creator>
<guid>http://queasyquagmire.wordpress.com/2009/11/04/fedora-12-beta-installation-a-breeze/</guid>
<description><![CDATA[I&#8217;ve been using Fedora since Fedora Core 6 back in 2006 when I was in my first year. I&#8217;v]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I&#8217;ve been using Fedora since Fedora Core 6 back in 2006 when I was in my first year. I&#8217;ve wandered a lot in distroland, and since have stuck to Fedora since Fedora 9. I get kicks out of using the latest and greatest software available, so I downloaded the nightly build for Fedora 12 beta last weekend from http://alt.fedoraproject.org/pub/alt/nightly-composes/desktop/ and then installed it on my desktop last Sunday. The first thing that surprised me was the speed at which the live system loaded onto my desktop. I tried out the live system just for fun, and it was speedier than the previous versions and also Karmic Koala&#8217;s release candidate live CD. (It is faster than the Ubuntu 9.10 Final Live CD too!)</p>
<p>This excited me a lot, so I went ahead and installed the system onto my hard disk. Installation went really smooth, and there was not a single problem. So, I rebooted and went into my shiny new system. And God, I do love the default wallpaper! Light Blue and Light Green are my favorite colors, and this one has Light Blue as default!</p>
<p>Now, I wanted to do some work on this new machine. So I installed jdk, netbeans and eclipse to see if a few programs ran well. Then I installed gcc and all the other development tools. I&#8217;ve installed the multimedia codecs and many other essential software that could not be accomodated on the 653MB CD image.</p>
<p>GNOME 2.28 seems very stable and Empathy rocks! The Google Talk call feature is the real talking point of this GNOME IM client. I installed my own Eclipse from the IBM site, and had to change SELinux mode to permissive and execute<br />
<code><br />
$ su -c 'chcon -t execmem_exec_t '/usr/local/eclipse/eclipse' '<br />
</code></p>
<p>to let SELinux allow eclipse to run.</p>
<p>I&#8217;ve copied over my Drupal installation on my laptop to this one, and the LAMP stack runs well, no issues at all. (The site is on localhost!)</p>
<p>I&#8217;ll upload the screenshots for the installation on my VM and other details in subsequent posts. The way this beauty seems to run, it makes me think twice of delaying the installation on my laptop till the final release!</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[SELinux]]></title>
<link>http://gurjotsingh52.wordpress.com/2009/11/01/selinux/</link>
<pubDate>Sun, 01 Nov 2009 17:45:47 +0000</pubDate>
<dc:creator>gurjotsingh52</dc:creator>
<guid>http://gurjotsingh52.wordpress.com/2009/11/01/selinux/</guid>
<description><![CDATA[Introduction to SELinux Security-Enhanced Linux (SELinux) is a security architecture integrated into]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><strong>Introduction to SELinux</strong></p>
<p>Security-Enhanced Linux (SELinux) is a security architecture integrated into the 2.6.x kernel using the Linux Security Modules (LSM). It is a project of the United States National Security Agency (NSA) and the SELinux community. SELinux integration into Red Hat Enterprise Linux was a joint effort between the NSA and Red Hat.</p>
<p><strong>SELinux Overview</strong><strong></strong></p>
<p>SELinux provides a flexible Mandatory Access Control (MAC) system built into the Linux kernel. Under standard Linux Discretionary Access Control (DAC), an application or process running as a user (UID or SUID) has the user&#8217;s permissions to objects such as files, sockets, and other processes. Running a MAC kernel protects the system from malicious or flawed applications that can damage or destroy the system.</p>
<p>SELinux defines the access and transition rights of every user, application, process, and file on the system. SELinux then governs the interactions of these entities using a security policy that specifies how strict or lenient a given Red Hat Enterprise Linux installation should be.</p>
<p>On a day-to-day basis, system users will be largely unaware of SELinux. Only system administrators need to consider how strict a policy to implement for their server environment. The policy can be as strict or as lenient as needed, and is very finely detailed. This detail gives the SELinux kernel complete, granular control over the entire system.</p>
<p><strong>The SELinux Decision Making Process</strong></p>
<p>When a subject, (for example, an application), attempts to access an object (for example, a file), the policy enforcement server in the kernel checks an access vector cache (AVC), where subject and object permissions are cached. If a decision cannot be made based on data in the AVC, the request continues to the security server, which looks up the security context of the application and the file in a matrix. Permission is then granted or denied, with an avc: denied message detailed in /var/log/messages if permission is denied. The security context of subjects and objects is applied from the installed policy, which also provides the information to populate the security server&#8217;s matrix.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Diagnose and fix 'SELinux is preventing mysqld (mysqld_t)']]></title>
<link>http://onecool1.wordpress.com/2009/10/13/diagnose-and-fix-selinux-is-preventing-mysqld-mysqld_t/</link>
<pubDate>Tue, 13 Oct 2009 11:17:48 +0000</pubDate>
<dc:creator>onecool1</dc:creator>
<guid>http://onecool1.wordpress.com/2009/10/13/diagnose-and-fix-selinux-is-preventing-mysqld-mysqld_t/</guid>
<description><![CDATA[The full title of this blog should really be &#8216;SELinux is preventing mysqld (mysqld_t) &#8220;s]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>The full title of this blog should really be &#8216;SELinux is preventing mysqld (mysqld_t) &#8220;search&#8221; to ./tmp (public_content_rw_t)&#8217; as that is the problem I&#8217;ve been having with CentOS recently (and hence my searches on the web for a solution).</p>
<p><strong>The cause of the problem</strong></p>
<p>I use <a href="http://www.sugarcrm.com">SugarCRM for customer and project management data</a> &#8211; and very good it is too! (Gratuitous plug &#8211; I can help your company install and use this fine software <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />   ).  Except that recently, when listing my Accounts within Sugar, I would not see all of the account context.  Only the account data itself would be displayed and none of the subpanels/links.  The query to retrieve more data was failing, with this error message displayed in the browser window:</p>
<p><!--more--><code>mysqld: Can't create/write to file '/tmp/#08y2jw' (Errcode: 13)</code></p>
<p>In my system log (/var/log/messages), I also got multiple SELinux errors like this:</p>
<p><code>Oct 13 09:07:50 server setroubleshoot: SELinux is preventing mysqld (mysqld_t) "read" to ./tmp (public_content_rw_t). For complete SELinux messages. run sealert -l 1762c478-f3a2-4eeb-be09-bd3dc037d945</code></p>
<p>Clearly, the reason for &#8220;Errcode: 13&#8243; was due to SELinux.</p>
<p>Incidentally. if you have seen a similar error on your web site, but with (Errcode: 28) instead, this is likely due to shortage of disk space.  A great way of determining operating system errors like this, is to use &#8216;PError&#8217;, thus:</p>
<p><code># perror 28<br />
OS error code  28:  No space left on device</code></p>
<p><code># perror 13<br />
OS error code  13:  Permission denied</code></p>
<p>So there we are &#8211; two distinct and different issues.</p>
<p>With SELinux, resolving the permission issue can be difficult.  By issuing # sealert -l 1762c478-f3a2-4eeb-be09-bd3dc037d945, as suggested above, I got  the following output (trimmed and highlighted for clarity):</p>
<blockquote><p><code><strong>Summary:</strong></code></p>
<p>SELinux is preventing mysqld (mysqld_t) &#8220;search&#8221; to ./tmp (public_content_rw_t).</p>
<p><strong>Allowing Access:</strong></p>
<p>Sometimes labeling problems can cause SELinux denials. You could try to restore<br />
the default system file context for ./tmp,</p>
<p>restorecon -v &#8216;./tmp&#8217;</p>
<p><strong>Additional Information:</strong></p>
<p>Source Context                root:system_r:<strong>mysqld_t</strong><br />
Target Context                system_u:object_r:<strong>public_content_rw_t</strong></p></blockquote>
<p>First things first: issuing <code># restorecon -v './tmp'</code> didn&#8217;t fix it for me.  I was also surprised to see that the path to /tmp was relative to the current working directory, so I tried a slightly modified <code># restorecon -v '/tmp'</code>, but to no avail.  After restarting mysqld, the problem persisted: MySQL was simply being refused access to /tmp.  Somewhere, a policy is disallowing this.</p>
<p>It&#8217;s a mistake to assume the the source context and target context should be the same; they don&#8217;t have to be, as it&#8217;s entirely policy-driven.  I made bold those aspects (the file Type) above to highlight this incorrect assumption (that I previously held).</p>
<p><strong>Find and fix a policy? </strong></p>
<p>Although finding the troublesome policy and analysing it is a Good Thing, it&#8217;s also time-consuming and requires significant knowledge of SELinux, chiefly to avoid creating security holes.  A better way, I found, was simply to relocate where mysqld tries to store temporary data.</p>
<p>Thanks to <a href="http://surachartopun.com/2009/01/mysql-table-partitioning-error-1-hy000.html">Surachart Opun&#8217;s blog</a>, I learned that you can specify a new location for temporary files.  In /etc/my.cnf, add or edit the following:</p>
<p><code>[mysqld]<br />
tmpdir=/tmp  # &#60;--- change this to a location that SELinux allows mysqld to write data.<br />
# e.g.<br />
tmpdir=/var/lib/mysql/tmp<br />
</code></p>
<p>Now do the legwork to set up the directory properly:</p>
<p>First, create directory with appropriate permissions<br />
<code># cd /var/lib/mysql<br />
# mkdir tmp<br />
# chown mysql:mysql tmp<br />
# chmod 1750 tmp</code></p>
<p>Now set the SELinux context up:<br />
<code># chcon --reference /var/lib/mysql tmp</code></p>
<p>and make the SELinuiux context permanent:<br />
<code># semanage fcontext -a -t mysql_db_t "/var/lib/mysql/tmp(/.*)?"</code></p>
<p>Finally, restart mysql:</p>
<div id="attachment_65" class="wp-caption alignright" style="width: 260px"><img class="size-full wp-image-65" title="Screenshot of SugarCRM" src="http://onecool1.wordpress.com/files/2009/10/screenshot_of_sugarcrm.jpg" alt="Open Source CRM system" width="250" height="195" /><p class="wp-caption-text">SugarCRM - Open Source CRM system</p></div>
<p># service mysqld restart</p>
<p><strong>Closing thoughts: optimisation</strong><br />
The methods above fixed the particular problem I was having.  They didn&#8217;t, however, actually pinpoint the cause.  This is one of the good things about Linux and SELinux in particular: you are forced to rethink what the system is doing and work out a solution that sits within the predefined security context &#8211; or learn how to write SELinux policies.  Personally, I prefer the former <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>There is an additional benefit to the solution above &#8211; namely, optimisation.  Because we have specified the security context with semanage, we are free to mount an external file system and use that instead for MySQL&#8217;s temporary files.  In other words, we can maintain the security but increase the performance.  One such filesystem could be tmpfs.  tmpfs is actually a RAM Disk, uses a fixed amount of RAM to provide file storage.  It is much quicker than an on-disk filesystem and thus perfectly optimised for storing temporary, caching data.  There are many resources about tmpfs on the web.  A <a href="http://planet.admon.org/2009/09/ramfs-sysfs-and-tmpfs-on-linux/">good introduction to tmpfs</a> can be at <a href="http://planet.admon.org">Planet Admon</a>.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[10 important Linux developments everyone should know about]]></title>
<link>http://ubuntugide.wordpress.com/2009/10/08/10-important-linux-developments-everyone-should-know-about/</link>
<pubDate>Thu, 08 Oct 2009 18:24:00 +0000</pubDate>
<dc:creator>hardik123</dc:creator>
<guid>http://ubuntugide.wordpress.com/2009/10/08/10-important-linux-developments-everyone-should-know-about/</guid>
<description><![CDATA[Celebrating 10 years of Linux accomplishments The Linux® technology, development model, and communit]]></description>
<content:encoded><![CDATA[Celebrating 10 years of Linux accomplishments The Linux® technology, development model, and communit]]></content:encoded>
</item>
<item>
<title><![CDATA[SELinux in review]]></title>
<link>http://shazkhan.wordpress.com/2009/09/15/selinux-in-review/</link>
<pubDate>Tue, 15 Sep 2009 19:32:33 +0000</pubDate>
<dc:creator>shazkhan</dc:creator>
<guid>http://shazkhan.wordpress.com/2009/09/15/selinux-in-review/</guid>
<description><![CDATA[Following are the high level languages that have been investigated in past and present and they shou]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Following are the high level languages that have been investigated in past and present and they should serve as lessons learned from other efforts. These other efforts are &#8220;Experiances with higher levels&#8221; [1] from Tresys team. Then we have the Hitachi efforts on SEEDIT [2] for generating simple, non reference policy [13], selinux policies. Lately in SELinux 2008 summit we came across Shrimp and Lobster [3] followed by some policy management upgrades expected in [4] based on [5]. [4, 5] are yet to be presented so we are not clear exactly what to expect apart from an intermediate language on top of modular &#8220;Reference Policy&#8221; [13].</p>
<p>Next some of us want to be able to write SELinux policies and we are also expecting some workshops so I am pointing out the material that is expected to be prepared for the workshops. Some of you might want to look at it before time. [6] are the training modules that are definitely an attractive material for learning how to write policy and understand the working, design and implementation of policy infrastructure [13, 14, 15]. Then we have the &#8220;SELinux by Example&#8221; book for a solid reference. Another policy wrting tutorial that I liked was [7].</p>
<p>Updates on package management of SELinux policies is [8, 9, 10, 11]. I am not sure how this approach will be used with existing Policy Management Infra [12, 14, 15]?</p>
<p>Other works to be aware of for SELinux are work in progress on Labeled NFS [16], SEPostgre [17], SE-PHP [18], SE-Apache [19], and other object managers like Dbus [20] and Gconf [21]. Lately I came across MAC and Virtualization [23], which I have not read in detail to comment upon.</p>
<p>I will cover on more tools and literature as I remember and come across and will update.</p>
<p>[1] <a href="http://www.tresys.com/pdf/Experiences-With-Higher-Level.pdf" target="_blank">http://www.tresys.com/pdf/Experiences-With-Higher-Level.pdf</a><br />
[2] <a href="http://seedit.sourceforge.net/" target="_blank">http://seedit.sourceforge.net/</a><br />
[3] <a href="http://selinuxproject.org/files/2008_selinux_developer_summit/2008_summit_white.pdf" target="_blank">http://selinuxproject.org/files/2008_selinux_developer_summit/2008_summit_white.pdf</a><br />
[4] <a href="http://selinuxproject.org/page/Developer_Summit_2009/Abstracts/Brindle_Policy_1" target="_blank">http://selinuxproject.org/page/Developer_Summit_2009/Abstracts/Brindle_Policy_1</a><br />
[5] <a href="http://linuxplumbersconf.org/ocw/proposals/56" target="_blank">http://linuxplumbersconf.org/ocw/proposals/56</a><br />
[6] Lost the link so I can email it to you on request. These are part of opensource material from Tresys Inc. educational team.<br />
[7] <a href="http://www.lurking-grue.org/writingselinuxpolicyHOWTO.html" target="_blank">http://www.lurking-grue.org/writingselinuxpolicyHOWTO.html</a><br />
[8] <a href="http://selinuxproject.org/page/Developer_Summit_2009/Abstracts/Brindle_Policy_2" target="_blank">http://selinuxproject.org/page/Developer_Summit_2009/Abstracts/Brindle_Policy_2</a><br />
[9] <a href="https://fedoraproject.org/wiki/SELinux_Policy_Modules_Packaging_Draft" target="_blank">https://fedoraproject.org/wiki/SELinux_Policy_Modules_Packaging_Draft</a><br />
[10] <a href="http://linuxplumbersconf.org/ocw/proposals/58" target="_blank">http://linuxplumbersconf.org/ocw/proposals/58</a><br />
[11] <a href="http://fedoraproject.org/wiki/PackagingDrafts/SELinux" target="_blank">http://fedoraproject.org/wiki/PackagingDrafts/SELinux</a><br />
[12] <a href="http://www.tresys.com/pdf/Design-And-Implementation-of-PMS.pdf" target="_blank">http://www.tresys.com/pdf/Design-And-Implementation-of-PMS.pdf</a><br />
[13] <a href="http://oss.tresys.com/projects/refpolicy" target="_blank">http://oss.tresys.com/projects/refpolicy</a><br />
[14] <a href="http://oss.tresys.com/projects/policy-server/wiki/PolicyModules" target="_blank">http://oss.tresys.com/projects/policy-server/wiki/PolicyModules</a><br />
[15] <a href="http://userspace.selinuxproject.org/trac/" target="_blank">http://userspace.selinuxproject.org/trac/</a><br />
[16] <a href="http://selinuxproject.org/page/Labeled_NFS" target="_blank">http://selinuxproject.org/page/Labeled_NFS</a><br />
[17] <a href="http://wiki.postgresql.org/wiki/SEPostgreSQL" target="_blank">http://wiki.postgresql.org/wiki/SEPostgreSQL</a><br />
[18] <a href="http://pecl.php.net/package/selinux" target="_blank">http://pecl.php.net/package/selinux</a><br />
[19] <a href="http://code.google.com/p/sepgsql/wiki/Apache_SELinux_plus" target="_blank">http://code.google.com/p/sepgsql/wiki/Apache_SELinux_plus</a><br />
[20] <a href="http://www.redhat.com/magazine/003jan05/features/dbus/" target="_blank">http://www.redhat.com/magazine/003jan05/features/dbus/</a><br />
[21] <a href="http://dbus.freedesktop.org/doc/dbus-daemon.1.html#lbAG" target="_blank">http://dbus.freedesktop.org/doc/dbus-daemon.1.html#lbAG</a><br />
[22] <a href="http://docs.huihoo.com/selinux/gconf07.pdf" target="_blank">http://docs.huihoo.com/selinux/gconf07.pdf</a><br />
[23] <a href="http://www.tresys.com/pdf/Tresys_RethinkSecurity.pdf" target="_blank">http://www.tresys.com/pdf/Tresys_RethinkSecurity.pdf</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Google Earth for Linux]]></title>
<link>http://christarnowski.wordpress.com/2009/09/12/google-earth-for-linux/</link>
<pubDate>Sat, 12 Sep 2009 10:38:53 +0000</pubDate>
<dc:creator>Krzysztof Tarnowski</dc:creator>
<guid>http://christarnowski.wordpress.com/2009/09/12/google-earth-for-linux/</guid>
<description><![CDATA[Google Earth, like many Google products, is also available for Linux platform. In many cases install]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:justify;"><a title="Google Earth homepage" href="http://earth.google.com/">Google Earth</a>, like many Google products, is also available for Linux platform. In many cases installation is very simple:</p>
<blockquote><p>wget http://dl.google.com/earth/client/current/GoogleEarthLinux.bin</p>
<p>sudo sh GoogleEarthLinux.bin</p></blockquote>
<p style="text-align:justify;">There are, however, at least two &#8216;catches&#8217;, which are worth mentioning. First of all depending on how you run the bin file (root or non-root privileges) you&#8217;ll have different install locations available (obviously). Running the above example will install Google Earth for all users.</p>
<p style="text-align:justify;">There&#8217;s also a problem with the (lack of) security polices on <a title="Understanding SELinux" href="http://fedoraproject.org/wiki/SELinux/Understanding">SELinux</a> enabled distributions (like Fedora). <a title="Fedora Guide" href="http://www.my-guides.net/en/content/view/161/26/1/9/">Some guides</a> gives a hint how to resolve this issue, but they fail to provide flexible algorithm, which takes into account changes made by Google Earth developers (i.e. included *.so libraries). The easiest way to make Google Earth work with SELinux is to simply run Google Earth and check SELinux Troubleshooter (<em>Applications</em> -&#62;<em> System Tools</em> in Fedora 11) for possible solution (<em>Allowing access</em> section).</p>
<p style="text-align:justify;">
<div id="attachment_47" class="wp-caption aligncenter" style="width: 610px"><a href="http://christarnowski.wordpress.com/files/2009/09/google_earch_selinux.png"><img class="size-full wp-image-47 " title="SELinux Troubleshooter" src="http://christarnowski.wordpress.com/files/2009/09/google_earch_selinux.png" alt="SELinux Troubleshooter example" width="600" height="376" /></a><p class="wp-caption-text">Example SELinux Troubleshooter log</p></div>
<p style="text-align:justify;">Remember to type <span style="text-decoration:underline;">both</span> commands provided in <em>Allowing access</em> section (it&#8217;s generally safe to do so for Google Earth) to avoid problems in the future. Repeat until Google Earth launches successfully <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .</p>
<h3 style="text-align:justify;">Further reading</h3>
<ul>
<li><a title="SELinux user guide" href="http://docs.fedoraproject.org/selinux-user-guide/f11/en-US/">Fedora 11 SELinux user guide</a></li>
<li><a title="Anatomy of SELinux" href="http://www.ibm.com/developerworks/linux/library/l-selinux/">Anatomy of Security-Enhanced Linux (SELinux)</a></li>
</ul>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Rhcss institute in jaipur]]></title>
<link>http://grras.wordpress.com/2009/09/07/rhcss-institute-in-jaipur/</link>
<pubDate>Mon, 07 Sep 2009 16:51:40 +0000</pubDate>
<dc:creator>Grras</dc:creator>
<guid>http://grras.wordpress.com/2009/09/07/rhcss-institute-in-jaipur/</guid>
<description><![CDATA[GRRAS – An apex center for promotion and development of Linux operating system operating for imparti]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><div class="top_banners_left"><a href="http://www.grras.com/"><img src="http://www.grras.com/wp-content/themes/default/images/grras_logo.jpg" width="265" height="129" border="0" /></a></div>
<p>GRRAS – An apex center for promotion and development of Linux operating system operating for imparting education on Linux, open source and open source-based value-added applications. We are the partner of Rajasthan Knowledge Corporation limited. We strive to spread awareness in people about computer with this program and promote IT in every area in Rajasthan. </p>
<p>GRRAS has been training the corporate houses and students Linux technologies like RHCE, <a href="http://www.grras.com/">RHCSS</a>, System &#38; network administration, SELINUX, Firewall security, Shell Scripting. For a very long time we have been engaged in offering foremost Linux related training courses which is tremendously lucrative for the IT organizations &#38; Students involved in Software Development, System &#38; Network Administration, SELinux &#38; Firewall security.</p>
<p>contact detail&#8211;</p>
<p>219, Himmat Nagar,Behind Kiran Sweets,<br />
Gopalpura Turn, Tonk Road, Jaipur(Raj.)<br />
Tel: +91-141-3136868, +91- 9887789124, +91-9352767438<br />
Email: <a title="info@grras.com " href="info@grras.com " target="_blank">info@grras.com</a><br />
<strong><a title="Website Source" href="http://www.grras.com/" target="_blank"><b>RHCE Certification</b></a></strong></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Red Hat Certified Security Specialist (RHCSS) in jaipur]]></title>
<link>http://rhcsstrainingcentre.wordpress.com/2009/08/30/red-hat-certified-security-specialist-rhcss-in-jaipur/</link>
<pubDate>Sun, 30 Aug 2009 12:18:54 +0000</pubDate>
<dc:creator>Grras</dc:creator>
<guid>http://rhcsstrainingcentre.wordpress.com/2009/08/30/red-hat-certified-security-specialist-rhcss-in-jaipur/</guid>
<description><![CDATA[Red Hat Certified Security Specialist (RHCSS) is a security certification that proves advanced skill]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a title="Red Hat Certified Security Specialist (RHCSS) in jaipur" href="http://www.grras.com/" target="_blank"><img class="aligncenter size-full wp-image-5" title="inoffice - Copy" src="http://rhcsstrainingcentre.wordpress.com/files/2009/08/inoffice-copy.jpg" alt="inoffice - Copy" width="450" height="252" /></a></p>
<p>Red Hat Certified Security Specialist (RHCSS) is a security certification that proves advanced skills in using Red Hat Enterprise Linux, SELinux, and Red Hat Directory Server to meet the security requirements of today&#8217;s enterprise environment.</p>
<p>join GRRAS institute for Red Hat Certified Security Specialist (RHCSS) and Red Hat Certified Engineer (RHCE).</p>
<p>* GRRAS is the only institute in jaipur(India) which has first network and security specialists.<br />
* It’s an admiration to be a part of an institute which has best Linux professionals.<br />
* All the GRRAS faculties are technocrats and have much experience of Linux teaching.<br />
* GRRAS provides doubt solving sessions which tend to effective training.<br />
* We became the renowned leader and did set the benchmark for the IT market in training of Linux since the very beginning of our foundation.<br />
* We empower our Linux trainees with unique core competencies for exploiting the untouched jobs in Linux field.</p>
<p>Administering Linux 2.6.x (particularly Red Hat). Installation, initial configuration, using the bash command shell, managing files, managing software, and granting rights to users. DNS, FTP, Apache, send mail, Samba, and other services are covered with live training and full dedication.</p>
<p>Advantage of the COURSE</p>
<p>The Linux Networking &#38; System Administration course provides knowledge and skills for Linux- and/or UNIX- systems administrators who want to build proficiency at configuring common network services and security administration using Linux. This course is updated for building skills on Linux Administration.</p>
<p>you can contact for Red Hat Certified Security Specialist (RHCSS) and Red Hat Certified Engineer (RHCE) batches.</p>
<p>contact detail&#8211;<br />
219, Himmat Nagar,Behind Kiran Sweets,<br />
Gopalpura Turn, Tonk Road, Jaipur(Raj.)<br />
Tel: +91-141-3136868, +91- 9887789124, +91-9352767438<br />
Email: <a title="info@grras.com" href="info@grras.com " target="_blank">info@grras.com</a><br />
<a title="Website Source" href="http://www.grras.com" target="_blank"><strong><br />
</strong></a></p>
<h1><a title="Website Source" href="http://www.grras.com" target="_blank"><strong>Website Source</strong></a></h1>
<p><a title="Website Source" href="http://www.grras.com" target="_blank"><strong> </strong></a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Why Linux kernel security model is heading the wrong way? ]]></title>
<link>http://teomontekki.wordpress.com/2009/08/25/why-linux-kernel-security-model-is-heading-the-wrong-way/</link>
<pubDate>Tue, 25 Aug 2009 10:29:52 +0000</pubDate>
<dc:creator>teomontekki</dc:creator>
<guid>http://teomontekki.wordpress.com/2009/08/25/why-linux-kernel-security-model-is-heading-the-wrong-way/</guid>
<description><![CDATA[На сегодняшний день в основную ветку ядра Linux коммитят несколько тысяч разработчиков. При этом, оч]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>На сегодняшний день в основную ветку ядра Linux коммитят несколько тысяч разработчиков. При этом, очень большой вклад в развитие ядра вносят такие компании, как IBM, Novell, RedHat.</p>
<p>Существуют различные методы повышения безопасности ОС, одним из таких методов является создание системы безопасности уровня ядра. Именно такой системой является SELinux, о котором я уже упоминал.</p>
<p><!--more--></p>
<p>Как все в ядре задумывалось изначально? Были созданы некоторые системы безопасности уровня ядра, такие, как AppArmor, SELinux. Они использовали так называемые hook-функции в ядре, которые внедрялись повсюду. hook-функция, грубо говоря &#8212; указатель на некоторую функцию, в которой происходит решение относительно исполнения тех или иных действий ядром. Как правило, реализуется множество таких функций, принимающих решения на основании заранее определенной политики безопасности. Позднее был создан Linux Security Modules Framework, который предоставлял набор хуков для подобных систем безопасности. При этом такие СБ можно (и нужно) реализовывать в виде модулей ядра, реализующих некоторый набор хуков, реализующих некоторую логику принятия решений.</p>
<p>Как все есть на сегодняшний день? SELinux собирается непосредственно в ядро, при этом, собирается по умолчанию.  LSM собирается и работает также по умолчанию. SELinux в своей логике работы полностью отвергает возможность компрометации ядра. Это значит, что от руткитов защиты нет.  А теперь представим, каким инструментом в руках создателя руткита является набор разнообразных хуков в ядре, просто реализовав которые, он может делать, что ему вздумается. Теперь при разработке своих руткитов, люди могут &#8220;закладываться&#8221; на заранее определенные и экспортируемые из ядра функции-хуки! Благодать.</p>
<p>SELinux &#38; co защитят? Нет, как это было недавно <a title="продемонстрировано" href="http://threatpost.com/blogs/researcher-uses-new-linux-kernel-flaw-bypass-selinux-other-protections">продемонстрировано </a> разработчиком GRSecurity.</p>
<p>Является ли система LSM и построенные на ней СБ &#8220;серебряной пулей&#8221;? <a href="http://www.grsecurity.net/lsm.php">Нет.</a></p>
<p>В мире Linux словом обладают не академики ( в отличие от FreeBSD), а те, кто платит денежку. В итоге, в ядро попадает тот код, который туда попадать не должен, и обсуждать те или иные проблемы с этим связанные сообщество не особо желает. Все чаще начинает казаться, что Linux именно пишут, но не разрабатывают. Кроме этого, что касатеся /linux/security я не вижу никакого планирования развития безопасности в ядре, мне не ясны дальнейшие цели, будут ли появляться новые подходы (если все будет продолжаться как и сейчас, очевидно, &#8212; нет) и смогут ли они войти в ядро (глядя текущее положение дел с  GRSecurity, очевидно, что нет, опять-же, если ничего не изменится).</p>
<p>Складывается ощущение, что тысячи людей что-то коммитят в ядро, а те, кто во главе всего этого процесса, с каждой новой версией просто судорожно пытаюся понять, как же все это вместе работает. Работает да и ладно.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[SELinux and Ubuntu]]></title>
<link>http://billkeys.wordpress.com/2009/08/14/selinux/</link>
<pubDate>Fri, 14 Aug 2009 16:54:53 +0000</pubDate>
<dc:creator>keys261</dc:creator>
<guid>http://billkeys.wordpress.com/2009/08/14/selinux/</guid>
<description><![CDATA[Finish setting up SELinux on my production server. I only add to make some small changes to the poli]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Finish setting up SELinux on my production server. I only add to make some small changes to the policy to get things working. However I am getting the below warnings in my logs:</p>
<p>SELinux: WARNING: inside open_file_mask_to_av with unknown mode:</p>
<p>I am still researching the problem.</p>
<p>UPDATE:</p>
<p>Found the bug report and kernel needs to be patched but it look like Ubuntu is not going to release an update anytime soon so I just patched the latest kernel today.</p>
<p>https://bugs.launchpad.net/ubuntu/+source/linux/+bug/357041</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[SELinux Development On Debian]]></title>
<link>http://billkeys.wordpress.com/2009/08/13/selinux-development-on-debian/</link>
<pubDate>Thu, 13 Aug 2009 23:30:39 +0000</pubDate>
<dc:creator>keys261</dc:creator>
<guid>http://billkeys.wordpress.com/2009/08/13/selinux-development-on-debian/</guid>
<description><![CDATA[+ Installing selinux on debian lenney + &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; apt]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>+ Installing selinux on debian lenney<br />
+ &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
apt-get install selinux-basics selinux-policy-default<br />
apt-get install selinux-policy-src<br />
apt-get install libsepol*</p>
<p>+ Compiling the policy<br />
+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>cd /usr/src<br />
setenforce 0<br />
make conf<br />
make policy<br />
make install<br />
make load<br />
make relabel<br />
make checklabels<br />
make restorelabels</p>
<p>+ addind a new user<br />
+ &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
semanage login -a -s staff_u setest</p>
<p>+ Resources<br />
+ &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>http://wiki.debian.org/SELinux/Setup</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Installing Rational Software Modeller 7.5 on Fedora 11]]></title>
<link>http://jonathanjwright.wordpress.com/2009/08/12/installing-rational-software-modeller-7-5-on-fedora-11/</link>
<pubDate>Wed, 12 Aug 2009 13:07:14 +0000</pubDate>
<dc:creator>Jonathan Wright</dc:creator>
<guid>http://jonathanjwright.wordpress.com/2009/08/12/installing-rational-software-modeller-7-5-on-fedora-11/</guid>
<description><![CDATA[Because the installer uses text relocations you&#8217;ll need to relax your SELinux settings. Go to ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><ol>
<li>Because the installer uses <a title="text relocations" href="http://people.redhat.com/drepper/textrelocs.html" target="_blank">text relocations</a> you&#8217;ll need to relax your SELinux settings. Go to System -&#62; Administration -&#62; SELinux Management -&#62; Status and set the Current Enforcing Mode to Permissive.</li>
<li>Launch the installer and follow the wizard to completion (the remaining steps assume you accepted the default installation and workspace locations).</li>
<li>Rational Software Modeller also uses <a title="text relocations" href="http://people.redhat.com/drepper/textrelocs.html" target="_blank">text relocations</a> at runtime so you need to run the following command before setting your Current Enforcing Mode back to Enforcing:
<div class="example-code">
<pre><code>sudo&#160;chcon&#160;-R&#160;-t&#160;textrel_shlib_t&#160;/opt/IBM</code></pre>
</div>
</li>
<li>If you try and launch the application at this point eclipse will crash and display an error dialog telling you to check <code>&#60;HOME&#62;/IBM/rationalsdp/workspace/.metadata/.log</code>. This <a title="Bug: eclipse can't start" href="https://bugzilla.redhat.com/show_bug.cgi?id=483832" target="_blank">bug</a> is the result of a change in the xulrunner SDK which is required to display the eclipse welcome screen.</li>
<li>To disable the welcome screen run the following command:
<div class="example-code">
<pre><code>echo&#160;"org.eclipse.ui/showIntro=false"&#160;&#62;&#160;/tmp/noWelcomeScreen.ini</code></pre>
</div>
<p>Now append the following option to the launch command:</p>
<div class="example-code">
<pre><code>-pluginCustomization&#160;/tmp/noWelcomeScreen.ini</code></pre>
</div>
<p>For example:</p>
<div class="example-code">
<pre><code>opt/IBM/SDP/eclipse&#160;-product&#160;com.ibm.rational.rsm.product.v75.ide&#160;-pluginCustomization&#160;/tmp/noWelcomeScreen.ini</code></pre>
</div>
</li>
<li>Go to Application -&#62; IBM Software Delivery Platform -&#62; IBM Software Modeller</li>
<li>Happy modelling!</li>
</ol>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[SELinux!]]></title>
<link>http://elsoftwarelibre.wordpress.com/2009/08/11/selinux/</link>
<pubDate>Tue, 11 Aug 2009 03:15:39 +0000</pubDate>
<dc:creator>Soft-Libre</dc:creator>
<guid>http://elsoftwarelibre.wordpress.com/2009/08/11/selinux/</guid>
<description><![CDATA[Agrandar En Linux para todos se ha publicado un excelente tip sobre SELinux. SELinux (del inglés Sec]]></description>
<content:encoded><![CDATA[Agrandar En Linux para todos se ha publicado un excelente tip sobre SELinux. SELinux (del inglés Sec]]></content:encoded>
</item>
<item>
<title><![CDATA[Selinux ( Powerful feature security in linux )]]></title>
<link>http://techfo.wordpress.com/2009/08/03/selinux-powerful-feature-security-in-linux/</link>
<pubDate>Mon, 03 Aug 2009 07:52:00 +0000</pubDate>
<dc:creator>csokoun</dc:creator>
<guid>http://techfo.wordpress.com/2009/08/03/selinux-powerful-feature-security-in-linux/</guid>
<description><![CDATA[What is SELINUX ? Selinux ( Security-Enhance Linux ) is a Linux mandatory access controls, through t]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><div><b>What is SELINUX ?</b></div>
<p><i>Selinux</i><i> ( Security-Enhance Linux )</i>  is a Linux mandatory access controls, through the use of Linux Security Modules (LSM) in the Linux kernel. It is not a linux distribution, but it was build to provide variety of security policy.
<div></div>
<div><b>Feature of SELINUX</b></div>
<div><b><span class="Apple-style-span" style="font-family:0;font-weight:normal;font-size:13px;line-height:19px;">
<ul style="line-height:1.5em;list-style-type:square;list-style-image:url('http://en.wikipedia.org/skins-1.5/monobook/bullet.gif');margin:.3em 0 .5em 1.5em;padding:0;">
<li>Clean separation of policy from enforcement</li>
<li>Well-defined policy interfaces</li>
<li>Support for applications querying the policy and enforcing access control (for example, crond running jobs in the correct context)</li>
<li>Independent of specific policies and policy languages</li>
<li>Independent of specific security label formats and contents</li>
<li>Individual labels and controls for kernel objects and services</li>
<li>Caching of access decisions for efficiency</li>
<li>Support for policy changes</li>
<li>Separate measures for protecting system integrity (domain-type) and data confidentiality (<a href="http://en.wikipedia.org/wiki/Multilevel_security" title="Multilevel security" style="text-decoration:none;color:rgb(0,43,184);background-image:none;background-repeat:initial;background-attachment:initial;background-color:initial;background-position:initial initial;">multilevel security</a>)</li>
<li>Very flexible policy</li>
<li>Controls over process initialization and inheritance and program execution</li>
<li>Controls over file systems, directories, files, and open <a href="http://en.wikipedia.org/wiki/File_descriptor" title="File descriptor" style="text-decoration:none;color:rgb(0,43,184);background-image:none;background-repeat:initial;background-attachment:initial;background-color:initial;background-position:initial initial;">file descriptors</a></li>
<li>Controls over sockets, messages, and network interfaces</li>
<li>Controls over use of &#8220;capabilities&#8221;</li>
</ul>
<div><b><br /></b></div>
<div><b>Writing Selinux policy</b></div>
<div>Writing the SELINUX policy is complicated</div>
<div>click <b><a href="http://www.lurking-grue.org/writingselinuxpolicyHOWTO.html">here</a></b> to see the detail of how to write the selinux policy</div>
<div></div>
<div><b>Disable/Enable SELINUX</b></div>
<div>The SELINUX is enable by default in RHEL, Centos, FC, use the following command line to disable it</div>
<div><i>~# setenforce 0</i></div>
<div><span class="Apple-style-span" style="color:#3366FF;"><b>This is affected only when the system is turning on, when you reboot the system, SELINUX is set to be enable again. Modify the configuration file of SELINUX to permenant disable it.</b></span></div>
<div><b><i>~# vi /etc/selinux/config</i></b></div>
<div><b><i>SELINUX=permissive</i></b></div>
<div></div>
<p></span></b></div>
<div><a href="https://chitika.com/publishers.php?refid=csokoun" style="text-decoration:none;" title="Get Chitika &#124; Premium"><img src="http://scripts.chitika.net/eminimalls/logos/468x60.png" title="Get Chitika &#124; Premium" /></a></div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Living with SE Linux]]></title>
<link>http://n8wood.wordpress.com/2009/07/31/living-with-se-linux/</link>
<pubDate>Fri, 31 Jul 2009 15:27:15 +0000</pubDate>
<dc:creator>n8wood</dc:creator>
<guid>http://n8wood.wordpress.com/2009/07/31/living-with-se-linux/</guid>
<description><![CDATA[SE Linux causes alot of headaches for me because I don&#8217;t truly understand how it works. But in]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>SE Linux causes alot of headaches for me because I don&#8217;t truly understand how it works. But instead of disabling it at the first sign of trouble this week, I got some more info on troubleshooting and tweaking the policy.</p>
<p>I had compiled my own Bind RPMs to address the latest DoS issue. I&#8217;m running version 9.5 since it supports the &#8220;allow-query-cache&#8221; option and RHEL 5 only provides version 9.3. So after I installed my own RPM, of course SE Linux was preventing named from starting. This is how I fixed it:</p>
<p>Check the audit.log for AVC messages:</p>
<pre># cat /var/log/audit/audit.log &#124;grep 'avc:' &#62; /tmp/se.txt</pre>
<p>edit the text file to include only the SE issues you want to address:</p>
<pre># vi /tmp/se.txt</pre>
<p>create a policy module:</p>
<pre># cat /tmp/se.txt &#124; audit2allow -M local</pre>
<p>load the module:</p>
<pre># semodule -i local.pp</pre>
<p>That&#8217;s all it took to get Bind working for me.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Using SELinux with NetWorker]]></title>
<link>http://nsrd.wordpress.com/2009/07/24/using-selinux-with-networker/</link>
<pubDate>Thu, 23 Jul 2009 19:54:56 +0000</pubDate>
<dc:creator>Preston</dc:creator>
<guid>http://nsrd.wordpress.com/2009/07/24/using-selinux-with-networker/</guid>
<description><![CDATA[I&#8217;m not all that conversant with SELinux, and for the most part, disable it on systems that I ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I&#8217;m not all that conversant with SELinux, and <em>for the most part</em>, disable it on systems that I configure simply because these days 99% of the systems I configure are within a lab and already heavily firewalled. When NetWorker 7.5 came out and the release notes explicitly stated that SELinux was not supported, it seemed inevitable that my involvement with SELinux would continue to decrease.</p>
<p>When SELinux was recently discussed on the NetWorker mailing list, I responded citing the release notes indicating it wasn&#8217;t supported. I was therefore surprised to discover there was a workaround. Responding to the thread, Rich Graves posted the following SELinux adjustments that are necessary to get NetWorker and SELinux working together. I present them unaltered, but can attest to having confirmed they do indeed work. Here&#8217;s what Rich had to say:</p>
<blockquote><p>This has worked for me for about a year, on both client and server. The textrel_shlib change is fairly common for proprietary binaries.</p>
<p>semanage fcontext -a -t textrel_shlib_t &#8220;/usr/lib/nsr(/.*)?&#8221;<br />
semanage fcontext -a -t var_log_t &#8220;/nsr/logs(/.*)?&#8221;<br />
restorecon -R /usr/lib/nsr<br />
restorecon -R /nsr/logs</p>
<p>Another approach for the logs is to edit syslog.conf and drop them in /var/log instead of /nsr/logs.</p></blockquote>
<p>If you&#8217;re needing to work with NetWorker and SELinux, hopefully the above tips will help.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Error 403: Forbidden en Apache y Fedora 11]]></title>
<link>http://gonetil.wordpress.com/2009/07/08/error-403-forbidden-en-apache-y-fedora-11/</link>
<pubDate>Wed, 08 Jul 2009 13:26:27 +0000</pubDate>
<dc:creator>gonetil</dc:creator>
<guid>http://gonetil.wordpress.com/2009/07/08/error-403-forbidden-en-apache-y-fedora-11/</guid>
<description><![CDATA[He migrado de Ubuntu a Fedora (muchos pros, muchas contras&#8230; ya escribire al respecto) y me he ]]></description>
<content:encoded><![CDATA[He migrado de Ubuntu a Fedora (muchos pros, muchas contras&#8230; ya escribire al respecto) y me he ]]></content:encoded>
</item>
<item>
<title><![CDATA[Big Thanks To The SELinux Team]]></title>
<link>http://californiaquantum.wordpress.com/2009/06/30/big-thanks-to-the-selinux-team/</link>
<pubDate>Tue, 30 Jun 2009 05:00:30 +0000</pubDate>
<dc:creator>Joseph Smidt</dc:creator>
<guid>http://californiaquantum.wordpress.com/2009/06/30/big-thanks-to-the-selinux-team/</guid>
<description><![CDATA[I started using Fedora back in the Fedora 8 days.  I&#8217;ve always tried to run SELinux in enforci]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I started using Fedora back in the Fedora 8 days.  I&#8217;ve always tried to run SELinux in enforcing mode and back in the Fedora 8-9 days that seemed to mean I&#8217;d have some SELinux issue every few days.  It wasn&#8217;t a big deal, but it was annoying and very tempting to turn it off completely.</p>
<p>Starting with Fedora 10, at least for me, the SELinux hiccups seemed to only happen every few weeks and I was very impressed with the improvement.</p>
<p>I&#8217;ve now been running Fedora 11 for three weeks and haven&#8217;t had a single SELinux issue at all.  Maybe I am unique, but from what I can tell SELinux with Fedora 11 no longer has any annoying issues while running in enforcing mode.</p>
<p>Thanks a lot SELinux team!  I now feel a great degree of security without a hint of discomfort.</p>
</div>]]></content:encoded>
</item>

</channel>
</rss>
