Netdev List
 help / color / mirror / Atom feed
* IPv4 route cache DOS attack
@ 2012-11-27 23:15 叶雨飞
  2012-11-28  1:01 ` Eric Dumazet
  2012-11-28  2:14 ` David Miller
  0 siblings, 2 replies; 5+ messages in thread
From: 叶雨飞 @ 2012-11-27 23:15 UTC (permalink / raw)
  To: netdev

Hi,

I have a linux router running kernel 3.2  that receive public ingress
packets and route them through an GRE tunnel, return packets don't go
through it

I've recently faced a serious issue with the route cache,  when the
router received spoofed source , the route cache will quickly get
exhausted (depending on the size of it) and soon the ip dst cache
overflow will be printed and network subsystem will hang until
restarted.

So, my question is, how can I turn off the route cache without
recompile the kernel or adding the  patch for removal  in 3.7?  I
tried to set

echo 0 > /proc/sys/net/ipv4/route/max_size but that has no effect at all.

And if some one can share some insight on why when dst cache
overflows, the network subsystem hangs, it would be great.

Thanks.

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

end of thread, other threads:[~2012-11-28  2:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-27 23:15 IPv4 route cache DOS attack 叶雨飞
2012-11-28  1:01 ` Eric Dumazet
2012-11-28  1:34   ` 叶雨飞
2012-11-28  2:14 ` David Miller
2012-11-28  2:48   ` 叶雨飞

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