Anyway to block all incoming UDP traffics through Debian kernel level?

ShikiSuen

Well-known member
My server is using Debian. I set UFW as follows:
Default: deny (incoming), allow (outgoing), disabled (routed)
With some incoming TCP ports allowed.

However, someone told me the ICMP and UDP flood still work "because your server still had to use CPU resources to identify the packages".
I later tried the icmp_echo_ignore_all which seems to have worked well.
Is there a similar approach to ignore all incoming UDP packages?
 
Top Bottom