The Door to Policy Portability might be an IP Overlay

Behrooz Farkiani, Fan Liu, Patrick Crowley

Published: 2025/10/5

Abstract

Portable service mesh implementations enable layer 4 to layer 7 policy enforcement across diverse infrastructures, but they remain tied to infrastructure-specific layer 3 network policies. Network policies enable control over IP traffic flow regardless of whether traffic is authorized at the application level. However, not all infrastructure supports enforcing them, and achieving consistent enforcement across heterogeneous environments is challenging. For example, studies have shown that the majority of Kubernetes clusters do not enforce any network policies. We propose integrating network policy enforcement with service meshes to protect data-plane traffic in a portable, infrastructure-agnostic way. This enables developers to define integrated layer 3 to layer 7 policies and ensure they are enforced across any infrastructure. Additionally, due to its portability, our approach can be used outside the service environment to enforce policies on end-user traffic and provide an end-to-end secure extended overlay. Our solution builds an overlay layer 3 network and enforces layer 3 policies by routing traffic through specific policy enforcement points and utilizing authorization keys. We prototyped our idea using Kubernetes and Istio, and show that while it adds less than 1ms latency, it can implement complex policies comparable to Kubernetes native network policies.