A DDoS attack protection method, protection system and computer storage medium

By obtaining the routing information and access routes of the Autonomous System (AS) from the DDoS cleaning device and establishing a correspondence with the DNS node, the problem of the DDoS cleaning device being unable to determine the authenticity of the access source IP address is solved, thus achieving more efficient DDoS attack protection.

CN116015974BActive Publication Date: 2026-11-24CHINA TELECOM NETWORK SECURITY TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310095686.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-18
Publication Date
2026-11-24
Estimated Expiration
2043-01-18

AI Technical Summary

Technical Problem

DDoS mitigation equipment cannot effectively determine the authenticity of the source IP address, resulting in low accuracy of DDoS attack protection.

Method used

By obtaining routing information and access routes of the Autonomous System (AS), a correspondence is established with DNS nodes to determine IP address ranges and provide trusted access source information to the DDoS cleaning device.

Benefits of technology

It improves the accuracy of DDoS attack protection and enhances the protection efficiency of DDoS mitigation equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116015974B_ABST
    Figure CN116015974B_ABST
Patent Text Reader

Abstract

This application provides a DDoS attack protection method, protection system, and computer storage medium. It includes: acquiring first routing information of an Autonomous System (AS), the first routing information including Internet Protocol (IP) address ranges belonging to the AS and access routes corresponding to each IP address range; determining a first correspondence between each access route and a DNS node; determining the IP address range in the AS corresponding to each DNS node based on the first routing information and the first correspondence; and sending the IP address range of the AS corresponding to the target DNS node to a DDoS mitigation device, where the target DNS node is any one of the plurality of DNS nodes. Therefore, this application provides information to the DDoS mitigation device for determining the authenticity of the access source, further improving the accuracy of attack protection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data processing technology, and in particular to a DDoS attack protection method, protection system, and computer storage medium. Background Technology

[0002] Currently, DDoS attacks targeting Domain Name System (DNS) nodes (or servers) primarily include DNS request flood attacks, DNS Reply Flood attacks, and DNS reflection attacks. These attack methods can initiate fake DNS requests, affecting the operation of DNS nodes or hindering their ability to respond to legitimate user requests.

[0003] DNS nodes can be protected from DDoS attacks by connecting to DDoS scrubbing devices. DDoS scrubbing devices can ensure the reliability of request sources by authorizing the Internet Protocol (IP) address of the access source. Since DNS requests do not carry the IP information of the request source, how to enable DDoS scrubbing devices to determine the trustworthiness of the access source is a crucial issue that needs to be addressed. Summary of the Invention

[0004] The exemplary embodiments of this application provide a DDoS attack protection method, protection system, and computer storage medium, which can enable DDoS mitigation equipment to provide access source trust information, further improving the accuracy of attack protection.

[0005] A first aspect of this application provides a DDoS attack protection method, the method comprising:

[0006] Obtain first routing information of an Autonomous System (AS), the first routing information including Internet Protocol (IP) address ranges belonging to the AS, and access routes corresponding to each IP address range;

[0007] Determine the first correspondence between each access route and a DNS node;

[0008] Based on the first routing information and the first correspondence, determine the IP address range in the AS corresponding to each DNS node;

[0009] Send the IP address range of the AS corresponding to the target DNS node to the DDoS scrubbing device corresponding to the target DNS node, wherein the target DNS node is any one of the plurality of DNS nodes.

[0010] In one embodiment, the DDoS attack protection method provided in this application further includes:

[0011] Detect whether the routing information of the AS has been updated;

[0012] If the routing information of the AS is updated, the second correspondence between each access route in the second routing information and the DNS node is determined according to the updated second routing information of the AS. The second routing information includes the updated IP address ranges belonging to the AS and the access routes corresponding to each IP address range.

[0013] Based on the second routing information and the second correspondence, the IP address range of the AS corresponding to each DNS node is re-determined and sent.

[0014] In one embodiment, the DDoS attack protection method provided in this application includes detecting whether the routing information of the AS has been updated, comprising:

[0015] Detect whether the AS is experiencing network congestion; and / or,

[0016] Detect whether there is a link anomaly in the AS.

[0017] In one embodiment of the DDoS attack protection method provided in this application, the link anomaly includes one or more of the following:

[0018] The access route corresponding to at least one IP address range in the AS is adjusted to a new access route, and the access route corresponding to at least one IP address range in the AS is adjusted to other access routes.

[0019] In one embodiment, the DDoS attack protection method provided in this application further includes:

[0020] If the DDoS mitigation device corresponding to the first DNS node determines that the IP address range corresponding to the first DNS node includes the target IP address that initiated the access, then it will not perform protection operations on the target IP address.

