arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.04052cs.NI
收藏

在服务网格中实现网络策略执行

Enabling Network Policy Enforcement in Service Meshes

Washington University in St. Louis(华盛顿大学圣路易斯分校)

Behrooz Farkiani, Fan Liu, Patrick Crowley

AI总结:

提出将第3层网络策略执行与服务网格集成,通过构建覆盖网络和默认拒绝原则实现可移植、与基础设施无关的第3-7层策略执行,原型验证显示延迟低于1ms且支持复杂策略。

摘要:

可移植的服务网格实现支持跨异构基础设施的第4层到第7层策略执行,但它们依赖于底层网络的连接和策略。第3层网络策略管理IP流量,无论上层是否授权该流。虽然这些策略对安全至关重要,但正确的执行通常需要多个团队协调,在异构环境中实现一致的策略行为具有挑战性。研究表明,大多数Kubernetes集群不执行任何网络策略。我们提出将第3层网络策略执行与服务网格集成,以可移植、与基础设施无关的方式保护数据平面流量。该集成允许开发者定义第3-7层策略,并确保在任何基础设施上执行。我们的解决方案构建了一个覆盖层第3层网络,并通过将流量路由到特定策略执行点并应用默认拒绝原则和授权密钥来执行第3层策略。我们使用Kubernetes和Istio对方法进行了原型验证,发现其增加的延迟不到1ms,同时支持与原生Kubernetes网络策略相当的复杂策略。

英文摘要:

Portable service mesh implementations enable Layer 4 to Layer 7 policy enforcement across heterogeneous infrastructures, yet they depend on the underlying network's connectivity and policies. Layer 3 network policies govern IP traffic regardless of whether upper layers authorize the flow. While these policies are integral to security, correct enforcement often requires coordination across multiple teams, and achieving consistent policy behavior across heterogeneous environments is challenging. Studies show that most Kubernetes clusters do not enforce any network policies. We propose integrating Layer 3 network policy enforcement with service meshes to protect data-plane traffic in a portable, infrastructure-agnostic manner. This integration allows developers to define Layer 3-7 policies and to ensure enforcement across any infrastructure. Our solution builds an overlay Layer 3 network and enforces Layer 3 policies by routing traffic through specific policy enforcement points and applying default-deny principles with authorization keys. We prototyped our approach using Kubernetes and Istio and found that it adds less than 1ms of latency while supporting complex policies comparable to native Kubernetes network policies.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