{"title":"Research on NAT Traversal Communication based on MQTT","authors":"Yisheng Tang, F. Wu, Zuolian Liu, Weijian Mai","doi":"10.1145/3456415.3457225","DOIUrl":null,"url":null,"abstract":"With the increasing numbers of clients connected to the Internet, the IPv4 address pool is nearly saturated. The industry introduces solutions of using IPv4/IPv6 dual-stack connection or NAT to mitigate the saturation. Nevertheless, these resolutions either create security issues or compromise the end-to-end communication ability. Our paper conducts research on end-to-end communication under NAT based on the MQTT protocol by subscribing and publishing messages to a particular topic. We propose a network architecture that utilizes a broker to relay the client's and the server's message, design the software implementation, and attach a sequence number into the payload of messages to resolve the shifting in MQTT's asynchronous transmission. We also evaluate the MQTT protocol's performance in variant QoS settings compared with widely used HTTP and analyze the network traffic using Wireshark, demonstrating that MQTT outperforms HTTP in 4G cellular networks. However, the developer should be aware of the lack of mature frameworks such as Django, and further research needs to be conducted.","PeriodicalId":422117,"journal":{"name":"Proceedings of the 2021 9th International Conference on Communications and Broadband Networking","volume":"27 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-02-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 2021 9th International Conference on Communications and Broadband Networking","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3456415.3457225","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2
Abstract
With the increasing numbers of clients connected to the Internet, the IPv4 address pool is nearly saturated. The industry introduces solutions of using IPv4/IPv6 dual-stack connection or NAT to mitigate the saturation. Nevertheless, these resolutions either create security issues or compromise the end-to-end communication ability. Our paper conducts research on end-to-end communication under NAT based on the MQTT protocol by subscribing and publishing messages to a particular topic. We propose a network architecture that utilizes a broker to relay the client's and the server's message, design the software implementation, and attach a sequence number into the payload of messages to resolve the shifting in MQTT's asynchronous transmission. We also evaluate the MQTT protocol's performance in variant QoS settings compared with widely used HTTP and analyze the network traffic using Wireshark, demonstrating that MQTT outperforms HTTP in 4G cellular networks. However, the developer should be aware of the lack of mature frameworks such as Django, and further research needs to be conducted.