A method and device for distributed controller cluster based on onion network

Through the distributed controller clustering method based on Onion Network, the IP address of the centralized controller is hidden and a multi-node cluster system is built, which solves the potential attack threat and availability guarantee problems of the centralized controller, and achieves high stealth and high reliability.

CN115632785BActive Publication Date: 2024-11-08YUNNAN POWER GRID CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211097888.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-08
Publication Date
2024-11-08
Estimated Expiration
2042-09-08

AI Technical Summary

Technical Problem

In SDP software-defined security boundary technology, centralized controllers become the only external exposure point, with potential attack threats, and their availability guarantee is an important issue.

Method used

Using the distributed controller cluster method based on the Onion Network, node information is obtained through TOR network name query, verification information and forwarding circuits are generated, encrypted packets are sent for triple decryption, controller IP address is hidden, and multi-node distributed cluster system is built to Achieve high reliability.

Benefits of technology

It improves the stealth protection capability of the centralized controller, prevents malicious sniffing from obtaining the controller's IP address information, reduces the risk of malicious attacks against the controller after permission leakage, and achieves high reliability of the controller.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115632785B_ABST
    Figure CN115632785B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and device for a distributed controller cluster based on an onion network, the method comprising: a client obtains node information through a TOR network name query; according to the node information, performs parsing to generate verification information and a forwarding circuit; sends an encrypted message to an entry node, performs triple decryption and then sends it to a target port. The present invention can further enhance the stealth protection capability of a centralized controller under the premise of ensuring zero trust in an SDP network, prevent malicious sniffing from obtaining controller IP address information, and reduce the risk of malicious attacks on the controller after authority leakage. At the same time, by constructing a multi-node distributed cluster system of the controller and a dynamic controller connection circuit, the high reliability of the controller is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information security technology, and in particular to a distributed controller cluster method based on an onion network. Background Art

[0002] SDP software-defined security perimeter technology is based on the architecture and concept of "authentication first, then access". Through the security access centralized controller (Controller), all access requests are uniformly authenticated by the controller first. If the authentication is passed, further access connection is allowed, otherwise it is directly discarded. Under this architecture, the requesting client needs to configure the IP address or domain name of the centralized controller for knock authentication.

[0003] Therefore, while this solution solves the problem of hiding backend network assets, it also has the following two problems: First, the centralized controller itself becomes the only exposure point. After the user permissions are leaked, the potential attack threat against the centralized controller itself still exists. Second, the centralized controller is the key point of service continuity, and how to ensure the availability of the controller is an important issue that needs to be solved. Summary of the invention

[0004] The purpose of this section is to summarize some aspects of embodiments of the present invention and briefly introduce some preferred embodiments. Some simplifications or omissions may be made in this section and the specification abstract and the invention title of this application to avoid blurring the purpose of this section, the specification abstract and the invention title, and such simplifications or omissions cannot be used to limit the scope of the present invention.

[0005] In view of the above existing problems, the present invention is proposed.

[0006] Therefore, the present invention provides a method for a distributed controller cluster based on an onion network to solve the problem that after the user authority is leaked, the potential attack threat to the centralized controller itself still exists; how to ensure the availability of the centralized controller.

[0007] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0008] In a first aspect, the present invention provides a method for distributed controller cluster based on an onion network, comprising:

[0009] The client obtains node information through TOR network name query;

[0010] According to the node information, analysis is performed to generate verification information and a forwarding circuit;

[0011] Send the encrypted message to the entry node, perform triple decryption and then send it to the target port.

[0012] As a preferred solution of the method of distributed controller cluster based on onion network described in the present invention, wherein: the client is a TOR client embedded in the SDP process.

[0013] As a preferred solution of the method of distributed controller cluster based on onion network described in the present invention, wherein: the query to obtain node information includes querying the node directory;

[0014] The node information includes entry node information.

[0015] As a preferred solution of the method of distributed controller cluster based on onion network described in the present invention, wherein: the analysis includes searching and nearby accessing the node pool of the TOR controller cluster network.

[0016] As a preferred solution of the method of distributed controller cluster based on onion network described in the present invention, wherein: the verification information includes certificate information and key information.

[0017] As a preferred solution of the method of distributed controller cluster based on onion network described in the present invention, generating a forwarding circuit includes:

[0018] When the client generates a request, the forwarding circuit plan is generated through the TOR network, and the data packets are encapsulated and processed for each node;

[0019] The nodes of the forwarding circuit include an ingress node, an intermediate node and an egress node;

[0020] An independent secret key is used between each node in the forwarding circuit.

[0021] As a preferred solution of the method of distributed controller cluster based on onion network described in the present invention, wherein: the sending of encrypted message to the entry node, performing triple decryption and then sending to the target port includes:

[0022] The client randomly selects an entry node to perform the first-layer decryption and randomly sends the first-layer decrypted message to any intermediate node;

[0023] Any intermediate node performs second-layer decryption and randomly sends the second-layer decrypted message to any exit node;

[0024] Any of the egress nodes performs layer 3 decryption, restores the message after layer 3 decryption, and sends it to the target port.

[0025] In a second aspect, the present invention provides a device for a distributed controller cluster based on an onion network, characterized in that it includes:

[0026] The client module is used to obtain node information through TOR network name query and send encrypted messages to the entry node;

[0027] A node directory parsing module is used to parse the node information, retrieve the node pool of the TOR controller cluster network and access it nearby;

[0028] A forwarding circuit generation module is used to generate a forwarding circuit and generate a forwarding circuit plan through the TOR network according to a user request;

[0029] The certificate management module is used to generate verification information and provide certificate and key information;

[0030] The circuit node forwarding module is used to perform triple decryption and then send it to the target port.

[0031] In a third aspect, the present invention provides a computing device, comprising:

[0032] Memory and processor;

[0033] The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, the steps of the method of distributed controller cluster based on onion network described in claim 1 are implemented.

[0034] In a fourth aspect, the present invention provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of the method for a distributed controller cluster based on an onion network as described in claim 1.

[0035] Compared with the prior art, the present invention has the following beneficial effects: the present invention can further enhance the stealth protection capability of the centralized controller under the premise of ensuring zero trust in the SDP network, prevent malicious sniffing to obtain the controller IP address information, and reduce the risk of malicious attacks on the controller after the authority is leaked. At the same time, by building a multi-node distributed cluster system of the controller and a dynamic controller connection circuit, the high reliability of the controller is achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. Among them:

[0037] Figure 1 A schematic diagram of the overall process of a method for distributed controller cluster based on an onion network according to an embodiment of the present invention;

[0038] Figure 2 A schematic diagram of a distributed controller cluster based on an onion network according to an embodiment of the present invention. DETAILED DESCRIPTION

[0039] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.

[0040] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0041] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.

[0042] The present invention is described in detail with reference to schematic diagrams. When describing the embodiments of the present invention, for the sake of convenience, the cross-sectional diagrams showing the device structure will not be partially enlarged according to the general scale, and the schematic diagrams are only examples, which should not limit the scope of protection of the present invention. In addition, in actual production, the three-dimensional dimensions of length, width and depth should be included.

[0043] At the same time, in the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "upper, lower, inner and outer" are based on the directions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as limiting the present invention. In addition, the terms "first, second or third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.

[0044] In the present invention, unless otherwise clearly specified and limited, the terms "install, connect, connect" should be understood in a broad sense, for example: it can be a fixed connection, a detachable connection or an integral connection; it can also be a mechanical connection, an electrical connection or a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0045] Example 1

[0046] Reference Figure 1-2 , as an embodiment of the present invention, provides a method for distributed controller cluster based on an onion network, comprising:

[0047] S1: The client obtains node information through TOR (The Onion Router) network name query;

[0048] Furthermore, the client is a TOR client embedded in the SDP process.

[0049] Furthermore, querying and obtaining node information includes querying a node directory;

[0050] The node information includes the entry node information.

[0051] It should be noted that based on the principle of the onion network TOR, the client only needs to know the onion network ID to which the controller belongs to complete the access to the controller. Therefore, this feature is used to hide the IP address of the controller itself, thereby avoiding the direct exposure of the controller's identity and reducing the possibility of being attacked.

[0052] S2: Analyze and generate verification information and forwarding circuit based on node information;

[0053] Furthermore, the analysis includes searching and nearby access to the node pool of the TOR controller cluster network.

[0054] It should be noted that the node pool includes a controller node pool and an intermediate node pool.

[0055] Furthermore, the verification information includes certificate information and key information.

[0056] Furthermore, generating a forwarding circuit includes,

[0057] When the client generates a request, the forwarding circuit plan is generated through the TOR network, and the data packets are encapsulated and processed for each node;

[0058] The forwarding circuit includes an ingress node, an intermediate node, and an egress node;

[0059] Independent secret keys are used between each node in the forwarding circuit.

[0060] It should be noted that based on the directory query mechanism of the TOR onion network, the message is encapsulated and forwarded in segments to achieve complete hiding of the control IP.

[0061] S3: Send the encrypted message to the entry node, perform triple decryption and then send it to the target port.

[0062] Furthermore, the encrypted message is sent to the entry node, triple decrypted and sent to the target port including,

[0063] The client randomly selects an entry node to perform first-layer decryption and randomly sends the first-layer decrypted message to any intermediate node;

[0064] Any intermediate node performs the second-layer decryption and randomly sends the second-layer decrypted message to any exit node;

[0065] Any egress node performs layer 3 decryption, restores the message after layer 3 decryption, and sends it to the target port.

[0066] It should be noted that the random circuit mechanism based on the TOR onion network realizes load sharing and backup of multiple controller paths, while also realizing segmented cutting of communication messages, further improving the security of the communication link.

