IP Library Granted Patent US 12,088,560
Granted Patent B2
US 12,088,560 · App. 17/371,733 · Granted Sep 10, 2024

Network context monitoring within service mesh containerization environment

Inventors: Yuncong Feng (Fremont, CA); Gang Duan (San Jose, CA)
Assignee: SUSE LLC
H04L63/0281H04L45/74H04L63/0263H04L67/01H04L67/56H04L69/22
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,088,560
App. No.
17/371,733
Granted
Sep 10, 2024
Kind
B2
Abstract

A security monitor monitors network communications at a loopback interface of a pod in the container system. The pod includes a service mesh proxy and an application container. The application container includes computer-readable instructions and is initiated via a container service and is isolated using operating system-level virtualization. The application container communicates with the service mesh proxy using the loopback interface. The security monitor extracts network address and port information from packet data in the network communications at the loopback interface. The security monitor determines one or more connection contexts of the network communications at the loopback interface, each connection context used to identify a network session of the application container with a remote application container.

Claims (54)

1. A computer-implemented method, comprising:

opening a socket to a loopback interface of an application container, wherein the application container participates in a service mesh and communicates with a plurality of remote application containers in the service mesh via a service mesh proxy associated with the application container;

receiving, through the socket of the loopback interface, a plurality of data packets, the data packets being part of one or more network sessions of the service mesh, at least one of the network sessions is encrypted at the service mesh proxy;

identifying a particular network session of the application container with a particular remote application container through analyzing the plurality of data packets received through the socket; and

monitoring security associated with the particular network session of the service mesh.

2. The computer-implemented method of claim 1 , wherein the application container is isolated using operating system-level virtualization.

3. The computer-implemented method of claim 1 , wherein the particular network session of the application container is identified based on network address identified from packet data in network communications at the loopback interface.

4. The computer-implemented method of claim 1 , wherein the particular network session of the application container is identified based on port information identified from packet data in network communications at the loopback interface.

5. The computer-implemented method of claim 1 , further comprising:

extracting a source network address and port information from incoming packet data;

extracting a destination network address and port information from outgoing packet data; and

comparing the source network address and port number of the incoming packet data with the destination network address and port information of outgoing packet data;

identifying packets of the incoming packet data with the source network address and port information matching the destination network address and port information of packets of the outgoing packet data as a set of ingress connection packets; and

determining that the set of ingress connection packets belongs to the particular network session.

6. The computer-implemented method of claim 5 , further comprising:

determining that particular network session is an ingress connection by determining that the destination network address and port information indicates a network address of an ethernet interface.

7. The computer-implemented method of claim 6 , wherein the application container functions as a server.

8. The computer-implemented method of claim 1 , further comprising:

determining whether the application container is coupled to the service mesh proxy by:

determining whether network addresses at an ethernet interface matches network addresses at the loopback interface; and

in response to determining that the network addresses at the ethernet interface do not match the network addresses at the loopback interface, determining that the application container is coupled to the service mesh proxy.

9. The computer-implemented method of claim 1 , further comprising:

transmitting a report including information about the particular network session, the report further including a reconstruction of payload data of packet data in the particular network session.

10. A system comprising:

an application container, wherein the application container participates in a service mesh;

a service mesh proxy connected to the application container, wherein the service mesh proxy allows the application container to communicate with a plurality of remote application containers in the service mesh via the service mesh proxy; and

a computing device comprising one or more processors and memory, the memory configured to store computer code comprising instructions, the instructions, when executed by the one or more processors, cause the one or more processors to:

open a socket to a loopback interface of the application container;

receive, through the socket of the loopback interface, a plurality of data packets, the data packets being part of one or more network sessions of the service mesh, at least one of the network sessions is encrypted at the service mesh proxy;

identify a particular network session of the application container with a particular remote application container through analyzing the plurality of data packets received through the socket; and

monitor security associated with the particular network session of the service mesh.

11. The system of claim 10 , wherein the application container is isolated using operating system-level virtualization.

12. The system of claim 10 , wherein the particular network session of the application container is identified based on network address identified from packet data in network communications at the loopback interface.

13. The system of claim 10 , wherein the particular network session of the application container is identified based on port information identified from packet data in network communications at the loopback interface.

14. The system of claim 10 , wherein the instructions, when executed by the one or more processors, further cause the one or more processors to:

extract a source network address and port information from incoming packet data;

extract a destination network address and port information from outgoing packet data; and

compare the source network address and port number of the incoming packet data with the destination network address and port information of outgoing packet data;

identify packets of the incoming packet data with the source network address and port information matching the destination network address and port information of packets of the outgoing packet data as a set of ingress connection packets; and

determine that the set of ingress connection packets belongs to the particular network session.

15. The system of claim 14 , wherein the instructions, when executed by the one or more processors, further cause the one or more processors to:

determine that particular network session is an ingress connection by determining that the destination network address and port information indicates a network address of an ethernet interface.

16. The system of claim 15 , wherein the application container functions as a server.

17. The system of claim 10 , wherein the instructions, when executed by the one or more processors, further cause the one or more processors to:

determine whether the application container is coupled to the service mesh proxy by:

determining whether network addresses at an ethernet interface matches network addresses at the loopback interface; and

in response to determining that the network addresses at the ethernet interface do not match the network addresses at the loopback interface, determining that the application container is coupled to the service mesh proxy.

18. The system of claim 10 , wherein the application container and the service mesh proxy are stored in the memory of the computing device.

19. A non-transitory computer-readable medium configured to store computer code comprising instructions, the instructions, when executed by one or more processors, cause the one or more processors to:

open a socket to a loopback interface of an application container, wherein the application container participates in a service mesh and communicates with a plurality of remote application containers in the service mesh via a service mesh proxy associated with the application container;

receive, through the socket of the loopback interface, a plurality of data packets, the data packets being part of one or more network sessions of the service mesh, at least one of the network sessions is encrypted at the service mesh proxy;

identify a particular network session of the application container with a particular remote application container through analyzing the plurality of data packets received through the socket; and

monitor security associated with the particular network session of the service mesh.

20. The non-transitory computer-readable medium of claim 19 , wherein the particular network session of the application container is identified based on network address identified from packet data in network communications at the loopback interface.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 28, 2022
From: NEUVECTOR, LLC
To: SUSE LLC
Reel/Frame 060655/0894 →
CONVERSION AND CHANGE OF NAME (INC TO LLC) Recorded Jul 28, 2022
From: NEUVECTOR, INC.
To: NEUVECTOR, LLC
Reel/Frame 060991/0522 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 27, 2021
From: FENG, YUNCONG; DUAN, GANG
To: NEUVECTOR, INC.
Reel/Frame 056994/0918 →
Continuity (2)
Continuation 16265850 · Feb 1, 2019
Related Publication 20210336936A1 · Oct 28, 2021