Learning Centre

Internet Control Message Protocol ICMP

ICMP is network control traffic

Internet Control Message Protocol, or ICMP, is used by IP networks to send control and diagnostic messages. It is not a web protocol and it does not carry pages, logins, carts, or API payloads. Instead, ICMP helps systems report reachability, path, and error conditions. Common examples include echo request and echo reply messages used by ping, destination unreachable messages, time exceeded messages, and packet-too-big messages used by path MTU discovery.

Because ICMP is close to the network layer, it often appears in DDoS discussions. A service can be affected by ICMP floods even if the web application itself is healthy. Routers, firewalls, load balancers, links, and host networking stacks may experience pressure before any HTTP request is involved.

The defensive challenge is balance. ICMP can be abused, but it is also useful. Blocking all ICMP may hide diagnostic information or break path discovery in ways that cause subtle reliability problems. A better approach is to understand which ICMP types are needed, which are risky at high volume, and where rate controls should apply.

Legitimate uses defenders should preserve

ICMP helps operators answer basic availability questions. Can a host be reached? Is a path looping? Is a packet too large for part of the route? Is a destination unavailable? These messages support troubleshooting and can help networks adapt to real conditions.

Path MTU discovery is a practical example. When a packet is too large for a link and cannot be fragmented, an ICMP message can tell the sender to use a smaller size. If those messages are blocked indiscriminately, users may see hanging connections, slow transfers, or application failures that are difficult to diagnose. The problem may look like a web issue even though the cause is network signaling.

Diagnostics are another legitimate use. Operations teams often rely on controlled reachability checks during incidents. Ping alone does not prove that an application is healthy, but it can help separate network reachability from application failure. Traceroute-like diagnostics also rely on ICMP or related behavior to map path issues.

For these reasons, ICMP policy should not be a reflexive deny-all rule. It should be deliberate, documented, and monitored.

How ICMP becomes an availability risk

ICMP can affect availability when high-volume traffic consumes link capacity, overwhelms packet processing, or triggers expensive behavior in network devices. Some attacks focus on echo traffic. Others exploit the fact that certain network messages can involve replies or error handling. The details vary by protocol type, device behavior, and provider controls, but the defensive theme is the same: network control traffic becomes harmful when volume, distribution, or packet characteristics exceed what the infrastructure can safely process.

ICMP incidents can be direct or indirect. In a direct flood, the protected network sees a high rate of ICMP packets aimed at its infrastructure. In reflection-style abuse, third-party systems may send traffic toward a victim because they were induced to reply. From the victim's perspective, the visible sources may not be the original actor. That distinction matters for attribution and for deciding whether local blocking, upstream filtering, or provider coordination is needed.

ICMP also appears during other network events. Link failures, routing issues, misconfigured firewalls, or path MTU problems can produce unusual ICMP patterns without hostile intent. Treat high ICMP volume as a signal requiring investigation, not automatic proof of an attack.

Reading the evidence

Useful evidence comes from network telemetry first. Look at packet rate, bandwidth, ICMP type and code distribution, affected interfaces, source distribution, destination addresses, router CPU, firewall counters, dropped packets, and upstream provider reports. Compare those signals with application logs. If HTTP request volume is normal but users cannot connect, the problem may be network-layer pressure or filtering. If HTTP errors rise at the same time, the network event may be cascading into application health.

Separating ICMP types matters. Echo messages, unreachable messages, time exceeded messages, and packet-too-big messages have different meanings. A spike in diagnostic echo traffic has a different operational interpretation from a spike in messages that indicate path failure. Aggregating all ICMP as one bucket can obscure the actual problem.

Also compare inbound and outbound patterns. Are local systems replying at high volume? Are firewalls dropping most traffic? Is the service receiving ICMP messages that indicate another path issue? Are monitoring systems accidentally contributing to noise? This kind of evidence helps avoid broad controls that make troubleshooting harder.

Mitigation without breaking the network

ICMP mitigation usually belongs close to the network edge. Common defensive concepts include rate limiting, filtering by ICMP type and code, upstream scrubbing, router access control policy, firewall tuning, and provider-assisted DDoS mitigation. The goal is to reduce harmful volume while preserving the messages required for stable routing and diagnostics.

For public services, it is often reasonable to limit unnecessary echo traffic more strictly than essential error signaling. But exact policy should reflect the network design, provider capabilities, compliance needs, and operational tooling. Controls should be tested so teams know whether legitimate monitoring, path MTU discovery, and troubleshooting still work.

Application-layer controls do not solve ICMP floods. A web application firewall can help with HTTP traffic, but ICMP may pressure the service before any web request exists. That is why network-layer observability and provider relationships are part of DDoS preparedness.

Common misconceptions

The first misconception is that ICMP is always dangerous. It is not. ICMP is part of how IP networks communicate errors and diagnostics. The risk comes from unnecessary exposure, excessive volume, and unsafe device behavior, not from the mere existence of the protocol.

The second misconception is that blocking ping proves a service is secure. Blocking echo replies may reduce one form of visibility, but it does not protect the application from HTTP floods, credential abuse, DNS problems, or many other availability risks. It can also remove a useful diagnostic signal.

The third misconception is that an ICMP spike always identifies the source of an attack. Source addresses may be spoofed or may belong to systems that are only reflecting traffic. Attribution requires provider evidence and careful interpretation.

Operational response planning

Teams should document which ICMP traffic is allowed, which is rate limited, who owns network-edge changes, and how to contact upstream providers during a volumetric event. Runbooks should include packet and flow collection steps, thresholds for provider escalation, monitoring dependencies, and rollback criteria for emergency filters.

During an incident, track service health and network health together. Watch link utilization, packet drops, router and firewall load, application availability, and user-facing error rates. If controls are applied, verify that essential diagnostics and path behavior still work.

Afterward, review whether alerts distinguished ICMP from other traffic, whether packet samples were captured, whether provider coordination was timely, and whether any deny-all rules caused secondary problems. Good ICMP defense is not about treating every control message as hostile. It is about preserving the useful parts of the protocol while keeping abnormal traffic from becoming an outage.

Related Articles

AI Crawler User Agents

A practical reference for common AI crawler user agents, operators, purposes, and recommended Peakhour bot-management actions.

AI For Cybersecurity

AI For Cybersecurity explains the concept in the context of AI security, with practical checks and mitigation considerations for site operators.

AI Image Generation

AI Image Generation explains the concept in the context of AI security, with practical checks and mitigation considerations for site operators.

© PEAKHOUR.IO PTY LTD 2026   ABN 76 619 930 826    All rights reserved.