LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 06-23-2006, 02:13 PM   #1
drokmed
Member
 
Registered: Dec 2005
Location: St Petersburg, FL, USA
Posts: 220

Rep: Reputation: 31
Need secure OS for squid+dansguardian firewall


Hi all,

I'm planning on building my first secure firewall, and can't seem to make up my mind on the OS. I like RedHat and SuSE, but I tried OpenBSD a few years ago and really liked it too.

The firewall will be on an older pc:
p3 550Mhz, 256MB RAM, 6GB HD, 2 nic's, no X

I'm going to install:
- firewall (ssh2 open using auth keys)
- NAT
- DHCP server
- squid
- DansGuardian - w/ anti-virus support
- SARG - squid reporting tool (accessible only from green LAN)

I need a secure OS, but ease of upgradability is huge too. Automation is desirable, but only if safe.

A recent book for hardening linux for the above usage would be a god send!

I'm going to manually learn each of these packages, giving myself a couple months to do it (can dedicate alot of time at work too). Any and all suggestions greatly appreciated!

Thanks!

Daryl
 
Old 06-23-2006, 02:51 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by drokmed
Hi all,

I'm planning on building my first secure firewall, and can't seem to make up my mind on the OS. I like RedHat and SuSE, but I tried OpenBSD a few years ago and really liked it too.

The firewall will be on an older pc:
p3 550Mhz, 256MB RAM, 6GB HD, 2 nic's, no X

I'm going to install:
- firewall (ssh2 open using auth keys)
- NAT
- DHCP server
- squid
- DansGuardian - w/ anti-virus support
- SARG - squid reporting tool (accessible only from green LAN)

I need a secure OS, but ease of upgradability is huge too. Automation is desirable, but only if safe.

A recent book for hardening linux for the above usage would be a god send!

I'm going to manually learn each of these packages, giving myself a couple months to do it (can dedicate alot of time at work too). Any and all suggestions greatly appreciated!

Thanks!

Daryl
well, if you already tried openbsd and you liked it, then why not go with that??

as for the gnu/linux OS, pretty much any distribution can do all the things you listed... the security mostly depends on you, the system administrator... i would recommend slackware, but it's completely subjective and others will suggest other distros... you can use whatever distro you want, really... just pick whichever you like the most...
 
Old 06-23-2006, 03:14 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
I don't think that SuSE would be the best in this case. Even installing just the base system is over 1GB.
Also, while YaST simplifies administration, and can be run in a shell, the configuration scripts can be a bit hard to follow if you want to configure things manually.

There is a book called "Hardening Linux" another called "Linux Server Security".
Also, on the www.tldp.org website is a 800 page book on Securing and Optimizing Linux. This document is very comprehensive. It is biased towards Fedora Core. If you decide that this publication is ideal for your purpose, you may decide to go with Fedora to make things easier.

I would go with one of the more mainstream distro's that has a good security update record. It will be easier than having to track announcements and download and apply patches yourself.

There is a book titled "Automating Unix and Linux Administration" that you may find helpful. Although it may be more useful if you are managing several hosts. The author is biased towards using cfengine. He covers using tripwire.

I responded to a similar post recently. Since you are installing a bastion host, most software and services will not be installed. Even the gcc compiler is commonly removed after the host is setup. Since so much isn't being installed, there isn't much left to distinguish one distro from the other. In this case, I would recommend going with what you are most comfortable with.


Make sure that you secure ssh.

Good Luck

Last edited by jschiwal; 06-23-2006 at 03:58 PM.
 
Old 06-23-2006, 03:22 PM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
oh, and make sure you check-out the resources linked in this thread:

http://www.linuxquestions.org/questi...ad.php?t=45261

(that thread is actually sticked at the top of the security forum...)
 
Old 06-23-2006, 03:29 PM   #5
drokmed
Member
 
Registered: Dec 2005
Location: St Petersburg, FL, USA
Posts: 220

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by jschiwal
I don't think that SuSE would be the best in this case. Even installing just the base system is over 1GB.
Also, while YaST simplifies administration, and can be run in a shell, the configuration scripts can be a bit hard to follow.
I agree with you on this. I actually prefer SuSE as my desktop (and laptop), but agree it's probably not my best choice for a slimmed down server OS.

Quote:
Originally Posted by jschiwal
There is a book called "Hardening Linux" another called "Linux Server Security".
Also, on the www.tldp.org website is a 800 page book on Securing and Optimizing Linux. This document is very comprehensive. It is biased towards Fedora Core. If you decide that this publication is ideal for you purpose, you may decide to go with Fedora to make things easier.
Only 800 pages? A nice weekend project

Quote:
Originally Posted by jschiwal
I would go with one of the more mainstream distro's that has a good security update record. It will be easier than having to track announcements and download and apply patches yourself.
This is the point I'm at now, and need the most help with. I'm not that familiar with the latest of each major distribution. I dabbled with Debian and Ubuntu awhile back, as well as others, but haven't tried them lately.

Quote:
Originally Posted by jschiwal
There is a book titled "Automating Unix and Linux Administration" that you may find helpful. Although it may be more useful if you are managing several hosts. The author is biased towards using cfengine. He covers using tripwire.
Time for yet another trip to the bookstore!

Quote:
Originally Posted by jschiwal
Make sure that you secure ssh.
Definitely... thanks!
 
Old 06-23-2006, 03:38 PM   #6
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
you can get a sneak-peek of chapter 6 here:

http://www.apress.com/ApressCorporat...92123-1366.pdf
 
Old 06-23-2006, 03:43 PM   #7
drokmed
Member
 
Registered: Dec 2005
Location: St Petersburg, FL, USA
Posts: 220

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by win32sux
you can get a sneak-peek of chapter 6 here:

http://www.apress.com/ApressCorporat...92123-1366.pdf
Checking 'em out now... thanks
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dansguardian + squid shafey Linux - Security 2 12-31-2005 11:42 AM
squid and dansguardian on MDK 10.2 Trio3b Mandriva 1 12-27-2005 04:20 PM
Dansguardian/Squid HELP! Prizam Linux - Software 3 09-23-2005 06:30 PM
iptables, DansGuardian, and Squid. cth3 Linux - Networking 1 02-10-2005 09:04 AM
DansGuardian, Squid, and Firewall rules jwgeurk Linux - Networking 7 06-18-2004 02:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 11:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration