arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2606.11035cs.SE
收藏

GapFuzz: 面向分布式SDN控制器的跨平面分歧模糊测试

GapFuzz: Cross-Plane Divergence Fuzzing for Distributed SDN Controllers

SnT, University of Luxembourg(卢森堡大学 SnT);Cheikh H. KANE Digital University(谢赫·哈·卡恩数字大学)

Moustapha Awwalou Diouf, Samuel Ouya, Jacques Klein, Tegawendé F. Bissyandé

AI总结:

提出GapFuzz,通过注入矛盾北向请求并重构跨平面状态,检测分布式SDN集群中因异步复制导致的控制-数据平面分歧,在ONOS 2.7上81.7%尝试产生分歧。

摘要:

分布式软件定义网络(SDN)集群在主节点及其备份之间异步复制流状态,留下一个窗口,在此期间两个备份节点可以各自提交一条矛盾的规则,主节点可以将两者序列化到数据平面,并且内核数据路径可以锁定在一个没有节点认为权威的动作上。现有的SDN模糊测试器未能发现此故障:它们将预言限制在控制平面,针对单个控制器,或者不引导并发以引发复制竞争。我们提出GapFuzz,一个用于分布式SDN集群的有状态并发模糊测试器。GapFuzz在两个非主节点上注入一对矛盾的北向请求,并控制注入间延迟Δt,通过查询每个副本以及通过ovs-appctl ofproto/trace查询内核数据路径动作来重建全局跨平面状态。两阶段时序搜索检测是否存在分歧,然后对Δt进行加倍和二分以界定注入时间窗口;生命周期探测将每个判定标记为瞬态或持久,并将其分配给从ONOS 2.7源代码派生的四个跨平面状态类别之一。在一个三节点ONOS 2.7集群上,GapFuzz在81.7%的尝试中产生分歧判定(N=50,Wilson 95% CI [77.3, 85.4]%);每个分歧都位于集群的权威状态和内核数据路径之间。第二阶段将一个模板的5 ms竞争窗口与六个其他模板的加倍机制(Δt_max=10.24 s)分开,并且99.4%的分歧持续超过30秒。将内核数据路径探测替换为先前模糊测试器使用的OpenFlow用户空间探测,整体检测率下降26.6个百分点,在排除规范化强制判定后下降46.5个百分点。

英文摘要:

Distributed Software-Defined Networking (SDN) clusters replicate flow state asynchronously between a master node and its backups, leaving a window during which two backup nodes can each commit a contradictory rule, the master can serialize both into the data plane, and the kernel datapath can latch onto an action that no node believes authoritative. Existing SDN fuzzers miss this fault: they confine their oracle to the control plane, target a single controller, or do not steer concurrency to provoke replication races. We present GapFuzz, a stateful concurrency fuzzer for distributed SDN clusters. GapFuzz injects pairs of contradictory Northbound requests on two non-master nodes with controlled inter-injection delay $Δt$, and reconstructs the global cross-plane state by querying every replica and the kernel-datapath action through ovs-appctl ofproto/trace. A two-phase timing search detects whether a divergence exists, then doubles and bisects on $Δt$ to bound the injection-time window; a lifetime probe labels each verdict transient or persistent and assigns it to one of four cross-plane state classes derived from the ONOS 2.7 source. On a three-node ONOS 2.7 cluster, GapFuzz produces a divergent verdict in 81.7% of attempts ($N=50$, Wilson 95% CI $[77.3, 85.4]$%); every divergence sits between the cluster's authoritative state and the kernel datapath. Phase 2 separates a 5 ms race window for one template from a doubling-cap regime ($Δt_{\max}=10.24$ s) for six others, and 99.4% of divergences persist past 30 s. Replacing the kernel-datapath probe with the OpenFlow user-space probe used by prior fuzzers drops detection by 26.6 percentage points overall and by 46.5 points after excluding canonicalization-forced verdicts.

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

↑