Visual Editor for Streamlining P4-based Programmable Parser Development

M. Sidiq, Mega Pranata, A. Basuki
{"title":"Visual Editor for Streamlining P4-based Programmable Parser Development","authors":"M. Sidiq, Mega Pranata, A. Basuki","doi":"10.1109/COMNETSAT53002.2021.9530834","DOIUrl":null,"url":null,"abstract":"P4 language enables new protocol development for advanced networking tasks such as dynamic monitoring, custom tunneling & routing, in-switch attack detection, and soon. Nevertheless, developing a P4 program is challenging for those who either lacking programming skills or advanced networking. This paper proposed a visual editor to ease the development of P4-based programmable parser which is the first and fundamental step in P4 development. The editor offers two functionalities, the creation of custom protocols & protocols parser, and code generation for testing purposes. For evaluations, we run a compatibility test to ensure that P4-switch can parse any packet using bit-by-bit extraction defined by the programmable parser. We develop custom protocols having the same bit structure as the standard protocols, such as Ethernet, IP, TCP, UDP, and MPLS, but use different naming. The result showed that the receiver recognized the custom protocols as the standard ones since the P4-switch treat them based on their bit structure. At last, the proposed program can ease and speed up the development of P4-based parser by providing visual editor, and network tester generator.","PeriodicalId":148136,"journal":{"name":"2021 IEEE International Conference on Communication, Networks and Satellite (COMNETSAT)","volume":"36 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-07-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 IEEE International Conference on Communication, Networks and Satellite (COMNETSAT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/COMNETSAT53002.2021.9530834","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

P4 language enables new protocol development for advanced networking tasks such as dynamic monitoring, custom tunneling & routing, in-switch attack detection, and soon. Nevertheless, developing a P4 program is challenging for those who either lacking programming skills or advanced networking. This paper proposed a visual editor to ease the development of P4-based programmable parser which is the first and fundamental step in P4 development. The editor offers two functionalities, the creation of custom protocols & protocols parser, and code generation for testing purposes. For evaluations, we run a compatibility test to ensure that P4-switch can parse any packet using bit-by-bit extraction defined by the programmable parser. We develop custom protocols having the same bit structure as the standard protocols, such as Ethernet, IP, TCP, UDP, and MPLS, but use different naming. The result showed that the receiver recognized the custom protocols as the standard ones since the P4-switch treat them based on their bit structure. At last, the proposed program can ease and speed up the development of P4-based parser by providing visual editor, and network tester generator.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
简化基于p4的可编程解析器开发的可视化编辑器
P4语言支持为高级网络任务开发新协议,如动态监控、自定义隧道和路由、交换机内攻击检测等。然而,对于那些缺乏编程技能或高级网络的人来说,开发P4程序是一项挑战。本文提出了一个可视化编辑器来简化基于P4的可编程解析器的开发,这是P4开发的第一步也是最基本的一步。编辑器提供了两个功能,创建自定义协议和协议解析器,以及用于测试目的的代码生成。对于评估,我们运行兼容性测试,以确保P4-switch可以使用可编程解析器定义的逐位提取来解析任何数据包。我们开发的自定义协议具有与标准协议(如以太网、IP、TCP、UDP和MPLS)相同的位结构,但使用不同的命名。结果表明,由于p4交换机根据自定义协议的位结构对其进行处理,因此接收端可以将自定义协议识别为标准协议。最后,该程序通过提供可视化编辑器和网络测试器生成器,简化和加快了基于p4的解析器的开发。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Minimizing the additional costs due to Router Outage in IP-over-EON using Adaptive Routing Cloud-RAN And Coverage Gap in Rural Areas Solar Cell Based Integrated Sensor System Monitoring on Smart IoT Steganalysis of Adaptive Image Steganography using Convolution Neural Network and Blocks Selection Real-time Signboards using Panels P5 RGB and NodeMCU esp8266 with Library PxMatrix
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1