Phase II Dead Peer Detection for IPsec Tunnels

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current methods for detecting dead peers in VPN connections are limited to phase I of the IKE protocol and fail to detect dead IPsec tunnels in phase II, leading to communication gaps when one tunnel is dead while another remains alive, causing connectivity issues.

Innovation Solution

Implementing a phase II dead peer detection protocol that involves receiving an indicator of tunnel capability, detecting traffic, initiating a packet exchange when no traffic is detected, and determining the aliveness of tunnels through DPD packet exchanges, allowing for early detection and corrective action on dead tunnels.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If phase I dead peer detection is used, then IKE SA aliveness can be detected, but phase II tunnel aliveness cannot be detected

Engineering Contradiction:
Improvepeer detection accuracyVSAvoiddetection scope
Core Design Contradiction:
Measurement precisionVSAdaptability or versatility

Solution Approach 1:

The patent segments the VPN connection into two distinct phases: Phase I (IKE SA) and Phase II (IPsec tunnels). It implements separate detection mechanisms for each phase, allowing independent monitoring of IKE SA aliveness and tunnel aliveness. This segmentation enables precise detection at both levels without conflating the two detection scopes.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent extends detection from the single dimension of Phase I IKE SA to an additional dimension of Phase II IPsec tunnels. By introducing tunnel-specific detection alongside existing Phase I detection, it creates a multi-dimensional detection framework that comprehensively monitors both the security association and the actual data transmission paths.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Reliability

If multiple phase II tunnels are associated with one IKE SA, then communication redundancy is achieved, but dead tunnel detection becomes difficult

Engineering Contradiction:
Improvecommunication redundancyVSAvoidtunnel status monitoring
Core Design Contradiction:
ReliabilityVSDifficulty of detecting and measuring

Solution Approach 1:

The patent segments tunnel monitoring from aggregate IKE SA monitoring by implementing individual tunnel detection within Phase II. Each tunnel can be independently monitored for traffic and aliveness, allowing the system to identify which specific tunnel is dead while maintaining others. This granular segmentation enables precise fault isolation in multi-tunnel configurations.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements feedback mechanisms where tunnel status information is continuously monitored and reported back to the peer. When a tunnel is detected as dead, this feedback triggers renegotiation or failover to alternative tunnels, creating a closed-loop system that maintains communication redundancy through active status monitoring and automated response.

Inventive Principle:
Principle #23Feedback

3Speed

If packet exchange is initiated frequently to detect dead tunnels, then detection speed is improved, but network overhead increases

Engineering Contradiction:
Improvedead peer detection speedVSAvoidnetwork overhead
Core Design Contradiction:
SpeedVSLoss of energy

Solution Approach 1:

The patent implements periodic dead peer detection where packet exchanges are initiated at predetermined time intervals rather than continuously. This periodic action balances detection speed with network overhead by checking tunnel aliveness regularly without excessive frequency, reducing unnecessary traffic while maintaining timely detection of dead peers.

Inventive Principle:
Principle #19Periodic action

Solution Approach 2:

The patent enables tunnels to self-report their status through traffic detection and automated packet exchanges. When traffic is detected in a tunnel, the system infers the tunnel is alive without requiring active probing. This self-service approach reduces network overhead by leveraging existing traffic patterns for status determination rather than requiring dedicated detection traffic in all cases.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS10044585B2Virtual private network dead peer detection
Publication Date: 2018.08.07 SONICWALL US HOLDINGS INC
  • US10044585B2 patent drawing
  • US10044585B2 patent drawing
  • US10044585B2 patent drawing

AI summary

Methods and systems are provided for detecting dead tunnels associated with a VPN. An indicator of a tunnel capability, for example, a DPD vendor ID, is received from a peer through a VPN connection. The tunnel capability is associated with one or more phase II tunnels associated with the VPN. Traffic generated by the peer is detected, and if traffic is detected at a tunnel, the tunnel is presumed to be alive. When no traffic is detected in a tunnel, a DPD packet exchange with the tunnel is initiated. A determination is made, based on the packet exchange, whether the tunnel is alive.