Session-Based Packet Capture for Network Traffic Analysis

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional packet capture techniques in computer networks are inefficient as they capture packets on a per-packet flow basis, leading to high network resource consumption and incomplete records of bidirectional traffic flows, which hinder accurate traffic engineering and monitoring.

Innovation Solution

Implementing session-based packet capture, where routers generate records for each session including both forward and reverse packet flows, and modify packets with a header and metadata to indicate whether capture is required, allowing for targeted and efficient data collection.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If packet capture is performed on a per-packet flow basis, then packet records can be generated for individual flows, but network resource consumption increases significantly and bidirectional traffic flow completeness is lost

Engineering Contradiction:
Improvetraffic flow analysis accuracyVSAvoidnetwork resource consumption
Core Design Contradiction:
Measurement precisionVSLoss of energy

Solution Approach 1:

The patent merges forward and reverse packet flows into a single session-based capture record. Instead of treating packet flows independently as in conventional per-flow capture, the system combines bidirectional traffic between the same pair of endpoints into one unified session record, thereby reducing the number of separate records while maintaining complete traffic flow information.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent segments packet capture by session rather than by individual packet flow. By defining sessions based on endpoint pairs and combining bidirectional flows within each session, the system creates more efficient capture records that reduce network resource consumption while preserving traffic analysis accuracy.

Inventive Principle:
Principle #1Segmentation

2Loss of information

If flow-based packet capture is used, then packet records can be transmitted to collectors for analysis, but the volume of data increases and relevant data is diluted

Engineering Contradiction:
Improvetraffic behavior information completenessVSAvoiddata volume
Core Design Contradiction:
Loss of informationVSQuantity of substance

Solution Approach 1:

The patent merges bidirectional packet flows into single session-based records, reducing the total number of separate records and data volume while maintaining complete traffic behavior information. This consolidation eliminates redundant data without losing any relevant traffic analysis information.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent extracts and transmits only the necessary session-level packet capture records to collectors, rather than transmitting all individual packet flow records. This extraction approach filters out redundant data while preserving the essential traffic behavior information needed for analysis.

Inventive Principle:
Principle #2Taking out (Extraction)

3Adaptability or versatility

If conventional per-flow packet capture is implemented, then routing decisions can be made based on packet flows, but session-based routing capabilities are limited

Engineering Contradiction:
Improvesession-based routing capabilityVSAvoidpacket capture system complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent introduces dynamic session identification and management capabilities to the packet capture system. By implementing session-based capture with flexible session criteria and dynamic record generation, the system adapts to different routing scenarios and provides versatility for session-based routing decisions without requiring overly complex infrastructure.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS11799779B1Session-based packet capture
Publication Date: 2023.10.24 JUNIPER NETWORKS INC
  • US11799779B1 patent drawing
  • US11799779B1 patent drawing
  • US11799779B1 patent drawing

AI summary

Techniques are disclosed for generating session-specific packet capture records. In one example, a first network device receives a first packet of a session between first and second client devices, the session comprising forward and reverse packet flows. The first network device modifies the first packet to include metadata comprising a packet capture indicator that indicates whether packet capture is to be performed for the session. The first network device stores at least a portion of the first packet and each subsequent packet of the session and forwards the modified first packet. A second network device receives the modified first packet and, based on the packet capture indicator, stores at least a portion of the first packet and each subsequent packet of the session in a session-specific packet capture record. The first and second network devices may generate, from the stored packet data, a packet capture record for the session.