Skip to main content
nnair
Staff
Staff
Dec 28, 2021 7:36 AM UTC

Technical Tip: IKEv2 quick crash detection

  • Apr 16, 2026 12:56 PM UTC
  • 0 replies
  • 1584 views
  • Translate All
Description This article describes how to check IKEv2 quick crash detection.
Scope FortiGate.
Solution

There is support for IKEv2 quick crash detection (QCD) as described in RFC 6290.

 

RFC 6290 describes a method in which an IKE peer can quickly detect that the gateway peer it has and established an IKE session with has rebooted, crashed, or otherwise lost IKE state.

 

When the gateway receives IKE messages or ESP packets with unknown IKE or IPsec SPIs, the IKEv2 protocol allows the gateway to send the peer an unprotected IKE message containing INVALID_IKE_SPI or INVALID_SPI notification payloads.

 

RFC 6290 introduces the concept of a QCD token, which is generated from the IKE SPIs and a private QCD secret, and exchanged between peers during the protected IKE AUTH exchange.

 

To configure QCD:

 

config system settings
    set ike-quick-crash-detect [enable | disable*]
end

 

QCD works by exchanging cryptographically derived QCD tokens on the protected IKE_AUTH exchange event. These tokens are generated from the IKE SPIs and a private secret. If a peer loses state and restarts, it generates new SPIs and therefore new QCD tokens.

In FortiOS, ike-quick-crash-detect enables this behavior locally. It does not modify IKE negotiation or protocol interoperability and requires RFC 6290 support on both peers.

Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024