Cargando…
Performance of the Transport Layer Security Handshake Over 6TiSCH
This paper presents a thorough comparison of the Transport Layer Security (TLS) v1.2 and Datagram TLS (DTLS) v1.2 handshake in 6TiSCH networks. TLS and DTLS play a crucial role in protecting daily Internet traffic, while 6TiSCH is a major low-power link layer technology for the IoT. In recent years,...
Autores principales: | , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
MDPI
2021
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8004032/ https://www.ncbi.nlm.nih.gov/pubmed/33801018 http://dx.doi.org/10.3390/s21062192 |
_version_ | 1783671829435514880 |
---|---|
author | Claeys, Timothy Vučinić, Mališa Watteyne, Thomas Rousseau, Franck Tourancheau, Bernard |
author_facet | Claeys, Timothy Vučinić, Mališa Watteyne, Thomas Rousseau, Franck Tourancheau, Bernard |
author_sort | Claeys, Timothy |
collection | PubMed |
description | This paper presents a thorough comparison of the Transport Layer Security (TLS) v1.2 and Datagram TLS (DTLS) v1.2 handshake in 6TiSCH networks. TLS and DTLS play a crucial role in protecting daily Internet traffic, while 6TiSCH is a major low-power link layer technology for the IoT. In recent years, DTLS has been the de-facto security protocol to protect IoT application traffic, mainly because it runs over lightweight, unreliable transport protocols, i.e., UDP. However, unlike the DTLS record layer, the handshake requires reliable message delivery. It, therefore, incorporates sequence numbers, a retransmission timer, and a fragmentation algorithm. Our goal is to study how well these mechanisms perform, in the constrained setting of 6TiSCH, compared to TCP’s reliability algorithms, relied upon by TLS. We port the mbedTLS library to OpenWSN, a 6TiSCH reference implementation, and deploy the code on the state-of-the-art OpenMote platform. We show that, when the peers use an ideal channel, the DTLS handshake uses up to 800 less and completes [Formula: see text] s faster. Nonetheless, using an unreliable communication link, the DTLS handshake duration suffers a performance penalty of roughly [Formula: see text] , while TLS’ handshake duration degrades by merely [Formula: see text]. Similarly, the number of exchanged bytes doubles for DTLS while for TLS the increase is limited to [Formula: see text]. The results indicate that IoT product developers should account for network characteristics when selecting a security protocol. Neglecting to do so can negatively impact the battery lifetime of the entire constrained network. |
format | Online Article Text |
id | pubmed-8004032 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2021 |
publisher | MDPI |
record_format | MEDLINE/PubMed |
spelling | pubmed-80040322021-03-28 Performance of the Transport Layer Security Handshake Over 6TiSCH Claeys, Timothy Vučinić, Mališa Watteyne, Thomas Rousseau, Franck Tourancheau, Bernard Sensors (Basel) Article This paper presents a thorough comparison of the Transport Layer Security (TLS) v1.2 and Datagram TLS (DTLS) v1.2 handshake in 6TiSCH networks. TLS and DTLS play a crucial role in protecting daily Internet traffic, while 6TiSCH is a major low-power link layer technology for the IoT. In recent years, DTLS has been the de-facto security protocol to protect IoT application traffic, mainly because it runs over lightweight, unreliable transport protocols, i.e., UDP. However, unlike the DTLS record layer, the handshake requires reliable message delivery. It, therefore, incorporates sequence numbers, a retransmission timer, and a fragmentation algorithm. Our goal is to study how well these mechanisms perform, in the constrained setting of 6TiSCH, compared to TCP’s reliability algorithms, relied upon by TLS. We port the mbedTLS library to OpenWSN, a 6TiSCH reference implementation, and deploy the code on the state-of-the-art OpenMote platform. We show that, when the peers use an ideal channel, the DTLS handshake uses up to 800 less and completes [Formula: see text] s faster. Nonetheless, using an unreliable communication link, the DTLS handshake duration suffers a performance penalty of roughly [Formula: see text] , while TLS’ handshake duration degrades by merely [Formula: see text]. Similarly, the number of exchanged bytes doubles for DTLS while for TLS the increase is limited to [Formula: see text]. The results indicate that IoT product developers should account for network characteristics when selecting a security protocol. Neglecting to do so can negatively impact the battery lifetime of the entire constrained network. MDPI 2021-03-21 /pmc/articles/PMC8004032/ /pubmed/33801018 http://dx.doi.org/10.3390/s21062192 Text en © 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/). |
spellingShingle | Article Claeys, Timothy Vučinić, Mališa Watteyne, Thomas Rousseau, Franck Tourancheau, Bernard Performance of the Transport Layer Security Handshake Over 6TiSCH |
title | Performance of the Transport Layer Security Handshake Over 6TiSCH |
title_full | Performance of the Transport Layer Security Handshake Over 6TiSCH |
title_fullStr | Performance of the Transport Layer Security Handshake Over 6TiSCH |
title_full_unstemmed | Performance of the Transport Layer Security Handshake Over 6TiSCH |
title_short | Performance of the Transport Layer Security Handshake Over 6TiSCH |
title_sort | performance of the transport layer security handshake over 6tisch |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8004032/ https://www.ncbi.nlm.nih.gov/pubmed/33801018 http://dx.doi.org/10.3390/s21062192 |
work_keys_str_mv | AT claeystimothy performanceofthetransportlayersecurityhandshakeover6tisch AT vucinicmalisa performanceofthetransportlayersecurityhandshakeover6tisch AT watteynethomas performanceofthetransportlayersecurityhandshakeover6tisch AT rousseaufranck performanceofthetransportlayersecurityhandshakeover6tisch AT tourancheaubernard performanceofthetransportlayersecurityhandshakeover6tisch |