▸Protocol notes for this page (click to expand)

ICMPv6 (Internet Control Message Protocol for IPv6)

What ICMPv6 handles

In IPv4, ICMP is used for error reports and ping; with it blocked, the network still forwards data.

IPv6 put several essential functions on ICMPv6:

· NDP (neighbour discovery, replacing ARP);
· RA / SLAAC (finding routers, autoconfiguring addresses);
· MLD (multicast group membership);
· PMTUD (routers do not fragment, so only ICMPv6 can notify the source).

PMTUD is mandatory in IPv6

IPv6 routers do not fragment. When a packet is too large, the router drops it and returns Packet Too Big (type 2), telling the source the MTU of this path (for example 1400).

The source then reduces its packet size and resends.

If a firewall blocks that message, small packets get through and large ones are all lost, and the source receives no indication. This fault is called a PMTUD black hole.

Common misconceptions

An IPv6 network cannot block all ICMP out of IPv4 habit: with neighbour discovery blocked, even hosts on the same subnet cannot communicate, and with RA blocked, hosts get no address.

ICMPv6 has more duties than ICMP: it added NDP, RA and MLD, so its scope is entirely different from ICMP's.

The correct security practice is to permit by type (allow 1/2/3/4 and 133-137) rather than block everything.