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

P4BID:P4中的信息流控制

P4BID: Information Flow Control in P4

Karuna Grewal, Loris D'Antoni, Justin Hsu

摘要:

现代可编程网络交换机可以使用高效的分组处理硬件来实现定制应用,并且程序设计语言P4提供了对这种交换机进行编程的高级构造。速度和可编程性的提高激发了数据平面编程的研究,其中许多复杂的功能,例如,键值存储和负载平衡器,可以完全在网络交换机中实现。然而,数据平面程序可能遭受传统上在网络交换机中没有发现的新的安全错误。为了解决这个问题,我们提出了一个新的信息流控制型系统的P4。我们在最近提出的P4核心版本中形式化了我们的类型系统,并且证明了一个可靠性定理:良好类型的程序满足非干扰性。我们还实现了我们的类型系统的工具,P4bid,它扩展了类型检查器的p4c编译器,参考编译器的最新版本的P4。我们提出了几个案例研究表明,自然的安全性,完整性和网络中的隔离属性可以被捕获的非干扰,我们的类型系统可以检测违反这些属性,同时证明正确的程序。

英文摘要:

Modern programmable network switches can implement custom applications using efficient packet processing hardware, and the programming language P4 provides high-level constructs to program such switches. The increase in speed and programmability has inspired research in dataplane programming, where many complex functionalities, e.g., key-value stores and load balancers, can be implemented entirely in network switches. However, dataplane programs may suffer from novel security errors that are not traditionally found in network switches. To address this issue, we present a new information-flow control type system for P4. We formalize our type system in a recently-proposed core version of P4, and we prove a soundness theorem: well-typed programs satisfy non-interference. We also implement our type system in a tool, P4bid, which extends the type checker in the p4c compiler, the reference compiler for the latest version of P4. We present several case studies showing that natural security, integrity, and isolation properties in networks can be captured by non-interference, and our type system can detect violations of these properties while certifying correct programs.

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

↑