Re: lighting---hacked!
From: Erik (erik@geenspam.vanwesten.net)Date: 05/14/02
- Next message: Simon Matthews: "Re: lighting---hacked!"
- Previous message: Tim Haynes: "Re: lighting---hacked!"
- In reply to: Alan W. Frame: "Re: lighting---hacked!"
- Next in thread: Alan W. Frame: "Re: lighting---hacked!"
- Reply: Alan W. Frame: "Re: lighting---hacked!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Erik <erik@geenspam.vanwesten.net> Date: 14 May 2002 21:31:10 GMT
Alan W. Frame <alan.frame@acm.org> wrote:
> Simon Matthews <nobody@devnull.none> wrote:
> []
>> Your focus on IPCHAINS is mis-directed. The box is intended as a web and
>> mail server, correct? IPCHAINS and IPTABLES are really intended for
>> building firewalls
> Bzzzzt! Wrong!
> Iptables is for *every* box that's connected to *anything* else.
>> and, as I have mentioned before, you should not run a
>> web server on your firewall.
> True, but you should also have a firewall on your webserver - iptables
> *only* allowing new port 80 connections in, related traffic out on the
> public interface; and *only* ssh in (from specified IP addresses) on the
> private interface (if you must do remote admin rather than on the
> console)
>> In other words, don't rely on IPCHAINS to
>> stop a web server from being hacked.
> You rely on ipchains/iptables to stop inappropriate packets from
> reaching network sockets.
> You relay on an IDS to monitor and alert you to this.
> You rely on tcpwrappers to stop inappropriate packets reaching
> user-space applications.
> You relay on your logging to monitor and alert you to this.
> You rely on chroot to stop inappropriate applications reaching the
> filesystem.
> You relay on your logging to monitor and alert you to this.
> You rely on LIDS to stop inappropriate actions on your filesystem.
> You relay on your integrity checker to monitor and alert you to this.
> Tim/Ian/Luke/Eirik/anyone else: Am I paranoid enough? - Is this
> FAQ'able?
Add to the FAQ: explain about netbased firewalls and hostbased
firewalls, and why it's good to use both.
Add immutable iptables files, immutable static webpages etc. Something
more close to securelevel 2 in OpenBSD would be nice.
Add secure (remote) loghost.
Add protective router in front of firewall.
Add hogwash to alter/reject false packets entering your network.
You could have been a lot more paranoid as you can see and I'm sure I
forgot a lot more. ;-)
EJ
-- For OpenBSD pf en nat rule examples: http://www.vanwesten.net
- Next message: Simon Matthews: "Re: lighting---hacked!"
- Previous message: Tim Haynes: "Re: lighting---hacked!"
- In reply to: Alan W. Frame: "Re: lighting---hacked!"
- Next in thread: Alan W. Frame: "Re: lighting---hacked!"
- Reply: Alan W. Frame: "Re: lighting---hacked!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|