Method and system for dynamically selecting VPNC gateway and on-demand VRF-ID configuration based on user behavior patterns
Through dynamic VPNC gateway selection technology, VPNC gateway selection is dynamically adjusted based on user behavior and network equipment health status, which solves the problem of static VPNC gateway selection methods in SD-WAN and improves resource usage and network fault tolerance.
Patent Information
- Application Number
- CN202111245418.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-02-09
- Filing Date
- 2021-10-26
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2041-10-26
AI Technical Summary
The existing VPNC gateway selection method in SD-WAN is static and cannot adjust service allocation in real time according to the current network conditions, resulting in a waste of resources and insufficient network fault tolerance.
Dynamic VPNC gateway selection technology is used to dynamically adjust VPNC gateway selection rules based on user behavior and the health of network equipment to achieve optimal distribution and self-healing capabilities of services among multiple VPNCs.
It optimizes resource usage, improves user experience and network fault tolerance, and achieves more flexible business customization and network elasticity.
Smart Images

Figure CN114915438B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates generally to electronic data networks and, more particularly, to software defined networks. BRIEF DESCRIPTION OF THE DRAWINGS
[0002] According to one or more different embodiments, the present disclosure is described in detail with reference to the following drawings. These drawings are provided for illustration purposes only and merely depict typical or example embodiments.
[0003] Figure 1 Illustrated is one example of a network configuration that may be implemented for an organization, such as an enterprise, educational institution, government entity, healthcare facility, or other organization.
[0004] Figure 2 An example software defined wide area network (SD-WAN) system is illustrated in accordance with some embodiments.
[0005] Figure 3A An example of a software defined wide area network (SD-WAN) in which dynamic virtual private network concentrator (VPNC) gateway selection techniques may be implemented is illustrated in accordance with some embodiments.
[0006] Figure 3B An example of employing dynamic VPN cascade gateway selection techniques in order to optimize traffic routing to primary and secondary VPN cascades within an SD-WAN is illustrated in accordance with some embodiments.
[0007] Figure 3C Another example of employing dynamic VPN cascade gateway selection techniques in order to optimize traffic routing to primary and secondary VPN cascades within an SD-WAN is illustrated in accordance with some embodiments.
[0008] Figure 3D Yet another example of employing dynamic VPN cascade gateway selection techniques in order to optimize traffic routing to primary and secondary VPN cascades within an SD-WAN is illustrated in accordance with some embodiments.
[0009] Figure 4 An example of a mechanism for learning traffic routes for users to implement on-demand VRF-ID configuration aspects of dynamic VPN cascader gateway selection techniques according to some embodiments is illustrated.
[0010] Figure 5 is an example of a method for implementing a dynamic VPN cascader gateway selection technique according to some embodiments.
[0011] Figure 6 is a block diagram of example computing components or devices for implementing a dynamic VPN cascader gateway selection technique according to one embodiment.
[0012] Figure 7 Depicts an example configuration of VRF rules implemented via the disclosed on-demand VRF-ID configuration according to some embodiments
[0013] The drawings are not exhaustive and do not limit the disclosure to the precise forms disclosed. DETAILED DESCRIPTION
[0014] A virtual private network (VPN) allows a user to establish a secure, dedicated communication channel over an unsecured public network such as the Internet. These secure, dedicated communication channels are commonly referred to as VPN tunnels. A network device known as a VPN concentrator (VPNc) is employed to establish and configure these tunnels, authenticate users, allocate tunnels to users, ensure the delivery of data flowing through the tunnels, and encrypt and decrypt data. For ease of deployment and management, VPN concentrators are often grouped in clusters. For example, the use of a VPN concentrator cluster allows for efficient network management by enabling load balancing among the VPN concentrators in the cluster. One problem that arises in this environment is how to allocate VPN tunnels between the VPN concentrators in the cluster.
[0015] In addition, software-defined wide area networks (SD-WANs) can play a key role in providing intelligent connectivity in distributed topologies, such as between branch offices and data centers. As mentioned in this article, SD-WAN is a virtual WAN architecture that allows enterprises to leverage a variety of transport service combinations (including MPLS, LTE, and broadband Internet services) to securely connect users to applications.
[0016] SD-WAN can use centralized control functions to securely and intelligently direct business across the WAN. This improves application performance and delivers a high-quality user experience, which can increase business productivity, agility and reduce costs for users.
[0017] In SD-WAN, a secure tunnel can be formed between each VPNC and the branch gateway (BG) present in all topologies. A preference order (also referred to herein as VPNC priority) for routing traffic to each VPNC in a VPNC cluster can be established in SD-WAN. For example, within a VPNC cluster in a data center, one VPNC can be designated as the primary VPNC, another VPNC in the VPNC cluster can be designated as the secondary VPNC, and so on. Based on this defined preference for the VPNCs in the cluster, most of the traffic is routed to the primary VPNC. Alternatively, in some cases, traffic is routed to the secondary VPNC. This preference or VPNC priority of the VPNC can be manually configured in the BG.
[0018] In existing SD-WANs, the routing cost of each destination service can be determined for all known networks. During operation, according to the traditional VPNC gateway selection method implemented for SD-WAN, such as the dynamic path steering (DPS) policy, the next-hop VPNC gateway with the lowest cost can be selected. Since the routing cost is determined by the VPNC affinity configured in the branch gateway or the cost determined by the PCM of the destination, the business is overwhelmingly forwarded to the primary VPNC gateway (e.g., the lowest routing cost VPNC). In other words, the operation of the traditional method is adjusted so that most of the business is directed to the primary VPNC for destination routing (especially in a fairly flat topology). Although the resources of the primary VPNC may be frequently used in this case, other VPNCs of the cluster often remain idle for a considerable period of time. For example, the secondary and lower priority VPNCs can only become active when the primary VPNC is unavailable (e.g., inoperable, lost connectivity, offline) or the service provided by the selected data center fails. Since there are many VPNCs in the cluster that are usually not used, the selection scheme cannot optimize the network topology where multiple VPNC clusters are deployed throughout the SD-WAN (e.g., with many resources available but not used). As described above, traditional VPNC gateway selection methods are mainly static because it is impossible to adjust how to selectively allocate services to VPNCs in real time and / or based on current conditions on the network (especially the performance of the data center). Static methods cannot take advantage of user priorities, end-to-end service health, and service customization to achieve more optimized service allocation between multiple VPNCs. There are some traditional methods that have some generally adjustable aspects. For example, policy-based routing (PBR) does bring some customized services to applications or highly selective users, but it is impossible to achieve scaling, dynamic adaptation, and splitting of services across multiple VPNCs. By operating dynamically based on "user awareness", the dynamic VPNC gateway selection and on-demand VRF-ID configuration systems and technologies disclosed in this article are enhancements to these existing methods. That is, the dynamic VPNC gateway selection technology makes routing decisions based on multiple dynamic and / or user-specific factors, including: a) the behavior of users on the network; b) the health / performance of the destination service and / or VPNC gateway device. These disclosed dynamic VPNC gateway selection technologies not only add additional service customization layers and fine-grained service / session management, but also implement some aspects of network fault tolerance and self-healing. Therefore, the disclosed dynamic VPNC gateway selection technology can achieve various enhancements to the current existing routing and / or VPNC selection methods used in SD-WAN (and VPN), such as optimizing resource usage, enhancing user experience, and improving network fault tolerance.
[0019] Before describing in detail embodiments of the disclosed systems and methods, it is useful to describe an example network infrastructure in which these systems and methods may be implemented in various applications. Figure 1 An example of a network configuration 100 that may be implemented for an organization such as an enterprise, educational institution, government entity, healthcare mechanism, or other organization is illustrated. The figure illustrates an example of a configuration implemented with an organization having multiple users (or at least multiple client devices 110) and possibly multiple physical or geographic sites 102, 132, 142. The network configuration 100 may include a primary site 102 in communication with a network 120. The network configuration 100 may also include one or more remote sites 132, 142 in communication with the network 120.
[0020] The primary site 102 may include a primary network, which may be, for example, an office network, a home network, or other network facility. The primary site 102 network may be a private network, such as a network that may include security and access controls to limit access to authorized users of the private network. Authorized users may include, for example, employees of a company at the primary site 102, residents of a residence, customers of a business, and the like.
[0021] In the illustrated example, the master site 102 includes a controller 104 that communicates with a network 120. The controller 104 may provide communication with the network 120 for the master site 102, although it may not be the only point of communication with the network 120 for the master site 102. A single controller 104 is illustrated, although the master site may include multiple controllers and / or multiple points of communication with the network 120. In some embodiments, the controller 104 communicates with the network 120 through a router (not shown). In other embodiments, the controller 104 provides router functionality to devices in the master site 102.
[0022] The controller 104 may be operable to configure and manage network devices, such as at the primary site 102, and may also manage network devices at remote sites 132, 134. The controller 104 may be operable to configure and / or manage switches, routers, access points, and / or client devices connected to the network. The controller 104 may itself be an access point, or provide the functionality of an access point.
[0023] The controller 104 can communicate with one or more switches 108 and / or wireless access points (APs) 106a-c. The switches 108 and wireless APs 106a-c provide network connectivity to various client devices 110a-j. Using the connection to the switches 108 or APs 106a-c, the client devices 110a-j can access network resources, including the (primary site 102) network and other devices on the network 120.
[0024] Examples of client devices may include: desktop computers, laptop computers, servers, network servers, authentication servers, Authentication Authorization Accounting (AAA) servers, Domain Name System (DNS) servers, Dynamic Host Configuration Protocol (DHCP) servers, Internet Protocol (IP) servers, Virtual Private Network (VPN) servers, network policy servers, mainframes, tablet computers, e-readers, netbook computers, televisions and similar monitors (e.g., smart TVs), content receivers, set-top boxes, personal digital assistants (PDAs), mobile phones, smart phones, smart terminals, dumb terminals, virtual terminals, video game consoles, virtual assistants, Internet of Things (IOT) devices, etc.
[0025] Within the primary site 102, a switch 108 is included as an example of an access point for wired client devices 110i-j to a network established in the primary site 102. The client devices 110i-j can connect to the switch 108 and, through the switch 108, can access other devices within the network configuration 100. The client devices 110i-j can also be able to access the network 120 through the switch 108. The client devices 110i-j can communicate with the switch 108 through a wired 112 connection. In the illustrated example, the switch 108 communicates with the controller 104 through a wired 112 connection, although the connection can also be wireless.
[0026] Wireless APs 106a-c are included as another example of access points for client devices 110a-h to the network established in the main site 102. Each of the APs 106a-c may be a combination of hardware, software, and / or firmware configured to provide wireless network connectivity to the wireless client devices 110a-h. In the illustrated example, the APs 106a-c may be managed and configured by the controller 104. The APs 106a-c communicate with the controller 104 and the network via a connection 112, which may be a wired or wireless interface.
[0027] The network configuration 100 may include one or more remote sites 132. The remote sites 132 may be located in a different physical or geographic location than the primary site 102. In some cases, the remote sites 132 may be located in the same geographic location or possibly the same building as the primary site 102, but lack direct connectivity to the network located within the primary site 102. Instead, the remote sites 132 may utilize connectivity through a different network (e.g., network 120). Figure 1The site 132 illustrated in the figure can be, for example, a satellite office, another floor or suite in a building, etc. The remote site 132 can include a gateway device 134 for communicating with the network 120. The gateway device 134 can be a router, a digital-to-analog modem, a cable modem, a digital subscriber line (DSL) modem, or some other network device configured to communicate with the network 120. The remote site 132 can also include a switch 138 and / or an AP 136 that communicates with the gateway device 134 through a wired or wireless connection. The switch 138 and the AP 136 provide connectivity to the network for various client devices 140a-d.
[0028] In various embodiments, the remote site 132 may communicate directly with the primary site 102, such that client devices 140a-d at the remote site 132 access network resources at the primary site 102 as if the client devices 140a-d were located at the primary site 102. In such embodiments, the remote site 132 is managed by the controller 104 at the primary site 102, and the controller 104 provides the necessary connectivity, security, and accessibility that enables the remote site 132 to communicate with the primary site 102. Once connected to the primary site 102, the remote site 132 may function as part of the private network provided by the primary site 102.
[0029] In various embodiments, the network configuration 100 may include one or more smaller remote sites 142 that include only one gateway device 144 for communicating with the network 120 and a wireless AP 146, and various client devices 150a-b access the network 120 through the wireless AP 146. Such a remote site 142 may represent, for example, the home of an individual employee or a temporary remote office. The remote site 142 may also communicate with the main site 102, so that the client devices 150a-b at the remote site 142 access the network resources at the main site 102, just as if these client devices 150a-b were located at the main site 102. The remote site 142 can be managed by the controller 104 at the main site 102 to make this transparency possible. Once connected to the main site 102, the remote site 142 can be used as part of the private network provided by the main site 102.
[0030] The network 120 may be a public or private network, such as the Internet, or other communication network for allowing connectivity between the various sites 102, 130 to 142 and access to the servers 160a-b. The network 120 may include third-party telecommunication lines, such as telephone lines, broadcast coaxial cables, fiber optic cables, satellite communications, cellular communications, etc. The network 120 may include any number of intermediate network devices, such as switches, routers, gateways, servers, and / or controllers, which are not directly part of the network configuration 100, but facilitate communication between the various parts of the network configuration 100 and between the network configuration 100 and other network-connected entities. The network 120 may include various content servers 160a-b. The content servers 160a-b may include various providers of multimedia downloadable and / or streaming content (including audio, video, graphics, and / or text content), or any combination thereof. Examples of content servers 160a-b include, for example, network servers, streaming broadcast and video providers, and cable and satellite television providers. Client devices 110aj, 140a-d, 150a-b may request and access multimedia content provided by content servers 160a-b.
[0031] Various embodiments of the disclosed technology are now described. Figure 2 An example VPN system according to one embodiment is illustrated. Figure 2 , VPN system 200 includes VPN concentrator cluster 202. VPN concentrator cluster 202 includes VPN host 204 and multiple VPN concentrators 206a to 206n. VPN host 204 can be implemented as a standalone device within VPN concentrator 206 or as a combination thereof. Figure 2 In the embodiment, it is desired to establish VPN tunnels with multiple branch gateways 208a to 208m through a network 210 such as the Internet. Figure 2 The embodiments of the present invention are described as establishing a VPN tunnel with a branch gateway, but it should be understood that the disclosed technology can be employed to establish a VPN tunnel with any network endpoint capable of supporting this function.
[0032] exist Figure 2 , each branch gateway 208 initiates a VPN tunnel by transmitting a VPN request 214 to a VPN host 204 in the VPN concentrator cluster 202 over a corresponding network connection 212. In response to the VPN request 214, the VPN host 204 transmits a corresponding network address 216 to each branch gateway 208. Each network address 216 is a network address of one of the VPN concentrators 206 in the VPN concentrator cluster 202. Each network address 216 may be, for example, an Internet Protocol (IP) address.
[0033] Figure 3AAn example of an SD-WAN 300 in which the disclosed dynamic VPNC gateway selection technology can be implemented is depicted. Unlike traditional router-centric WAN architectures, the SD-WAN 300 can be designed to fully support applications hosted in local data centers, such as Figure 3A In this example, the SD-WAN 300 may have a topology including multiple branch offices 315a, 315b, and 315n and multiple data centers 302a and 302n that are communicatively connected via a communication network 310. The branch offices 315a-315n may be located in different geographical locations and connected to the data centers 302a-302n, which may be remotely distributed from the various locations of the branch offices 315a-315n. In this example, each of the branch offices 315a-315n includes multiple client devices 310j that may be used by users located (located) near the corresponding branch office 315a-315n location. In addition, each branch office 315a-315n may have one of the branch office gateways (BGs) 308a-308n deployed thereon. Each of the BGs 308a-308n can serve as an interface for incoming and / or outgoing traffic for its respective branch offices 315a-315n. For example, the branch gateway 308a can interface with uplink traffic from a client device 310j at the branch office 315a (which is routed to the communication network 310) and interface with downlink traffic from the communication network 310 to be directed to an appropriate one of the client devices 310j.
[0034] also, Figure 3AIt is illustrated that each of the data centers 302a-302n can have a VPNC cluster and multiple servers deployed thereon. In this example, the data center 302a has a first cluster including VPNCs 306a-306n and servers 304a-304n, and the data center 302n has a second cluster including VPNCs 316a-316n and servers 314a-314n. Therefore, in operation, each of the BGs 308a-308n can form a tunnel with these VPNCs 306a-306n, 316a-316n via (multiple) WAN uplinks on any one of the data centers 302a-302n. A secure tunnel can be formed between the BG and each VPNC present in the corresponding data center. For example, the BG 308a can establish a secure tunnel with each of the VPNCs 306a-306n in the cluster at the data center 302a. The preference order (or VPNC priority) of VPNCs can be manually configured on BGs 308a-308n. In order to send traffic from one of the data centers 302a-302n on the SD-WAN 300 to a destination, an uplink can be selected by one of the BGs 308a-308n based on the dynamic VPNC gateway selection technology disclosed herein, and the packet may be forwarded to the VPNC gateway designated as the primary VPNC gateway. BGs 308a-308n may have instructions stored thereon to implement the dynamic VPNC gateway selection technology. As an example, the rules of the dynamic VPNC gateway selection scheme may designate a VPNC gateway from the cluster to serve as the primary VPNC gateway for the corresponding data center. The primary VPNC may be determined automatically or manually based on various factors (e.g., minimum routing cost, preference / priority, etc.), and then stored in BGs 308a-308n for reference to route traffic on the SD-WAN 300. As an example, VPNC 306a may be selected as the primary VPNC gateway for data center 302a, and VPNC 316a may be selected as the primary VPNC gateway for data center 302n. Any remaining VPNC gateways in the cluster may be designated as secondary or low priority VPNC gateways, or assigned various lower priorities (e.g., priority levels lower than the highest priority of the primary VPNC gateway). In general, the highest priority VPNC gateway in the cluster may be designated as the primary gateway, and one or more lower priority VPNC gateways may serve as secondary VPNC gateways. In many deployments, there may be more than two VPNC gateways. The different priorities of each VPNC gateway may be calculated and assigned by the configuration or cost of its path. Figure 3AIn the example of , VPNC gateway 316n can be designated as a secondary VPNC gateway for data center 302n. It should be appreciated that in a data center with multiple VPNCs, more than one VPCN gateway can be designated as a secondary VPNC gateway or a lower priority VPNC gateway.
[0035] As described above, according to some current methods, forwarding traffic to a VPNC gateway may depend on the next-hop routing on the BG, which in most scenarios is configured to statically send traffic to a designated primary VPNC. In these current methods, the reverse path, the selected data center sends traffic from the primary VPNC. Therefore, many existing methods do not actually utilize the deployment of other less preferred VPNCs, which usually do not become active until the primary VPNC fails or the service provided by the selected DC fails. In contrast, the disclosed dynamic VPNC gateway selection technology allows dynamic adjustment of VPNC gateway selection rules. According to an embodiment, the (multiple) rules for forwarding traffic to the VPNC gateway are not only limited to routing to the primary VPNC gateway, but can also be dynamically updated based on additional factors, such as the behavior of users (e.g., new users, key users, etc.) and the status of destination services / devices at the data center (e.g., device health, service health, etc.). For example, the network status can be monitored in real time and the health status of the VPNC gateway 302a as the primary (or highest priority) VPNC gateway of its corresponding data center 302a is detected to be degraded (even if the device is still available / online). Therefore, the dynamic VPNC gateway selection technique can dynamically adjust so that the traffic is routed to the secondary (or low priority) VPNC gateway of the data center 302a, namely, VPNC gateway 306n. In contrast, the above-mentioned existing methods will continue to statically forward the traffic to VPNC gateway 306a, even if its health is threatened, because it is still the designated primary VPNC gateway and is still online. However, the dynamic VPNC gateway selection technique can modify its function based on the real-time status of the network, so as to reroute the traffic in a way that can avoid further use of the primary VPNC gateway when the health of the primary VPNC gateway is degraded (which can cause additional damage and / or performance degradation on the device). As previously mentioned, in the current method, failover to the secondary VPNC gateway rarely occurs, and in most cases only occurs when the device / service is completely shut down. The disclosed technology applies monitoring and / or tracking of the device health and service health of the VPNC as demand-based fault tolerance. In addition, the disclosed technology can dynamically select VPNC gateways in a way that achieves improvements to the current method, such as allowing the network to self-heal (e.g., re-use the primary VPNC gateway when its health improves) and adapt to potentially improve the quality of network communications and user experience. The dynamic VPNC gateway selection technology disclosed herein can provide multiple advantages, including but not limited to:
[0036] 1) Support dynamic behavior that optimizes the customization and allocation of services using multiple VPNC gateways deployed on the network;
[0037] 2) consider destination service / device capabilities when making a selection regarding the preferred VPNC; and
[0038] 3) Support on-demand fault tolerance or network resiliency in addition to redundant failover.
[0039] In addition, the dynamic VPNC gateway selection technology can dynamically determine the uplink of the primary VPNC of the data center for a specific user (based on behavior) and allow the business to be distributed across multiple VPNCs in the data center, which can improve the overall efficiency of the system (e.g., distribution / load balancing across multiple VPNC resources). Typically, VPNCs are not configured to operate in full active-active mode for BGs, primarily due to symmetric routing requirements. The disclosed embodiments can address this limitation by autonomously adjusting selection rules based on the user's behavior, which provides various enhancements over traditional methods that are manually configured, static in nature, agnostic to the users of the business, and require regular maintenance. For example, there may be thousands of users present at branch offices 315a-315n. As will be described in more detail, the dynamic VPNC gateway selection technology can observe the behavior of users in order to dynamically adjust the selection rules based on at least two main user categories, including: 1) key users; 2) new users. The disclosed techniques avoid having to implement thousands of per-user policies, and instead enable VPNC selection and traffic routing to have some form of user-based customization by using a high-level approach that is more broadly based on user categories (depending on their observed behavior) (e.g., no specific policies need to be formed for each user) to achieve optimal distributed use of VPNCs. Generally, according to the dynamic VPNC gateway selection techniques, there may be multiple levels of traffic customization for a given VPNC selection by considering the traffic forwarding of VPNC gateways by taking into account the criticality (e.g., priority) and / or behavior of the user. This enhanced level of customization supported by the disclosed techniques may provide more control and management of the traffic of a given data center than can be achieved using more traditional approaches. Generally, the dynamic VPNC gateway selection techniques as disclosed herein support key features including, but not limited to, the following:
[0040] 1) Autonomous VPNC and / or data center selection based on user behavior;
[0041] 2) Autonomous VRF-ID configuration and / or removal on demand; and
[0042] 3) Performance-based routing of data center services.
[0043] Figure 3B The diagram illustrates an example operation of a branch gateway 308a configured with a dynamic VPNC gateway selection component 309, which implements dynamic selection of a VPNC gateway according to the disclosed technology. It should be understood that Figure 3B-Figure 3D The components and functions of the system shown in (e.g., branch offices, branch gateways, VPNC gateways, data centers, etc.) are substantially similar to those of the reference Figure 3A Therefore, for the sake of brevity, similar components and functions are not referred to again. Figure 3A-3B The dynamic VPNC gateway selection component 309 may be implemented as a hardware and / or software computing component, such as, for example, a server computer, a controller, or any other similar computing component capable of processing data. Figure 3A In an example implementation of , the dynamic VPNC gateway selection component 309 includes a hardware processor and a machine-readable storage medium. For example, the hardware processor may be one or more central processing units (CPUs), semiconductor-based microprocessors, and / or other hardware devices suitable for retrieving and executing instructions stored in a machine-readable storage medium. The hardware processor of the dynamic VPNC gateway selection component 309 may extract, decode, and execute instructions, such as instructions for controlling a process or operation for dynamically selecting a VPNC gateway according to the techniques disclosed herein. As an alternative or in addition to retrieving and executing instructions, the hardware processor of the dynamic VPNC gateway selection component 309 may include one or more electronic circuits including functional electronic components for executing one or more instructions, such as a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), or other electronic circuits.
[0044] As described above, the disclosed technology can provide autonomous VPNC gateway and / or data center selection features based on user behavior. Therefore, the dynamic VPNC gateway selection component 309 is configured to dynamically monitor and / or track the behavior of users, such as users associated with client devices 310j at branch offices 315a, in a manner that ultimately achieves autonomous VPNC / DC selection. According to an embodiment, the dynamic VPNC gateway selection component 309 can assign a score to each user associated with the branch office 315a based on multiple different parameters related to the monitored behavior. These parameters may include, but are not limited to: a) location; b) bandwidth consumed by critical and non-critical applications, c) QoS of the service; d) user reputation; e) user threat / security score; f) user role. Each calculated score is then also used to determine a criticality ranking corresponding to the user. In an embodiment, the dynamic VPNC gateway selection component 309 can be programmed to apply different user score calculation algorithms. The user score calculation algorithm will refer to Figure 4Further, in scenarios where a user is associated with multiple devices, each device employed by a particular user is mapped to the same criticality ranking assigned to that user. Figure 3A , the dynamic VPNC gateway selection component 309 has assigned the user associated with client device 310j to a "critical" criticality ranking, and the user associated with client device 310k to a "non-critical" criticality ranking. In other words, based on their tracked behavior, the user associated with client device 310k is less critical than the user associated with client device 310j. Client devices 310j and 310j can be ranked according to their criticality, which is based on the score calculated by the user score calculation algorithm. As seen, BG 308a directs traffic from both client devices 310j, 310k to the VPNC gateway 306 of the data center 302a according to the disclosed dynamic VPNC gateway selection technology, which is consistent with the traditional approach in this particular example scenario (e.g., all traffic is routed to the primary VPNC).
[0045] Due to the above capabilities of the dynamic VPNC gateway selection component 309, the BG 308a has the awareness of the behaviors of all users in the system, so as to be used to intelligently and dynamically customize service forwarding. Figure 3A Particularly used to illustrate an example of operations to maintain the status quo of a business. For example, based on real-time monitoring of conditions on the network, it can be determined that the health of VPNC gateways 306a-306n or the services provided by data center 302a are good. Alternatively, in the event that the health of either drops to a point below a set health / performance threshold, the dynamic VPNC gateway selection component 309 can perform a migration of services from new and less critical (e.g., non-critical) clients to a secondary (or lower priority) VPNC gateway or data center. According to an embodiment, any currently existing sessions for client devices supported by the data center are retained. The selection of VPNCs in the BG and the selection of reverse paths in the DC are achieved by dynamically configuring the relevant import / export rules on demand for the corresponding destination prefix in the VRF-ID. This user behavior and destination service performance-aware dynamic system not only optimizes the use of resources in the VPNC, but also strengthens network fault tolerance and self-healing networks.
[0046] exist Figure 3AIn the example of , traffic from BG 308a for a selected destination is sent to the corresponding primary VPNC Gateway 306a. For all ECMP routes, traffic is sent to the same primary VPNC Gateway, i.e., 306a. However, if the health of the primary VPNC Gateway 306a or the service falls below a defined health / performance threshold, the BG 308a (with respect to the dynamic VPNC Gateway selection component 309) can be dynamically adjusted to begin sending traffic from clients identified as 1) new users and 2) less critical users to the secondary (or lower priority) VPNC Gateway 306n. In some embodiments, instead of dynamically selecting a VPNC Gateway, these techniques dynamically select a different data center to route traffic to.
[0047] Referring back to the scenario where the device and service health of the primary VPNC gateway 306a is good, the BG 308a maintains any current flows from the client devices 310j and 310k, and can migrate only sessions from any new clients added to the branch offices 315a, which are also assigned a "non-critical" criticality ranking. Any new entries in the data path table of the BG 308a from less critical clients can be used to decide to forward packets to the secondary VPNC gateway 306n of the data center 302a (or secondary data center) instead of forwarding to the designated primary VPNC gateway 306a.
[0048] Reference now Figure 3C , illustrates another example operation of a BG 308a configured with a dynamic VPNC gateway selection component 309. As described above, a key feature implemented by the dynamic VPNC gateway selection component 309 is to observe and evaluate the health (resource availability and performance) of the VPNC. In other words, the dynamic VPNC gateway selection component 309 has the ability to perform measurements on the performance of destination services and devices on the network. Current TCP / UDP uplink health checks can be leveraged in a manner that enables the VPNC gateway selection component 309 to monitor (and subsequently measure) the dynamic health / performance of specific devices and specific services provided by the data center. For example, relevant AMON messages are sent from the VPNC gateways 306a-306n at the data center 302a and ultimately transmitted to the dynamic VPNC gateway selection to keep track of resource availability on the device.
[0049] Specifically, in Figure 3CIn the example of , it is determined that the health of the primary VPNC gateway 306a has been degraded or otherwise reduced. For example, there may be a large amount of traffic being routed to the primary VPNC gateway 306a (e.g., a large number of client sessions), which causes the device's resources to be blocked (indicated by the dashed star). As a result, users of client devices 310j and 310k in current sessions with a destination 304 at a data center 302a may potentially experience slowdowns associated with impacts on the performance and health of the VPNC gateway 306a. However, by monitoring the condition of the network, the dynamic VPNC gateway selection component 309 can detect that the resources on the VPNC gateway 306a are below a health / performance threshold defined in accordance with these techniques. The BG 308a can use this perception to dynamically adjust and subsequently select a secondary VPNC gateway 306n to receive forwarding traffic from new and non-critical (or less critical) clients 310l. In other words, the BG 308a is configured to use awareness of the health of the VPNC gateways in the network (particularly the primary VPNC gateway 306a). In Figure 3C In the example of , BG 308a applies the disclosed technology to dynamically select a secondary VPNC gateway 306n in a way that optimizes the user experience, such as adjusting for a new client 310l while retaining existing sessions of 310j, 310k. In addition, by implementing the disclosed dynamic VPNC gateway configuration aspects, BG 308a can optimize the distribution of traffic to multiple VPNCs 306a-306n on a data center 302a.
[0050] Figure 3D FIG. 3 illustrates another example operation of a BG 308a having a dynamic VPNC gateway selection component 309 therein. In addition to evaluating device health, the dynamic VPNC gateway selection component 309 can also observe and evaluate the health of the service. Figure 3DIn the example of FIG. 308 , the dynamic VPNC gateway selection component 309 can determine that the health of the service at the data center 302a has degraded. For example, the BG 308a can forward uplink traffic to the network 310 to facilitate the current active session with the server 304 at the data center 302a, and the client device 310j is considered to be employed by the user of the critical user and the client device 310k is considered to be employed by the user of the less critical user (according to the criticality ranking scheme). While communicating with the data center 302a, the dynamic VPNC gateway selection component 309 can detect that the service provided by the server 304 in the data center 302a is not performing well relative to the health / performance threshold set on the component 309. In response to determining that the health of the service in the data center 302a has degraded, the dynamic VPNC gateway selection component 309 can dynamically select to send traffic from the client device 310l to the primary VPNC gateway 306o of the secondary data center 302n instead of to the data center 302a in the same manner as other currently active sessions. The VPNC gateway 306o can be defined as having a lower priority in the VPNC list configured in the SD-WAN. In some embodiments, the configuration for the VRF-ID is done in the primary VPNC 306o of the secondary data center 302n. The BG 308a can be commanded by the dynamic VPNC gateway selection component 309 to send traffic for any new and less critical clients (such as client device 310l) to the lower priority (or secondary) VPNC gateway 306o based on the configured VRF-ID.
[0051] According to the disclosed dynamic VPNC selection technique, the BG can be programmed to initially try to send traffic to the primary (higher priority) VPNC gateway of the data center. The primary VPNC can be configured in CAAS as the first VPNC of the primary data center, or the primary VPNC of another data center, with the lowest routing cost learned through PCM dynamic path forwarding. In either case, rules can be added in the BG for specific designated routes and corresponding VPNC lists and their costs as next hops. Figure 4 An example of a table 400 containing a list of VRF-IDs, destination prefixes, and next-hop gateways is depicted. For example, table 400 can originate from a debug dashboard and display routes learned from a device. The next hop can be learned using various mechanisms, such as via user configuration or via calculation of the shortest path through PCM. In table 400, it is shown that in order to reach network "192.168.19.176 / 28", the BG has two next hops available. The next hop with the lowest cost (10) is the VPNC with mac address "00:1a:1e:03:64:b0", and the next hop with a higher cost (20) is the VPNC with mac address "00:1a:1e:03:59:38".
[0052] Figure 5 A flow chart of a process 500 for implementing the disclosed dynamic VPNC gateway selection technique is illustrated. Figure 5 Process 500 is shown as a series of executable operations stored on machine-readable storage medium 504 performed by hardware processor 502, which may be a main processor of computing component 500. For example, computing component 500 may be at least referenced Figure 3B Dynamic VPNC gateway selection components are described. In operation, hardware processor 502 performs the operations of process 500, thereby implementing the disclosed technology.
[0053] In this example, process 500 begins at operation 506, where one or more users are ranked. Each user can be associated with one or more client devices on the network, such as a laptop at a branch office connected to the SD-WAN. Operation 506 may involve assigning a score to the user calculated by applying a user score calculation algorithm, and then using their corresponding scores to classify the user in a corresponding ranking. As a general description, for the purpose of ultimately assigning a ranking to the user, the user score calculation algorithm considers various parameters related to the user's behavior on the network in order to calculate a score indicative of their behavior. These parameters may include, but are not limited to: a) location; b) bandwidth consumed by critical and non-critical applications; c) quality of service (QoS) of the business; d) user reputation; e) user threat / security score; f) user role. The score for each user can be calculated by the BG, or alternatively, it can be calculated by resources on the cloud and then pushed to the BG. Again, operation 506 may also involve classifying users into rankings based on their scores. Therefore, the BG can be aware of the "behavior" of each user based on their ranking. For example, the BG may have a list that includes a ranking corresponding to each user (and client device) present in the system. In some embodiments, if a single user is associated with multiple devices on the network, such as using a laptop, desktop, and tablet, each of the multiple devices employed by the user is mapped to the same criticality ranking assigned to the user.
[0054] The user score calculation algorithm that can be applied at operation 506 is now described in detail. As a prerequisite or algorithm, a location map or floor plan map of all employees, AppRF data, bandwidth consumption and QoS data of each user, and network insight security events are generated. The score calculation can be performed in pseudo real time or periodically, for example, as defined by an administrator. By recalculating (or updating the calculation) the user score in a continuous manner, the disclosed technology can maintain a "dynamic" aspect of user behavior awareness. In particular, the disclosed technology generates dynamic user scores. The behavior of a user on a network (such as SD-WAN) is generally not static and will change as the user's needs and / or functions are adjusted. As an example, a user may be hired as a hardware engineer and then transferred to the software engineering department within the same company. Therefore, the type of application (e.g., bandwidth, QoS, etc.), permissions, roles, and other behaviors of the user on the company network will change as their job requirements and functions change. By ensuring that the user score calculation algorithm recalculates the user's score at different points in time, these technologies are able to capture such changes in user behavior, as reflected in the dynamically changing score. In order to provide a score for a user, the user score calculation algorithm uses the following factors.
[0055] 1. Location-based priority: High priority locations indicate physical locations where critical business tasks are performed. High priority locations (sales team, CEO office, technical support team area) are determined by the administrator or obtained based on the visualRf floor plan (if available). Users located in high priority locations will receive a high score. More important resources are more sensitive to network outages; therefore the score remains high.
[0056] 2. Prioritization based on bandwidth consumption of critical applications vs. non-critical applications: This is based on the percentage of BW used by non-critical applications and the percentage of critical applications. The user score is a representation of the user behavior of accessing business critical and non-business critical applications. The user score is a weighted combination of the percentage of bandwidth consumed by critical applications vs. non-critical applications. An example of a mathematical representation of user bandwidth is shown in the equation below:
[0057] User bandwidth score = (0.7 * bandwidth percentage consumed by critical applications (%)) + (0.3 * bandwidth consumed by non-critical applications (%))
[0058] In the above equation, low weight is given to the % of bandwidth used by non-critical applications. This is because those users who consume more bandwidth for non-critical applications are penalized more. An example of a mathematical representation of the % of bandwidth consumed by a user is shown in the equation below:
[0059] Bandwidth consumed by each user's key applications (%) = (total bandwidth consumed by the user's key applications) / (total number of bandwidth consumed by the user's key applications (#) + total bandwidth consumed by the user's non-key applications (#))
[0060] 3. Priority based on service QOS: This takes into account the QoS flow indicator given by the IP TOS / DSCP value. Users with most services entering the high priority queue will have a high score. An example of a mathematical representation of a user's QoS score is shown in the equation below:
[0061] Interface_qos_score=∑service_type_weight*%of_packets_in_class_type
[0062] Weights may be assigned to the different service types as defined in DSCP RFC 4594. Weights are implementation specific and may be assigned in the algorithm based on the implementation's choice (e.g., Express Forwarding has the highest weight, AF11-AF43 have subsequent, CS0-CS7 will have associated weights, Default Forwarding service contains appropriate weights, etc.).
[0063] 4. Prioritization based on user reputation: The reputation of a user is calculated based on the content accessed by the user. This will also take the following parameters as input:- Input: IP address, Time and date of request and response, Web category, Web reputation, File type, Content type, Utilized bandwidth Web category / Web reputation will be calculated by looking up certain known patterns in different fields like User Agent, IP, Domain, etc. and scoring them through Webroot / Brightcloud to get IP reputation. If the content accessed for the application is high, but most of the bytes (bandwidth) is consumed by Sports / Shopping categories, then the user should be avoided to reduce the weight. This can be achieved by assigning relative weights to each category. This may already be a part of the AppRf feature. User reputation can be generated based on a mathematical formula of the above factors or machine learning modeling or any other state of the art. An example of a mathematical representation of a user reputation score is shown in the equation below:
[0064] User_reputation_score=(a*w app+m*w url+f*w file+i*w ids d*w dlp)
[0065] Where a represents the total number of unauthorized applications accessed by the client.
[0066] m represents the total number of malware URL requests issued by the client.
[0067] f represents the total number of banned file attachments and / or MIME types used by the client in emails,
[0068] i represents the total number of abnormal intrusions detected by the client,
[0069] d represents the total number of sensitive data leaks detected for the client, and
[0070] W represents the weight assigned to the class.
[0071] 5. Prioritization based on user threat / security score: The threat score will be calculated based on events related to individual users (severity, confidence score, stage) and cross-event related information of associated devices or networks (e.g., stage changes across events). Event generation is typically done by marking the stream, which can be based on: a) rule-based situations, such as DGA, HTTP header sequence detection, bit stream, etc.; and b) third-party data-related situations, such as IOC, FireEye. Examples of events include DNS leaks / DNS-Dictionary-DGA, HTTP header typos / confusion, SSL expired certificates / SSL-inactive certificates, suspicious PDFs, spyware / adware access on user devices, hacker tools on devices, etc. An example of a mathematical representation of a user's security / threat score is shown in the equation below:
[0072] Entity_Threat_Score=0.5*maximum_event_score+0.25*attack_stage_feature+0.15*total_score_feature+0.10*detection_type_feature
[0073] Definitions for other user threat / security related scores are as follows:
[0074] Max event score: If at least one or several high-severity high-confidence events are hit, assign max(event_score) to the user
[0075] Attack stage characteristics: number of attack stages hit by the user / total number of attack stages
[0076] Detection type feature: number of detection types hit by the user / total number of detection types
[0077] Total score feature: sum(event_scores) / max(sum(event_scores) of all users)
[0078] 6. User - Role - Based Prioritization: Each role in the organization is assigned a score (e.g., in a corporate context, CEO = 0.8, senior vice president = 0.6, specialist level = 0.5, etc. Guest users will have the lowest score. Note that different roles can have the same score (e.g., researchers can have the same score as developers). This information can be obtained through identity and access management products.)
[0079] A. Factor Score Pre - processing:
[0080] Before calculating the scores, the scores of all factors are normalized by the Z - score or any mathematical variant. This helps in detecting outliers and comparing independent features. In cases where a range between 0 - 1 is required, with the help of the probability density function, the Z - score can be easily transformed into a percentile.
[0081] X - Normalized=(x - μ) / s, where:
[0082] μ is the mean of the population.
[0083] s is the standard deviation of the population
[0084] A mathematical representation of the user's reputation score is shown in the following equation:
[0085] User Score = w1*Luser + w2*Buser + w3*Quser + w4*RPuser + w5*Tuser + w6*RL, where w1, w2, w3, w4, w5, w6, w7 are the weights of the corresponding parameters subject to the constraints w1 + w2 + w3 + w4 + w5 + w6 + w7 = 1 and 0 < w1 < 1, 0 < w2 < 1, 0 < w3 < 1, 0 < w4 < 1, 0 < w5 < 1, 0 < w6 < 1, 0 < w7 < 1
[0086] Luser = Normalized position of the user [0,1]
[0087] Buser = Bandwidth - based normalized score [0,1]
[0088] Quser = QoS queue - based normalized score [0,1]
[0089] RPuser = Normalized user reputation value [0,1]
[0090] Tuser = Normalized threat score [0,1]
[0091] RLuser = Role - based normalized score [0,1]
[0092] The score calculation is quite open - ended and general. If a specific parameter must be removed from the score calculation consideration, the weight can be assigned as 0.
[0093] As previously described, in operation 506, the above-mentioned user score calculation algorithm may be applied to the user scores generated for multiple users of client devices on the network so as to ultimately rank the users. For example, the user scores calculated according to the user score calculation algorithm may be maintained in an appropriate data structure, as shown in Table 1 below, and accessed for subsequent use:
[0094]
[0095]
[0096] Next, process 500 may proceed to operation 508, where a conditional check is performed to determine whether the primary VPNC gateway for a particular data center is healthy. As previously described, key features of the disclosed dynamic VPNC gateway selection techniques include observing and evaluating the health (e.g., resource availability and performance) of services and VPNC gateway devices themselves. The health / performance threshold limit may be defined as an indication of the most unacceptable health measurement for a device and / or service. To reiterate, if the currently measured (or monitored) health of the primary VPNC gateway is compared to a health / performance threshold and is determined to be below the threshold, then the check in operation 508 may determine that the health of the primary VPNC gateway has degraded to an unacceptable level (e.g., the VPNC has slowed to a degree that negatively affects client connectivity). According to an embodiment, the health / performance threshold is set in such a way that at the point where the threshold is met there is sufficient capacity to serve all critical (e.g., higher priority) users currently associated with the network in addition to some critical users that may join the network in the future. In some embodiments, separate thresholds are used to correspond to the health of a device (or VPNC) and the health of a service, respectively.
[0097] Alternatively, if the currently measured health for the primary VPNC gateway is determined to be greater than the health / performance threshold, then operation 508 has determined that the primary VPNC gateway of the data center is healthy (at Figure 5 ). In response, process 500 then continues to check the health of the service. At operation 510, another conditional check is performed to determine whether the service at the data center is healthy. According to an embodiment, operations 508 and 510 may employ uplink health checks implemented in protocol standards such as TCP / UDP or Internet Control Message Protocol (ICMP) as a mechanism for dynamically monitoring the health / performance of specific devices and / or services provided by the data center. Similar to the previous operations, in operation 510, the health currently measured for the service may be compared to a health / performance threshold to determine whether the service provided by the data center is healthy.
[0098] In the case where the measured service health is greater than the health / performance threshold (in Figure 5 ), indicating that the health of both the device and the service associated with the primary VPNC gateway is sufficient to accept the selection of the primary VPNC gateway for use. After the service is deemed healthy at operation 510, process 500 can then continue to operation 512, where the primary VPNC gateway is dynamically selected for traffic forwarding for the user.
[0099] Otherwise, if it is determined that the VPNC gateway health (in operation 508) or the service health (in operation 510) is less than the health / performance threshold (in operation 520), then the VPNC gateway health (in operation 508) or the service health (in operation 510) is less than the health / performance threshold. Figure 5 ), then the process 500 has determined that the performance / health is not at an acceptable level for selecting a primary VPNC gateway and the selection scheme should be adjusted. For example, if the performance of the primary VPNC gateway is significantly degraded, continuing to use the primary VPNC gateway as the default gateway for receiving all services (e.g., additional services for new client devices) may further jeopardize the health of the device and may further inhibit VPNC in a way that affects the user experience. Therefore, when the process 500 detects that the health / performance of a device (e.g., a primary VPNC gateway) or service has degraded (e.g., below a health / performance threshold), it then enters a portion of the scheme that can dynamically adjust the configuration in a way that allows services to be allocated to a secondary VPNC gateway (or data center) to help prevent more serious health / performance issues from forming at the primary VPNC gateway.
[0100] Process 500 continues to the "adjustment" portion of the scenario at operation 514, where operations adjust from selecting a primary VPNC gateway to potentially migrate traffic to a secondary VPNC (or data center). Operation 514 involves performing a conditional check that determines whether the current traffic is associated with a user that was ranked as "less critical" (or non-critical) in the previous operation 506. This may involve referencing a stored and / or maintained list of clients and their corresponding scores / rankings on a network device.
[0101] In the event that operation 514 determines that the service is associated with a "less critical" client (in Figure 5 ), then process 500 continues to operation 516. At operation 516, an additional conditional check is performed to determine whether the business is associated with a new client. For example, if the business is associated with a client device that has just joined the SD-WAN or has no current session, then process 500 can identify them as new clients. In the event that the business is considered to be from a new client device in operation 516, this indicates that the adjustment selection scheme may be suitable for this user. Therefore, process 500 proceeds to operation 518.
[0102] Alternatively, at operation 514, it is determined that the service is associated with a critical client (e.g., not associated with a "less critical" client) (at Figure 5 ) or operation 516 determines that the service is not associated with the new client device (in Figure 5 ), the process 500 returns to operation 512. Therefore, based on the behavior evaluated for the specific user, the primary VPNC gateway is selected for forwarding its business. In other words, the dynamic VPNC gateway selection technology does not interfere with the business sessions of existing (e.g., not new clients) and key users (e.g., not "less critical" users), allowing them to continue their sessions using the primary VPNC gateway.
[0103] However, when the user's behavior indicates to process 500 that the user is new and "less critical" (e.g., a user with a lower user score and ranked below the critical ranking), this indicates that: 1) the user has just started sending traffic to the data center; 2) there is no entry in the data path; 3) the user has no existing sessions that are to be interrupted by rerouting its traffic to another VPNC. Therefore, dynamically adjusting the scheme to send traffic to the secondary VPNC gateway will not be intrusive and will not have a substantial impact on the experience of new and "less critical" users. Therefore, process 500 begins dynamically configuring VRF-IDs to select a different VPNC gateway (or data center) for the user based on their observed behavior. In addition, operations 514 and 516 can also determine less critical clients whose uplinks have flapped and whose sessions have to be restarted as new clients.
[0104] Next, at operation 518, the VRF may be configured at the secondary VPNC gateway. For example, operation 518 may involve adding a VRF-ID route target import and route target export configuration to a user that has been identified as a new and less critical user. The VRF is configured at the secondary VPNC gateway for reverse traffic, and the same VRF color tag configuration may be added to the BG. As background, routes may be advertised using VRF-IDs in an overlay network topology. Rules may be added to the VRFs on the VPNC gateway and / or the BG, wherein the rules govern whether to import / export routes corresponding to the VRF-ID. In some embodiments, the configuration of the VRF in operation 518 is done in Configuration as a Service (CAAS). In some cases, the routes of the configured VRF-IDs can only be learned and advertised by the device storing the configuration (e.g., other devices are not aware of the route). Therefore, the VRF may be dynamically configured in operation 528 to include a route when the health at the primary VPNC is down, which sends traffic from a specific new client and a "less critical" client to the secondary VPNC gateway in a manner that selects the VPNC to provide the best user experience and network resilience.
[0105] Subsequently, at operation 520, based on the configuration at the previous operation 518, a secondary VPNC gateway (or data center) is selected for service forwarding. Thereafter, at operation 522, the service may be initiated to be sent to the selected VPNC gateway. For example, after operation 512, the service is simulated to be forwarded to the primary VPNC gateway in operation 522. In the scenario where operation 522 is after operation 520, then operation 522 initiates service forwarding to the secondary VPNC gateway.
[0106] Figure 7 An example configuration for VRF rules 700 is depicted. Figure 7 An example configuration for VRF rules 700 is shown, which can be programmed on a secondary VPNC gateway to define imported target routes and exported target routes. VRF rules 700 are shown as being stored in a machine-readable storage medium 750. A machine-readable storage medium, such as machine-readable storage medium 750, may contain or store executable instructions. Thus, machine-readable storage medium 750 may be, for example, a random access memory (RAM), a non-volatile RAM (NVRAM), an electrically erasable programmable read-only memory (EEPROM), a storage device, an optical disk, and the like. In some embodiments, machine-readable storage medium 750 may be a non-transient storage medium, wherein the term "non-transient" does not encompass transient propagation signals. As described in detail below, machine-readable storage medium 750 may be encoded with executable instructions, such as the instructions shown in VRF rules 700. A hardware processor may execute the instructions of VRF rules 700 to perform dynamic selection of VPNC gateways. In some embodiments, VRF rules 700 are dynamically or on-demand configured via the disclosed technology.
[0107] Figure 6 6 is a block diagram of an example computing system or device 600 in which various embodiments described herein may be implemented. The computer system 600 may implement the dynamic VPNC gateway selection techniques disclosed herein. For example, the computer system 600 may be embodied as a dynamic VPNC gateway selection component (e.g., Figure 3B-Figure 3D ) or as another element of a branch gateway (BG) for performing the disclosed technology.
[0108] As shown, computer system 600 includes bus 602 or other communication mechanism for communicating information, one or more hardware processors 604 coupled to bus 602 for processing information. Hardware processor(s) 604 may be, for example, one or more general purpose microprocessors.
[0109] The computer system 600 also includes a main memory 606, such as a random access memory (RAM), cache, and / or other dynamic storage device, coupled to the bus 602 for storing instructions and information to be executed by the processor 604. The memory 606 may also be used to store temporary variables or other intermediate information during the execution of instructions to be executed by the processor 604. These instructions, when stored in a storage medium accessible to the processor 604, render the computer system 600 a special-purpose machine customized to perform the operations specified in the instructions.
[0110] The computer system 600 also includes a read only memory (ROM) 608 or other static storage device coupled to the bus 602 for storing static information and instructions for the processor 604. A storage device 610, such as a magnetic disk, optical disk, or USB thumb drive (flash drive), etc., is provided and coupled to the bus 602 for storing information and instructions.
[0111] The computer system 600 may be coupled to a display 612, such as a liquid crystal display (LCD) (or touch screen), via the bus 602 for displaying information to a computer user. An input device 614, including alphanumeric and other keys, is coupled to the bus 602 for communicating information and command selections to the processor 604. Another type of user input device is a cursor control 616, such as a mouse, trackball, or cursor direction keys, for communicating direction information and command selections to the processor 604 and for controlling cursor movement on the display 612. In some embodiments, the same direction information and command selections as the cursor control may be achieved via receiving touches on the touch screen without a cursor.
[0112] The computing system 600 may include a user interface module for implementing a GUI, which may be stored in a mass storage device as executable software code executed by the computing device(s). As examples, this module and other modules may include components such as software components, object-oriented software components, class components, and task components, procedures, functions, properties, programs, subroutines, program code segments, drivers, firmware, microcode, circuits, data, databases, data structures, tables, arrays, and variables.
[0113] In general, as used herein, the terms "component", "engine", "system", "database", "data repository", etc. may refer to logic embodied in hardware or firmware, or to a set of software instructions written in a programming language, which may have entry points and exit points, such as, for example, Java, C, or C++. Software components may be compiled and linked into an executable program, installed in a dynamic link library, or may be written in an interpreted programming language (such as BASIC, Perl, or Python). It should be understood that software components may be called from other components or from themselves, and / or may be dispatched in response to detected events or interrupts. Software components configured for execution on a computing device may be provided on a computer-readable medium, such as a compressed disk, a digital video disk, a flash drive, a magnetic disk, or any other tangible medium, or as a digital download (and may be initially stored in a compressed or installable format that requires installation, decompression, or decryption before execution). Such software code may be stored in part or in whole on a memory device of an executing computing device for execution by the computing device. Software instructions may be embedded in firmware such as an EPROM. It should also be appreciated that hardware components may be comprised of connected logic units such as gates and flip-flops, and / or may be comprised of programmable units such as programmable gate arrays or processors.
[0114] The computer system 600 may implement the techniques described herein using custom hardwired logic, one or more ASICs or FPGAs, firmware, and / or program logic that, in combination with the computer system, makes the computer system 600 a special purpose machine or programs it as a special purpose machine. According to one embodiment, the techniques herein are performed by the computer system 600 in response to the processor(s) 604 executing one or more sequences of one or more instructions contained in the main memory 606. Such instructions may be read into the main memory 1206 from another storage medium such as the storage device 610. Execution of the sequences of instructions contained in the main memory 606 causes the processor(s) 604 to perform the process steps described herein. In alternative embodiments, hardwired circuitry may be used in place of or in combination with software instructions.
[0115] As used herein, the term "non-transient medium" and similar terms refer to any medium that stores data and / or instructions that cause a machine to operate in a particular manner. Such non-transient media may include non-volatile media and / or volatile media. Non-volatile media include, for example, optical or magnetic disks, such as storage device 610. Volatile media include dynamic memory, such as main memory 606. Common forms of non-transient media include, for example, floppy disks, flexible disks, hard disks, solid-state drives, magnetic tapes or any other magnetic data storage media, CD-ROMs, any other optical data storage media, any physical media with hole patterns, RAM, PROMs and EPROMs, FLASH-EPROMs, NVRAMs, any other memory chips or cassettes and network versions thereof.
[0116] Non-transient media are distinct from transmission media but can be used in conjunction with transmission media. Transmission media participate in the transfer of information between non-transient media. For example, transmission media include coaxial cables, copper wire, and optical fiber, including the wires that make up bus 602. Transmission media can also take the form of acoustic or light waves, such as those generated during radio wave and infrared data communications.
[0117] Computer system 600 also includes a communication interface 618 coupled to bus 602. Network interface 618 provides bidirectional data communication coupled to one or more network links connected to one or more local area networks. For example, communication interface 618 can be an integrated services digital network (ISDN) card, a cable modem, a satellite modem, or a modem for providing a data communication connection to a telephone line of a corresponding type. As another example, network interface 618 can be a local area network (LAN) card to provide a data communication connection to a compatible LAN (or a WAN component communicating with a WAN). Wireless links can also be implemented. In any such implementation, network interface 618 sends and receives electrical, electromagnetic or optical signals carrying digital data streams representing various types of information.
[0118] A network link typically provides data communication to other data devices through one or more networks. For example, a network link may provide a connection to a host computer or data equipment operated by an Internet Service Provider (ISP) through a local area network. The ISP, in turn, provides data communication services through the global packet data communication network now commonly referred to as the "Internet." Both local area networks and the Internet use electrical, electromagnetic, or optical signals that carry digital data streams. The signals through the various networks and the signals on the network link and through the communication interface 618 are all example forms of transmission media that carry digital data to and from the computer system 600.
[0119] Computer system 600 can send messages and receive data, including program code, through the network(s), network links and communication interface 618. In the Internet example, a server can send the application's request code through the Internet, ISP, local area network and communication interface 618.
[0120] The received code may be executed by processor 604 as it is received, and / or stored in storage device 610 or other non-volatile storage for later execution.
[0121] Each of the processes, methods, and algorithms described in the foregoing sections may be embodied in a code component executed by one or more computer systems or computer processors including computer hardware, and fully or partially automated by it. One or more computer systems or computer processors may also be operable to support the execution of related operations in a "cloud computing" environment or operate as "software as a service" (SaaS). The processes and algorithms may be implemented in part or in whole in a dedicated circuit. The various features and processes described above may be used independently of each other, or may be combined in various ways. Different combinations and sub-combinations are intended to fall within the scope of the present disclosure, and certain methods or process blocks may be omitted in some implementations. The methods and processes described herein are also not limited to any particular order, and the boxes or states associated therewith may be executed in other appropriate orders, or may be executed in parallel, or in some other manner. Blocks or states may be added to or removed from the disclosed example embodiments. The execution of certain operations or processes may be distributed between computer systems or computer processors, which may reside in a single machine or be deployed on several machines.
[0122] As used herein, any form of hardware, software or its combination can be utilized to realize circuit.For example, one or more processors, controllers, ASIC, PLA, PAL, CPLD, FPGA, logic components, software routines or other mechanisms can be realized to form circuit.In implementation, various circuits described herein can be implemented as discrete circuits, or described functions and features can be partially or completely shared between one or more circuits.Although various features or functional elements can be described or claimed individually as separate circuits, these features and functionality can be shared between one or more common circuits, and such description should not require or imply that separate circuits are needed to realize these features or functionality.In the case where the circuit is implemented in whole or in part using software, such software can be implemented as operating together with a computing or processing system that can perform the functionality described therein, such as computer system 600.
[0123] As used herein, the term "or" may be interpreted as inclusive or exclusive. In addition, descriptions of resources, operations, or structures in the singular should not be interpreted as excluding the plural. Unless otherwise specifically stated, or otherwise understood in the context of use, conditional language, especially such as "can," "may," "could," or "might," is generally intended to convey that certain embodiments include, while other embodiments do not include, certain features, elements, and / or steps.
[0124] The terms and phrases used in this document, and variations thereof, should be interpreted as open ended and non-restrictive unless expressly stated otherwise. Adjectives such as "conventional," "traditional," "normal," "standard," "known," and terms of similar meaning should not be interpreted as limiting the items described to a given time period or to items available only at a given time, but should be interpreted as encompassing conventional, traditional, normal, or standard technology available or known at any time now or in the future. In some cases, the presence of broad words and phrases such as "one or more," "at least," "but not limited to," or other similar phrases should not be interpreted as meaning that a narrower context is intended or required where such broad phrases may not be present.
Claims
1. A method comprising: assigning a plurality of criticality rankings to the plurality of users based on one or more factors associated with a plurality of behaviors of the plurality of users; Determining, by a branch gateway including a hardware processor, whether a primary virtual private network concentrator VPNC gateway is healthy, wherein the primary VPNC gateway is from a plurality of VPNC gateways across one or more data centers, and the primary VPNC gateway receives forwarding services from a plurality of devices of the plurality of users, wherein the plurality of devices include a first device of a first user and a second device of a second user; determining, by the branch gateway, whether a service is healthy, wherein the service is provided by a data center of the one or more data centers; as well as Based on determining that the service is unhealthy or determining that the primary VPNC gateway is unhealthy: The branch gateway determines whether the first user associated with the first device has a non-critical ranking and whether the first device receiving the first service is a new client device newly joined the network, dynamically selecting, by the branch gateway, a secondary VPNC gateway from the plurality of VPNC gateways across the one or more data centers for transmitting the first service from the first device that is forwarded from the branch gateway to the secondary VPNC gateway based on determining that the first user has the non-critical ranking and the first device is a new client device, determining, by the branch gateway, whether the second user associated with the second device has a key ranking and whether the second device receiving the second service is a new client device newly joining the network, and Based on determining that the second user has the critical ranking or the second device is not a new client device, retaining, by the branch gateway, selection of the primary VPNC gateway for transmitting the second traffic from the second device forwarded from the branch gateway to the primary VPNC gateway.
2. The method of claim 1, wherein determining the primary VPNC gateway health comprises: Dynamically measure the health of devices associated with the primary VPNC gateway; comparing the measured health of the device to a health / performance threshold; as well as A determination is made that the measured health of the device is greater than the health / performance threshold. 3 . The method of claim 2 , wherein the measured device health is associated with at least one of resource availability of the primary VPNC gateway or performance of the primary VPNC gateway.
4. The method of claim 3, wherein dynamically measuring the device health associated with the primary VPNC gateway comprises: For the primary VPNC gateway, one of the following is performed: a Transmission Control Protocol (TCP) health check, a User Datagram Protocol (UDP) health check, or an Internet Control Message Protocol (ICMP) health check.
5. The method of claim 1 , wherein assigning a ranking to a user of the plurality of users comprises: calculating a user score for the user, wherein the user score is based on the one or more factors associated with the user's behavior; as well as A critical ranking or a non-critical ranking is assigned to the user based on the user score.
6. The method of claim 5, wherein the one or more factors associated with the behavior of the user include one or more of: the location of the user, bandwidth consumed by applications used by the user, quality of service (QoS) of services associated with the user, the reputation of the user, the threat or security score of the user, or the role of the user. The method of claim 5 , wherein the user score for the user changes dynamically over time as the one or more factors associated with the behavior of the user change.
8. The method according to claim 1, wherein the data center providing the service is a first data center, the method further comprising: A secondary VPNC gateway is dynamically selected by the branch gateway based on determining that the service is unhealthy or determining that the first user has the non-critical ranking and the first device is a new client device, the secondary VPNC gateway being in a second data center different from the first data center.
9. The method according to claim 1, wherein dynamically selecting the secondary VPNC gateway comprises: Dynamically configure a virtual routing and forwarding (VRF) route for the service of the first user at the secondary VPNC gateway.
10. A system comprising: A branch gateway, the branch gateway comprising a hardware processor and a non-transitory storage medium, the non-transitory storage medium comprising instructions executable on the hardware processor to: assigning a plurality of criticality rankings to the plurality of users based on one or more factors associated with a plurality of behaviors of the plurality of users; Determine whether a primary virtual private network concentrator VPNC gateway is healthy, wherein the primary VPNC gateway is from a plurality of VPNC gateways across one or more data centers, and the primary VPNC gateway receives forwarding services from a plurality of devices of the plurality of users, wherein the plurality of devices include a first device of a first user and a second device of a second user; determining whether a service is healthy, wherein the service is provided by a data center of the one or more data centers; as well as Based on determining that the service is unhealthy or determining that the primary VPNC gateway is unhealthy: determining whether the first user associated with the first device has a non-critical ranking and whether the first device receiving the first service is a new client device newly joining the network, dynamically selecting a secondary VPNC gateway from the plurality of VPNC gateways across the one or more data centers for transmitting the first traffic from the first device forwarded from the branch gateway to the secondary VPNC gateway based on determining that the first user has the non-critical ranking and the first device is a new client device, wherein the secondary VPNC gateway is different from the primary VPNC gateway, determining whether the second user associated with the second device has a critical ranking and whether the second device receiving the second service is a new client device newly joining the network, and Based on determining that the second user has the critical ranking or the second device is not a new client device, retaining selection of the primary VPNC gateway for communicating the second traffic from the second device forwarded from the branch gateway to the primary VPNC gateway.
11. The system of claim 10, wherein the instructions are executable on the hardware processor to dynamically monitor the health of each VPNC gateway in the plurality of VPNC gateways.
12. The system of claim 11, wherein the instructions are executable on the hardware processor to dynamically evaluate whether the primary VPNC gateway is healthy or unhealthy based on the monitored health.
13. The system of claim 10, wherein the data center providing the service is a first data center, and wherein the instructions are executable on the hardware processor to: Based on determining that the service is unhealthy or determining that the first user has the non-critical ranking and the first device is a new client device, dynamically selecting a secondary VPNC gateway, the secondary VPNC gateway being in a second data center different from the first data center.
14. The system of claim 10, wherein the instructions are executable on the hardware processor to: Assigning a ranking to a user of the plurality of users based on a user score calculated based on behavior of the user on the network, the user score calculated based on one or more factors including: The location of the user, bandwidth consumed by applications used by the user, quality of service (QoS) of traffic associated with the user, the reputation of the user, the threat or security score of the user, or the role of the user.
15. The system of claim 14, wherein the user score for the user changes dynamically over time as the one or more factors related to the behavior of the user change.
16. The system of claim 10, wherein the data center providing the service is a first data center, wherein the instructions are executable on the hardware processor to: The secondary VPNC gateway in the first data center is dynamically selected based on a determination that the primary VPNC gateway is unhealthy or a determination that the first user has the non-critical ranking and the first device is a new client device. 17 . The system of claim 12 , wherein the health of the primary VPNC gateway is based on resource availability of the primary VPNC gateway or performance of the primary VPNC gateway.
18. A non-transitory machine-readable storage medium comprising instructions that, when executed, cause a branch gateway to: Assigning a ranking to a user based on one or more factors associated with a behavior of the user, wherein the user is associated with a client device, wherein assigning the ranking to the user comprises: calculating a user score for the user based on the one or more factors associated with the behavior of the user, and assigning a critical ranking or a non-critical ranking to the user based on the user score; Determining whether a primary virtual private network concentrator VPNC gateway is healthy, wherein the primary VPNC gateway is from a plurality of VPNC gateways in one or more data centers across a network to receive forwarding services from the user; In response to determining that the primary VPNC gateway is healthy, determining whether a service is healthy, wherein the service is provided by a destination at a data center of the network; as well as In response to determining that the service is healthy, selecting the primary VPNC gateway to receive the forwarding service from the user; as well as In response to determining that the service is unhealthy or in response to determining that the primary VPNC gateway is unhealthy: determining whether the user is a non-critical user based on the ranking assigned to the user, In response to determining that the user is a non-critical user, determining whether the client device associated with the user is a new device to the network, and In response to determining that the client device is newly added to the network, a secondary VPNC gateway is dynamically selected from the plurality of VPNC gateways across the one or more data centers for transmitting the forwarded traffic from the user.
19. The non-transitory machine-readable storage medium of claim 18, wherein dynamically selecting the secondary VPNC gateway comprises: A virtual routing and forwarding (VRF)-ID is dynamically configured using rules to route reverse traffic from the selected secondary VPNC gateway at the data center to the client device associated with the user.
