public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: David Ford <david+cert@blue-labs.org>
To: erich@uruk.org
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>, Julian Anastasov <ja@ssi.bg>,
	Szekeres Bela <szekeres@lhsystems.hu>,
	Daniel Gryniewicz <dang@fprintf.net>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Network Security hole (was -> Re: arp bug )
Date: Sat, 02 Mar 2002 22:21:56 -0500	[thread overview]
Message-ID: <3C8196D4.80508@blue-labs.org> (raw)
In-Reply-To: <E16hGAW-0000Rw-00@trillium-hollow.org>

[-- Attachment #1: Type: text/plain, Size: 2464 bytes --]

erich@uruk.org wrote:

>Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
>
>>I strongly disagree. The RFCs _are_ expected behaviour (with the odd
>>exception like URG which BSD redefined by force)
>>
>
>Hmm.
>
>My general contention is that the system should, by default, behave as
>non-experts would expect, but this might be a point where we can't
>agree.
>

Microsoft has done this and we see where that has gone...

>I'll give up on this one relatively easily (though it was a switch,
>so this is relevant)...  but a more pertinent example would be
>if you have IP aliasing going on with 2 cards on the same network
>for failover capability, and they might be asymmetric.  Again,
>the expectation is that the "primary" one would be what is mainly
>used.
>

All of your givens can be tightly controlled using specific routing 
combined with a routing daemon.  Add a touch of correct firewalling and 
all is constrained just like you please.

>>If you want a firewall use firewall rules. If an end user is not sure
>>how to set up a basic firewall they can run tools like gnome-lokkit
>>and answer simple questions.
>>
>
>The firewall rules aren't as fine-grained as you're implying.  They
>only accept packets or not, with the assumption that all programs
>on the box are equally untrusted.
>
>A good example is, you want a trivial high-security firewall, but
>you want it to be a DNS and email server, knowing you only have
>to be really careful about those 2 programs.
>
>If the TCP/IP stack filters itself by what you've assigned it, then
>you have the flexibility of using things like tcp wrappers (for
>example) to allow one program but not another to accept things
>from particular ports as well.   Though tcp wrappers have their
>own host of problems.
>

Netfilter (iptables) is very extendable, it is certainly not limited to 
if(src=1.2.3.4) pass();  By configuring your DNS server suitably right 
off the start, you eliminate a large group of possible threats.  Email 
is simple, inbound is one port and security for that is entirely 
userland.  You don't have to be psychotic paranoid about either email or 
DNS if you apply some of the basic tenents of security; configuration, 
ownership, and permissions.  Add chroot if applicable.

Firewall rules can be very fine grained.  What's left can be dealt with 
in userland.  If it can't be handled, drop it.  In the event of 
overload, it's always better to drop packets than to pass ambiguous data.

David


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3254 bytes --]

  parent reply	other threads:[~2002-03-03  3:27 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-08 23:33 arp bug Julian Anastasov
2002-03-02 18:42 ` Network Security hole (was -> Re: arp bug ) erich
2002-03-02 19:14   ` Alan Cox
2002-03-02 19:58     ` erich
2002-03-02 20:22       ` Alan Cox
2002-03-02 20:31         ` erich
2002-03-02 20:52           ` Alan Cox
2002-03-02 21:14             ` erich
2002-03-02 23:31           ` Andrew Pimlott
2002-03-03  1:00             ` erich
2002-03-03  3:21           ` David Ford [this message]
     [not found]       ` <Your message of "Sat, 02 Mar 2002 19:14:55 GMT." <E16hEy7-000875-00@the-village.bc.nu>
2002-03-03  0:50         ` Stevie O
2002-03-02 21:52   ` Julian Anastasov
2002-03-02 20:23     ` Alan Cox
2002-03-02 20:26       ` Ben Greear
2002-03-02 23:23       ` Karl
2002-03-03  0:20       ` Julian Anastasov
2002-03-02 22:40         ` Alan Cox
2002-03-03  0:46           ` Julian Anastasov
2002-03-02 23:27             ` Alan Cox
2002-03-03  2:38               ` Julian Anastasov
2002-03-03  0:21             ` erich
2002-03-03  0:33               ` Russell King
2002-03-03  0:43                 ` erich
2002-03-03  0:49                   ` erich
     [not found]                     ` <Your message of "Sat, 02 Mar 2002 16:43:23 PST." <E16hK5z-0000vI-00@trillium-hollow.org>
2002-03-03  1:05                       ` Stevie O
2002-03-04 18:14                         ` Paul Jakma

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=3C8196D4.80508@blue-labs.org \
    --to=david+cert@blue-labs.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=dang@fprintf.net \
    --cc=erich@uruk.org \
    --cc=ja@ssi.bg \
    --cc=linux-kernel@vger.kernel.org \
    --cc=szekeres@lhsystems.hu \
    /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