Re: block pings
On Tue, 29 Aug 2000, Nick wrote:
> how do you stop linux from replying to pings like
> microsoft does. you can't ping www.microsoft.com or www.msn.com
> thankx nick
OK, I got curious since it involves icmp, so it's not done in
/etc/inetd.conf, and I didn't know how to do it.
All I can say is RTFM, it's right there in the icpm man page that
I tried first.
Just put this in /etc/sysctl.conf to turn ping replies off:
# sysctl -p
But after that you should really go back to /etc/sysctl.conf and get rid of
it again (hint: it involves running sysctrl again :-).
What the hell,