Dissemination of NAT traversal attributes in a control plane protocol

10616062 ยท 2020-04-07

Assignee

Inventors

Cpc classification

International classification

Abstract

A method for creating a secure network is provided. The method comprises establishing a controller for a plurality of edge nodes in the network; configuring each edge node to perform a discovery operation to discover Network Address Traversal (NAT) information for any NAT device associated with said edge node; and configuring each edge node to transmit any NAT information discovered through said discovery operation to the controller; and configuring the controller to distribute the NAT information received from the plurality of edge node to each edge node.

Claims

1. A method for creating a secure network, the method comprising: establishing a controller for a plurality of edge nodes in a network; configuring each of the plurality of edge nodes to perform a discovery operation to discover Network Address Translator (NAT) information; configuring each of the plurality of edge nodes to transmit the NAT information discovered through the discovery operation to the controller; configuring the controller to distribute the NAT information to each of the plurality of edge nodes; and configuring a first edge node of the plurality of edge nodes to establish a secure communications session with a second edge node of the plurality of edge nodes based on a connection protocol, the connection protocol biased to establish the secure communications session based on a first type of available information when the first type of available information is available, the connection protocol biased to establish the secure communications session based on a second type of available information when the first type of available information is unavailable.

2. The method of claim 1, wherein the first type of available information includes a policy.

3. The method of claim 1, wherein the second type of available information includes NAT information associated with the second edge node.

4. The method of claim 1, wherein the connection protocol is biased to establish the secure communications session based on a third type of available information when the first type of available information and the second type of available information are unavailable.

5. The method of claim 4, wherein the third type of available information includes data plane information.

6. The method of claim 4, wherein, the connection protocol is biased to establish the secure communications session based on a fourth type of available information when the first type of available information, the second type of available information, and the third type of available information are unavailable, and the connection protocol is biased to establish the secure communications session based on a fifth type of available information when the first type of available information, the second type of available information, the third type of available information, and the fourth type of available information are unavailable.

7. The method of claim 6, wherein the fourth type of available information includes a remote action.

8. The method of claim 6, wherein the fifth type of available information includes third party stitching information.

9. A method comprising: performing a discovery operation, via a first edge node in a network, to discover Network Address Translator (NAT) information; receiving, via a controller in the network, the NAT information discovered through the discovery operation; and establishing a secure communications session with a second edge node in the network based on a connection protocol, the connection protocol biased to establish the secure communications session based on a first type of available information when the first type of available information is available, the connection protocol biased to establish the secure communications session based on a second type of available information when the first type of available information is unavailable.

10. The method of claim 9, wherein the first type of available information includes a policy.

11. The method of claim 9, wherein the second type of available information includes NAT information associated with the second edge node.

12. The method of claim 9, wherein, the connection protocol is biased to establish the secure communications session based on a third type of available information when the first type of available information and the second type of available information are unavailable, and the third type of available information includes data plane information.

13. The method of claim 9, wherein, the connection protocol is biased to establish the secure communications session based on another type of available information when the first type of available information, the second type of available information, and a third type of available information are unavailable, and the another type of available information includes a remote action.

14. The method of claim 9, wherein, the connection protocol is biased to establish the secure communications session based on another type of available information when the first type of available information, the second type of available information, a third type of available information, and a fourth type of available information are unavailable, and the another type of available information includes third party-stitching information.

15. A system having a non-transitory computer-readable medium with stored instructions which, when executed by a first edge node in a network, causes the first edge node to perform operations that create a secure communications session with a second edge node in the network, the operations comprising: performing a discovery operation, via the first edge node, to discover Network Address Translator (NAT) information; transmitting the NAT information discovered through the discovery operation to a controller for the network; and establishing the secure communications session with the second edge node in the network based on a connection protocol, the connection protocol biased to establish the secure communications session based on a first type of available information when the first type of available information is available, the connection protocol biased to establish the secure communications session based on a second type of available information when the first type of available information is unavailable.

16. The system of claim 15, wherein the first type of available information includes a policy.

17. The system of claim 15, wherein the second type of available information includes NAT information associated with the second edge node.

18. The system of claim 15, wherein, the connection protocol is biased to establish the secure communications session based on a third type of available information when the first type of available information and the second type of available information are unavailable, and the third type of available information includes data plane information.

