Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 25th September 2005, 04:26 AM
magnublm Offline
Registered User
 
Join Date: Aug 2005
Location: North America
Posts: 34
How dangerous is it to *not* have SELinux enabled?

I come from a Windows world. I get paid to support NT servers, and have since 1994. My niche is anti-virus, unfortunately. I loathe and detest Windows*.* At home I have a Fedora server because Linux simply rocks. I do not, however, have SELinux enabled. Since this is Linux, anyway, and less prone to attacks and viruses than Windows, how (un)secure am I? (I don't have it enabled because when I did a yum update and updated it, after rebooting I get "Invalid lines ### in SELinux" when the system comes up; then I can't access the Internet at all. That's beside the point. Although I would like that fixed [But that's not for this post.]) How "secure" are Fedora boxes without SELinux enabled? Aren't most attacks aimed at the Windows world? Or am I ignorant? (I prefer "unlearned", in this case.) How do you have your server setup: with or without it? I know good hardware (firewalls, routers and proper rules) in front of your server(s) makes a difference, but put that aside for the moment and discuss with me how safe not having SELinux enabled is. Thanks.
__________________
***Registered Linux User #397338
***Fedora Core 3 Server, running WebCalendar, NetJuke, and Gallery at home for my family and friends
***Most importantly: "Ecky-ecky-ecky-ecky-pikang-zoop-boing-goodem-zoo-owli-zhiv ... NI!"

:)
Reply With Quote
  #2  
Old 25th September 2005, 05:30 AM
sailor's Avatar
sailor Offline
Registered User
 
Join Date: Mar 2004
Location: San Antonio, Texas
Age: 55
Posts: 3,996
I am not running a server so I always disable SELinux...it has issues with java and is a PITA to configure. For a home desktop I don't see the need for it. On a server it might be worth the extra security features.
A linux server is more secure for various reasons. As you said, there isn't many viri or exploits aimed at linux boxes. Linux uses a permissions system to guard access to critical funcitons.
Fedora has a firewall built in, so it a good idea to read up on iptables and sys administration to make sure that there are no holes. That done, I would think your server would still be quite secure.
__________________
sailor
Fedora 16, Mac OSX Snow Leopard, Windows 7
Registered linux user #362635
****************************************

Last edited by sailor; 25th September 2005 at 05:45 AM.
Reply With Quote
  #3  
Old 25th September 2005, 05:44 AM
SlowJet Offline
Registered User
 
Join Date: Jan 2005
Posts: 5,002
All my Luinuxes wear SELinux or they wear nothing at all.

Kids, do not be hardheaded. Use SELinux.
The NSA and Red Hat and IBM are using SELinux for a reason.

Desktop machines at the end user need it the most.
I am running FC5 development fully updated and all SELinux is on and working.
I have never had a crash.
FC4 fully updated as of now will run as smooth as glass.

SJ

P.S. SELinux has nothing to do with the Internet or file pemissions. Those are other layers of security older than the trees.
__________________
Do the Math
Reply With Quote
  #4  
Old 25th September 2005, 05:52 AM
sailor's Avatar
sailor Offline
Registered User
 
Join Date: Mar 2004
Location: San Antonio, Texas
Age: 55
Posts: 3,996
n NSA's words:
"The Security-enhanced Linux features are designed to enforce the separation of information based on confidentiality and integrity requirements. They are designed for preventing processes from reading data and programs, tampering with data and programs, bypassing application security mechanisms, executing untrustworthy programs, or interfering with other processes in violation of the system security policy. They also help to confine the potential damage that can be caused by malicious or flawed programs. They should ualso be useful for enabling a single system to be used by users with differing security authorizations to access multiple kinds of information with differing security requirements without compromising those security requirements."

It deals with varying security levels for different users, as well as protecting the system from
malicious programs, unsecure applications and preventing those applications from violating security policies. In a nutshell it is a more advanced implementation of permissions for both users and applications.
__________________
sailor
Fedora 16, Mac OSX Snow Leopard, Windows 7
Registered linux user #362635
****************************************

Last edited by sailor; 25th September 2005 at 06:13 AM.
Reply With Quote
  #5  
Old 25th September 2005, 09:31 AM
imdeemvp's Avatar
imdeemvp Offline
Registered User
 
Join Date: Feb 2004
Age: 44
Posts: 8,256
This is my opinion ONLY:

Since selinux came out and it was buggy from the start I dropped it! I can only handle testing so much beta in fedora and did not want ot bear the burden of selinux.

I've heard other users never having an issue and vice versa. If you want to use it is a matter of choice.
__________________
HELP with JAVA, MP3's, Wireless, Repo's, YUM, Partitions, System Monitors, Nvidia, ATI drivers, LIMEWIRE PRO & MORE!.

Easiest and most friendly desktop ever is PCLinuxOS! Includes all this apps. Just try it.

"The greater the struggle THE greater the achievment."

Do you know HIM?

If you are an idiot click here. NThis will test you linux skills :D
Reply With Quote
  #6  
Old 25th September 2005, 11:28 AM
Finalzone's Avatar
Finalzone Online
Community Manager
 
Join Date: Mar 2004
Location: Vancouver, Canada
Posts: 2,367
Quote:
Originally Posted by imdeemvp
This is my opinion ONLY:

Since selinux came out and it was buggy from the start I dropped it! I can only handle testing so much beta in fedora and did not want ot bear the burden of selinux.

I've heard other users never having an issue and vice versa. If you want to use it is a matter of choice.
The difference is FC2 uses Strict Policy which explain why many programs couldn't work. Since FC3, SELinux uses Targeted Policies so it restrict specific applications. Therefore, leaving SELinux won't impact desktop functionality.
__________________
Desktop CPU: AMD Phenom II(tm) X4 Processor 940 AM2+ - Memory: 8GB DDR2-RAM - GPU: Nvidia Geforce GTX 460 v2 - OS: Fedora 18 Spherical Cow x86-64 and Windows 7 Ultimate SP1 64-bit
Laptop Toshiba Satellite C650D - OS: Fedora 19 Schrödinger's Cat (preview release) x86-64 and Microsoft Windows 7 64-bit
Reply With Quote
  #7  
Old 25th September 2005, 08:17 PM
elliss Offline
Registered User
 
Join Date: May 2005
Location: Wales, UK
Posts: 127
The main function of the current default ("targetted") SELinux mode is really to reduce the severity of any exploits by restricting the ability of network services to access other parts of the system. If you run a public Website on an Apache server it has to be available to everybody on the Internet, so the firewall cannot block requests on port 80, even if they are from automated attack scripts. The SELinux policy on Fedora and RHEL 4 will prevent a compromised Apache service from tampering with anything other than the files that Apache normally has access to.

SELinux potentially has other uses, especially when combined with Xen and Stateless Linux, so it's important to have it integrated into the base system. Personally, I leave it switched on, and the only problem I've encountered is having to use the fixfiles utility after setting up shared directories in non-standard locations.
Reply With Quote
  #8  
Old 25th September 2005, 08:25 PM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 27
Posts: 7,909
Fedora without selinux is like the Titanic without it's sealable compartments. The ship was still strong without them, but the seperation was supposed to enable it to take on water in several compartments and still float.

In a similar way selinux isolates system services and other things from each other so that if one is compromised it can be isolated.

Note, however, that the Titanic sank. selinux is not bulletproof, and is no substitute for a firewall (analagous to the steel walls of the ship).
Reply With Quote
Reply

Tags
dangerous, enabled, selinux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Selinux, automount .iso with selinux enabled? leadgolem Security and Privacy 0 15th September 2007 01:37 AM


Current GMT-time: 14:45 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat