亲爱的研友该休息了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!身体可是革命的本钱,早点休息,好梦!

RIBDetector: an RFC-guided Inconsistency Bug Detecting Approach for Protocol Implementations

实施 计算机科学 协议(科学) 网络数据包 杠杆(统计) 互操作性 软件错误 分布式计算 计算机网络 程序设计语言 操作系统 软件 机器学习 医学 病理 替代医学
作者
Jingting Chen,Feng Li,Mingjie Xu,Jianhua Zhou,Wei Huo
标识
DOI:10.1109/saner53432.2022.00081
摘要

The implementations of network protocols must comply with rules described in their Request For Comments (RFC) Standards. Developers' misunderstanding or negligence of RFCs may bring in inconsistency bugs, which could further cause incorrect behaviors, interoperability issues, or critical security implications. Detecting such bugs is difficult as they usually result in silent erroneous effect. Prior work on RFC-directed inconsistency bug detection usually deal with a certain protocol or ad-hoc properties in RFCs. In this paper, we present RIBDetector, an approach focusing on statically and efficiently locating inconsistency bugs that could be triggered by hand-crafted network packets in protocol implementations. Given an implementation, its corresponding RFCs and a user-provided configuration file, our approach automatically extracts rules about packet format, state transition and error handling from RFCs into a uniform format which dictates condition checks that must be performed before taking particular operations. Then we leverage common programming conventions to identify corresponding locations of the conditions and operations in implementations and use a light-weight predominator-based algorithm to detect violations of RFC rules. We implemented a prototype of RIBDetector and demonstrated its efficacy by applying it on 14 implementations of 5 network protocols. For implementations varying in size from 1.5 to 141.3 KLOC, RIBDetector consumes 17.57 seconds on average to finish its analysis. We have detected 23 new inconsistency bugs, 6 of which are confirmed and fixed by developers.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
spolo完成签到,获得积分10
1秒前
顶顶顶发布了新的文献求助10
6秒前
7秒前
英姑应助艺玲采纳,获得10
15秒前
慢波完成签到,获得积分10
21秒前
Astra完成签到,获得积分10
22秒前
24秒前
不一样的烟火完成签到,获得积分10
26秒前
Loey完成签到,获得积分10
26秒前
艺玲发布了新的文献求助10
27秒前
HopeLee完成签到,获得积分10
30秒前
六六完成签到,获得积分10
40秒前
强壮的美女完成签到,获得积分10
45秒前
WULAVIVA完成签到,获得积分10
48秒前
美好傲蕾完成签到,获得积分10
49秒前
TheGreat完成签到,获得积分10
50秒前
典雅思真完成签到,获得积分10
51秒前
davidzheng完成签到,获得积分10
52秒前
orixero应助Jason Z采纳,获得10
53秒前
仇敌克星完成签到,获得积分10
53秒前
SYY完成签到,获得积分10
53秒前
mycn完成签到,获得积分10
54秒前
54秒前
百世经纶一页书完成签到,获得积分10
55秒前
benlaron完成签到,获得积分10
56秒前
直率的尔烟完成签到,获得积分10
56秒前
秋风之墩完成签到,获得积分10
58秒前
求求了给篇文献完成签到,获得积分10
58秒前
1分钟前
健忘的珩完成签到 ,获得积分10
1分钟前
孤央完成签到 ,获得积分10
1分钟前
fomo完成签到,获得积分0
1分钟前
慕青应助直率的尔烟采纳,获得10
1分钟前
朴素傲松完成签到,获得积分10
1分钟前
慕青应助huan采纳,获得10
1分钟前
万能图书馆应助优雅听露采纳,获得10
1分钟前
1分钟前
spicyfish完成签到,获得积分10
1分钟前
江流儿完成签到,获得积分10
1分钟前
1分钟前
高分求助中
GL 2 A method for assessing the in-place cleanability of food processing equipment, Fourth Edition, December 2023 3000
Annie Ernaux: De la perte au corps glorieux 600
Writing Systems 500
Understanding Modeling and Simulation of Polymerization Reactions 400
Invited Discussant 63O and 64O 400
A revision of Limenitis helmanni and its related species (Nymphalidae) from Central and South China 400
Direct and Iterative Linear System Solvers 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6825802
求助须知:如何正确求助?哪些是违规求助? 8538125
关于积分的说明 18170537
捐赠科研通 6163000
什么是DOI,文献DOI怎么找? 3034967
关于科研通互助平台的介绍 2016717
邀请新用户注册赠送积分活动 2011927