This application is related to U.S. application Ser. No. 11/379,920, entitled, “SYSTEM AND METHOD FOR ENCRYPTED GROUP NETWORK COMMUNICATION WITH POINT-TO-POINT PRIVACY”, filed on Apr. 24, 2006, and assigned to Cisco Technology, Inc.
The disclosed subject matter relates to the field of computer network communications, and more particularly to methods and systems providing protected spoke to spoke communication using an unprotected computer network.
A portion of the disclosure of this patent document contains material that is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure, as it appears in the Patent and Trademark Office patent files or records, but otherwise reserves all copyright rights whatsoever. The following notice applies to the software and data as described below and in the drawings that form a part of this document: Copyright 2006 Cisco Systems, Inc. All Rights Reserved.
A Virtual Private Network (VPN) is a logical network that uses insecure public telecommunications, such as the Internet, to provide secure communications to members of the VPN. A VPN seeks to provide the security associated with dedicated communication lines but without requiring the necessary hardware and at a fraction of the cost, which is typically associated with dedicated communication lines.
A VPN works by using shared public infrastructure while simultaneously maintaining privacy through agreed upon security procedures and protocols. Essentially, a VPN uses custom encryption to encrypt messages communicated via the VPN. The encryption and decryption of messages rely upon keys that are securely held by participants of the VPN.
Dynamic Multipoint VPN (DMVPN) is an enhancement of the virtual private network configuration process of conventional network routers. DMVPN prevents the need for pre-configured (static) IPsec peers in the network. IPsec (IP security) is a standard for securing Internet Protocol (IP) communications by encrypting and/or authenticating all IP packets communicated among the network peers. IPsec provides security at the network layer. The DMVPN functionality of conventional network routers allows greater scalability over previous IPsec configurations. An IPsec tunnel between two conventional network routers may be created on an as needed basis. Tunnels may be created between a spoke router and a hub router (VPN headend) or between spokes. This greatly alleviates the need for the hub to route data between spoke networks, as was common in a non-fully meshed frame relay topology.
In DMVPN, network traffic can traverse from one spoke to another. Initially, the network traffic is routed from a first spoke (e.g. Spoke A) to the hub and then from the hub to a second spoke (e.g. Spoke B). At the same time, DMVPN establishes a tunnel from Spoke A to Spoke B. Once the tunnel from Spoke A to Spoke B is created, traffic will be routed via the tunnel. Unfortunately, conventional DMVPN causes a significant drop in the tunnel latency several seconds after the tunnel has been established. This sudden drop in tunnel latency can cause problems in servicing delay-sensitive network traffic.
Thus, a system and method for improved efficiency and security in spoke-to-spoke network communication is needed.
a and 7b show an exemplary computer system in which the features of an example embodiment may be implemented.
In the following detailed description, reference is made to the accompanying drawings that form a part hereof, and in which are shown by way of illustration, specific embodiments in which the disclosed subject matter can be practiced. It is understood that other embodiments may be utilized and structural changes may be made without departing from the scope of the disclosed subject matter. The leading digit(s) of reference numbers appearing in the Figures generally corresponds to the Figure number in which that component is first introduced, such that the same reference number is used throughout to refer to an identical component which appears in multiple Figures. Signals and connections may be referred to by the same reference number or label, and the actual meaning will be clear from its use in the context of the description.
As described further below, according to various example embodiments of the disclosed subject matter described herein, there is provided a system and method for improved efficiency and security in spoke-to-spoke network communication.
A DMVPN spoke is typically configured with one or more hub IP addresses. DMVPN hub IP addresses are typically static, such as at a corporate headquarters. DMVPN spoke IP addresses may be static or dynamic. An example would be a DMVPN spoke router acting as a DHCP (Dynamic Host Configuration Protocol) client on a DSL (digital subscriber loop) or cable provider's network. The spoke router is configured with the hub's IP address, allowing the spoke to connect with the hub when online. The hub router does not need to be configured with the IP addresses of the spoke routers. This allows many spoke VPN routers to be deployed without the need to configure additional peers on the hub(s). In the past, the configuration of the hub grew whenever a spoke VPN router was added to the IPsec network.
To avoid routing through the hub router for spoke-to-spoke traffic, NHRP (next hop resolution protocol) is often used for spoke discovery. A DMVPN spoke router learns of the static or dynamic IP address of other spoke routers, using NHRP. Additional IPsec tunnels are created as needed for spoke-to-spoke traffic. These tunnels are torn down after they are no longer needed to conserve resources. This is a great benefit to delay sensitive traffic, such as IP telephony and other real-time applications. A spoke router's delay going through the hub to reach other spokes is now avoided, after the latency incurred during the initial set-up. For redundancy, a spoke router can be mapped to one or more DMVPN hubs.
Various embodiments described herein use a conventional form of Diffie-Hellman key generation as a cryptographic methodology. Such methodologies are well known to those of ordinary skill in the art. These conventional methods can be used to generate an encryption/decryption key from a pair of values, one value being a public value and the other value of the pair being a private value. In the description that follows, these values are denoted as Diffie-Hellman (DH) public values or private values. These values can be generated for each spoke using conventional techniques. It will be apparent to those of ordinary skill in the art that other equivalent cryptographic methodologies may also be employed.
Referring to
In accordance with the various embodiments described herein, each spoke 110, 120, and 130 initially registers itself with hub 105. When a spoke registers with the hub 105, the spoke registers its IP address, protected subnet, and a DH public value as part of a set of spoke registration information. For example, when spoke 110 registers with hub 105, spoke 110 provides its own IP address, the identity of subnet 112, and the DH public value previously computed for spoke 110. When spoke 120 registers with hub 105, spoke 120 provides its own IP address, the identity of subnet 122, and the DH public value previously computed for spoke 120. The hub 105 stores the spoke registration information in a hub registration table 107 (also denoted NHRP table). Hub 105 thereby updates the hub registration table 107. In one embodiment, the hub 105 then sends the updated hub registration table 107 to all registered spokes, and the spokes then update their respective copies of the hub registration table 107. Subsequently as additional updates are made to the hub registration table, the hub 105 need only send the new/updated information to the registered spokes. In this manner, hub 105 updates all the spokes that are currently registered with a copy of the current updated hub registration table 107 (including DH public values for each registered spoke). An example of the structure of an embodiment of the hub registration table is shown in
Referring to
Referring again to
When the receiver spoke 120 receives an encrypted data packet (e.g. encrypted traffic) for which the receiver spoke 120 does not have a tunnel 115 established with the sender spoke 110, the receiver spoke 120 scans its copy of the hub registration table 107 for the source IP address of the sender spoke 110 identified in the received data packet. If the receiver spoke 120 finds the source IP address of the sender spoke 110 in the hub registration table 107, the receiver spoke 120 combines its own DH private key value with the DH public key value of the sender spoke 110 listed in the hub registration table 107 to form decryption keys. Because the encryption keys and the decryption keys are computed from the same related value pairs, the decryption keys can be used to produce a valid decryption of the data encrypted with the encryption keys created by the sender spoke 110. The receiver spoke 120 then creates a tunnel 115 with that set of decryption keys, and decrypts the data packet sent from the sender spoke 110 via the tunnel 115. It will be apparent to those of ordinary skill in the art that the generated decryption keys can also be used to check the integrity of the data traffic as well as decrypting the traffic.
In one embodiment, a full hub registration table 107 is maintained on all spokes. In addition, public DH key values for each spoke are also maintained within the hub registration table 107. The hub registration table 107 values are used as described herein to dynamically create encrypted tunnels between spokes on demand with no protocol delay. The embodiments described herein provide an advantage over conventional DMVPN in that spoke to spoke network traffic never needs to traverse the hub. As such, spoke to spoke network latency is reduced. Additionally, the embodiments described herein provide the additional advantage that only the sender spoke and the receiver spoke are able to intercept and decipher the encrypted data packets. In the example described above, spoke 130 is not able to intercept and decipher the encrypted data packets sent between spoke 110 and 120. Thus, unlike conventional group keying protocols, the embodiments described herein provide an improved level of network security. Further, the embodiments described herein provide the additional advantage that a spoke can discard a dynamically created tunnel at any time without even notifying other spokes. This feature of the various embodiments also improves network efficiency and speed. If necessary, the tunnel can be dynamically re-created without introducing significant network latency.
Referring now to
Spoke_Public_Val=F1(Spoke_Priv_Val)
In processing block 314, each spoke registers with hub 105 and provides to the hub, 1) the spoke IP address, 2) the spoke subnet address, and 3) the spoke public key value (Spoke_Public_Val) computed in processing block 312. In processing block 316, the hub 105 updates its hub registration table 107 with the new registration data received from each registering spoke. In processing block 318, the hub 105 then sends the updated hub registration table 107 to all registered spokes, and the spokes then update their respective copies of the hub registration table 107. In this manner, hub 105 updates all registered spokes with a current copy of the hub registration table 107. Initialization according to one embodiment then terminates at the end bubble illustrated in
Referring to
In decision block 351, if the sender spoke determines that a tunnel to the intended receiver spoke was not already created or is not currently active, processing control passes from decision block 351 on the “No” path to processing block 352. In this case, it will be necessary for the sender spoke to create an encryption key and open a new tunnel. In processing block 352, the sender spoke accesses its copy of the hub registration table 107 to find the destination subnet address for the intended receiver spoke. In processing block 354, the sender spoke uses the receiver spoke subnet address found in the hub registration table 107 to find the corresponding receiver spoke public key value. Next, the sender spoke uses the receiver spoke public key value to compute an encryption key. In processing block 356, the sender spoke computes an encryption key (EK) from the sender spoke private key value and the receiver spoke public key value. Using a conventional cryptographic function (denoted F2), the encryption key (EK) for the sender spoke is generated by the sender spoke as provided in the following equation:
EK=F2(Sender_Priv_Val, Receiver_Public_Val)
In processing block 358, the sender spoke uses the computed encryption key (EK) to encrypt data for the receiver spoke. The encrypted data can then be sent directly from the sender spoke to the receiver spoke via the active tunnel in processing block 360. Because only the sender spoke and the receiver spoke are privy to the public and private key values of the sender spoke and the receiver spoke, only the sender spoke and the receiver spoke can access and decipher the encrypted data sent via the tunnel. Processing for the sender spoke then terminates at the end bubble illustrated in
Referring to
In decision block 451, if the receiver spoke determines that a tunnel from the sender spoke was not already created or is not currently active, processing control passes from decision block 451 on the “No” path to processing block 452. In this case, it will be necessary for the receiver spoke to create a decryption key and open a new tunnel. In processing block 452, the receiver spoke accesses its copy of the hub registration table 107 to find the IP address of the sender spoke. In processing block 454, the receiver spoke uses the sender spoke IP address found in the hub registration table 107 to find the corresponding sender spoke public key value. Next, the receiver spoke uses the sender spoke public key value to compute a decryption key. In processing block 456, the receiver spoke computes a decryption key (DK) from the receiver spoke private key value and the sender spoke public key value. Using a conventional cryptographic function (denoted F2), the decryption key (DK) for the receiver spoke is generated by the receiver spoke as provided in the following equation:
DK=F2(Receiver_Priv_Val, Sender Public_Val)
In processing block 458, the receiver spoke uses the computed decryption key (DK) to decrypt data received from the sender spoke via the active tunnel. The decrypted data can then be used by the receiver spoke in processing block 460. Again, because only the receiver spoke and the sender spoke are privy to the public and private key values of the receiver spoke and the sender spoke, only the receiver spoke and the sender spoke can access and decipher the encrypted data sent via the tunnel. Processing for the receiver spoke then terminates at the end bubble illustrated in
Referring now to
Using one of a variety of network connection means, server computer 250 can communicate with client computers 280 using conventional means. In a particular implementation of this network configuration, a server computer 250 may operate as a web server if the Internet's World-Wide Web (WWW) is used for wide area network 260. Using the HTTP protocol and the HTML coding language across wide-area network 260, web server 250 may communicate across the World-Wide Web with clients 280. In this configuration, clients 280 use a client application program known as a web browser such as the Internet Explorer™ published by Microsoft Corporation of Redmond, Wash., the user interface of America On-Line™, or the web browser or HTML renderer of any other supplier. Using such conventional browsers and the World-Wide Web, clients 280 may access image, graphical, and textual data provided by web server 250 or they may run Web application software. Conventional means exist by which clients 280 may supply information to web server 250 through the World Wide Web 260 and the web server 250 may return processed data to clients 280.
Having briefly described one embodiment of the network environment in which an example embodiment may operate,
An optional data storage device 228 such as a magnetic disk or optical disk and its corresponding drive may also be coupled to computer system 200 for storing information and instructions. Computer system 200 can also be coupled via bus 216 to a display device 204, such as a cathode ray tube (CRT) or a liquid crystal display (LCD), for displaying information to a computer user. For example, image, textual, video, or graphical depictions of information may be presented to the user on display device 204. Typically, an alphanumeric input device 208, including alphanumeric and other keys is coupled to bus 216 for communicating information and/or command selections to processor 220. Another type of user input device is cursor control device 206, such as a conventional mouse, trackball, or other type of cursor direction keys for communicating direction information and command selection to processor 220 and for controlling cursor movement on display 204.
Alternatively, the client 280 can be implemented as a network computer or thin client device. Client 280 may also be a laptop or palm-top computing device, such as the Palm Pilot™. Client 280 could also be implemented in a robust cellular telephone, where such devices are currently being used with Internet micro-browsers. Such a network computer or thin client device does not necessarily include all of the devices and features of the above-described exemplary computer system; however, the functionality of an example embodiment or a subset thereof may nevertheless be implemented with such devices.
A communication device 226 is also coupled to bus 216 for accessing remote computers or servers, such as web server 250, or other servers via the Internet, for example. The communication device 226 may include a modem, a network interface card, or other well-known interface devices, such as those used for interfacing with Ethernet, Token-ring, or other types of networks. In any event, in this manner, the computer system 200 may be coupled to a number of servers 250 via a conventional network infrastructure such as the infrastructure illustrated in
The system of an example embodiment includes software, information processing hardware, and various processing steps, which are described above. The features and process steps of example embodiments may be embodied in machine or computer executable instructions. The instructions can be used to cause a general purpose or special purpose processor, which is programmed with the instructions to perform the steps of an example embodiment. Alternatively, the features or steps may be performed by specific hardware components that contain hard-wired logic for performing the steps, or by any combination of programmed computer components and custom hardware components. While embodiments are described with reference to the Internet, the method and apparatus described herein is equally applicable to other network infrastructures or other data communications systems.
Various embodiments are described. In particular, the use of embodiments with various types and formats of data structures may be described. It will be apparent to those of ordinary skill in the art that alternative embodiments of the implementations described herein can be employed and still fall within the scope of the claimed invention. In the detail herein, various embodiments are described as implemented in computer-implemented processing logic denoted sometimes herein as the “Software”. As described above, however, the claimed invention is not limited to a purely software implementation.
The software and/or data described herein may further be transmitted or received over a network 260 via the communication device 226 utilizing any one of a number of well-known transfer protocols, for example, the hyper text transfer protocol (HTTP). While the machine-readable medium 212 is shown in an example embodiment to be a single medium, the term “machine-readable 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-readable 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 disclosed subject matter, or that is capable of storing, encoding, or carrying data structures utilized by or associated with such a set of instructions. The term “machine-readable medium” shall accordingly be taken to include, but not be limited to, solid-state memories, and optical and magnetic media.
Although the present specification describes components and functions implemented in the embodiments with reference to particular standards and protocols, the disclosed subject matter may be not limited to such standards and protocols. Each of the standards for Internet and other packet switched network transmission (e.g., TCP/IP, UDP/IP, HTML, and HTTP) represent examples of the state of the art. Such standards are periodically superseded by faster or more efficient equivalents having essentially the same functions. Accordingly, replacement standards and protocols having the same functions are considered equivalents.
Thus, as described above, a system and method for improved efficiency and security in spoke-to-spoke network communication is disclosed. Although the disclosed subject matter has been described with reference to several example embodiments, it may be understood that the words that have been used are words of description and illustration, rather than words of limitation. Changes may be made within the purview of the appended claims, as presently stated and as amended, without departing from the scope and spirit of the disclosed subject matter in all its aspects. Although the disclosed subject matter has been described with reference to particular means, materials, and embodiments, the disclosed subject matter is not intended to be limited to the particulars disclosed; rather, the subject matter extends to all functionally equivalent structures, methods, and uses such as are within the scope of the appended claims.
Number | Name | Date | Kind |
---|---|---|---|
7046662 | Saluja et al. | May 2006 | B1 |
7184437 | Cole et al. | Feb 2007 | B1 |
7234063 | Baugher et al. | Jun 2007 | B1 |
7298839 | Eisentraeger et al. | Nov 2007 | B2 |
7308706 | Markham et al. | Dec 2007 | B2 |
7366894 | Kalimuthu et al. | Apr 2008 | B1 |
7447901 | Sullenberger et al. | Nov 2008 | B1 |
7486795 | Eschenauer et al. | Feb 2009 | B2 |
7536715 | Markham | May 2009 | B2 |
7594262 | Hanzlik et al. | Sep 2009 | B2 |
7596690 | Singh | Sep 2009 | B2 |
7657036 | Hsu et al. | Feb 2010 | B2 |
7720995 | Wainner et al. | May 2010 | B2 |
7840810 | Eastham | Nov 2010 | B2 |
20030126265 | Aziz et al. | Jul 2003 | A1 |
20030191937 | Balissat et al. | Oct 2003 | A1 |
20070016663 | Weis | Jan 2007 | A1 |
20070248225 | Fluhrer | Oct 2007 | A1 |
20080320303 | Khalid et al. | Dec 2008 | A1 |
20090097417 | Asati et al. | Apr 2009 | A1 |
20090157901 | Asati et al. | Jun 2009 | A1 |
Number | Date | Country | |
---|---|---|---|
20070271451 A1 | Nov 2007 | US |