block

Hi !

Maybe you need to block attackers or simply stay safe on your Linux server

I’ve discovered several security fails on my system , one of them was not blocking ICMP packets

So I blocked doing this

1. Edit configuration file on /etc/sysctl.conf

2. Add the following line net.ipv4.icmp_echo_ignore_all = 1

ipblockicmp

now the ICMP traffic is blocked!

also type this command to kernel variable and  drop all the packets
# echo ‘1’> /proc/sys/net/ipv4/icmp_echo_ignore_all

And you are done!

regards, Tony.