TCP Usage Guidance in the Internet of Things (IoT)
draft-ietf-lwig-tcp-constrained-node-networks-01

The information below is for an old version of the document
Document Type Active Internet-Draft (lwig WG)
Last updated 2017-10-15 (latest revision 2017-08-30)
Replaces draft-gomez-lwig-tcp-constrained-node-networks
Stream IETF
Intended RFC status (None)
Formats plain text pdf html bibtex
Additional URLs
- Mailing list discussion
Stream WG state WG Document
Document shepherd No shepherd assigned
IESG IESG state I-D Exists
Consensus Boilerplate Unknown
Telechat date
Responsible AD (None)
Send notices to (None)
LWIG Working Group                                              C. Gomez
Internet-Draft                                                 UPC/i2CAT
Intended status: Informational                              J. Crowcroft
Expires: April 17, 2018                          University of Cambridge
                                                               M. Scharf
                                                                   Nokia
                                                        October 14, 2017

           TCP Usage Guidance in the Internet of Things (IoT)
            draft-ietf-lwig-tcp-constrained-node-networks-01

Abstract

   This document provides guidance on how to implement and use the
   Transmission Control Protocol (TCP) in Constrained-Node Networks
   (CNNs), which are a characterstic of the Internet of Things (IoT).
   Such environments require a lightweight TCP implementation and may
   not make use of optional functionality.  This document explains a
   number of known and deployed techniques to simplify a TCP stack as
   well as corresponding tradeoffs.  The objective is to help embedded
   developers with decisions on which TCP features to use.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at https://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on April 17, 2018.

Copyright Notice

   Copyright (c) 2017 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (https://trustee.ietf.org/license-info) in effect on the date of

Gomez, et al.            Expires April 17, 2018                 [Page 1]
Internet-Draft                 TCP in IoT                   October 2017

   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Conventions used in this document . . . . . . . . . . . . . .   4
   3.  Characteristics of CNNs relevant for TCP  . . . . . . . . . .   4
     3.1.  Network and link properties . . . . . . . . . . . . . . .   4
     3.2.  Usage scenarios . . . . . . . . . . . . . . . . . . . . .   4
     3.3.  Communication and traffic patterns  . . . . . . . . . . .   5
   4.  TCP over CNNs . . . . . . . . . . . . . . . . . . . . . . . .   6
     4.1.  TCP connection initiation . . . . . . . . . . . . . . . .   6
     4.2.  Maximum Segment Size (MSS)  . . . . . . . . . . . . . . .   6
     4.3.  Window Size . . . . . . . . . . . . . . . . . . . . . . .   7
     4.4.  RTO estimation  . . . . . . . . . . . . . . . . . . . . .   8
     4.5.  TCP connection lifetime . . . . . . . . . . . . . . . . .   8
       4.5.1.  Long TCP connection lifetime  . . . . . . . . . . . .   8
       4.5.2.  Short TCP connection lifetime . . . . . . . . . . . .   9
     4.6.  Explicit congestion notification  . . . . . . . . . . . .   9
     4.7.  TCP options . . . . . . . . . . . . . . . . . . . . . . .  10
     4.8.  Delayed Acknowledgments . . . . . . . . . . . . . . . . .  11
     4.9.  Explicit loss notifications . . . . . . . . . . . . . . .  11
   5.  Security Considerations . . . . . . . . . . . . . . . . . . .  12
   6.  Acknowledgments . . . . . . . . . . . . . . . . . . . . . . .  12
   7.  Annex. TCP implementations for constrained devices  . . . . .  12
     7.1.  uIP . . . . . . . . . . . . . . . . . . . . . . . . . . .  12
     7.2.  lwIP  . . . . . . . . . . . . . . . . . . . . . . . . . .  13
     7.3.  RIOT  . . . . . . . . . . . . . . . . . . . . . . . . . .  13
     7.4.  OpenWSN . . . . . . . . . . . . . . . . . . . . . . . . .  14
     7.5.  TinyOS  . . . . . . . . . . . . . . . . . . . . . . . . .  14
     7.6.  Summary . . . . . . . . . . . . . . . . . . . . . . . . .  14
   8.  Annex. Changes compared to previous versions  . . . . . . . .  15
     8.1.  Changes compared to -00 . . . . . . . . . . . . . . . . .  15
   9.  References  . . . . . . . . . . . . . . . . . . . . . . . . .  16
     9.1.  Normative References  . . . . . . . . . . . . . . . . . .  16
Show full document text