Skip to main content
QUICK REVIEW

[Paper Review] Verifying Reachability in Networks with Mutable Datapaths

Aurojit Panda, Ori Lahav|arXiv (Cornell University)|Jul 4, 2016
Software-Defined Networks and 5GComputer Science14 citations
TL;DR

This paper introduces Verification for Middlebox Networks (VMN), a scalable approach to verifying reachability and isolation in networks with mutable datapaths—such as firewalls, caches, and load balancers—by using logical slicing and SMT-based verification. It enables near-constant-time verification independent of network size by exploiting structural symmetry and state partitioning, even under failure conditions.

ABSTRACT

Recent work has made great progress in verifying the forwarding correctness of networks . However, these approaches cannot be used to verify networks containing middleboxes, such as caches and firewalls, whose forwarding behavior depends on previously observed traffic. We explore how to verify reachability properties for networks that include such "mutable datapath" elements. We want our verification results to hold not just for the given network, but also in the presence of failures. The main challenge lies in scaling the approach to handle large and complicated networks, We address by developing and leveraging the concept of slices, which allow network-wide verification to only require analyzing small portions of the network. We show that with slices the time required to verify an invariant on many production networks is independent of the size of the network itself.

Motivation & Objective

  • Address the lack of verification support for networks containing middleboxes with mutable datapaths, where forwarding behavior depends on packet history.
  • Extend formal verification techniques beyond static datapaths (e.g., routers) to include dynamic elements like firewalls and content caches.
  • Ensure verification results hold not only under normal operation but also in the presence of network failures, a gap in prior tools.
  • Scale verification to large, complex networks by exploiting structural symmetry and state partitioning in middlebox behavior.
  • Develop a framework that verifies reachability and isolation invariants without requiring full re-analysis upon configuration changes or failures.

Proposed method

  • Model the entire network as a logical formula, incorporating both static and mutable datapath elements, with state-dependent behavior abstracted via logical constraints.
  • Introduce the concept of 'slices'—small, isolated portions of the network that capture relevant state and forwarding behavior, enabling localized verification instead of global analysis.
  • Use SMT solvers to check whether a given reachability or isolation invariant is violated by analyzing only the relevant slice, rather than the entire network.
  • Decompose verification into two phases: (1) slice construction based on network symmetry and middlebox state partitioning, and (2) invariant checking via SMT solving on each slice.
  • Abstract middlebox classification logic while modeling their state evolution precisely, enabling reasoning about complex behaviors like cache hits and hole-punching.
  • Leverage symmetry in network topology and policies to minimize the number of slices needed, ensuring verification time remains constant regardless of network size.

Experimental results

Research questions

  • RQ1How can reachability and isolation invariants be formally verified in networks containing middleboxes with mutable datapaths?
  • RQ2Can verification scale to large, real-world networks with complex middlebox behavior?
  • RQ3How can verification remain correct and efficient under network failures, a common real-world concern?
  • RQ4What abstractions and decomposition techniques can make verification of stateful middleboxes tractable?
  • RQ5To what extent can structural symmetry and state partitioning be exploited to reduce verification complexity?

Key findings

  • VMN enables verification of reachability invariants in networks with mutable datapaths using a slicing-based approach that decouples analysis from network size.
  • The time required to verify an invariant is independent of the overall network size, as verification scales with the number of slices, not the network's scale.
  • The method successfully verifies invariants in the presence of failures, a capability missing in prior network verification tools.
  • The approach is effective for real-world production networks, as demonstrated by its ability to verify complex invariants in networks with caches, firewalls, and load balancers.
  • Slicing based on symmetry and state partitioning allows the method to avoid exponential blowup in verification time, even with complex middlebox behavior.
  • The framework is not universally applicable to all random networks due to reliance on structural symmetry, but it achieves practical scalability in realistic, symmetric network topologies.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.