Diagnosing and Repairing Distributed Routing Configurations Using Selective Symbolic Simulation
Rulan Yang, Gao Han, Hanyang Shao, Xiaoqiang Zheng, Xing Fang, Ziyi Wang, Lizhao You, Ruiting Zhou, Linghe Kong, Ennan Zhai, Qiao Xiang, Jiwu Shu
摘要
Although substantial progress has been made in automatically verifying whether distributed routing configurations comply with certain intents, diagnosing and repairing configuration errors remains manual and time-consuming. To fill this gap, we propose S 2 Sim, a novel system for automatic routing configuration diagnosis and repair. Our key insight is that by deriving a set of contracts that guarantees an intent-compliant variant of the erroneous configuration, we can systematically check for all contract violations in the configuration via symbolic simulation to pinpoint and repair the errors. S 2 Sim also introduces a series of extensions to support complex configurations (e.g., ACL, route aggregation and multi-path routing), networks (e.g., underlay and overlay networks), and intents (e.g., k-link failure tolerance). We fully implement S 2 Sim and evaluate its performance using real configurations from two major providers and synthesized configurations composed from their real errors and real-world topologies with different scales O(10) to O(1000). Results show that S 2 Sim accurately and efficiently diagnoses and repairs real configuration errors (i.e., up to 20 seconds in real networks of O(100) nodes and up to 15 minutes in synthesized networks of O(1000) nodes). F's configuration snippet 1 ip as-path al1 permit C 2 ! 3 route-map setLP permit 10 4 match as-path al1 5 set local-preference 200 6 ! 7 route-map setLP permit 20 8 set local-preference 80 9 ! 10 bgp F 11 neighbor A route-map setLP in 12 neighbor E route-map setLP in 13 ! Intents: (1) All routers can reach p (2) A must waypoint C (3) F must avoid B Forwarding path D C E B A F p C's configuration snippet 1 ip prefix-list pl1 seq 5 permit p 2 ! 3 route-map filter deny 10 4 match ip address prefix-list pl1 5 ! 6 route-map filter permit 20 7 ! 8 bgp C 9 neighbor B route-map filter out 10 !
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
它引用的 Paper16
- Tiramisu: Fast Multilayer Network VerificationAnubhavnidhi Abhashkumar, Aaron Gember-Jacobson, Aditya AkellaNSDI 2020 · 146 次引用
- Contra: A Programmable System for Performance-aware RoutingKuo-Feng Hsu, Ryan Beckett, Ang Chen, Jennifer Rexford 等NSDI 2020 · 104 次引用
- Accuracy, Scalability, Coverage: A Practical Configuration Verifier on a Global WANFangdan Ye, Da Yu, Ennan Zhai, Hongqiang Harry Liu 等SIGCOMM 2020 · 55 次引用
- Finding Network Misconfigurations by Automatic Template InferenceSiva Kesava Reddy K., Alan Tang, Ryan Beckett, Karthick Jayaraman 等NSDI 2020 · 53 次引用
- Abstract interpretation of distributed network control planesRyan Beckett, Aarti Gupta, Ratul Mahajan, David WalkerPOPL 2020 · 46 次引用
相关 Paper
- Expresso: Comprehensively Reasoning About External Routes Using Symbolic SimulationDan Wang, Peng Zhang, Aaron Gember-JacobsonSIGCOMM 2024 · 7 次引用
- Campion: debugging router configuration differencesAlan Tang, Siva Kesava Reddy Kakarla, Ryan Beckett, Ennan Zhai 等SIGCOMM 2021 · 37 次引用
- S2: A Distributed Configuration Verifier for Hyper-Scale NetworksDan Wang, Peng Zhang, Wenbing Sun, Wenkai Li 等SIGCOMM 2025 · 3 次引用
- A General and Efficient Approach to Verifying Traffic Load Properties under Arbitrary k FailuresRuihan Li, Yifei Yuan, Fangdan Ye, Mengqi Liu 等SIGCOMM 2024 · 10 次引用
- MESSI: Behavioral Testing of BGP ImplementationsRathin Singha, Rajdeep Mondal, Ryan Beckett, Siva Kesava Reddy Kakarla 等NSDI 2024 · 8 次引用
