# US 8,280,955 B1 · Systems and methods for handling client-server communications

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

- Number: US 8,280,955 B1
- Document ID: US8280955B1
- Status: Granted
- Kind: B1
- Application number: 12/836,818
- Filed: 2010-07-15
- Granted: 2012-10-02
- Earliest claimed: 2010-07-15
- Assignees: Symantec Corporation
- Inventors: Prabhat Tyagi; Hetal Rach; Poornachandra Rao Presala
- Web page: https://patentgrep.com/patent/US8280955B1

## CPC

- G06F 21/606: {by securing the transmission between two devices or processes}
- H04L 67/563: Data redirection of data network streams
- G06F 2221/2103: Challenge-response
- H04L 63/08: {for authentication of entities (cryptographic mechanisms or cryptographic arrangements for entity authentication H04L9/32)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A computer-implemented method for handling client-server communications. The method may include 1) receiving, at a client system, a first command whose execution involves sending a first request to a server from a first transitory process associated with the first command; 2) initializing, on the client system, a communication proxy configured to relay communications between the server and transitory processes on the client system; 3) establishing a connection between the communication proxy and the server; 4) authenticating the communication proxy with the server; 5) establishing an inter-process communication channel configured to enable communication between the communication proxy and the transitory processes; 6) sending the first request from the first transitory process to the communication proxy over the inter-process communication channel; and 7) relaying the first request to the server via the connection between the communication proxy and the server. Various other methods, systems, and computer-readable media are also disclosed.

## Claims

### Claim 1

A computer-implemented method for handling client-server communications, at least a portion of the method being performed by a computing device comprising at least one processor, the method comprising:
receiving, at a client system, a first command whose execution involves sending a first request to a server from a first transitory process associated with the first command, wherein the first command is received from a user;
initializing, on the client system, a communication proxy configured to relay communications between the server and transitory processes on the client system;
establishing a connection between the communication proxy and the server;
authenticating the communication proxy with the server by sending credentials of the user to the server;
establishing an inter-process communication channel configured to enable communication between the communication proxy and the transitory processes;
applying at least one access control restriction to the inter-process communication channel to prevent unauthorized access to the inter-process communication channel;
sending the first request from the first transitory process to the communication proxy over the inter-process communication channel;
relaying the first request to the server via the connection between the communication proxy and the server.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising:
receiving, at the client system, a second command whose execution involves sending a second request to the server from a second transitory process associated with the second command;
determining that the communication proxy is running on the client system;
sending the second request from the second transitory process to the communication proxy over the inter-process communication channel;
relaying the second request to the server via the connection between the communication proxy and the server.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein sending the first request from the first transitory process to the communication proxy over the inter-process communication channel comprises accessing the inter-process communication channel using a file system on the client system, the inter-process communication channel being referenced by an inter-process communication file.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3, further comprising generating the inter-process communication file based on at least one of:
a user account on the client system, the first command having been received under the user account on the client system;
a user account on the server used to authenticate the communication proxy with the server;
an authentication service used to authenticate the communication proxy with the server.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, further comprising detecting at least one of the following:
modification of the inter-process communication channel;
removal of the inter-process communication channel;
modification of the access control restriction.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, further comprising performing, based on the detecting, at least one of the following:
closing the connection between the communication proxy and the server;
reestablishing the connection between the communication proxy and the server;
stopping the communication proxy;
reinitializing the communication proxy;
closing the inter-process communication channel;
reestablishing the inter-process communication channel.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, further comprising:
receiving, at the communication proxy, a response to the first request from the server via the connection between the communication proxy and the server;
relaying the response to the first transitory process over the inter-process communication channel.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, further comprising closing the connection between the communication proxy and the server after a predefined time interval.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein the first transitory process initializes the communication proxy.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, wherein the inter-process communication channel comprises at least one of:
a named pipe;
a memory-mapped file;
a Unix domain socket.

### Claim 11

A system for handling client-server communications, the system comprising:
a communication proxy programmed to relay communications between a server and transitory processes on a client system;
an initialization module programmed to initialize, on the client system, the communication proxy;
a communication-channel-management module programmed to:
establish a connection between the communication proxy and the server;
authenticate the communication proxy with the server by sending credentials of a user to the server;
establish an inter-process communication channel configured to enable communication between the communication proxy and the transitory processes;
apply at least one access control restriction to the inter-process communication channel to prevent unauthorized access to the inter-process communication channel;
a request-identification module programmed to receive, at the client system, a first command whose execution involves sending a first request to the server from a first transitory process associated with the first command, wherein the first command is received from the user;
a request-dispatch module programmed to send the first request from the first transitory process to the communication proxy over the inter-process communication channel;
a communication-routing module programmed to relay the first request to the server via the connection between the communication proxy and the server;
at least one processor configured to execute the initialization module, the communication-channel-management module, the request-identification module, the request-dispatch module, and the communication-routing module.

### Claim 12 (depends on 11)

The system of claim 11, wherein:
the request-identification module is further programmed to receive, at the client system, a second command whose execution involves sending a second request to the server from a second transitory process associated with the second command;
the initialization module is further programmed to determine that the communication proxy is running on the client system;
the request-dispatch module is further programmed to send the second request from the second transitory process to the communication proxy over the inter-process communication channel;
the communication-routing module is further programmed to relay the second request to the server via the connection between the communication proxy and the server.

### Claim 13 (depends on 11)

The system of claim 11, wherein:
the request-dispatch module is further programmed to send the first request from the first transitory process to the communication proxy over the inter-process communication channel by accessing the inter-process communication channel using a file system on the client system, the inter-process communication channel being referenced by an inter-process communication file.

### Claim 14 (depends on 13)

The system of claim 13, wherein:
the communication-channel-management module is further programmed to generate the inter-process communication file based on at least one of:
a user account on the client system, the first command having been received under the user account on the client system;
a user account on the server used to authenticate the communication proxy with the server;
an authentication service used to authenticate the communication proxy with the server.

### Claim 15 (depends on 11)

The system of claim 11, wherein the communication-channel-management module is further programmed to detect at least one of the following:
modification of the inter-process communication channel;
removal of the inter-process communication channel;
modification of the access control restriction.

### Claim 16

A non-transitory computer-readable medium comprising one or more computer-executable instructions that, when executed by a computing device, cause the computing device to:
receive, at a client system, a first command whose execution involves sending a first request to a server from a first transitory process associated with the first command, wherein the first command is received from a user;
initialize, on the client system, a communication proxy configured to relay communications between the server and transitory processes on the client system;
establish an inter-process communication channel configured to enable communication between the communication proxy and the transitory processes;
apply at least one access control restriction to the inter-process communication channel to prevent unauthorized access to the inter-process communication channel;
establish a connection between the communication proxy and the server;
authenticate the communication proxy with the server by sending credentials of the user to the server;
send the first request from the first transitory process to the communication proxy over the inter-process communication channel;
relay the first request to the server via the connection between the communication proxy and the server.
