From: Ralf Spenneberg <lists@spenneberg.org>
To: Stephen Satchell <list@fluent2.pyramid.net>
Cc: Netfilter <netfilter@lists.netfilter.org>
Subject: Re: A drop-in firewall
Date: 04 Sep 2003 11:53:55 +0200 [thread overview]
Message-ID: <1062669234.1615.28.camel@kermit> (raw)
In-Reply-To: <5.2.1.1.0.20030830201439.01072380@fluent2.pyramid.net>
Am Son, 2003-08-31 um 05.25 schrieb Stephen Satchell:
> Background: I used to be an audio engineer, and got used to the idea that
> a properly-designed and -maintained sound chain meant that each block was
> designed to "drop in" such that a failure of any component could be
> bypassed simply by patching around it.
Use a bridging firewall.
http://www.spenneberg.com/talks/linux-kongress2002/ralf-spenneberg.bridgewall.pdf
That does everything you want.
Cheers,
Ralf
>
> Situation: I have a series of Windows boxes that were infected with MS
> Blaster and SoBig. The net result was that my network of 200 computers was
> completely brought to its knees when these Windows boxes started doing
> their thing. I don't control the Windows boxes (co-lo situation).
>
> Desired solution: "Drop" a Linux box between the Windows boxes and the
> rest of the internal network. Use IPTABLES to ensure that the Windows
> boxes can't do anything nasty to the rest of the systems in the room,
> without impairing access to the rest of the Internet.
>
> SOLUTION 1: Use the experimental ROUTE target:
> Public-network interface has the addresses of all Windows boxes on
> the protected network. Design rules that take packets destined for those
> boxes and route them instead to the protected-network port. Bypass the
> routing table completely.
> Protected-network interface has the address of the site
> gateway. Design a rule that takes packets destined for the gateway and
> route them instead to the public network interface. Bypass the routing
> table completely.
> Use regular FILTER FORWARD rules to impose access rules on the local /24s.
>
> SOLUTION 2: Use MARK target
> How does this work? Google doesn't bring up any usable
> discussion. Pointers?
>
> What makes solution 1 not very usable is that Red Hat doesn't include the
> ROUTE target in its distributions. Attempts to use Patch-o-Matic haven't
> worked with Red Hat kernel source. I'm going to try vanilla 2.4.22 from
> linux.org to see if I have better results with that.
>
> Is there any other way to do a drop-in firewall?
>
> OK, you ask, why a "drop-in"? Because the usual methods require the
> customer boxes to be renumbered, and I don't have access to the guts of the
> customer boxes. The other standard method requires our Cisco 7500 be
> updated with a route, and the network manager is scared to make the
> change. "Why can't you just do it all in the Linux box?" he asks?
>
> The other issue is that some of our support technicians don't know how to
> do anything with the routers, so if the firewall fails the ass-wipes can't
> just patch around it and have the customer box "just work".
>
> Hints? Pointers? Is there a FAQ in the house?
>
> Satch
--
Ralf Spenneberg
RHCE, RHCX
Book: Intrusion Detection für Linux Server http://www.spenneberg.com
IPsec-Howto http://www.ipsec-howto.org
Honeynet Project Mirror: http://honeynet.spenneberg.org
next prev parent reply other threads:[~2003-09-04 9:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-31 3:25 A drop-in firewall Stephen Satchell
2003-09-04 9:53 ` Ralf Spenneberg [this message]
2003-09-04 9:59 ` Arnt Karlsen
2003-09-04 10:01 ` Gavin Hamill
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1062669234.1615.28.camel@kermit \
--to=lists@spenneberg.org \
--cc=list@fluent2.pyramid.net \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox