Results 1 to 10 of 10

Thread: SELinux, SSP, etc. on Ubuntu. Info Please.

  1. #1
    Join Date
    Jan 2008
    Location
    USA
    Beans
    971
    Distro
    Ubuntu 12.04 Precise Pangolin

    SELinux, SSP, etc. on Ubuntu. Info Please.

    I am coming from Fedora and have switched to Kubuntu. I was wondering if Ubuntu has any plans to compile its packages the way Fedora does -- with SSP, FORTIFY_SOURCE, fstack-protector, etc.. How about Exec-Shield or PaX? Some of these hardening features are now built into GCC, thus it is only a matter of utilizing and testing them. I read on the Ubuntu wiki that such a plan is in place, but I have no idea if it ever got off the ground. Can anyone fill me in? Perhaps Ubuntu is already doing some of this?

    My second question pertains to SELinux. Even though Ubuntu provides an option to install SELinux, there is absolutely no documentation pertaining to it, which is a shame. About the only documentation I found describes how to install it. Nothing about policies, troubleshooting, etc.. What exactly is the Ubuntu ref policy? Is it the same as the "targeted" policy?

  2. #2
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: SELinux, SSP, etc. on Ubuntu. Info Please.

    Ubuntu uses Appamour instead of Selinux, have a look at this sticky.

  3. #3
    Join Date
    Jan 2008
    Location
    USA
    Beans
    971
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: SELinux, SSP, etc. on Ubuntu. Info Please.

    Quote Originally Posted by cariboo907 View Post
    Ubuntu uses Appamour instead of Selinux, have a look at this sticky.
    But Selinux can indeed be used as per :

    https://wiki.ubuntu.com/SELinux

    https://help.ubuntu.com/community/SELinux

    I am just wondering if there is any other documentation anywhere besides the above links which do nothing but explain how to install it.

  4. #4
    Join Date
    Oct 2005
    Location
    Lab, Slovakia
    Beans
    10,791

    Re: SELinux, SSP, etc. on Ubuntu. Info Please.

    If you want to use SELinux, install Redhat or CentOS.

  5. #5
    Join Date
    Jan 2008
    Location
    USA
    Beans
    971
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: SELinux, SSP, etc. on Ubuntu. Info Please.

    Quote Originally Posted by HermanAB View Post
    If you want to use SELinux, install Redhat or CentOS.
    As I said in my initial post, I am coming from Fedora and do not wish to go back (for reasons unrelated to this). So, Red Hat/Fedora is not a possibility. If Selinux is not recommened, that's fine, I was just wondering if there was any documentation on it (because Selinux can be used as I proved with the links in my previous post).

    And does anyone know about Ubuntu's plans to implement SSP, fstack-protector, FORTIFY_SOURCE, etc..? Or Exec-Shield or PaX? Google turns up a lot of "brain storming" posts about this, but I am unsure of the status of these hardened projects.

  6. #6
    Join Date
    Oct 2005
    Location
    Lab, Slovakia
    Beans
    10,791

    Re: SELinux, SSP, etc. on Ubuntu. Info Please.

    The only distribution house that supports SELinux is Redhat.

  7. #7
    Join Date
    Jan 2008
    Location
    USA
    Beans
    971
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: SELinux, SSP, etc. on Ubuntu. Info Please.

    Quote Originally Posted by HermanAB View Post
    The only distribution house that supports SELinux is Redhat.
    Then, what's this all about:


    https://wiki.ubuntu.com/SELinux

    and this:

    https://help.ubuntu.com/community/SELinux

    And Red Hat is not the only distribution that supports Selinux. Gentoo supports it (I know because I used Gentoo). Debian supports it. Fedora (part of Red Hat) supports it. And according to Wikipedia, Ubuntu as of 8.04 supports it.

  8. #8
    Join Date
    May 2009
    Beans
    Hidden!
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: SELinux, SSP, etc. on Ubuntu. Info Please.

    So how is apparmor compared to SELinux in terms of security?

  9. #9
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: SELinux, SSP, etc. on Ubuntu. Info Please.

    HAve a look at this page for a comparison of Apparmour and Selinux

  10. #10
    Join Date
    Feb 2008
    Beans
    606
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: SELinux, SSP, etc. on Ubuntu. Info Please.

    Quote Originally Posted by Jestersage View Post
    So how is apparmor compared to SELinux in terms of security?
    Basically apparmor is simpler but less secure: in particular, since it's pathname-based, renaming the executable eliminates any protection you previously had.

    But for 90% of users it's perfectly adequate.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •