public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Patrick Michael Kane <modus-linux-kernel@pr.es.to>
To: linux-kernel@vger.kernel.org
Subject: preventing route cache overflow
Date: Thu, 27 Feb 2003 04:50:17 -0800	[thread overview]
Message-ID: <20030227045017.A11619@pr.es.to> (raw)

We recently had a server come under attack.  Some script monkeys
started generating a bunch of pings and SYNs from a huge variety of
spoofed addresses (mostly in 43.0.0.0/8 and 44.0.0.0/8, for those that
are interested).

There were so many forged packets that the destination cache began to
overflow hundreds or thousands of times per second ("kernel: dst cache
overflow").  This had a huge negative impact on server performance.

Adjusting net/ipv4/route/(max_size|gc_interval) or flushing the route
cache manually on a regular basis seemed to have little or no
measurable impact on the problem.  While IDS and manual filtering at
the firewall eventually resolved the problem, how do we protect
ourselves against this sort of attack in the future?  Can the route
cache be disabled?  The overflow path made less catastrophic?

TIA,
-- 
Patrick Michael Kane
<modus-linux-kernel@pr.es.to>

             reply	other threads:[~2003-02-27 12:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-27 12:50 Patrick Michael Kane [this message]
2003-02-27 13:21 ` preventing route cache overflow Gianni Tedesco

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=20030227045017.A11619@pr.es.to \
    --to=modus-linux-kernel@pr.es.to \
    --cc=linux-kernel@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