Achieving Accountability and Data Integrity in Message Queuing Telemetry Transport Using Blockchain and Interplanetary File System
Open Access
- 13 July 2024
- journal article
- research article
- Published by MDPI AG in Future Internet
- Vol. 16 (7) , 246
Abstract
Ensuring accountability and integrity in MQTT communications is important for enabling several IoT applications. This paper presents a novel approach that combines blockchain technology and the interplanetary file system (IPFS) to achieve non-repudiation and data integrity in the MQTT protocol. Our solution operates in discrete temporal rounds, during which the broker constructs a Merkle hash tree (MHT) from the messages received. Then the broker publishes the root on the blockchain and the MHT itself on IPFS. This mechanism guarantees that both publishers and subscribers can verify the integrity of the message exchanged. Furthermore, the interactions with the blockchain made by the publishers and the broker ensure they cannot deny having sent the exchanged messages. We provide a detailed security analysis, showing that under standard assumptions, the proposed solution achieves both data integrity and accountability. Additionally, we provided an experimental campaign to study the scalability and the throughput of the system. Our results show that our solution scales well with the number of clients. Furthermore, from our results, it emerges that the throughput reduction depends on the integrity check operations. However, since the frequency of these checks can be freely chosen, we can set it so that the throughput reduction is negligible. Finally, we provided a detailed analysis of the costs of our solution showing that, overall, the execution costs are relatively low, especially given the critical security and accountability benefits it guarantees. Furthermore, our analysis shows that the higher the number of subscribers in the system, the lower the costs per client in our solution. Again, this confirms that our solution does not present any scalability issues.Keywords
This publication has 57 references indexed in Scilit:
- Blockchain-based cloud-fog collaborative smart home authentication schemeComputer Networks, 2024
- A protocol for anonymous short communications in social networks and its application to proximity-based servicesOnline Social Networks and Media, 2022
- A systematic review of blockchain scalability: Issues, solutions, analysis and future researchJournal of Network and Computer Applications, 2021
- MQTT protocol employing IOT based home safety system with ABE encryptionMultimedia Tools and Applications, 2020
- Elderly monitoring system in a smart city environment using LoRa and MQTTIET Wireless Sensor Systems, 2020
- ”A Novel MQTT Security framework In Generic IoT Model”Procedia Computer Science, 2020
- AES and MQTT based security system in the internet of thingsJournal of Discrete Mathematical Sciences and Cryptography, 2019
- Blockchain distributed ledger technology: An introduction and focus on smart contractsJournal of Corporate Accounting & Finance, 2019
- Internet of things: Survey on securityInformation Security Journal: A Global Perspective, 2018
- PICADOR: End-to-end encrypted Publish–Subscribe information distribution with proxy re-encryptionFuture Generation Computer Systems, 2017