Galette: a Lightweight XDP Dataplane on your Raspberry Pi

Kyle A. Simpson, Chris Williamson, D. Paul, D. Pezaros
{"title":"Galette: a Lightweight XDP Dataplane on your Raspberry Pi","authors":"Kyle A. Simpson, Chris Williamson, D. Paul, D. Pezaros","doi":"10.23919/IFIPNetworking57963.2023.10186412","DOIUrl":null,"url":null,"abstract":"IoT and sensor networks are now a critical part of public infrastructure. At the same time, they remain infamous for becoming insecure as new exploits arise. Software dataplanes give us the power to retrofit security functions, and are well-researched in datacentres. Yet the server-grade hardware such frameworks are optimised for is a poor fit for vulnerable low-power, low-space IoT gateways. Single-board computers (SBCs) are a cheaper and better fit on all these metrics, yet no service function chaining (SFC) approaches are tailored to these devices. In addition, modern OS features like XDP give us the capability to minimise power use and provide the lowest latency processing these devices can offer—meaning quicker response to network events, suited to the needs of the network edge. We present Galette, a device-portable SFC framework designed for the inexpensive defence of IoT networks by SBCs. Galette builds on Linux's XDP tooling to provide a CPU-efficient, low latency dataplane. Due to SBC hardware designs, we divide traffic between an XDP fast path and userland to schedule expensive packet analysis without harming normal traffic. Our API makes it easy to write network functions (NFs) that compile to both eBPF and native code, while being portable across heterogeneous SBCs. Testbed evaluations show Galette is more efficient and uses less power than AF_PACKET on Raspberry Pi.","PeriodicalId":31737,"journal":{"name":"Edutech","volume":"148 1","pages":"1-9"},"PeriodicalIF":0.0000,"publicationDate":"2023-06-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Edutech","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.23919/IFIPNetworking57963.2023.10186412","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

IoT and sensor networks are now a critical part of public infrastructure. At the same time, they remain infamous for becoming insecure as new exploits arise. Software dataplanes give us the power to retrofit security functions, and are well-researched in datacentres. Yet the server-grade hardware such frameworks are optimised for is a poor fit for vulnerable low-power, low-space IoT gateways. Single-board computers (SBCs) are a cheaper and better fit on all these metrics, yet no service function chaining (SFC) approaches are tailored to these devices. In addition, modern OS features like XDP give us the capability to minimise power use and provide the lowest latency processing these devices can offer—meaning quicker response to network events, suited to the needs of the network edge. We present Galette, a device-portable SFC framework designed for the inexpensive defence of IoT networks by SBCs. Galette builds on Linux's XDP tooling to provide a CPU-efficient, low latency dataplane. Due to SBC hardware designs, we divide traffic between an XDP fast path and userland to schedule expensive packet analysis without harming normal traffic. Our API makes it easy to write network functions (NFs) that compile to both eBPF and native code, while being portable across heterogeneous SBCs. Testbed evaluations show Galette is more efficient and uses less power than AF_PACKET on Raspberry Pi.
Galette:您的树莓派上的轻量级XDP数据平面
物联网和传感器网络现在是公共基础设施的重要组成部分。与此同时,随着新漏洞的出现,它们仍然因变得不安全而臭名昭著。软件数据平面赋予我们改进安全功能的能力,并且在数据中心得到了充分的研究。然而,这些框架优化的服务器级硬件不适合易受攻击的低功耗、低空间物联网网关。单板计算机(sbc)更便宜,更适合所有这些指标,但没有为这些设备量身定制的服务功能链(SFC)方法。此外,像XDP这样的现代操作系统功能使我们能够最大限度地减少功耗,并提供这些设备可以提供的最低延迟处理-这意味着对网络事件的更快响应,适合网络边缘的需求。我们提出了Galette,这是一种设备便携式SFC框架,专为sbc对物联网网络的廉价防御而设计。Galette构建在Linux的XDP工具上,以提供cpu效率高、低延迟的数据平面。由于SBC硬件设计,我们在XDP快速路径和用户区之间划分流量,以便在不损害正常流量的情况下调度昂贵的数据包分析。我们的API可以轻松编写编译成eBPF和本机代码的网络函数(NFs),同时可以跨异构sbc进行移植。测试平台评估表明,Galette比树莓派上的AF_PACKET更高效,功耗更低。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
审稿时长
4 weeks
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书