System and method for configuring networked devices
By receiving DoS attack representations, storing and transmitting configuration changes in the network at the local and global layers, and quickly configuring multiple networked devices, the problem of slow response of mitigation measures in the existing technology is solved, and the availability and availability of the network during attacks are improved. Response speed.
Patent Information
- Application Number
- CN202410522183.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-03-22
- Filing Date
- 2024-04-28
- Publication Date
- 2024-09-24
AI Technical Summary
When existing technologies face Denial of Service (DoS) and Distributed Denial of Service (DDoS) attacks, mitigation measures are slow to respond and it is difficult to quickly configure multiple networked devices, causing the network to be overloaded during the attack and affecting service availability.
In the network at the local and global layers, by receiving representations of DoS attacks, storing configuration changes, and sending the changes to the controller device through the streaming device, they are generated and applied to multiple networked devices, including updating configuration files and Direct traffic to mitigation devices to ensure rapid network response and recovery during attacks.
It enables rapid configuration and reconfiguration of multiple networking devices when a DoS or DDoS attack occurs, reducing network overload, improving service availability and response speed, and reducing the impact of the attack.
Smart Images

Figure CN118694557A
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to EP Application No. 23305390.9, entitled “SYSTEMS AND METHODS FOR CONFIGURING NETWORKING DEVICES,” the entire contents of which are incorporated herein by reference. Technical Field
[0003] The present technology relates to systems and methods for managing and / or modifying the configuration of networked devices. Background Art
[0004] A network may include various networking devices, such as routers, switches, firewalls, and / or other networking devices, for managing traffic within the network. Networking devices may be from different vendors, run different operating systems, have different roles, have different configurations, and / or otherwise differ from one another. In order to change the way a network routes or filters traffic, multiple networking devices may be reconfigured. Due to the differences between these networking devices, different configuration changes may be performed on each setting in different devices. Due to these differences, making changes to a network with a large number of networking devices may be difficult and time consuming.
[0005] As the use of cloud computing continues to grow, more and more Internet services rely on cloud providers to ensure the availability of their services. Malicious attempts to disrupt servers, services, or networks are a constant threat to service availability. Denial of service (DoS) attacks and distributed denial of service (DDoS) attacks are the most widespread types of attacks against networks.
[0006] A botnet containing a large number of bots can be used to cause a DoS, DDoS, or other type of attack on a network. A DoS or DDoS attack causes a network to be flooded with unnecessary requests. When under such an attack, a network can become so overloaded that services hosted on the network may not be able to communicate properly with legitimate users and clients.
[0007] Traditional mitigation solutions are slow to react to these types of attacks. While some solutions have been shown to react within 30 seconds, this delay can actually exceed the duration of the attack, in which case mitigation efforts are essentially futile.
[0008] The present technology aims to improve at least some of the limitations existing in the prior art. Summary of the invention
[0009] The implementation of the present technology was developed based on the developers' recognition of the shortcomings associated with related technologies.
[0010] According to a first broad aspect of the present technology, a method for configuring multiple networked devices in a network having a local layer and a global layer is provided, the method comprising: receiving an indication of a denial of service (DOS) attack against a system within the network at the local layer; storing configuration changes corresponding to the DOS attack in a database of the local layer; sending the configuration changes through a streaming device of the local layer, and sending the configuration changes to a controller device of the global layer; storing the configuration changes in a database of the global layer through the controller device, wherein the database of the global layer includes stored configurations of multiple networked devices connected to the network; generating multiple configuration changes to be sent to multiple networked devices through the controller device and based on the stored configurations in the database of the global layer; storing the multiple configuration changes in the database of the global layer; and sending the multiple configuration changes through the controller device of the global layer and sending the multiple configuration changes to the multiple networked devices.
[0011] In some embodiments of the method, the method also includes: determining that a configuration change among multiple configuration changes causes an error at a networked device among multiple networked devices; retrieving, by a controller device, a previous configuration of the networked device from a database of the global layer; and restoring the networked device to the previous configuration by the controller device.
[0012] In some implementations of the method, the plurality of configuration changes includes addresses to be added to the blacklist.
[0013] In some implementations of the method, the plurality of configuration changes includes updates to configuration files for the plurality of networked devices.
[0014] In some embodiments of the method, the plurality of configuration changes causes incoming traffic corresponding to the address to be directed to one or more mitigation devices.
[0015] In some implementations of the method, receiving an indication of a DOS attack includes receiving user input indicating that a DOS attack is occurring.
[0016] In some implementations of the method, a streaming device (streamer) is configured to send any changes made to the database of the local layer to a controller device of the global layer.
[0017] In some implementations of the method, generating multiple configuration changes to be sent to multiple networked devices includes, for each of the multiple networked devices: retrieving a current configuration of the corresponding networked device from a database of the global layer; and determining a device-specific configuration change to be applied to the corresponding networked device based on the current configuration of the corresponding networked device and based on the configuration changes in the database of the global layer.
[0018] In some implementations of the method, sending the plurality of configuration changes to the plurality of networked devices includes sending the plurality of configuration changes to a plurality of drivers associated with the plurality of networked devices.
[0019] In some implementations of the method, the method further includes applying, by the plurality of drivers, the plurality of configuration changes to the plurality of networked devices.
[0020] According to another broad aspect of the present technology, a method for configuring multiple networked devices in a network having a local layer and a global layer is provided, the method comprising: detecting incoming traffic corresponding to a denial of service (DOS) attack against a system within the network; storing configuration changes in a database of the global layer through a controller device of the global layer, wherein the database of the global layer includes stored configurations of multiple networked devices connected to the network; sending the configuration changes through a streaming device of the global layer and sending the configuration changes to a controller device of the local layer; generating multiple configuration changes to be sent to multiple networked devices by the controller device of the global layer and based on the stored configurations in the database of the global layer; storing the multiple configuration changes in the database of the global layer; sending the multiple configuration changes through the controller device of the global layer and sending the multiple configuration changes to the multiple networked devices.
[0021] In some embodiments of the method, the method also includes: determining that a configuration change among multiple configuration changes causes an error at a networked device among multiple networked devices; retrieving, by a controller device, a previous configuration of the networked device from a database of the global layer; and restoring the networked device to the previous configuration by the controller device.
[0022] In some implementations of the method, the plurality of configuration changes includes addresses to be added to the blacklist.
[0023] In some implementations of the method, the plurality of configuration changes includes updates to configuration files for the plurality of networked devices.
[0024] In some embodiments of the method, the plurality of configuration changes results in incoming traffic corresponding to the address being directed to one or more mitigation devices. In the context of this specification, unless expressly provided otherwise, the expressions "computer-readable medium" and "memory" are intended to include media of any nature and kind, non-limiting examples of which include RAM, ROM, magnetic disks (CD-ROM, DVD, floppy disks, hard drives, etc.), USB keys, flash memory cards, solid-state drives, and tape drives.
[0025] According to another broad aspect of the present technology, a method for configuring multiple networked devices in a network having a local layer and a global layer is provided, the method comprising: storing configuration changes corresponding to the network in a database of the local layer; sending the configuration changes through a streaming device of the local layer and sending the configuration changes to a controller device of the global layer; the controller device storing the configuration changes in a database of the global layer, wherein the database of the global layer includes stored configurations of multiple networked devices connected to the network; generating multiple configuration changes to be sent to multiple networked devices through the controller device and based on the stored configurations in the database of the global layer; storing the multiple configuration changes in the database of the global layer; sending the multiple configuration changes through the controller device of the global layer and sending the multiple configuration changes to multiple networked devices.
[0026] According to another broad aspect of the present technology, a system for network configuration is provided, the system including a controller and a memory storing a plurality of executable instructions, which when executed by the controller cause the system to perform the following operations: receiving, at a local layer of the network, an indication of a denial of service (DOS) attack against a system within the network; storing configuration changes corresponding to the DOS attack in a database of the local layer; sending the configuration changes through a streaming device of the local layer, and sending the configuration changes to a controller device of the global layer; storing the configuration changes in a database of the global layer through the controller device, wherein the database of the global layer includes stored configurations of a plurality of networked devices connected to the network; generating, through the controller device and based on the stored configurations in the database of the global layer, a plurality of configuration changes to be sent to a plurality of networked devices; storing the plurality of configuration changes in a database of the global layer; and sending the plurality of configuration changes through the controller device of the global layer and sending the plurality of configuration changes to the plurality of networked devices.
[0027] According to another broad aspect of the present technology, a non-transitory computer-readable medium is provided, which includes computer-readable instructions that, when executed by a system, cause the system to perform the following operations: receiving a representation of a denial of service (DOS) attack against a system within the network at a local layer of the network; storing configuration changes corresponding to the DOS attack in a database of the local layer; sending the configuration changes through a streaming device at the local layer, and sending the configuration changes to a controller device at the global layer; storing the configuration changes in a database of the global layer through the controller device, wherein the database of the global layer includes stored configurations of multiple networked devices connected to the network; generating multiple configuration changes to be sent to multiple networked devices through the controller device and based on the stored configurations in the database of the global layer; storing the multiple configuration changes in the database of the global layer; and sending the multiple configuration changes through the controller device of the global layer and sending the multiple configuration changes to the multiple networked devices.
[0028] In the context of this specification, a "database" is any structured collection of data, regardless of its specific structure, database management software, or computer hardware on which the data is stored, implemented, or otherwise made available. A database may reside on the same hardware as the processes that store or utilize the information stored in the database, or the database may reside on separate hardware, such as a dedicated server or multiple servers.
[0029] In the context of this specification, unless expressly specified otherwise, the words "first", "second", "third" etc. are used as adjectives merely to allow a distinction between the nouns they modify and are not intended to describe any particular relationship between these nouns.
[0030] The embodiments of the present technology all have at least one of the above-mentioned purposes and / or aspects, but not necessarily all of them. It should be understood that some aspects of the present technology generated by attempting to achieve the above-mentioned purpose may not meet the purpose and / or may meet other purposes not specifically described herein.
[0031] Additional and / or alternative features, aspects, and advantages of embodiments of the present technology will become apparent from the following description, drawings, and appended claims. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] For a better understanding of the present technology and other aspects and further features of the present technology, reference is made to the following description taken in conjunction with the accompanying drawings, in which:
[0033] Figure 1 is a block diagram of an example computing environment according to various implementations of the present technology;
[0034] Figure 2 is a block diagram of a network according to various embodiments of the present technology;
[0035] Figure 3 The flow of communication in a network according to various embodiments of the present technology is shown;
[0036] Figure 4 and Figure 5 is a flow chart of a method for configuring a networked device according to various embodiments of the present technology.
[0037] It should be noted that the accompanying drawings are not drawn to scale unless explicitly specified otherwise herein. DETAILED DESCRIPTION
[0038] The examples and conditional language described herein are primarily intended to help readers understand the principles of the present technology, rather than limiting its scope to such specifically described examples and conditions. It should be understood that a person skilled in the art can design various arrangements that, although not explicitly described or shown herein, embody the principles of the present technology and are included in its spirit and scope.
[0039] In addition, to facilitate understanding, the following description may describe a relatively simplified implementation of the present technology. Those skilled in the art will appreciate that various implementations of the present technology may have greater complexity.
[0040] In some cases, useful examples that are considered to be modifications to the present technology may also be described. This is done only to aid understanding, and once again, is not intended to limit the scope of the present technology or to describe the limits of the present technology. These modifications are not an exhaustive list, and those skilled in the art may make other modifications while still within the scope of the present technology. In addition, in the absence of examples of modifications, it should not be interpreted as being impossible to modify, and / or that what is described is the only way to implement the element of the present technology.
[0041] In addition, all statements describing the principles, aspects and / or implementations of the present technology and specific examples thereof herein are intended to cover their structural and functional equivalents, whether they are currently known or developed in the future. Thus, for example, it will be understood by those skilled in the art that any block diagram herein represents a conceptual view embodying the principles of the present technology. Similarly, it should be understood that any flow charts, flow diagrams, state transition diagrams, pseudocodes, etc. represent various processes that can be substantially represented in a computer-readable medium and are therefore executed by a computer or processor, whether or not the computer or processor is explicitly shown.
[0042] The functions of the various elements shown in the figure, including any functional blocks marked as "processors", can be provided by using dedicated hardware and hardware capable of executing software in association with appropriate software. When provided by a processor, the function can be provided by a single dedicated processor, by a single shared processor, or by multiple separate processors (some of the multiple separate processors can be shared). In some implementations of the present technology, the processor can be a general-purpose processor (such as a central processing unit (CPU)), or a processor dedicated to a specific purpose (such as a digital signal processor (DSP) or a quantum processing unit (QPU)). In addition, the explicit use of the term "processor" should not be interpreted as referring only to hardware capable of executing software, but may implicitly include but is not limited to application-specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), read-only memories (ROMs), random access memories (RAMs) and non-volatile memories for storing software. Other conventional and / or customized hardware may also be included.
[0043] Software modules or simple modules implicitly being software may be represented herein as flow chart elements or any combination of other elements representing the execution of process steps and / or textual descriptions. Such modules may be executed by hardware shown explicitly or implicitly. In addition, it should be understood that modules may include, for example, but not limited to, computer program logic, computer program instructions, software, stacks, firmware, hardware circuitry, or a combination thereof.
[0044] In the context of this specification, unless otherwise explicitly stated, a computer system may refer to but is not limited to an "electronic device", "operating system", "system", "computer-based system", "controller unit", "monitoring device", "control device" and / or any combination thereof suitable for the currently relevant task.
[0045] In the context of this specification, unless expressly provided otherwise, the expressions "computer-readable medium" and "memory" are intended to include media of any nature and kind, non-limiting examples of which include RAM, ROM, disks (CD-ROM, DVD, floppy disks, hard disk drives, etc.), USB keys, flash memory cards, solid-state drives, and tape drives. Still in the context of this specification, "a" computer-readable medium and "the" computer-readable medium should not be interpreted as the same computer-readable medium. On the contrary, "a" computer-readable medium and "the" computer-readable medium may also be interpreted as a first computer-readable medium and a second computer-readable medium, as appropriate.
[0046] In the context of this specification, unless expressly specified otherwise, the words "first", "second", "third" etc. are used as adjectives merely to allow a distinction between the nouns they modify and are not intended to describe any particular relationship between these nouns.
[0047] In the context of this disclosure, a denial of service (DoS) attack or distributed denial of service (DDoS) attack refers to a malicious attack on a network, server, domain, and / or other target. A DDoS attack is a type of DoS attack in which a large number of computers or machines overwhelm the target resource.
[0048] With this basic knowledge in mind, we will now consider some non-limiting examples of the present technology.
[0049] Computing Environment
[0050] Figure 1 A computing environment 100 is shown that can be used to implement and / or perform any of the methods described herein. In some embodiments, the computing environment 100 can be implemented by any conventional personal computer, networked device, and / or electronic device (such as, but not limited to, a mobile device, a tablet device, a server, a controller unit, a control device, etc.) and / or any combination suitable for the current relevant task.
[0051] In some embodiments, computing environment 100 includes various hardware components, including one or more single-core or multi-core processors collectively represented by processor 110, solid-state drive 120, random access memory 130, and input / output interface 150. Computing environment 100 can be a computer specifically designed for operating a machine learning algorithm (MLA). Computing environment 100 can be a general-purpose computer system.
[0052] In some embodiments, the computing environment 100 may also be a subsystem of one of the systems listed above. In some other embodiments, the computing environment 100 may be an "off-the-shelf" general-purpose computer system. In some embodiments, the computing environment 100 may also be distributed among multiple systems. The computing environment 100 may also be specifically dedicated to the implementation of the present technology. It will be appreciated by those skilled in the art that many variations on how to implement the computing environment 100 may be envisioned without departing from the scope of the present technology.
[0053] Those skilled in the art will appreciate that processor 110 generally represents processing capability. In some embodiments, one or more specialized processing cores may be provided in place of or in addition to one or more conventional central processing units (CPUs). For example, one or more graphics processing units 111 (GPUs), quantum processing units (QPUs), tensor processing units (TPUs), and / or other so-called accelerated processors (or processing accelerators) may be provided in addition to or in place of one or more CPUs.
[0054] The system memory will typically include random access memory 130, but is more generally intended to encompass any type of non-transitory system memory, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), read-only memory (ROM), or combinations thereof. A solid-state drive 120 is shown as an example of a mass storage device, but more generally such a mass storage device may include any type of non-transitory storage device that is configured to store data, programs, and other information and make the data, programs, and other information accessible via the system bus 160. For example, the mass storage device may include one or more of a solid-state drive, a hard disk drive, a magnetic disk drive, and / or an optical disk drive.
[0055] Communications between the various components of the computing environment 100 may be accomplished via a system bus 160 that includes one or more internal and / or external buses (e.g., a PCI bus, a Universal Serial Bus, an IEEE 1394 "FireWire" bus, a SCSI bus, a Serial ATA bus, an ARINC bus, etc.) to which the various hardware components are electronically connected.
[0056] The input / output interface 150 can implement networking capabilities such as wired or wireless network communications. As an example, the input / output interface 150 can include a network interface, such as but not limited to a network port, a network socket, a network interface controller, etc. How to implement multiple examples of network interfaces will become apparent to those skilled in the art. For example, the network interface can implement specific physical layer and data link layer standards, such as Ethernet, Fiber Channel, Wi-Fi, Token Ring, or serial communication protocols. The specific physical layer and data link layer can provide the basis for a complete network protocol stack, allowing communication between computer groups on the same local area network (LAN), and large-scale network communication through routable protocols such as Internet Protocol (IP).
[0057] The input / output interface 150 may be coupled to a touch screen 190 and / or to one or more internal and / or external buses 160. The touch screen 190 may be part of a display. In some embodiments, the touch screen 190 is a display. The touch screen 190 may be equally referred to as a screen 190. Figure 1 In the illustrated embodiment, the touch screen 190 includes touch hardware 194 (e.g., pressure-sensitive elements embedded in a layer of the display that allow detection of physical interaction between a user and the display) and a touch input / output controller 192 that allows communication with the display interface 140, and / or one or more internal and / or external buses 160. In some embodiments, the input / output interface 150 can be connected to a keyboard (not shown), a mouse (not shown), or a trackpad (not shown) in addition to or instead of the touch screen 190, allowing a user to interact with the computing environment 100.
[0058] According to some implementations of the present technology, solid state drive 120 stores program instructions suitable for loading into random access memory 130 and being executed by processor 110 for performing actions of one or more methods described herein. For example, at least some of the program instructions may be part of a library or application.
[0059] Network with local and global layers
[0060] Figure 2 2 is a block diagram of a network 201 according to various embodiments of the present technology. Network 201 may include servers, networking devices (such as switches, routers, and firewalls), storage systems, and / or other components. The devices of network 201 may be located in a single physical location or may be located in multiple physical locations. Portions of network 201 may be housed in data centers, each of which is located in a different physical location.
[0061] Network 201 may be organized virtually and / or physically. The devices of network 201 may be organized into various "layers" that may or may not correspond to physical locations or geographic regions. For example, all servers in a single data center may be grouped into a layer. In another example, all servers located in a single country may be grouped into a layer, even if the servers are located in different data centers. Different types of devices may be grouped into different layers. For example, all networked devices of network 201 may be grouped into a single layer.
[0062] Network 201 includes local layer 210, local layer 220, global layer 230, and networking device 240. It should be understood that the network can have any configuration, such as any number of layers, devices, etc.
[0063] The local layer 210 may include a user interface 211, a storage device 212, a local database 213, a streaming device 214, and / or any other type of device that can communicate in a network. Although shown as separate devices, the user interface 211, the storage device 212, the local database 213, and / or the streaming device 214 may be implemented on any number of devices, may be implemented on the same device, and / or may be implemented as an application executed on one or more devices. The user interface 211, the storage device 212, the local database 213, and / or the streaming device 214 may be components of a microservice architecture.
[0064] User interface 211 may be accessed by users of network 201, clients of network 201, administrators of network 201, and / or any other authorized individuals. User interface 211 may be used to configure various aspects of network 201. Clients of services hosted in local layer 210 may access user interface 211 to manage the services. Clients may be able to configure how traffic is routed to the services through network 201, how the services are executed within network 201, and / or configure any other aspects of the services.
[0065] User interface 211 can be accessed to indicate that an attack is expected and / or is occurring on network 201. The attack can be a DoS attack and / or any other type of attack. The user can select which servers, services, network clients, etc. are considered to be affected by the attack via user interface 211. The user can enter a request to block certain traffic and / or direct traffic to mitigation device 250 via user interface 211. The user can enter one or more rules for identifying the traffic to be blocked or directed to mitigation device 250. For example, the user can indicate an external IP address and request to block all traffic from the IP address. In another example, the user can indicate a group of servers in network 201 and request that all traffic directed to these servers be sent to mitigation device 250. The user can enter a rule to be executed after the attack is detected. For example, the user can indicate that the traffic directed to a specific address or service should be redirected to the mitigation device when an attack on network 201 is detected.
[0066] Storage device 212 may write to and read from local database 213. Local database 213 may store data for local layer 210, such as information about devices within local layer 210, devices associated with local layer 210, services provided by devices within local layer 210, accounts associated with local layer 210, and / or any other data about local layer 210 and / or network 201. Local database 213 may contain configuration information for some or all devices in local layer 210 and / or devices associated with local layer 210. For example, firewall devices may be associated with local layer 210. Any traffic directed to devices within local layer 210 may first pass through these firewalls.
[0067] For each device in the local layer 210, the configuration information stored in the local database 213 may include the current configuration of the device and / or a record of all changes made to the configuration of the device. Each change may include a version number, a timestamp, and / or any other version control information. The local database 213 may be any type of database, such as a MongoDB database.
[0068] The storage device 212 can generate rules based on the input received from the user interface 211 and store the rules in the local database 213. For example, a rule can be generated indicating that all traffic from a specific IP address should be blocked. The rule can then be applied to the networking device by a controller device, such as a controller device (not shown) in the local layer 210 or a controller device 231 in the global layer 230.
[0069] The streaming device 214 can communicate with the controller device 231 in the global layer 230. The streaming device 214 can send any changes that occur in the local database 213 to the controller device 231. After the rules are stored in the local database 213 or any other changes are made to the local database 213, the streaming device 214 can send the changes to the controller device 231. Any changes to the local layer 210 can be transmitted to the global layer 230.
[0070] Initially, the streaming device 214 may transmit the entire contents of the local database 213 to the controller device 231. After the contents of the local database 213 have been transmitted to the controller device 231, the streaming device 214 may follow any changes to the local database 213 and forward these changes to the controller device 231.
[0071] The local layer 220 may be similar to the local layer 210. The local layer 220 may have a user interface 221, a storage device 222, a streaming device 224, and a local database 223. Similar to the local layer 210, the streaming device 224 of the local layer 220 may transmit the contents of the local database 223 to the controller device 231 of the global layer. Any changes to the local database 223 may be transmitted to the controller device 231 by the streaming device 224. In this way, the controller device 231 of the global layer 230 may receive a representation of each configuration change made within the local layer 210 and the local layer 220 of the network 201. The local layer 210 and the local layer 220 may be associated with different geographic regions. For example, the local layer 210 may correspond to North America, and the local layer 220 may correspond to Europe.
[0072] The global layer 230 may include devices that manage the entire network 201. The global layer 230 may include a controller device 231, a user interface 235, a storage device 236, a global database 237, and / or a streaming device 238. Figure 2 A single global layer 230 is shown, but network 201 may include multiple global layers. Network 201 may include any hierarchical structure.
[0073] Controller device 231 may include storage 232, database 233, and / or streaming device 234. Controller device 231 may receive updates that occur at any database at the local level of network 201, such as updates to local database 213 and / or local database 223. Controller device 231 may store this information in database 233 of controller device 231. Database 233 may include a copy of each local database of network 201. Database 233 may also include a record of changes to the local databases of network 201.
[0074] Storage device 232 may write to and read from database 233. Database 233 may store configurations for some or all devices in network 201. Database 233 may be used as a cache, storing a copy of the entire configuration of each networked device 240, which may be sent to any networked device 240 that requests it. Even if a portion of network 201 is offline and / or otherwise inaccessible, networked device 240 may still retrieve its configuration from controller device 231 because the configuration is stored in database 233. Database 233 may store a record of changes made to the configuration of devices in network 201, such as a record of any rules sent to devices in network 201.
[0075] User interface 235 may be similar to user interface 211, except that it is used to indicate changes to global layer 230 rather than a local layer. User interface 235 may be used to input information related to attacks on network 201 and / or requests for any other configuration changes to network 201. Input received by user interface 235 may be sent to storage device 236. Storage device 236 may write to and read from global database 237. Global database 237 may store global data for network 201, such as global configuration data.
[0076] Controller device 231 may subscribe to global database 237. Whenever a change occurs at global database 237, streaming device 238 may send the change to controller device 231. Local database 213, local database 223, and global database 230 may be any type of database, such as a MongoDB database.
[0077] After receiving representations of changes to local database 213, local database 223, and / or any other database or device in the network, controller device 231 may determine that configuration changes are to be made to some or all of networked devices 240 in network 201. Streaming device 234 of controller device 231 may send configuration changes to networked device 241, networked device 245, mitigation device 250, and / or any other networked device 240.
[0078] To send configuration changes to networked device 241, controller device 231 may retrieve the current configuration of networked device 241 from global database 237. Controller device 231 may then determine configuration changes to apply to networked device 241 based on the current configuration of networked device 241. Configuration changes may apply rules to networked device 241.
[0079] After generating the configuration changes for the network-connected device 241 , the streaming device 234 may send the configuration changes to the network-connected device 241 .
[0080] The controller device 231 may store updated configurations of the networking device 241 to the global database 237. The controller device 231 may store a representation of each change that has been made to the networking device 241. The controller device 231 may be able to roll back any configuration changes made to the networking device 241. If a configuration change made to the networking device 241 results in an error, the controller device 231 may revert the networking device 241 to a previous configuration.
[0081] The controller device 231 is capable of checking the integrity of any networked device 240 (e.g., any mitigation device 250). To check the integrity of the mitigation device 250, the controller device 231 can retrieve the configuration of the mitigation device 250 stored in the global database 237. The controller device 231 can compare the configuration stored in the global database 237 with the actual configuration of the mitigation device 250. If the stored configuration does not match the actual configuration, an error can be reported. The networked device 241 can be reconfigured so that its configuration matches the configuration stored in the global database 237.
[0082] Similar to how the configuration of networked device 241 is updated, controller device 231 may retrieve the configuration of networked device 245 , receive configuration changes to be applied to networked device 245 , and send the configuration changes to networked device 245 .
[0083] The controller device 231 may retrieve the current configuration of the mitigation device 250. The controller device may determine a configuration change to be applied to the mitigation device 250 based on the current configuration of the mitigation device 250. The controller device 231 may send the configuration change to the mitigation device 250, and the mitigation device 250 may apply the configuration change. The driver 251 of the mitigation device 250 may push the configuration onto the data plane of the mitigation device 250.
[0084] Configuration changes sent to networking device 241, networking device 245, and / or mitigation device 250 may include rules or any other instructions for routing traffic through network 201. Configuration changes may include addresses, such as IP addresses, to be added and / or removed from a blacklist. A blacklist may indicate that any packets received from an address on the blacklist will be dropped. Configuration changes may include rules indicating the type of traffic to be sent to mitigation device 250. Configuration changes may include configuration file updates for multiple networking devices 240.
[0085] Local layer 210 and / or local layer 220 may each include a controller device (not shown). The controller device of local layer 210 and / or local layer 220 may have the same or similar configuration as controller device 231. The controller device of local layer 210 and / or local layer 220 may configure a networking device of the corresponding local layer, such as a networking device specifically associated with the corresponding local layer.
[0086] Figure 3 201 according to various embodiments of the present technology. It should be understood that Figure 3 The communication flows shown are exemplary, and the devices shown may communicate with each other in any manner. Figure 3 Each communication link shown in can be bidirectional.
[0087] Incoming traffic 310 may originate from outside of network 201. Other incoming traffic (not shown) may originate from within network 201. Incoming traffic 310 may be any request received from outside of the network. Incoming traffic 310 may include requests to access a website or other network resource (e.g., an HTTP GET request), requests to access a cloud service, and / or any other type of request. The request may include a domain name, a destination address of a server or service within network 201, a port number, a request type, and / or any other information about the request.
[0088] Incoming traffic 310 may include traffic related to an attack on network 201, or an attack on a server or service within network 201. For example, during a DDoS attack, incoming traffic 310 may include a large number of requests from a compromised device. Traffic from a compromised device may be directed to a service or domain hosted by a server within network 201.
[0089] Incoming traffic 310 may be received by networking device 240. Networking device 240 may include a firewall, a router, a switch, and / or any other type of networking device. Networking device 240 may route incoming traffic 310 to server 320 via network 201. When networking device 240 receives a packet from incoming traffic 310, networking device 240 may determine which of servers 320 the packet should be routed to based on information within the packet. Networking device 240 may then route the packet to the appropriate server in servers 320.
[0090] The attack detection device 315 can monitor the incoming traffic 310 to detect attacks. The attack detection device 315 can observe an increase in the amount of incoming traffic 310, a pattern in the incoming traffic 310 that resembles an attack, and / or can otherwise detect an attack in the incoming traffic 310. After detecting an attack, the attack detection device 315 can send a representation of the attack that is occurring to a storage device (such as one of the local tier storage devices 212 and 222 or the global tier storage device 236). The representation of the attack can then be stored in a corresponding database and forwarded to the controller device 231 by the corresponding streaming device. The representation can include details about where the attack originated from, what type of attack has been detected, the target of the attack, and / or any other information about the attack.
[0091] As described above, streaming device 214 or any other streaming device within network 201 may notify controller device 231 of an attack and / or any other configuration changes to be made to network 201. Streaming device 214 may send a database update to controller device 231 indicating that a configuration change will be made to network 201.
[0092] Controller device 231 may receive an indication of a configuration change to be made to network 201 from attack detection device 315, streaming device 214, and / or any other device external to network 201. Configuration changes may be made in response to an attack, in anticipation of future attacks, to adjust the network when assigning IP addresses to new services, and / or for any other reason. As described above, controller device 231 may determine configuration changes to be sent to networked device 240.
[0093] A configuration change from the controller device 231 may cause some traffic received by the networking device 240 to be sent to the mitigation device 250 instead of being sent directly to the server 320. The configuration change may provide rules for identifying traffic to be sent to the mitigation device 250. The configuration change may include a rule to send any traffic originating from a specified address, network, geographic location, etc. to the mitigation device 250. The configuration change may include a rule to send traffic directed to a specified service, server, domain, etc. to the mitigation device 250. The rule may specify that traffic affected by the rule will be sent to the mitigation device 250 or will be blocked. If the traffic is blocked, those packets may be dropped by the networking device 240 instead of being forwarded to other devices in the network 201. The networking device 240 may contain a blacklist of addresses, where any traffic from addresses on the blacklist may be blocked.
[0094] How to configure networked devices
[0095] Figure 4 and Figure 5 is a flow chart of a method 400 for configuring a networked device according to various embodiments of the present technology. All or part of the method 400 may be performed by Figure 2 and Figure 3 , such as a storage device, a streaming device, a database, a controller device, a networking device, a mitigation device, and / or any other type of device in the network 201. In one or more aspects, the method 400 or one or more steps thereof can be performed by a computing system such as the computing environment 100. The method 400 or one or more steps thereof can be embodied as computer executable instructions stored in a computer readable medium (such as a non-transitory mass storage device), loaded into a memory, and executed by a CPU. The method 400 is exemplary, and it should be understood that some steps or portions of the steps in the flowchart may be omitted and / or the order may be changed.
[0096] At step 405, an indication of a DoS attack, a DDoS attack, any other type of attack, or a network configuration change may be received. The attack may be detected, such as by attack detection device 315. The indication of the attack or other configuration change may be input by a user, such as via user interface 211 or user interface 221. The indication of the attack may include details about the attack, such as the target of the attack, the identification of the attacker, the type of attack, and / or any other details about the attack. The network configuration change may represent a desired configuration change to the network, such as adding an address to a blacklist, changing the way traffic is routed within the network, placing a server online or offline, and / or any other change to the network.
[0097] In step 410, rules and / or other configuration changes for responding to the attack may be determined. A mitigation profile may have been predefined. The mitigation profile may represent actions to be taken after an attack is detected, such as rules and / or other configuration changes to be applied in response to the attack. The mitigation profile may be linked to a service and / or address. The mitigation profile may cause traffic to be rerouted to a specified service and / or address after an attack is detected. The rule may be an instruction to block or redirect certain incoming traffic. Incoming packets may be filtered based on the source address, destination address, and / or any other feature of the packet. The filtered packets may be directed to a mitigation device, may be blocked, discarded, may be further analyzed, and / or otherwise managed. The configuration changes may be global changes to be applied to the entire network, and / or local changes to be applied to a specific layer of the network (such as local layer 210 or local layer 220).
[0098] At step 415, the rules and / or other configuration changes may be stored in a local database. A record of the rules may be stored in a local database, for example, by storage device 212 or storage device 222. Validation may be performed to ensure that the rules and / or other configuration changes are consistent with the configuration rules of the corresponding layer. Rules corresponding to a single user / client may be isolated and do not affect global settings with other users / clients and / or the network.
[0099] At step 420, the rules and / or other configuration changes may be sent to the controller device. A streaming device, such as streaming device 214 or streaming device 224, may subscribe to a local database. The local database may send a representation of any changes made to the local database to the streaming device. The streaming device may send a representation of the changes to the local database to the controller device. The changes to the local database may include representations of the rules or other configuration changes stored at step 415.
[0100] At step 425, the rules and / or other configuration changes may be stored in a global database. The global database may be part of a global layer of the network. The global database may store configurations of all networked devices within the network. The rules and / or other configuration changes may be stored in the global database by a controller device of the global layer (e.g., controller device 231).
[0101] Steps 405 to 425 describe how rules are received at a local layer and then stored at a global layer of the network. Rules may be received at a global layer instead of a local layer. For example, attack detection device 315 may detect an attack and store rules in global database 237 in response to the attack. The new rules stored in the global database may then be sent to any local databases of the area affected by the rule. Controller device 231 may detect changes to global database 237, identify which local layers are affected by the change, and then send the change to streaming devices of any local layers affected by the change.
[0102] At step 430, networked devices affected by the rules and / or other configuration changes may be identified. The rules and / or other configuration changes may represent changes to be made to the network. In order to implement the rules and / or other configuration changes, some or all networked devices in the network may be modified. Networked devices to be modified to implement the rules and / or other configuration changes may be identified. For example, if the rules and / or other configuration changes apply to a particular layer of the network, all networked devices that manage traffic for that layer of the network may be identified so that those networked devices may be reconfigured to implement the rules and / or other configuration changes. The identified networked devices may include firewalls, routers, switches, mitigation devices, and / or any other type of networked device.
[0103] In step 435, instructions may be generated for each of the networked devices identified in step 430. The instructions may be device-specific instructions for applying rules and / or other configuration changes to the device. The instructions may instruct the networked device to apply a rule, apply a configuration change, add or remove an address from a blacklist, apply a new device configuration file, and / or any other type of instruction. The current device configuration of each of the devices identified at step 430 may be retrieved from a global database. Using the current configuration of the device, instructions may be generated for each device to implement the rules and / or other configuration changes. The instructions may be in any format that can be executed by the networked device. The instructions may be in a remote procedure call (RPC) format, such as GRPC.
[0104] At step 440, instructions may be sent to networked devices. Instructions may be sent by a controller device, such as controller device 231, to networked devices. The networked devices may then apply the rules and / or other configuration changes in the instructions to their drivers. Using the steps described herein, large numbers of networked devices may be quickly reconfigured. For example, thousands of networked devices may be reconfigured in a matter of seconds in response to an attack on a network.
[0105] The networked device may transmit a confirmation that the instruction has been executed at step 445. The networked device may transmit the confirmation to the controller device.
[0106] At step 450, the updated configuration of the networked device may be stored in a global database. The controller device may store a representation of the updated configuration of the networked device in the global database. Each change made to the networked device may be stored in the global database. The previous configuration of the networked device may be stored in the global database. The global database may implement version control. Each change to the configuration may be stored in the database along with a version number, a timestamp, and / or any other representation of the version corresponding to the change. The database may form a change log to represent all configuration changes that have been made to each networked device. The change log may be used for traceability, documentation, and / or rolling back a device to a previous configuration.
[0107] At step 455, it may be determined whether the instruction caused any errors. Errors may be detected at individual devices and / or across the network. Errors may be detected if a device fails, if a data packet is not routed correctly, etc. The integrity of the networked device may be determined by comparing the current configuration of the networked device with the configuration of the networked device stored in the global database. If the current configuration of the networked device does not match the configuration of the networked device stored in the global database, an error may be detected and the method 400 may proceed to step 460. If no error is detected at step 455, the method 400 may end. If an error is detected at step 455, the method may continue to step 460 to resolve the error.
[0108] At step 460, networked devices that experienced the error and / or were affected by the error may be identified. Configuration changes to these devices may be reverted to resolve the error. Rather than identifying networked devices affected by the error, all networked devices identified at step 430 may be reverted to their previous configurations. By reverting all networked devices to the previous configuration, rules and / or other configuration changes applied to the networked devices may be removed.
[0109] At step 465, the networked devices identified at step 460 may be restored to a previous configuration. For each device, instructions may be generated to restore the device to the previous configuration. To generate instructions for the device, the instructions sent to the device at step 440 may be retrieved. Then, instructions to restore the effects of the previous instructions may be generated and sent to the device. A previous version of the configuration of the networked device may be retrieved based on a version number. The configuration having the previous version number may then be applied to the networked device.
[0110] At step 470, an indication that the networked device has been restored to a previous configuration may be stored in a global database. The current configuration of the networked device stored in the database may be updated to indicate that the networked device has been restored to a previous configuration. After updating the database, method 400 may end.
[0111] Although some of the above implementations have been described and illustrated with reference to specific actions performed in a specific order, it should be understood that these actions can be combined, subdivided, or reordered without departing from the teachings of the present technology. At least some actions can be performed in parallel or serially. Therefore, the order and grouping of actions are not limitations of the present technology.
[0112] It should be clearly understood that not all technical effects mentioned herein need to be enjoyed in every embodiment of the present technology.
[0113] As used herein, the term "and / or" is intended to mean including or excluding; for example, "X and / or Y" is intended to mean X or Y or both. As a further example, "X, Y and / or Z" is intended to mean X or Y or Z or any combination thereof.
[0114] The foregoing description is intended to be illustrative rather than limiting. Modifications and improvements to the above-described implementations of the present technology will be apparent to those skilled in the art.
Claims
1. A method for configuring a plurality of networked devices in a network having a local layer and a global layer, the method comprising: receiving, at the local layer, an indication of a denial of service (DOS) attack against a system within the network; storing a configuration change corresponding to the DOS attack in a database of the local layer; sending the configuration change through a streaming device at the local layer and sending the configuration change to a controller device at the global layer; storing, by the controller device, the configuration change in a database of the global layer, wherein the database of the global layer includes stored configurations of a plurality of networked devices connected to the network; generating, by the controller device and based on the stored configurations in the database of the global layer, a plurality of configuration changes to be sent to the plurality of networked devices; storing the plurality of configuration changes in the database of the global layer; and The plurality of configuration changes are sent through the controller device of the global layer and to the plurality of networked devices.
2. The method according to claim 1, further comprising: determining that a configuration change in the plurality of configuration changes caused an error at a networked device in the plurality of networked devices; retrieving, by the controller device, a previous configuration of the networked device from the database of the global layer; and The networked device is restored, by the controller device, to the previous configuration.
3. The method according to claim 1, wherein: The plurality of configuration changes includes addresses to be added to a blacklist.
4. The method according to claim 1, wherein: The plurality of configuration changes include configuration file updates for the plurality of networked devices.
5. The method according to claim 1, wherein: The plurality of configuration changes causes incoming traffic corresponding to the addresses to be directed to one or more mitigation devices.
6. The method according to claim 1, wherein: Receiving the indication of the DOS attack includes receiving user input indicating that a DOS attack is occurring.
7. The method according to claim 1, wherein: The streaming device is configured to send any changes made to the database of the local tier to the controller device of the global tier.
8. The method according to claim 1, wherein: Generating a plurality of configuration changes to be sent to the plurality of networked devices includes, for each networked device in the plurality of networked devices: retrieving a current configuration of a corresponding networked device from the database of the global layer; as well as Device-specific configuration changes to be applied to respective networked devices are determined based on the current configuration of the respective networked devices and based on configuration changes in the database of the global layer.
9. The method according to claim 1, wherein: Sending the plurality of configuration changes to the plurality of networked devices includes sending the plurality of configuration changes to a plurality of drivers associated with the plurality of networked devices.
10. The method according to claim 9, further comprising: The plurality of configuration changes are applied by the plurality of drivers to the plurality of networked devices.
11. A system for network configuration, the system comprising a controller and a memory, the memory storing a plurality of executable instructions, the executable instructions causing the system to perform the method according to claim 1 when executed by the controller.
12. A non-transitory computer-readable medium comprising computer-readable instructions that, when executed by a system, cause the system to perform the method of claim 1.
Citation Information
Patent Citations
Centralized networking configuration in distributed systems
CN105683918A
METHODS AND SYSTEMS FOR DETECTING AND MITIGATING A HIGH-RATE DISTRIBUTED DENIAL OF SERVICE (DDoS) ATTACK
US20120216282A1
Traffic segregation in ddos attack architecture
US20160028755A1
Packet capture for anomalous traffic flows
US20160219065A1