[0021] In one embodiment, the DDoS attack protection method provided in this application further includes:

[0022] If the DDoS mitigation device corresponding to the second DNS node determines that the IP address range corresponding to the second DNS node does not include the target IP address that initiated the access, it will perform protection operations on the target IP address based on preset rules.

[0023] A second aspect of this application provides a protection system for DDoS attack protection of the plurality of Domain Name System (DNS) nodes;

[0024] The system includes: a network controller and at least one DDoS mitigation device, the DDoS mitigation device corresponding to one or more DNS nodes; the network controller is used for:

[0025] Obtain first routing information of an Autonomous System (AS), the first routing information including Internet Protocol (IP) address ranges belonging to the AS, and access routes corresponding to each IP address range;

[0026] Determine the first correspondence between each access route and a DNS node;

[0027] Based on the first routing information and the first correspondence, determine the IP address range in the AS corresponding to each DNS node;

[0028] The system sends the IP address range in the AS corresponding to the DNS node so that each DDoS cleaning device can receive the IP address range in the AS corresponding to its DNS node.

[0029] In one embodiment, the protection system provided in this application further includes a DNS node controller and a DDoS cleaning management device;

[0030] The DNS node controller is used to send the IP address range in the AS corresponding to each DNS node to the DDoS cleaning management device;

[0031] The DDoS cleaning management device is configured to determine the IP address range of the AS corresponding to the target DNS node based on the IP address range in the AS corresponding to each DNS node, wherein the target DNS node is any one of the at least one DNS nodes; and to send the IP address range of the AS corresponding to the target DNS node to the DDoS cleaning device corresponding to the target DNS node.

[0032] In one embodiment of the protection system provided in this application, the network controller is further configured to:

[0033] Detect whether the routing information of the AS has been updated;

[0034] If the routing information of the AS is updated, a second correspondence between each access route and the DNS node is determined based on the updated second routing information of the AS. The second routing information includes the updated IP address ranges belonging to the AS and the access routes corresponding to each IP address range.

[0035] Based on the second routing information and the second correspondence, the IP address range of the AS corresponding to each DNS node is re-determined and sent.

[0036] In one embodiment, in the protection system provided by this application, when the network controller detects whether the routing information of the AS has been updated, it is specifically used for:

[0037] Detect whether the AS is experiencing network congestion; and / or,

[0038] Detect whether there is a link anomaly in the AS.

[0039] In one embodiment, the link anomaly in the protection system provided by this application includes one or more of the following:

[0040] The access route corresponding to at least one IP address range in the AS is adjusted to a new access route, and the access route corresponding to at least one IP address range in the AS is adjusted to other access routes.

[0041] In one embodiment, in the protection system provided by this application, if the DDoS cleaning device corresponding to the first DNS node determines that the IP address range corresponding to the first DNS node includes the target IP address that initiated the access, then it performs a protection operation on the target IP address.

[0042] In one embodiment, in the protection system provided by this application, if the DDoS cleaning device corresponding to the second DNS node determines that the IP address range corresponding to the second DNS node does not include the target IP address that initiated the access, then it performs protection operations on the target IP address based on preset rules.

[0043] According to a third aspect of the embodiments of this application, an electronic device is provided, comprising:

[0044] At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor; the instructions being executed by the at least one processor to enable the at least one processor to perform the method as described in the first aspect.

[0045] According to a fourth aspect provided in the embodiments of this application, a computer storage medium is provided, the computer storage medium storing a computer program for performing the method as described in the first aspect.

[0046] The beneficial effects of the embodiments of this application are as follows:

[0047] This application provides a DDoS attack protection method, protection system, and computer storage medium. By utilizing the routing information of the Application Server (AS) and the correspondence between the AS's corresponding access routes and DNS nodes, the correspondence between each DNS node and the IP range within the AS can be determined, thereby establishing the mapping relationship between each DNS node and the AS's IP address range. Providing the associated DNS node's corresponding IP address range to the DDoS mitigation device enables the device to determine the authenticity of the access source, further improving the accuracy of attack protection.

[0048] Other features and advantages of this application will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the application. The objectives and other advantages of this application may be realized and obtained by means of the structures particularly pointed out in the written description, claims, and drawings. Attached Figure Description

[0049] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0050] Figure 1 This is a schematic diagram of the structure of a protection system according to one embodiment of this application;

[0051] Figure 2 This is a flowchart illustrating one embodiment of a DDoS attack protection method according to this application;

[0052] Figure 3 This is a second schematic flowchart of a DDoS attack protection method according to an embodiment of this application;

[0053] Figure 4 This is a schematic diagram of the structure of an electronic device according to an embodiment of this application. Detailed Implementation

