Posts Tagged ‘how to reload kernel parameters in runtime’

How to disable ping requests in Linux box

The basic network discovery always start with ping utility.So blocking the ping requests will make the system discovery difficult.To disable ping requests ,we just need to add/modify some kernel parameters. What we are doing here is the permanent change. So open /etc/sysctl.conf  and add the following line to /etc/sysctl.conf net.ipv4.icmp_echo_ignore_all = 1 And reload kernel parameters using command sysctl -p (sysctl -p is used to reload kernel parameters at runtime). After successful configuration,if any one try to ping your server [...]

Related Posts Plugin for WordPress, Blogger...