Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Adrian Chung <adrian@enfusion-group.com>
To: lartc@vger.kernel.org
Subject: [LARTC] Rate limiting, DoS
Date: Thu, 07 Jun 2001 17:10:44 +0000	[thread overview]
Message-ID: <marc-lartc-99193419509928@msgid-missing> (raw)

Hi everyone!  Question about "rate limiting" and DoS mitigating
features of 2.4's iptables.

With iptables, it's possible to limit the acceptance of different
types of packets to a certain level, in order to try to mitigate DoS
attacks on the box (syn floods, ping floods, etc).

I realize that most DoS attacks happen as a result of the CPU being
unable to keep up, and not bandwidth limitations, but I'm unsure as to
why rate limiting packets works to lessen CPU processing load.

Doesn't the kernel still have to use cycles to process the packets
before deciding to throw them out, or pass them on?  And if so, is the
cost savings in terms of CPU load just because they don't get passed
to other system facilities which would otherwise respond and use more
CPU cycles?

Or does this make any sense? :)

--
Adrian Chung (adrian at enfusion-group dot com)
http://www.enfusion-group.com/~adrian
GPG Fingerprint: C620 C8EA 86BA 79CC 384C E7BE A10C 353B 919D 1A17
[rogue.enfusion-group.com] 1:10pm up 31 days, 23 min, 2 users


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

             reply	other threads:[~2001-06-07 17:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-07 17:10 Adrian Chung [this message]
2001-06-07 17:24 ` [LARTC] Rate limiting, DoS Ramin Alidousti

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=marc-lartc-99193419509928@msgid-missing \
    --to=adrian@enfusion-group.com \
    --cc=lartc@vger.kernel.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