LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-01-2006, 12:38 AM   #1
xtp183
LQ Newbie
 
Registered: Apr 2006
Posts: 4

Rep: Reputation: 0
Smile Please tell me how many linux boxen I need for this setup :)


Hi all,

I hope there are some users who are familiar with the following daemons I'm wanting to incorperate into my network:

-OpenSSH
-SQUID
-iptables
-SNARE
-Snort
-Nessus

The question is how many linux boxen will I need to run all these programs at optimal efficiency?

SQUID and iptables will be in separate boxen, but I'm just not clear on whether I can jam the others in without comprimising something.

Please help,
Thanks!
 
Old 04-01-2006, 05:28 PM   #2
michaelsanford
Member
 
Registered: Feb 2005
Location: Ottawa/Montréal
Distribution: Slackware + Darwin (MacOS X)
Posts: 468

Rep: Reputation: 30
Impopssible to answer without some idea of the kind of traffic you expect (mostly because of squid).

What kind of setup do you have? Why do you think want to put the firewall (iptables) on a separate box from ssh and nessus?
 
Old 04-02-2006, 03:56 AM   #3
gloomy
Member
 
Registered: Jan 2006
Location: Finland
Distribution: Mainly Gentoo
Posts: 119

Rep: Reputation: 15
Everyone of those services run on a single linux machine. If that is what you want.
 
Old 04-02-2006, 06:24 AM   #4
xtp183
LQ Newbie
 
Registered: Apr 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Well, traffic for Squid will be low (<5 users), though besides from any boosts I may recieve from the cache, I'm looking forward towards the proxying.

So would iptables, Nessus, and SSH all run efficiently on the same box? I was planning on having two linux boxen for these daemons, so if I could run iptables, Nessus, and SSH on one, and Snare, Snort, and Squid on the other that would be great.
 
Old 04-02-2006, 06:59 AM   #5
gloomy
Member
 
Registered: Jan 2006
Location: Finland
Distribution: Mainly Gentoo
Posts: 119

Rep: Reputation: 15
Well, I guess you are quite right with Squid - it is perhaps the most heaviest from the above services.

Haven't ever used Nessus, or had the need for it, but SSH does not take much and iptables are very light, even if one is going to use all the available options that come with the kernel. Anyhow you probably need iptables for routing purposes etc. on each one of your machines.

But naturally everything depends on the performance of your machines themselves.

Personally I would also consider more the outline of your network.

But I guess the answer to your question is yes.
 
Old 04-02-2006, 08:05 AM   #6
xtp183
LQ Newbie
 
Registered: Apr 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Great!

So the proposed layout is this:

============================================================
--------------------------------------------------------------------------------------------------
-- Internet --<><>-- 'server#1' --<><>-- 'server#2' --<><>-- router --<><>-- 'clients' --
--------------------------------------------------------------------------------------------------
...............................#iptables................#Nessus.......................................................
...............................#openSSH..............#SQUID........................................................
...............................#snort...................#SNARE........................................................
============================================================

Is it looking good? :^)

P.S. I hope the diagram is displayed correctly for everyone. x_x

Last edited by xtp183; 04-02-2006 at 08:23 AM.
 
Old 04-02-2006, 01:15 PM   #7
michaelsanford
Member
 
Registered: Feb 2005
Location: Ottawa/Montréal
Distribution: Slackware + Darwin (MacOS X)
Posts: 468

Rep: Reputation: 30
You only expect 5 users for SQUID? What kind of traffic? We we saying that those 5 users will bw browsing the web, checking email, getting some patch files, or downloading 20 ISOs a day?

If it's the first, put it all on one (fast) box! If you buy (for example) a 2 GHz with 2 GB RAM Athlon64 for server 1 you'll be wasting 99% of the server.

iptables is a firewall/routing (through MASQ) tool. For simple routing rules it takes negligible overhead. SSH also uses negligible overhead if properly configured. Nessus, I presume, will run security audits periodically, so it can be on any box (i.e., also the same server).

The heaviest app by far is SQUID but like I said, for <5 users it may make little difference.
 
Old 04-02-2006, 10:42 PM   #8
xtp183
LQ Newbie
 
Registered: Apr 2006
Posts: 4

Original Poster
Rep: Reputation: 0
The two computers are going to be hand-me-downs, so I'm not really concerned about wasting their cpu cycles - perhaps I might consider F@H on them to counter this :p. The computer with the most ram, and fastest hard-drive will be the one with SQUID running on it. In the future, I might just upgrade the SQUID server to use some i-RAM for storage, if it needs be :D.

So if there isn't any thing wrong with the proposed setup, I guess my question has been answered :).
 
Old 04-03-2006, 07:20 AM   #9
gloomy
Member
 
Registered: Jan 2006
Location: Finland
Distribution: Mainly Gentoo
Posts: 119

Rep: Reputation: 15
No, the layout looks fine to my eyes likewise the table you drew .

Nevertheless, depending on the performance of the servers, I might consider putting all those services on a single server, as there is hardly anything to gain from routing through two servers solely because of the services per se.

Yet, my own setup looks rather similar - the server #1 (amd k6-2, 550mhz, 256mb ram) acts efficiently as a server (firewall via iptables, SSH, snort and squid), while the other machine just routes the traffic for clients.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
SNMP, MRTG and Debian linux boxen SyxPak Linux - Networking 1 07-15-2004 04:59 PM
Three security flaws could be used by an ordinary users to access Linux boxen witeshark Linux - Security 1 02-20-2004 01:45 AM
How to backspace when connected to solaris boxen jackpal Solaris / OpenSolaris 1 10-10-2003 12:45 PM
Your opinion on new or old boxen Whitehat General 6 08-23-2003 10:14 PM
One Floppy Not Useable By 2 Different Slack 8.1 Boxen Texicle Linux - General 3 04-10-2003 05:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:38 PM.

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