Efficient Loop Detection in Forwarding Networks and Representing Atoms in a Field of Sets
Laurent Viennot (IRIF, GANG), Yacine Boufkhad (GANG, IRIF), Leonardo, Linguaglossa (LINCS), Fabien Mathieu (LINCS), Diego Perino

TL;DR
This paper introduces a polynomial-time algorithm for loop detection in forwarding networks using a canonical atom representation, effectively handling complex rules and demonstrating practical efficiency with low network overlapping degree.
Contribution
It presents the first provably efficient algorithm for loop detection in networks with general rules, leveraging a canonical atom representation and the concept of network dimension.
Findings
Algorithm is polynomial in networks with constant overlapping degree.
Atoms correspond to header classes with identical network behavior.
Practical networks tend to have low overlapping degree, enabling efficient analysis.
Abstract
The problem of detecting loops in a forwarding network is known to be NP-complete when general rules such as wildcard expressions are used. Yet, network analyzer tools such as Netplumber (Kazemian et al., NSDI'13) or Veriflow (Khurshid et al., NSDI'13) efficiently solve this problem in networks with thousands of forwarding rules. In this paper, we complement such experimental validation of practical heuristics with the first provably efficient algorithm in the context of general rules. Our main tool is a canonical representation of the atoms (i.e. the minimal non-empty sets) of the field of sets generated by a collection of sets. This tool is particularly suited when the intersection of two sets can be efficiently computed and represented. In the case of forwarding networks, each forwarding rule is associated with the set of packet headers it matches. The atoms then correspond to…
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.
Taxonomy
TopicsNetwork Packet Processing and Optimization · Software-Defined Networks and 5G · Network Security and Intrusion Detection
