Shangsen Li , Lailong Luo , Changhao Qiu , Bangbang Ren , Yun Zhou , Deke Guo , Richard T.B. Ma
{"title":"GraphVeri: A NAR-based control plane verification framework for routing protocols","authors":"Shangsen Li , Lailong Luo , Changhao Qiu , Bangbang Ren , Yun Zhou , Deke Guo , Richard T.B. Ma","doi":"10.1016/j.comnet.2025.111635","DOIUrl":null,"url":null,"abstract":"<div><div>The distributed control plane routing protocols of networks are inherently complex and prone to configured incorrectly, such as BGP and OSPF, necessitating rigorous verification to ensure that configurations meet requirements. The classic methods for configuration verification predominantly rely on formal verification techniques, which model the intricate relationships among network configurations, protocols and the corresponding forwarding behaviors, under some assumptions of the network environment. However, these methods are lack of scalability (the verification time increases exponentially as topology scales) and generality (requiring substantial manual effort for development and maintenance). This paper introduces a novel neural algorithmic reasoning (NAR) based verification framework called GraphVeri, aiming at distributed routing protocol configuration verification. Our approach can learn how to verify from the perfect mapping from configurations to specification satisfactions directly and continuously, thereby capturing the underlying knowledge of distributed control plane protocols and their verification processes. With such a learning-based verifier, we can achieve comprehensive end-to-end verification with perfect scalability and extendability, and without the burdensome task of formal modeling typically associated with distributed routing protocols. Furthermore, the inductive learning capability of GraphVeri enables the verifier to learn how to integrate the local node attribute information to generate embeddings for previously unseen nodes. Evaluations conducted on the Topology Zoo dataset and BGP&OSPF protocols demonstrate that our NAR-based learning verifiers attain high accuracy, efficiency and scalability. GraphVeri achieves comparable accuracy to GraphGAT, which was initially developed for network synthesis, while at <span><math><mrow><mn>2</mn><mo>×</mo></mrow></math></span> (GPU) and <span><math><mrow><mn>10</mn><mo>×</mo></mrow></math></span> (CPU) speed up. Compared with the classic verifiers, GraphVeri (CPU) can attain a speed up of 2.93–38.28<span><math><mo>×</mo></math></span> and 2300–12764<span><math><mo>×</mo></math></span> to Batfish and Minesweeper respectively; GraphVeri (GPU) attain a speed of 33.51–366.29<span><math><mo>×</mo></math></span> and 30434–217653<span><math><mo>×</mo></math></span> to Batfish and Minesweeper respectively. Moreover, the verification time of GraphVeri increases slower than that of the classic verifiers.</div></div>","PeriodicalId":50637,"journal":{"name":"Computer Networks","volume":"271 ","pages":"Article 111635"},"PeriodicalIF":4.6000,"publicationDate":"2025-08-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Networks","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1389128625006024","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
引用次数: 0
Abstract
The distributed control plane routing protocols of networks are inherently complex and prone to configured incorrectly, such as BGP and OSPF, necessitating rigorous verification to ensure that configurations meet requirements. The classic methods for configuration verification predominantly rely on formal verification techniques, which model the intricate relationships among network configurations, protocols and the corresponding forwarding behaviors, under some assumptions of the network environment. However, these methods are lack of scalability (the verification time increases exponentially as topology scales) and generality (requiring substantial manual effort for development and maintenance). This paper introduces a novel neural algorithmic reasoning (NAR) based verification framework called GraphVeri, aiming at distributed routing protocol configuration verification. Our approach can learn how to verify from the perfect mapping from configurations to specification satisfactions directly and continuously, thereby capturing the underlying knowledge of distributed control plane protocols and their verification processes. With such a learning-based verifier, we can achieve comprehensive end-to-end verification with perfect scalability and extendability, and without the burdensome task of formal modeling typically associated with distributed routing protocols. Furthermore, the inductive learning capability of GraphVeri enables the verifier to learn how to integrate the local node attribute information to generate embeddings for previously unseen nodes. Evaluations conducted on the Topology Zoo dataset and BGP&OSPF protocols demonstrate that our NAR-based learning verifiers attain high accuracy, efficiency and scalability. GraphVeri achieves comparable accuracy to GraphGAT, which was initially developed for network synthesis, while at (GPU) and (CPU) speed up. Compared with the classic verifiers, GraphVeri (CPU) can attain a speed up of 2.93–38.28 and 2300–12764 to Batfish and Minesweeper respectively; GraphVeri (GPU) attain a speed of 33.51–366.29 and 30434–217653 to Batfish and Minesweeper respectively. Moreover, the verification time of GraphVeri increases slower than that of the classic verifiers.
期刊介绍:
Computer Networks is an international, archival journal providing a publication vehicle for complete coverage of all topics of interest to those involved in the computer communications networking area. The audience includes researchers, managers and operators of networks as well as designers and implementors. The Editorial Board will consider any material for publication that is of interest to those groups.