19. The system of claim 15, wherein, the connection protocol is biased to establish the secure communications session based on another type of available information when the first type of available information, the second type of available information, a third type of available information are unavailable, and the third type of available information includes a remote action.

20. The system of claim 15, wherein, the connection protocol is biased to establish the secure communications session based on another type of available information when the first type of available information, the second type of available information, a third type of available information, and a fourth type of available information are unavailable, and the another type of available information includes third party stitching information.

Description

BRIEF DESCRIPTION OF THE FIGURES

(1) FIG. 1 shows a network 100 with a control plane, in accordance with one embodiment of the invention.

(2) FIG. 2 shows a forwarding plane established in the network 100, in accordance with one embodiment of the invention.

(3) FIG. 3 shows an exemplary setup procedure for the network 100, in accordance with one embodiment of the invention.

(4) FIG. 4 shows the processing steps for establishing communications between an edge E1 located behind symmetric NAT device and an edge E4, in accordance with one embodiment of the invention.

(5) FIG. 5 shows a high-level block diagram for a controller and mapping server, in accordance with one embodiment of the invention.

(6) FIG. 6 shows a high-level block diagram of hardware for a router/endpoint, in accordance with one embodiment of the invention.

DETAILED DESCRIPTION

(7) In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the invention. It will be apparent, however, to one skilled in the art that the invention can be practiced without these specific details. In other instances, structures and devices are shown in block or flow diagram form only in order to avoid obscuring the invention. Accommodate

(8) Reference in this specification to one embodiment or an embodiment means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the invention. The appearance of the phrase in one embodiment in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Moreover, various features are described which may be exhibited by some embodiments and not by others. Similarly, various requirements are described which may be requirements for some embodiments but not other embodiments.

(9) Moreover, although the following description contains many specifics for the purposes of illustration, anyone skilled in the art will appreciate that many variations and/or alterations to the details are within the scope of the present invention. Similarly, although many of the features of the present invention are described in terms of each other, or in conjunction with each other, one skilled in the art will appreciate that many of these features can be provided independently of other features. Accordingly, this description of the invention is set forth without any loss of generality to, and without imposing limitations upon, the invention.

(10) Broadly, embodiments of the present invention disclose a mechanism for each endpoint in a network to make independent and informed decisions on how to approach session establishment with another (remote) endpoint.

(11) Each endpoint may employ local procedures to discover the attributes of its local network environment if needed, alternatively a NAT device may be employed locally on the node and hence no discovery procedures are required. In one embodiment, the specific nature of the local NAT device may be shared with all other endpoints in the network using a common control plane protocol. How the receiving endpoints end up using the received information on the NAT-attributes of other endpoints is entirely a local decision and may vary depending on local policy configuration or the specific role that the receiving endpoint has in the network.

(12) FIG. 1 shows a representative network 100 in accordance with one embodiment of the invention. Referring to FIG. 1, reference numeral 102 indicates underlying network infrastructure that may be used to connect endpoints/edges E1 to En together. In one embodiment, the endpoints/edges may represent branch office routers. In FIG. 1 only four edges are shown and are indicated as edges E1 to E4, respectively. However, it is to be understood that many more edges are possible in accordance with different embodiments.

(13) The underlying network infrastructure 102 may include elements that form a Wide Are Network (WAN) and in some embodiments may include public and/or private infrastructure. For example, in one embodiment the underlying network infrastructure 102 may include the public Internet.

(14) In one embodiment, the network 100 may be configured to support a control plane, which is established to all endpoints in the network. Techniques for establishing the control plane are using an Overly Management Protocol, are described in co-pending U.S. patent application Ser. No. 14/133,558 entitled OVERLAY MANAGEMENT PROTOCOL FOR SECURE ROUTING BASED ON AN OVERLAY NETWORK which is incorporated herein by reference in its entirety. The control plane serves as a distribution vehicle for the discriminators. In one embodiment, to facilitate the establishment of said control plane, the network 100 further comprises a controller 104 and a mapping server 106. The mapping server 106 supports a bring up method used to establish the control plane as is described in co-pending U.S. patent application Ser. No. 14/028,518 entitled SECURE BRING-UP OF NETWORK DEVICES which is incorporated herein by reference in its entirety. In one embodiment, the control plane is defined by secure control channels 108 between the controller 104 and the various edges in the network 100, and the between the controller 104 and the mapping server 106. In one embodiment, the channels 108 may comprise DTLS links.

(15) The establishment of the control channels 108 is indicated by block 300 in FIG. 3, which shows an exemplary setup procedure, in accordance with one embodiment of the invention.

(16) Communications between the devices E1 to En occurs via a data plane connection between the devices. The establishment of the data plane is described in U.S. patent application Ser. No. 14/146,683 entitled BI-DIRECTIONAL NAT TRAVERSAL USING ENDPOINT ASSIGNED DISCRIMINATORS, which is incorporated herein by reference in its entirety,

(17) Each branch location or edge E1 to En may be configured to use local procedures to discover if, and what type of a potential NAT device resides in its upstream path. For example, the edge E1 will discover what type of NAT the NAT device N1 supports, or the edge E4 will discover what type of NAT the NAT device N2 supports. This step is indicated by reference numeral 302 in FIG. 3.

(18) Continuing with FIG. 3, at block 304, each branch location or node in the network 100 advertises control, routing, and NAT information to the controller 104. In one embodiment, the local routing information may comprise: a) A Transport Address, e.g. in the form of an IPv4-address, and an Upper Layer protocol port, used as a next-hop address for the other components of the routing table advertised by the node. In one embodiment, the Transport Address consists of information representing the node on the inside and also on the outside of a potential NAT-device, post translation. b) In one embodiment, included and associated with the Transport Address is also a Discriminator value that is persistent in the distribution of information across the control plane elements; and c) The type of NAT that can be associated with each of the transport addresses.

(19) At block 306, the controller 104 advertises the local routing information with each of the edges E1 to E4 via the control plane channels 108.

(20) In one embodiment, each branch office router E1 to E4 may be configured to examine the type of NAT, if any, for each transport address when parsing the routing information received from the central controller 104 to establish the topology within which it operates.

(21) When a given branch office router determines if and how it will establish a communication channel with other branch office routers, the NAT-information received influences how the establishment process will be carried out. A local branch office router may have a local policy configured to determine which locations it will establish direct channels to depending on its ability to traverse different types of NAT, otherwise to use an intermediate session stitching location or to communicate via a third site offering those abilities.

(22) If no policy has been configured, each branch office router will determine, based on its default NAT-traversal abilities to take certain actions, which may include: a. Trigger actions at an originating branch office router to enable NAT-traversal using additional control plane messages b. Engaging in different setup techniques for establishing communication channels with other branch office routers, which may involve information learnt in the data plane from other routers c. Deciding whether to establish a session or not, if allowed by the type of NAT deployed at the remote site

(23) By way of example, FIG. 4 shows the processing steps associated with a connection protocol for establishing communications between the edge E1 and the edge E4 based on the techniques disclosed above. It will be recalled that the edge E1, which sits behind the NAT device N1 is to establish a data-plane session with the edge E4, which is located behind the NAT device N2. The device E1 has established a control channel with the controller 104 and has received NAT information from the controller 104 as described above. Thus, the device E1 knows the NAT type for the device N2 which is located upstream of the device E4.

(24) At block 400, the node E1 checks if it has been configured with policy to control session establishment. If indeed E1 has been so configured then at block 402, the configured policy is followed. However, if E1 has not been provisioned with policy to control session establishment, then the block 404 executes wherein it is determined if the edge E4 is NAT traversable. For cases where the edge E4 is NAT traversable, then the NAT information for the node E4 is used at block 406 to establish a communications session with the node E4.

(25) If the node E4 is not NAT traversable, then at block 408 the node E1 determines if the node E4 can be reached with data plane information. If this is the case, then at block 410 data plane logic is executed in order to establish a session with the node E4 at block 408.

(26) If at block 408 it is determined that E4 is not reachable via data plane information, then block 412 executes where it is determined if the edge E4 is reachable through execution of a remote action. For the case where the node E4 is so reachable, then control passes to block 414 where logic associated with the remote action is executed, and a session with the node E4 is established at block 406.

(27) Where the node E4 is not reachable through execution of a remote action control passes from the block 412 to the block 416. At the block 416, the node E1 determines if the third party stitching is available whereby the node E4 may be reached. When third party stitching is available, control passes to block 418 where the third party stitching logic is executed and the session to the node E4 is established at block 406.

