Modular Safety Verification for Stateful Networks

08/19/2017
by   Kalev Alpernas, et al.
0

Modern networks achieve robustness and scalability by maintaining states on their nodes. These nodes are referred to as middleboxes and are essential for network functionality. However, the presence of middleboxes drastically complicates the task of network verification. We describe a new algorithm for conservatively checking the safety of stateful networks. Our algorithm is modular in the sense that it repeatedly analyzes each middlebox separately w.r.t. an intermediate global state view. Its asymptotic complexity is polynomial in the size of the network, albeit being exponential in the maximal number of queries of the local state that a middlebox can do, which is often small. Our algorithm is sound, i.e., it can never miss a violation of safety but may fail to verify some properties. The algorithm performs on-the fly abstract interpretation by (1) abstracting away the order of packet processing, (2) abstracting away correlations between states of different middleboxes and channel contents, and (3) representing middlebox states by their effect on each packet separately, rather than taking into account the entire state space. We show that the abstractions do not lose precision when the middlebox may reset in any state. This is encouraging since many real middleboxes reset, e.g., after some session timeout is reached or due to hardware failure.

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
06/02/2021

Some Complexity Results for Stateful Network Verification

In modern networks, forwarding of packets often depends on the history o...
research
07/08/2020

Certifying Emptiness of Timed Büchi Automata

Model checkers for timed automata are widely used to verify safety-criti...
research
01/18/2021

Formal Verification of a Fail-Operational Automotive Driving System

A fail-operational system for highly automated driving must complete the...
research
03/25/2019

Symmetry Reduction for the Local Mu-Calculus

Model checking large networks of processes is challenging due to state e...
research
12/16/2018

Incremental Observer Reduction Applied to Opacity Verification and Synthesis

With the proliferation of communication networks and mobile devices, the...
research
12/28/2018

Clippy(ing) Network Functions: Towards Better Abstractions for Checking and Designing Network Programs

When programming network functions, changes within a packet tend to have...

Please sign up or login with your details

Forgot password? Click here to reset