Make Linux ignore a ping

Contributor Icon Contributed by skreuzer  
Tag Icon Tagged: Linux security  

Sometimes it can be useful to hide a Linux machine a bit. These commands will force your linux box to ignore a ping request.


To turn answers to icmp_echos off, as root type:
echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all

and to turn it on again type:
echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_all

 

1 Comment -


  1. ramarajan said on November 18, 2011

    thanks……:)

 

RSS feed for comments on this post. TrackBack URL

Leave a comment -