# US 2017/0289294 A1 · Proxy application with dynamic filter updating

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

- Number: US 2017/0289294 A1
- Document ID: US20170289294A1
- Status: Published application
- Kind: A1
- Application number: 15/627,361
- Filed: 2017-06-19
- Published: 2017-10-05
- Earliest claimed: 2013-01-04
- Assignees: Netflix, Inc.
- Applicants: Netflix, Inc.
- Inventors: Michael Cohen; Benjamin Schmaus; Matthew Hawthorne; Benjamin Christensen; Daniel Jacobson
- Web page: https://patentgrep.com/patent/US20170289294A1

## CPC

- H04L 67/566: Grouping or aggregating service requests, e.g. for unified processing
- G06F 9/45516: {Runtime code conversion or optimisation}
- H04L 41/082: the condition being updates or upgrades of network functionality
- H04L 47/80: Actions related to the user profile or the type of traffic
- H04L 67/56: Provisioning of proxy services (store-and-forward switching systems in data switching networks H04L12/54)
- H04L 67/562: Brokering proxy services
- H04L 67/60: Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources (admission control or resource allocation H04L47/70)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The disclosure describes a proxy server application that supports the dynamic modification of proxy rules implemented by a proxy server. The proxy rules implemented by the proxy server specify network behaviors to be performed at various points during the handling of requests from client applications. A proxy server implements the proxy rules by processing one or more user-generated network traffic filters for managing network traffic. In an embodiment, users generate network traffic filters by creating network traffic filter source code that specify processing steps to be performed by a proxy server relative to network messages the proxy server receives. In an embodiment, user-generated network traffic filters may be added, removed, reordered, or otherwise modified in a proxy server application at runtime in order to respond to current network conditions or to achieve other desired proxy configurations.

## Claims

### Claim 1

A method, comprising:
receiving a first network message;
determining a first filter-chain to process based on the first network message, wherein the first filter-chain includes a plurality of network traffic filters;
determining an order for processing different network traffic filters included in the plurality of network traffic filters;
based on the order, selecting a first network traffic filter included in the plurality of network traffic filters to process;
determining that the first network message satisfies one or more first processing criteria associated with the first network filter; and
in response to determining that the one or more first processing criteria are satisfied, performing one or more operations associated with the first network traffic filter.

### Claim 2 (depends on 1)

The method of claim 1, wherein the order for processing the different network traffic filters included in the plurality of network traffic filters is based on one or more execution order values.

### Claim 3 (depends on 2)

The method of claim 2, wherein the execution order values are specified by the plurality of network traffic filters.

### Claim 4 (depends on 1)

The method of claim 1, further comprising, after causing the one or more actions associated with the first network traffic filter to be performed, selecting, based on the order, a second network traffic filter included in the plurality of network traffic filters to process.

### Claim 5 (depends on 4)

The method of claim 4, further comprising determining that the second network message satisfies one or more second processing criteria associated with the second network traffic filter, and, in response to determining that the one or more second processing criteria are satisfied, performing one or more operations associated with the second network traffic filter.

### Claim 6 (depends on 4)

The method of claim 4, further comprising determining that the first network message does not satisfy one or more second processing criteria associated with the second network traffic filter, and, in response to determining that the one or more second processing criteria are not satisfied, selecting, based on the order, a third network traffic filter included in the plurality of network traffic filters to process.

### Claim 7 (depends on 4)

The method of claim 4, further comprising determining that no other network traffic filters included in the plurality of network traffic filters are to be processed, and waiting to receive a second network message.

### Claim 8 (depends on 1)

The method of claim 1, wherein the first network message is received from a client.

### Claim 9 (depends on 8)

The method of claim 8, wherein the first filter-chain comprises a pre-processing filter-chain or a dispatch filter-chain.

### Claim 10 (depends on 9)

The method of claim 9, wherein the first filter chain comprises a dispatch filter-chain, and further comprising transmitting the first network message to a server once all applicable network traffic filters included in the plurality of network traffic filters have been processed.

### Claim 11 (depends on 1)

The method of claim 1, wherein the first network message is received from a server, and the first filter-chain comprises a post-processing filter-chain.

### Claim 12

A non-transitory computer-readable medium including instructions that, when executed by a processor, cause the processor to perform the steps of:
receiving a first network message;
determining a first filter-chain to process based on the first network message, wherein the first filter-chain includes at least a first network traffic filter and a second network traffic filter;
determining that the first network traffic filter is to be processed before the second network traffic filter;
selecting the first network traffic filter for processing;
determining that the first network message satisfies one or more first processing criteria associated with the first network filter; and
causing one or more actions associated with the first network traffic filter to be performed.

### Claim 13 (depends on 12)

The non-transitory computer-readable medium of claim 12, wherein determining that the first network traffic filter is to be processed before the second network traffic filter is based on one or more execution order values.

### Claim 14 (depends on 13)

The non-transitory computer-readable medium of claim 13, wherein the execution order values are specified by the first network traffic filter and the second network traffic filter.

### Claim 15 (depends on 12)

The non-transitory computer-readable medium of claim 12, further comprising, after causing the one or more actions associated with the first network traffic filter to be performed, selecting the second network traffic filter to process.

### Claim 16 (depends on 15)

The non-transitory computer-readable medium of claim 15, further comprising determining that the second network message satisfies one or more second processing criteria associated with the second network traffic filter, and, in response to determining that the one or more second processing criteria are satisfied, causing one or more operations associated with the second network traffic filter to be performed.

### Claim 17 (depends on 15)

The non-transitory computer-readable medium of claim 15, further comprising determining that the first network message does not satisfy one or more second processing criteria associated with the second network traffic filter, and, in response to determining that the one or more second processing criteria are not satisfied, selecting a third network traffic filter included in the first filter-chain to process.

### Claim 18 (depends on 15)

The non-transitory computer-readable medium of claim 15, further comprising determining that no other network traffic filters included in the first filter-chain are to be processed, and waiting to receive a second network message.

### Claim 19 (depends on 12)

The non-transitory computer-readable medium of claim 12, wherein the first network message is received from a client.

### Claim 20 (depends on 19)

The non-transitory computer-readable medium of claim 19, wherein the first filter-chain comprises a pre-processing filter-chain or a dispatch filter-chain.

### Claim 21 (depends on 20)

The non-transitory computer-readable medium of claim 20, wherein the first filter chain comprises a dispatch filter chain, and further comprising transmitting the first network message to a server once all applicable network traffic filters included in the first filter-chain have been processed.

### Claim 22 (depends on 12)

The non-transitory computer-readable medium of claim 12, wherein the first network message is received from a server, and the first filter-chain comprises a post-processing filter-chain.

### Claim 23

A computer system, comprising:
a memory that includes instructions; and
at least one processor that is couple to the memory and, when executing the instructions, is configured to:
receive a first network message;
determine a first filter-chain to process based on the first network message, wherein the first filter chain includes a plurality of network traffic filters;
determine that a first network traffic filter included in the plurality of network traffic filters is to be processed before a second network traffic filter included in the plurality of network traffic filters;
select the first network traffic filter for processing;
determine that the first network message satisfies one or more first processing criteria associated with the first network filter; and
cause one or more actions associated with the first network traffic filter to be performed.

### Claim 24 (depends on 2)

The computer system of claim 2e, wherein the instructions are included in a proxy server application that comprises a virtual machine.
