Interoperable Domain Name System (DNS) Server Cookies
draft-sury-toorop-dnsop-server-cookies-00

Document Type Active Internet-Draft (dnsop WG)
Last updated 2019-07-22 (latest revision 2019-06-26)
Replaces draft-sury-toorop-dns-cookies-algorithms
Stream IETF
Intended RFC status Internet Standard
Formats plain text xml pdf html bibtex
Stream WG state Adopted by a WG
Document shepherd Tim Wicinski
IESG IESG state I-D Exists
Consensus Boilerplate Yes
Telechat date
Responsible AD (None)
Send notices to Tim Wicinski <tjw.ietf@gmail.com>
DNSOP Working Group                                              O. Sury
Internet-Draft                               Internet Systems Consortium
Updates: 7873 (if approved)                                    W. Toorop
Intended status: Standards Track                              NLnet Labs
Expires: December 28, 2019                               D. Eastlake 3rd
                                                  Futurewei Technologies
                                                              M. Andrews
                                             Internet Systems Consortium
                                                           June 26, 2019

         Interoperable Domain Name System (DNS) Server Cookies
               draft-sury-toorop-dnsop-server-cookies-00

Abstract

   DNS cookies, as specified in RFC 7873, are a lightweight DNS
   transaction security mechanism that provides limited protection to
   DNS servers and clients against a variety of denial-of-service and
   amplification, forgery, or cache poisoning attacks by off-path
   attackers.

   This document provides precise directions for creating Server Cookies
   so that an anycast server set including diverse implementations will
   interoperate with standard clients.

   This document updates [RFC7873]

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 28, 2019.

Sury, et al.            Expires December 28, 2019               [Page 1]
Internet-Draft               server-cookies                    June 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.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
     1.1.  Contents of this document . . . . . . . . . . . . . . . .   3
     1.2.  Definitions . . . . . . . . . . . . . . . . . . . . . . .   4
   2.  Changes to [RFC7873]  . . . . . . . . . . . . . . . . . . . .   4
   3.  Constructing a Client Cookie  . . . . . . . . . . . . . . . .   4
   4.  Constructing a Server Cookie  . . . . . . . . . . . . . . . .   5
     4.1.  The Version Sub-Field . . . . . . . . . . . . . . . . . .   5
     4.2.  The Reserved Sub-Field  . . . . . . . . . . . . . . . . .   5
     4.3.  The Timestamp Sub-Field . . . . . . . . . . . . . . . . .   5
     4.4.  The Hash Sub-Field  . . . . . . . . . . . . . . . . . . .   6
   5.  Updating the Server Secret  . . . . . . . . . . . . . . . . .   6
   6.  Cookie Algorithms . . . . . . . . . . . . . . . . . . . . . .   7
   7.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   8
   8.  References  . . . . . . . . . . . . . . . . . . . . . . . . .   8
     8.1.  Normative References  . . . . . . . . . . . . . . . . . .   8
     8.2.  Informative References  . . . . . . . . . . . . . . . . .   9
   Appendix A.  Acknowledgements . . . . . . . . . . . . . . . . . .   9
   Appendix B.  Test vectors . . . . . . . . . . . . . . . . . . . .   9
     B.1.  Learning a new Server Cookie  . . . . . . . . . . . . . .   9
     B.2.  The same client learning a renewed (fresh) Server Cookie   10
     B.3.  Another client learning a renewed Server Cookie . . . . .  11
     B.4.  IPv6 query with rolled over secret  . . . . . . . . . . .  12
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  13

1.  Introduction

   DNS cookies, as specified in [RFC7873], are a lightweight DNS
   transaction security mechanism that provides limited protection to
   DNS servers and clients against a variety of denial-of-service and
   amplification, forgery, or cache poisoning attacks by off-path
   attackers.  This document specifies a means of producing

Sury, et al.            Expires December 28, 2019               [Page 2]
Show full document text