arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2601.07536cs.CRcs.NI
收藏

面向协议的P4管道用于边缘物联网系统的MQTT安全性和异常缓解

A Protocol-Aware P4 Pipeline for MQTT Security and Anomaly Mitigation in Edge IoT Systems

Nara Institute of Science and Technology (NAIST)(奈良先端科学技术大学院大学);University of Information Technology(信息技术大学);Vietnam National University(越南国立大学)

Bui Ngoc Thanh Binh, Pham Hoai Luan, Le Vu Trung Duong, Vu Tuan Hai, Yasuhiko Nakashima

AI总结:

本文提出基于P4的边缘物联网系统MQTT安全与异常缓解方案,通过协议感知技术实现高效的数据平面过滤,提升边缘安全性能。

摘要:

MQTT是物联网部署中占主导地位的轻量级发布-订阅协议,但边缘安全仍不够充分。基于云的入侵检测系统会增加延迟,这不适合实时控制,而CPU密集型防火墙和通用SDN控制器缺乏MQTT意识,无法强制执行会话验证、基于主题的授权和行为异常检测。我们提出了一种基于P4的数据平面执行方案,用于在网络边缘实现协议感知的MQTT安全性和异常检测。该设计结合了解析安全的MQTT标头提取与会话顺序验证,字节级主题前缀授权与每客户端速率限制和软上限执行,并基于KeepAlive和Remaining Length筛选的轻量级异常检测,结合克隆到CPU的诊断。该方案利用BMv2中的状态化原语(寄存器、计数器、直接计数器)以实现运行时策略适应,同时保持极低的每包延迟。在Mininet/BMv2测试床上的实验显示,高政策执行准确性(99.8%,在95%置信区间内),强异常检测灵敏度(98%的真正阳性率),以及高交付率(100-5~kpps时99.9%,10~kpps时99.8%,16~kpps时99.6%),每包延迟低于毫秒。这些结果表明,协议感知的MQTT过滤可以在可编程数据平面中高效实现,为边缘物联网安全提供了实用的基础。未来的工作将在生产P4硬件上验证该设计,并整合基于机器学习的阈值适应。

英文摘要:

MQTT is the dominant lightweight publish--subscribe protocol for IoT deployments, yet edge security remains inadequate. Cloud-based intrusion detection systems add latency that is unsuitable for real-time control, while CPU-bound firewalls and generic SDN controllers lack MQTT awareness to enforce session validation, topic-based authorization, and behavioral anomaly detection. We propose a P4-based data-plane enforcement scheme for protocol-aware MQTT security and anomaly detection at the network edge. The design combines parser-safe MQTT header extraction with session-order validation, byte-level topic-prefix authorization with per-client rate limiting and soft-cap enforcement, and lightweight anomaly detection based on KeepAlive and Remaining Length screening with clone-to-CPU diagnostics. The scheme leverages stateful primitives in BMv2 (registers, meters, direct counters) to enable runtime policy adaptation with minimal per-packet latency. Experiments on a Mininet/BMv2 testbed demonstrate high policy enforcement accuracy (99.8%, within 95% CI), strong anomaly detection sensitivity (98\% true-positive rate), and high delivery >99.9% for 100--5~kpps; 99.8% at 10~kpps; 99.6\% at 16~kpps) with sub-millisecond per-packet latency. These results show that protocol-aware MQTT filtering can be efficiently realized in the programmable data plane, providing a practical foundation for edge IoT security. Future work will validate the design on production P4 hardware and integrate machine learning--based threshold adaptation.

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

↑