Katra: Realtime Verification for Multilayer Networks
Ryan Beckett, Aarti Gupta
Abstract
We present a new verification algorithm to efficiently and incrementally verify arbitrarily layered network data planes that are implemented using packet encapsulation. Inspired by work on model checking of pushdown systems for recursive programs, we develop a verification algorithm for networks with packets consisting of stacks of headers. Our algorithm is based on a new technique that lazily "repairs" a decomposed stack of header sets on demand to account for cross-layer dependencies. We demonstrate how to integrate our approach with existing fast incremental data plane verifiers and have implemented our ideas in a tool called KATRA. Evaluating KATRA against an alternative approach based on equipping existing incremental verifiers to emulate finite header stacks, we show that KATRA is between 5x-32x faster for packets with just 2 headers (layers), and that its performance advantage grows with both network size and layering.
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.
Cited by top-tier papers7
- Beyond a Centralized Verifier: Scaling Data Plane Checking via Distributed, On-Device VerificationQiao Xiang, Chenyang Huang, Ridi Wen, Yuxin Wang et al.SIGCOMM 2023 · 26 citations
- Crescent: Emulating Heterogeneous Production Network at ScaleZhaoyu Gao, Anubhavnidhi Abhashkumar, Zhen Sun, Weirong Jiang et al.NSDI 2024 · 15 citations
- CURSOR: Configuration Update Synthesis Using Order RulesZibin Chen, Lixin GaoINFOCOM 2023 · 14 citations
- NDD: A Decision Diagram for Network VerificationZechun Li, Peng Zhang, Yichi Zhang, Hongkun YangNSDI 2025 · 11 citations
- Diffy: Data-Driven Bug Finding for ConfigurationsSiva Kesava Reddy Kakarla, Francis Y. Yan, Ryan BeckettPLDI 2024 · 5 citations
Builds on2
Related papers
- KATch: A Fast Symbolic Verifier for NetKATMark Moeller, Jules Jacobs, Olivier Savary Bélanger, David Darais et al.PLDI 2024 · 9 citations
- StacKAT: Infinite State Network VerificationJules Jacobs, Nate Foster, Tobias Kappé, Dexter Kozen et al.PLDI 2025
- Differential Network AnalysisPeng Zhang, Aaron Gember-Jacobson, Yueshang Zuo, Yuhao Huang et al.NSDI 2022
- P4Inv: Inferring Packet Invariants for Verification of Stateful P4 ProgramsDelong Zhang, Chong Ye, Fei HeINFOCOM 2024 · 3 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
