Constrained Application Protocol (CoAP) Hop-Limit Option
draft-ietf-core-hop-limit-06

Document Type Active Internet-Draft (core WG)
Last updated 2019-10-08 (latest revision 2019-09-27)
Replaces draft-boucadair-core-hop-limit
Stream IETF
Intended RFC status Proposed Standard
Formats plain text xml pdf htmlized bibtex
Reviews
Stream WG state Submitted to IESG for Publication
Document shepherd Jaime Jimenez
Shepherd write-up Show (last changed 2019-09-10)
IESG IESG state IESG Evaluation
Consensus Boilerplate Yes
Telechat date On agenda of 2019-10-17 IESG telechat
Needs 5 more YES or NO OBJECTION positions to pass.
Responsible AD Alexey Melnikov
Send notices to Jaime Jimenez <jaime@iki.fi>
IANA IANA review state IANA OK - Actions Needed
CORE                                                        M. Boucadair
Internet-Draft                                                    Orange
Intended status: Standards Track                                T. Reddy
Expires: March 30, 2020                                           McAfee
                                                              J. Shallow
                                                      September 27, 2019

        Constrained Application Protocol (CoAP) Hop-Limit Option
                      draft-ietf-core-hop-limit-06

Abstract

   The presence of Constrained Application Protocol (CoAP) proxies may
   lead to infinite forwarding loops, which is undesirable.  To prevent
   and detect such loops, this document specifies the Hop-Limit CoAP
   option.

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 March 30, 2020.

Copyright Notice

   Copyright (c) 2019 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
   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

Boucadair, et al.        Expires March 30, 2020                 [Page 1]
Internet-Draft            CoAP Hop Limit Option           September 2019

   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
     1.1.  Intended Usage  . . . . . . . . . . . . . . . . . . . . .   2
   2.  Terminology . . . . . . . . . . . . . . . . . . . . . . . . .   3
   3.  Hop-Limit Option  . . . . . . . . . . . . . . . . . . . . . .   3
   4.  Debugging & Troubleshooting . . . . . . . . . . . . . . . . .   5
   5.  HTTP-Mapping Considerations . . . . . . . . . . . . . . . . .   5
   6.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   6
     6.1.  CoAP Response Code  . . . . . . . . . . . . . . . . . . .   6
     6.2.  CoAP Option Number  . . . . . . . . . . . . . . . . . . .   6
   7.  Security Considerations . . . . . . . . . . . . . . . . . . .   7
   8.  Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .   7
   9.  References  . . . . . . . . . . . . . . . . . . . . . . . . .   7
     9.1.  Normative References  . . . . . . . . . . . . . . . . . .   7
     9.2.  Informative References  . . . . . . . . . . . . . . . . .   8
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .   8

1.  Introduction

   More and more applications are using the Constrained Application
   Protocol (CoAP) [RFC7252] as a communication protocol between
   involved application agents.  For example,
   [I-D.ietf-dots-signal-channel] specifies how CoAP is used as a
   signaling protocol between domains under distributed denial-of-
   service (DDoS) attacks and DDoS mitigation providers.  In such
   contexts, a CoAP client can communicate directly with a server or
   indirectly via proxies.

   When multiple proxies are involved, infinite forwarding loops may be
   experienced (e.g., routing misconfiguration, policy conflicts).  To
   prevent such loops, this document defines a new CoAP option, called
   Hop-Limit (Section 3).  Also, the document defines a new CoAP
   Response Code (Section 6.1) to report loops together with relevant
   diagnostic information to ease troubleshooting (Section 4).

1.1.  Intended Usage

   The Hop-Limit option has originally been designed for a specific use
   case [I-D.ietf-dots-signal-channel].  However, its intended usage is
   general: CoAP proxies that do not have specific knowledge that proxy
   forwarding loops are avoided in some other way, are expected to
   implement this option and have it enabled by default.

Boucadair, et al.        Expires March 30, 2020                 [Page 2]
Internet-Draft            CoAP Hop Limit Option           September 2019

   Note that this means that a server that receives requests both via
   proxies and directly from clients may see otherwise identical
Show full document text