# US 2025/0168127 A1 · Systems and methods for identifying traffic direction in network traffic logs

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

- Number: US 2025/0168127 A1
- Document ID: US20250168127A1
- Status: Published application
- Kind: A1
- Application number: 18/612,788
- Filed: 2024-03-21
- Published: 2025-05-22
- Earliest claimed: 2023-11-20
- Assignees: Aetna Inc.
- Applicants: Aetna Inc.
- Inventors: Salil Jain; Andrew Hinton; Christopher Durand
- Web page: https://patentgrep.com/patent/US20250168127A1

## CPC

- H04L 63/0263: {Rule management}
- H04L 41/0823: characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability (for optimising operational conditions of wireless networks H04W24/02)
- H04L 43/062: related to network traffic
- H04L 45/42: Centralised routing
- H04L 45/74: Address processing for routing
- H04L 47/12: Avoiding congestion; Recovering from congestion
- H04L 47/781: {Centralised allocation of resources}
- H04L 47/801: {Real time traffic}
- H04L 61/301: Name conversion
- H04L 63/0236: {Filtering by address, protocol, port number or service, e.g. IP-address or URL}
- H04L 63/1425: {Traffic logging, e.g. anomaly detection}
- H04L 63/20: {for managing network security; network security policies in general (filtering policies H04L63/0227)}
- H04L 2101/618: Details of network addresses
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

In some instances, a method for determining traffic direction for a plurality of data logs is provided. The method comprises: obtaining the plurality of data logs associated with a cloud network; determining a frequency of the source IP addresses and the destination IP addresses and/or ports associated with the source IP addresses and the destination IP addresses within the plurality of data logs; and determining the traffic direction associated with the plurality of data logs based on the frequency of the source IP addresses and the destination IP addresses and/or the ports. The traffic direction indicates one or more server machines that expose services to client machines associated with the cloud network.

## Claims

### Claim 1

A method for determining traffic direction for a plurality of data logs, comprising:
obtaining the plurality of data logs associated with a cloud network, wherein each of the plurality of data logs are associated with communications between machines associated with the cloud network and indicate a source internet protocol (IP) address, a destination IP address, a source port, and a destination port;
determining a frequency of the source IP addresses and the destination IP addresses and/or ports associated with the source IP addresses and the destination IP addresses within the plurality of data logs; and
determining the traffic direction associated with the plurality of data logs based on the frequency of the source IP addresses and the destination IP addresses and/or the ports, wherein the traffic direction indicates one or more server machines that expose services to client machines associated with the cloud network.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
determining one or more traffic rules based on the determined traffic direction, wherein the one or more traffic rules indicate communication restrictions to the one or more server machines; and
applying the one or more traffic rules to restrict communications to the one or more server machines.

### Claim 3 (depends on 2)

The method of claim 2, wherein applying the one or more traffic rules comprises:
blocking communications from a new client machine to the one or more server machines based on the one or more traffic rules and an IP address for the new client machine.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
determining explicit information within a first subset of the plurality of data logs, and wherein determining the traffic direction comprises:
determining the traffic direction for the first subset of the plurality of data logs based on the explicit information; and
determining the traffic direction for a second subset of the plurality of data logs based on the frequency of the source IP addresses and the destination IP addresses within the plurality of data logs.

### Claim 5 (depends on 4)

The method of claim 4, wherein the explicit information indicates one or more specific ports that are used by the server machines, and wherein determining the traffic direction for the first subset of the plurality of data logs comprises:
comparing the source ports and the destination ports within the plurality of data logs with the one or more specific ports that are used by the server machines; and
assigning the machines associated with the source IP addresses or the destination IP addresses as the server machines based on the comparison.

### Claim 6 (depends on 5)

The method of claim 5, wherein each of the plurality of data logs further comprises a flag field, wherein the explicit information indicates one or more flags that identifies the machines as the server machines, and wherein determining the traffic direction for the first subset of the plurality of data logs comprises:
comparing the flag field within the plurality of data logs with the one or more flags that identifies the machines as the server machines; and
assigning the machines associated with the source IP addresses or the destination IP addresses as the server machines based on the comparison.

### Claim 7 (depends on 1)

The method of claim 1, wherein the source IP addresses and the destination IP addresses comprise a plurality of different IP addresses within the plurality of data logs, and wherein determining the frequency and/or the ports within the plurality of data logs comprises:
generating first data structures for each of the plurality of different IP addresses and/or port combinations, wherein each of the first data structures indicates a number of instances a particular machine associated with a particular IP address, from the plurality of different IP addresses, appears within the plurality of data logs; and
generating second data structures for each of the plurality of different IP addresses, wherein each of the second data structures indicates IP addresses and ports of a plurality of machines that the particular machine communicated with within the plurality of data logs.

### Claim 8 (depends on 7)

The method of claim 7, wherein each of the first data structures comprises a counter indicating the number of instances that the particular machine appears within the plurality of data logs, and wherein determining the frequency and/or ports within the plurality of data logs further comprises:
incrementing the counter by one each time the particular IP address and/or port combination appears within the plurality of data logs.

### Claim 9 (depends on 8)

The method of claim 8, wherein determining the frequency and/or ports within the plurality of data logs further comprises:
determining whether the particular machine identified by the particular IP address and/or port combination has previously been identified as a server machine or a client machine, and
wherein incrementing the counter is based on determining whether the particular machine identified by the particular IP address and/or port combination has previously been identified as the server machine or the client machine.

### Claim 10 (depends on 8)

The method of claim 8, wherein determining the frequency and/or the ports within the plurality of data logs further comprises:
determining that the particular IP address and/or port combination appears within a first data log and a second data log from the plurality of data logs; and
updating the second data structure for the particular IP address and/or port combination to indicate other IP addresses and ports associated with the other IP addresses within the first data log and the second data log.

### Claim 11 (depends on 7)

The method of claim 7, wherein determining the traffic direction associated with the plurality of data logs comprises:
sorting the plurality of IP addresses and/or port combinations based on the first data structures; and
determining the one or more server machines that expose the services based on the sorting.

### Claim 12 (depends on 11)

The method of claim 11, wherein determining the one or more server machines comprises:
determining, based on sorting the first data structures, a first IP address and/or port combination that most frequently appears within the plurality of data logs; and
determining that a first machine associated with the first IP address and/or port combination is the server machine.

### Claim 13 (depends on 12)

The method of claim 12, wherein determining the one or more server machines further comprises:
determining, based on the second data structure associated with the first IP address and/or port combination, one or more second machines identified by second IP addresses and/or port combinations that communicated with the first machine;
determining that the one or more second machines identified by the second IP address and/or port combinations are the client machines; and
deleting the first data structures and the second data structures associated with the second IP addresses and/or ports combinations.

### Claim 14 (depends on 13)

The method of claim 13, wherein determining the one or more server machines further comprises:
subsequent to deleting the first data structures and the second data structures associated with the one or more second machines, determining, based on the remaining first data structures, a third IP address and/or port combination that now most frequently appears within the plurality of data logs; and
determining that a third machine associated with the third IP address and/or port combination is the server machine.

### Claim 15

An enterprise organization cloud computing platform for determining traffic direction for a plurality of data logs, comprising:
one or more processors; and
a non-transitory computer-readable medium having processor-executable instructions stored thereon, wherein the processor-executable instructions, when executed by the one or more processors, facilitate:
obtaining the plurality of data logs associated with a cloud network, wherein each of the plurality of data logs are associated with communications between machines associated with the cloud network and indicate a source internet protocol (IP) address, a destination IP address, a source port, and a destination port;
determining a frequency of the source IP addresses and the destination IP addresses and/or ports associated with the source IP addresses and the destination IP addresses within the plurality of data logs; and
determining the traffic direction associated with the plurality of data logs based on the frequency of the source IP addresses and the destination IP addresses and/or the ports, wherein the traffic direction indicates one or more server machines that expose services to client machines associated with the cloud network.

### Claim 16 (depends on 15)

The enterprise organization cloud computing platform of claim 15, wherein the processor-executable instructions, when executed by the one or more processors, further facilitate:
determining one or more traffic rules based on the determined traffic direction, wherein the one or more traffic rules indicate communication restrictions to the one or more server machines; and
applying the one or more traffic rules to restrict communications to the one or more server machines.

### Claim 17 (depends on 16)

The enterprise organization cloud computing platform of claim 16, wherein applying the one or more traffic rules comprises:
blocking communications from a new client machine to the one or more server machines based on the one or more traffic rules and an IP address for the new client machine.

### Claim 18 (depends on 15)

The enterprise organization cloud computing platform of claim 15, wherein the processor-executable instructions, when executed by the one or more processors, further facilitate:
determining explicit information within a first subset of the plurality of data logs, and wherein determining the traffic direction comprises:
determining the traffic direction for the first subset of the plurality of data logs based on the explicit information; and
determining the traffic direction for a second subset of the plurality of data logs based on the frequency of the source IP addresses and the destination IP addresses within the plurality of data logs.

### Claim 19 (depends on 18)

The enterprise organization cloud computing platform of claim 18, wherein the explicit information indicates one or more specific ports that are used by the server machines, and wherein determining the traffic direction for the first subset of the plurality of data logs comprises:
comparing the source ports and the destination ports within the plurality of data logs with the one or more specific ports that are used by the server machines; and
assigning the machines associated with the source IP addresses or the destination IP addresses as the server machines based on the comparison.

### Claim 20

A non-transitory computer-readable medium having processor-executable instructions stored thereon, wherein the processor-executable instructions, when executed, facilitate:
obtaining a plurality of data logs associated with a cloud network, wherein each of the plurality of data logs are associated with communications between machines associated with the cloud network and indicate a source internet protocol (IP) address, a destination IP address, a source port, and a destination port;
determining a frequency of the source IP addresses and the destination IP addresses and/or ports associated with the source IP addresses and the destination IP addresses within the plurality of data logs; and
determining the traffic direction associated with the plurality of data logs based on the frequency of the source IP addresses and the destination IP addresses and/or the ports, wherein the traffic direction indicates one or more server machines that expose services to client machines associated with the cloud network.
