My machine is being flooded with thousands of packets per second. They don't eat much bandwidth (60mbps out of 1gbit) but they damage system a lot by consuming a CPU responsible for handling network card interrupts. ksoftirqd goes to 100% and machine becomes almost unaccesible. How can I deal with these kind of attack - throwing huge number of random packets? Is there any way to somehow tweak handling server interrupts or distribute it over other CPUs?
My network card uses NAPI, linux kernel is 126.96.36.199