The HyperNews Linux KHG Discussion Pages

## Can you block or ignore ICMP packets?

  Forum: The Linux Kernel Hackers' Guide
  Keywords: ICMP ping Internet echo flood
  Date: Sat, 22 Mar 1997 02:46:28 GMT
  From: <HackOps@nutnet.com>

I would like to know if you could block or ignore ICMP packets. If there is no way to block reception, then is there a way to prevent the kernel from replying? The reason is that I want to prevent other people from abusing the "ping" command and flooding me with ICMP packets. In particular, I want to block only when there is an excessive amount of packets being recieved. (ie. 25+ in a 10 sec period)

Messages

4. ICMP send rate limit / ignoring by Jukka Santala
  1. Omission in earlier rate-limit... by Jukka Santala
  -> Patch worked... by Jukka Santala
3. Using ipfwadm by Charles Barrasso
1. Icmp.c and kernal ping replies by Don Thomas