Embodiments of the present invention relate to a server, and more particularly, to an agent of a server.
A server running Windows operating system can include an agent that interfaces between the Windows operating system and another device such as a network appliance. However, secured communications between the agent and the network appliance may be restricted. As such the agent may not be able to execute commands from the network appliance.
A need therefore exists for a method to authenticate and secure communications between a server agent and a network appliance in order to allow arbitrary commands to be run on the server.
The present invention is illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
Described herein is a system comprising a server and a network appliance. The server includes an agent. The network appliance sends a request to the agent. The request includes an identification of a port. The agent negotiates a secured communication channel with the network appliance on the identified port to retrieve instructions from the network appliance. The instructions includes a command. The server executes the command and sends the results of the executed command to the network appliance on the initial HTTP channel.
Scout 104 may be a network appliance designed to provide monitoring services. It may act as a conduit to collect monitoring data or information on Windows server 110. Scout 104 collects monitoring data from Windows server 102 on a periodic basis. Scout 104 can run a variety of probes against Windows server 102, using common application protocols such as SNMP or HTTP to gather monitoring data. Scout 104 then packages this data and sends it to the remote monitoring server 108 over a secure connection at regular intervals. Scout 104 can also requests any updates to the configurations, probe definitions, etc. during this dial-home connection session.
In one embodiment, scout 104 may be a device including an operating system, a remote monitoring scout client, and scout provisioning and troubleshooting tools. Scout 104 may need to have an agent of the Windows server 102 run or execute arbitrary commands. As such a secured communication may be needed between the Windows server 102 and scout 102. In one embodiment, a dual-channel communication between the agent and the scout may be used to secure the communication.
Scout 204 sends an HTTP request to the agent 206 to connect back to scout 204 using HTTPS on a particular port for further instructions. Scout 204 starts an HTTPS server on the particular port for agent 206 to connect. In other words, scout 204 waits for a secured communication request from agent 206.
Agent 206 may act as an HTTP server waiting for a request from scout 204. Scout 204 may act as an HTTP client when it is sending the above request to agent 206.
Agent 206 may include a processing module 208 to perform the HTTPS request to scout 204 on the particular port. Thus, agent 206 may act as an HTTPS client sending the secured communication request on the particular port.
Agent 206 can authenticate scout 204 using the SSL certificate of scout 204. When Agent 206 successfully negotiates a secured communication channel with scout 204 on the particular port of the HTTPS server, agent 206 retrieve instructions from scout 204. The instructions may include arbitrary commands to be run by agent 206. Windows agent 206 executes the commands on Windows server 202 and sends the results of the executed commands to scout 204 on the original HTTP channel.
At 404, the agent establishes a secured communication channel with the scout at is acting as a HTTPS server. agent acts as a HTTPS client and negotiates the secured communication channel using the identified port to retrieve instructions from the scout. The instructions can include arbitrary commands to be run by the agent. At 406, agent reports the results of the executed commands on the server to the scout on the original HTTP connection.
In one embodiment, agent authenticates the scout with a SSL certificate of the scout. A secured communication engine performs the HTTPS request from the Windows agent to the scout. The secured communication engine could be part of the agent. In another embodiment, the secured communication engine could be an entirely separate program from agent.
The exemplary computer system 500 includes a processing device 502, a main memory 504 (e.g., read-only memory (ROM), flash memory, dynamic random access memory (DRAM) such as synchronous DRAM (SDRAM), a static memory 506 (e.g., flash memory, static random access memory (SRAM), etc.), and a data storage device 518, which communicate with each other via a bus 530.
Processing device 502 represents one or more general-purpose processing devices such as a microprocessor, central processing unit, or the like. More particularly, the processing device may be complex instruction set computing (CISC) microprocessor, reduced instruction set computing (RISC) microprocessor, very long instruction word (VLIW) microprocessor, or processor implementing other instruction sets, or processors implementing a combination of instruction sets. Processing device 502 may also be one or more special-purpose processing devices such as an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a digital signal processor (DSP), network processor, or the like. The processing device 502 is configured to execute the processing logic 526 for performing the operations and steps discussed herein.
The computer system 500 may further include a network interface device 508. The computer system 500 also may include a video display unit 510 (e.g., a liquid crystal display (LCD) or a cathode ray tube (CRT)), an alphanumeric input device 512 (e.g., a keyboard), a cursor control device 514 (e.g., a mouse), and a signal generation device 516 (e.g., a speaker).
The data storage device 518 may include a machine-accessible storage medium 530 on which is stored one or more sets of instructions (e.g., software 522) embodying any one or more of the methodologies or functions described herein. The software 522 may also reside, completely or at least partially, within the main memory 504 and/or within the processing device 502 during execution thereof by the computer system 500, the main memory 504 and the processing device 502 also constituting machine-accessible storage media. The software 522 may further be transmitted or received over a network 520 via the network interface device 508.
The machine-accessible storage medium 530 may also be used to store an agent 524 as described above. The agent 524 may also be stored in other sections of computer system 500, such as static memory 506.
While the machine-accessible storage medium 530 is shown in an exemplary embodiment to be a single medium, the term “machine-accessible storage medium” should be taken to include a single medium or multiple media (e.g., a centralized or distributed database, and/or associated caches and servers) that store the one or more sets of instructions. The term “machine-accessible storage medium” shall also be taken to include any medium that is capable of storing, encoding or carrying a set of instructions for execution by the machine and that cause the machine to perform any one or more of the methodologies of the present invention. The term “machine-accessible storage medium” shall accordingly be taken to include, but not be limited to, solid-state memories, optical and magnetic media, and carrier wave signals.
In the above description, numerous details are set forth. It will be apparent, however, to one skilled in the art, that the present invention may be practiced without these specific details. In some instances, well-known structures and devices are shown block diagram form, rather than in detail, in order to avoid obscuring the present invention.
Some portions of the detailed descriptions above are presented in terms of algorithms and symbolic representations of operations on data bits within a computer memory. These algorithmic descriptions and representations are the means used by those skilled in the data processing arts to most effectively convey the substance of their work to others skilled in the art. An algorithm is here, and generally, conceived to be a self-consistent sequence of steps leading to a desired result. The steps are those requiring physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of electrical or magnetic signals capable of being stored, transferred, combined, compared, and otherwise manipulated. It has proven convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, or the like.
It should be borne in mind, however, that all of these and similar terms are to associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless specifically stated otherwise as apparent from the following discussion, it is appreciated that throughout the description, discussions utilizing terms such as “processing” or “computing” or “calculating” or “determining” or “displaying” or the like, refer to the action and processes of a computer system, or similar electronic computing device, that manipulates and transforms data represented as physical (electronic) quantities within the computer system's registers and memories into other data similarly represented as physical quantities within the computer system memories or registers or other such information storage, transmission or display devices.
The present invention also relates to apparatus for performing the operations herein. This apparatus may be specially constructed for the required purposes, or it may comprise a general purpose computer selectively activated or reconfigured by a computer program stored in the computer. Such a computer program may be stored in a computer readable storage medium, such as, but is not limited to, any type of disk including floppy disks, optical disks, CD-ROMs, and magnetic-optical disks, read-only memories (ROMs), random access memories (RAMs), EPROMs, EEPROMs, magnetic or optical cards, or any type of media suitable for storing electronic instructions, and each coupled to a computer system bus.
The algorithms and displays presented herein are not inherently related to any particular computer or other apparatus. Various general purpose systems may be used with programs in accordance with the teachings herein, or it may prove convenient to construct more specialized apparatus to perform the required method steps. The required structure for a variety of these systems will appear from the description below. In addition, the present invention is not described with reference to any particular programming language. It will be appreciated that a variety of programming languages may be used to implement the teachings of the invention as described herein.
It is to be understood that the above description is intended to be illustrative, and not restrictive. Many other embodiments will be apparent to those of skill in the art upon reading and understanding the above description. The scope of the invention should, therefore, be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled.
Number | Name | Date | Kind |
---|---|---|---|
20030191935 | Ferguson | Oct 2003 | A1 |
20030233540 | Banerjee et al. | Dec 2003 | A1 |
20040258040 | Joshi et al. | Dec 2004 | A1 |
20050076126 | Knight et al. | Apr 2005 | A1 |
20060064736 | Ahuja et al. | Mar 2006 | A1 |
20060095772 | Bell et al. | May 2006 | A1 |
20060143301 | Merkh et al. | Jun 2006 | A1 |
20070220141 | Primm et al. | Sep 2007 | A1 |
20080082677 | Miyazawa et al. | Apr 2008 | A1 |
20080127322 | McCall et al. | May 2008 | A1 |
Number | Date | Country | |
---|---|---|---|
20090138602 A1 | May 2009 | US |