Babel HMAC Cryptographic Authentication
draft-ovsienko-babel-rfc7298bis-00

Document Type Active Internet-Draft (candidate for babel WG)
Last updated 2018-03-26 (latest revision 2018-03-05)
Stream IETF
Intended RFC status (None)
Formats plain text pdf xml html bibtex
Stream WG state Call For Adoption By WG Issued
Document shepherd No shepherd assigned
IESG IESG state I-D Exists
Consensus Boilerplate Unknown
Telechat date
Responsible AD (None)
Send notices to (None)
Network Working Group                                        D. Ovsienko
Internet-Draft                                             March 5, 2018
Obsoletes: 7298 (if approved)
Intended status: Standards Track
Expires: September 6, 2018

                Babel HMAC Cryptographic Authentication
                   draft-ovsienko-babel-rfc7298bis-00

Abstract

   This document describes a cryptographic authentication mechanism for
   the Babel routing protocol.  The mechanism uses two TLV types and one
   sub-STV type for the authentication data, uses HMAC and is both
   optional and backward compatible.  This document obsoletes RFC 7298.

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 September 6, 2018.

Copyright Notice

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

Ovsienko                Expires September 6, 2018               [Page 1]
Internet-Draft   Babel HMAC Cryptographic Authentication      March 2018

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
     1.1.  Requirements Language . . . . . . . . . . . . . . . . . .   5
   2.  Cryptographic Aspects . . . . . . . . . . . . . . . . . . . .   5
     2.1.  Mandatory-to-Implement and Optional Hash Algorithms . . .   5
     2.2.  Definition of Padding . . . . . . . . . . . . . . . . . .   6
     2.3.  Cryptographic Sequence Number Specifics . . . . . . . . .   8
     2.4.  Definition of HMAC  . . . . . . . . . . . . . . . . . . .   8
   3.  Updates to Protocol Data Structures . . . . . . . . . . . . .  10
     3.1.  RxAuthRequired  . . . . . . . . . . . . . . . . . . . . .  10
     3.2.  LocalTS . . . . . . . . . . . . . . . . . . . . . . . . .  11
     3.3.  LocalPC . . . . . . . . . . . . . . . . . . . . . . . . .  11
     3.4.  MaxDigestsIn  . . . . . . . . . . . . . . . . . . . . . .  11
     3.5.  MaxDigestsOut . . . . . . . . . . . . . . . . . . . . . .  11
     3.6.  ANM Table . . . . . . . . . . . . . . . . . . . . . . . .  12
     3.7.  ANMTimeout  . . . . . . . . . . . . . . . . . . . . . . .  13
     3.8.  Sent TS/PC Numbers Table  . . . . . . . . . . . . . . . .  14
     3.9.  TSPCMaxRTT  . . . . . . . . . . . . . . . . . . . . . . .  15
     3.10. Configured Security Associations  . . . . . . . . . . . .  15
     3.11. Effective Security Associations . . . . . . . . . . . . .  17
   4.  Updates to Protocol Encoding  . . . . . . . . . . . . . . . .  18
     4.1.  Justification . . . . . . . . . . . . . . . . . . . . . .  18
     4.2.  TS/PC TLV . . . . . . . . . . . . . . . . . . . . . . . .  19
     4.3.  HMAC TLV  . . . . . . . . . . . . . . . . . . . . . . . .  20
     4.4.  TS/PC sub-TLV . . . . . . . . . . . . . . . . . . . . . .  21
   5.  Updates to Protocol Operation . . . . . . . . . . . . . . . .  22
     5.1.  Per-Interface TS/PC Number Updates  . . . . . . . . . . .  22
     5.2.  Deriving ESAs from CSAs . . . . . . . . . . . . . . . . .  24
     5.3.  Updates to Packet Sending . . . . . . . . . . . . . . . .  26
     5.4.  Updates to Packet Receiving . . . . . . . . . . . . . . .  29
     5.5.  Authentication-Specific Statistics Maintenance  . . . . .  31
   6.  Implementation Notes  . . . . . . . . . . . . . . . . . . . .  32
     6.1.  Source Address Selection for Sending  . . . . . . . . . .  32
     6.2.  Output Buffer Management  . . . . . . . . . . . . . . . .  33
     6.3.  Optimizations of ESAs Deriving  . . . . . . . . . . . . .  34
     6.4.  Security Associations Duplication . . . . . . . . . . . .  35
   7.  Network Management Aspects  . . . . . . . . . . . . . . . . .  36
     7.1.  Backward Compatibility  . . . . . . . . . . . . . . . . .  36
     7.2.  Multi-Domain Authentication . . . . . . . . . . . . . . .  36
Show full document text