mikeage.net Logo
mikeage.net/2005/08/page/3/

mikeage.net @ ו׳ שבט תשע״ח

Archive for ‍‍ תמוז / מנחם אב תשס״ה - August, 2005

Ping Blocking

‍‍ז׳ מנחם אב תשס״ה - Friday, August 12th, 2005

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.

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

Valid XHTML 1.1!
Screen Pge
 

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

Memory(TRUE): 4194304/4194304
Memory(FALSE): 2967704/2977688