public inbox for kernelnewbies@kernelnewbies.org
 help / color / mirror / Atom feed
* TCP syn flooding protection
@ 2021-04-23  6:45 JeongHwan Kim
  2021-04-23  8:19 ` Valdis Klētnieks
  0 siblings, 1 reply; 2+ messages in thread
From: JeongHwan Kim @ 2021-04-23  6:45 UTC (permalink / raw)
  To: kernelnewbies

Hi, everyone

I'm testing packet flooding test with old kernel version 2.6.30.
My board experienced process starvation when injecting ICMP flood with hping3 tool.
I modified softirq invocation routine to launch ksoftirqd instead of executing do_softirq
and I limitted the speed of ethernet phy to accept below 10Mbps.
It seems that the board can process flooding ICMP packets of 10Mbps,
but the board cannot process against TCP/UDP packet flooding,
the speed of processes become slow down.
IPtabls of which rule is dropping all TCP/UDP packet does not improve the situation.
How can I protect the TCP/UDP flooding in my environment.

Thanks in advance.
Kim





_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

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

end of thread, other threads:[~2021-04-23  8:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-23  6:45 TCP syn flooding protection JeongHwan Kim
2021-04-23  8:19 ` Valdis Klētnieks

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