Fix with P6: Verifying Programmable Switches at Runtime

Fix with P6: Verifying Programmable Switches at Runtime

Abstract

We design, develop, and evaluate P6, an automated approach to (a) detect, (b) localize, and (c) patch software bugs in P4 programs. Bugs are reported via a violation of pre-specified expected behavior that is captured by P6. P6 is based on machine learning-guided fuzzing that tests P4 switch non-intrusively, i.e., without modifying the P4 program for detecting runtime bugs. This enables an automated and real-time localization and patching of bugs. We used a P6 prototype to detect and patch existing bugs in various publicly available P4 application programs deployed on two different switch platforms: behavioral model (bmv2) and Tofino. Our evaluation shows that P6 significantly outperforms bug detection baselines while generating fewer packets and patches bugs in large P4 programs such as switch.p4 without triggering any regressions.

Grafik Top
Authors
  • Shukla, Apoorv
  • Hudemann, Kevin Nico
  • Vagi, Zsolt
  • Hügerich, Lily
  • Smaragdakis, Georgios
  • Hecker, Artur
  • Schmid, Stefan
  • Feldmann, Anja
Grafik Top
Supplemental Material
Shortfacts
Category
Paper in Conference Proceedings or in Workshop Proceedings (Paper)
Event Title
40th IEEE Conference on Computer Communications (INFOCOM)
Divisions
Communication Technologies
Subjects
Informatik Allgemeines
Event Location
Virtual Conference
Event Type
Conference
Event Dates
May 2021
Date
2021
Export
Grafik Top