This is a kernel parameter that you can set with /etc/sysctl.conf by adding two lines:
# tail -n 2 /etc/sysctl.conf
net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.icmp_echo_ignore_all = 1
Apply the changes by using the sysctl -p command:
# sysctl -p
.
.
.
net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.icmp_echo_ignore_all = 1
#
There are various security reasons why you would want to do this. There are also some administration reasons why you shouldn't do this.
Categories
- GNU/Linux (20)
- Linux Security (12)
- Ubuntu Tutorials (20)
- Web Browsers (1)
- Windows 2000 (20)
- Windows 2003 (13)
- Windows 7 (8)
- Windows Vista (43)
- Windows XP (54)
Bookmark us
Sunday, July 20, 2008
Disable Ping (ICMP) Responses With Linux
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment