# US 2003/0200332 A1 · Method and apparatus for dynamic proxy insertion in network traffic flow

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

- Number: US 2003/0200332 A1
- Document ID: US20030200332A1
- Status: Published application
- Kind: A1
- Application number: 10/397,158
- Filed: 2003-03-25
- Published: 2003-10-23
- Earliest claimed: 1999-07-29
- Assignees: Sun Microsystems, Inc.
- Inventors: Amit Gupta; Geoffrey Baehr
- Web page: https://patentgrep.com/patent/US20030200332A1

## CPC

- H04L 67/561: Adding application-functional data or data for application control, e.g. adding metadata
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 67/63: Routing a service request depending on the request content or context
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

In embodiments of the invention, a method and apparatus for dynamic proxy insertion in network traffic path is described. According to one or more embodiments of the invention, a request and/or response message may be modified to include one or more thru-proxy tags to identify a network (or traffic) node (e.g., a proxy, server, or intermediary). For example, a request directed to a server or a response directed to a client may be altered to insert a plurality of intermediate or final destination designations. In so doing, a path of a request or response may be altered dynamically. A thru-proxy tag in a response may be inserted in a related request to identify a destination or node such that the request is sent to the destination in the thru-proxy tag before being sent to an origin server. Thru-proxy tags may be used to identify multiple and/or alternate destinations.

## Claims

### Claim 1

In a computer system, a method of dynamically inserting a node in network traffic flow comprising:
designating a plurality of intermediary network nodes in a response to a first request;
designating at least one of said plurality of intermediary network nodes in a second request when said second request is related to said response.

### Claim 2 (depends on 1)

The method of claim 1 wherein said second request identifies an origin node, said method further comprising:
directing said second request to said at least one of said plurality of intermediary network nodes before sending said second request to said origin node.

### Claim 3 (depends on 1)

The method of claim 1 further comprising:
said at least one of said plurality of intermediary network node deleting its designation in said second request.

### Claim 4 (depends on 1)

The method of claim 1 wherein said plurality of intermediary network nodes comprise at least two intermediary network node designations, said method further comprising:
directing said second request to said at least two intermediary network node desginations according to an order of designation in said second request.

### Claim 5 (depends on 1)

The method of claim 1 wherein said plurality of intermediary network nodes comprise at least two intermediary network node designations, said method further comprising:
directing said second request to one of said at least two intermediary network nodes designations in the alternative.

### Claim 6 (depends on 1)

The method of claim 1 wherein designating a plurality of intermediary network nodes in a response further comprises:
designating one of said plurality of intermediary network nodes in said response as a default intermediary network node;
designating another of said plurality of intermediary network nodes in said response as an override intermediary network node.

### Claim 7 (depends on 6)

The method of claim 6 wherein said override intermediary network node is related to a portion of said response, said designating at least one of said plurality of intermediary network nodes in a second request further comprises:
designating said override intermediary node in said second request when said second request is associated with said portion of said response;
designating said default intermediary network node in said second request when said second request is not associated with said portion of said response.

### Claim 8 (depends on 1)

The method of claim 1 wherein each of said plurality of intermediary network nodes in a response to a first request identify a communications protocol, said designating at least one of said plurality of intermediary network nodes in a second request when said second request is related to said response further comprises:
determining a communications protocol of said first request;
including one of said plurality of intermediary network nodes in said response associated with said communications protocol of said first request.

### Claim 9

A system comprising:
a first network node configured to generate a response to a first request, said response including a plurality of intermediary network node designations;
a second network node configured to receive said response and to generate a plurality of requests related to said response, said second network node configured to include at least one of said plurality of intermediary network node designations in said plurality of requests.

### Claim 10 (depends on 9)

The system of claim 9 wherein said plurality of intermediary network node designations are alternatives of each other.

### Claim 11 (depends on 9)

The system of claim 9 wherein one of said plurality of intermediary network node designations is a default and the remainder of said plurality of intermediary network node designation are capable of overriding said default.

### Claim 12 (depends on 9)

The system of claim 9 wherein a third network node is designated as said at least one of said plurality of intermediary network node designations in one of said plurality of requests, said system further comprising:
said third network node configured to remove said at least one of said plurality of intermediary network node designations from said one of said plurality of requests.

### Claim 13

A computer program product comprising:
a computer usable medium having computer readable program code embodied therein configured to dynamically insert a network node comprising:
computer readable program code configured to cause a computer to designate a plurality of intermediary network nodes in a response to a first request;
computer readable program code configured to cause a computer to designate at least one of said plurality of intermediary network nodes in a second request when said second request is related to said response.

### Claim 14 (depends on 13)

The computer program product of claim 13 wherein said second request identifies an origin node, said computer program product further comprising:
computer readable program code configured to cause a computer to direct said second request to said at least one of said plurality of intermediary network nodes before sending said second request to said origin node.

### Claim 15 (depends on 13)

The computer program product of claim 13 further comprising:
computer readable program code configured to cause said at least one of said plurality of network nodes to delete its designation in said second request.

### Claim 16 (depends on 13)

The computer program product of claim 13 wherein said plurality of intermediary network nodes comprise at least two intermediary network node designations, said computer program product further comprising:
computer readable program code configured to cause a computer to direct said second request to said at least two intermediary network node desginations according to an order of designation in said second request.

### Claim 17 (depends on 13)

The computer program product of claim 13 wherein said plurality of intermediary network nodes comprise at least two intermediary network node designations, said computer program product further comprising:
computer readable program code configured to cause a computer to direct said second request to one of said at least two intermediary network nodes designations in the alternative.

### Claim 18 (depends on 13)

The computer program product of claim 13 wherein computer readable program code configured to cause a computer to designate a plurality of intermediary network nodes in a response further comprises:
computer readable program code configured to cause a computer to designate one of said plurality of intermediary network nodes in said response as a default intermediary network node;
computer readable program code configured to cause a computer to designate another of said plurality of intermediary network nodes in said response as an override intermediary network node.

### Claim 19 (depends on 18)

The computer program product of claim 18 wherein said override intermediary network node is related to a portion of said response, said computer readable program code configured to cause a computer to designate at least one of said plurality of intermediary network nodes in a second request further comprises:
computer readable program code configured to cause a computer to designate said override intermediary node in said second request when said second request is associated with said portion of said response;
computer readable program code configured to cause a computer to designate said default intermediary network node in said second request when said second request is not associated with said portion of said response.

### Claim 20 (depends on 13)

The computer program product of claim 13 wherein each of said plurality of intermediary network nodes in a response to a first request identify a communications protocol, said computer readable program code configured to cause a computer to designate at least one of said plurality of intermediary network nodes in a second request when said second request is related to said response further comprises:
computer readable program code configured to cause a computer to determine a communications protocol of said first request;
computer readable program code configured to cause a computer to include one of said plurality of intermediary network nodes in said response associated with said communications protocol of said first request.
