Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Nick Drage <nickd@funkyjesus.org>
To: netfilter@lists.samba.org
Subject: Re: How to prevent smurf atacks?
Date: Wed, 5 Jun 2002 15:14:09 +0100	[thread overview]
Message-ID: <20020605151409.B2090@funkyjesus.org> (raw)
In-Reply-To: <Pine.LNX.4.21.0206051559001.3749-100000@dns.toxicfilms.tv>; from solt@dns.toxicfilms.tv on Wed, Jun 05, 2002 at 04:04:06PM +0200

On Wed, Jun 05, 2002 at 04:04:06PM +0200, Maciej Soltysiak wrote:
> > A Smurf attack is effective just by the sheer weight of traffic sent to
> > you, rather than because of any weakness in your host, so unfortunately
> > there is nothing you can do on your host to harden it against this type
> > of onslaught.

> How about:
> - blocking ICMP directed at broadcast addreses?

Yes, but that stops you being a source of a smurf attack, rather than the
victim.  I think the original poster didn't want to be a victim, which I
don't think you can prevent bar blocking ICMP from broadcast addresses at
the borders ( where "broadcast addresses" isn't as easy to determine as I
imply ).

Of course, stopping yourself being a source of the problem is good too :)

> - setting /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts to 1

:)

> - adding anti-spoofing rules, smurf attacks may have spoofed IPs, and that
>   is when the attack gets its sharp edge. It may be spoofed as if it is
>   originating from your network.

No they won't, they'll be spoofed as the IP address of the victim.  Well,
unless one of your IP addresses is the intended victim, but that strikes me
as unlikely - and it'd be hard to spot without MAC address checking rules
anyway.

> The same goes for fraggle attacks, those are UDP brodcast packets to
> unserved ports with spoofed IPs.
> 
> If the destination and source IPs are in the same subnet, we can have
> the net attacking itself.
> 
> I guess that is what we are talking about.

Sort of.  I think.  Probably.  Not that this is another vague term or
anything :)

-- 
FunkyJesus System Administration Team



      reply	other threads:[~2002-06-05 14:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-05 13:27 How to prevent smurf atacks? Francisco Alfonso Martinez Lopez
2002-06-05 13:53 ` Ramin Alidousti
2002-06-05 14:05   ` Michael H. Warfield
2002-06-05 14:33     ` Ramin Alidousti
2002-06-05 13:55 ` Nick Drage
2002-06-05 14:04   ` Maciej Soltysiak
2002-06-05 14:14     ` Nick Drage [this message]

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=20020605151409.B2090@funkyjesus.org \
    --to=nickd@funkyjesus.org \
    --cc=netfilter@lists.samba.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