(28) If no third party stitching is available, then the node E4 is not reachable as indicated by the block 420.

(29) Embodiments of the present invention discloses equipping each endpoint of a network infrastructure with information on the local attributes for other endpoints thereby to allow every endpoint to make better educated decisions on how to approach connectivity with other endpoints. These approaches may involve several different action, including: a. Establishing connectivity directly with the other endpoint since the local NAT of the endpoint allows for it. b. Using an alternate location that allows for multiple legs of a session to be stitched together. c. Using an alternate location that has the capability to communicate with the ultimate endpoint through specific, but unrelated means. d. Triggering actions in the target endpoint to allow for a session to be established. e. Using alternate connectivity establishment procedures or alternate endpoint information when initiating session establishment

(30) FIG. 5 shows an example of hardware 500 that may be used to implement the controller 504 and the mapping server 506, in accordance with one embodiment. The hardware 500 may includes at least one processor 502 coupled to a memory 504. The processor 503 may represent one or more processors (e.g., microprocessors), and the memory 504 may represent random access memory (RAM) devices comprising a main storage of the hardware, as well as any supplemental levels of memory e.g., cache memories, non-volatile or back-up memories (e.g. programmable or flash memories), read-only memories, etc. In addition, the memory 504 may be considered to include memory storage physically located elsewhere in the hardware, e.g. any cache memory in the processor 502, as well as any storage capacity used as a virtual memory, e.g., as stored on a mass storage device.

(31) The hardware also typically receives a number of inputs and outputs for communicating information externally. For interface with a user or operator, the hardware may include one or more user input output devices 506 (e.g., a keyboard, mouse, etc.) and a display 508. For additional storage, the hardware 500 may also include one or more mass storage devices 510, e.g., a Universal Serial Bus (USB) or other removable disk drive, a hard disk drive, a Direct Access Storage Device (DASD), an optical drive (e.g. a Compact Disk (CD) drive, a Digital Versatile Disk (DVD) drive, etc.) and/or a USB drive, among others. Furthermore, the hardware may include an interface with one or more networks 512 (e.g., a local area network (LAN), a wide area network (WAN), a wireless network, and/or the Internet among others) to permit the communication of information with other computers coupled to the networks. It should be appreciated that the hardware typically includes suitable analog and/or digital interfaces between the processor 612 and each of the components, as is well known in the art.

(32) The hardware 500 operates under the control of an operating system 514, and executes application software 516 which includes various computer software applications, components, programs, objects, modules, etc. to perform the techniques described above.

(33) In general, the routines executed to implement the embodiments of the invention, may be implemented as part of an operating system or a specific application, component, program, object, module or sequence of instructions referred to as computer programs. The computer programs typically comprise one or more instructions set at various times in various memory and storage devices in a computer, and that, when read and executed by one or more processors in a computer, cause the computer to perform operations necessary to execute elements involving the various aspects of the invention. Moreover, while the invention has been described in the context of fully functioning computers and computer systems, those skilled in the art will appreciate that the various embodiments of the invention are capable of being distributed as a program product in a variety of forms, and that the invention applies equally regardless of the particular type of machine or computer-readable media used to actually effect the distribution. Examples of computer-readable media include but are not limited to recordable type media such as volatile and non-volatile memory devices, USB and other removable media, hard disk drives, optical disks (e.g., Compact Disk Read-Only Memory (CD ROMS), Digital Versatile Disks, (DVDs), etc.), flash drives among others.

(34) FIG. 6 shows a block diagram of hardware 600 for edge routers E1-En and ma described above, in accordance with one embodiment of the invention. Referring to FIG. 6, the hardware 700 includes a routing chip 604 coupled to a forwarding chip 608. The routing chip 604 performs functions such as path computations, routing table maintenance, and reachability propagation. Components of the routing chip include a CPU or processor 604, which is coupled to a memory 606. The memory stores instructions to perform the methods disclosed herein. The forwarding chip is responsible for packet forwarding along a plurality of line interfaces 610.

(35) Although the present invention has been described with reference to specific exemplary embodiments, it will be evident that the various modification and changes can be made to these embodiments without departing from the broader spirit of the invention. Accordingly, the specification and drawings are to be regarded in an illustrative sense rather than in a restrictive sense.