Some Complexity Results for Stateful Network Verification
Kalev Alpernas (Tel Aviv University), Aurojit Panda (NYU), Alexander, Rabinovich (Tel Aviv University), Mooly Sagiv (Tel Aviv University), Scott, Shenker (UC Berkeley), Sharon Shoham (Tel Aviv University), Yaron Velner, (Hebrew University of Jerusalem)

TL;DR
This paper investigates the computational complexity of verifying safety properties in networks with stateful middleboxes, showing undecidability in general and proposing abstractions and subclasses for more tractable verification.
Contribution
It proves undecidability of safety verification in general stateful networks and introduces subclasses with better complexity bounds, along with a practical verification tool.
Findings
Verification is undecidable without abstraction.
Sound abstraction makes safety verification decidable.
Polynomial-time verification for simple middleboxes like firewalls.
Abstract
In modern networks, forwarding of packets often depends on the history of previously transmitted traffic. Such networks contain stateful middleboxes, whose forwarding behaviour depends on a mutable internal state. Firewalls and load balancers are typical examples of stateful middleboxes. This work addresses the complexity of verifying safety properties, such as isolation, in networks with finite-state middleboxes. Unfortunately, we show that even in the absence of forwarding loops, reasoning about such networks is undecidable due to interactions between middleboxes connected by unbounded ordered channels. We therefore abstract away channel ordering. This abstraction is sound for safety, and makes the problem decidable. Specifically, safety checking becomes EXPSPACE-complete in the number of hosts and middleboxes in the network. To tackle the high complexity, we identify two useful…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
