Automatically running commands
After setting up my firewall all of my ports are stealthed but according to some secrity test sites my computer was still replying to ping requests, which I've been told is one of the oldest methods used by hackers to find live machines connected to the Internet.
Someone here at Linux Questions told me to run "echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all"
as root. This works great, but how do I run this command automatically when I bootup or login so I don't have to type it in all the time? Which file shoud I add this command to? Sort of the autoexec.bat of the Linux world.
Thanks for any help, all you people are amazingly helpful!!!!
|