mikeage.net Logo
mikeage.net/2005/08/12/ping-blocking/

mikeage.net @ ו׳ תמוז תשע״ח

Ping Blocking

Quick Overview

Ping is a well known internet tool used to check if a machine is running. Occasionally, it is desirable to block pings, either to avoid detection, or to hide from some very stupid hackers.

The Firewall Way

This is probably the more proper way. However, messing with firewalls can be a pain sometimes (I HATE iptables), and might be overkill. Instead, try...

...The Easy Way

echo "1" >> /proc/sys/net/ipv4/icmp_echo_ignore_all
To turn ping response back on,
echo "0" >> /proc/sys/net/ipv4/icmp_echo_ignore_all

Enjoy.

Leave a Reply

Quick Map
Content +
Personal +
Archives +
Site Stuff +
RBS Weather +
Search +
Recent Images

Valid XHTML 1.1!
Printer Friendly Page
 

Last Modified: September 04, 2006 @ 02:11 CST

Memory(TRUE): 2097152/2097152
Memory(FALSE): 2989776/2999760