[0054] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0055] In the embodiments of this application, the term "and / or" describes the relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent three cases: A alone, A and B simultaneously, and B alone. The character " / " generally indicates that the preceding and following associated objects have an "or" relationship.

[0056] The application scenarios described in this application are for the purpose of more clearly illustrating the technical solutions of this application, and do not constitute a limitation on the technical solutions provided in this application. Those skilled in the art will understand that with the emergence of new application scenarios, the technical solutions provided in this application are also applicable to similar technical problems. In the description of this application, unless otherwise stated, "multiple" means two or more.

[0057] With the continuous development and popularization of networking technology, the number of network devices is increasing, and various network attack methods have gradually become a focus of attention. A DDoS attack refers to sending a large number of data packets from a controlled host device on the Internet to a target IP address, causing the target host device to suffer bandwidth congestion and service disruptions. DDoS attacks on DNS mainly include DNS request flood attacks, DNS Reply Flood attacks, and DNS reflection attacks.

[0058] In a DNS request flood attack, hackers control a botnet to send a large number of DNS resolution requests for non-existent domain names to DNS nodes, eventually causing the DNS nodes to become overloaded due to the large number of DNS requests and unable to continue responding to DNS requests from normal users.

[0059] In a DNS Reply Flood attack, the DNS query process is typically based on the UDP protocol, which is connectionless. This vulnerability is easily exploited by hackers. When a DNS node receives a DNS reply message, it processes these messages regardless of whether it has actually sent a resolution request. A DNS reply flood occurs when a hacker sends a large number of DNS reply messages to a DNS caching server, causing the server to run out of resources processing these messages and disrupting normal operations.

[0060] DNS reflection attacks are a variation of DNS reply floods, and a more advanced form of DNS reply flood. DNS nodes are one of the most fundamental infrastructures of the internet, and there are many open DNS nodes in the network. DNS reflection attacks exploit these open DNS nodes. Such attacks are typically more powerful, harder to trace, and more adept at disguising themselves than ordinary DNS reply floods.

[0061] Typically, DNS nodes are connected in series with DDoS scrubbing equipment to clean up incoming traffic and prevent DDoS attacks. DDoS scrubbing equipment primarily addresses DNS DDoS attacks by authorizing the source IP address of the access point to ensure its reliability. Normal users use their real IP addresses when initiating DNS access. However, when hackers attack DNS nodes using DDoS attacks, they forge the source address, using a fake IP address. Under a DDoS attack, DDoS scrubbing equipment cannot verify the authenticity of the source IP address.

[0062] In view of this, this application provides a DDoS attack protection method. This method involves obtaining first routing information of an Autonomous Network (AS), including IP address ranges belonging to the AS and access routes corresponding to each IP address range. A first correspondence between each access route and a DNS node is determined. Based on the first routing information and the first correspondence, the DNS node corresponding to each IP address range of the AS is determined, thus obtaining the DNS node corresponding to each IP address range. The DNS node corresponding to each IP address range of the AS is then sent to the DDoS mitigation device corresponding to the DNS node. Therefore, this embodiment provides the DDoS mitigation device corresponding to the DNS node with information for determining the authenticity of the IP address of the access source of the DNS node, which can improve the protection efficiency of the DDoS mitigation device corresponding to the DNS node, thereby improving the DDoS attack protection effect. The solution of this application will be described in detail below with reference to the accompanying drawings.

[0063] Before introducing the DDoS attack protection method in this application, the structure of the protection system in this application will be explained first, such as... Figure 1As shown, the protection system can be applied to protect DNS nodes in a backbone network from DDoS attacks. The backbone network may include one or more DNS nodes and access routes (routers). One or more Autonomous Systems (AS) can initiate access to the DNS nodes through the access routes. ASes can be classified as public ASes or private ASes. Each AS is configured with one or more IP address ranges. Each IP address range may include one or more IP addresses. Each IP address initiates a DNS request to the DNS node corresponding to its AS through the access route it belongs to. Optionally, the backbone network can be implemented as an Autonomous System.

[0064] The protection system may include a network controller and one or more DDoS mitigation devices. A single DDoS mitigation device may be used to protect one or more DNS nodes. In this embodiment, the DDoS mitigation device may be used to protect a corresponding (or associated) DNS node.

[0065] For any Autonomous System (AS) connected to the backbone network, the network controller can perform the following operations: Obtain first routing information for the AS, including Internet Protocol (IP) address ranges belonging to the AS and access routes corresponding to each IP address range. The network controller can determine a first correspondence between each access route and a DNS node. Based on the first routing information and the first correspondence, the network controller can determine the DNS node corresponding to each IP address range of the AS, thereby determining the mapping relationship between each DNS and the IP address ranges of the AS.

