在正常操作和DoS攻击下,广泛使用的具有大有效负载的MQTT协议的性能评估

Eric Gamess, Trent N. Ford, Monica A. Trifas
{"title":"在正常操作和DoS攻击下,广泛使用的具有大有效负载的MQTT协议的性能评估","authors":"Eric Gamess, Trent N. Ford, Monica A. Trifas","doi":"10.1145/3409334.3452067","DOIUrl":null,"url":null,"abstract":"The Internet of Things (IoT) is the term coined to encompass the myriad of devices that have some data processing and transmitting capabilities. Due to the increasing number of IoT devices connected to the Internet, network protocols intended for IoT technology have gained interest. This paper analyzes the performance of one of the most popular ones, named MQTT (Message Queuing Telemetry Transport), focused on Mosquitto, a widely used implementation. Our principal metric is the transmission time, defined as the time it takes a message to pass from one client through the broker to another client, since MQTT uses a publish/subscribe model with a broker. We evaluate different scenarios against some base configurations to give a firm comparison on how different factors affect the performance of an MQTT system based on Mosquitto, for payload sizes ranging from 512 to 1,048,576 bytes. For example, we assess how different network technologies (Ethernet, WiFi in the 2.4 GHz and 5 GHz bands) and QoS levels may yield better results at different message payload sizes. We also make a broker software comparison, evaluating Mosquitto against ActiveMQ and RabbitMQ. Our experiments exhibited similar results, with a slight advantage for RabbitMQ. Finally, we provide measurements on how DoS attacks can affect the Mosquitto broker, by flooding it with illegal MQTT petitions or making a TCP SYN flood attack. The goal of this study is to help MQTT implementers in making adequate decisions when selecting the different hardware and software solutions, for their MQTT systems.","PeriodicalId":148741,"journal":{"name":"Proceedings of the 2021 ACM Southeast Conference","volume":"345 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-04-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"6","resultStr":"{\"title\":\"Performance evaluation of a widely used implementation of the MQTT protocol with large payloads in normal operation and under a DoS attack\",\"authors\":\"Eric Gamess, Trent N. Ford, Monica A. Trifas\",\"doi\":\"10.1145/3409334.3452067\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The Internet of Things (IoT) is the term coined to encompass the myriad of devices that have some data processing and transmitting capabilities. Due to the increasing number of IoT devices connected to the Internet, network protocols intended for IoT technology have gained interest. This paper analyzes the performance of one of the most popular ones, named MQTT (Message Queuing Telemetry Transport), focused on Mosquitto, a widely used implementation. Our principal metric is the transmission time, defined as the time it takes a message to pass from one client through the broker to another client, since MQTT uses a publish/subscribe model with a broker. We evaluate different scenarios against some base configurations to give a firm comparison on how different factors affect the performance of an MQTT system based on Mosquitto, for payload sizes ranging from 512 to 1,048,576 bytes. For example, we assess how different network technologies (Ethernet, WiFi in the 2.4 GHz and 5 GHz bands) and QoS levels may yield better results at different message payload sizes. We also make a broker software comparison, evaluating Mosquitto against ActiveMQ and RabbitMQ. Our experiments exhibited similar results, with a slight advantage for RabbitMQ. Finally, we provide measurements on how DoS attacks can affect the Mosquitto broker, by flooding it with illegal MQTT petitions or making a TCP SYN flood attack. The goal of this study is to help MQTT implementers in making adequate decisions when selecting the different hardware and software solutions, for their MQTT systems.\",\"PeriodicalId\":148741,\"journal\":{\"name\":\"Proceedings of the 2021 ACM Southeast Conference\",\"volume\":\"345 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-04-15\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"6\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings of the 2021 ACM Southeast Conference\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/3409334.3452067\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 2021 ACM Southeast Conference","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3409334.3452067","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 6

摘要

物联网(IoT)是一个术语,用来涵盖具有一定数据处理和传输能力的无数设备。由于连接到互联网的物联网设备越来越多,用于物联网技术的网络协议引起了人们的兴趣。本文分析了最流行的MQTT(消息队列遥测传输)的性能,重点分析了蚊虫,这是一个广泛使用的实现。我们的主要指标是传输时间,定义为消息从一个客户机通过代理传递到另一个客户机所花费的时间,因为MQTT使用带有代理的发布/订阅模型。我们针对一些基本配置评估了不同的场景,以比较不同因素如何影响基于mosquito的MQTT系统的性能,负载大小范围从512到1,048,576字节。例如,我们评估了不同的网络技术(以太网,2.4 GHz和5 GHz频段的WiFi)和QoS级别如何在不同的消息有效负载大小下产生更好的结果。我们还对代理软件进行了比较,将mosquito与ActiveMQ和RabbitMQ进行了比较。我们的实验显示了类似的结果,RabbitMQ稍微有一点优势。最后,我们提供了DoS攻击如何影响mosquito - to代理的度量方法,方法是用非法MQTT请求或进行TCP SYN泛洪攻击。本研究的目的是帮助MQTT实现者在为其MQTT系统选择不同的硬件和软件解决方案时做出适当的决策。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Performance evaluation of a widely used implementation of the MQTT protocol with large payloads in normal operation and under a DoS attack
The Internet of Things (IoT) is the term coined to encompass the myriad of devices that have some data processing and transmitting capabilities. Due to the increasing number of IoT devices connected to the Internet, network protocols intended for IoT technology have gained interest. This paper analyzes the performance of one of the most popular ones, named MQTT (Message Queuing Telemetry Transport), focused on Mosquitto, a widely used implementation. Our principal metric is the transmission time, defined as the time it takes a message to pass from one client through the broker to another client, since MQTT uses a publish/subscribe model with a broker. We evaluate different scenarios against some base configurations to give a firm comparison on how different factors affect the performance of an MQTT system based on Mosquitto, for payload sizes ranging from 512 to 1,048,576 bytes. For example, we assess how different network technologies (Ethernet, WiFi in the 2.4 GHz and 5 GHz bands) and QoS levels may yield better results at different message payload sizes. We also make a broker software comparison, evaluating Mosquitto against ActiveMQ and RabbitMQ. Our experiments exhibited similar results, with a slight advantage for RabbitMQ. Finally, we provide measurements on how DoS attacks can affect the Mosquitto broker, by flooding it with illegal MQTT petitions or making a TCP SYN flood attack. The goal of this study is to help MQTT implementers in making adequate decisions when selecting the different hardware and software solutions, for their MQTT systems.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
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学术文献互助群
群 号:481959085
Book学术官方微信