Port and Loopback IP Allocation for Transparent TLS Tunnels

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Configuring a full-mesh TLS service that supports secure communications between virtual machines is complex and often requires significant operational changes, especially in environments where network layer support and superuser privileges are not available, making it difficult to maintain transparency and manage secure connections across multiple virtual machines.

Innovation Solution

A port and loopback IP addresses allocation scheme using a proxy to provide transparent TLS tunnels (TTT) between client and server virtual machines, employing NAT agents and DNE-TLS agents to establish secure connections without modifying application codes, leveraging spare ports and loopback IP addresses for encryption and address translation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If IP_TRANSPARENT socket option is used to bind client to server and save client-side NAT filters, then TLS configuration complexity is reduced, but routing support and superuser privileges are required which may be impossible in some situations

Engineering Contradiction:
ImproveTLS configuration easeVSAvoidCompatibility with different operating systems
Core Design Contradiction:
Ease of operationVSAdaptability or versatility

Solution Approach 1:

The patent introduces a proxy server as an intermediary component that sits between the client and server applications. This proxy implements the TLS termination and encryption functionality without requiring the applications themselves to configure TLS or have superuser privileges. The proxy handles the complex TLS operations transparently, allowing client and server applications to simply communicate with the proxy on standard ports without needing IP_TRANSPARENT socket options or elevated privileges.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Ease of operation

If full-mesh TLS service is implemented with transparent tunnels, then application transparency is maintained, but the system complexity increases significantly

Engineering Contradiction:
ImproveApplication transparencyVSAvoidTLS service complexity
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The proxy server acts as a centralized intermediary that handles all TLS encryption and decryption operations. Instead of implementing full-mesh TLS where each application pair manages its own secure connection, the proxy consolidates this functionality. The client application communicates with the proxy (unencrypted), the proxy encrypts the data and establishes a secure tunnel to the server, and the server communicates with the proxy (unencrypted). This maintains application transparency while significantly reducing the complexity burden on individual application pairs.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent segments the TLS functionality from the application layer by introducing a dedicated proxy infrastructure. The complex TLS operations are separated into a distinct service component that operates independently from the client and server applications. This segmentation allows the applications to remain simple and transparent while the proxy handles the cryptographic complexity as a separate, manageable function.

Inventive Principle:
Principle #1Segmentation

3Ease of manufacture

If NAT agents and DNE-TLS agents are deployed to provide transparent encryption, then secure communications are enabled without application changes, but network configuration complexity increases

Engineering Contradiction:
ImproveDeployment simplicityVSAvoidNetwork agent complexity
Core Design Contradiction:
Ease of manufactureVSDevice complexity

Solution Approach 1:

The NAT agents and DNE-TLS agents are designed to operate autonomously without requiring manual configuration of individual application connections. The agents automatically detect traffic patterns, establish encryption tunnels, and manage the TLS handshakes between clients and servers. This self-service capability simplifies deployment as the agents can be installed and will automatically begin providing transparent encryption to matching traffic flows without needing application-specific setup or complex network reconfiguration.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS11936613B2Port and loopback IP addresses allocation scheme for full-mesh communications with transparent TLS tunnels
Publication Date: 2024.03.19 VMWARE INC
  • US11936613B2 patent drawing
  • US11936613B2 patent drawing
  • US11936613B2 patent drawing

AI summary

The method for a virtual machine to use a port and loopback IP addresses allocation scheme for full-mesh communications with transparent transport layer security tunnels is presented. In an embodiment, the method comprises detecting, at a redirect agent implemented in a first machine, a packet that is sent from a client application executing on the first machine toward a server application executing on a second machine; and determining, by the redirect agent, whether a first redirect rule matches the packet. In response to determining that the first redirect rule matches the packet, the redirect agent applies the first redirect rule to the packet to translate the packet into a translated packet, and provides the translated packet to a client agent implemented in the first machine to cause the client agent to transmit the translated packet to a server agent implemented in the second machine.