Re: Linux server as it own firewall
From: Mark Rafn (dagon@dagon.net)Date: 09/13/01
- Previous message: Kurt Seifried: "Re: Linux server as it own firewall"
- In reply to: James Puckett: "Linux server as it own firewall"
- Next in thread: Ross Del Duca: "Re: Linux server as it own firewall"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 12 Sep 2001 18:19:02 -0700 (PDT) From: Mark Rafn <dagon@dagon.net> Subject: Re: Linux server as it own firewall Message-ID: <Pine.LNX.4.33L2.0109121800030.7608-100000@deepone>
On Wed, 12 Sep 2001, James Puckett wrote:
> I am considering having the firewall for a Linux server I am building
> running on the server itself using IPTables.
This is better than having no filtering, but not as secure as having a
seperate firewall machine. Only you can decide where on the hassle vs
security curve you want to live.
> what are the implications of having a Linux box on the internet running its
> own firewall? The way I see it, if someone can manage to break into a locked
> down firewall, he will not have too many problems getting into the machines
> behind the firewall.
Not true, unless you're running known insecure software behind the
firewall. Most intrusions are going to be scripted exploits of broken
software, and if you're keeping up on patches for everything, it's likely
that the ability to break the firewall does NOT imply the ability to break
your webserver or other internal machines.
Unless they're on the same machine, and root on your firewall gives you
root on your webserver, that is.
> I also wonder about the
> obvious problem of having extra daemons on the firewall adding to the number
> of exploitable holes on one machine.
This is the key that makes me prefer many layers of "defense in depth".
There are a lot of local exploits that are very hard for someone to use
against me if they can't get a login on the box. Having seperate machines
for seperate purposes makes it harder to leverage multiple exploits.
For instance, say there's a remote exploit in your webserver that lets
someone run commands as the "web" user, and a local exploit in your
mailserver that lets users escalate their access to "bin". If both
services are on the same box, the bad guy gets bin remotely. If they're
on different machines, your website is compromised, but your mail is
untouched.
-- Mark Rafn dagon@dagon.net <http://www.dagon.net/>
- Previous message: Kurt Seifried: "Re: Linux server as it own firewall"
- In reply to: James Puckett: "Linux server as it own firewall"
- Next in thread: Ross Del Duca: "Re: Linux server as it own firewall"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|