Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Servers > Choosing the right distribution for a very secure webserver

Forgot Password?
 Servers   Anything server related, Apache, MySQL, Samba, server security, sendmail, exim, etc

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 10-06-2008   #1 (permalink)
Just Joined!
 
Join Date: Oct 2008
Location: Argentina
Posts: 3
Question Choosing the right distribution for a very secure webserver

Hi everybody,

I want to build up a small but very secure "production-style" webserver box. My idea is to start with an old computer (say a PII or the like) and put a very solid, stable and reliable server on a similarly solid OS platform. Which server I know for certain: Apache Tomcat. The problem is with the OS... I'm pretty sure that there must be some linux flavor that fullfils the task perfectly. But the question is... which one?

I need your comments! If you point this or that distribution, please explain WHY you'd recomment it.

Thanks in advance!
yours,

shandrio
shandrio is offline  


Reply With Quote
Old 10-06-2008   #2 (permalink)
Content Team
 
L4Linux's Avatar
 
Join Date: Sep 2008
Location: Greece
Posts: 577
Welcome to the forums!
All major distributions are safe and solid and in most cases it is very easy to install apache,mysql, php,etc. Have you used Linux before?
You could also go for BSD, its developers are suppossed to be more "paranoid"(in the good sense of the word) than the ones of Linux. The con to BSD though is that it has fewer users, so it will probably be more difficult to get help for any issue you 'll face.
L4Linux is offline   Reply With Quote
Old 10-07-2008   #3 (permalink)
Linux User
 
Join Date: Oct 2006
Location: arizona
Posts: 393
The problem with security, is that you are always going to be taking someone elses word for it. If you want to be REALLY secure, look into linux from scratch. you can audit all source code (though all GNU software, as well as apache (and some others, the openBSD stuff like openSSH is well known to be secure) is usualy taken as secure.)

But this takes alot of work. If your looking for an easy route, i'd go with CentOS, and monitor RHEL for any security warnings, and adjust as proper. But any secure program can be completely undone by an ignorant admin, so make sure to think in a security mindset at all times.
__________________
New to the internet, technical forums, or the hacker / open source community??
Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

RHCT for RHEL version 4
echo "$whatever_youre_saying" > /dev/null
meton_magis is offline   Reply With Quote
Old 10-07-2008   #4 (permalink)
Just Joined!
 
Join Date: Oct 2008
Location: Argentina
Posts: 3
Quote:
Originally Posted by L4Linux View Post
Welcome to the forums!
All major distributions are safe and solid and in most cases it is very easy to install apache,mysql, php,etc. Have you used Linux before?
You could also go for BSD, its developers are suppossed to be more "paranoid"(in the good sense of the word) than the ones of Linux. The con to BSD though is that it has fewer users, so it will probably be more difficult to get help for any issue you 'll face.
Thank you! And yes, I've been using linux for quite some long. I started with Redhat 5 through 8, later Mandrake and now I'm trying the new boom: Ubuntu. I like what you say about "paranoid" programmers of BSD. I'm quite one myself! What about security updates? Is BSD always up-to-date?

Quote:
Originally Posted by meton_magis View Post
The problem with security, is that you are always going to be taking someone elses word for it. If you want to be REALLY secure, look into linux from scratch. you can audit all source code (though all GNU software, as well as apache (and some others, the openBSD stuff like openSSH is well known to be secure) is usualy taken as secure.)

But this takes alot of work. If your looking for an easy route, i'd go with CentOS, and monitor RHEL for any security warnings, and adjust as proper. But any secure program can be completely undone by an ignorant admin, so make sure to think in a security mindset at all times.
Auditing Linux code seems like something "extreme" to me. I remember I once downloaded the source code of the kernel and just tried to read some for the fun of it. Oh my god... I never thought that C could actualy even be written that way! haha Forget about that. Perhaps I'd dare look into some most-probably-unsecure rutines of some HTTP connection code looking for probable buffer overflows or the like. But once again... is it worth the effort? Probably you'll always end, like you correctly said, just having to trust in somebody else's words.

I've never heard of CentOS nor RHEL, so I have some homework to do... find out more about them.
Finaly, I agree completly with your last statement. You could eventualy have an almost-prefectly secure system... but if you administer it badly, It's all worth nothing!

Thank you both for your feedback!
shandrio is offline   Reply With Quote
Old 10-07-2008   #5 (permalink)
Linux Enthusiast
 
Join Date: Mar 2008
Posts: 583
Well, in order to evaluate something on security you have to look at where the most break ins occur. And in the world of GNU/Linux and *BSD, it is very rarely a hole in the core system that gets exploited.

It is stuff like stupid obvious passwords, widely opened PHP scripts or insane file permissions that get boxes rooted on a daily basis.

I've been using Debian Stable on my servers for years. They deliver security updates in a timely manner and the software is configured to sane defaults. But this all didn't help me if I were to do ONE single stupidity, like installing PHP scripts somebody anonymous had written.

You may shake your head now, but go to some random defacement site to see how independent of the OS the statistic is. (The market share of server's OS taken into account, of course )
__________________
Debian GNU/Linux -- You know you want it.
GNU-Fan is offline   Reply With Quote
Old 10-07-2008   #6 (permalink)
Content Team
 
L4Linux's Avatar
 
Join Date: Sep 2008
Location: Greece
Posts: 577
RHEL is Red Hat Enterprise Linux. CentOS is a recompile of RHEL, basically RHEL without the brand name of Red Hat and its support.
L4Linux is offline   Reply With Quote
Old 10-10-2008   #7 (permalink)
Just Joined!
 
Join Date: Oct 2008
Location: Argentina
Posts: 3
Thanks GNU-Fan for your recomendation!

and L4Linux... I've used RHL for quite some time. I can't belive I didn't realize the acronym!
RHEL is surely out of my reach since I don't have that much money to spend... but I'll sure investigate more about CentOS. It seems quite interesting. What about the updates? does no support mean no updates too?
shandrio is offline   Reply With Quote
Old 10-10-2008   #8 (permalink)
Super Moderator
 
ozar's Avatar
 
Join Date: May 2004
Posts: 12,025
Quote:
Originally Posted by shandrio View Post
What about the updates? does no support mean no updates too?
You get updates, just no paid support channel.
__________________
oz

New Members: * README *
ozar is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 11:00 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2