# What is Internet Control Message Protocol (ICMP)?

> Internet Control Message Protocol (ICMP) carries error reports and operational information for Internet Protocol communications.

- Canonical URL: https://yellowcube.eu/glossary/internet-control-message-protocol/
- Publisher: Yellow Cube
- Language: en
- Contact: hello@yellowcube.eu

## Content

Routers and hosts use ICMP messages to report conditions such as an unreachable destination, an expired hop limit, or a packet that is too large for a path. ICMP is part of IP operation, not a general application-data transport.

IPv4 uses ICMP, while IPv6 uses ICMPv6, which also supports essential IPv6 functions. Echo request and echo reply messages underpin the familiar ping test, but they are only two message types. Traceroute commonly elicits time-exceeded messages by sending packets with progressively larger IPv4 time-to-live or IPv6 hop-limit values.

### Key points

- **Error reporting:** ICMP reports a problem to a sender; it does not repair the failed delivery or guarantee that every network error produces a message.
- **Diagnostics:** Ping, traceroute, and monitoring systems use selected ICMP behavior to test reachability and investigate paths, delay, and loss.
- **Safe filtering:** Permit message types needed for correct operation, validate them in context where possible, rate-limit abuse, and restrict unnecessary traffic rather than applying an indiscriminate block.
- **Important limitation:** ICMP messages are not inherently proof of the sender’s identity or of the reported condition. They can be spoofed, filtered, rate-limited, or abused, yet blocking all ICMP can impair diagnostics and functions such as Path MTU Discovery, especially in IPv6.

### Related terms

[Traceroute](<https://yellowcube.eu/glossary/traceroute/>) · [Time to live (TTL)](<https://yellowcube.eu/glossary/time-to-live/>) · [Packet loss](<https://yellowcube.eu/glossary/packet-loss/>) · [Firewall](<https://yellowcube.eu/glossary/firewall/>) · [Distributed denial-of-service (DDoS) attack](<https://yellowcube.eu/glossary/distributed-denial-of-service-attack/>)

### Sources

[IETF RFC 792: Internet Control Message Protocol](https://datatracker.ietf.org/doc/html/rfc792) · [IETF RFC 4443: ICMPv6](https://datatracker.ietf.org/doc/html/rfc4443) · [IETF RFC 4890: Filtering ICMPv6 Messages in Firewalls](https://datatracker.ietf.org/doc/html/rfc4890)

## Attribution and scope

This Markdown representation is generated from the same approved content records as the canonical HTML page. Cite the canonical URL above when referencing this material. Product and service descriptions are informational; confirm project-specific requirements with Yellow Cube.

