Energy Consumption for Securing Lightweight IoT Protocols

Forskningsoutput: Kapitel i bok/rapport/Conference proceedingKonferenspaper i proceeding

Standard

Energy Consumption for Securing Lightweight IoT Protocols. / Nikbakht Bideh, Pegah; Sönnerup, Jonathan; Hell, Martin.

The 10th International Conference on the Internet of Things (IoT 2020). Association for Computing Machinery (ACM), 2020. 16.

Forskningsoutput: Kapitel i bok/rapport/Conference proceedingKonferenspaper i proceeding

Harvard

Nikbakht Bideh, P, Sönnerup, J & Hell, M 2020, Energy Consumption for Securing Lightweight IoT Protocols. i The 10th International Conference on the Internet of Things (IoT 2020)., 16, Association for Computing Machinery (ACM). https://doi.org/10.1145/3410992.3411008

APA

Nikbakht Bideh, P., Sönnerup, J., & Hell, M. (2020). Energy Consumption for Securing Lightweight IoT Protocols. I The 10th International Conference on the Internet of Things (IoT 2020) [16] Association for Computing Machinery (ACM). https://doi.org/10.1145/3410992.3411008

CBE

Nikbakht Bideh P, Sönnerup J, Hell M. 2020. Energy Consumption for Securing Lightweight IoT Protocols. I The 10th International Conference on the Internet of Things (IoT 2020). Association for Computing Machinery (ACM). Article 16. https://doi.org/10.1145/3410992.3411008

MLA

Nikbakht Bideh, Pegah, Jonathan Sönnerup, och Martin Hell "Energy Consumption for Securing Lightweight IoT Protocols". The 10th International Conference on the Internet of Things (IoT 2020). Association for Computing Machinery (ACM). 2020. https://doi.org/10.1145/3410992.3411008

Vancouver

Nikbakht Bideh P, Sönnerup J, Hell M. Energy Consumption for Securing Lightweight IoT Protocols. I The 10th International Conference on the Internet of Things (IoT 2020). Association for Computing Machinery (ACM). 2020. 16 https://doi.org/10.1145/3410992.3411008

Author

Nikbakht Bideh, Pegah ; Sönnerup, Jonathan ; Hell, Martin. / Energy Consumption for Securing Lightweight IoT Protocols. The 10th International Conference on the Internet of Things (IoT 2020). Association for Computing Machinery (ACM), 2020.

RIS

TY - GEN

T1 - Energy Consumption for Securing Lightweight IoT Protocols

AU - Nikbakht Bideh, Pegah

AU - Sönnerup, Jonathan

AU - Hell, Martin

PY - 2020

Y1 - 2020

N2 - In this paper we address the energy consumption of the Constraint Application Protocol (CoAP) and the Message Queue Telemetry Transport (MQTT) protocol and compare their overhead. We also pay attention to the use case of security in IoT and analyze the energy consumption when using TLS/DTLS for the two protocols. In our experiments we use ESP32 with libcoap, MQTT, and mbed TLS libraries and conduct real-world measurements using Otii, a high precision voltage and current measurement tool. While the particular numbers are implementation and hardware dependent, we can still make interesting observations. For data transfer, we find that aggregating data to larger packets can significantly reduce the energy consumption. We also find that AES-CCM8 seems slightly more efficient than other modes of operation. In comparison, the DTLS handshake for setting up the secure connection is very expensive, and also very dependent on security level and algorithm choices.For firmware updates, AES-CCM8 is again slightly better than the alternatives, but the differences between CoAP and MQTT are much more significant, favoring MQTT due to the use of the retransmission support in TCP. This is also evident in lossy networks, where MQTT saves up to 91% energy compared to CoAP at 20% loss rate. Finally, we find that energy consumption in CoAP can to some extent be reduced in lossy networks by modifying the retransmission timeout.

AB - In this paper we address the energy consumption of the Constraint Application Protocol (CoAP) and the Message Queue Telemetry Transport (MQTT) protocol and compare their overhead. We also pay attention to the use case of security in IoT and analyze the energy consumption when using TLS/DTLS for the two protocols. In our experiments we use ESP32 with libcoap, MQTT, and mbed TLS libraries and conduct real-world measurements using Otii, a high precision voltage and current measurement tool. While the particular numbers are implementation and hardware dependent, we can still make interesting observations. For data transfer, we find that aggregating data to larger packets can significantly reduce the energy consumption. We also find that AES-CCM8 seems slightly more efficient than other modes of operation. In comparison, the DTLS handshake for setting up the secure connection is very expensive, and also very dependent on security level and algorithm choices.For firmware updates, AES-CCM8 is again slightly better than the alternatives, but the differences between CoAP and MQTT are much more significant, favoring MQTT due to the use of the retransmission support in TCP. This is also evident in lossy networks, where MQTT saves up to 91% energy compared to CoAP at 20% loss rate. Finally, we find that energy consumption in CoAP can to some extent be reduced in lossy networks by modifying the retransmission timeout.

KW - CoAP

KW - MQTT

KW - Energy Consumption

KW - Security Overhead

KW - IoT

U2 - 10.1145/3410992.3411008

DO - 10.1145/3410992.3411008

M3 - Paper in conference proceeding

SN - 978-1-4503-8758-3

BT - The 10th International Conference on the Internet of Things (IoT 2020)

PB - Association for Computing Machinery (ACM)

ER -