Distributed Node Consensus Protocol
draft-ietf-homenet-dncp-08

The information below is for an old version of the document
Document Type Active Internet-Draft (homenet WG)
Last updated 2015-07-29 (latest revision 2015-07-21)
Stream IETF
Intended RFC status Proposed Standard
Formats plain text pdf html bibtex
Stream WG state Submitted to IESG for Publication
Document shepherd Mark Townsley
Shepherd write-up Show (last changed 2015-06-05)
IESG IESG state Waiting for Writeup
Consensus Boilerplate Unknown
Telechat date
Responsible AD Terry Manderson
Send notices to homenet-chairs@ietf.org, draft-ietf-homenet-dncp@ietf.org, draft-ietf-homenet-dncp.shepherd@ietf.org, draft-ietf-homenet-dncp.ad@ietf.org, "Mark Townsley" <mark@townsley.net>
IANA IANA review state IANA - Not OK
IANA action state None
Homenet Working Group                                        M. Stenberg
Internet-Draft                                                  S. Barth
Intended status: Standards Track                             Independent
Expires: January 22, 2016                                  July 21, 2015

                  Distributed Node Consensus Protocol
                       draft-ietf-homenet-dncp-08

Abstract

   This document describes the Distributed Node Consensus Protocol
   (DNCP), a generic state synchronization protocol that uses Trickle
   and hash trees.  DNCP is an abstract protocol, that must be combined
   with a specific profile to make a complete implementable protocol.

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 http://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 January 22, 2016.

Copyright Notice

   Copyright (c) 2015 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
   (http://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
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Stenberg & Barth        Expires January 22, 2016                [Page 1]
Internet-Draft     Distributed Node Consensus Protocol         July 2015

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
   2.  Terminology . . . . . . . . . . . . . . . . . . . . . . . . .   3
     2.1.  Requirements Language . . . . . . . . . . . . . . . . . .   6
   3.  Overview  . . . . . . . . . . . . . . . . . . . . . . . . . .   6
   4.  Operation . . . . . . . . . . . . . . . . . . . . . . . . . .   7
     4.1.  Hash Tree . . . . . . . . . . . . . . . . . . . . . . . .   7
     4.2.  Data Transport  . . . . . . . . . . . . . . . . . . . . .   7
     4.3.  Trickle-Driven Status Updates . . . . . . . . . . . . . .   8
     4.4.  Processing of Received TLVs . . . . . . . . . . . . . . .   9
     4.5.  Adding and Removing Peers . . . . . . . . . . . . . . . .  11
     4.6.  Data Liveliness Validation  . . . . . . . . . . . . . . .  12
   5.  Data Model  . . . . . . . . . . . . . . . . . . . . . . . . .  13
   6.  Optional Extensions . . . . . . . . . . . . . . . . . . . . .  14
     6.1.  Keep-Alives . . . . . . . . . . . . . . . . . . . . . . .  15
       6.1.1.  Data Model Additions  . . . . . . . . . . . . . . . .  15
       6.1.2.  Per-Endpoint Periodic Keep-Alives . . . . . . . . . .  16
       6.1.3.  Per-Peer Periodic Keep-Alives . . . . . . . . . . . .  16
       6.1.4.  Received TLV Processing Additions . . . . . . . . . .  16
       6.1.5.  Peer Removal  . . . . . . . . . . . . . . . . . . . .  16
     6.2.  Support For Dense Broadcast Links . . . . . . . . . . . .  16
   7.  Type-Length-Value Objects . . . . . . . . . . . . . . . . . .  17
     7.1.  Request TLVs  . . . . . . . . . . . . . . . . . . . . . .  18
       7.1.1.  Request Network State TLV . . . . . . . . . . . . . .  18
       7.1.2.  Request Node State TLV  . . . . . . . . . . . . . . .  19
     7.2.  Data TLVs . . . . . . . . . . . . . . . . . . . . . . . .  19
       7.2.1.  Node Endpoint TLV . . . . . . . . . . . . . . . . . .  19
       7.2.2.  Network State TLV . . . . . . . . . . . . . . . . . .  19
       7.2.3.  Node State TLV  . . . . . . . . . . . . . . . . . . .  20
     7.3.  Data TLVs within Node State TLV . . . . . . . . . . . . .  21
       7.3.1.  Peer TLV  . . . . . . . . . . . . . . . . . . . . . .  21
       7.3.2.  Keep-Alive Interval TLV . . . . . . . . . . . . . . .  21
   8.  Security and Trust Management . . . . . . . . . . . . . . . .  22
     8.1.  Pre-Shared Key Based Trust Method . . . . . . . . . . . .  22
     8.2.  PKI Based Trust Method  . . . . . . . . . . . . . . . . .  22
     8.3.  Certificate Based Trust Consensus Method  . . . . . . . .  22
       8.3.1.  Trust Verdicts  . . . . . . . . . . . . . . . . . . .  23
       8.3.2.  Trust Cache . . . . . . . . . . . . . . . . . . . . .  24
       8.3.3.  Announcement of Verdicts  . . . . . . . . . . . . . .  24
Show full document text