Automated Verification of Network Function Binaries
Solal Pirelli, Akvile Valentukonyte, Katerina J. Argyraki, George Candea
摘要
Formally verifying the correctness of software network functions (NFs) is necessary for network reliability, yet existing techniques require full source code and mandate the use of specific data structures.
We describe an automated technique to verify NF binaries, making verification usable by network operators even on proprietary code. To solve the key challenge of bridging the abstraction levels of NF implementations and specifications without special-casing a set of data structures, we observe that data structures used by NFs can be modeled as maps, and introduce a universal type to specify both NFs and their data structures, the "ghost map". In addition, we observe that the interactions between an NF and its environment are sufficient to infer control flow and types, removing the requirement for source code.
We implement our technique in Klint, a tool with which we verify, in minutes, that 7 NF binaries satisfy their specifications, without limiting developers' choices of data structures. The specifications are written in Python and use maps to model state. Klint can also verify an entire NF binary stack, all the way down to the NIC driver, using a minimal operating system. Operators can thus verify NF binaries, without source code or debug symbols, without requiring developers to use specific programming languages or data structures, and without trusting any software except Klint.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 11 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Systematically Detecting Packet Validation Vulnerabilities in Embedded Network Stacks 引用了 Automated Verification of Customizable Middlebox Properties with Gravel
- MeshTest: End-to-End Testing for Service Mesh Traffic Management 引用了 Automated Verification of Customizable Middlebox Properties with Gravel
- ShRing: Networking with Shared Receive Rings 引用了 A Simpler and Faster NIC Driver Model for Network Functions
- ShRing: Networking with Shared Receive Rings 引用了 Performance Interfaces for Network Functions
引用它的顶会 Paper11
- Performance Interfaces for Network FunctionsRishabh R. Iyer, Katerina J. Argyraki, George CandeaNSDI 2022 · 20 次引用
- ShRing: Networking with Shared Receive RingsBoris Pismenny, Adam Morrison, Dan TsafrirOSDI 2023 · 13 次引用
- Systematically Detecting Packet Validation Vulnerabilities in Embedded Network StacksPaschal C. Amusuo, Ricardo Andrés Calvo Méndez, Zhongwei Xu, Aravind Machiry 等ASE 2023 · 9 次引用
- MeshTest: End-to-End Testing for Service Mesh Traffic ManagementNaiqian Zheng, Tianshuo Qiao, Xuanzhe Liu, Xin JinNSDI 2025 · 7 次引用
- 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 次引用
它引用的 Paper6
- SOK: (State of) The Art of War: Offensive Techniques in Binary AnalysisYan Shoshitaishvili, Ruoyu Wang, Christopher Salls, Nick Stephens 等S&P 2016 · 1,085 次引用
- Specification and verification in the field: Applying formal methods to BPF just-in-time compilers in the Linux kernelLuke Nelson, Jacob Van Geffen, Emina Torlak, Xi WangOSDI 2020 · 72 次引用
- A Simpler and Faster NIC Driver Model for Network FunctionsSolal Pirelli, George CandeaOSDI 2020 · 28 次引用
- Automated Verification of Customizable Middlebox Properties with GravelKaiyuan Zhang, Danyang Zhuo, Aditya Akella, Arvind Krishnamurthy 等NSDI 2020 · 26 次引用
- Performance Interfaces for Network FunctionsRishabh R. Iyer, Katerina J. Argyraki, George CandeaNSDI 2022 · 20 次引用
相关 Paper
- KATch: A Fast Symbolic Verifier for NetKATMark Moeller, Jules Jacobs, Olivier Savary Bélanger, David Darais 等PLDI 2024 · 9 次引用
- Predictable Verification using Intrinsic DefinitionsAdithya Murali, Cody Rivera, P. MadhusudanPLDI 2024 · 2 次引用
- NFReducer: Redundant Logic Elimination for Network Functions with Runtime ConfigurationsBangwen Deng, Wenfei WuINFOCOM 2021 · 1 次引用
- P4Inv: Inferring Packet Invariants for Verification of Stateful P4 ProgramsDelong Zhang, Chong Ye, Fei HeINFOCOM 2024 · 3 次引用
- NFlow and MVT Abstractions for NFV ScalingZiyan Wu, Yang Zhang, Wendi Feng, Zhi-Li ZhangINFOCOM 2022 · 6 次引用
