A method and device for detecting routing leakage based on multi-party secure computing
Through multi-party secure computing and Shamir secret sharing technology, the detection accuracy and privacy issues in existing route leak detection methods are solved, improving the accuracy of route leak detection without exposing commercial relationships, and enhancing Internet routing security. sex.
Patent Information
- Application Number
- CN202310780850.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-28
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2043-06-28
AI Technical Summary
Existing route leakage detection methods have problems with detection accuracy and privacy. The business relationship inference algorithm is inaccurate and the confidentiality of business relationships between ASs leads to deployment incentive issues.
Using a method based on multi-party security calculation, the business relationship between autonomous systems is split into secret shards through Shamir secret sharing technology, and multi-party security calculation is performed in the central computing unit to determine whether there is a route leak in AS_PATH to ensure that it is not exposed. Improve detection accuracy in the context of commercial relationships.
Without exposing commercial relationships between autonomous systems, it improves the identification accuracy of route leaks, solves detection accuracy and privacy issues, and enhances Internet routing security.
Smart Images

Figure CN116800503B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of routing anomaly detection, and in particular to a routing leakage detection method and device based on multi-party secure computing. Background Art
[0002] At present, the Internet is composed of more than 100,000 autonomous systems. Autonomous systems (AS) use the Border Gateway Protocol (BGP) to exchange routing information to achieve global reachability of the Internet. However, when BGP was first designed, security issues were not fully considered, resulting in serious routing security risks. Various routing anomalies occur on the Internet every day, among which route leakage is a common one, accounting for about 22% of the total anomalies. BGP route announcements contain the AS_PATH (which can be regarded as the AS path) to the target autonomous system. The autonomous system that receives the BGP announcement can send messages to the target autonomous system along the AS_PATH in the announcement. AS_PATH can be understood as a code composed of a group of autonomous system ASNs (Autonomous System Numbers). If the autonomous system does not follow the correct routing policy for route announcements, but announces the route to the wrong autonomous system, route leakage may occur. Route leakage may cause serious network service interruptions and bring data security risks, posing a huge threat to the security and stability of the Internet. Accurate identification of route leakage can effectively limit the scope of BGP route announcement leakage and minimize the impact on the Internet.
[0003] Existing route leakage detection methods are mainly divided into the following two types: (1) Route leakage detection methods based on business relationship inference. This type of method first needs to infer the business relationship between autonomous systems, and use the inference results combined with routing policies (valley-free principle: BGP route announcements from customer AS can be sent to any adjacent AS, and BGP route announcements from peer AS or provider AS are only allowed to be sent to its customer AS) to check the legitimacy of the AS path in the BGP route announcement. Currently, the more advanced business relationship inference algorithms include AS-Rank (IMC'13), ProbLink (NSDI'19), and TopoScope (IMC'20), but these inference algorithms often have the problem of inaccurate and incomplete inference results. (2) Detection methods based on active upload of AS business relationships. This type of method requires the AS to actively upload its business relationship with other adjacent ASs, and use this public data combined with routing policies to check the legitimacy of the AS path in the BGP route announcement. ASPA is a work currently being promoted by IETF. The main technical route is to let AS add business relationship information to the signature object and upload it publicly to the RPKI system. However, since the business relationship between ASs is confidential to a certain extent, this type of method may have privacy issues and deployment incentive issues.
[0004] Therefore, it is urgent to propose a routing leakage detection method that overcomes the above defects. Summary of the invention
[0005] To solve the above problems, the present invention provides a routing leakage detection method and device based on multi-party secure computing. Without exposing the business relationship between autonomous systems, multiple parties jointly verify whether there is a routing leakage in AS-PATH, thereby improving the identification accuracy of routing leakage.
[0006] In a first aspect, the present invention provides a route leakage detection method based on multi-party secure computing, which is applicable to each autonomous system, and the method comprises: extracting AS_PATH in each BGP route announcement in a cache area; wherein the cache area caches BGP route announcements from other autonomous systems within a period of time;
[0007] For each AS_PATH, if there is a risk of routing leakage in the AS_PATH, a routing leakage detection request for the AS_PATH is initiated to the central computing unit, so that multiple computing nodes in the central computing unit use the autonomous system business relationship secret shard storage library to perform multi-party secure computing on the legitimacy of the business relationship of the AS_PATH;
[0008] Determine whether there is a route leak in the AS_PATH according to the feedback result of the multi-party secure computation of the AS_PATH;
[0009] Wherein, the autonomous system business relationship secret shard storage repository includes an autonomous system business relationship secret shard storage sub-repository maintained by each computing node in the central computing unit;
[0010] The autonomous system business relationship secret slice storage sub-library maintained by each computing node includes: secret slices uploaded by each autonomous system to the computing node that record the business relationship between itself and other autonomous systems;
[0011] The secret slices that each autonomous system uploads to the computing node and records the business relationship between itself and other autonomous systems are obtained by encrypting the secret values related to the computing node using Shamir's secret sharing technology, with the encoded values of the business relationship between each autonomous system and other autonomous systems as secret values.
[0012] According to the routing leakage detection method based on multi-party secure computing provided by the present invention, the AS_PATH is a code composed of a group of autonomous system numbers, and the process of judging whether the AS_PATH has a routing leakage risk includes:
[0013] Generate an autonomous system triple set corresponding to the AS_PATH;
[0014] When the autonomous system triplet set includes an autonomous system triplet with a routing leakage risk, it is determined that the AS_PATH has a routing leakage risk;
[0015] Among them, if an autonomous system triplet is not included in the autonomous system triplet database, there is a risk of routing leakage;
[0016] The autonomous system triple database is a real-time updated database, which is initially composed of all autonomous system triplets covered by the local routing information base and the local forwarding information base.
[0017] According to the routing leakage detection method based on multi-party secure computing provided by the present invention, the routing leakage detection request of AS_PATH includes:
[0018] Autonomous system triples with routing leakage risks in the autonomous system triple set;
[0019] as well as
[0020] A list of computing node numbers corresponding to multiple computing nodes that perform multi-party secure computing on the legitimacy of the business relationship of the AS_PATH.
[0021] According to the routing leakage detection method based on multi-party secure computing provided by the present invention, after determining that there is no routing leakage in the AS_PATH, the method further includes:
[0022] Determine that there is no route leakage in the autonomous system triplet in the route leakage detection request of the AS_PATH, and update it to the autonomous system triplet database;
[0023] After determining that there is a route leak in the AS_PATH, the method further includes:
[0024] The BGP route announcement corresponding to the AS_PATH is discarded.
[0025] In a second aspect, the present invention provides a routing leakage detection method based on multi-party secure computing, which is applicable to a central computing unit, wherein the central computing unit includes multiple computing nodes, and the method includes:
[0026] Upon receiving a route leakage detection request from the AS_PATH, controlling multiple computing nodes to perform multi-party secure computing on the legitimacy of the business relationship of the AS_PATH using the autonomous system business relationship secret shard repository;
[0027] Feedback the result of the multi-party secure computation of the AS_PATH to the corresponding requesting party;
[0028] Wherein, the autonomous system business relationship secret shard storage repository includes an autonomous system business relationship secret shard storage sub-repository maintained by each computing node in the central computing unit;
[0029] The autonomous system business relationship secret slice storage sub-library maintained by each computing node includes: secret slices uploaded by each autonomous system to the computing node that record the business relationship between itself and other autonomous systems;
[0030] The secret slices that each autonomous system uploads to the computing node and records the business relationship between itself and other autonomous systems are obtained by encrypting the secret values related to the computing node using Shamir's secret sharing technology, with the encoded values of the business relationship between each autonomous system and other autonomous systems as secret values.
[0031] According to the routing leakage detection method based on multi-party secure computing provided by the present invention, the business relationship includes three types: C2P, P2P and P2C, and the corresponding coding values are 1, 0, and -1 respectively;
[0032] After computing node A receives the secret shard (ASα, ASβ, A, f(A)) uploaded by autonomous system α that records the business relationship between itself and autonomous system β, it also includes:
[0033] Obtain the secret slice (ASβ, ASα, A, G(A)) uploaded by autonomous system β and recording the business relationship between itself and autonomous system α, the secret slice (ASα, ASβ, B, f(B)) uploaded by computing node B and recording the business relationship between itself and autonomous system α, and the secret slice (ASβ, ASα, B, G(B)) uploaded by computing node B and recording the business relationship between itself and autonomous system α;
[0034] Solve f(A)+G(A) and f(B)+G(B) jointly to determine whether f(0)+G(0) is equal to 0;
[0035] If yes, determine that the secret segment (ASα, ASβ, A, f(A)) does not have mistransmission; if no, determine that at least one of the secret segments (ASα, ASβ, A, f(A)), (ASβ, ASα, A, G(A)), (ASα, ASβ, B, f(B)) and (ASβ, ASα, B, G(B)) has mistransmission, inform the autonomous system α to retransmit the secret segments (ASα, ASβ, A, f(A)) and (ASα, ASβ, B, f(B)), and inform the autonomous system β to retransmit the secret segments (ASβ, ASα, A, G(A)) and (ASβ, ASα, B, G(B));
[0036] Among them, computing node B is the adjacent node of computing node A, f(·) is the polynomial used by autonomous system α when encrypting the business relationship coding value between itself and autonomous system β using Shamir's secret sharing technology, and its constant term is the business relationship coding value between autonomous system α and autonomous system β; G(.) is the polynomial used by autonomous system β when encrypting the business relationship coding value between itself and autonomous system α using Shamir's secret sharing technology, and its constant term is the business relationship coding value between autonomous system β and autonomous system α.
[0037] According to the routing leakage detection method based on multi-party secure computing provided by the present invention, the controlling multiple computing nodes to perform multi-party secure computing on the business relationship legitimacy of the AS_PATH using the autonomous system business relationship secret shard repository includes:
[0038] Obtaining the autonomous system triplet and computing node number list carried in the request;
[0039] Each computing node in the computing node number list is controlled, and the business relationship secret shard storage repository of the autonomous system is used to perform a legitimacy calculation on the business relationship of each autonomous system triple.
[0040] According to the routing leakage detection method based on multi-party secure computing provided by the present invention, the process of controlling the computing node C in the computing node number list and using the autonomous system business relationship secret shard storage library to perform legitimacy calculation on the business relationship of the autonomous system triple (ASλ, ASμ, ASν) carried in the request includes:
[0041] Set the commercial relationship encoding value between (ASλ, ASμ) to a, and set the commercial relationship encoding value between (ASμ, ASν) to b;
[0042] Determine the expression of a-b+a*b-1 at the computing node C by using the business relationship secret shard between (ASλ, ASμ) and the business relationship secret shard between (ASμ, ASν) at the computing node C;
[0043] Obtaining the expression of a-b+a*b-1 at other computing nodes in the central computing unit except the computing node C;
[0044] Use Lagrange interpolation method to solve all expressions of a-b+a*b-1 to determine the value of a-b+a*b-1;
[0045] If a-b+a*b-1 is equal to 0, the business relationship of the autonomous system triple (ASλ, ASμ, ASν) is legal;
[0046] Otherwise, the business relationship of the autonomous system triple (ASλ, ASμ, ASν) is illegal.
[0047] According to the route leakage detection method based on multi-party secure computing provided by the present invention, the feedback of the result of the multi-party secure computing of AS_PATH to the corresponding requesting party includes:
[0048] Feedback to the corresponding requester the determination of whether there is a route leak in the AS_PATH for each computing node in the computing node number list;
[0049] If the calculation results of each computing node on the legality of the business relationships of all autonomous system triples are all legal, the computing node determines whether there is a route leak in the AS_PATH as if there is no route leak in the AS_PATH;
[0050] Otherwise, the computing node determines whether there is a route leak in the AS_PATH as if there is a route leak in the AS_PATH.
[0051] In a third aspect, the present invention provides a route leakage detection device based on multi-party secure computing, which is applicable to each autonomous system, and the device comprises: an extraction module, which is used to extract the AS_PATH in each BGP route announcement in the cache area; wherein the cache area caches the BGP route announcements from other autonomous systems within a period of time;
[0052] A route leakage detection request module is used to initiate a route leakage detection request of each AS_PATH to a central computing unit when there is a risk of route leakage in the AS_PATH, so that multiple computing nodes in the central computing unit use the autonomous system business relationship secret shard storage library to perform multi-party secure computing on the legitimacy of the business relationship of the AS_PATH;
[0053] A route leakage determination module, used to determine whether there is a route leakage in the AS_PATH according to the feedback result of the multi-party secure calculation of the AS_PATH;
[0054] Wherein, the autonomous system business relationship secret shard storage repository includes an autonomous system business relationship secret shard storage sub-repository maintained by each computing node in the central computing unit;
[0055] The autonomous system business relationship secret slice storage sub-library maintained by each computing node includes: secret slices uploaded by each autonomous system to the computing node that record the business relationship between itself and other autonomous systems;
[0056] The secret slices that each autonomous system uploads to the computing node and records the business relationship between itself and other autonomous systems are obtained by encrypting the secret values related to the computing node using Shamir's secret sharing technology, with the encoded values of the business relationship between each autonomous system and other autonomous systems as secret values.
[0057] In a fourth aspect, the present invention provides a routing leakage detection device based on multi-party secure computing, which is applicable to a central computing unit, wherein the central computing unit includes a plurality of computing nodes, and the device includes:
[0058] A route leakage detection execution module, configured to control a plurality of computing nodes to perform multi-party secure computing on the legitimacy of the business relationship of the AS_PATH by using the autonomous system business relationship secret shard storage repository when receiving a route leakage detection request from the AS_PATH;
[0059] A result feedback module, used for feeding back the result of the multi-party secure computation of the AS_PATH to the corresponding requesting party;
[0060] Wherein, the autonomous system business relationship secret shard storage repository includes an autonomous system business relationship secret shard storage sub-repository maintained by each computing node in the central computing unit;
[0061] The autonomous system business relationship secret slice storage sub-library maintained by each computing node includes: secret slices uploaded by each autonomous system to the computing node that record the business relationship between itself and other autonomous systems;
[0062] The secret slices that each autonomous system uploads to the computing node and records the business relationship between itself and other autonomous systems are obtained by encrypting the secret values related to the computing node using Shamir's secret sharing technology, with the encoded values of the business relationship between each autonomous system and other autonomous systems as secret values.
[0063] The present invention provides a route leakage detection method and device based on multi-party secure computing, comprising: an autonomous system extracts AS_PATH in each BGP route announcement in a cache area; wherein the cache area caches BGP route announcements from other autonomous systems within a period of time; then for each AS_PATH, when there is a route leakage risk in the AS_PATH, a route leakage detection request of the AS_PATH is initiated to a central computing unit; when the central computing unit receives the route leakage detection request of the AS_PATH, it controls multiple computing nodes to perform multi-party secure computing on the legitimacy of the business relationship of the AS_PATH by using the autonomous system business relationship secret shard storage library; then the result of the multi-party secure computing of the AS_PATH is fed back to the autonomous system; the autonomous system detects the legitimacy of the business relationship of the AS_PATH according to the multi-party secure computing result of the AS_PATH; and the autonomous system detects the legitimacy of the business relationship of the AS_PATH according to the multi-party secure computing result of the AS_PATH. The feedback result of the multi-party secure computation of the AS_PATH is used to determine whether the AS_PATH has route leakage; wherein the autonomous system business relationship secret shard storage library includes the autonomous system business relationship secret shard storage sub-library maintained by each computing node in the central computing unit; the autonomous system business relationship secret shard storage sub-library maintained by each computing node includes: the secret shards that each autonomous system uploads to the computing node to record the business relationship between itself and other autonomous systems; the secret shards that each autonomous system uploads to the computing node to record the business relationship between itself and other autonomous systems are obtained by using the Shamir secret sharing technology to encrypt the secret value related to the computing node with the encoding value of the business relationship between each autonomous system and other autonomous systems. Since the autonomous system business relationship involves privacy issues, the autonomous system is unwilling to disclose the business relationship. The autonomous system of the present invention uses the Shamir secret sharing technology to actively encrypt the business relationship and upload it to each computing node of the central computing unit, and based on the autonomous system business relationship secret shards, adopts the multi-party secure computation method to perform route leakage detection on the AS path, and improves the recognition accuracy of route leakage without exposing the business relationship between autonomous systems. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] 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.
[0065] Figure 1 This is one of the flow charts of the routing leakage detection method based on multi-party secure computing provided by the present invention;
[0066] Figure 2This is the second flow chart of the routing leakage detection method based on multi-party secure computing provided by the present invention;
[0067] Figure 3 It is a schematic diagram of secret fragment distribution of the Shamir secret sharing technology provided by the present invention;
[0068] Figure 4 It is a schematic diagram of the legal trend of the business relationship of the autonomous system triple provided by the present invention;
[0069] Figure 5 It is a schematic diagram of illegal trend of business relationship of autonomous system triple provided by the present invention;
[0070] Figure 6 It is the actual execution framework of the routing leakage detection method based on multi-party secure computing provided by the present invention;
[0071] Figure 7 It is one of the structural schematic diagrams of the routing leakage detection device based on multi-party secure computing provided by the present invention;
[0072] Figure 8 This is the second structural schematic diagram of the routing leakage detection device based on multi-party secure computing provided by the present invention;
[0073] Fig. 9 It is a structural schematic diagram of the electronic device provided by the present invention.
[0074] Reference numerals:
[0075] 910: processor; 920: communication interface; 930: memory; 940: communication bus. DETAILED DESCRIPTION
[0076] 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.
[0077] Combine the following Figure 1-Figure 9 The present invention describes a routing leakage detection method and device based on multi-party secure computing.
[0078] Route leakage refers to the propagation of route announcements beyond the expected scope. In simple terms, there may be some business relationships between autonomous systems: ①C2P (customer to provider), ②P2C (provider to customer), ③P2P (peer to peer). If the transmission of route announcements violates the routing policy, route leakage is likely to occur. The routing policy adopted by most networks is: (1) When an autonomous system receives a route announcement from an autonomous system with which it has a customer relationship, the autonomous system is allowed to send the route announcement to any autonomous system with which it has a relationship. (2) When an autonomous system receives a route announcement from an autonomous system with which it has a provider relationship, the autonomous system is only allowed to forward the route announcement to the autonomous system with which it has a customer relationship. (3) When an autonomous system receives a route announcement from an autonomous system with which it has a peer relationship, the autonomous system is only allowed to forward the route announcement to the autonomous system with which it has a customer relationship.
[0079] For example, suppose an AS_PATH includes: AS1→AS2→AS3, AS1 and AS2 are in a P2P relationship, and AS2 and AS3 are in a P2P relationship. AS2 receives a route announcement from AS1, which is a peer relationship with it, but forwards the route announcement to AS3, which is also a peer relationship with it. In this case, route leakage occurs, that is, AS2 passes the route announcement that should not be passed to AS3 to AS3. After AS3 receives the route announcement from AS2, it may choose the path of AS2 when it needs to send a data packet to AS1, that is, the data packet is forwarded to AS1 through AS2. Therefore, AS2 needs to process the traffic from AS3, but this part of the traffic does not actually need to be borne by AS2, so the network traffic of AS2 may be several times or dozens of times higher than that in normal operation. The bandwidth of AS2 itself may not be able to bear such a high traffic, so a large number of packets will be lost at AS2. Then a large number of packets originally sent to AS1 will be lost, and AS1 may still receive a small amount of traffic forwarded by AS2, but the rate of receiving packets is much lower than that in normal operation. At this point, AS3 is equivalent to a traffic black hole. If other ASs send data packets to AS3, the data packets sent are likely to be lost at AS2, so it is difficult for traffic to be transmitted in and then transmitted out. In summary, when a route leak occurs, the source AS of the BGP announcement, the AS that leaks the BGP announcement, and the AS that receives the leaked BGP announcement will all have serious consequences. If there is no timely prevention and detection of route leaks, it may cause large-scale network paralysis.
[0080] At present, routing leakage detection methods based on business relationship inference usually have detection accuracy problems, because the inference results of current business relationship inference algorithms are inaccurate, and in daily BGP announcements, there will be many AS adjacent pairs with unknown business relationships, so this type of method cannot make an accurate judgment on their legitimacy. Detection methods based on active upload of AS business relationships have privacy issues, because the business relationships between autonomous systems have a certain degree of confidentiality and privacy. Autonomous systems may be reluctant to disclose their business relationships with other adjacent ASs, so this method has deployment incentive issues. In the case of partial deployment, there will also be detection accuracy issues, that is, it is impossible to judge the legitimacy of adjacent pairs with unknown business relationships. In view of this, the present invention provides a routing leakage detection method based on multi-party secure computing, so as to achieve routing leakage detection while taking into account both the privacy of business relationship data and detection accuracy. Figure 1 A flowchart of a routing leak detection method based on multi-party secure computing is provided, which is applicable to each autonomous system, including:
[0081] S11, extracting the AS_PATH in each BGP route announcement in the cache area; wherein the cache area caches BGP route announcements from other autonomous systems within a period of time;
[0082] The essence of the inter-domain routing protocol is to publish routing announcements between autonomous systems, which tell other autonomous systems the IP prefix resources contained in their subnets and their own AS numbers. The BGP announcements received by the autonomous system include the ASs passed from the source autonomous system to itself and the IP prefix resources contained in each AS. Therefore, an AS_PATH can be extracted from a BGP announcement, and AS_PATH can be regarded as a code composed of a group of autonomous system numbers.
[0083] S12. For each AS_PATH, if there is a risk of routing leakage in the AS_PATH, a routing leakage detection request for the AS_PATH is initiated to the central computing unit, so that multiple computing nodes in the central computing unit use the autonomous system business relationship secret shard storage library to perform multi-party secure computing on the legitimacy of the business relationship of the AS_PATH;
[0084] S13. Determine whether there is a route leak in the AS_PATH according to the feedback result of the multi-party secure computation of the AS_PATH;
[0085] Wherein, the autonomous system business relationship secret shard storage repository includes an autonomous system business relationship secret shard storage sub-repository maintained by each computing node in the central computing unit;
[0086] The autonomous system business relationship secret slice storage sub-library maintained by each computing node includes: secret slices uploaded by each autonomous system to the computing node that record the business relationship between itself and other autonomous systems;
[0087] The secret slices that each autonomous system uploads to the computing node and records the business relationship between itself and other autonomous systems are obtained by encrypting the secret values related to the computing node using Shamir's secret sharing technology, with the encoded values of the business relationship between each autonomous system and other autonomous systems as secret values.
[0088] The present invention splits the business relationship between autonomous systems into multiple secret fragments through Shamir secret sharing technology and uploads them to each computing node of the central computing unit. The central computing unit constructs a computing scheme for judging whether the business relationship of the autonomous system triple is legal based on the secret fragments of the business relationship of the autonomous system. Without restoring the specific business relationship coding value, a multi-party secure computing method is used to complete the route leakage detection of the AS path in the BGP announcement, which takes into account the privacy of the business relationship data and the accuracy of the route leakage detection.
[0089] Specifically, the process of determining whether the AS_PATH in S12 has a routing leakage risk is as follows:
[0090] Generate an autonomous system triple set corresponding to the AS_PATH;
[0091] When the autonomous system triplet set includes an autonomous system triplet with a routing leakage risk, it is determined that the AS_PATH has a routing leakage risk;
[0092] Among them, if an autonomous system triplet is not included in the autonomous system triplet database, there is a risk of routing leakage;
[0093] The autonomous system triple database is a real-time updated database, which is initially composed of all autonomous system triplets covered by the local routing information base and the local forwarding information base.
[0094] The principle of AS-PATH route leakage detection is: if there is an AS triplet of route leakage in an AS-PATH, route leakage occurs in the AS-PATH, otherwise, route leakage does not occur. The AS in the network receives many BGP route announcements every second, and each BGP route announcement corresponds to an AS-PATH; it is inevitable that some AS-PATHs contain the same autonomous system triplet. If the time interval between two AS-PATHs is short and they both include a set of the same autonomous system triplet, then when performing route leakage detection on the AS-PATHs in the two BGP announcements, there is no need to repeatedly judge the legitimacy of the business relationship of the same autonomous system triplet; in addition, there are also some AS-PATHs in the routing information base and forwarding information base of the AS, and the autonomous system triplet contained in these AS-PATHs has been determined to be legal. If the AS-PATH in a BGP route announcement contains an autonomous system triplet that has been determined to be legal, then when performing route leakage detection on the AS-PATH, there is no need to judge the legitimacy of the business relationship of the autonomous system triplet that has been determined to be legal.
[0095] Therefore, the AS of the present invention sets a buffer for caching BGP route announcements from other autonomous systems within a period of time (for example, 1 minute). While executing S11, the initial autonomous system triple database is obtained according to the local routing information base and the local forwarding information base. Then, for each AS_PATH, it is determined whether there is an autonomous system triple that is not included in the autonomous system triple database. If not, it proves that its path is safe and there is no route leakage; if it exists, there may be a route leakage at the autonomous system triple that is not included in the autonomous system triple database, which has a hidden danger of route leakage. That is, for each AS_PATH, if there is a hidden danger of route leakage, then the central computing unit verifies whether there is a route leakage in the AS_PATH, if it exists, it is discarded; if it does not exist, the autonomous system triple that is not included in the autonomous system triple database is added to the autonomous system triple database to avoid subsequent repeated verification. By operating the BGP route announcements in the buffer one by one, the number of AS_PATHs that need to be verified by the central computing unit for route leakage can be reduced, making the efficiency of route leakage detection higher and helping to reduce overhead.
[0096] Furthermore, the AS_PATH route leakage detection request in S12 includes:
[0097] There are autonomous system triples with routing leakage risks in the autonomous system triple set; that is, autonomous system triples that are not included in the autonomous system triple database in the AS_PATH;
[0098] as well as
[0099] A list of computing node numbers corresponding to multiple computing nodes that perform multi-party secure computing on the legitimacy of the business relationship of the AS_PATH.
[0100] Because other autonomous system triplets in the AS_PATH have been verified to be legitimate, there is no need for detection, so only the autonomous system triplets with the risk of route leakage are detected, further reducing the overhead.
[0101] It can be understood that the above-mentioned route leakage detection method is equivalent to:
[0102] Extract the AS_PATH in each BGP route announcement in the cache area, and generate a set of autonomous system triples corresponding to each BGP route announcement;
[0103] Aggregate the autonomous system triplet sets corresponding to all BGP route announcements into a first set;
[0104] De-duplicate the first set;
[0105] The autonomous system triples included in the first set after deduplication and not included in the autonomous system triple database are classified into the second set;
[0106] Initiate a route leakage detection request for each autonomous system triple in the second set to the central computing unit, so that multiple computing nodes in the central computing unit use the autonomous system business relationship secret shard repository to perform multi-party secure computing on the legitimacy of the business relationship of each autonomous system triple;
[0107] According to the feedback result of the multi-party secure computation of each autonomous system triple in the second set, it is determined whether each BGP route announcement in the cache area has a route leak.
[0108] In a second aspect, the present invention provides a routing leakage detection method based on multi-party secure computing, which is applicable to a central computing unit, wherein the central computing unit includes multiple computing nodes, such as Figure 2 As shown, the method includes:
[0109] S21: upon receiving a route leakage detection request from the AS_PATH, controlling multiple computing nodes to perform multi-party secure computing on the legitimacy of the business relationship of the AS_PATH using the autonomous system business relationship secret shard repository;
[0110] Compute nodes are nodes used to store secret shards and perform multi-party secure computations.
[0111] S22: Feedback the result of the multi-party secure computation of the AS_PATH to the corresponding requesting party;
[0112] Wherein, the autonomous system business relationship secret shard storage repository includes an autonomous system business relationship secret shard storage sub-repository maintained by each computing node in the central computing unit;
[0113] The autonomous system business relationship secret slice storage sub-library maintained by each of the computing nodes includes: the secret slices that each autonomous system uploads to the computing node and records the business relationship between itself and other autonomous systems; the secret slices that each autonomous system uploads to the computing node and records the business relationship between itself and other autonomous systems are obtained by using the Shamir secret sharing technology to perform encryption processing related to the computing node on the secret value, which is the encoded value of the business relationship between each of the autonomous systems and other autonomous systems.
[0114] Here, the business relationships between autonomous systems are mainly divided into three types: ① C2P (customer to provider), ② P2C (provider to customer), and ③ P2P (peer to peer). Each business relationship is represented by a digital code, as shown in Table 1.
[0115] Table 1
[0116] Commercial Relations Digital Coding C2P 1 P2C -1 P2P 0
[0117] Figure 3 This is a schematic diagram of the secret fragment distribution of Shamir's secret sharing technology. Taking autonomous system α as an example, it explains the process of splitting the business relationship between autonomous systems into multiple secret fragments through Shamir's secret sharing technology and uploading them to each computing node of the central computing unit:
[0118] Autonomous system α uses the encoded value S of the business relationship between itself and autonomous system β as a secret value;
[0119] The autonomous system α constructs a polynomial:
[0120] f(x)=S+a1x+a2x 2 +…+a (t-1) x t-1 mod(P)
[0121] Where P is a public prime number, and S <P。
[0122] For each participant, i.e., the computing center in the present invention, a secret shard is generated: wherein the secret shard generated by the computing center numbered K (also referred to as computing center K) is (ASα, ASβ, K, f(K));
[0123] Each generated secret shard is uploaded to the corresponding computing node.
[0124] It can be seen that the N secret shards obtained after the secret value S is split are transmitted to N computing centers for management. A single computing center cannot recover the secret value S. Only t computing centers can work together to recover the secret value S. N is the total number of computing centers.
[0125] The present invention splits the business relationship between autonomous systems into multiple secret fragments through Shamir secret sharing technology and uploads them to each computing node of the central computing unit. The central computing unit constructs a computing scheme for judging whether the business relationship of the autonomous system triple is legal based on the secret fragments of the business relationship of the autonomous system. Without restoring the specific business relationship coding value, a multi-party secure computing method is used to complete the route leakage detection of the AS path in the BGP announcement, which takes into account the privacy of the business relationship data and the accuracy of the route leakage detection.
[0126] Specifically, when a computing node receives the business relationship secret fragment encrypted by the AS, in order to prevent the AS from uploading an erroneous business relationship, it is necessary to detect the business relationship data uploaded by the AS, and discard the part of the business relationship secret fragment when an erroneous transmission occurs, and inform the corresponding AS to retransmit the operation. For example, after computing node A receives the secret fragment (ASα, ASβ, A, f(A)) uploaded by autonomous system α that records the business relationship between itself and autonomous system β, it also includes:
[0127] Obtain the secret slice (ASβ, ASα, A, G(A)) uploaded by autonomous system β and recording the business relationship between itself and autonomous system α, the secret slice (ASα, ASβ, B, f(B)) uploaded by computing node B and recording the business relationship between itself and autonomous system α, and the secret slice (ASβ, ASα, A, G(B)) uploaded by computing node B and recording the business relationship between itself and autonomous system α;
[0128] Solve f(A)+G(A) and f(B)+G(B) jointly to determine whether f(0)+G(0) is equal to 0;
[0129] If so, determine that there is no mistransmission of the secret fragment (ASα, ASβ, A, f(A)); if not, determine that at least one of the secret fragments (ASα, ASβ, A, f(A)), (ASβ, ASα, A, G(A)), (ASα, ASβ, B, f(B)) and (ASβ, ASα, B, G(B)) is mistransmitted, inform the autonomous system α to retransmit the secret fragments (ASα, ASβ, A, f(A)) and (ASα, ASβ, B, f(B)), and inform the autonomous system β to retransmit the secret fragments (ASβ, ASα, A, G(A)) and (ASβ, ASα, B, G(B)).
[0130] Preferably, when at least one of the secret slices (ASα, ASβ, A, f(A)), (ASβ, ASα, A, G(A)), (ASα, ASβ, B, f(B)) and (ASβ, ASα, B, G(B)) is mistransmitted, computing node A, in conjunction with computing node B, screens secret slices from (ASα, ASβ, A, f(A)), (ASβ, ASα, A, G(A)), (ASα, ASβ, B, f(B)) and (ASβ, ASα, B, G(B)) that have not been verified to be free of mistransmission, and then informs the corresponding autonomous system to retransmit the screened secret slices.
[0131] Among them, computing node B is the adjacent node of computing node A, f(·) is the polynomial used by autonomous system α when encrypting the business relationship code value between itself and autonomous system β using Shamir secret sharing technology, and its constant term is the business relationship code value between autonomous system α and autonomous system β; G(·) is the polynomial used by autonomous system β when encrypting the business relationship code value between itself and autonomous system α using Shamir secret sharing technology, and its constant term is the business relationship code value between autonomous system β and autonomous system α. Specifically, for the routing leakage detection method based on multi-party secure computing in S21, the control of multiple computing nodes to use the autonomous system business relationship secret sharding repository to perform multi-party secure computing on the business relationship legitimacy of the AS_PATH includes:
[0132] Obtaining the autonomous system triplet and computing node number list carried in the request;
[0133] Each computing node in the computing node number list is controlled, and the business relationship secret shard storage repository of the autonomous system is used to perform a legitimacy calculation on the business relationship of each autonomous system triple.
[0134] Further, the routing leakage detection method based on multi-party secure computing controls the computing node C in the computing node number list, and uses the autonomous system business relationship secret shard repository to perform a legitimacy calculation on the business relationship of the autonomous system triple (ASλ, ASμ, ASν) carried in the request, including:
[0135] Set the commercial relationship encoding value between (ASλ, ASμ) to a, and set the commercial relationship encoding value between (ASμ, ASν) to b;
[0136] Determine the expression of a-b+a*b-1 at the computing node C by using the business relationship secret shard between (ASλ, ASμ) and the business relationship secret shard between (ASμ, ASν) at the computing node C;
[0137] Obtaining the expression of a-b+a*b-1 at other computing nodes in the central computing unit except the computing node C;
[0138] Use Lagrange interpolation method to solve all expressions of a-b+a*b-1 to determine the value of a-b+a*b-1;
[0139] If a-b+a*b-1 is equal to 0, the business relationship of the autonomous system triple (ASλ, ASμ, ASν) is legal;
[0140] Otherwise, the business relationship of the autonomous system triple (ASλ, ASμ, ASν) is illegal.
[0141] Here, the reference of the present invention can perform legitimacy calculation on the business relationship of the autonomous system triple (ASλ, ASμ, ASν) without restoring the specific secret values a and b, thereby ensuring the confidentiality of the business relationship.
[0142] The present invention uses a semi-formal method to represent the autonomous system triple: using an ascending line to represent C2P; using a horizontal line to represent P2P; and using a descending line to represent P2C. Figure 4 A schematic diagram of the legal trend of the autonomous system triplet business relationship corresponding to the current Internet default routing policy rules is provided; the numbers on the lines are the code values of the business relationship. Figure 5 A schematic diagram of illegal trends of autonomous system triplet business relationships corresponding to the current Internet default routing policy rules is provided, where the numbers on the lines are the code values of the business relationships.
[0143] The present invention constructs a Judge function to distinguish between the legal and illegal directions announced by BGP.
[0144]
[0145] in, is the encoding of the business relationship between the first and second autonomous systems in the autonomous system triple, The code for the business relationship between the second and third autonomous systems in the autonomous system triplet is used to verify the legitimacy of the business relationship of each autonomous system triplet.
[0146] Furthermore, the feedback of the result of the multi-party secure computation of the AS_PATH to the corresponding requesting party includes:
[0147] Feedback to the corresponding requester the determination of whether there is a route leak in the AS_PATH for each computing node in the computing node number list;
[0148] If the calculation results of each computing node on the legality of the business relationships of all autonomous system triples are all legal, the computing node determines whether there is a route leak in the AS_PATH as if there is no route leak in the AS_PATH;
[0149] Otherwise, the computing node determines whether there is a route leak in the AS_PATH as if there is a route leak in the AS_PATH.
[0150] That is, assuming that there are p computing nodes in the computing node number list, the central computing unit will return p determinations on whether there is a routing leak in the AS_PATH. Generally, these p determinations are consistent, but there may be calculation errors that cause these p determinations to be different.
[0151] If the feedback received by the corresponding autonomous system shows that the p identifications are consistent, it determines whether there is a route leak in the AS_PATH based on the identification; if the feedback received by the corresponding autonomous system shows that the p identifications are inconsistent, it determines whether there is a route leak in the AS_PATH based on its own considerations.
[0152] In addition, in reality, some autonomous system triplets are unwilling to upload their business relationships with other autonomous system triplets. Therefore, it may happen that some AS triplets in an AS path do not have corresponding secret fragments, and the computing unit in the central computing unit cannot identify the routing leakage of the AS path. In this case, the central computing unit feedbacks to the corresponding autonomous system that it cannot be determined, and the corresponding autonomous system determines it by itself.
[0153] Figure 6 This is a practical execution framework of a route leakage detection method based on multi-party secure computing; the framework includes 5 computing nodes. Through this framework, route leakage detection that takes into account both the privacy and accuracy of business relationship data is achieved.
[0154] In a third aspect, a route leakage detection device based on multi-party secure computing provided by the present invention is described. The route leakage detection device based on multi-party secure computing described below and the route leakage detection method based on multi-party secure computing described in the first aspect above can refer to each other. Figure 7 The schematic diagram of the structure of a routing leakage detection device based on multi-party secure computing is illustrated, which is applicable to each autonomous system. The device includes:
[0155] The extraction module 31 is used to extract the AS_PATH in each BGP route announcement in the cache area; wherein the cache area caches the BGP route announcements from other autonomous systems within a period of time;
[0156] A route leakage detection request module 32 is used for initiating a route leakage detection request of each AS_PATH to the central computing unit when there is a risk of route leakage in the AS_PATH, so that multiple computing nodes in the central computing unit use the autonomous system business relationship secret shard storage library to perform multi-party secure computing on the legitimacy of the business relationship of the AS_PATH;
[0157] A route leakage determination module 33, used to determine whether there is a route leakage in the AS_PATH according to the feedback result of the multi-party secure calculation of the AS_PATH;
[0158] Wherein, the autonomous system business relationship secret shard storage repository includes an autonomous system business relationship secret shard storage sub-repository maintained by each computing node in the central computing unit;
[0159] The autonomous system business relationship secret slice storage sub-library maintained by each computing node includes: secret slices uploaded by each autonomous system to the computing node that record the business relationship between itself and other autonomous systems;
[0160] The secret slices that each autonomous system uploads to the computing node and records the business relationship between itself and other autonomous systems are obtained by encrypting the secret values related to the computing node using Shamir's secret sharing technology, with the encoded values of the business relationship between each autonomous system and other autonomous systems as secret values.
[0161] The routing leakage detection device based on multi-party secure computing provided by the present invention splits the business relationship between autonomous systems into multiple secret fragments through Shamir secret sharing technology and uploads them to each computing node of the central computing unit. The central computing unit constructs a calculation scheme for judging whether the business relationship of the autonomous system triple is legal based on the secret fragments of the business relationship of the autonomous system. Without restoring the specific business relationship coding value, the routing leakage detection of the AS path in the BGP announcement is completed by multi-party secure computing, which takes into account the privacy of the business relationship data and the accuracy of routing leakage detection.
[0162] In a fourth aspect, a route leakage detection device based on multi-party secure computing provided by the present invention is described. The route leakage detection device based on multi-party secure computing described below and the route leakage detection method based on multi-party secure computing described in the second aspect above can refer to each other. Figure 8 The schematic diagram of the structure of a route leakage detection device based on multi-party secure computing is illustrated, a central computing unit, the central computing unit includes multiple computing nodes, and the device includes:
[0163] A route leakage detection execution module 41 is used to control multiple computing nodes to perform multi-party secure computing on the legitimacy of the business relationship of the AS_PATH by using the autonomous system business relationship secret shard storage repository when receiving the route leakage detection request of the AS_PATH;
[0164] A result feedback module 42, used to feed back the result of the multi-party secure computation of the AS_PATH to the corresponding requesting party;
[0165] Wherein, the autonomous system business relationship secret shard storage repository includes an autonomous system business relationship secret shard storage sub-repository maintained by each computing node in the central computing unit;
[0166] The autonomous system business relationship secret slice storage sub-library maintained by each computing node includes: secret slices uploaded by each autonomous system to the computing node that record the business relationship between itself and other autonomous systems;
[0167] The secret slices that each autonomous system uploads to the computing node and records the business relationship between itself and other autonomous systems are obtained by encrypting the secret values related to the computing node using Shamir's secret sharing technology, with the encoded values of the business relationship between each autonomous system and other autonomous systems as secret values.
[0168] The routing leakage detection device based on multi-party secure computing provided by the present invention splits the business relationship between autonomous systems into multiple secret fragments through Shamir secret sharing technology and uploads them to each computing node of the central computing unit. The central computing unit constructs a calculation scheme for judging whether the business relationship of the autonomous system triple is legal based on the secret fragments of the business relationship of the autonomous system. Without restoring the specific business relationship coding value, the routing leakage detection of the AS path in the BGP announcement is completed by multi-party secure computing, which takes into account the privacy of the business relationship data and the accuracy of routing leakage detection.
[0169] Fifthly, 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 (processor) 910, a communication interface (Communications Interface) 920, a memory (memory) 930 and a communication bus 940, wherein the processor 910, the communication interface 920, and the memory 930 communicate with each other through the communication bus 940. The processor 810 may call the logic instructions in the memory 830 to execute the routing leakage detection method based on multi-party secure computing as described in the first aspect or the routing leakage detection method based on multi-party secure computing as described in the second aspect.
[0170] 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 can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for 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 method described in 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, etc. Various media that can store program codes.
[0171] In a sixth aspect, the present invention also provides a computer program product, which includes a computer program, and the computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the routing leakage detection method based on multi-party secure computing as described in the first aspect or the routing leakage detection method based on multi-party secure computing as described in the second aspect.
[0172] In the seventh aspect, 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 perform the routing leakage detection method based on multi-party secure computing as described in the first aspect or the routing leakage detection method based on multi-party secure computing as described in the second aspect.
[0173] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed 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 scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0174] 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 methods described in each embodiment or some parts of the embodiments.
[0175] 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 routing leakage detection method based on multi-party secure computing, applicable to each autonomous system, characterized in that: The method comprises: Extracting the autonomous system path AS_PATH in each border gateway protocol BGP routing announcement in the cache area; wherein the cache area caches BGP routing announcements from other autonomous systems within a period of time, and the AS_PATH is a code composed of a group of autonomous system numbers; For each AS_PATH, if there is a risk of routing leakage in the AS_PATH, a routing leakage detection request for the AS_PATH is initiated to the central computing unit, so that multiple computing nodes in the central computing unit use the autonomous system business relationship secret shard storage library to perform multi-party secure computing on the legitimacy of the business relationship of the AS_PATH; Determine whether there is a route leak in the AS_PATH according to the feedback result of the multi-party secure computation of the AS_PATH; Wherein, the autonomous system business relationship secret shard storage repository includes an autonomous system business relationship secret shard storage sub-repository maintained by each computing node in the central computing unit; The autonomous system business relationship secret slice storage sub-library maintained by each computing node includes: secret slices uploaded by each autonomous system to the computing node that record the business relationship between itself and other autonomous systems; The secret slices that each autonomous system uploads to the computing node and records the business relationship between itself and other autonomous systems are obtained by encrypting the secret values related to the computing node using Shamir's secret sharing technology, with the encoded values of the business relationship between each autonomous system and other autonomous systems as secret values.
2. The routing leakage detection method based on multi-party secure computing according to claim 1 is characterized in that: The process of determining whether the AS_PATH has a routing leakage risk includes: Generate an autonomous system triple set corresponding to the AS_PATH; When the autonomous system triplet set includes an autonomous system triplet with a routing leakage risk, it is determined that the AS_PATH has a routing leakage risk; Among them, if an autonomous system triplet is not included in the autonomous system triplet database, there is a risk of routing leakage; The autonomous system triple database is a real-time updated database, which is initially composed of all autonomous system triplets covered by the local routing information base and the local forwarding information base.
3. The routing leakage detection method based on multi-party secure computing according to claim 2 is characterized in that: The AS_PATH route leak detection request includes: Autonomous system triples with routing leakage risks in the autonomous system triple set; as well as A list of computing node numbers corresponding to multiple computing nodes that perform multi-party secure computing on the legitimacy of the business relationship of the AS_PATH.
4. The method for detecting routing leakage based on multi-party secure computing according to claim 3 is characterized in that: After determining that there is no routing leakage in the AS_PATH, the method further includes: Determine that there is no route leakage in the autonomous system triplet in the route leakage detection request of the AS_PATH, and update it to the autonomous system triplet database; After determining that there is a route leak in the AS_PATH, the method further includes: The BGP route announcement corresponding to the AS_PATH is discarded.
5. A routing leakage detection method based on multi-party secure computing, applicable to a central computing unit, wherein the central computing unit includes multiple computing nodes, characterized in that: The method comprises: Upon receiving a route leak detection request for an autonomous system path AS_PATH, controlling multiple computing nodes to perform multi-party secure computing on the legitimacy of the business relationship of the AS_PATH using the autonomous system business relationship secret shard repository; Feedback the result of the multi-party secure computation of the AS_PATH to the corresponding requesting party; Wherein, the autonomous system business relationship secret shard storage repository includes an autonomous system business relationship secret shard storage sub-repository maintained by each computing node in the central computing unit; The autonomous system business relationship secret slice storage sub-library maintained by each computing node includes: secret slices uploaded by each autonomous system to the computing node that record the business relationship between itself and other autonomous systems; The secret slices that each autonomous system uploads to the computing node and records the business relationship between itself and other autonomous systems are obtained by encrypting the secret values related to the computing node using Shamir's secret sharing technology, with the encoded values of the business relationship between each autonomous system and other autonomous systems as secret values.
6. The method for detecting routing leakage based on multi-party secure computing according to claim 5, characterized in that: The commercial relationships include C2P, P2P and P2C, and the corresponding coding values are 1, 0, and -1 respectively; After computing node A receives the secret shard (ASα, ASβ, A, f(A)) uploaded by autonomous system α that records the business relationship between itself and autonomous system β, it also includes: Obtain the secret slice (ASβ, ASα, A, G(A)) uploaded by autonomous system β and recording the business relationship between itself and autonomous system α, the secret slice (ASα, ASβ, B, f(B)) uploaded by computing node B and recording the business relationship between itself and autonomous system α, and the secret slice (ASβ, ASα, B, G(B)) uploaded by computing node B and recording the business relationship between itself and autonomous system α; Solve f(A)+G(A) and f(B)+G(B) jointly to determine whether f(0)+G(0) is equal to 0; If yes, determine that the secret segment (ASα, ASβ, A, f(A)) does not have mistransmission; if no, determine that at least one of the secret segments (ASα, ASβ, A, f(A)), (ASβ, ASα, A, G(A)), (ASα, ASβ, B, f(B)) and (ASβ, ASα, B, G(B)) has mistransmission, inform the autonomous system α to retransmit the secret segments (ASα, ASβ, A, f(A)) and (ASα, ASβ, B, f(B)), and inform the autonomous system β to retransmit the secret segments (ASβ, ASα, A, G(A)) and (ASβ, ASα, B, G(B)); Among them, computing node B is the adjacent node of computing node A, f(·) is the polynomial used by autonomous system α when encrypting the business relationship coding value between itself and autonomous system β using Shamir's secret sharing technology, and its constant term is the business relationship coding value between autonomous system α and autonomous system β; G(·) is the polynomial used by autonomous system β when encrypting the business relationship coding value between itself and autonomous system α using Shamir's secret sharing technology, and its constant term is the business relationship coding value between autonomous system β and autonomous system α.
7. The method for detecting routing leakage based on multi-party secure computing according to claim 6, characterized in that: The controlling of the plurality of computing nodes to perform multi-party secure computing on the business relationship legitimacy of the AS_PATH using the autonomous system business relationship secret shard repository includes: Obtaining the autonomous system triplet and computing node number list carried in the request; Each computing node in the computing node number list is controlled, and the business relationship secret shard storage repository of the autonomous system is used to perform a legitimacy calculation on the business relationship of each autonomous system triple.
8. The method for detecting routing leakage based on multi-party secure computing according to claim 7, characterized in that: The process of controlling the computing node C in the computing node number list to perform a legitimacy calculation on the business relationship of the autonomous system triple (ASλ, ASμ, ASv) carried in the request using the autonomous system business relationship secret shard repository includes: Set the commercial relationship encoding value between (ASλ, ASμ) to a, and set the commercial relationship encoding value between (ASμ, ASν) to b; Determine the expression of a-b+a*b-1 at the computing node C by using the business relationship secret shard between (ASλ, ASμ) and the business relationship secret shard between (ASμ, ASν) at the computing node C; Obtaining the expression of a-b+a*b-1 at other computing nodes in the central computing unit except the computing node C; Use Lagrange interpolation method to solve all expressions of a-b+a*b-1 to determine the value of a-b+a*b-1; if a-b+a*b-1 is equal to 0, the business relationship of the autonomous system triple (ASλ, ASμ, ASν) is legal; Otherwise, the business relationship of the autonomous system triple (ASλ, ASμ, ASν) is illegal.
9. The method for detecting routing leakage based on multi-party secure computing according to claim 7 or 8, characterized in that: Feedback of the result of the multi-party secure computation of the AS_PATH to the corresponding requesting party includes: Feedback to the corresponding requester the determination of whether there is a route leak in the AS_PATH by each computing node in the computing node number list; If the calculation results of each computing node on the legality of the business relationships of all autonomous system triples are all legal, the computing node determines whether there is a route leak in the AS_PATH as if there is no route leak in the AS_PATH; Otherwise, the computing node determines whether there is a route leak in the AS_PATH as if there is a route leak in the AS_PATH.
10. A routing leakage detection device based on multi-party secure computing, applicable to each autonomous system, characterized in that: The device comprises: An extraction module is used to extract the autonomous system path AS_PATH in each border gateway protocol BGP routing announcement in the cache area; wherein the cache area caches BGP routing announcements from other autonomous systems within a period of time; A route leakage detection request module is used to initiate a route leakage detection request of each AS_PATH to a central computing unit when there is a risk of route leakage in the AS_PATH, so that multiple computing nodes in the central computing unit use the autonomous system business relationship secret shard storage library to perform multi-party secure computing on the legitimacy of the business relationship of the AS_PATH; A route leakage determination module, used to determine whether there is a route leakage in the AS_PATH according to the feedback result of the multi-party secure calculation of the AS_PATH; Wherein, the autonomous system business relationship secret shard storage repository includes an autonomous system business relationship secret shard storage sub-repository maintained by each computing node in the central computing unit; The autonomous system business relationship secret slice storage sub-library maintained by each computing node includes: secret slices uploaded by each autonomous system to the computing node that record the business relationship between itself and other autonomous systems; The secret slices that each autonomous system uploads to the computing node and records the business relationship between itself and other autonomous systems are obtained by encrypting the secret values related to the computing node using Shamir's secret sharing technology, with the encoded values of the business relationship between each autonomous system and other autonomous systems as secret values.
11. A routing leakage detection device based on multi-party secure computing, applicable to a central computing unit, wherein the central computing unit includes a plurality of computing nodes, characterized in that: The device comprises: A route leakage detection execution module, configured to control a plurality of computing nodes to perform multi-party secure computing on the legitimacy of the business relationship of the AS_PATH by using the autonomous system business relationship secret shard storage repository when receiving a route leakage detection request of the autonomous system path AS_PATH; A result feedback module, used for feeding back the result of the multi-party secure computation of the AS_PATH to the corresponding requesting party; Wherein, the autonomous system business relationship secret shard storage repository includes an autonomous system business relationship secret shard storage sub-repository maintained by each computing node in the central computing unit; The autonomous system business relationship secret slice storage sub-library maintained by each computing node includes: secret slices uploaded by each autonomous system to the computing node that record the business relationship between itself and other autonomous systems; The secret slices that each autonomous system uploads to the computing node and records the business relationship between itself and other autonomous systems are obtained by encrypting the secret values related to the computing node using Shamir's secret sharing technology, with the encoded values of the business relationship between each autonomous system and other autonomous systems as secret values.
