18 Mart 2024 Pazartesi

How to disable the Ping command on Linux ( Linux bir cihazı pinglere kapatmak )

 Method 1

system(" sysctl -w net.ipv4.icmp_echo_ignore_all=1 ");

Method 2

echo "1" > /proc/sys/net/ipv4/icmp_echo_ignore_all
Share: