Sequence Abstractions for Flexible, {Line-Rate} Network Monitoring
Andrew JohnsonRBRyan BeckettXCXiaoqi Chen
Ratul Mahajan
David Walker Andrew Johnson
RBRyan Beckett
XCXiaoqi Chen

Ratul Mahajan

David Walker
+5
The authors develop FLM, a high-level language that lets network operators write programs recognizing and reacting to specific packet sequences. To enable examining every packet, their compilation procedure transforms FLM programs into P4 code for programmable switch ASICs: it splits each program into a state-management component and a classical regular expression, then generates an efficient regular-expression implementation via SMT-based program synthesis. Experiments show FLM can express 15 sequence-monitoring tasks from prior literature, and the compiler converts all of them to run on switch hardware within available pipeline stages, consuming under 15% additional header fields and instruction words alongside switch programs.

USENIX · 2024