Lune

NSDI2021Top-tier venue

Metha: Network Verifiers Need To Be Correct Too!

Rüdiger Birkner, Tobias Brodmann, Petar Tsankov, Laurent Vanbever, Martin T. Vechev

Abstract

Network analysis and verification tools are often a godsend for network operators as they free them from the fear of introducing outages or security breaches. As with any complex software though, these tools can (and often do) have bugs. For the operators, these bugs are not necessarily problematic except if they affect the precision of the model as it applies to their specific network. In that case, the tool output might be wrong: it might fail to detect actual configuration errors and/or report non-existing ones.

In this paper, we present Metha, a framework that systematically tests network analysis and verification tools for bugs in their network models. Metha automatically generates syntactically-and semantically-valid configurations; compares the tool's output to that of the actual router software; and detects any discrepancy as a bug in the tool's model. The challenge in testing network analyzers this way is that a bug may occur very rarely and only when a specific set of configuration statements is present. We address this challenge by leveraging grammar-based fuzzing together with combinatorial testing to ensure thorough coverage of the search space and by identifying the minimal set of statements triggering the bug through delta debugging.

We implemented Metha and used it to test three well-known tools. In all of them, we found multiple (new) bugs in their models, most of which were confirmed by the developers.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Learning to Configure Computer Networks with Neural Algorithmic ReasoningLuca Beurer-Kellner, Martin T. Vechev, Laurent Vanbever, Petar VelickovicNeurIPS 2022 · 36 citations
  2. Firebolt: Finding Bugs in Programmable Data Plane GeneratorsJiamin Cao, Yu Zhou, Chen Sun, Lin He et al.USENIX ATC 2022

Builds on1

  1. NV: an intermediate language for verification of network control planesNick Giannarakis, Devon Loehr, Ryan Beckett, David WalkerPLDI 2020 · 31 citations

Related papers

  1. Constraint-Based Test Oracles for Program AnalyzersMarkus Fleischmann, David Kaindlstorfer, Anastasia Isychev, Valentin Wüstholz et al.ASE 2024 · 2 citations
  2. Comprehensive Network Configuration Verification via Effective Environment ReductionXinzhe Liu, Yahui Li, Han Zhang, Renrui Tian et al.INFOCOM 2026
  3. ProtocolGuard: Detecting Protocol Non-compliance Bugs via LLM-guided Static Analysis and Dynamic VerificationXiangpu Song, Longjia Pei, Jianliang Wu, Yingpei Zeng et al.NDSS 2026 · 3 citations
  4. ECSTATIC: An Extensible Framework for Testing and Debugging Configurable Static AnalysisAustin Mordahl, Zenong Zhang, Dakota Soles, Shiyi WeiICSE 2023 · 7 citations
  5. Campion: debugging router configuration differencesAlan Tang, Siva Kesava Reddy Kakarla, Ryan Beckett, Ennan Zhai et al.SIGCOMM 2021 · 37 citations
Dusk over the sea between two cliffs drawn in fine vertical lines