Stateful Loop Detection via Address Swapping

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current loop detection methods in stateful network devices are inadequate, as they rely on non-stateful features like TTL counters and unicast Reverse Path Forwarding, which do not effectively mitigate forwarding loops, especially when network address translation is used, leading to resource wastage and difficulty in troubleshooting.

Innovation Solution

A stateful device detects loops by swapping and checking source and destination identification against its stateful connection table, allowing for immediate packet dropping and subsequent traffic blocking to prevent resource overload and facilitate loop resolution.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If TTL counters and unicast Reverse Path Forwarding are used for loop detection, then the detection mechanism is simple to implement, but the effectiveness of loop mitigation is poor, especially when network address translation is used

Engineering Contradiction:
Improveease of implementationVSAvoidloop detection effectiveness
Core Design Contradiction:
Ease of manufactureVSReliability

Solution Approach 1:

The patent changes the detection parameter from non-stateful TTL counters to stateful connection table lookups with swapped source and destination addresses. This parameter change enables reliable loop detection even with network address translation by using the stateful connection information that tracks the actual packet flow path.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent creates a virtual copy of the packet flow path by swapping source and destination addresses in the stateful connection table. This copied path information allows the system to detect loops without modifying actual packet traffic, maintaining simplicity while improving reliability.

Inventive Principle:
Principle #26Copying

2Device complexity

If existing loop detection methods are used, then device complexity is low, but resource wastage occurs and troubleshooting becomes difficult

Engineering Contradiction:
Improvedetection mechanism complexityVSAvoidresource consumption
Core Design Contradiction:
Device complexityVSLoss of energy

Solution Approach 1:

The stateful device uses its existing stateful connection table to detect loops, making the system self-service. The patent leverages the already-maintained connection tracking infrastructure to perform loop detection, eliminating the need for separate complex detection mechanisms and reducing resource wastage.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent implements feedback by checking the stateful connection table after swapping source and destination addresses. This feedback mechanism immediately identifies loops and allows the system to take mitigation actions, preventing resource wastage while maintaining acceptable complexity.

Inventive Principle:
Principle #23Feedback

3Adaptability or versatility

If packets are allowed to loop through the network, then network address translation can function, but forwarding loops cause resource overload and performance degradation

Engineering Contradiction:
Improvenetwork address translation capabilityVSAvoidnetwork processing efficiency
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent applies preliminary anti-action by detecting loops before they cause significant resource overload. The stateful connection table check with address swapping identifies loops early, allowing the system to take preventive mitigation actions that protect network processing efficiency while maintaining NAT functionality.

Inventive Principle:
Principle #9Preliminary anti-action

Solution Approach 2:

The patent converts the harmful looped packets into beneficial detection signals. By swapping addresses and checking the stateful connection table, the system uses the looped packets themselves as the detection mechanism, turning the harmful phenomenon into a useful diagnostic tool that protects overall network efficiency.

Inventive Principle:
Principle #22Blessing in disguise (Convert harm into benefit)

Data Source

PatentUS9258213B2Detecting and mitigating forwarding loops in stateful network devices
Publication Date: 2016.02.09 CISCO TECHNOLOGY INC
  • US9258213B2 patent drawing
  • US9258213B2 patent drawing
  • US9258213B2 patent drawing

AI summary

In one embodiment, a stateful device receives a packet on a particular interface of a stateful device in a computer network, where the packet includes source identification and destination identification. The source identification and destination identification of the packet may then be swapped and checked against a stateful connection table managed at the stateful device for the particular interface, such that a loop may be detected at the particular interface in response to the swapped source identification and destination identification matching an existing entry in the stateful connection table. In the event there is such a detected loop, the packet (e.g., and any subsequent similar packets) may to be dropped, accordingly.