[0066] In some examples, the network controller can directly send the IP address range of the AS corresponding to the target DNS node to the DDoS mitigation device corresponding to the target DNS node.

[0067] In other examples, the protection system may also include a DNS node controller and a DDoS mitigation management device. The DNS node controller can manage the DNS nodes in the backbone network. The DDoS mitigation management device can manage the DDoS mitigation devices within the protection system. The network controller can send the mapping relationship between each DNS and the IP address range of the AS to the DNS node controller. The DNS node controller can send the mapping relationship between each DNS and the AS to the DDoS mitigation management device. The DDoS mitigation management device can determine the IP address range corresponding to the target DNS node based on the mapping relationship between each DNS and the AS, and send the IP address range corresponding to the target DNS node to the DDoS mitigation management device corresponding to the target DNS node.

[0068] The DDoS attack protection method in this application will be described in detail below with reference to the accompanying drawings, such as... Figure 2 The diagram shown is a flowchart of the DDoS attack protection method of this application, which may include the following steps:

[0069] Step 201: Obtain the first routing information of the Autonomous System (AS);

[0070] In the DDoS attack protection method provided in this application embodiment, the operations in steps S201 to 204 can be performed on any AS. The first routing information of the AS may include, but is not limited to, the IP address ranges belonging to that AS, and the access routes corresponding to each IP address range.

[0071] Network routers can cache network routing information for each AS, also known as first routing information, which can be understood as static routing information for the AS. In this embodiment, the IP address range may include one or more IP addresses. For example, in a scenario where the IP address range includes one IP address, that IP address range is also the included IP address. In some scenarios, the first routing information of an AS may also include the type of the AS.

[0072] Step 202: Determine the first correspondence between each access route and the DNS node;

[0073] The network controller can determine the shortest route from each access route to the anycast DNS server through simulation calculations. An anycast DNS server typically includes multiple DNS nodes. The DNS node corresponding to each access route is the DNS node that provides the shortest path for the access route to reach the anycast DNS server. The network controller can employ any existing method or approach for determining the DNS node that provides the shortest path for the access route to reach the anycast DNS server. This application does not specifically limit this approach.

[0074] The network controller can record the DNS nodes corresponding to each access route in the first routing information as the first correspondence. Therefore, in step 202, the network controller uses static routing information to determine the DNS nodes corresponding to each access route.

[0075] Step 203: Based on the first routing information and the first correspondence, determine the IP address range in the AS corresponding to each DNS node;

[0076] The network controller can use the first routing information and the first correspondence to determine the IP address range in the AS corresponding to each DNS node. For example, if IP address range 1 corresponds to access route 1, the network controller can determine the DNS node 1 corresponding to access route 1 as the DNS node 1 corresponding to IP address range 1. Alternatively, the IP address range corresponding to DNS node 1 includes IP address range 1. In practical applications, one DNS node can correspond to one or more IP addresses.

[0077] Step 204: Send the IP address range of the AS corresponding to the target DNS node to the DDoS cleaning device corresponding to the target DNS node.

[0078] The target DNS node can be any one of the at least one DNS nodes. The network controller can send the DNS node corresponding to each IP address range of the AS to the DDoS mitigation device corresponding to the relevant DNS node. The network controller can send data for the DDoS mitigation device corresponding to the target DNS node to perform DDoS attack protection. This data can carry the IP address range of the AS corresponding to the target DNS node. Alternatively, the data can carry the IP address ranges of each AS corresponding to the target DNS node. The IP range corresponding to a DNS node can be considered as the IP database corresponding to that DNS node. The network controller can directly or indirectly send the IP database of the target DNS node to the DDoS mitigation device corresponding to the target DNS node.

[0079] In one embodiment, the network controller can detect whether the routing information of the AS has been updated. In some examples, when the network controller detects whether the routing information of the AS has been updated, it can also detect whether the AS is experiencing network congestion.

[0080] When a network controller detects network congestion in an AS, it can directly or indirectly monitor link traffic within the AS. For example, the AS (or its monitoring system) can collect full-link, port, and flow data to calculate link congestion. If the AS (or its monitoring system) determines that the traffic on any link in the AS's entire network has increased beyond the traffic monitoring threshold, it will migrate the traffic on that link. This may cause changes to the access routes corresponding to the AS's IP address range, resulting in an update (or change) of the AS's routing information. The updated (or changed) routing information of the AS is referred to as the second routing information, distinct from the first routing information mentioned above.

