Formally Verified Convergence of Policy-Rich DBF Routing Protocols

06/02/2021
by   Matthew L. Daggitt, et al.
0

In this paper we present new general convergence results about the behaviour of Distributed Bellman-Ford (DBF) family of routing protocols, which includes distance-vector protocols (e.g. RIP) and path-vector protocols (e.g. BGP). First, we propose a new algebraic model for abstract routing problems which has fewer primitives than previous models and can represent more expressive policy languages. The new model is also the first to allow concurrent reasoning about distance-vector and path-vector protocols. Second, we explicitly demonstrate how DBF routing protocols are instances of a larger class of asynchronous iterative algorithms, for which there already exist powerful results about convergence. These results allow us to build upon conditions previously shown by Sobrinho to be sufficient and necessary for the convergence of path-vector protocols and generalise and strengthen them in various ways: we show that, with a minor modification, they also apply to distance-vector protocols; we prove they guarantee that the final routing solution reached is unique, thereby eliminating the possibility of anomalies such as BGP wedgies; we relax the model of asynchronous communication, showing that the results still hold if routing messages can be lost, reordered, and duplicated. Thirdly, our model and our accompanying theoretical results have been fully formalised in the Agda theorem prover. The resulting library is a powerful tool for quickly prototyping and formally verifying new policy languages. As an example, we formally verify the correctness of a policy language with many of the features of BGP including communities, conditional policy, path-inflation and route filtering.

READ FULL TEXT

page 1

page 13

research
04/06/2023

Routing over QUIC: Bringing transport innovations to routing protocols

By combining the security features of TLS with the reliability of TCP, Q...
research
01/24/2019

A stack-vector routing protocol for automatic tunneling

In a network, a tunnel is a part of a path where a protocol is encapsula...
research
04/28/2020

Formal Models of the OSPF Routing Protocol

We present three formal models of the OSPF routing protocol. The first t...
research
09/24/2018

Mathematical Modeling of Routes Maintenance and Recovery Procedure for MANETs

Routing is one of the most mysterious issues from the birth of networks ...
research
12/28/2017

Inferring Formal Properties of Production Key-Value Stores

Production distributed systems are challenging to formally verify, in pa...
research
10/27/2021

Paving the Way for Consensus: Convergence of Block Gossip Algorithms

Gossip protocols are popular methods for average consensus problems in d...
research
01/22/2020

Simple and Fast Distributed Computation of Betweenness Centrality

Betweenness centrality is a graph parameter that has been successfully a...

Please sign up or login with your details

Forgot password? Click here to reset