Hydra: Effective Runtime Network Verification
Sundararajan Renganathan, Benny Rubin, Hyojoon Kim, Pier Luigi Ventre, Carmelo Cascone, Daniele Moro, Charles Chan, Nick McKeown, Nate Foster
Abstract
It is notoriously difficult to verify that a network is behaving as intended, especially at scale. This paper presents Hydra, a system that uses ideas from runtime verification to check that every packet is correctly processed with respect to a specification in real time. We propose a domain-specific language for writing properties, called Indus, and we develop a compiler that turns properties thus specified into executable P4 code that runs alongside the forwarding code at line rate. To evaluate our approach, we used Indus to model a range of properties, showing that it is expressive enough to capture examples studied in prior work. We also deployed Hydra checkers for validating paths in source routing and for enforcing slice isolation in Aether, an open-source cellular platform. We confirmed a subtle bug in Aether's 5G mobile core that would have been hard to detect using static techniques. We also evaluated the overheads of Hydra on hardware, finding that it does not significantly increase latency and often does not require additional pipeline stages.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 190db7fa-3a81-4e3a-be7a-c2d5f2045858Cited by top-tier papers4
- MeshTest: End-to-End Testing for Service Mesh Traffic ManagementNaiqian Zheng, Tianshuo Qiao, Xuanzhe Liu, Xin JinNSDI 2025 · 7 citations
- Runtime Protocol Refinement Checking for Distributed Protocol ImplementationsDing Ding, Zhanghan Wang, Jinyang Li, Aurojit PandaNSDI 2025 · 6 citations
- Exploiting Temporal Vulnerabilities for Unauthorized Access in Intent-based NetworkingBen Weintraub, Jiwon Kim, Ran Tao, Cristina Nita-Rotaru et al.CCS 2024 · 3 citations
- SafeTree: Expressive Tree Policies for MicroservicesKaruna Grewal, Brighten Godfrey, Justin HsuOOPSLA 2025 · 1 citation
Builds on6
- Abstract interpretation of distributed network control planesRyan Beckett, Aarti Gupta, Ratul Mahajan, David WalkerPOPL 2020 · 46 citations
- Aquila: a practically usable verification system for production-scale programmable data planesBingchuan Tian, Jiaqi Gao, Mengqi Liu, Ennan Zhai et al.SIGCOMM 2021 · 28 citations
- Automated Verification of Customizable Middlebox Properties with GravelKaiyuan Zhang, Danyang Zhuo, Aditya Akella, Arvind Krishnamurthy et al.NSDI 2020 · 26 citations
- Aragog: Scalable Runtime Verification of Shardable Networked SystemsNofel Yaseen, Behnaz Arzani, Ryan Beckett, Selim Ciraci et al.OSDI 2020 · 19 citations
- SwitchV: automated SDN switch validation with P4 modelsKinan Dak Albab, Jonathan DiLorenzo, Stefan Heule, Ali Kheradmand et al.SIGCOMM 2022 · 16 citations
Related papers
- P4Inv: Inferring Packet Invariants for Verification of Stateful P4 ProgramsDelong Zhang, Chong Ye, Fei HeINFOCOM 2024 · 3 citations
- Petr4: formal foundations for p4 data planesRyan Doenges, Mina Tahmasbi Arashloo, Santiago Bautista, Alexander Chang et al.POPL 2021 · 24 citations
- Liveness Verification of Stateful Network FunctionsFarnaz Yousefi, Anubhavnidhi Abhashkumar, Kausik Subramanian, Kartik Hans et al.NSDI 2020 · 20 citations
- P4BID: information flow control in p4Karuna Grewal, Loris D'Antoni, Justin HsuPLDI 2022 · 5 citations
- KATch: A Fast Symbolic Verifier for NetKATMark Moeller, Jules Jacobs, Olivier Savary Bélanger, David Darais et al.PLDI 2024 · 9 citations
