Liveness Verification of Stateful Network Functions
Farnaz Yousefi, Anubhavnidhi Abhashkumar, Kausik Subramanian, Kartik Hans, Soudeh Ghorbani, Aditya Akella
摘要
Network verification tools focus almost exclusively on various safety properties such as "reachability" invariants, e.g., is there a path from host A to host B? Thus, they are inapplicable to providing strong correctness guarantees for modern programmable networks that increasingly rely on stateful network functions. Correct operations of such networks depend on the validity of a larger set of properties, in particular liveness properties. For instance, a stateful firewall that only allows solicited external traffic works correctly if it eventually detects and blocks malicious connections, e.g., if it eventually blocks an external host E that tries to reach the internal host I before receiving a request from I.
Alas, verifying liveness properties is computationally expensive and, in some cases, undecidable. Existing verification techniques do not scale to verify such properties. In this work, we provide a compositional programming abstraction, model the programs expressed in this abstraction using compact Boolean formulas, and show that verification of complex properties is fast on these formulas, e.g., for a 100-host network, these formulas result in 8⇥ speedup in the verification of key properties of a UDP flood mitigation function compared to a naive baseline. We also provide a compiler that translates the programs written using our abstraction to P4 programs.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
引用它的顶会 Paper5
- LemonNFV: Consolidating Heterogeneous Network Functions at Line SpeedHao Li, Yihan Dang, Guangda Sun, Guyue Liu 等NSDI 2023 · 21 次引用
- Meissa: scalable network testing for programmable data planesNaiqian Zheng, Mengqi Liu, Ennan Zhai, Hongqiang Harry Liu 等SIGCOMM 2022 · 17 次引用
- Kivi: Verification for Cluster ManagementBingzhe Liu, Gangmuk Lim, Ryan Beckett, Philip Brighten GodfreyUSENIX ATC 2024 · 6 次引用
- On Temporal Verification of Stateful P4 ProgramsDelong Zhang, Chong Ye, Fei HeNSDI 2025 · 6 次引用
- New Evolution of Hoyan: Enhancing Scalability, Usability, and Accuracy for Alibaba's Global WAN VerificationYifei Yuan, Fangdan Ye, Yifan Li, Jingkai Zhang 等SIGCOMM 2025 · 5 次引用
相关 Paper
- NetSMC: A Custom Symbolic Model Checker for Stateful Network VerificationYifei Yuan, Soo-Jin Moon, Sahil Uppal, Limin Jia 等NSDI 2020 · 42 次引用
- P4Inv: Inferring Packet Invariants for Verification of Stateful P4 ProgramsDelong Zhang, Chong Ye, Fei HeINFOCOM 2024 · 3 次引用
- APKeep: Realtime Verification for Real NetworksPeng Zhang, Xu Liu, Hongkun Yang, Ning Kang 等NSDI 2020 · 99 次引用
- Hydra: Effective Runtime Network VerificationSundararajan Renganathan, Benny Rubin, Hyojoon Kim, Pier Luigi Ventre 等SIGCOMM 2023 · 11 次引用
- Plankton: Scalable network configuration verification through model checkingSanthosh Prabhu, Kuan-Yen Chou, Ali Kheradmand, Brighten Godfrey 等NSDI 2020 · 130 次引用
