# US 10,958,545 B2 · Monitoring traffic flows of containers in a segmented network environment

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 10,958,545 B2
- Document ID: US10958545B2
- Status: Granted
- Kind: B2
- Application number: 16/113,724
- Filed: 2018-08-27
- Published: 2020-02-27
- Granted: 2021-03-23
- Earliest claimed: 2018-08-27
- Assignees: Illumio, Inc.
- Applicants: Illumio, Inc.
- Inventors: Thomas Michael McCormick; Juraj George Fandli
- Web page: https://patentgrep.com/patent/US10958545B2

## CPC

- H04L 43/062: related to network traffic
- H04L 63/0227: {Filtering policies (mail message filtering H04L51/212)}
- H04L 43/0876: Network utilisation, e.g. volume of load or congestion level
- H04L 63/029: {Firewall traversal, e.g. tunnelling or, creating pinholes}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A traffic control and monitoring module includes a firewall operating in a container namespace that is configured to control and monitor traffic to and from a container in the container namespace. The traffic control and monitoring module reports detected traffic to a traffic flow reporting module operating in a host namespace of the host operating system. The traffic control and monitoring module obtains traffic flows associated with a plurality of containers in different container namespaces and reports the traffic flows to a segmentation policy. Based on the reported traffic flows, the segmentation server may update a segmentation policy to improve network security.

## Claims

### Claim 1

A method for monitoring traffic flows associated with a container, comprising:
obtaining, by a configuration generation module executing in a host namespace of a host operating system, a workload identifier for the container executing in a container namespace of the host operating system, the container executing processes associated with an application;
configuring, by the configuration generation module, a firewall executing within the container namespace of the container, the firewall to report traffic information pertaining to traffic to and from the container to a traffic flow reporting module executing in the host namespace, and to attach the workload identifier for the container as metadata to the traffic information, the traffic associated with operation of the processes of the application;
obtaining, by the traffic flow reporting module from the firewall executing in the container namespace, the traffic information pertaining to the container including the workload identifier; and
reporting, by the traffic flow reporting module, the workload identifier and the traffic information pertaining to the container to a segmentation server to enable the segmentation server to update a segmentation policy based on the traffic information.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
obtaining a label set associated with the container from a container orchestration layer of the host operating system, the label set comprising one or more labels;
transmitting the label set to the segmentation server, wherein the segmentation server generates the workload identifier for the container based on the label set.

### Claim 3 (depends on 1)

The method of claim 1, wherein configuring the firewall comprises:
executing a command to select the container namespace; and
executing a utility program in the host namespace to configure tables of the firewall associated with the container namespace.

### Claim 4 (depends on 1)

The method of claim 1, wherein the traffic flow information relating to inbound communication to the container comprises a source IP address of a remote workload providing the inbound communication, a port of the remote workload providing the inbound communication, a destination IP address of the container receiving the inbound communication, a port of the container receiving the inbound communication, and a protocol associated with the inbound communication.

### Claim 5 (depends on 1)

The method of claim 1, wherein the traffic flow information relating to outbound communication from the container comprises a destination IP address of a remote workload receiving the outbound communication, a port of the remote workload receiving the outbound communication, a source IP address of the container sending the outbound communication, a port of the container sending the outbound communication, and a protocol associated with the outbound communication.

### Claim 6 (depends on 1)

The method of claim 1, wherein the workload identifier for the container is assigned by the segmentation server and remains constant during a lifespan of the container.

### Claim 7 (depends on 1)

The method of claim 1, wherein the container namespace and the host namespace share a kernel of the operating system instance.

### Claim 8

A non-transitory computer-readable storage medium storing instructions for monitoring traffic flows associated with a container, the instructions when executed by a processor causing the processor to perform steps including:
obtaining, by a configuration generation module executing in a host namespace of a host operating system, a workload identifier for the container executing in a container namespace of the host operating system, the container executing processes associated with an application;
configuring, by the configuration generation module, a firewall executing within the container namespace of the container, the firewall to report traffic information pertaining to traffic to and from the container to a traffic flow reporting module executing in the host namespace, and to attach the workload identifier for the container as metadata to the traffic information, the traffic associated with operation of the processes of the application;
obtaining, by the traffic flow reporting module from the firewall executing in the container namespace, the traffic information pertaining to the container including the workload identifier; and
reporting, by the traffic flow reporting module, the workload identifier and the traffic information pertaining to the container to a segmentation server to enable the segmentation server to update a segmentation policy based on the traffic information.

### Claim 9 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, wherein the instructions when executed further cause the processor to perform steps including:
obtaining a label set associated with the container from a container orchestration layer of the host operating system, the label set comprising one or more labels;
transmitting the label set to the segmentation server, wherein the segmentation server generates the workload identifier for the container based on the label set.

### Claim 10 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, wherein configuring the firewall comprises:
executing a command to select the container namespace; and
executing a utility program in the host namespace to configure tables of the firewall associated with the container namespace.

### Claim 11 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, wherein the traffic flow information relating to inbound communication to the container comprises a source IP address of a remote workload providing the inbound communication, a port of the remote workload providing the inbound communication, a destination IP address of the container receiving the inbound communication, a port of the container receiving the inbound communication, and a protocol associated with the inbound communication.

### Claim 12 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, wherein the traffic flow information relating to outbound communication from the container comprises a destination IP address of a remote workload receiving the outbound communication, a port of the remote workload receiving the outbound communication, a source IP address of the container sending the outbound communication, a port of the container sending the outbound communication, and a protocol associated with the outbound communication.

### Claim 13 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, wherein the workload identifier for the container is assigned by the segmentation server and remains constant during a lifespan of the container.

### Claim 14 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, wherein the container namespace and the host namespace share a kernel of the operating system instance.

### Claim 15

A computing device for monitoring traffic flows associated with a container, the computing device comprising:
one or more processors; and
a non-transitory computer-readable storage medium storing instructions that when executed by the one or more processors cause the one or more processors to perform steps including:
obtaining, by a configuration generation module executing in a host namespace of a host operating system, a workload identifier for the container executing in a container namespace of the host operating system, the container executing processes associated with an application;
configuring, by the configuration generation module, a firewall executing within the container namespace of the container, the firewall to report traffic information pertaining to traffic to and from the container to a traffic flow reporting module executing in the host namespace, and to attach the workload identifier for the container as metadata to the traffic information, the traffic associated with operation of the processes of the application;
obtaining, by the traffic flow reporting module from the firewall executing in the container namespace, the traffic information pertaining to the container including the workload identifier; and
reporting, by the traffic flow reporting module, the workload identifier and the traffic information pertaining to the container to a segmentation server to enable the segmentation server to update a segmentation policy based on the traffic information.

### Claim 16 (depends on 15)

The computing device of claim 15, wherein the instructions when executed further cause the processor to perform steps including:
obtaining a label set associated with the container from a container orchestration layer of the host operating system, the label set comprising one or more labels;
transmitting the label set to the segmentation server, wherein the segmentation server generates the workload identifier for the container based on the label set.

### Claim 17 (depends on 15)

The computing device of claim 15, wherein configuring the firewall comprises:
executing a command to select the container namespace; and
executing a utility program in the host namespace to configure tables of the firewall associated with the container namespace.

### Claim 18 (depends on 15)

The computing device of claim 15, wherein the traffic flow information relating to inbound communication to the container comprises a source IP address of a remote workload providing the inbound communication, a port of the remote workload providing the inbound communication, a destination IP address of the container receiving the inbound communication, a port of the container receiving the inbound communication, and a protocol associated with the inbound communication.

### Claim 19 (depends on 15)

The computing device of claim 15, wherein the traffic flow information relating to outbound communication from the container comprises a destination IP address of a remote workload receiving the outbound communication, a port of the remote workload receiving the outbound communication, a source IP address of the container sending the outbound communication, a port of the container sending the outbound communication, and a protocol associated with the outbound communication.

### Claim 20 (depends on 15)

The computing device of claim 15, wherein the workload identifier for the container is assigned by the segmentation server and remains constant during a lifespan of the container.
