Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Usage of Gentoo as Server Project
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
macawgumbo
Apprentice
Apprentice


Joined: 28 May 2004
Posts: 165

PostPosted: Sat Oct 30, 2004 1:30 am    Post subject: Usage of Gentoo as Server Project Reply with quote

This is mainly a discussion about learning the ins and outs of using Gentoo in a server role along with the feasibility of full windows replacement for Gentoo as the sole networking/server authority.

How is Gentoo going to be used for authentication with Windows?
What about a domain controller?
How many servers would be needed to have a firewall, web server, mysql database, internal fileserver, internal authentication, mailserver, ftp, webmail, etc.? (on a superlow budget)

What kernel and security setups (kernel and software based) along with hardware should be discussed.
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Sat Oct 30, 2004 1:44 am    Post subject: Reply with quote

Well I have a webserver, email server, ftp server, web email system, mysql all running on a lowly Xbox running gentoox == $200 Canadian
Back to top
View user's profile Send private message
macawgumbo
Apprentice
Apprentice


Joined: 28 May 2004
Posts: 165

PostPosted: Sat Oct 30, 2004 2:10 am    Post subject: Reply with quote

Yes, but performance will be that of crap.
Back to top
View user's profile Send private message
maztaim
n00b
n00b


Joined: 07 Dec 2002
Posts: 10
Location: Pittsburgh, PA, USA

PostPosted: Sat Oct 30, 2004 2:45 am    Post subject: Theory of Relativity Reply with quote

macawgumbo wrote:
Yes, but performance will be that of crap.


That's your opinion. Performance is a relative term. This is best explained using the following simple equation:

P=d*p (or "Performance is directly proportional to the depth of your pockets")

My relatively measly P500 ($1000 at the time) has been happily serving my needs for the past 3 years. I don't need a huge cpu-happy, memory-bloated, bandwidth-hogging behemoth for the 10 or so people that share my server (besides, I don't have $10,000 to spend on what I really want).

$200 isn't bad for a small band of people to use. $200 will never handle slashdot-like traffic.

So now that we have that out of the way...

...what are your needs? Are you looking to serve hundreds of people a minute? Are you looking to server 5 to 30 people per day?
_________________
Taim
taim@coredump.org
Back to top
View user's profile Send private message
cazort
Guru
Guru


Joined: 19 Sep 2004
Posts: 343
Location: Lancaster, PA

PostPosted: Sat Oct 30, 2004 2:44 pm    Post subject: Reply with quote

Simply put, assuming you have a large amount of time to put in, gentoo offers the best performance for your $$$.

---

Your security depends a lot on whether this server is going to be out there on the net or in your office. Either way, I would recommend, instead of compiling a firewall into it (ie. iptables/netfilter), buy a hardware firewall: this is a cheap way of speeding up the server.

Also, one question arises--why put external functions (mail server, webmail) on the same server as a file server? If you have a fileserver that is not connected to the net, it's easy to lock down. Webmail, on the other hand, is comparatively tough to lock down. Ftp, due to its unencrypted passwords, is a big security risk...so usually, unless you limit it to sftp, it's usually not good to run ftp on any server on which the same username/password combos can be used to log into any other service.

ALso, you may find that certain tasks are more demanding than others. Maybe there's a way to break this server setup into two boxes, one of which can have more powerful hardware and do the demanding tasks, and one which can be a junk box you have sitting around, and then, one of which can have access to the internet, and one which can be LAN only?

I dunno...maybe I am getting too hypothetical. It just seems that all the functions you are listing are unwise to put on a single box, because some of them are high-risk, insecure things, and others of them are things that you really don't want to have the risk of exposing to the net.
Back to top
View user's profile Send private message
cazort
Guru
Guru


Joined: 19 Sep 2004
Posts: 343
Location: Lancaster, PA

PostPosted: Sat Oct 30, 2004 2:48 pm    Post subject: Reply with quote

Also, check out these links:

Here's a very basic site on gentoo security;

http://www.gentoo.org/doc/en/gentoo-security.xml

Here's a set of guidelines for gentoo infrastructure servers--these guidelines are often a good starting point, since they involve servers that are pretty much locked down:

http://www.gentoo.org/proj/en/infrastructure/server-standards.xml

This site gives a broad overview of a bunch of different (and mostly more advanced) security-related features supported in gentoo:

http://www.gentoo.org/proj/en/hardened/index.xml

-----------------------

I'd say, instead of asking how many servers do you need, ask, how many can you afford to have, or do you have sitting around? Usually you can get by with one or two expensive servers and maybe a junk box or two for a larger setup. Small setups, you can usually find some horribly jerry-rigged way of doing it with one box, but it might not be the most secure thing.
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Sat Oct 30, 2004 3:05 pm    Post subject: Reply with quote

macawgumbo wrote:
Yes, but performance will be that of crap.


Depends. Remember, if it is a server and you're not running X, that is a huge burden lifted from the system.

Also depends on your requirements. I'm only looking to serve the needs of maybe 25 people, not 5000.

On any system, Linux, Windows, or otherwise it is always a compromise between security and convenience. You can always do things to make all those services more secure and add additional layers of security. (Firewalls, encryption, etc)

On my system, I figure if they can take the time, to crack the passwords, get through the firewall, and break the the security, I can live if they find my pictures of Auntie May! In other words, for "standard, not vital info", basic security will probably do you fine. If the some info needs to be "secure", you can encrypt and use VPNs and that sort of thing for that.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum