The present invention relates to data center infrastructure, and more particularly, this invention relates to providing deep packet inspection services to virtual overlay network traffic in a data center.
Virtual Overlay Networks, such as virtual extensible local area network (VXLAN), distributed overlay virtualization Ethernet (DOVE), and others, use protocol headers that are encapsulated in packets on top of the original network packet to create location transparency. Due to the additional encapsulation protocol headers, it is not possible for existing or legacy Inter-Networking Elements (INEs), such as physical infrastructure routers and switches, among others, to determine information from within the original packet. This is because the original packet inside of the overlay protocol headers is encapsulated as a traditional data payload to the legacy INEs. Furthermore, this lack of visibility of the original packet prevents INEs from implementing sophisticated network security and services.
Protocols like VXLAN use User Datagram Protocol/Internet Protocol (UDP/IP) to encapsulate the original Ethernet packet for transmission over physical networks. The original Ethernet packets are tunneled through the network from an originator to a nearest VXLAN gateway. VXLAN gateways connect virtual networks to non-virtual networks (legacy networks having physical components). Since VXLAN gateways understand (are capable of processing) VXLAN protocol and tunnels, they have the capability to identify the encapsulated packets.
Furthermore, virtual machines (VMs) in an overlay network, such as a VXLAN or DOVE network, that belong to a common tenant (e.g., a single user of the network resources, such as a company, agency, individual, etc.) may be sorted into groups (such as virtual networks having different virtual network identifiers (VNIDs) in VXLAN, domains having different domain identifiers or DOVE Virtual Groups (DVG) in DOVE) such that security policy rules may be applied governing communications between VMs which belong to different groups. A typical method to apply security policy is to use physical security appliances that are accessible on the network and which have the ability to apply specific security services.
Therefore, in order to apply security services to overlay network traffic, the traffic must be routed to the physical security appliances. However, the intermediate network devices, such as switches, routers, etc., do not have visibility inside of the overlay traffic, and therefore do not understand that some traffic should be routed to the physical security appliances while other traffic should be routed directly to its designated destination address.
Therefore, a method and network architecture which allowed for proper overlay traffic that needs security services applied to be routed to the physical security appliances while directly routing other traffic between the source and destination VMs would be very beneficial.
In one embodiment, an apparatus includes a processor and logic integrated with and/or executable by the processor. The logic is configured to communicate with a first physical switch, a second physical switch, and an overlay network that connects the first physical switch to the second physical switch. The logic is also configured to receive a request for a communication path through the overlay network for a particular packet, the request including at least the packet, first information about a source of the packet, the source of the packet being connected to the first physical switch, and second information about a most closely connected physical switch to a destination of the packet. Moreover, the logic is configured to determine the destination of the packet, the destination of the packet being connected to the second physical switch. Also, the logic is configured to determine whether to apply a security policy to the packet.
In another embodiment, a computer program product includes a computer readable storage medium having program instructions embodied therewith. The computer readable storage medium is not a transitory signal per se. The embodied program instructions are readable/executable by a processor to cause the processor to communicate, by the processor, with a first physical switch, a second physical switch, and an overlay network that connects the first physical switch to the second physical switch. Also, the embodied program instructions are readable/executable by the processor to cause the processor to receive, by the processor, a request for a communication path through the overlay network for a particular packet, the request including at least the packet, first information about a source of the packet, the source of the packet being connected to the first physical switch, and second information about a most closely connected physical switch to a destination of the packet. Moreover, the embodied program instructions are readable/executable by the processor to cause the processor to determine, by the processor, the destination of the packet, the destination of the packet being connected to the second physical switch. Additionally, the embodied program instructions are readable/executable by the processor to cause the processor to determine, by the processor, whether to apply a security policy to the packet.
Other aspects and embodiments of the present invention will become apparent from the following detailed description, which, when taken in conjunction with the drawings, illustrate by way of example the principles of the invention.
The following description is made for the purpose of illustrating the general principles of the present invention and is not meant to limit the inventive concepts claimed herein. Further, particular features described herein can be used in combination with other described features in each of the various possible combinations and permutations.
Unless otherwise specifically defined herein, all terms are to be given their broadest possible interpretation including meanings implied from the specification as well as meanings understood by those skilled in the art and/or as defined in dictionaries, treatises, etc.
It must also be noted that, as used in the specification and the appended claims, the singular forms “a,” “an,” and “the” include plural referents unless otherwise specified.
In one general embodiment, a method for applying security policy in an overlay network includes receiving a request for a communication path through an overlay network, the request being sent from a first physical switch in the overlay network, wherein the first physical switch is connected to a source of the packet, and wherein the request includes at least: a packet, first information, and second information; determining a second physical switch which is connected to a destination of the packet, determining whether a security policy is to be applied to the packet based on at least one of: contents of the packet, the first information, and the second information, selecting a communication path between the first physical switch and the second physical switch, wherein the selected communication path directly connects the first physical switch to the second physical switch when it is determined to not apply the security policy to the packet, and wherein the selected communication path connects the first physical switch to the second physical switch via the security appliance when it is determined to apply the security policy to the packet, and sending the selected communication path to the first physical switch.
In another general embodiment, a system includes an overlay network connecting a first physical switch to a second physical switch, a switch controller in communication with the first physical switch and the second physical switch, a security appliance adapted for applying a security policy to packets sent thereto via the overlay network, at least a first server connected to the first physical switch, the first server hosting at least a source virtual machine (VM), at least a second server connected to the second physical switch, the second server hosting at least a destination VM, and a virtual network controller in communication with at least the first physical switch, the second physical switch, and the overlay network, wherein the virtual network controller includes logic adapted for receiving a request for a communication path through the overlay network, the request being sent from the first physical switch and including at least: a packet, first information about the source VM which originated the packet, and second information about a destination of the packet; logic adapted for determining the destination of the packet which is connected to the second physical switch, logic adapted for determining whether a security policy is to be applied to the packet based on at least one of: contents of the packet, the first information, and the second information, logic adapted for selecting a communication path between the first physical switch and the second physical switch, wherein the selected communication path directly connects the first physical switch to the second physical switch when it is determined to not apply the security policy to the packet, and wherein the selected communication path connects the first physical switch to the second physical switch via the security appliance when it is determined to apply the security policy to the packet. and logic adapted for sending the selected communication path to the first physical switch.
In yet another general embodiment, a computer program product for applying security policy in an overlay network includes a computer readable storage medium having computer readable program code embodied therewith, the computer readable program code including computer readable program code configured for receiving a request for a communication path through an overlay network, the request being sent from a first physical switch in the overlay network, wherein the first physical switch is connected to a source of the packet, and wherein the request includes at least: a packet, first information, and second information; computer readable program code configured for determining a second physical switch which is connected to a destination of the packet, computer readable program code configured for determining whether a security policy is to be applied to the packet based on at least one of: contents of the packet, the first information, and the second information, computer readable program code configured for selecting a communication path between the first physical switch and the second physical switch, wherein the selected communication path directly connects the first physical switch to the second physical switch when it is determined to not apply the security policy to the packet, and wherein the selected communication path connects the first physical switch to the second physical switch via the security appliance when it is determined to apply the security policy to the packet, and computer readable program code configured for sending the selected communication path to the first physical switch.
According to yet another general embodiment, a virtual network controller includes logic adapted for receiving a request for a communication path through an overlay network connecting a first physical switch and a second physical switch, the request being sent from the first physical switch and including at least: a packet, first information about a source of the packet, and second information about a destination of the packet; logic adapted for determining the destination of the packet which is connected to the second physical switch, logic adapted for determining whether a security policy is to be applied to the packet based on at least one of: contents of the packet, the first information, and the second information, logic adapted for selecting a communication path between the first physical switch and the second physical switch, wherein the selected communication path directly connects the first physical switch to the second physical switch when it is determined to not apply the security policy to the packet, and wherein the selected communication path connects the first physical switch to the second physical switch via a security appliance when it is determined to apply the security policy to the packet, and logic adapted for sending the selected communication path to the first physical switch, wherein the virtual network controller adheres to distributed overlay virtual Ethernet (DOVE) standards.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or computer program product. Accordingly, aspects of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as “logic,” a “circuit,” “module,” or “system.” Furthermore, aspects of the present invention may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon.
Any combination of one or more computer readable medium(s) may be utilized. The computer readable medium may be a computer readable signal medium or a non-transitory computer readable storage medium. A non-transitory computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the non-transitory computer readable storage medium include the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a portable compact disc read-only memory (CD-ROM), a Blu-Ray disc read-only memory (BD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a non-transitory computer readable storage medium may be any tangible medium that is capable of containing, or storing a program or application for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a non-transitory computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device, such as an electrical connection having one or more wires, an optical fiber, etc.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, radio frequency (RF), etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++, or the like, and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on a user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer or server may be connected to the user's computer through any type of network, including a local area network (LAN), storage area network (SAN), and/or a wide area network (WAN), any virtual networks, or the connection may be made to an external computer, for example through the Internet using an Internet Service Provider (ISP).
Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatuses (systems), and computer program products according to various embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, may be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer readable medium that may direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
In use, the gateway 101 serves as an entrance point from the remote networks 102 to the proximate network 108. As such, the gateway 101 may function as a router, which is capable of directing a given packet of data that arrives at the gateway 101, and a switch, which furnishes the actual path in and out of the gateway 101 for a given packet.
Further included is at least one data server 114 coupled to the proximate network 108, and which is accessible from the remote networks 102 via the gateway 101. It should be noted that the data server(s) 114 may include any type of computing device/groupware. Coupled to each data server 114 is a plurality of user devices 116. Such user devices 116 may include a desktop computer, laptop computer, handheld computer, printer, and/or any other type of logic-containing device. It should be noted that a user device 111 may also be directly coupled to any of the networks, in some embodiments.
A peripheral 120 or series of peripherals 120, e.g., facsimile machines, printers, scanners, hard disk drives, networked and/or local storage units or systems, etc., may be coupled to one or more of the networks 104, 106, 108. It should be noted that databases and/or additional components may be utilized with, or integrated into, any type of network element coupled to the networks 104, 106, 108. In the context of the present description, a network element may refer to any component of a network.
According to some approaches, methods and systems described herein may be implemented with and/or on virtual systems and/or systems which emulate one or more other systems, such as a UNIX system which emulates an IBM ziOS environment, a UNIX system which virtually hosts a MICROSOFT WINDOWS environment, a MICROSOFT WINDOWS system which emulates an IBM z/OS environment, etc. This virtualization and/or emulation may be enhanced through the use of VMWARE software, in some embodiments.
In more approaches, one or more networks 104, 106, 108, may represent a cluster of systems commonly referred to as a “cloud.” In cloud computing, shared resources, such as processing power, peripherals, software, data, servers, etc., are provided to any system in the cloud in an on-demand relationship, thereby allowing access and distribution of services across many computing systems. Cloud computing typically involves an Internet connection between the systems operating in the cloud, but other techniques of connecting the systems may also be used, as known in the art.
The workstation shown in
The workstation may have resident thereon an operating system such as the MICROSOFT WINDOWS Operating System (OS), a MAC OS, a UNIX OS, etc. It will be appreciated that a preferred embodiment may also be implemented on platforms and operating systems other than those mentioned. A preferred embodiment may be written using JAVA, XML, C, and/or C++ language, or other programming languages, along with an object oriented programming methodology. Object oriented programming (OOP), which has become increasingly used to develop complex applications, may be used.
Referring now to
In order to virtualize network services, other than simply providing a fabric communication path (connectivity) between devices, services may be rendered on packets as they move through the gateway 314 which provides routing and forwarding for packets moving between the non-virtual network(s) 312 and the Virtual Network A 304 and Virtual Network B 306. The one or more virtual networks 304, 306 exist within a physical (real) network infrastructure 302. The network infrastructure 302 may include any components, hardware, software, and/or functionality typically associated with and/or used in a network infrastructure, including, but not limited to, switches, connectors, wires, circuits, cables, servers, hosts, storage media, operating systems, applications, ports, I/O, etc., as would be known by one of skill in the art. This network infrastructure 302 supports at least one non-virtual network 312, which may be a legacy network.
Each virtual network 304, 306 may use any number of virtual machines (VMs) 308, 310. In one embodiment, Virtual Network A 304 includes one or more VMs 308, and Virtual Network B 306 includes one or more VMs 310. As shown in
According to one embodiment, the overlay network 300 may include one or more cell switched domain scalable fabric components (SFCs) interconnected with one or more distributed line cards (DLCs).
By having a “flat switch” architecture, the plurality of VMs may move data across the architecture easily and efficiently. It is very difficult for VMs, generally, to move across Layer-3 (L3) domains, between one subnet to another subnet, internet protocol (IP) subnet to IP subnet, etc. But if it the architecture is similar to a large flat switch, in a very large Layer-2 (L2) domain, then the VMs are aided in their attempt to move data across the architecture.
Each of the servers 422 may comprise a virtual switch 424 (that is capable of communicating with the directory service 404, such as DOVE vSwitches. VXLAN vSwitches, etc., in several examples) and one or more VMs (with VMs on Overlay Network 1 designated 418 and VMs on Overlay Network 2 designated 420). The servers 422 may also utilize a virtualization platform (not shown) from any vendor, such as VMWare ESX, IBM PowerVM, KVM, Microsoft's Hyper-V, Xen, etc.
The IP network 412 may comprise any number of switches, routers, connections, cables, etc., arranged in any conceivable fashion and interconnected with the elements of the system 400 in at least the arrangement shown in
In another embodiment, any of the physical switches 426 may be capable of providing overlay functionality to packets received and/or sent by each switch.
According to one embodiment, the system 400 may be OpenFlow-managed (via an OpenFlow controller 402) and may work in concert with a DOVE directory service 404 to efficiently direct traffic in a way to ensure optimal application of security policy.
In an OpenFlow managed network, the OpenFlow controller 402 has knowledge of the network node map and the ability to choose a communication path for packets to be forwarded programmatically. When a DOVE VM 418 or 420 begins to communicate with another VM located on a different physical server 422, the DOVE virtual switch 424 on the source physical server 422 will query the DOVE controller 404 to determine the location of the physical server 422 and the security policy (as directed by the DOVE Policy Service module 408) to be applied between the two VMs. Therefore, the DOVE controller 404 is now aware that these two VMs will begin communicating and also knows the security policy to be applied between these two VMs. If the security policy stipulates that the traffic between the two VMs should be routed through a Security Appliance 410, the DOVE directory service 404 may inform the OpenFlow controller 402 to program the network nodes such that the communication path between the two VMs goes through the Security Appliance 410.
The OpenFlow-capable physical switches 426, in some embodiments, may determine a route of a packet through the system 400 based on values of a DOVE header and an inner payload header of each packet. If a packet's inner payload header indicates that the packet should receive security policy application, the OpenFlow-capable switches 426 may request a communication path from the OpenFlow controller 402 which will result in the packet being routed through the security appliance 410; or, in another embodiment, the OpenFlow-capable switches 426 may have this information accessible so that each switch 426 may determine the route without aid of the OpenFlow controller 402 after an initialization procedure. The amount of processing used in this operation may be reduced by designating markers in the DOVE header to identify packets that need security policy application so that the OpenFlow-capable switches 426 do not examine the inner payload header in order to make this determination. Of course, this procedure may also be applied to other overlay technologies, such as VXLAN, NVGRE, etc.
Each of the physical switches 426, the switch controller 402, the servers 422, and the security appliance 410 may comprise at least one processor for executing logic, such as a central processing unit (CPU), a field programmable gate array (FPGA), an integrated circuit (IC), an application specific integrated circuit (ASIC), or some other suitable processor(s) known in the art.
According to one embodiment, access control lists (ACLs) may be applied at the servers or physical switches 426, the switch controller or OpenFlow controller 402, or elsewhere in the system 400 to route incoming overlay-encapsulated packets to the security appliance 410. Upon activation of such an ACL on a port of any device, any packets received on the ACL-activated port will be routed through the security appliance 410. Then, the security appliance 410 may implement a chain of services.
Any services known in the art may be applied to the traffic, such as firewall services, intrusion prevention system (IPS) services, intrusion detection system (IDS), IPS/IDS services, server load balancing services, LAN optimization services, VPN services, video optimization services, network address translation (NAT) services, encryption services, decryption services, etc., among many other possibilities, as would be known to one of skill in the art. Each of these services may be independently activated, independently bypassed, or manually selected, as desired by a system administrator upon initiating the security appliance 410.
For L3 User Datagram Protocol/Internet Protocol (UDP/IP)-encapsulated traffic being sent from an overlay network (such as Overlay Network 1414, Overlay Network 2416, etc.) to a non-virtualized legacy network (such as IP network 412) or to another device capable of receiving tunneled traffic, the security appliance 410 may apply services prior to delivering the packet to the destination device by receiving inner packets that have been de-encapsulated from overlay-encapsulated packets.
Now referring to
Physical ServerA then responds 510 to the ARP request with information about the destination address for the packet. VM1 on ServerA then sends out the packet 512 for delivery to VM2. Physical ServerA provides overlay functionality (encapsulation and tunneling to Physical ServerB) to the packet and sends the encapsulated packet 514 to Physical ServerB. Physical ServerB then provides overlay functionality (tunnel end-point and de-capsulation) to the packet and sends the de-capsulated packet 516 to VM2 on ServerB.
Once this relationship is established, it is easier to send packets across the overlay network from either of VM1 or VM2. For example, if VM2 on ServerB is to send a packet to VM1 on ServerA, an ARP request 518 is sent to physical ServerB, Physical ServerB responds (since it already knows VM1 on ServerA's information) 520 with VM1's information, VM2 on ServerB sends the packet 522, Physical ServerB provides overlay functionality to the packet and delivers 524 the encapsulated packet to Physical ServerA, and Physical ServerA delivers 526 the de-capsulated packet to VM1 on ServerA.
Now referring to
The overlay header is shown in more detail as well, with a virtual network identifier (VNID) or DOVE domain or group ID shown having 24-bits in size, along with other reserved fields, as would be understood by one of skill in the art. What is important to note here is that this header may include a bit or field which may indicate that the packet is to receive application of a security policy, in one embodiment, such that the packet gets routed through a security appliance in the IP network before arriving at the destination VM.
Now referring to
Each of the steps of the method 700 may be performed by any suitable component of the operating environment. For example, in one embodiment, the method 700 may be partially or entirely performed by a switch controller, a virtual network controller such as a DOVE controller, an overlay-capable network device, a processor (such as a CPU, an ASIC, an FPGA, etc.), a gateway, an OpenFlow-capable switch, an OpenFlow controller, or some other suitable device, in various approaches.
As shown in
In one embodiment, the first information may comprise at least an address of a source VM which originated the packet. In this case, the source of the packet is the source VM. In another embodiment, the second information may comprise at least an address of the second physical switch, but may also include address information for the destination of the packet, which may be connected to the second physical switch.
In operation 704, a second physical switch which is connected to a destination of the packet is determined. In one embodiment, a destination of the packet is determined, and from that information, a second physical switch most closely connected to the destination of the packet may be determined.
In one approach, there may be only one physical switch to which both the source and the destination are connected, e.g., the first and second physical switch are the same switch.
According to one embodiment, the first and second physical switches may be capable of providing overlay functionality to packets received and sent by each switch, e.g., they are overlay-capable switches. Any overlay protocol and/or technology or standards may be used, such as VXLAN, DOVE, NVGRE, etc.
In operation 706, it is determined whether a security policy is to be applied to the packet based on at least one of: contents of the packet (which may include header information such as a payload, an overlay header, an inner packet header, UDP/IP headers, etc.), the first information, and the second information.
In operation 708, a communication path between the first physical switch and the second physical switch is selected. In one approach, the selected communication path directly connects the first physical switch to the second physical switch when it is determined to not apply the security policy to the packet. In another approach, the selected communication path connects the first physical switch to the second physical switch via the security appliance when it is determined to apply the security policy to the packet.
In operation 710, the selected communication path is sent to the first physical switch, such that the first physical switch may implement the selected communication path when sending traffic from the source of the packet to the destination of the packet.
In a further embodiment, a switch controller may be instructed to program overlay network nodes such that any packets transferred between the source of the packet and the destination of the packet proceed along the selected communication path.
In one approach, the first physical switch may be connected to at least a first server hosting at least a source VM which originated the packet and is the source of the packet, the second physical switch may be connected to at least a second server hosting at least a destination VM which is the destination of the packet, and operation 706 where it is determined whether the security policy is to be applied to the packet may further comprise, when it is determined that the source VM and the destination VM are in a common group or domain, determining to not apply the security policy, or when it is determined that the source VM and the destination VM are not in a common group or domain, determining to apply the security policy.
In another approach, operation 706 where it is determined whether the security policy is to be applied to the packet may further comprise applying ACLs to the packet to determine whether the security policy is to be applied to the packet.
According to one approach, the security policy may direct application of one or more services by a security appliance. Any services or security policies may be used, such as: firewall services, IPS, IDS, server load balancing services, VPN services, video optimization services, and/or WAN optimization services, etc.
According to various embodiments, method 700 may be implemented in a system or computer program product, as would be appreciated by one of skill in the art upon reading the present descriptions.
In one such embodiment, a system may comprise an overlay network connecting a first physical switch to a second physical switch, a switch controller in communication with the first physical switch and the second physical switch, a security appliance adapted for applying a security policy to packets sent thereto via the overlay network, at least a first server connected to the first physical switch, the first server hosting at least a source VM, at least a second server connected to the second physical switch, the second server hosting at least a destination VM, and a virtual network controller in communication with at least the first physical switch, the second physical switch, and the overlay network. In one approach, there may be only one physical switch to which both the source (the first server hosting the source VM) and the destination (the second server hosting the destination VM) are connected.
The virtual network controller may comprise: logic adapted for receiving a request for a communication path through the overlay network, the request being sent from the first physical switch and comprising at least: a packet, first information about the source VM which originated the packet, and second information about a destination of the packet. The virtual network controller may further comprise logic adapted for determining the destination of the packet which is connected to the second physical switch, logic adapted for determining whether a security policy is to be applied to the packet based on at least one of: contents of the packet, the first information, and the second information, logic adapted for selecting a communication path between the first physical switch and the second physical switch, wherein the selected communication path directly connects the first physical switch to the second physical switch when it is determined to not apply the security policy to the packet, and wherein the selected communication path connects the first physical switch to the second physical switch via the security appliance when it is determined to apply the security policy to the packet, and logic adapted for sending the selected communication path to the first physical switch.
Furthermore, in various approaches, the virtual network controller may further comprise logic adapted for instructing the switch controller to program overlay network nodes such that any packets transferred between the source VM and the destination of the packet proceed along the selected communication path; the first information may comprise at least an address of the source VM; the second information may comprise at least an address of the second physical switch; and/or the logic adapted for determining whether the security policy is to be applied to the packet may comprise: logic adapted for determining that the source VM and the destination VM are in a common group or domain and determining to not apply the security policy and logic adapted for determining that the source VM and the destination VM are not in a common group or domain and determining to apply the security policy.
In even more various approaches, the first and second physical switches may be capable of providing overlay functionality to packets received and sent by each switch; the logic adapted for determining whether the security policy is to be applied to the packet may comprise logic adapted for applying ACLs to the packet to determine whether the security policy is to be applied to the packet; and/or the security policy may direct application of one or more services by the security appliance. Any services or security policies may be used, such as: firewall services, IPS, IDS, server load balancing services, VPN services, video optimization services, and/or WAN optimization services, etc.
In another exemplary embodiment, a computer program product for applying security policy in an overlay network may comprise a computer readable storage medium having computer readable program code embodied therewith. The computer readable program code may comprise computer readable program code configured for receiving a request for a communication path through an overlay network, the request being sent from a first physical switch in the overlay network, wherein the first physical switch is connected to a source of the packet, and wherein the request comprises at least a packet, first information, and second information, computer readable program code configured for determining a second physical switch which is connected to a destination of the packet, computer readable program code configured for determining whether a security policy is to be applied to the packet based on at least one of: contents of the packet, the first information, and the second information, computer readable program code configured for selecting a communication path between the first physical switch and the second physical switch, wherein the selected communication path directly connects the first physical switch to the second physical switch when it is determined to not apply the security policy to the packet, and wherein the selected communication path connects the first physical switch to the second physical switch via the security appliance when it is determined to apply the security policy to the packet, and computer readable program code configured for sending the selected communication path to the first physical switch.
According to various embodiments, the computer program product may further comprise computer readable program code configured for instructing a switch controller to program overlay network nodes such that any packets transferred between the source of the packet and the destination of the packet proceed along the selected communication path; the first information may comprise at least an address of a source VM which originated the packet, and wherein the source of the packet is the source VM; and/or the second information may comprise at least an address of the second physical switch.
In another embodiment, the first physical switch may be connected to at least a first server hosting at least a source VM which originated the packet which is the source of the packet, the second physical switch may be connected to at least a second server hosting at least a destination VM which is the destination of the packet, and the computer readable program code configured for determining whether the security policy is to be applied to the packet may comprise: computer readable program code configured for determining that the source VM and the destination VM are in a common group or domain and determining to not apply the security policy and computer readable program code configured for determining that the source VM and the destination VM are not in a common group or domain and determining to apply the security policy.
In more approaches, the first and second physical switches may be capable of providing overlay functionality to packets received and sent by each switch and/or the computer readable program code configured for determining whether the security policy is to be applied to the packet may comprise computer readable program code configured for applying ACLs to the packet to determine whether the security policy is to be applied to the packet.
While various embodiments have been described above, it should be understood that they have been presented by way of example only, and not limitation. Thus, the breadth and scope of an embodiment of the present invention should not be limited by any of the above-described exemplary embodiments, but should be defined only in accordance with the following claims and their equivalents.
Number | Date | Country | |
---|---|---|---|
Parent | 13633043 | Oct 2012 | US |
Child | 14856377 | US |