[0067] In summary, the algorithm for internal negotiation of the TOR client of the present invention can randomly select a TOR entry node, the entry node randomly selects an intermediate node, and the intermediate node randomly selects an exit node (controller), thereby realizing the load sharing and multi-node disaster recovery functions of the controller cluster; at the same time, the upstream and downstream nodes of the forwarding circuit each use independent keys, and each node has only partial information but no complete communication information, which protects the security of communication to the greatest extent; during the entire process, the IP information of the controller is not exposed to the outside, and the overall security is also greatly improved.

[0068] The above is a schematic scheme of a method for distributed controller cluster based on an onion network in this embodiment. It should be noted that the technical scheme of the device for distributed controller cluster based on an onion network and the technical scheme of the distributed controller cluster method based on an onion network belong to the same concept. For the details not described in detail in the technical scheme of the device for distributed controller cluster based on an onion network in this embodiment, please refer to the description of the technical scheme of the distributed controller cluster method based on an onion network.

[0069] Figure 2 It is a schematic diagram of the structure of a distributed controller cluster device based on an onion network provided by the present invention. This embodiment is applicable to the case of a distributed controller cluster method based on an onion network.

[0070] See also Figure 2 , the device of the distributed controller based on the onion network in this embodiment includes:

[0071] The client module is used to obtain node information through TOR network name query and send encrypted messages to the entry node;

[0072] A node directory parsing module is used to parse the node information, retrieve the node pool of the TOR controller cluster network and access it nearby;

[0073] A forwarding circuit generation module is used to generate a forwarding circuit and generate a forwarding circuit plan through the TOR network according to a user request;

[0074] The certificate management module is used to generate verification information and provide certificate and key information;

[0075] The circuit node forwarding module is used to perform triple decryption and then send it to the target port.

[0076] This embodiment further provides a computing device, which is applicable to the case of a distributed controller cluster method based on an onion network, including:

[0077] A memory and a processor; the memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions to implement the distributed controller cluster method based on the onion network as proposed in the above embodiment.

[0078] This embodiment also provides a storage medium on which a computer program is stored. When the program is executed by a processor, the method for realizing a distributed controller cluster based on an onion network as proposed in the above embodiment is implemented.

[0079] The storage medium proposed in this embodiment and the data storage method proposed in the above embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be found in the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.

[0080] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ReadOnly, Memory, ROM), random access memory (RandomAccess Memory, RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform the methods of various embodiments of the present invention.

[0081] Example 2

[0082] Referring to Table 1, a method for distributed controller clustering based on an onion network is provided for an embodiment of the present invention. In order to verify its beneficial effects, comparison results of two solutions are provided.

[0083] Table 1 Comparison table

[0084] Traditional methods Method of the present invention Security and stealth 0.5 0.85 Scalability 2.1 times 3.2 times

[0085] As can be seen from Table 1, the security and stealth of the traditional method are basically around 0.5, and the scalability is around 2 times. The present invention can further improve the stealth protection capability of the centralized controller under the premise of ensuring zero trust in the SDP network, prevent malicious sniffing to obtain the controller IP address information, and reduce the risk of malicious attacks on the controller after the authority is leaked. At the same time, by building a multi-node distributed cluster system of the controller and a dynamic controller connection circuit, the high reliability of the controller is achieved.

[0086] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A method for distributed controller cluster based on onion network, characterized in that: include: The client obtains node information through TOR network name query; The client is a TOR client embedded in the SDP process; The querying and obtaining node information includes querying the node directory; The node information includes entry node information; According to the node information, analysis is performed to generate verification information and a forwarding circuit; The analysis includes searching and nearby accessing the node pool of the TOR controller cluster network; The verification information includes certificate information and key information; Generating a forwarding circuit includes, When the client generates a request, the forwarding circuit plan is generated through the TOR network, and the data packets are encapsulated and processed for each node; The nodes include an entry node, an intermediate node and an exit node; An independent secret key is used between each node of the forwarding circuit; Send the encrypted message to the entry node, perform triple decryption and then send it to the target port; The sending of the encrypted message to the entry node, performing triple decryption and then sending to the target port comprises: The client randomly selects an entry node to perform the first-layer decryption and randomly sends the first-layer decrypted message to any intermediate node; Any intermediate node performs second-layer decryption and randomly sends the second-layer decrypted message to any exit node; Any of the egress nodes performs layer 3 decryption, restores the message after layer 3 decryption, and sends it to the target port.

2. A device for applying the distributed controller cluster method based on an onion network as claimed in claim 1, characterized in that: include, The client module is used to obtain node information through TOR network name query and send encrypted messages to the entry node; A node directory parsing module is used to parse the node information, retrieve the node pool of the TOR controller cluster network and access it nearby; A forwarding circuit generation module is used to generate a forwarding circuit and generate a forwarding circuit plan through the TOR network according to a user request; The certificate management module is used to generate verification information and provide certificate and key information; The circuit node forwarding module is used to perform triple decryption and then send it to the target port.

3. A computing device comprising: Memory and processor; The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, the steps of the method of distributed controller cluster based on onion network described in claim 1 are implemented.

4. A computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of the method of distributed controller cluster based on an onion network as described in claim 1.