This is an old version, saved 5 Dec 2026, 04:27 by TechWritereditor. It is the current version.
Internet Control Message Protocol
Internet Control Message Protocol (ICMP) is a protocol that lets routers and computers report problems in delivering data across the Internet, such as a destination that cannot be reached. It was specified by Jon Postel in RFC 792, published in September 1981, which describes it as "an integral part of IP": every implementation of the Internet Protocol must also support it.[1][2]
How it works
ICMP messages travel inside ordinary IP packets. They are mainly used for error reporting: if a router cannot forward a packet, for example because it is too large, the router drops it and sends an ICMP message back to the sender. Error messages include a copy of the IP header from the packet that caused the problem, so the sender can tell which packet failed.[3] ICMP is connectionless and, unlike UDP, does not use port numbers.[3]
RFC 792 defines a set of numbered message types, including Echo Request and Echo Reply, Destination Unreachable, Source Quench, Redirect, Time Exceeded and Parameter Problem.[1] The RFC stresses that these messages provide feedback about problems; they are "not to make IP reliable", which is left to higher-level protocols.[1]
Ping and traceroute
Two of the best-known network tools are built on ICMP. Ping sends Echo Request messages and waits for Echo Replies, measuring the round-trip time to show how quickly two machines can reach each other.[3] Traceroute maps the path to a destination, listing each router (hop) along the way and how long each takes to respond, which helps engineers find where delays occur.[3]
Security
Because ICMP is simple and widely answered, it has been abused in denial-of-service attacks. A ping flood overwhelms a target with Echo Requests, while the older "ping of death" used oversized packets to crash vulnerable systems. As a result, some networks filter or rate-limit ICMP traffic.[3]
See also
References
- ^ RFC 792: Internet Control Message Protocol. RFC Editor. 1981-09. rfc-editor.org
- ^ RFC 792 (datatracker entry). Internet Engineering Task Force. datatracker.ietf.org
- ^ What is the Internet Control Message Protocol (ICMP)?. Cloudflare. cloudflare.com