Technical Tip: IKEv2 quick crash detection
| 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
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. |
