arXiv · 2604.21795
NEST: Network Enforced Session Types (Technical Report)
Abstract
This paper introduces NEST (Network-Enforced Session Types), a runtime verification framework that moves application-level protocol monitoring into the network fabric. Unlike prior work that instruments or wraps application code, we synthesize packet-level monitors that enforce protocols directly in the data plane. We develop algorithms to generate network-level monitors from session types and extend them to handle packet loss and reordering. We implement NEST in P4 and evaluate it on applications including microservice and network-function models, showing that network-level monitors can enforce realistic non-trivial protocols.
Explore related subjects
Keep this discovery
Jens Kanstrup Larsen, Alceste Scalas, Guy Amir, Jules Jacobs, Jana Wagemaker, Nate Foster. 2026-04-23. NEST: Network Enforced Session Types (Technical Report). https://doi.org/10.4230/lipics.ecoop.2026.31
Cite the original work for its findings. Save a collection to share your selection of sources.