KATch: A Fast Symbolic Verifier for NetKAT

Authors:
  • MMMark Moeller
    Mark Moeller
  • JJJules Jacobs
    Jules Jacobs
  • OBOlivier Savary Belanger
    Olivier Savary Belanger
  • DDDavid Darais
    David Darais
  • CSCole Schlesinger
    Cole Schlesinger
  • SSSteffen Smolka
    Steffen Smolka
  • NFNate Foster
    Nate Foster
  • ASAlexandra Silva
    Alexandra Silva

Abstract
We develop new data structures and algorithms for checking verification queries in NetKAT, a domain-specific language for specifying the behavior of network data planes. Our results extend the techniques obtained in prior work on symbolic automata and provide a framework for building efficient and scalable verification tools. We present KATch, an implementation of these ideas in Scala, featuring an extended set of NetKAT operators that are useful for expressing network-wide specifications, and a verification engine that constructs a bisimulation or generates a counter-example showing that none exists. We evaluate the performance of our implementation on real-world and synthetic benchmarks, verifying properties such as reachability and slice isolation, typically returning a result in well under a second, which is orders of magnitude faster than previous approaches. Our advancements underscore NetKAT's potential as a practical, declarative language for network specification and verification.