HMAC authentication for the Babel routing protocol
draft-ietf-babel-hmac-05

Document Type Active Internet-Draft (babel WG)
Last updated 2019-06-07
Replaces draft-do-babel-hmac
Stream IETF
Intended RFC status Proposed Standard
Formats plain text xml pdf html bibtex
Reviews
Stream WG state Submitted to IESG for Publication
Document shepherd Donald Eastlake
Shepherd write-up Show (last changed 2019-03-12)
IESG IESG state AD Evaluation::AD Followup
Consensus Boilerplate Yes
Telechat date
Responsible AD Martin Vigoureux
Send notices to Donald Eastlake <d3e3e3@gmail.com>
Network Working Group                                              C. Do
Internet-Draft                                            W. Kolodziejak
Obsoletes: 7298 (if approved)                              J. Chroboczek
Updates: 6126bis (if approved)         IRIF, University of Paris-Diderot
Intended status: Standards Track                            June 7, 2019
Expires: December 9, 2019

           HMAC authentication for the Babel routing protocol
                        draft-ietf-babel-hmac-05

Abstract

   This document describes a cryptographic authentication mechanism for
   the Babel routing protocol that has provisions for replay avoidance.
   This document updates RFC 6126bis and 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 December 9, 2019.

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

Do, et al.              Expires December 9, 2019                [Page 1]
Internet-Draft        HMAC authentication for Babel            June 2019

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
     1.1.  Applicability . . . . . . . . . . . . . . . . . . . . . .   3
     1.2.  Assumptions and security properties . . . . . . . . . . .   3
     1.3.  Specification of Requirements . . . . . . . . . . . . . .   4
   2.  Conceptual overview of the protocol . . . . . . . . . . . . .   4
   3.  Data Structures . . . . . . . . . . . . . . . . . . . . . . .   6
     3.1.  The Interface Table . . . . . . . . . . . . . . . . . . .   6
     3.2.  The Neighbour table . . . . . . . . . . . . . . . . . . .   6
   4.  Protocol Operation  . . . . . . . . . . . . . . . . . . . . .   7
     4.1.  HMAC computation  . . . . . . . . . . . . . . . . . . . .   7
     4.2.  Packet Transmission . . . . . . . . . . . . . . . . . . .   8
     4.3.  Packet Reception  . . . . . . . . . . . . . . . . . . . .   8
     4.4.  Expiring per-neighbour state  . . . . . . . . . . . . . .  11
   5.  Packet Format . . . . . . . . . . . . . . . . . . . . . . . .  12
     5.1.  HMAC TLV  . . . . . . . . . . . . . . . . . . . . . . . .  12
     5.2.  PC TLV  . . . . . . . . . . . . . . . . . . . . . . . . .  12
     5.3.  Challenge Request TLV . . . . . . . . . . . . . . . . . .  13
     5.4.  Challenge Reply TLV . . . . . . . . . . . . . . . . . . .  13
   6.  Security Considerations . . . . . . . . . . . . . . . . . . .  14
   7.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  15
   8.  Acknowledgments . . . . . . . . . . . . . . . . . . . . . . .  15
   9.  References  . . . . . . . . . . . . . . . . . . . . . . . . .  15
     9.1.  Normative References  . . . . . . . . . . . . . . . . . .  15
     9.2.  Informational References  . . . . . . . . . . . . . . . .  16
   Appendix A.  Incremental deployment and key rotation  . . . . . .  16
   Appendix B.  Changes from previous versions . . . . . . . . . . .  17
     B.1.  Changes since draft-ietf-babel-hmac-00  . . . . . . . . .  17
     B.2.  Changes since draft-ietf-babel-hmac-01  . . . . . . . . .  17
     B.3.  Changes since draft-ietf-babel-hmac-02  . . . . . . . . .  17
     B.4.  Changes since draft-ietf-babel-hmac-03  . . . . . . . . .  18
     B.5.  Changes since draft-ietf-babel-hmac-04  . . . . . . . . .  18
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  18

1.  Introduction

   By default, the Babel routing protocol trusts the information
   contained in every UDP datagram that it receives on the Babel port.
   An attacker can redirect traffic to itself or to a different node in
   the network, causing a variety of potential issues.  In particular,
   an attacker might:

   o  spoof a Babel packet, and redirect traffic by announcing a smaller
Show full document text