[0081] In one possible scenario, if the traffic increase on any link in the entire AS does not exceed the traffic monitoring threshold, the network controller detects that the AS is not congested, and the routing information of the AS is not updated. In another possible scenario, if the traffic increase on at least one link in the entire AS does not exceed the traffic monitoring threshold, the network controller detects that the AS is congested, and the routing information of the AS is updated.

[0082] In other examples, when the network controller detects whether the routing information of the AS has been updated, it can detect whether the AS has a link anomaly.

[0083] When the network controller detects whether there is a link anomaly in the AS, it can detect whether one or more of the following anomalies exist:

[0084] Abnormal Scenario 1: At least one IP address range in the AS is adjusted to a newly added access route. This may result in the addition of new access routes in the backbone network. Access route adjustments may occur within the IP range of the AS, changing to the newly added access routes, thus updating the AS's routing information.

[0085] Abnormal Scenario 2: The access route corresponding to at least one IP address segment in the AS is adjusted to another access route. Adjustments to the access route configuration in the backbone network may cause the access route for an IP segment in the AS to switch to another route in the backbone network.

[0086] If the network controller detects either exception 1 or exception 2 in an AS, it can determine that a link anomaly has been detected in the AS, and the routing information of that AS will be updated. If the network controller does not detect exception 1 or exception 2 in an AS, it can determine that there is no link anomaly in the AS, and the routing information of that AS will not be updated.

[0087] In other examples, the network controller can detect whether the AS is experiencing network congestion and whether the AS has link anomalies. If the network controller detects network congestion in the AS, it can determine that the AS's routing information has been updated. Alternatively, if the network controller detects link anomalies in the AS, it can determine that the AS's routing information has been updated. If the network controller detects that the AS is neither experiencing network congestion nor link anomalies, it can determine that the AS's routing information has not been updated.

[0088] If the routing information of the AS is updated, the network controller can determine a second correspondence between each access route and a DNS node in the updated second routing information of the AS. The second routing information includes the updated IP address ranges belonging to the AS and the access routes corresponding to each IP address range. Based on the second routing information and the second correspondence, the DNS node corresponding to each IP address range of the AS is re-determined. This allows for the re-determination of the IP address range corresponding to the target DNS node, i.e., the IP database of the target DNS node. This enables the DDoS mitigation equipment corresponding to the target DNS node to obtain information used to determine the authenticity of the IP address of the access source to the target DNS node.

[0089] In one possible implementation, the DDoS mitigation device corresponding to the target DNS node can implement a whitelist mechanism. All traffic initiating access to the target DNS node (denoted as the target IP address) first passes through the DDoS mitigation device corresponding to the target DNS node. The DDoS mitigation device can determine whether the target IP address is within the IP address range corresponding to the target DNS node.

[0090] Alternatively, the system checks whether the target IP address is included in the IP range corresponding to the target DNS node. If so, no protection is applied to the target IP address. If not, protection is applied based on preset rules. For example, the target IP address might be processed using preset rules. For instance, it could be handled according to the protocol: based on TCP, it could be subject to TCP matching rules; or based on UDP, it could be subject to UDP matching rules. Another example is matching by IP application, such as DNS application, and applying DNS defense rules. Yet another example is implementing rate limiting rules, limiting traffic based on port, protocol, bps, and pps. Yet another example is utilizing the DNS retransmission mechanism to discard the initial DNS request from the target IP address. If the target IP address initiates a secondary resolution request, it is allowed to proceed and the request is submitted to the target DNS node; otherwise, the target IP address is blocked. Yet another example is that after receiving a DNS reply message from the target IP address, a new DNS request message is reconstructed, recording the Query ID and source port number of the constructed query message. If it is a fake DNS authoritative server, it will not respond to this DNS request message, and authentication will fail. If it is a legitimate DNS authoritative server, it will respond with a new DNS reply message. For example, through the DNS protocol retransmission mechanism, the target IP address is required to re-initiate a DNS query using the TCP protocol. If the target IP address has switched to the TCP protocol, the request from the target IP address is provided to the target DNS node; if the target IP address has not switched to the TCP protocol, the target IP address's DNS request is blocked.

[0091] In another possible implementation, the DDoS mitigation device corresponding to the target DNS node can implement a blacklist mechanism. All traffic initiating access to the target DNS node (denoted as the target IP address) first passes through the DDoS mitigation device corresponding to the target DNS node. The DDoS mitigation device can determine whether the target IP address is within the IP address range corresponding to the target DNS node.

[0092] Alternatively, the system checks whether the target IP address is included in the IP range corresponding to the target DNS node. If so, the target IP address is blocked. If not, protection is applied to the target IP address based on preset rules. For example, preset rules might be used to process the target IP address. For instance, it might be handled according to the protocol: based on TCP, it would enter the TCP matching rule; or based on UDP, it would enter the UDP matching rule. Another example is matching according to IP application, such as DNS application, entering the DNS defense rule. Yet another example is implementing rate limiting rules, limiting traffic based on port, protocol, bps, and pps. Yet another example is utilizing the DNS protocol retransmission mechanism to discard the initial DNS request from the target IP address; if the target IP address initiates a secondary resolution request, it is allowed to proceed and the request is submitted to the target DNS node; otherwise, the target IP address is blocked. Yet another example is that after receiving a DNSreply message from the target IP address, a new DNS request message is reconstructed, and the Query ID and source port number of the constructed query message are recorded. If it is a fake DNS authoritative server, it will not respond to this DNS request message, and authentication will fail. If it is a legitimate DNS authoritative server, it will respond with a new DNS reply message. For example, through the DNS protocol retransmission mechanism, the target IP address is required to re-initiate a DNS query using the TCP protocol. If the target IP address has switched to the TCP protocol, the request from the target IP address is provided to the target DNS node; if the target IP address has not switched to the TCP protocol, the target IP address's DNS request is blocked.

[0093] The DDoS attack protection method in this application will be described in detail below with reference to the accompanying drawings, such as... Figure 3 The diagram shown is a flowchart of the DDoS attack protection method of this application, which may include the following steps:

[0094] Step 301: The network controller obtains the static routing information of the Autonomous System (AS).

[0095] The static routing information can be the first routing information in the aforementioned embodiments. The static routing information includes Internet Protocol (IP) address ranges belonging to the AS, and the access routes corresponding to each IP address range.

[0096] Step 302: The network controller determines the first mapping between each access route and the DNS node;

[0097] Step 303: The network controller determines the IP address range in the AS corresponding to each DNS node based on the static routing information and the first correspondence.

[0098] Step 304: The network controller sends the IP address range in the AS corresponding to the DNS node to the DNS node controller;

[0099] Step 305: The DNS node controller sends the IP address range in the AS corresponding to the DNS node to the DDoS cleaning management device.

[0100] Step 306: The DDoS cleaning management device determines the IP address range of the AS corresponding to the target DNS node based on the IP address range in the AS corresponding to each DNS node.

[0101] The target DNS node is any one of at least one DNS node.

[0102] Step 307: The DDoS cleaning management device sends the IP address range of the AS corresponding to the target DNS node to the DDoS cleaning device corresponding to the target DNS node.

[0103] In one possible implementation, the DDoS attack protection method may further include the following steps:

[0104] Step 308: The network controller detects the dynamic routing information of the AS;

[0105] The dynamic routing information can be the second routing information in the aforementioned embodiment. The dynamic routing information includes the updated IP address ranges belonging to the AS and the access routes corresponding to each IP address range.

[0106] Step 309: The network controller re-determines the second correspondence between each access route and the DNS node;

[0107] Step 310: The network controller re-determines the IP address range in the AS corresponding to each DNS node based on the dynamic routing information and the second correspondence.

[0108] Step 311: The network controller sends the updated IP address range in the AS corresponding to the DNS node to the DNS node controller;

[0109] Step 312: The DNS node controller sends the updated IP address range in the AS corresponding to the DNS node to the DDoS cleaning management device.

[0110] Step 313: The DDoS cleaning management device re-determines the IP address range of the AS corresponding to the target DNS node based on the updated IP address range in the AS corresponding to each DNS node.

[0111] The target DNS node is any one of at least one DNS node.

[0112] Step 314: The DDoS cleaning management device sends the updated IP address range of the AS corresponding to the target DNS node to the DDoS cleaning device corresponding to the target DNS node.

[0113] After introducing a DDoS attack protection method and protection system according to an exemplary embodiment of this application, the electronic device according to another exemplary embodiment of this application will be introduced next.

[0114] Those skilled in the art will understand that various aspects of this application can be implemented as a system, method, or program product. Therefore, various aspects of this application can be specifically implemented in the following forms: a completely hardware implementation, a completely software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, collectively referred to herein as a "circuit," "module," or "system."

[0115] In some possible implementations, the electronic device according to this application may include at least one processor and at least one computer storage medium. The computer storage medium stores program code that, when executed by the processor, causes the processor to perform the steps in the DDoS attack protection methods according to the various exemplary embodiments of this application described above. For example, the processor may perform actions such as... Figure 2 Steps 201-204 are shown in the diagram. Alternatively, the processor can perform the operations performed by the network controller in any of the above embodiments. Alternatively, the processor can perform the operations performed by the DNS node controller in any of the above embodiments. Alternatively, the processor can perform the operations performed by the DDoS mitigation management device in any of the above embodiments.

[0116] The following reference Figure 4 To describe an electronic device 1000 according to this embodiment of the present application. Figure 4 The electronic device 1000 shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.

[0117] like Figure 4As shown, the electronic device 1000 is manifested in the form of a general electronic device. The components of the electronic device 1000 may include, but are not limited to: at least one processor 1001, at least one computer storage medium 1002, and a bus 1003 connecting different system components (including the computer storage medium 1002 and the processor 1001).

[0118] Bus 1003 represents one or more of several bus structures, including computer storage media bus or computer storage media controller, peripheral bus, processor, or local bus using any of the various bus structures.

[0119] Computer storage medium 1002 may include readable media in the form of volatile computer storage media, such as random access computer storage medium (RAM) 1021 and / or cache storage medium 1022, and may further include read-only computer storage medium (ROM) 1023.

[0120] The computer storage medium 1002 may also include a program / utility 1025 having a set (at least one) of program modules 1024, such program modules 1024 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.

[0121] Electronic device 1000 can also communicate with one or more external devices 1004 (e.g., keyboard, pointing device, etc.), one or more devices that enable a user to interact with electronic device 1000, and / or any device that enables electronic device 1000 to communicate with one or more other electronic devices (e.g., router, modem, etc.). This communication can be performed via input / output (I / O) interface 1005. Furthermore, electronic device 1000 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 1006. As shown, network adapter 1006 communicates with other modules used in electronic device 1000 via bus 1003. It should be understood that, although not shown in the figures, other hardware and / or software modules can be used in conjunction with electronic device 1000, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0122] In some possible implementations, various aspects of the DDoS attack protection method provided in this application can also be implemented in the form of a program product, which includes program code. When the program product is run on a computer device, the program code is used to cause the computer device to perform the steps in the DDoS attack protection method according to the various exemplary embodiments of this application described above.

[0123] The program product may take the form of any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: electrical connections having one or more wires, portable disks, hard disks, random access computer storage media (RAM), read-only computer storage media (ROM), erasable programmable read-only computer storage media (EPROM or flash memory), optical fibers, portable compact disk read-only computer storage media (CD-ROM), optical computer storage media, magnetic computer storage media, or any suitable combination thereof.

[0124] The DDoS attack protection program product of the embodiments of this application can be in the form of a portable compact disc read-only computer storage medium (CD-ROM) and include program code, and can run on an electronic device. However, the program product of this application is not limited thereto. In this document, the readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0125] A readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying readable program code. This propagated data signal may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium, capable of sending, propagating, or transmitting a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0126] The program code contained on the readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical fiber, RF, etc., or any suitable combination thereof.

[0127] Program code for performing the operations of this application can be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java and C++, and conventional procedural programming languages ​​such as C or similar languages. The program code can execute entirely on the user's electronic device, partially on the user's device, as a standalone software package, partially on the user's electronic device and partially on a remote electronic device, or entirely on a remote electronic device or server. In cases involving remote electronic devices, the remote electronic device can be connected to the user's electronic device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external electronic device (e.g., via the Internet using an Internet service provider).

[0128] It should be noted that although several modules of the device have been mentioned in the detailed description above, this division is merely exemplary and not mandatory. In fact, according to embodiments of this application, the features and functions of two or more modules described above can be embodied in one module. Conversely, the features and functions of one module described above can be further divided and embodied by multiple modules.

[0129] Furthermore, although the operations of the method of this application are described in a specific order in the accompanying drawings, this does not require or imply that these operations must be performed in that specific order, or that all the operations shown must be performed to achieve the desired result. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step, and / or one step may be broken down into multiple steps.

[0130] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk computer storage media, CD-ROMs, optical computer storage media, etc.) containing computer-usable program code.

[0131] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0132] These computer program instructions may also be stored in a computer-readable computer storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable computer storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0133] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0134] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A DDoS attack protection method, characterized by, This method is applied to protect multiple Domain Name System (DNS) nodes, wherein each DNS node has a corresponding DDoS mitigation device, and each DDoS mitigation device is used for the protection of its corresponding DNS node; the method includes: Obtain first routing information of an Autonomous System (AS), the first routing information including Internet Protocol (IP) address ranges belonging to the AS, and access routes corresponding to each IP address range; Determine the first correspondence between each access route and a DNS node; Based on the first routing information and the first correspondence, determine the IP address range in the AS corresponding to each DNS node; Send the IP address range of the AS corresponding to the target DNS node to the DDoS mitigation device corresponding to the target DNS node, wherein the target DNS node is any one of the plurality of DNS nodes; wherein, if the DDoS mitigation device corresponding to the target DNS node determines that the IP address range of the AS corresponding to the target DNS node includes the target IP address that initiated the access, then it does not perform protection operation on the target IP address.

2. The method of claim 1, wherein, The method further includes: Detect whether the routing information of the AS has been updated; If the routing information of the AS is updated, the second correspondence between each access route in the second routing information and the DNS node is determined according to the updated second routing information of the AS. The second routing information includes the updated IP address ranges belonging to the AS and the access routes corresponding to each IP address range. Based on the second routing information and the second correspondence, the IP address range of the AS corresponding to each DNS node is re-determined and sent.

3. The method as described in claim 2, characterized in that, The step of detecting whether the routing information of the AS has been updated includes: Detect whether the AS is experiencing network congestion; and / or, Detect whether there is a link anomaly in the AS.

4. The method as described in claim 3, characterized in that, The link anomaly includes one or more of the following: The access route corresponding to at least one IP address range in the AS is adjusted to a new access route, and the access route corresponding to at least one IP address range in the AS is adjusted to other access routes.

5. The method according to any one of claims 1-4, characterized in that, The method further includes: If the DDoS mitigation device corresponding to the first DNS node determines that the IP address range corresponding to the first DNS node includes the target IP address that initiated the access, then it will not perform protection operations on the target IP address.

6. The method according to any one of claims 1-4, characterized in that, The method further includes: If the DDoS mitigation device corresponding to the second DNS node determines that the IP address range corresponding to the second DNS node does not include the target IP address that initiated the access, it will perform protection operations on the target IP address based on preset rules.

7. A protection system, characterized in that, DDoS attack protection for multiple Domain Name System (DNS) nodes; The system includes: a network controller and at least one DDoS mitigation device, wherein the DDoS mitigation device corresponds to one or more DNS nodes, and wherein the DDoS mitigation device connected to any DNS node is the DDoS mitigation device corresponding to that DNS node; the network controller is used for: Obtain first routing information of an Autonomous System (AS), the first routing information including Internet Protocol (IP) address ranges belonging to the AS, and access routes corresponding to each IP address range; Determine the first correspondence between each access route and a DNS node; Based on the first routing information and the first correspondence, determine the IP address range in the AS corresponding to each DNS node; Send the IP address range in the AS corresponding to the DNS node so that each DDoS cleaning device can receive the IP address range in the AS corresponding to its corresponding DNS node; If the DDoS mitigation device corresponding to the first DNS node determines that the IP address range corresponding to the first DNS node includes the target IP address that initiated the access, then it will not perform protection operations on the target IP address.

8. The system as described in claim 7, characterized in that, The system also includes a DNS node controller and a DDoS cleaning and management device; The DNS node controller is used to send the IP address range in the AS corresponding to each DNS node to the DDoS cleaning management device; The DDoS cleaning management device is configured to determine the IP address range of the AS corresponding to the target DNS node based on the IP address range in the AS corresponding to each DNS node, wherein the target DNS node is any one of the at least one DNS nodes; and to send the IP address range of the AS corresponding to the target DNS node to the DDoS cleaning device corresponding to the target DNS node.

9. The system as described in claim 7, characterized in that, The network controller is also used for: Detect whether the routing information of the AS has been updated; If the routing information of the AS is updated, a second correspondence between each access route and the DNS node is determined based on the updated second routing information of the AS. The second routing information includes the updated IP address ranges belonging to the AS and the access routes corresponding to each IP address range. Based on the second routing information and the second correspondence, the IP address range of the AS corresponding to each DNS node is re-determined and sent.

10. The system as described in claim 7, characterized in that, When the network controller detects whether the routing information of the AS has been updated, it is specifically used for: Detect whether the AS is experiencing network congestion; and / or, Detect whether there is a link anomaly in the AS.

11. The system as claimed in claim 10, characterized in that, The link anomaly includes one or more of the following: The access route corresponding to at least one IP address range in the AS is adjusted to a new access route, and the access route corresponding to at least one IP address range in the AS is adjusted to other access routes.

12. The system as described in any one of claims 7-9, characterized in that, If the DDoS mitigation device corresponding to the second DNS node determines that the IP address range corresponding to the second DNS node does not include the target IP address that initiated the access, it will perform protection operations on the target IP address based on preset rules.

13. An electronic device, characterized in that, The method includes at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that are executed by the at least one processor; the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1-6.

14. A computer storage medium, characterized in that, The computer storage medium stores a computer program for performing the method according to any one of claims 1-6.

Citation Information

Patent Citations

  • Attack mitigation in content delivery networks using stenographic network addressing

    US20170155678A1

  • Stenographic marking using network addressing

    US20170155732A1