Netdev List
 help / color / mirror / Atom feed
* [RFC] tcp demux used to signal ip_route_input_noref to not cache dst
@ 2012-06-27  7:19 Eric Dumazet
  2012-06-27  7:52 ` Eric Dumazet
  0 siblings, 1 reply; 6+ messages in thread
From: Eric Dumazet @ 2012-06-27  7:19 UTC (permalink / raw)
  To: David Miller; +Cc: netdev

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)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-06-27 13:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-27  7:19 [RFC] tcp demux used to signal ip_route_input_noref to not cache dst Eric Dumazet
2012-06-27  7:52 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox