Skip to contentSkip to conversation

Opinions on installing SeLinux on different distros

DISCUSSION Douglas Phillipson 3 participants 3 messages Mar 20, 2003 – Mar 21, 2003 SELinux security module

lore
Share & tools
lore
#0 lore raw

I have been monitoring this list for a few months and as a SELinux newby I have a few questions for those that have braved the attempt to use SELinux. I hope to use it myself in the DOE community shortly.

1) I see lots of problems with SELinux, by the posts I read. Is there any release version, by number, with known problems for each release. Or is this just a evolving "Thing" where bugs are fixed and new capability is added on the fly?

2) Is it best to start from non-distro raw kernel source or is patching one of the major distros, redhat, Suse, Mandrake, Debian compatible, better.

3) Are there recommended distros and or kernel versions to use SELinux with? Perhaps a FAQ for each supported Distro or version of kernel?

4) Has anyone compiled a installation procedure that was successful for their distro that you could share with others? Perhaps even a list of "gotchas" to avoid.

5) Has anyone had SELinux approved for use in a classified network? If so do you have a security plan I could look at?

6) Does there exist a "White Paper" on SeLinux's security features/enhancements.

7) Does SeLinux add and "C2" auditing functionality.

8) I understand that the "Secure Computing" corporation had a hand in this. Do they have a commercial version available or one planned?

Comment: I think the Debian method of "release when it's ready" and a "Stable", "Testing" and "Unstable" release system would be a good fit here. Any opinions or plans on this?

Thanks, I am looking forward to trying it but don't want to re-invent the wheel here.

Doug P

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw
Quoted 8 lines · Douglas Phillipson

I have been monitoring this list for a few months and as a SELinux newby I have a few questions for those that have braved the attempt to use SELinux. I hope to use it myself in the DOE community shortly.

1) I see lots of problems with SELinux, by the posts I read. Is there any release version, by number, with known problems for each release. Or is this just a evolving "Thing" where bugs are fixed and new capability is added on the fly?

The NSA SELinux team fixes bugs as they arise, ports to new kernel version and new application level utilities, and releases whatever is ready for release in website updates every month or two. The core SELinux development is done as part of research and "customer support" isn't part of that mission. That said, we try to respond as much as we're able to problems and have been IMNSHO pretty responsive.

Quoted 2 lines

2) Is it best to start from non-distro raw kernel source or is patching one of the major distros, redhat, Suse, Mandrake, Debian compatible, better.

SELinux is a combination of a Linux kernel patch with most of the enhanced core functionality, a series of application/utility patches to provide key support in some areas (e.g., assigning users to roles at login) and an example system policy.

Typically, an SELinux installation would completely replace the kernel for a distribution with an SELinux modified kernel, replace appropriate applications/utilities with patched versions and construct a policy specific to the local system. Since each distribution chooses a different collection of utilities to include, the appropriate utilities for a given distribution may not have SELinux patches. The SELinux development team at NSA uses Red Hat, and so that is often the easiest distribution to update with SELinux. It is also the one that the instruction in the README assume you are using. The provided example policy is designed to work with Red Hat linux, although your specific policy needs may vary.

Russell Coker has done much excellent work in bringing SELinux to Debian, and provides the appropriate set of patched applications (which are very close to the Red Hat applications) and a Debian specific example policy. Again, you'll probably need to modify the policy to meet your specific needs. Carsten Grohmann has done some work on SuSE policy changes.Other SELinux specific distributions have been mentioned in the past, but I'm not certain about the current availability of any of them. See http://selinux.sourceforge.net/distros.

Quoted 2 lines

3) Are there recommended distros and or kernel versions to use SELinux with? Perhaps a FAQ for each supported Distro or version of kernel?

I won't recommend any specific distribution, but the SELinux development team at NSA uses Red Hat as I said above, and thus the instructions we provide in how to install SELinux are based on that.

Quoted 3 lines

4) Has anyone compiled a installation procedure that was successful for their distro that you could share with others? Perhaps even a list of "gotchas" to avoid.

See the README in the SELinux distribution on the NSA web site
http://www.nsa.gov/selinux/ for Red Hat instructions. I'm sure Russell could provide Debian instructions.

Quoted 5 lines

5) Has anyone had SELinux approved for use in a classified network? If so do you have a security plan I could look at?

6) Does there exist a "White Paper" on SeLinux's security features/enhancements.

There is extensive documentation at http://www.nsa.gov/selinux/ under both "Documentation" and "Background"

Quoted 1 line

7) Does SeLinux add and "C2" auditing functionality.

No. Please see http://www.nsa.gov/selinux/faq.html#I12

Quoted 2 lines

8) I understand that the "Secure Computing" corporation had a hand in this. Do they have a commercial version available or one planned?

I'm not aware of any currently available commercial version of SELinux.

Signature · 9 lines
Howard Holm <[email protected]>
Secure Systems Research Office
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#2 lore raw
Quoted 5 lines · Howard Holm

Russell Coker has done much excellent work in bringing SELinux to Debian, and provides the appropriate set of patched applications (which are very close to the Red Hat applications) and a Debian specific example policy. Again, you'll probably need to modify the policy to meet your specific needs.

Thanks for the nice reference.

My work on SE Debian is aimed at making it an integral part of the OS. So basic functionality of the OS such as package upgrades on a running server will still work. I believe that if you prevent usual operation of the system then you reduce security by limiting the number of machines that can run SE Linux, and by preventing the administrator from performing important tasks such as prompt application of patches.

The aim is that you should be able to install Debian with SE Linux and for the base functionality and commonly used programs it should all just work with minimal changes.

When changes to policy are required I am very interested in merging any policy contributed by users.

Quoted 3 lines

See the README in the SELinux distribution on the NSA web site
http://www.nsa.gov/selinux/ for Red Hat instructions. I'm sure Russell could provide Debian instructions.

My web site http://www.coker.com.au/selinux/ provides some basic info, but I've been too busy coding to do much.

Faye's document is mostly focussed on Debian. Go to
http://sourceforge.net/projects/selinux , go to the "Docs" section and Faye's document is the first entry.

Quoted 4 lines
Quoted 2 lines

8) I understand that the "Secure Computing" corporation had a hand in this. Do they have a commercial version available or one planned?

I'm not aware of any currently available commercial version of SELinux.

Some commercial distributions have been looking into the issue. However since the dot-com crash no-one has wanted to do any speculative development. If a big customer was to approach a commercial distribution with a demand for SE Linux support then maybe something could be arranged.

Signature · 10 lines
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.