Ping prohibited in Linux

Source: Internet
Author: User

The Ping Command is an application for computers to check whether the lines are in good condition.ProgramThe transmission of exchange data between computers is not encrypted. Therefore, when we use the ping command to detect a server, an illegal molecule may exist on the Internet, attackers steal information transmitted on the network line through special hacking programs and use the stolen information to attack the specified server or system, therefore, it is necessary to disable the ping command in Linux. In Linux, if you want to make Ping unresponsive, that is, to ignore the ICMP packet, you can enter the following command in the Linux Command Line:

Echo 1>/proc/sys/NET/IPv4/icmp_echo_ignore_all;

If you want to resume using the ping command, you can enter:

Command Echo 0>/proc/sys/NET/IPv4/icmp_echo_ignore_all

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.