CN116112418A - Locating method, device, electronic equipment and storage medium for route leakage - Google Patents

Locating method, device, electronic equipment and storage medium for route leakage Download PDF

Info

Publication number
CN116112418A
CN116112418A CN202310079065.9A CN202310079065A CN116112418A CN 116112418 A CN116112418 A CN 116112418A CN 202310079065 A CN202310079065 A CN 202310079065A CN 116112418 A CN116112418 A CN 116112418A
Authority
CN
China
Prior art keywords
autonomous system
route
triplet
autonomous
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310079065.9A
Other languages
Chinese (zh)
Other versions
CN116112418B (en
Inventor
李江
曹家浩
孟子立
谢仁杰
徐明伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tsinghua University
Original Assignee
Tsinghua University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tsinghua University filed Critical Tsinghua University
Priority to CN202310079065.9A priority Critical patent/CN116112418B/en
Publication of CN116112418A publication Critical patent/CN116112418A/en
Application granted granted Critical
Publication of CN116112418B publication Critical patent/CN116112418B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/08Learning-based routing, e.g. using neural networks or artificial intelligence
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/021Ensuring consistency of routing table updates, e.g. by using epoch numbers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/14Routing performance; Theoretical aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/20Network architectures or network communication protocols for network security for managing network security; network security policies in general

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Computation (AREA)
  • Medical Informatics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请涉及路由异常定位技术领域,特别涉及一种路由泄露的定位方法、装置、电子设备及存储介质,其中,方法包括:获取边界网关协议的更新消息;提取更新消息中由自治系统编号组成的编码,根据编码生成自治系统三元组,并提取自治系统三元组对应的自治系统三元组特征;将自治系统三元组和对应的自治系统三元组特征输入训练完成的随机森林分类器,输出路由泄露的实际位置。由此,解决了相关技术中无法准确定位路由泄露位置,定位花费时间长等问题。

Figure 202310079065

This application relates to the technical field of route anomaly positioning, and in particular to a route leakage positioning method, device, electronic equipment, and storage medium, wherein the method includes: obtaining the update message of the Border Gateway Protocol; extracting the update message composed of the autonomous system number Encoding, generate autonomous system triplets according to the encoding, and extract autonomous system triplet features corresponding to autonomous system triplets; input autonomous system triplets and corresponding autonomous system triplet features into the trained random forest classifier , outputs the actual location of the route leak. As a result, the problems in the related art that the location of the route leakage cannot be accurately located, and the location takes a long time are solved.

Figure 202310079065

Description

路由泄露的定位方法、装置、电子设备及存储介质Locating method, device, electronic equipment and storage medium for route leakage

技术领域technical field

本申请涉及路由异常定位技术领域,特别涉及一种路由泄露的定位方法、装置、电子设备及存储介质。The present application relates to the technical field of routing anomaly positioning, and in particular to a routing leakage positioning method, device, electronic equipment, and storage medium.

背景技术Background technique

BGP(Border Gateway Protocol,边界网关协议)是目前唯一真正使用的域间路由协议,其将全世界的各种网络,即自治系统(AS,Autonomous System)连接起来。各自治系统通过交换BGP更新消息学习到各目的地网络的可达性。BGP更新消息中含有去往目的地网络的AS_PATH,收到更新消息的自治系统可以沿着该消息中的AS_PATH去往目的地网络。AS_PATH可以理解为由一组自治系统的ASN(Autonomous System Number,自治系统编号)组成的编码。如果自治系统没有遵守正确的路由策略进行路由宣告,而是将路由宣告给了错误的自治系统,路由泄露就有可能发生。路由泄露可能会导致流量被攻击者监听或丢弃,大规模的路由泄露往往会造成全球范围的长时间网络性能下降甚至大型网络应用的瘫痪。BGP (Border Gateway Protocol, Border Gateway Protocol) is currently the only real inter-domain routing protocol used, which connects various networks around the world, that is, autonomous systems (AS, Autonomous System). Each autonomous system learns the reachability of each destination network by exchanging BGP update messages. The BGP update message contains the AS_PATH to the destination network, and the autonomous system that receives the update message can go to the destination network along the AS_PATH in the message. AS_PATH can be understood as a code composed of ASN (Autonomous System Number, Autonomous System Number) of a group of autonomous systems. If the autonomous system does not follow the correct routing policy to advertise the route, but advertises the route to the wrong autonomous system, route leakage may occur. Route leaks may cause traffic to be monitored or discarded by attackers. Large-scale route leaks often cause long-term global network performance degradation and even paralysis of large-scale network applications.

互联网对于人类社会的重要性不言而喻。近些年国际互联网上发生了很多重大路由泄露事故,相应网络安全也成为重中之重。路由泄露的准确实时定位方法可以帮助网络管理员及时发现路由泄露位置,定位故障自治系统,生成相应的路由过滤器,最大化减少路由泄露事故带来的不良影响。The importance of the Internet to human society is self-evident. In recent years, there have been many major route leakage accidents on the Internet, and corresponding network security has become a top priority. The accurate real-time location method of route leakage can help network administrators find the location of route leakage in time, locate faulty autonomous systems, generate corresponding route filters, and minimize the adverse effects of route leakage accidents.

研究人员提出了基于自治系统商业关系的路由泄漏实时定位方法。这类方法检查AS_PATH上的自治系统商业关系是否违背了无谷原则,即提取AS_PATH中的自治系统三元组,逐个检查每个自治系统三元组是否违背了无谷原则。这类方法尽管设计了可以较准确地推断出一对自治系统之间商业关系的算法,但是其无法准确定位路由泄露。定位路由泄露需要同时获知两对自治系统之间商业关系,根据概率乘法原则,这种方法同时准确获知两对自治系统之间商业关系的准确率将大大下降。此外,这类方法无法定位发生在其预先不可见的自治系统边上的路由泄露。The researchers proposed a real-time location method for routing leaks based on autonomous system business relationships. This type of method checks whether the autonomous system business relationship on AS_PATH violates the no-valley principle, that is, extracts the autonomous system triples in AS_PATH, and checks whether each autonomous system triplet violates the no-valley principle one by one. Although such methods design algorithms that can more accurately infer the commercial relationship between a pair of autonomous systems, they cannot accurately locate route leaks. Locating route leaks needs to know the business relationship between two pairs of autonomous systems at the same time. According to the principle of probability multiplication, the accuracy of this method to accurately know the business relationship between two pairs of autonomous systems at the same time will be greatly reduced. Furthermore, such methods cannot locate route leaks that occur on the side of autonomous systems that they have not seen beforehand.

另一类方法是将机器学习直接应用于大量BGP更新报文的统计特征,以此来检测路由泄漏。这类方法虽然实现了准确的路由泄漏检测,但是它们无法定位路由泄漏的位置,即发生泄露的自治系统,接收泄露路由的自治系统和泄露路由来源自治系统构成的三元组。因此,BGP安全专家仍然需要花费很长时间来定位路由泄漏。此外,这类方法需要用很长的时间来定期收集和计算统计特征,这将导致较大的检测延迟。综上,目前已有工作难以同时实现准确和实时的路由泄露定位。Another method is to apply machine learning directly to the statistical characteristics of a large number of BGP update packets to detect route leaks. Although such methods have achieved accurate route leak detection, they cannot locate the location of the route leak, that is, the triplet composed of the leaked autonomous system, the receiving autonomous system of the leaked route, and the source autonomous system of the leaked route. Therefore, BGP security experts still need to spend a long time to locate route leaks. In addition, such methods take a long time to periodically collect and calculate statistical features, which will lead to large detection delays. To sum up, the existing work is difficult to achieve accurate and real-time routing leak location at the same time.

发明内容Contents of the invention

本申请提供一种路由泄露的定位方法、装置、电子设备及存储介质,以解决相关技术中无法准确定位路由泄露位置,定位花费时间长等问题。The present application provides a location method, device, electronic equipment, and storage medium for route leakage, so as to solve the problems in related technologies that the position of route leakage cannot be accurately located, and the location takes a long time.

本申请第一方面实施例提供一种路由泄露的定位方法,包括以下步骤:获取边界网关协议的更新消息;提取所述更新消息中由自治系统编号组成的编码,根据所述编码生成自治系统三元组,并提取所述自治系统三元组对应的自治系统三元组特征;将所述自治系统三元组和对应的自治系统三元组特征输入训练完成的随机森林分类器,输出路由泄露的实际位置。The embodiment of the first aspect of the present application provides a method for locating route leaks, including the following steps: obtaining an update message of the Border Gateway Protocol; extracting a code composed of an autonomous system number in the update message, and generating an autonomous system 3 according to the code tuple, and extract the autonomous system triplet feature corresponding to the autonomous system triplet; input the autonomous system triplet and the corresponding autonomous system triplet feature into the trained random forest classifier, and output route leakage actual location.

可选地,所述随机森林分类器的训练包括:获取路由泄露事件,其中,所述路由泄露事件包括发生路由泄露的自治系统三元组和未发生路由泄露的自治系统三元组;根据所述发生路由泄露的自治系统三元组、所述未发生路由泄露的自治系统三元组以及各自对应的自治系统三元组特征生成正负样本;利用所述正负样本对随机森林分类器进行训练,直到满足训练停止条件,得到训练完成的随机森林分类器。Optionally, the training of the random forest classifier includes: obtaining route leakage events, wherein the route leakage events include autonomous system triplets with route leakage and autonomous system triplets without route leakage; The autonomous system triplets with route leakage, the autonomous system triplets without route leakage, and their corresponding autonomous system triplet features generate positive and negative samples; use the positive and negative samples to perform random forest classifier Train until the training stop condition is satisfied, and the trained random forest classifier is obtained.

可选地,所述提取所述自治系统三元组对应的自治系统三元组特征,包括:以所述自治系统三元组为索引,查询预先建立的数据库,输出所述自治系统三元组特征。Optionally, the extracting the feature of the autonomous system triplet corresponding to the autonomous system triplet includes: using the autonomous system triplet as an index, querying a pre-established database, and outputting the autonomous system triplet feature.

可选地,所述数据库存储有间隔预设时长更新的自治系统特征,其中,通过第一路由数据源更新所述自治系统特征中的自治系统距离、自治系统度和自治系统类型,通过第二路由数据源和第三路由数据源更新所述自治系统特征中的自治系统地址空间,通过所述第一路由数据源和第四路由数据源更新所述自治系统特征中的自治系统地理位置。Optionally, the database stores autonomous system features that are updated at preset intervals, wherein the autonomous system distance, autonomous system degree, and autonomous system type in the autonomous system features are updated through the first routing data source, and are updated through the second routing data source. The routing data source and the third routing data source update the autonomous system address space in the autonomous system feature, and update the autonomous system geographic location in the autonomous system feature through the first routing data source and the fourth routing data source.

可选地,所述根据所述编码生成自治系统三元组,包括:识别所述编码中预设编码、重复编号和目标字段;丢弃或移除所述预设编码,删除所述重复编码,对所述目标字段中包含的自治系统编号对应的自治系统生成各自对应的自治系统三元组,其中,对于满足预设条件的预设编码,丢弃所述编码对应的自治系统三元组。Optionally, the generating the autonomous system triplet according to the code includes: identifying a preset code, a repeated number, and a target field in the code; discarding or removing the preset code, and deleting the repeated code, For the autonomous systems corresponding to the autonomous system numbers included in the target field, corresponding autonomous system triplets are generated, wherein, for preset codes that meet preset conditions, the autonomous system triplets corresponding to the codes are discarded.

可选地,在输出路由泄露的实际位置之后,还包括:生成路由泄露的报警信息,发送所述报警信息至预设终端。Optionally, after outputting the actual location of the leaked route, the method further includes: generating an alarm message of the leaked route, and sending the alarm message to a preset terminal.

本申请第二方面实施例提供一种路由泄露的定位装置,包括:获取模块,用于获取边界网关协议的更新消息;提取模块,用于提取所述更新消息中由自治系统编号组成的编码,根据所述编码生成自治系统三元组,并提取所述自治系统三元组对应的自治系统三元组特征;输出模块,用于将所述自治系统三元组和对应的自治系统三元组特征输入训练完成的随机森林分类器,输出路由泄露的实际位置。The embodiment of the second aspect of the present application provides a device for locating route leaks, including: an acquisition module, configured to acquire an update message of the Border Gateway Protocol; an extraction module, configured to extract a code composed of an autonomous system number in the update message, Generate an autonomous system triplet according to the encoding, and extract the autonomous system triplet feature corresponding to the autonomous system triplet; an output module, configured to combine the autonomous system triplet and the corresponding autonomous system triplet The feature input is the trained random forest classifier, and the actual location of the route leak is output.

可选地,所述输出模块进一步用于:获取路由泄露事件,其中,所述路由泄露事件包括发生路由泄露的自治系统三元组和未发生路由泄露的自治系统三元组;根据所述发生路由泄露的自治系统三元组、所述未发生路由泄露的自治系统三元组以及各自对应的自治系统三元组特征生成正负样本;利用所述正负样本对随机森林分类器进行训练,直到满足训练停止条件,得到训练完成的随机森林分类器。Optionally, the output module is further configured to: obtain a route leakage event, wherein the route leakage event includes an autonomous system triplet in which route leakage occurs and an autonomous system triplet in which route leakage does not occur; The autonomous system triplet of route leakage, the autonomous system triplet without route leakage, and the corresponding autonomous system triplet feature generate positive and negative samples; use the positive and negative samples to train the random forest classifier, Until the training stop condition is satisfied, the trained random forest classifier is obtained.

可选地,所述提取模块进一步用于:以所述自治系统三元组为索引,查询预先建立的数据库,输出所述自治系统三元组特征。Optionally, the extracting module is further configured to: use the autonomous system triplet as an index, query a pre-established database, and output the characteristics of the autonomous system triplet.

可选地,所述数据库存储有间隔预设时长更新的自治系统特征,其中,通过第一路由数据源更新所述自治系统特征中的自治系统距离、自治系统度和自治系统类型,通过第二路由数据源和第三路由数据源更新所述自治系统特征中的自治系统地址空间,通过所述第一路由数据源和第四路由数据源更新所述自治系统特征中的自治系统地理位置。Optionally, the database stores autonomous system features that are updated at preset intervals, wherein the autonomous system distance, autonomous system degree, and autonomous system type in the autonomous system features are updated through the first routing data source, and are updated through the second routing data source. The routing data source and the third routing data source update the autonomous system address space in the autonomous system feature, and update the autonomous system geographic location in the autonomous system feature through the first routing data source and the fourth routing data source.

可选地,所述提取模块进一步用于:识别所述编码中预设编码、重复编号和目标字段;丢弃或移除所述预设编码,删除所述重复编码,对所述目标字段中包含的自治系统编号对应的自治系统生成各自对应的自治系统三元组,其中,对于满足预设条件的预设编码,丢弃所述编码对应的自治系统三元组。Optionally, the extracting module is further used to: identify a preset code, a repeated number, and a target field in the code; discard or remove the preset code, delete the repeated code, and include in the target field The autonomous systems corresponding to the autonomous system numbers of the generated corresponding autonomous system triplets, wherein, for the preset codes that meet the preset conditions, the autonomous system triplets corresponding to the codes are discarded.

可选地,还包括:发送模块,用于在输出路由泄露的实际位置之后,生成路由泄露的报警信息,发送所述报警信息至预设终端。Optionally, it further includes: a sending module, configured to generate an alarm message of route leak after outputting the actual location of the route leak, and send the alarm message to a preset terminal.

本申请第三方面实施例提供一种电子设备,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述程序,以实现如上述实施例所述的路由泄露的定位方法。The embodiment of the third aspect of the present application provides an electronic device, including: a memory, a processor, and a computer program stored on the memory and operable on the processor, and the processor executes the program to realize The method for locating route leaks as described in the above-mentioned embodiments.

本申请第四方面实施例提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行,以用于实现如上述实施例所述的路由泄露的定位方法。The embodiment of the fourth aspect of the present application provides a computer-readable storage medium, on which a computer program is stored, and the program is executed by a processor, so as to implement the method for locating a route leak as described in the above-mentioned embodiment.

由此,本申请至少具有如下有益效果:Thus, the application at least has the following beneficial effects:

本申请实施例可以通过获得自治系统三元组特征以及训练随机森林分类器从BGP更新消息中的AS_PATH定位路由泄露;从单条BGP更新消息中提取AS_PATH,生成多个自治系统三元组,然后对逐个自治系统三元组判断其是否发生路由泄露;自治系统三元组特征能够准确区分路由泄露和正常路由;使用相对稳定,不需要频繁收集的自治系统三元组特征,节省定位时间,并基于轻量的随机森林分类器,能够实时地定位路由泄露位置。由此,解决了相关技术中无法准确定位路由泄露位置,定位花费时间长等技术问题。In the embodiment of the present application, AS_PATH location routing leakage in the BGP update message can be obtained by obtaining the characteristics of the autonomous system triplet and training a random forest classifier; extracting AS_PATH from a single BGP update message, generating multiple autonomous system triplets, and then Judge each autonomous system triplet whether there is a route leakage; the characteristics of the autonomous system triplet can accurately distinguish the route leakage from the normal route; use the relatively stable autonomous system triplet characteristics that do not need to be collected frequently, save the positioning time, and based on A lightweight random forest classifier that can locate routing leaks in real time. As a result, the technical problems in the related art that it is impossible to accurately locate the location of the route leakage, and the location takes a long time are solved.

本申请附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本申请的实践了解到。Additional aspects and advantages of the application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application.

附图说明Description of drawings

本申请上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present application will become apparent and easy to understand from the following description of the embodiments in conjunction with the accompanying drawings, wherein:

图1为根据本申请实施例提供的路由泄露的定位方法的流程图;FIG. 1 is a flow chart of a method for locating a route leak according to an embodiment of the present application;

图2为根据本申请实施例提供的路由泄露的定位方法的示意图;FIG. 2 is a schematic diagram of a routing leak location method provided according to an embodiment of the present application;

图3为根据本申请实施例提供的定位泄露的延迟累积分布的示意图;FIG. 3 is a schematic diagram of the cumulative distribution of delays in positioning leaks provided according to an embodiment of the present application;

图4为根据本申请实施例的路由泄露的定位装置的示意图;FIG. 4 is a schematic diagram of a device for locating route leaks according to an embodiment of the present application;

图5为根据本申请实施例提供的电子设备的结构示意图。Fig. 5 is a schematic structural diagram of an electronic device provided according to an embodiment of the present application.

具体实施方式Detailed ways

下面详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本申请,而不能理解为对本申请的限制。Embodiments of the present application are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary, and are intended to explain the present application, and should not be construed as limiting the present application.

下面参考附图描述本申请实施例的路由泄露的定位方法、装置、电子设备及存储介质。针对上述背景技术中提到的目前关于路由泄露的定位方法,无法准确定位路由泄露,需要很长时间来定期收集和计算统计特征的问题,本申请提供了一种路由泄露的定位方法,在该方法中,通过获得自治系统三元组特征以及训练随机森林分类器定位路由泄露,能够准确区分路由泄露和正常路由,使用相对稳定且不需要频繁收集的自治系统三元组特征。由此,解决了相关技术中无法准确定位路由泄露位置,定位花费时间长等问题。The method, device, electronic device, and storage medium for locating route leaks according to the embodiments of the present application are described below with reference to the accompanying drawings. Aiming at the problem that the current routing leakage location method mentioned in the above background technology cannot accurately locate the routing leakage, and it takes a long time to regularly collect and calculate statistical features, this application provides a routing leakage location method. In the method, by obtaining autonomous system triplet features and training a random forest classifier to locate route leaks, it is possible to accurately distinguish route leaks from normal routes, and use relatively stable autonomous system triplet features that do not require frequent collection. As a result, the problems in the related art that the location of the route leakage cannot be accurately located, and the location takes a long time are solved.

具体而言,图1为本申请实施例所提供的一种路由泄露的定位方法的流程示意图。Specifically, FIG. 1 is a schematic flowchart of a method for locating route leaks provided in an embodiment of the present application.

如图1所示,该路由泄露的定位方法包括以下步骤:As shown in Figure 1, the method for locating route leaks includes the following steps:

在步骤S101中,获取边界网关协议的更新消息。In step S101, an update message of the Border Gateway Protocol is obtained.

其中,边界网关协议(BGP,Border Gateway Protocol)是一种实现自治系统AS(Autonomous System)之间可达性信息交换的路径矢量路由协议,该协议主要通过更新消息传播路由信息。Among them, Border Gateway Protocol (BGP, Border Gateway Protocol) is a path vector routing protocol that realizes the exchange of reachability information between autonomous systems AS (Autonomous System), and the protocol mainly propagates routing information through update messages.

自治系统(AS,Autonomous System):互联网是一个由数十万个称为自治系统(AS)的小型网络组成的巨型网络。这些自治系统每一个本质上都是由单个组织运行的大型路由器池,自治系统是由单个组织管理的大型网络或网络组。自治系统可能有许多子网,但都共享相同的路由策略。每个自治系统都分配有自己的自治系统编号(ASN),以便轻松识别它们。Autonomous System (AS, Autonomous System): The Internet is a giant network consisting of hundreds of thousands of small networks called autonomous systems (AS). Each of these autonomous systems is essentially a large pool of routers run by a single organization, and an autonomous system is a large network or group of networks managed by a single organization. An autonomous system may have many subnets, but all share the same routing policy. Each autonomous system is assigned its own autonomous system number (ASN) so that they can be easily identified.

可以理解的是,本申请实施例可以从RIPE NCC和RouteView的路由收集器获取边界网关协议的更新信息,以用于后续进行定位路由泄露的位置。It can be understood that, in this embodiment of the present application, the update information of the Border Gateway Protocol can be obtained from the route collectors of RIPE NCC and RouteView, so as to locate the location of the route leakage subsequently.

其中,RIPE NCC为欧洲,中东及部分中亚的区域互联网注册商,为网络研究社区提供路由收集器及其收集的域间路由表和路由更新数据;RouteViews是俄勒冈大学高级网络技术中心成立的项目,为网络研究社区提供路由收集器及其收集的域间路由表和路由更新数据。Among them, RIPE NCC is a regional Internet registrar in Europe, the Middle East and some Central Asia, providing route collectors and inter-domain routing tables and routing update data collected for the network research community; RouteViews is a project established by the Advanced Network Technology Center of the University of Oregon , providing routing collectors and the interdomain routing tables and routing update data they collect to the network research community.

在步骤S102中,提取更新消息中由自治系统编号组成的编码,根据编码生成自治系统三元组,并提取自治系统三元组对应的自治系统三元组特征。In step S102, the code composed of the AS number in the update message is extracted, an AS triple is generated according to the code, and the AS triple feature corresponding to the AS triple is extracted.

可以理解的是,本申请实施例可以从边界网关协议中的更新信息中获得自治系统编号组成的编码(AS_PATH),根据编码生成自治系统三元组,并对自治系统三元组进行特征提取。It can be understood that in this embodiment of the present application, the code (AS_PATH) composed of the autonomous system number can be obtained from the update information in the border gateway protocol, the autonomous system triplet is generated according to the code, and the feature of the autonomous system triplet is extracted.

需要说明的是,BGP更新消息每经过一个自治系统,就会将其自治系统编号加入自已的AS_PATH中。AS_PATH中有可能出现用于路由聚合的AS_SET,该字段中包含多个自治系统编号。It should be noted that every time a BGP update message passes through an autonomous system, its autonomous system number will be added to its own AS_PATH. AS_SET used for route aggregation may appear in AS_PATH, and this field contains multiple autonomous system numbers.

在本申请实施例中,根据编码生成自治系统三元组,包括:识别编码中预设编码、重复编号和目标字段;丢弃或移除预设编码,删除重复编码,对目标字段中包含的自治系统编号对应的自治系统生成各自对应的自治系统三元组,其中,对于满足预设条件的预设编码,丢弃编码对应的自治系统三元组。In the embodiment of this application, the autonomous system triplet is generated according to the code, including: identifying the preset code, repeated number, and target field in the code; discarding or removing the preset code, deleting the repeated code, and correcting the autonomous The autonomous systems corresponding to the system numbers generate their corresponding autonomous system triplets, wherein, for the preset codes that meet the preset conditions, the autonomous system triplets corresponding to the codes are discarded.

其中,预设编码可以为异常编码或含有环的编码等;目标字段可以为23456;预设条件是指存在预设编码、重复编码和目标字段的编码。Among them, the preset code can be an abnormal code or a code containing a ring, etc.; the target field can be 23456; the preset condition refers to the existence of a preset code, a repeated code, and a code of the target field.

可以理解的是,本申请实施例可以对获取的AS_PATH进行预处理,过滤掉非法路径及异常自治系统编号,生成自治系统三元组,具体步骤如下:It can be understood that the embodiment of the present application can preprocess the acquired AS_PATH, filter out illegal paths and abnormal autonomous system numbers, and generate autonomous system triples. The specific steps are as follows:

1、丢弃含有环的AS_PATH。1. Discard AS_PATH containing rings.

2、处理路径填充,删除AS_PATH中的重复自治系统编号,只剩下重复自治系统编号中的一个。2. Process the path filling, delete the repeated autonomous system numbers in AS_PATH, and only one of the repeated autonomous system numbers remains.

3、处理AS_PATH中的AS_SET,对AS_SET中的自治系统生成各自对应的自治系统三元组。3. Process the AS_SET in the AS_PATH, and generate the corresponding autonomous system triples for the autonomous systems in the AS_SET.

4、移除AS_PATH中的保留自治系统编号。其中,对于特定的自治系统编号,比如23456等,丢弃含有该号码的自治系统三元组。4. Remove the reserved autonomous system number from AS_PATH. Wherein, for a specific AS number, such as 23456, etc., the AS triplet containing the number is discarded.

在本申请实施例中,提取自治系统三元组对应的自治系统三元组特征,包括:以自治系统三元组为索引,查询预先建立的数据库,输出自治系统三元组特征。In the embodiment of the present application, extracting the characteristics of the autonomous system triplet corresponding to the autonomous system triplet includes: using the autonomous system triplet as an index, querying a pre-established database, and outputting the characteristics of the autonomous system triplet.

其中,数据库用于存储自治系统三元组和自治系统三元组特征之间的关系。Wherein, the database is used to store the relationship between the autonomous system triplet and the characteristics of the autonomous system triplet.

可以理解的是,本申请实施例可以通过在数据库中查询自治系统三元组相应的自治系统三元组特征。It can be understood that, in the embodiment of the present application, the characteristics of the autonomous system triplet corresponding to the autonomous system triplet may be searched in the database.

需要说明的是,本申请需要从路由数据源周期性收集自治系统特征并存处于数据库中,路由数据源为:RIPE NCC,RouteViews,CAIDA和PeeringDB。It should be noted that this application needs to periodically collect autonomous system characteristics from routing data sources and store them in the database. The routing data sources are: RIPE NCC, RouteViews, CAIDA and PeeringDB.

其中,RIPE NCC和RouteViews在上述实施例中已经阐述,此处不再赘述。CAIDA为应用互联网数据分析中心,为网络研究社区提供互联网测量数据;PeeringDB为基于web的互联网连接信息数据库。Wherein, RIPE NCC and RouteViews have been described in the foregoing embodiments, and will not be repeated here. CAIDA is the Applied Internet Data Analysis Center, which provides Internet measurement data for the network research community; PeeringDB is a web-based Internet connection information database.

在本申请实施例中,数据库存储有间隔预设时长更新的自治系统特征,其中,通过第一路由数据源更新自治系统特征中的自治系统距离、自治系统度和自治系统类型,通过第二路由数据源和第三路由数据源更新自治系统特征中的自治系统地址空间,通过第一路由数据源和第四路由数据源更新自治系统特征中的自治系统地理位置。In the embodiment of the present application, the database stores the autonomous system features updated at preset intervals, wherein the autonomous system distance, autonomous system degree and autonomous system type in the autonomous system features are updated through the first routing data source, and the autonomous system characteristics are updated through the second routing data source. The data source and the third routing data source update the autonomous system address space in the autonomous system feature, and update the autonomous system geographic location in the autonomous system feature through the first routing data source and the fourth routing data source.

其中,预设间隔时长可以依据具体情况进行设定,对此不做限定。Wherein, the preset interval length can be set according to specific circumstances, and there is no limitation on this.

可以理解的是,本申请实施例可以从路由数据源周期性收集获得自治系统特征,存储于数据库中。It can be understood that, in this embodiment of the present application, the characteristics of the autonomous system may be periodically collected from the routing data source and stored in the database.

以第一路由数据源为CAIDA,第二路由数据源为RIPE NCC,第三路由数据源为RouteViews,第四路由数据源为PeeringDB为例,本申请实施例收集自治系统特征的具体步骤如下:Taking the first routing data source as CAIDA, the second routing data source as RIPE NCC, the third routing data source as RouteViews, and the fourth routing data source as PeeringDB as an example, the specific steps for collecting autonomous system characteristics in this embodiment of the application are as follows:

1、从路由数据源CAIDA获得自治系统距离,自治系统度,自治系统类型。其中自治系统距离指的是该自治系统到各层一自治系统的平均跳数;自治系统类型分为三类,即内容提供商,企业网络和访问及传输服务提供商。本方法用0表示内容提供商,用1表示企业网络和用2表示传输服务提供商。1. Obtain the autonomous system distance, autonomous system degree, and autonomous system type from the routing data source CAIDA. The autonomous system distance refers to the average number of hops from the autonomous system to each layer-autonomous system; the types of autonomous systems are divided into three categories, namely, content providers, enterprise networks, and access and transmission service providers. This method uses 0 for the content provider, 1 for the enterprise network and 2 for the transport service provider.

2、从路由数据源RIPE NCC和RouteViews获得自治系统地址空间。2. Obtain the autonomous system address space from the routing data source RIPE NCC and RouteViews.

3、从路由数据源CAIDA和PeeringDB获得自治系统地理位置。其中自治系统的地理位置指的是自治系统的所属国家和所属IXP。本方法用1-5分别表示<AS1,AS2,AS3>中3个自治系统的地理位置关系。AS1地理位置与AS2地理位置相同且二者与AS3地理位置不同,表示为1;AS1地理位置与AS3地理位置相同且二者与AS2地理位置不同,表示为2;AS2地理位置与AS3地理位置相同且二者与AS1地理位置不同,表示为3;AS1,AS2与AS3地理位置都不同表示为4;AS1,AS2与AS3地理位置都相同表示为5。3. Obtain the geographic location of the autonomous system from the routing data sources CAIDA and PeeringDB. The geographic location of the autonomous system refers to the country to which the autonomous system belongs and the IXP to which it belongs. In this method, 1-5 are used to represent the geographic location relationship of the three autonomous systems in <AS1, AS2, AS3> respectively. The geographical location of AS1 is the same as that of AS2 and different from that of AS3, denoted as 1; the geographical location of AS1 is the same as that of AS3 and different from that of AS2, denoted as 2; the geographical location of AS2 is the same as that of AS3 And the two are different from AS1 in geographical location, denoted as 3; AS1, AS2 and AS3 are all different in geographical location, denoted as 4; AS1, AS2 and AS3 are all in the same geographical location, denoted as 5.

4、将上述获得的自治系统特征存储在数据库中并周期性更新。4. Store the autonomous system characteristics obtained above in the database and update it periodically.

需要说明的是,IXP为互联网交换中心,是互联网的物理基础设施之一,可帮助自治系统高效交换互联网流量。It should be noted that IXP is an Internet exchange center, one of the physical infrastructures of the Internet, which can help autonomous systems exchange Internet traffic efficiently.

在步骤S103中,将自治系统三元组和对应的自治系统三元组特征输入训练完成的随机森林分类器,输出路由泄露的实际位置。In step S103, the autonomous system triplet and the corresponding autonomous system triplet features are input into the trained random forest classifier, and the actual location of the route leakage is output.

可以理解的是,本申请实施例可通过获得的自治系统三元组和对应的自治系统三元特征输入训练完成的随机森林分类器,定位路由泄露的实际位置。It can be understood that in this embodiment of the present application, the obtained autonomous system triplet and the corresponding autonomous system triplet feature can be input into the trained random forest classifier to locate the actual location of the route leakage.

需要说明的是,路由泄露指BGP更新消息传播违背了无谷原则就会产生路由泄露,即一个自治系统不能将来自自己的提供商或对等体的路由宣告给自己的另一个提供商或对等体。其中,无谷原则为BGP更新消息传播遵循的规则。自治系统在域间路由中是有分层高低位置之分的,一般来说,自治系统的提供商比其分层位置高,自治系统的对等体和其分层位置大体相当,自治系统的客户比其分层位置低。BGP更新消息传播所经过的自治系统所形成的路径不能形成山谷形状,即更新消息不能从高层自治系统传播到低层自治系统再传播到高层自治系统。具体来说,自治系统可以将来自自己客户的路由宣告给任何其他邻居,可以将来自自己对等体的路由宣告给任何客户邻居,可以将来自自己提供商的路由宣告给任何客户邻居。It should be noted that route leakage means that the propagation of BGP update messages violates the principle of no-valley, and route leakage occurs, that is, an autonomous system cannot announce the route from its own provider or peer to its own another provider or peer. Etc. Among them, the no-valley principle is a rule followed by BGP update message propagation. Autonomous systems have different hierarchical positions in inter-domain routing. Generally speaking, the provider of the autonomous system is higher than its hierarchical position, and the peer of the autonomous system is roughly equivalent to its hierarchical position. Clients are lower than their hierarchical position. The path formed by the autonomous systems through which BGP update messages propagate cannot form a valley shape, that is, update messages cannot be propagated from high-level autonomous systems to low-level autonomous systems and then to high-level autonomous systems. Specifically, an autonomous system can advertise routes from its own customers to any other neighbor, routes from its own peers to any customer neighbor, and routes from its own provider to any customer neighbor.

具体而言,将训练完成的随机森林分类器根据输入的自治系统三元组及对应的三元组特征定位路由泄露,例如定位到自治系统三元组<AS1,AS2,AS3>发生了路由泄露,那么泄露路由的自治系统为AS2,泄露路由接收者为AS1,AS2泄露的路由来自于AS3。Specifically, the trained random forest classifier locates route leaks according to the input autonomous system triplet and the corresponding triplet features, for example, locates a route leak in the autonomous system triplet <AS1, AS2, AS3> , then the AS of the leaked route is AS2, the recipient of the leaked route is AS1, and the route leaked by AS2 comes from AS3.

在本申请实施例中,随机森林分类器的训练包括:获取路由泄露事件,其中,路由泄露事件包括发生路由泄露的自治系统三元组和未发生路由泄露的自治系统三元组;根据发生路由泄露的自治系统三元组、未发生路由泄露的自治系统三元组以及各自对应的自治系统三元组特征生成正负样本;利用正负样本对随机森林分类器进行训练,直到满足训练停止条件,得到训练完成的随机森林分类器。In the embodiment of the present application, the training of the random forest classifier includes: obtaining route leakage events, wherein the route leakage events include autonomous system triplets with route leakage and autonomous system triplets without route leakage; The leaked autonomous system triplet, the autonomous system triplet without route leakage, and the corresponding autonomous system triplet features generate positive and negative samples; use the positive and negative samples to train the random forest classifier until the training stop condition is met , to get the trained random forest classifier.

可以理解的是,本申请实施例可以从路由泄露事件数据源收集路由泄漏事件,训练随机森林分类器,从而后续使用该随机森林分类器根据自治系统三元组特征定位路由泄露事件。It can be understood that, in this embodiment of the present application, route leakage events may be collected from a route leakage event data source, and a random forest classifier may be trained, so that the random forest classifier may be subsequently used to locate route leakage events according to autonomous system triplet characteristics.

可以理解的是,随机森林分类器的训练步骤具体包括:It can be understood that the training steps of the random forest classifier specifically include:

1、从路由泄露事件数据源BGPStream平台收集路由泄露事件,获取发生路由泄露的自治系统三元组和正常的自治系统三元组。1. Collect route leakage events from the BGStream platform, the data source of route leakage events, and obtain the triples of autonomous systems where route leaks occurred and the normal triples of autonomous systems.

2、使用获取到的发生路由泄露的自治系统三元组和正常的自治系统三元组以及它们对应的三元组特征作为正负样本,训练随机森林分类器。2. Use the acquired autonomous system triplets with route leakage, normal autonomous system triplets and their corresponding triplet features as positive and negative samples to train the random forest classifier.

其中,BGPStream为提供关于BGP中的劫持、泄漏和故障的告警平台。Among them, BGStream provides an alarm platform for hijacking, leakage and failure in BGP.

在本申请实施例中,在输出路由泄露的实际位置之后,还包括:生成路由泄露的报警信息,发送报警信息至预设终端。In the embodiment of the present application, after outputting the actual location of the route leak, it further includes: generating alarm information of the route leak, and sending the alarm information to the preset terminal.

其中,预设终端可以为显示器等,对此不做限定。Wherein, the preset terminal may be a monitor or the like, which is not limited.

可以理解的是,本申请实施例可以在输出路由泄露的实际位置后,对定位到的路由泄露生成相应的报警信息,并发送到预设终端(如显示屏),从而及时通知相应网络管理员,发现路由泄露的问题。It can be understood that the embodiment of the present application can generate corresponding alarm information for the located route leak after outputting the actual location of the route leak, and send it to a preset terminal (such as a display screen), so as to notify the corresponding network administrator in time , found the problem of route leakage.

下面将通过一个具体实施对路由泄露的定位方法进行阐述,如图2所示,包括以下步骤:The method for locating route leaks will be described below through a specific implementation, as shown in Figure 2, including the following steps:

步骤1、BGP更新消息预处理。从路由收集器获得BGP更新消息中的AS_PATH,并过滤掉非法路径及异常自治系统编号,生成自治系统三元组。Step 1, BGP update message preprocessing. Obtain the AS_PATH in the BGP update message from the routing collector, filter out illegal paths and abnormal autonomous system numbers, and generate autonomous system triples.

步骤2、自治系统三元组特征提取。从路由数据源周期性收集自治系统特征并存储在数据库中,根据自治系统三元组生成对应的自治系统三元组特征。Step 2, autonomous system triplet feature extraction. The autonomous system characteristics are periodically collected from the routing data source and stored in the database, and the corresponding autonomous system triplet characteristics are generated according to the autonomous system triplet.

步骤3、路由泄露定位。从路由泄露事件数据源收集路由泄露事件,训练随机森林分类器,之后使用该随机森林分类器根据自治系统三元组特征定位路由泄露并生成告警,Step 3, routing leak location. Collect route leakage events from the data source of route leakage events, train a random forest classifier, and then use the random forest classifier to locate route leaks and generate alarms according to the characteristics of autonomous system triples.

下面通过一个具体实施例来阐述路由泄露的定位方法,具体如下:The method for locating route leaks is described below through a specific embodiment, as follows:

1、BGP更新消息预处理。从路由收集器获得AS_PATH为[4637,4775,4766,174,3491,65000],过滤掉异常自治系统编号65000,生成自治系统三元组:<4637,4775,4766>,<4775,4766,174>和<4766,174,3491>。1. BGP update message preprocessing. Get the AS_PATH from the route collector as [4637, 4775, 4766, 174, 3491, 65000], filter out the abnormal autonomous system number 65000, and generate the autonomous system triplet: <4637, 4775, 4766>, <4775, 4766, 174 > and <4766, 174, 3491>.

2、自治系统三元组特征提取。从路由数据源周期性收集获得自治系统特征,根据自治系统三元组生成对应的三元组特征如表1。自治系统三元组特征内容分别为:<AS1距离,AS2距离,AS3距离>,<AS1地址空间,AS2地址空间,AS3地址空间>,<AS1度,AS2度,AS3度>,<AS1类型,AS2类型,AS3类型>,3个自治系统所属国家关系和3个自治系统所属IXP关系。2. Autonomous system triplet feature extraction. The characteristics of the autonomous system are periodically collected from the routing data source, and the corresponding triplet characteristics are generated according to the triplet of the autonomous system, as shown in Table 1. The characteristics of the autonomous system triplet are: <AS1 distance, AS2 distance, AS3 distance>, <AS1 address space, AS2 address space, AS3 address space>, <AS1 degree, AS2 degree, AS3 degree>, <AS1 type, AS2 type, AS3 type>, 3 autonomous systems belong to country relations and 3 autonomous systems belong to IXP relations.

表1Table 1

Figure BDA0004066930050000081
Figure BDA0004066930050000081

3、路由泄露定位。从路由泄露事件数据源BGPStream收集路由泄露事件的AS_PATH为:[53432,13994,7029,6461,37662,37204,5511,174,25818],其中37204是泄露自治系统,其将路由泄露给了自治系统37662。发生路由泄露的自治系统三元组<37662,37204,5511>作为训练用的正样本,以及正常自治系统三元组<53432,13994,7029>,<13994,7029,6461>,<7029,6461,37662>,<6461,37662,37204>,<37204,5511,174>和<5511,174,25818>作为训练用的负样本。同理,分别获得这些自治系统三元组对应的三元组特征。之后使用样本平衡后的正负样本及其对应的三元组特征训练随机森林分类器。训练好的随机森林分类器收到自治系统三元组<3320,9002,44628>,分类器根据该自治系统三元组对应的三元组特征检测出该三元组发生了路由泄露,并定位到9002为发生泄露的自治系统,其将来自自治系统44628的路由泄露给了自治系统3320,最后生成相应的告警并及时通知相关网络管理员。当实现环境为配备英特尔至强(R)Gold 6230RCPU@2.10GHz和128GB RAM的戴尔PowerEdge R740机架式服务器时,本申请实施例可以在平均7.86毫秒内定位路由泄露,如图3所示,定位路由泄露的准确率如表2所示,可以实现90%以上的路由泄露定位准确率。3. Routing leak location. The AS_PATH for collecting route leak events from the route leak event data source BGStream is: [53432, 13994, 7029, 6461, 37662, 37204, 5511, 174, 25818], where 37204 is the leaked autonomous system, which leaked the route to the autonomous system 37662. The autonomous system triplet <37662, 37204, 5511> with route leakage is used as a positive sample for training, and the normal autonomous system triplet <53432, 13994, 7029>, <13994, 7029, 6461>, <7029, 6461 , 37662>, <6461, 37662, 37204>, <37204, 5511, 174> and <5511, 174, 25818> as negative samples for training. Similarly, triplet features corresponding to these autonomous system triplets are respectively obtained. Then use the balanced positive and negative samples and their corresponding triplet features to train a random forest classifier. The trained random forest classifier receives the autonomous system triplet <3320, 9002, 44628>, and the classifier detects that the triplet has route leakage according to the triplet characteristics corresponding to the autonomous system triplet, and locates To 9002 is the leaked autonomous system, which leaks the route from the autonomous system 44628 to the autonomous system 3320, and finally generates a corresponding alarm and notifies the relevant network administrator in time. When the implementation environment is a Dell PowerEdge R740 rack server equipped with Intel Xeon (R) Gold 6230RCPU@2.10GHz and 128GB RAM, the embodiment of the present application can locate the routing leak within an average of 7.86 milliseconds, as shown in Figure 3. The accuracy of routing leaks is shown in Table 2, and more than 90% of routing leak location accuracy can be achieved.

表2Table 2

假阳率false positive rate 召回率recall rate 精确率Accuracy 准确率Accuracy F1值F1 value 本申请this application 0.110.11 0.920.92 0.900.90 0.910.91 0.910.91

根据本申请实施例提出的路由泄露的定位方法,通过获得自治系统三元组特征以及训练随机森林分类器从BGP更新消息中的AS_PATH定位路由泄露;从单条BGP更新消息中提取AS_PATH,生成多个自治系统三元组,然后对逐个自治系统三元组判断其是否发生路由泄露;自治系统三元组特征能够准确区分路由泄露和正常路由;使用相对稳定,不需要频繁收集的自治系统三元组特征,节省定位时间并基于轻量的随机森林分类器,能够实时地定位路由泄露位置。According to the location method of routing leakage proposed in the embodiment of the present application, by obtaining the autonomous system triplet feature and training the random forest classifier from the AS_PATH location routing leakage in the BGP update message; extracting AS_PATH from a single BGP update message to generate multiple Autonomous system triplets, and then judge whether there is a route leak for each autonomous system triplet; the characteristics of the autonomous system triplet can accurately distinguish route leaks from normal routes; use relatively stable autonomous system triplets that do not need to be collected frequently Features, save the location time and based on the lightweight random forest classifier, it can locate the route leakage location in real time.

其次参照附图描述根据本申请实施例提出的路由泄露的定位装置。Next, a device for locating route leaks proposed according to an embodiment of the present application will be described with reference to the accompanying drawings.

图4是本申请实施例的路由泄露的定位装置的方框示意图。Fig. 4 is a schematic block diagram of an apparatus for locating route leaks according to an embodiment of the present application.

如图4所示,该路由泄露的定位装置10包括:获取模块100、提取模块200和输出模块300。As shown in FIG. 4 , the device 10 for locating route leakage includes: an acquisition module 100 , an extraction module 200 and an output module 300 .

其中,获取模块100用于获取边界网关协议的更新消息;提取模块200用于提取更新消息中由自治系统编号组成的编码,根据编码生成自治系统三元组,并提取自治系统三元组对应的自治系统三元组特征;输出模块300用于将自治系统三元组和对应的自治系统三元组特征输入训练完成的随机森林分类器,输出路由泄露的实际位置。Among them, the acquisition module 100 is used to obtain the update message of the border gateway protocol; the extraction module 200 is used to extract the code composed of the autonomous system number in the update message, generate an autonomous system triple according to the code, and extract the corresponding Autonomous system triplet feature; the output module 300 is used to input the autonomous system triplet and the corresponding autonomous system triplet feature into the trained random forest classifier, and output the actual location of the route leakage.

在本申请实施例中,输出模块300进一步用于:获取路由泄露事件,其中,路由泄露事件包括发生路由泄露的自治系统三元组和未发生路由泄露的自治系统三元组;根据发生路由泄露的自治系统三元组、未发生路由泄露的自治系统三元组以及各自对应的自治系统三元组特征生成正负样本;利用正负样本对随机森林分类器进行训练,直到满足训练停止条件,得到训练完成的随机森林分类器。In the embodiment of the present application, the output module 300 is further used to: acquire route leakage events, wherein the route leakage events include autonomous system triplets in which route leakage occurs and autonomous system triplets in which route leakage does not occur; The autonomous system triplets, the autonomous system triplets without route leakage, and the corresponding autonomous system triplet features generate positive and negative samples; use the positive and negative samples to train the random forest classifier until the training stop condition is met, Get the trained random forest classifier.

在本申请实施例中,提取模块200进一步用于:以自治系统三元组为索引,查询预先建立的数据库,输出自治系统三元组特征。In the embodiment of the present application, the extraction module 200 is further configured to: use the autonomous system triplet as an index, query a pre-established database, and output the characteristics of the autonomous system triplet.

在本申请实施例中,数据库存储有间隔预设时长更新的自治系统特征,其中,通过第一路由数据源更新自治系统特征中的自治系统距离、自治系统度和自治系统类型,通过第二路由数据源和第三路由数据源更新自治系统特征中的自治系统地址空间,通过第一路由数据源和第四路由数据源更新自治系统特征中的自治系统地理位置。In the embodiment of the present application, the database stores the autonomous system features updated at preset intervals, wherein the autonomous system distance, autonomous system degree and autonomous system type in the autonomous system features are updated through the first routing data source, and the autonomous system characteristics are updated through the second routing data source. The data source and the third routing data source update the autonomous system address space in the autonomous system feature, and update the autonomous system geographic location in the autonomous system feature through the first routing data source and the fourth routing data source.

在本申请实施例中,提取模块200进一步用于:识别编码中预设编码、重复编号和目标字段;丢弃或移除预设编码,删除重复编码,对目标字段中包含的自治系统编号对应的自治系统生成各自对应的自治系统三元组,其中,对于满足预设条件的预设编码,丢弃编码对应的自治系统三元组。In the embodiment of the present application, the extraction module 200 is further used to: identify the preset code, the repeated number and the target field in the code; discard or remove the preset code, delete the repeated code, and the corresponding autonomous system number contained in the target field The autonomous systems generate respective autonomous system triplets, wherein, for preset codes that meet the preset conditions, the corresponding autonomous system triplets are discarded.

在本申请实施例中,本申请的装置10还包括:发送模块。In the embodiment of the present application, the device 10 of the present application further includes: a sending module.

其中,发送模块,用于在输出路由泄露的实际位置之后,生成路由泄露的报警信息,发送报警信息至预设终端。Wherein, the sending module is used to generate the alarm information of the route leakage after outputting the actual location of the route leakage, and send the alarm information to the preset terminal.

需要说明的是,前述对路由泄露的定位方法实施例的解释说明也适用于该实施例的路由泄露的定位装置,此处不再赘述。It should be noted that the foregoing explanations of the embodiment of the method for locating route leaks are also applicable to the device for locating route leaks in this embodiment, and will not be repeated here.

根据本申请实施例提出的路由泄露的定位装置,通过获得自治系统三元组特征以及训练随机森林分类器从BGP更新消息中的AS_PATH定位路由泄露;从单条BGP更新消息中提取AS_PATH,生成多个自治系统三元组,然后对逐个自治系统三元组判断其是否发生路由泄露;自治系统三元组特征能够准确区分路由泄露和正常路由;使用相对稳定,不需要频繁收集的自治系统三元组特征,节省定位时间并基于轻量的随机森林分类器,能够实时地定位路由泄露位置。According to the location device for routing leakage proposed in the embodiment of the present application, the AS_PATH location routing leakage from the AS_PATH in the BGP update message is obtained by obtaining the autonomous system triplet feature and training the random forest classifier; the AS_PATH is extracted from a single BGP update message to generate multiple Autonomous system triplets, and then judge whether there is a route leak for each autonomous system triplet; the characteristics of the autonomous system triplet can accurately distinguish route leaks from normal routes; use relatively stable autonomous system triplets that do not need to be collected frequently Features, save the location time and based on the lightweight random forest classifier, it can locate the route leakage location in real time.

图5为本申请实施例提供的电子设备的结构示意图。该电子设备可以包括:FIG. 5 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. This electronic equipment can include:

存储器501、处理器502及存储在存储器501上并可在处理器502上运行的计算机程序。A memory 501 , a processor 502 , and computer programs stored in the memory 501 and executable on the processor 502 .

处理器502执行程序时实现上述实施例中提供的路由泄露的定位方法。When the processor 502 executes the program, the method for locating route leaks provided in the foregoing embodiments is implemented.

进一步地,电子设备还包括:Further, the electronic equipment also includes:

通信接口503,用于存储器501和处理器502之间的通信。The communication interface 503 is used for communication between the memory 501 and the processor 502 .

存储器501,用于存放可在处理器502上运行的计算机程序。The memory 501 is used to store computer programs that can run on the processor 502 .

存储器501可能包含高速RAM(Random Access Memory,随机存取存储器)存储器,也可能还包括非易失性存储器,例如至少一个磁盘存储器。The memory 501 may include a high-speed RAM (Random Access Memory, random access memory) memory, and may also include a non-volatile memory, such as at least one disk memory.

如果存储器501、处理器502和通信接口503独立实现,则通信接口503、存储器501和处理器502可以通过总线相互连接并完成相互间的通信。总线可以是ISA(IndustryStandard Architecture,工业标准体系结构)总线、PCI(Peripheral Component,外部设备互连)总线或EISA(Extended Industry Standard Architecture,扩展工业标准体系结构)总线等。总线可以分为地址总线、数据总线、控制总线等。为便于表示,图5中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。If the memory 501, the processor 502, and the communication interface 503 are implemented independently, the communication interface 503, the memory 501, and the processor 502 may be connected to each other through a bus to complete mutual communication. The bus can be an ISA (Industry Standard Architecture, industry standard architecture) bus, a PCI (Peripheral Component, external device interconnection) bus or an EISA (Extended Industry Standard Architecture, extended industry standard architecture) bus, etc. The bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only one thick line is used in FIG. 5 , but it does not mean that there is only one bus or one type of bus.

可选的,在具体实现上,如果存储器501、处理器502及通信接口503,集成在一块芯片上实现,则存储器501、处理器502及通信接口503可以通过内部接口完成相互间的通信。Optionally, in specific implementation, if the memory 501, processor 502, and communication interface 503 are integrated on one chip, then the memory 501, processor 502, and communication interface 503 can communicate with each other through the internal interface.

处理器502可能是一个CPU(Central Processing Unit,中央处理器),或者是ASIC(Application Specific Integrated Circuit,特定集成电路),或者是被配置成实施本申请实施例的一个或多个集成电路。The processor 502 may be a CPU (Central Processing Unit, central processing unit), or an ASIC (Application Specific Integrated Circuit, specific integrated circuit), or one or more integrated circuits configured to implement the embodiments of the present application.

本申请实施例还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如上的路由泄露的定位方法。The embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the above method for locating route leaks is implemented.

在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不是必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或N个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, descriptions referring to the terms "one embodiment", "some embodiments", "example", "specific examples", or "some examples" mean that specific features described in connection with the embodiment or example , structure, material or characteristic is included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms are not necessarily directed to the same embodiment or example. Moreover, the described specific features, structures, materials or characteristics may be combined in any one or N embodiments or examples in an appropriate manner. In addition, those skilled in the art can combine and combine different embodiments or examples and features of different embodiments or examples described in this specification without conflicting with each other.

此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“N个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms "first" and "second" are used for descriptive purposes only, and cannot be interpreted as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include at least one of these features. In the description of the present application, "N" means at least two, such as two, three, etc., unless otherwise specifically defined.

流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更N个用于实现定制逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing a custom logical function or step of a process , and the scope of preferred embodiments of the present application includes additional implementations in which functions may be performed out of the order shown or discussed, including in substantially simultaneous fashion or in reverse order depending on the functions involved, which shall It should be understood by those skilled in the art to which the embodiments of the present application belong.

应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,N个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。如,如果用硬件来实现和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列,现场可编程门阵列等。It should be understood that each part of the present application may be realized by hardware, software, firmware or a combination thereof. In the above embodiments, the N steps or methods may be implemented by software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware as in another embodiment, it can be implemented by any one or a combination of the following techniques known in the art: a discrete Logic circuits, ASICs with suitable combinational logic gates, programmable gate arrays, field programmable gate arrays, etc.

本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。Those of ordinary skill in the art can understand that all or part of the steps carried by the methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. During execution, one or a combination of the steps of the method embodiments is included.

尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limitations on the present application, and those skilled in the art can make the above-mentioned The embodiments are subject to changes, modifications, substitutions and variations.

Claims (14)

1.一种路由泄露的定位方法,其特征在于,包括以下步骤:1. A location method for route leakage, characterized in that, comprising the following steps: 获取边界网关协议的更新消息;Obtain the update message of the Border Gateway Protocol; 提取所述更新消息中由自治系统编号组成的编码,根据所述编码生成自治系统三元组,并提取所述自治系统三元组对应的自治系统三元组特征;extracting the code formed by the autonomous system number in the update message, generating an autonomous system triplet according to the code, and extracting an autonomous system triplet feature corresponding to the autonomous system triplet; 将所述自治系统三元组和对应的自治系统三元组特征输入训练完成的随机森林分类器,输出路由泄露的实际位置。Input the autonomous system triplet and the corresponding autonomous system triplet feature into the trained random forest classifier, and output the actual location of the route leakage. 2.根据权利要求1所述的方法,其特征在于,所述随机森林分类器的训练包括:2. method according to claim 1, is characterized in that, the training of described random forest classifier comprises: 获取路由泄露事件,其中,所述路由泄露事件包括发生路由泄露的自治系统三元组和未发生路由泄露的自治系统三元组;Obtaining a route leaking event, wherein the route leaking event includes an autonomous system triplet in which route leaking occurs and an autonomous system triplet in which route leaking does not occur; 根据所述发生路由泄露的自治系统三元组、所述未发生路由泄露的自治系统三元组以及各自对应的自治系统三元组特征生成正负样本;Generating positive and negative samples according to the autonomous system triplets in which route leakage occurs, the autonomous system triplets in which route leakage does not occur, and the characteristics of their corresponding autonomous system triplets; 利用所述正负样本对随机森林分类器进行训练,直到满足训练停止条件,得到训练完成的随机森林分类器。The random forest classifier is trained by using the positive and negative samples until the training stop condition is met, and the trained random forest classifier is obtained. 3.根据权利要求1所述的方法,其特征在于,所述提取所述自治系统三元组对应的自治系统三元组特征,包括:3. The method according to claim 1, wherein the extracting the autonomous system triplet feature corresponding to the autonomous system triplet comprises: 以所述自治系统三元组为索引,查询预先建立的数据库,输出所述自治系统三元组特征。Using the autonomous system triplet as an index, query a pre-established database, and output the characteristics of the autonomous system triplet. 4.根据权利要求3所述的方法,其特征在于,所述数据库存储有间隔预设时长更新的自治系统特征,其中,通过第一路由数据源更新所述自治系统特征中的自治系统距离、自治系统度和自治系统类型,通过第二路由数据源和第三路由数据源更新所述自治系统特征中的自治系统地址空间,通过所述第一路由数据源和第四路由数据源更新所述自治系统特征中的自治系统地理位置。4. The method according to claim 3, wherein the database stores autonomous system features updated at preset intervals, wherein the autonomous system distance in the autonomous system features is updated through the first routing data source, Autonomous system degree and autonomous system type, updating the autonomous system address space in the autonomous system feature through the second routing data source and the third routing data source, updating the The autonomous system geographic location in the autonomous system characteristic. 5.根据权利要求1所述的方法,其特征在于,所述根据所述编码生成自治系统三元组,包括:5. The method according to claim 1, wherein said generating autonomous system triples according to said coding comprises: 识别所述编码中预设编码、重复编号和目标字段;Identify preset codes, repeat numbers and target fields in said code; 丢弃或移除所述预设编码,删除所述重复编码,对所述目标字段中包含的自治系统编号对应的自治系统生成各自对应的自治系统三元组,其中,对于满足预设条件的预设编码,丢弃所述编码对应的自治系统三元组。Discarding or removing the preset code, deleting the repeated code, and generating respective autonomous system triplets for the autonomous systems corresponding to the autonomous system numbers contained in the target field, wherein, for the preset Set a code, and discard the autonomous system triplet corresponding to the code. 6.根据权利要求1-5任意一项所述的方法,其特征在于,在输出路由泄露的实际位置之后,还包括:6. The method according to any one of claims 1-5, characterized in that, after outputting the actual location of route leakage, further comprising: 生成路由泄露的报警信息,发送所述报警信息至预设终端。Generate alarm information about route leakage, and send the alarm information to a preset terminal. 7.一种路由泄露的定位装置,其特征在于,包括:7. A location device for routing leaks, comprising: 获取模块,用于获取边界网关协议的更新消息;An acquisition module, configured to acquire an update message of the Border Gateway Protocol; 提取模块,用于提取所述更新消息中由自治系统编号组成的编码,根据所述编码生成自治系统三元组,并提取所述自治系统三元组对应的自治系统三元组特征;An extracting module, configured to extract a code composed of an autonomous system number in the update message, generate an autonomous system triple according to the code, and extract an autonomous system triple feature corresponding to the autonomous system triple; 输出模块,用于将所述自治系统三元组和对应的自治系统三元组特征输入训练完成的随机森林分类器,输出路由泄露的实际位置。An output module, configured to input the autonomous system triplet and the corresponding autonomous system triplet features into the trained random forest classifier, and output the actual location of the route leakage. 8.根据权利要求7所述的装置,其特征在于,所述输出模块进一步用于:8. The device according to claim 7, wherein the output module is further used for: 获取路由泄露事件,其中,所述路由泄露事件包括发生路由泄露的自治系统三元组和未发生路由泄露的自治系统三元组;Obtaining a route leaking event, wherein the route leaking event includes an autonomous system triplet in which route leaking occurs and an autonomous system triplet in which route leaking does not occur; 根据所述发生路由泄露的自治系统三元组、所述未发生路由泄露的自治系统三元组以及各自对应的自治系统三元组特征生成正负样本;Generating positive and negative samples according to the autonomous system triplets in which route leakage occurs, the autonomous system triplets in which route leakage does not occur, and the characteristics of their corresponding autonomous system triplets; 利用所述正负样本对随机森林分类器进行训练,直到满足训练停止条件,得到训练完成的随机森林分类器。The random forest classifier is trained by using the positive and negative samples until the training stop condition is met, and the trained random forest classifier is obtained. 9.根据权利要求7所述的装置,其特征在于,所述提取模块进一步用于:9. The device according to claim 7, wherein the extraction module is further used for: 以所述自治系统三元组为索引,查询预先建立的数据库,输出所述自治系统三元组特征。Using the autonomous system triplet as an index, query a pre-established database, and output the characteristics of the autonomous system triplet. 10.根据权利要求9所述的装置,其特征在于,所述数据库存储有间隔预设时长更新的自治系统特征,其中,通过第一路由数据源更新所述自治系统特征中的自治系统距离、自治系统度和自治系统类型,通过第二路由数据源和第三路由数据源更新所述自治系统特征中的自治系统地址空间,通过所述第一路由数据源和第四路由数据源更新所述自治系统特征中的自治系统地理位置。10. The device according to claim 9, wherein the database stores autonomous system features updated at preset intervals, wherein the autonomous system distance in the autonomous system features is updated through the first routing data source, Autonomous system degree and autonomous system type, updating the autonomous system address space in the autonomous system feature through the second routing data source and the third routing data source, updating the The autonomous system geographic location in the autonomous system characteristic. 11.根据权利要求7所述的装置,其特征在于,所述提取模块进一步用于:11. The device according to claim 7, wherein the extraction module is further used for: 识别所述编码中预设编码、重复编号和目标字段;Identify preset codes, repeat numbers and target fields in said code; 丢弃或移除所述预设编码,删除所述重复编码,对所述目标字段中包含的自治系统编号对应的自治系统生成各自对应的自治系统三元组,其中,对于满足预设条件的预设编码,丢弃所述编码对应的自治系统三元组。Discarding or removing the preset code, deleting the repeated code, and generating respective autonomous system triplets for the autonomous systems corresponding to the autonomous system numbers contained in the target field, wherein, for the preset Set a code, and discard the autonomous system triplet corresponding to the code. 12.根据权利要求7-11任意一项所述的装置,其特征在于,还包括:12. The device according to any one of claims 7-11, further comprising: 发送模块,用于在输出路由泄露的实际位置之后,生成路由泄露的报警信息,发送所述报警信息至预设终端。The sending module is configured to generate the alarm information of the route leak after outputting the actual location of the route leak, and send the alarm information to the preset terminal. 13.一种电子设备,其特征在于,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述程序,以实现如权利要求1-6任一项所述的路由泄露的定位方法。13. An electronic device, characterized in that it comprises: a memory, a processor, and a computer program stored on the memory and operable on the processor, and the processor executes the program to realize the The method for locating route leaks described in any one of requirements 1-6. 14.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行,以用于实现如权利要求1-6任一项所述的路由泄露的定位方法。14. A computer-readable storage medium, on which a computer program is stored, wherein the program is executed by a processor to implement the method for locating route leaks according to any one of claims 1-6.
CN202310079065.9A 2023-01-17 2023-01-17 Positioning method and device for route leakage, electronic equipment and storage medium Active CN116112418B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310079065.9A CN116112418B (en) 2023-01-17 2023-01-17 Positioning method and device for route leakage, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310079065.9A CN116112418B (en) 2023-01-17 2023-01-17 Positioning method and device for route leakage, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN116112418A true CN116112418A (en) 2023-05-12
CN116112418B CN116112418B (en) 2025-10-17

Family

ID=86265089

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310079065.9A Active CN116112418B (en) 2023-01-17 2023-01-17 Positioning method and device for route leakage, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116112418B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116436844A (en) * 2023-06-13 2023-07-14 苏州浪潮智能科技有限公司 Positioning method and device, storage medium and electronic equipment for route oscillation
CN116800503A (en) * 2023-06-28 2023-09-22 清华大学 A route leakage detection method and device based on multi-party security calculation
CN120301815A (en) * 2025-06-12 2025-07-11 北京中关村实验室 Routing leak detection method, device, equipment, medium and program
CN121644448A (en) * 2026-02-05 2026-03-10 中国信息通信研究院 A method, device, and medium for detecting route leakage in BGP routing.

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110971522A (en) * 2018-09-30 2020-04-07 华为技术有限公司 Method, equipment and system for determining route leakage
US20200314129A1 (en) * 2019-03-29 2020-10-01 Saudi Arabian Oil Company Network route leakage detection
CN113395208A (en) * 2021-06-21 2021-09-14 哈尔滨工业大学 BGP route leakage detection method and system based on block chain
US11552876B1 (en) * 2020-11-10 2023-01-10 Amazon Technologies, Inc. Real-time identification of network prefix outage

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110971522A (en) * 2018-09-30 2020-04-07 华为技术有限公司 Method, equipment and system for determining route leakage
US20200314129A1 (en) * 2019-03-29 2020-10-01 Saudi Arabian Oil Company Network route leakage detection
US11552876B1 (en) * 2020-11-10 2023-01-10 Amazon Technologies, Inc. Real-time identification of network prefix outage
CN113395208A (en) * 2021-06-21 2021-09-14 哈尔滨工业大学 BGP route leakage detection method and system based on block chain

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ODNAN REF SANCHEZ: "Comparing Machine Learning Algorithms for BGP Anomaly Detection using Graph Features", ROCEEDINGS OF THE 3RD ACM CONEXT WORKSHOP ON BIG DATA, MACHINE LEARNING AND ARTIFICIAL INTELLIGENCE FOR DATA COMMUNICATION NETWORKS, 9 December 2019 (2019-12-09), pages 35 - 41, XP058448354, DOI: 10.1145/3359992.3366640 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116436844A (en) * 2023-06-13 2023-07-14 苏州浪潮智能科技有限公司 Positioning method and device, storage medium and electronic equipment for route oscillation
CN116436844B (en) * 2023-06-13 2023-09-08 苏州浪潮智能科技有限公司 Routing oscillation positioning method and device, storage medium and electronic equipment
CN116800503A (en) * 2023-06-28 2023-09-22 清华大学 A route leakage detection method and device based on multi-party security calculation
CN120301815A (en) * 2025-06-12 2025-07-11 北京中关村实验室 Routing leak detection method, device, equipment, medium and program
CN120301815B (en) * 2025-06-12 2025-10-17 北京中关村实验室 Routing leak detection method, device, equipment, medium and program
CN121644448A (en) * 2026-02-05 2026-03-10 中国信息通信研究院 A method, device, and medium for detecting route leakage in BGP routing.
CN121644448B (en) * 2026-02-05 2026-04-24 中国信息通信研究院 Route leakage detection method, device and medium for BGP (Border gateway protocol) route

Also Published As

Publication number Publication date
CN116112418B (en) 2025-10-17

Similar Documents

Publication Publication Date Title
CN116112418A (en) Locating method, device, electronic equipment and storage medium for route leakage
Anwar et al. Investigating interdomain routing policies in the wild
Su et al. Redundant rule detection for software-defined networking
CN115378843B (en) Method, system and apparatus for geolocation using traceroute
Yeganeh et al. How cloud traffic goes hiding: A study of amazon's peering fabric
US11108816B2 (en) Constructible automata for internet routes
CN112787841A (en) Fault root cause positioning method and device and computer storage medium
Krenc et al. AS-level BGP community usage classification
CN102215136A (en) Flow topology generation method and device
CN113271286B (en) Method, equipment and system for realizing BGP (Border gateway protocol) anomaly detection
CN112714008B (en) Network topology analysis methods, equipment and storage media
CN112887208B (en) A route leak detection method, device and device
Markovitch et al. TIPSY: predicting where traffic will ingress a WAN
CN103236978B (en) The determination method and apparatus of AS topology top layer autonomous system node
Green et al. Leveraging inter-domain stability for BGP dynamics analysis
Bagnulo et al. Practicable route leak detection and protection with ASIRIA
Lad et al. An algorithmic approach to identifying link failures
CN120301815B (en) Routing leak detection method, device, equipment, medium and program
Hendriks et al. Laces: an open, fast, responsible and efficient longitudinal anycast census system
Yang et al. BGP anomaly detection-a path-based apporach
US20150138957A1 (en) Computing forwarding tables for link failures
Lad et al. Inferring the origin of routing changes using link weights
Giotsas et al. Detecting and assessing the hybrid IPv4/IPv6 as relationships
CN121000653A (en) Routing interruption detection methods, devices, equipment and storage media
Ahmed et al. An experimental study on inter-domain routing dynamics using IP-level path traces

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant