IPsec Packet Fragmentation Before ESP for Reliable Decryption

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing IPsec implementations face challenges with large data packets, particularly in untrusted networks, where fragmentation by routers can lead to decryption failures due to unsupported reassembly and hardware limitations, resulting in service disruptions.

Innovation Solution

A method and apparatus that fragment IP datagrams into multiple packets with fragmentation information when they exceed a threshold, ensuring each packet is within the threshold limits, allowing secure IPsec processing and transmission without requiring reassembly at the receiver.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If IPsec is configured to process large data packets, then data confidentiality and security services are provided, but fragmentation by routers in untrusted networks causes decryption failures due to unsupported reassembly

Engineering Contradiction:
Improvedecryption success rateVSAvoidcompatibility with receivers not supporting reassembly
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent divides a large IP datagram into multiple IP packets before ESP processing when the datagram size exceeds a threshold. Each packet is processed independently through ESP encryption and transmitted separately. The receiver can decrypt each packet independently without needing reassembly support, resolving the contradiction between maintaining security for large packets and ensuring compatibility with receivers that cannot reassemble fragments.

Inventive Principle:
Principle #1Segmentation

2Reliability

If IPsec processes packets after they may be fragmented by routers, then security services are maintained, but hardware limitations and performance requirements cause service disruptions

Engineering Contradiction:
Improveservice continuityVSAvoidprocessing throughput
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent performs segmentation of the IP datagram into multiple packets before ESP processing occurs. By preparing the packets in advance with appropriate sizing, the system ensures that each packet fits within hardware processing capabilities and can be independently decrypted. This preliminary action prevents service disruptions caused by reassembly failures while maintaining efficient processing throughput.

Inventive Principle:
Principle #10Preliminary action

3Reliability

If IPsec wraps and encrypts entire original IP packets in tunnel mode, then comprehensive security protection is achieved, but packet size exceeds MTU limits causing fragmentation issues

Engineering Contradiction:
Improvesecurity protection coverageVSAvoidencrypted packet size
Core Design Contradiction:
ReliabilityVSLength of moving object

Solution Approach 1:

The patent segments the original IP datagram into multiple smaller IP packets before applying ESP encryption in tunnel mode. This ensures that after wrapping with IPsec headers, each encrypted packet remains within MTU limits and can be transmitted without requiring reassembly at the receiver. The segmentation maintains comprehensive security protection while controlling packet size.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS12549528B2Method and apparatus for security communication
Publication Date: 2026.02.10 TELEFONAKTIEBOLAGET LM ERICSSON (PUBL)
  • US12549528B2 patent drawing
  • US12549528B2 patent drawing
  • US12549528B2 patent drawing

AI summary

Methods and apparatuses for security communication. A method performed by a first communication device includes determining whether a length of an Internet protocol, IP, datagram is larger than a threshold. The method further includes, when the length of the IP datagram is larger than the threshold, fragmenting the IP datagram into two or more IP packets. The length of each of two or more IP packets is not larger than the threshold and each of the two or more IP packets is filled with fragmentation information. The method further includes processing the two or more IP packets to generate two or more corresponding IP security, IPsec, packets. The method further includes sending the two or more corresponding IPsec packets to a second communication device.