TCP-AO Test Vectors
draft-touch-tcpm-ao-test-vectors-00

Document Type Active Internet-Draft (individual)
Last updated 2020-06-11
Stream (None)
Intended RFC status (None)
Formats plain text pdf htmlized (tools) htmlized bibtex
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
TCPM                                                           J. Touch
Internet Draft                                   Independent consultant
Intended status: Informational                            J. Kuusisaari
Expires: December 2020                                         Infinera
                                                          June 11, 2020

                            TCP-AO Test Vectors

                  draft-touch-tcpm-ao-test-vectors-00.txt

Status of this Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79. This document may not be modified,
   and derivative works of it may not be created, except to format it
   for publication as an RFC or to translate it into languages other
   than English.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF), its areas, and its working groups.  Note that
   other groups may also distribute working documents as Internet-
   Drafts.

   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."

   The list of current Internet-Drafts can be accessed at
   http://www.ietf.org/ietf/1id-abstracts.txt

   The list of Internet-Draft Shadow Directories can be accessed at
   http://www.ietf.org/shadow.html

   This Internet-Draft will expire on December 11, 2020.

Copyright Notice

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

Touch                 Expires December 11, 2020                [Page 1]
Internet-Draft           TCP-AO Test Vectors                 June 2020

   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.

Abstract

   This document provides test vectors to validate implementations of
   the two mandatory authentication algorithms specified for the TCP
   Authentication Option over both IPv4 and IPv6. This includes
   validation of the key derivation function (KDF) based on a set of
   test connection parameters as well as validation of the message
   authentication code (MAC). Vectors are provided for both currently
   required pairs of KDF and MAC algorithms: one based on SHA-1 and the
   other on AES-128. The vectors also validate both whole TCP segments
   as well as segments whose options are excluded for NAT traversal.

Table of Contents

   1. Introduction...................................................3
   2. Conventions used in this document..............................3
   3. Background.....................................................3
   4. Input Test Vectors.............................................4
      4.1. TCP Connection Parameters.................................4
         4.1.1. TCP-AO parameters....................................4
         4.1.2. Active (client) side parameters......................4
         4.1.3. Passive (server) side parameters.....................4
         4.1.4. Other IP fields and options..........................4
         4.1.5. Other TCP fields and options.........................5
   5. IPv4 SHA-1 Output Test Vectors.................................5
      5.1. SHA-1 MAC (default - covers TCP options)..................5
         5.1.1. Send (client) SYN (covers options)...................5
         5.1.2. Receive (server) SYN-ACK (covers options)............6
         5.1.3. Send (client) non-SYN (covers options)...............6
         5.1.4. Receive (server) non-SYN (covers options)............7
      5.2. SHA-1 MAC (omits TCP options).............................7
         5.2.1. Send (client) SYN (omits options)....................7
         5.2.2. Receive (server) SYN-ACK (omits options).............8
         5.2.3. Send (client) non-SYN (omits options)................8
         5.2.4. Receive (server) non-SYN (omits options).............9
   6. IPv4 AES-128 Output Test Vectors...............................9
      6.1. AES MAC (default - covers TCP options)....................9
         6.1.1. Send (client) SYN (covers options)...................9
         6.1.2. Receive (server) SYN-ACK (covers options)...........10
         6.1.3. Send (client) non-SYN (covers options)..............10

Touch                 Expires December 11, 2020                [Page 2]
Internet-Draft           TCP-AO Test Vectors                 June 2020
Show full document text