Linux防止ping
# pwd
/proc/sys/net/ipv4
# ls icmp*
icmp_echo_ignore_all icmp_errors_use_inbound_ifaddr icmp_ratelimit
icmp_echo_ignore_broadcasts icmp_ignore_bogus_error_responses icmp_ratemask
# cat icmp_echo_ignore_all
0
# echo 1 >icmp_echo_ignore_all
(将icmp_echo_ignore_all文件的内容改成1,就可以防ping了)
阅读(1286) | 评论(0) | 转发(1) |