From: Eric Dumazet <eric.dumazet@gmail.com>
To: David Miller <davem@davemloft.net>
Cc: netdev <netdev@vger.kernel.org>
Subject: [RFC] tcp demux used to signal ip_route_input_noref to not cache dst
Date: Wed, 27 Jun 2012 09:19:13 +0200 [thread overview]
Message-ID: <1340781553.10893.414.camel@edumazet-glaptop> (raw)
In case tcp_v{4|6}_early_demux() doesnt find an ESTABLISHED socket, and
SYN flag is set, and an "atomic_t listener_under_synflood" counter is
not 0, we could :
- instruct make ip_rcv_finish() to not cache the input dst into route
cache (if dst is not found in the hash table)
This would make synflood attacks having minimal impact on route cache
(We did this for the output dst of SYN-cookie-ACK messages)
next reply other threads:[~2012-06-27 7:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-27 7:19 Eric Dumazet [this message]
2012-06-27 7:52 ` [RFC] tcp demux used to signal ip_route_input_noref to not cache dst Eric Dumazet
2012-06-27 8:15 ` David Miller
2012-06-27 8:18 ` Eric Dumazet
2012-06-27 8:19 ` David Miller
2012-06-27 13:25 ` Hans Schillstrom
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=1340781553.10893.414.camel@edumazet-glaptop \
--to=eric.dumazet@gmail.com \
--cc=davem@davemloft.net \
--cc=netdev@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