Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-13-2006, 06:32 AM
|
#1
|
LQ Newbie
Registered: Feb 2006
Posts: 3
Rep:
|
general
how to harden web server
|
|
|
02-13-2006, 06:41 AM
|
#2
|
Senior Member
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450
Rep:
|
Good way to ask a question so broad it is impossible to answer. Could you narrow it down a little? I know you want it to be "general" but this is far too "general" to be useful.
|
|
|
02-13-2006, 07:17 AM
|
#3
|
Member
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700
Rep:
|
First of all, read this. That'll help you in the long run.
Then, you say you want a secure web server? Get Apache 3.3.34, which currently has just one vulnerability. Run it on Linux and lock that down tightly - read up on the major threads in the Linux - Security forum and check out the tutorials on AntiOnline. Stop any unwanted services and filter all opened ports with a good firewall. Run an IDS, like Snort. Test your own system with vulnerability scanners and the like before taking the server live.
Now you should have a pretty tough server.
Cheers,
-jk
Ps. Welcome to LQ!!
|
|
|
02-13-2006, 08:31 AM
|
#4
|
Senior Member
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672
Rep:
|
Put it behind a hardened firewall box, perhaps. Open the minimum of ports. Keep the packages on the web server up to date, ie latest apache all the time and whatever other apps you are running.
|
|
|
02-13-2006, 09:01 AM
|
#5
|
Senior Member
Registered: Sep 2005
Location: Out
Posts: 3,307
Rep:
|
And use tripwire/samhain/.. integrity checkers.
Very important
|
|
|
02-14-2006, 06:06 AM
|
#6
|
Moderator
Registered: May 2001
Posts: 29,415
|
...if you can't place the advice above in perspective, please check out the LQ FAQ: Security references: Checklists, Securing and Hardening.
|
|
|
All times are GMT -5. The time now is 11:22 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|