Some Complexity Results for Stateful Network Verification

06/02/2021
by   Kalev Alpernas, et al.
0

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 subclasses of finite-state middleboxes which admit better complexities. The simplest class includes, e.g., firewalls and permits polynomial-time verification. The second class includes, e.g., cache servers and learning switches, and makes the safety problem coNP-complete. Finally, we implement a tool for verifying the correctness of stateful networks.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/19/2017

Abstractions for Verifying Isolation Properties in Stateful Networks

Modern networks achieve robustness and scalability by maintaining states...
research
08/05/2022

Neural Network Verification using Residual Reasoning

With the increasing integration of neural networks as components in miss...
research
08/19/2017

Modular Safety Verification for Stateful Networks

Modern networks achieve robustness and scalability by maintaining states...
research
06/30/2023

Checking Presence Reachability Properties on Parameterized Shared-Memory Systems

We consider the verification of distributed systems composed of an arbit...
research
01/28/2021

Safety Verification of Parameterized Systems under Release-Acquire

We study the safety verification problem for parameterized systems under...
research
11/20/2018

FAR-Cubicle - A new reachability algorithm for Cubicle

We present a fully automatic algorithm for verifying safety properties o...
research
03/16/2022

Sound Development of Safety Supervisors

Safety supervisors are controllers enforcing safety properties by keepin...

Please sign up or login with your details

Forgot password? Click here to reset