stun.IsMessage only checks the magic cookie, which overlaps the WireGuard receiver index. A session whose index equals the cookie had every inbound packet consumed by the STUN handler until the next rekey. Reject WireGuard-shaped packets before the cookie check and classify on the received length instead of the buffer capacity.