Devices such as firewalls are sometimes used to prevent individuals from accessing resources to which they are not authorized. As an example, members of the public may be entitled to access content served by a web server, but not authorized to access other services available on the server such as administrative tools. A firewall can enforce such policies, such as through a set of rules that include static information about the server such as an IP address.
Increasingly, businesses and other entities are using hosted computing resources instead of purchasing and maintaining computer hardware themselves. As one example, instead of maintaining a set of dedicated physical machines (e.g., to serve web pages), businesses run virtual machines on leased hardware. In such a scenario, if a particular physical machine fails, the virtual machine image(s) running on that physical machine can be migrated to a new physical machine. Unfortunately, the dynamic nature of virtual machine migration can pose problems for firewall rules which traditionally expect servers to be configured with static IP addresses.
Various embodiments of the invention are disclosed in the following detailed description and the accompanying drawings.
The invention can be implemented in numerous ways, including as a process; an apparatus; a system; a composition of matter; a computer program product embodied on a computer readable storage medium; and/or a processor, such as a processor configured to execute instructions stored on and/or provided by a memory coupled to the processor. In this specification, these implementations, or any other form that the invention may take, may be referred to as techniques. In general, the order of the steps of disclosed processes may be altered within the scope of the invention. Unless stated otherwise, a component such as a processor or a memory described as being configured to perform a task may be implemented as a general component that is temporarily configured to perform the task at a given time or a specific component that is manufactured to perform the task. As used herein, the term ‘processor’ refers to one or more devices, circuits, and/or processing cores configured to process data, such as computer program instructions.
A detailed description of one or more embodiments of the invention is provided below along with accompanying figures that illustrate the principles of the invention. The invention is described in connection with such embodiments, but the invention is not limited to any embodiment. The scope of the invention is limited only by the claims and the invention encompasses numerous alternatives, modifications and equivalents. Numerous specific details are set forth in the following description in order to provide a thorough understanding of the invention. These details are provided for the purpose of example and the invention may be practiced according to the claims without some or all of these specific details. For the purpose of clarity, technical material that is known in the technical fields related to the invention has not been described in detail so that the invention is not unnecessarily obscured.
Communications between ExampleCo's virtual servers 110-120 and resources outside of ACME Hosting's data center (e.g., communications from laptop 132 via network 128) pass through data appliance 102 placed at the perimeter of data center 126. Such communications may take place using any appropriate communication protocol such as Hypertext Transfer Protocol (HTTP), Secure Sockets Layer (SSL), and File Transfer Protocol (FTP). In the example shown in
As explained above, data appliance 102 is configured to enforce various policies. Such policies can apply to particular devices (e.g., virtual server 110), particular users, and/or groups (e.g., of devices or users). As one example, a policy can specify that access to virtual server 110 via HTTPS is permitted by anyone (including an arbitrary member of the public using laptop 132). As another example, a policy can specify that access to virtual server 116 via SSH is permitted by members of the Engineering group, and denied to anyone else. Other types of actions can also be specified, such as policies requiring that certain types of access be logged. Other types of policies can also be specified, as applicable, such as quality of service policies, instead of or in addition to access/security policies.
Also stored by data appliance 102 is a repository of mappings (144) between the unique device identifiers and the IP address of the devices. The mappings can be stored in a variety of forms, such as in a database or as a set of one or more flat files. One example of a mapping is: “ACME-VM-1::10.0.0.1” indicating that the IP address of the device having a unique identifier of “ACME-VM-1” (i.e., virtual machine 110) is “10.0.0.1.” Other information can also be included in the mapping as applicable, such as a timestamp at which the mapping was added (or updated). As will be described in more detail below, when the IP address of a particular device changes, the mapping in the repository is updated and any firewall rules involving the particular device are updated as well.
Other events can also be used to trigger the sending of document 500 to data appliance 102. For example, suppose virtual machine 118 is a virtualized desktop computer assigned to a member of the engineering group at ExampleCo. Each time the employee logs into virtual machine 118, a script executes that sends document 500 to data appliance 102.
At 604, data appliance 102 stores identifier 502 and IP address 504 in repository 144. As will be described in more detail below, in some embodiments the identity notification is received indirectly from the network device by data appliance 102, such as by an agent working in cooperation with the data appliance and/or device 110.
At 606, a policy is updated based on the received identity notification. As one example, at 606, the previously compiled version of policy 302 (332) is recompiled (362) using the updated IP address 366. In various embodiments, the identity notification is a push-type notification, and the receipt of a notification at 602 automatically triggers recompilation at 606 of any rules implicated by the received notification.
Finally, at 608, the updated policy is applied. As one example, when virtual machine 110 is migrated from host 106 to 108, users, such as a user of client 132, will be permitted to access virtual machine 110 via HTTPS at its new IP address.
When components such as agent 702 and directory service provider 704 are included in an environment, portions of the functionality provided by data appliance 102 can be replicated by the agent and/or directory service provider or may be provided by those components instead of being provided by data appliance 102. As one example, directory service provider 704 can be configured to provide API 412, with devices such as virtual machine 110 sending identity notifications to the directory service provider 704 instead of to data appliance 102. Similarly, directory service provider 704 can be configured to store repository 144 instead of the ID-to-IP address mappings being stored by data appliance 102. In such scenarios, data appliance 102 is configured to cooperate with directory service provider 704 (e.g., via agent 702) as needed to update and enforce policies when IP addresses of devices change.
Also included in the environment shown in
Although the foregoing embodiments have been described in some detail for purposes of clarity of understanding, the invention is not limited to the details provided. There are many alternative ways of implementing the invention. The disclosed embodiments are illustrative and not restrictive.
This application is a continuation of co-pending U.S. patent application Ser. No. 13/246,472, now U.S. Pat. No. 8,930,529, entitled POLICY ENFORCEMENT WITH DYNAMIC ADDRESS OBJECT filed Sep. 27, 2011 which is incorporated herein by reference for all purposes.
Number | Name | Date | Kind |
---|---|---|---|
5968176 | Nessett et al. | Oct 1999 | A |
6453419 | Flint et al. | Sep 2002 | B1 |
6826698 | Minkin et al. | Nov 2004 | B1 |
7016980 | Mayer et al. | Mar 2006 | B1 |
7900005 | Kotsovinos | Mar 2011 | B2 |
8364852 | Shukla et al. | Jan 2013 | B1 |
8495721 | Moody et al. | Jul 2013 | B1 |
20030149781 | Yared | Aug 2003 | A1 |
20050159969 | Sheppard | Jul 2005 | A1 |
20050198283 | Ramamoorthy et al. | Sep 2005 | A1 |
20070005801 | Kumar | Jan 2007 | A1 |
20070226249 | Kacin et al. | Sep 2007 | A1 |
20070250424 | Kothari | Oct 2007 | A1 |
20080172366 | Hannel et al. | Jul 2008 | A1 |
20090138938 | Harrison et al. | May 2009 | A1 |
20090199177 | Edwards | Aug 2009 | A1 |
20090249472 | Litvin | Oct 2009 | A1 |
20100107215 | Bechtel et al. | Apr 2010 | A1 |
20100287548 | Zhou | Nov 2010 | A1 |
20120173757 | Sanden | Jul 2012 | A1 |
20120311575 | Song | Dec 2012 | A1 |
20120317610 | Kashyap | Dec 2012 | A1 |
20130019277 | Chang et al. | Jan 2013 | A1 |
20130031544 | Sridharan et al. | Jan 2013 | A1 |
20130247207 | Hugard et al. | Sep 2013 | A1 |
Number | Date | Country | |
---|---|---|---|
20150200912 A1 | Jul 2015 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 13246472 | Sep 2011 | US |
Child | 14555469 | US |