A secure and optimized single-packet authentication method and system
By using a shared algorithm to generate and verify port information in the software-defined boundary, the problem in traditional SDP that the client needs to predict the controller IP and port is solved, improving security and business continuity.
Patent Information
- Application Number
- CN202210929315.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-03
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-08-03
AI Technical Summary
In traditional software-defined perimeter (SDP), the SDP client needs to know the IP and port of the controller in advance, making it easy for attackers to obtain this information and launch network attacks.
A sharing algorithm is used to generate and verify port information between the client and the target controller. The first and second port information are generated through the port generation factor, and their consistency is compared to verify the port legitimacy, which increases the cost of attacks and reduces the possibility of attacks. sex.
The security of the SDP controller is strengthened, business continuity and security are improved, and the possibility of being attacked is reduced.
Smart Images

Figure CN115174264B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer network technology, and in particular to a security optimized single-packet authentication method and system. Background Art
[0002] Software Defined Perimeter (SDP) is a network security architecture that can provide security protection for the OSI seven-layer protocol stack. SDP has three major components: SDP controller, SDP client, and SDP gateway. SDP can achieve asset hiding and use a single data packet to establish a trusted connection through a separate control and data plane before allowing the client to connect to the hidden asset. The zero-trust network implemented using SDP can defend against new variants of old attack methods and can improve the security dilemma faced by the increasingly complex and expanded attack surface.
[0003] Traditional SDP has the following problems: For the SPA initiated by the SDP client to the SDP controller, the client needs to know the knocking IP and port of the connected SDP controller in advance, so it is easier for the attacker to know the controller IP address and port, and then launch subsequent network attacks. Summary of the invention
[0004] The present invention provides a security-optimized single-package authentication method and system.
[0005] In a first aspect, the present invention provides a security-optimized single-packet authentication method, which is applied to software-defined boundary zero-trust networking, wherein the software-defined boundary zero-trust networking includes a client and a target controller, and the client and the target controller are provided with a shared algorithm, including: the client generates first port information according to a port generation factor through the shared algorithm, wherein the first port information represents information of a knocking port of the target controller, and sends a data packet of a knocking request to the target controller, wherein the data packet includes a port generation factor and the first port information; the target controller receives the data packet, generates second port information according to the port generation factor through the shared algorithm, wherein the second port information represents information of the knocking port of the target controller, and compares whether the first port information is consistent with the second port information. If they are consistent, the port verification passes.
[0006] Furthermore, the software-defined boundary zero-trust networking may also include a diversion device, which is used to determine the IP address of the target controller corresponding to the client; and the client generates first port information according to the port generation factor through the shared algorithm, and sends a data packet of a knocking request to the target controller, including: the client generates first port information according to the port generation factor through the shared algorithm, and sends a data packet of a knocking request to the diversion device; the diversion device parses the IP address of the client according to the received data packet, determines the IP address of the target controller according to the IP address of the client, and sends the data packet to the target controller according to the IP address of the target controller.
[0007] Furthermore, the shared algorithm includes a hash algorithm.
[0008] In a second aspect, the present invention also provides a security-optimized single-packet authentication system, which is applied to software-defined boundary zero-trust networking, wherein the software-defined boundary zero-trust networking includes a client and a target controller, and the client and the target controller are provided with a shared algorithm, including: a client, used to generate first port information according to a port generation factor through the shared algorithm, wherein the first port information represents information of a knocking port of the target controller, and send a data packet of a knocking request to the target controller, wherein the data packet includes a port generation factor and the first port information; a target controller, used to receive the data packet, generate second port information according to the port generation factor through the shared algorithm, wherein the second port information represents information of the knocking port of the target controller, and compare whether the first port information is consistent with the second port information. If they are consistent, the port verification passes.
[0009] In the third aspect, the present invention provides a security-optimized single-packet authentication method, which is applied to the client of software-defined boundary zero-trust networking, including: generating first port information according to a port generation factor through a shared algorithm, wherein the first port information represents the information of the knocking port of a target controller, and sending a data packet of a knocking request to the target controller, wherein the data packet includes the port generation factor and the first port information, and a shared algorithm is provided in both the client and the target controller.
[0010] In a fourth aspect, the present invention provides a security-optimized single-packet authentication method, which is applied to a target controller in a software-defined boundary zero-trust network, comprising: receiving the data packet, generating second port information according to the port generation factor through a shared algorithm, the second port information representing information of the knocking port of the target controller, the data packet including the port generation factor and the first port information, the client and the target controller are both provided with a shared algorithm, comparing whether the first port information is consistent with the second port information, and if they are consistent, the port verification passes.
[0011] In a fifth aspect, the present invention further provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the security-optimized single-packet authentication method as described in any one of the third aspect or the fourth aspect are implemented.
[0012] In a sixth aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the security-optimized single-packet authentication method as described in any one of the third aspect or the fourth aspect above.
[0013] In a seventh aspect, the present invention further provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the security-optimized single-packet authentication method as described in any one of the third aspect or the fourth aspect above.
[0014] A security-optimized single-packet authentication method and system provided by the present invention are applied to software-defined boundary zero-trust networking, wherein the software-defined boundary zero-trust networking includes a client and a target controller, wherein the client and the target controller are provided with a shared algorithm. Based on the shared algorithm preset in the client and the target controller, the client generates the first port information of the target controller in the established port set of the target controller through the shared algorithm and the port generation factor, so that the target controller uses the knocking port set instead of the single port, that is, the first port information is selected in the established port set. After the target controller receives the data packet of the port generation factor and the first port information, the second port information is generated according to the shared algorithm and the port generation factor, and the first port information is compared with the second port information to verify whether the knocking port is legal. The security of the SDP controller is strengthened, the attack cost of the attacker is greatly improved, the possibility of being attacked is reduced, and the business continuity and security of the SDP system are greatly improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0016] Figure 1 is a flowchart of some embodiments of the security optimized single-packet authentication method provided by the present invention;
[0017] Figure 2 This is a flowchart of an application scenario of security-optimized single-package authentication;
[0018] Figure 3 It is a flowchart of an embodiment of a security optimized single-packet authentication method provided by the present invention;
[0019] Figure 4 is a flowchart diagram of other embodiments of the security optimized single-packet authentication method provided by the present invention;
[0020] Figure 5 is a flowchart diagram of some further embodiments of the security optimized single-packet authentication method provided by the present invention;
[0021] Figure 6 is a schematic diagram of the structure of some embodiments of the security optimized single-package authentication system provided by the present invention;
[0022] Figure 7 is a schematic diagram of the structure of some embodiments of the security optimized single-package authentication device provided according to the present invention;
[0023] Figure 8 is a schematic diagram of the structure of some embodiments of the security optimized single-package authentication device provided according to the present invention;
[0024] Fig. 9 It is a schematic diagram of the structure of an electronic device provided according to the present invention. DETAILED DESCRIPTION
[0025] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0026] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other.
[0027] It should be noted that the concepts such as “first” and “second” mentioned in the present invention are only used to distinguish different systems, modules or units, and are not used to limit the order or interdependence of the functions performed by these systems, modules or units.
[0028] It should be noted that the modifications of "one" and "plurality" mentioned in the present invention are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0029] The names of the messages or information exchanged between multiple systems in the embodiments of the present invention are only used for illustrative purposes, and are not used to limit the scope of these messages or information.
[0030] The present invention will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.
[0031] See also Figure 1 , Figure 1 1 is a flow chart of some embodiments of the security optimized single packet authentication method provided by the present invention. Figure 1 As shown, the method comprises the following steps:
[0032] Step 101, the client generates first port information according to a port generation factor through a shared algorithm, the first port information represents information of a knocking port of a target controller, and sends a data packet of a knocking request to the target controller, the data packet including the port generation factor and the first port information.
[0033] The client and the target controller are included in the software-defined boundary zero-trust networking, and a shared algorithm is provided in the client and the target controller. As an example, the shared algorithm may be a hash algorithm. The software-defined boundary is a new generation of network security model based on the concept of zero trust. Zero trust security is a concept, and the software-defined boundary networking is a technical architecture and solution for practicing the concept of zero trust security.
[0034] In some embodiments, the port generation factor can be the IP address of the client's public network, or a sequence randomly generated by the client. The port of the data packet sent this time is determined in the port set of the controller through the port generation factor and the shared algorithm, so that the ports of the data packets received by the controller from different clients are different each time, so the attacker cannot determine the port information of the controller receiving the data packet each time, which can effectively prevent the attacker from invading.
[0035] The client can find the corresponding server through the IP address, but the server has many ports. Each application corresponds to a port number. The client can really access the server through the port number similar to the house number. In order to distinguish the ports, each port is numbered, which is the port number. The port number is only an integer, ranging from 0 to 65535. As an example, the first port information can be the port number 1024 of the knock port of the target controller.
[0036] Step 102, the target controller receives the data packet, generates second port information according to the port generation factor through a shared algorithm, and the second port information represents the knocking port information of the target controller. The first port information is compared with the second port information to see if they are consistent. If they are consistent, the port verification is successful.
[0037] Still taking the above as an example, if the target controller generates the second port information through a shared algorithm according to the received port generation factor, the second port information is the port number 1024 of the knocking port of the target controller. The port number 1024 is compared with the first port information, and the first port information indicates the port number 1024 of the knocking port of the target controller. If the comparison result is consistent, the port verification is passed.
[0038] The security optimized single-packet authentication method disclosed in some embodiments of the present invention is applied to software-defined boundary zero-trust networking, which includes a client and a target controller, and a shared algorithm is provided in the client and the target controller. Based on the preset shared algorithm in the client and the target controller, the client generates the first port information of the target controller in the established port set of the target controller through the shared algorithm and the port generation factor, so that the target controller uses the knocking port set instead of the single port, that is, the first port information is selected in the established port set. After the target controller receives the data packet of the port generation factor and the first port information, it generates the second port information according to the shared algorithm and the port generation factor, compares the first port information with the second port information, and verifies whether the knocking port is legal. The security of the SDP controller is strengthened, the attack cost of the attacker is greatly improved, the possibility of being attacked is reduced, and the business continuity and security of the SDP system are greatly improved.
[0039] In some optional implementations, the software-defined boundary zero-trust networking also includes a diversion device, which is used to determine the IP address of the target controller corresponding to the client; and the client generates first port information according to the port generation factor through a shared algorithm, and sends a data packet of a knocking request to the target controller, including: the client generates first port information according to the port generation factor through a shared algorithm, and sends a data packet of a knocking request to the diversion device; the diversion device parses the IP address of the client based on the received data packet, determines the IP address of the target controller based on the IP address of the client, and sends the data packet to the target controller based on the IP address of the target controller.
[0040] The diversion device can also be used to detect whether the first port information is legal.
[0041] like Figure 2 As shown in the figure, when there are multiple controllers in the software-defined boundary zero-trust network, the target controller needs to be determined through a diversion device. When the client sends a data packet to the target controller, the data packet needs to be forwarded to the target controller through a diversion device.
[0042] In an application scenario, multiple controllers in a software-defined perimeter zero-trust network have the same sharing algorithm. Therefore, a traffic diversion device is required to determine the IP address of the target controller based on the IP address of the client to forward the data packet sent by the client to the target controller. Optionally, the traffic diversion device can query the IP address of the target controller corresponding to the IP of the corresponding client according to a pre-stored comparison table.
[0043] In an application scenario, the traffic diversion device can calculate an index through a hash function based on the client's IP address, and use this index to find the IP address of the target controller. This solves the problem of excessive single-point business pressure and easy becoming a business bottleneck or attack target due to traffic concentration on a single fixed port or a single controller.
[0044] See also Figure 3 , Figure 3 This is a flow chart of an embodiment of a security optimized single-packet authentication method provided by the present invention. The present invention supports both stand-alone deployment of the SDP controller and cluster deployment:
[0045] S1) The knock port of the SDP controller (or controller) is no longer a certain port, but a set of ports.
[0046] S2) The SDP client (or client) uses a specific algorithm shared with the SDP controller to select the port that the SDP controller knocks on from a set of established ports.
[0047] S3) The SDP client initiates SPA single packet authentication to the SDP controller. If the port calculation algorithm in the previous step needs to inform the SDP controller of the calculation factor (i.e., port generation factor), it can be carried in the SPA authentication message.
[0048] S4) After receiving the single packet authentication, the SDP controller verifies whether the knocking port is legitimate based on a specific algorithm shared with the SDP client.
[0049] The present invention provides a new SDP controller knocking method, which enhances the security of the SDP controller, greatly improves the attack cost of attackers, reduces the possibility of being attacked, and greatly improves the business continuity and security of the SDP system.
[0050] See also Figure 4 , Figure 4 1 is a flow chart of some embodiments of the security optimized single packet authentication method provided by the present invention. Figure 4 As shown, the method is applied to the client of the software-defined boundary zero-trust network, including the following steps:
[0051] Step 401, through a shared algorithm, the first port information is generated according to the port generation factor, the first port information represents the information of the knocking port of the target controller, and a data packet of a knocking request is sent to the target controller, the data packet includes the port generation factor and the first port information, and the shared algorithm is set in both the client and the target controller.
[0052] The description of the client in step 401 and the technical effects produced can be referred to Figure 1 , I will not go into details here.
[0053] See also Figure 5 , Figure 5 1 is a flow chart of some embodiments of the security optimized single packet authentication method provided by the present invention. Figure 5 As shown, the method is applied to a target controller of a software-defined boundary zero-trust network, including the following steps:
[0054] Step 501, a data packet is received, and second port information is generated according to a port generation factor through a shared algorithm. The second port information represents information of the knocking port of the target controller. The data packet includes the port generation factor and the first port information. A shared algorithm is provided in both the client and the target controller to compare whether the first port information is consistent with the second port information. If they are consistent, the port verification is successful.
[0055] The description of the controller in step 501 and the technical effects produced can be referred to Figure 1 , I will not go into details here.
[0056] See also Figure 6 , Figure 6 1 is a schematic diagram of the structure of some embodiments of the security optimized single-package authentication system provided by the present invention. As an implementation of the methods shown in the above figures, the present invention also provides some embodiments of the security optimized single-package authentication system. These system embodiments are similar to Figure 1 The embodiments of some methods shown correspond to each other, and the system can be applied to various electronic devices.
[0057] like Figure 6 As shown, the security optimized single-packet authentication system of some embodiments includes a client 601 and a target controller 602: the client 601 is used to generate first port information according to a port generation factor through a shared algorithm, the first port information represents information of a knocking port of the target controller, and send a data packet of a knocking request to the target controller, the data packet includes the port generation factor and the first port information; the target controller 602 is used to receive a data packet, generate second port information according to the port generation factor through a shared algorithm, the second port information represents information of the knocking port of the target controller, compare whether the first port information is consistent with the second port information, if they are consistent, the port verification is successful.
[0058] In an optional implementation of some embodiments, the software-defined boundary zero-trust networking further includes a traffic diversion device, the traffic diversion device being used to determine an IP address of a target controller corresponding to the client; and
[0059] The client 601 is further used to generate first port information according to the port generation factor through a shared algorithm, and send a data packet of a knock request to the diversion device;
[0060] The traffic diversion device is used to parse the IP address of the client according to the received data packet, determine the IP address of the target controller according to the IP address of the client, and send the data packet to the target controller according to the IP address of the target controller.
[0061] In an optional implementation of some embodiments, the shared algorithm includes a hash algorithm.
[0062] It is understood that the client, controller and diversion device described in the system are similar to those described in the reference Figure 1 Therefore, the operations, features and beneficial effects described above for the method are also applicable to the system and the modules and units contained therein, and will not be described in detail here.
[0063] like Figure 7As shown, the security-optimized single-packet authentication device of some embodiments includes a first processing module 701: the first processing module 701 is used to generate first port information according to a port generation factor through a shared algorithm, the first port information represents information of a knocking port of a target controller, and send a data packet of a knocking request to the target controller, the data packet includes a port generation factor and the first port information, and a shared algorithm is provided in both the client and the target controller.
[0064] In optional implementations of some embodiments, the software-defined boundary zero-trust networking also includes a diversion device, which is used to determine the IP address of the target controller corresponding to the client; and a first processing module, which is also used to generate first port information according to a port generation factor through a shared algorithm, and send a data packet of a knock request to the diversion device; the diversion device is used to parse the IP address of the client based on the received data packet, determine the IP address of the target controller based on the IP address of the client, and send the data packet to the target controller based on the IP address of the target controller.
[0065] In an optional implementation of some embodiments, the shared algorithm includes a hash algorithm.
[0066] It is understood that the client, controller and diversion device described in the system are similar to those described in the reference Figure 4 Therefore, the operations, features and beneficial effects described above for the method are also applicable to the system and the modules and units contained therein, and will not be described in detail here.
[0067] like Figure 8 As shown, some embodiments of the security optimized single-packet authentication device include a second processing module 801: the second processing module 801 is used to receive a data packet, generate second port information according to a port generation factor through a shared algorithm, the second port information represents information of the knocking port of the target controller, the data packet includes the port generation factor and the first port information, and a shared algorithm is provided in the client and the target controller to compare whether the first port information is consistent with the second port information. If they are consistent, the port verification is passed.
[0068] In an optional implementation of some embodiments, the software-defined boundary zero-trust networking also includes a diversion device, which is used to determine the IP address of the target controller corresponding to the client; and the client is used to generate first port information according to a port generation factor through a shared algorithm, and send a data packet of a knock request to the diversion device; the diversion device is used to parse the IP address of the client according to the received data packet, determine the IP address of the target controller according to the IP address of the client, and send the data packet to the target controller according to the IP address of the target controller.
[0069] In an optional implementation of some embodiments, the shared algorithm includes a hash algorithm.
[0070] It is understood that the client, controller and diversion device described in the system are similar to those described in the reference Figure 5 Therefore, the operations, features and beneficial effects described above for the method are also applicable to the system and the modules and units contained therein, and will not be described in detail here.
[0071] Fig. 9 An example of a physical structure diagram of an electronic device is shown in FIG. Fig. 9 As shown, the electronic device may include: a processor 910, a communication interface 920, a memory 930 and a communication bus 940, wherein the processor 910, the communication interface 920 and the memory 930 complete mutual communication through the communication bus 940. The processor 910 may call the logic instructions in the memory 930 to execute the security optimized single packet authentication method, which is applied to the software defined boundary zero trust networking, and the software defined boundary zero trust networking includes a client and a target controller, and the client and the target controller are provided with a shared algorithm, including: the client generates first port information according to the port generation factor through the shared algorithm, the first port information indicates the information of the knocking port of the target controller, and sends a data packet of the knocking request to the target controller, the data packet includes the port generation factor and the first port information; the target controller receives the data packet, generates second port information according to the port generation factor through the shared algorithm, the second port information indicates the information of the knocking port of the target controller, and compares whether the first port information is consistent with the second port information. If they are consistent, the port verification is passed.
[0072] In addition, the logic instructions in the above-mentioned memory 930 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the above-mentioned methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0073] On the other hand, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the security-optimized single-packet authentication method provided by the above methods, which is applied to software-defined boundary zero-trust networking. The software-defined boundary zero-trust networking includes a client and a target controller. The client and the target controller are provided with a shared algorithm, including: the client generates first port information according to a port generation factor through a shared algorithm, and the first port information represents information of a knocking port of the target controller, and sends a data packet of a knocking request to the target controller, and the data packet includes the port generation factor and the first port information; the target controller receives the data packet, generates second port information according to the port generation factor through a shared algorithm, and the second port information represents information of the knocking port of the target controller, and compares whether the first port information is consistent with the second port information. If they are consistent, the port verification passes.
[0074] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the above-mentioned security-optimized single-packet authentication methods provided above, and is applied to software-defined boundary zero-trust networking, wherein the software-defined boundary zero-trust networking includes a client and a target controller, and the client and the target controller are provided with a shared algorithm, including: the client generates first port information according to a port generation factor through a shared algorithm, the first port information represents information of a knocking port of the target controller, and sends a data packet of a knocking request to the target controller, the data packet includes the port generation factor and the first port information; the target controller receives the data packet, generates second port information according to the port generation factor through a shared algorithm, the second port information represents information of the knocking port of the target controller, and compares whether the first port information is consistent with the second port information. If they are consistent, the port verification is successful.
[0075] The system embodiment described above is merely illustrative, wherein the units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.
[0076] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution 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 ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the above methods of each embodiment or some parts of the embodiments.
[0077] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A security optimized single packet authentication method, characterized in that: Applied to software-defined boundary zero-trust networking, the software-defined boundary zero-trust networking includes a client and a target controller, and the client and the target controller are provided with a shared algorithm, including: The client generates first port information according to the port generation factor through the shared algorithm, wherein the first port information represents information of the knocking port of the target controller, and sends a data packet of a knocking request to the target controller, wherein the data packet includes the port generation factor and the first port information, wherein the port generation factor is a sequence randomly generated by the client, and the first port information is selected from a predetermined port set of the target controller; The target controller receives the data packet, generates second port information according to the port generation factor through the shared algorithm, the second port information represents the information of the knocking port of the target controller, and compares the first port information with the second port information to see whether they are consistent. If they are consistent, the port verification is passed; The software-defined boundary zero-trust networking further includes a traffic diversion device, and the traffic diversion device is used to determine the IP address of the target controller corresponding to the client, wherein; and The client generates first port information according to the port generation factor through the shared algorithm, and sends a data packet of a knock request to the target controller, including: The client generates first port information according to the port generation factor through the shared algorithm, and sends a data packet of a knock request to the diversion device; The traffic distribution device parses the IP address of the client according to the received data packet, determines the IP address of the target controller according to the IP address of the client, and sends the data packet to the target controller according to the IP address of the target controller; Among them, multiple controllers in the software-defined boundary zero-trust network have the same sharing algorithm, and the diversion device queries the IP address of the target controller corresponding to the IP of the corresponding client according to the pre-stored comparison table.
2. The security optimized single packet authentication method according to claim 1, characterized in that: The shared algorithm includes a hash algorithm.
3. A security optimized single packet authentication system, characterized in that: Applied to software-defined boundary zero-trust networking, the software-defined boundary zero-trust networking includes a client and a target controller, and the client and the target controller are provided with a shared algorithm, including: The client is configured to generate first port information according to a port generation factor through the shared algorithm, wherein the first port information represents information of a knocking port of a target controller, and send a data packet of a knocking request to the target controller, wherein the data packet includes the port generation factor and the first port information, wherein the port generation factor is a sequence randomly generated by the client, and the first port information is selected from a predetermined port set of the target controller; The target controller is used to receive the data packet, generate second port information according to the port generation factor through the shared algorithm, the second port information represents the information of the knocking port of the target controller, and compare whether the first port information is consistent with the second port information. If they are consistent, the port verification is passed; The software-defined boundary zero-trust networking further includes a traffic diversion device, the traffic diversion device being used to determine an IP address of a target controller corresponding to the client; and The client generates first port information according to the port generation factor through the shared algorithm, and sends a data packet of a knock request to the target controller, including: The client generates first port information according to the port generation factor through the shared algorithm, and sends a data packet of a knock request to the diversion device; The traffic distribution device parses the IP address of the client according to the received data packet, determines the IP address of the target controller according to the IP address of the client, and sends the data packet to the target controller according to the IP address of the target controller; Among them, multiple controllers in the software-defined boundary zero-trust network have the same sharing algorithm, and the diversion device queries the IP address of the target controller corresponding to the IP of the corresponding client according to the pre-stored comparison table.
4. A security optimized single packet authentication method, characterized in that: Clients used in software-defined perimeter zero-trust networking include: Generate first port information according to the port generation factor through a shared algorithm, wherein the first port information indicates information of a knocking port of a target controller, and send a data packet of a knocking request to the target controller, wherein the data packet includes the port generation factor and the first port information, wherein the client and the target controller are both provided with a shared algorithm; Wherein, the port generation factor is a sequence randomly generated by the client, and the first port information is selected from a predetermined port set of the target controller; Among them, the software-defined boundary zero-trust networking also includes a diversion device, which is used to determine the IP address of the target controller corresponding to the client; and the client is used to generate first port information according to the port generation factor through a shared algorithm, and send a data packet of a knock request to the diversion device; the diversion device is used to parse the IP address of the client according to the received data packet, determine the IP address of the target controller according to the IP address of the client, and send the data packet to the target controller according to the IP address of the target controller; Among them, multiple controllers in the software-defined boundary zero-trust network have the same sharing algorithm, and the diversion device queries the IP address of the target controller corresponding to the IP of the corresponding client according to the pre-stored comparison table.
5. A security optimized single packet authentication method, characterized in that: The target controller for software-defined edge zero-trust networking includes: After receiving a data packet, second port information is generated according to a port generation factor through a shared algorithm, wherein the second port information indicates information of a knocking port of the target controller, the data packet includes a port generation factor and the first port information, and a shared algorithm is provided in both the client and the target controller to compare whether the first port information is consistent with the second port information, and if they are consistent, the port verification is passed; Wherein, the port generation factor is a sequence randomly generated by the client, and the first port information is selected from a predetermined port set of the target controller; Among them, the software-defined boundary zero-trust networking also includes a diversion device, which is used to determine the IP address of the target controller corresponding to the client; and the client is used to generate first port information according to the port generation factor through a shared algorithm, and send a data packet of a knock request to the diversion device; the diversion device is used to parse the IP address of the client according to the received data packet, determine the IP address of the target controller according to the IP address of the client, and send the data packet to the target controller according to the IP address of the target controller; Among them, multiple controllers in the software-defined boundary zero-trust network have the same sharing algorithm, and the diversion device queries the IP address of the target controller corresponding to the IP of the corresponding client according to the pre-stored comparison table.
6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the security optimized single-packet authentication method as described in any one of claims 4 or 5 are implemented.
7. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the security optimized single packet authentication method as described in any one of claims 4 or 5 are implemented.
8. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the security optimized single packet authentication method according to any one of claims 4 or 5 are implemented.
Citation Information
Patent Citations
Implementation method for protecting SDP controller
CN114039750A
