Transferring command-lines as a message
First Claim
1. In a networking computing system, a method of remotely operating a shell process by transferring commands as a message based protocol rather than as a character-oriented transmission, the method comprising:
- identifying at a client a command to be executed remotely in a command-line shell by a command-line shell processor, which processes commands as atomic units that include one or more of a command name and one or more switches;
validating at the client the command by comparing the command against an access control list;
creating at the client an execution message for attaching the command as a structured atomic unit thereto when requesting execution of the command by the remote command-line shell processor; and
sending from the client the execution message to the remote command-line shell processor for processing the command as a structured atomic unit, without sending the execution message on a character-by-character basis,wherein the validating at the client occurs before the sending from the client the execution message to the remote command-line shell processor; and
the execution message being capable of including multiple commands, wherein adata exchange between the client and the remote command-line shell processor comprises one or more streams of data of dedicated input and output messages segregated from one or more of the multiple commands, wherein the dedicated input messages are sent by the client, and the dedicated output messages are received by the client as a result of the execution of one or more commands at the remote command-line shell processor.
2 Assignments
0 Petitions
Accused Products
Abstract
Embodiments described herein are based on the principle that shells execute commands as units of characters. Accordingly, embodiments herein provide for a sending side with enough intelligence to isolate each command, examine it, perform some levels of validation, and deliver a structured representation of the command to the remote processor before doing any network operations. More specifically, embodiments herein provided for a mechanism of identifying a command and encapsulating the command into a single message (e.g., a SOAP, HTTPS, or other type message), which is then sent to a remote shell for processing as an entire unit. Accordingly, embodiments herein treat the command as a single unit, rather than as a character-oriented transmission.
-
Citations
20 Claims
-
1. In a networking computing system, a method of remotely operating a shell process by transferring commands as a message based protocol rather than as a character-oriented transmission, the method comprising:
-
identifying at a client a command to be executed remotely in a command-line shell by a command-line shell processor, which processes commands as atomic units that include one or more of a command name and one or more switches; validating at the client the command by comparing the command against an access control list; creating at the client an execution message for attaching the command as a structured atomic unit thereto when requesting execution of the command by the remote command-line shell processor; and sending from the client the execution message to the remote command-line shell processor for processing the command as a structured atomic unit, without sending the execution message on a character-by-character basis, wherein the validating at the client occurs before the sending from the client the execution message to the remote command-line shell processor; and the execution message being capable of including multiple commands, wherein a data exchange between the client and the remote command-line shell processor comprises one or more streams of data of dedicated input and output messages segregated from one or more of the multiple commands, wherein the dedicated input messages are sent by the client, and the dedicated output messages are received by the client as a result of the execution of one or more commands at the remote command-line shell processor. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. In a networking computing system, a method of executing command-lines received as a message based protocol rather than as a character-oriented transmission, the method comprising:
-
receiving an execution message sent from a client at a command-line shell processor that includes a command, which comprises one or more of a command name and one or more switches, wherein the execution message is not sent on a character-by-character basis from the client, the command being validated before being received in the execution message at the command-line shell processor; extracting the command from the execution message as a structured atomic unit; and automatically executing the command as a structured atomic unit by the command-line shell processor; and the execution message being capable of including multiple commands, wherein a data exchange between the client and the command-line shell processor comprises one or more streams of data of dedicated input and output messages segregated from one or more of the multiple commands, wherein the dedicated input messages are received by the command-line shell processor, and the dedicated output messages are sent by the command-line shell processor as a result of the execution of one or more commands at the command-line shell processor. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. In a networking computing system, a computer program product used in implementing a method of remotely operating a shell process by transferring commands as a message based protocol rather than as a character-oriented transmission, the computer program product comprising one or more computer readable storage media not consisting of a signal per se having stored thereon computer executable instructions that, when executed by a processor, can cause the networking computing system to perform the following:
-
identify at a client a command to be executed remotely in a command-line shell by a command-line shell processor, which processes commands as atomic units that includes one or more of a command name and one or more switches; validate at the client the command by comparing the command against an access control list; create at the client an execution message for attaching the command as a structured atomic unit thereto when requesting execution of the command by the remote command-line shell processor; and send from the client the execution message to the remote command-line shell processor for processing the command as a structured atomic unit, without sending the execution message on a character-by-character basis, wherein the command is validated at the client before the execution message including the command is sent from the client to the remote command-line shell processor; and the execution message being capable of including multiple commands, wherein a data exchange between the client and the remote command-line shell processor comprises one or more streams of data of dedicated input and output messages segregated from one or more of the multiple commands, wherein the dedicated input messages are sent by the client, and the dedicated output messages are received by the client as a result of the execution of one or more commands at the remote command-line shell processor. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification