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

Document Type Active Internet-Draft (tcpm WG)
Authors Joseph Touch  , Juhamatti Kuusisaari 
Last updated 2021-04-07
Replaces draft-touch-tcpm-ao-test-vectors
Stream Internet Engineering Task Force (IETF)
Intended RFC status (None)
Formats plain text pdf htmlized (tools) htmlized bibtex
Stream WG state WG Document
Document shepherd No shepherd assigned
IESG IESG state I-D Exists
Consensus Boilerplate Unknown
Telechat date
Responsible AD (None)
Send notices to (None)
TCPM                                                           J. Touch
Internet Draft                                   Independent consultant
Intended status: Informational                            J. Kuusisaari
Expires: October 2021                                          Infinera
                                                          April 7, 2021

                            TCP-AO Test Vectors

                  draft-ietf-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.

   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 October 7, 2021.

Copyright Notice

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

Touch                  Expires October 7, 2021                 [Page 1]
Internet-Draft           TCP-AO Test Vectors                April 2021

   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..............................4
   3. Input Test Vectors.............................................4
      3.1. TCP Connection Parameters.................................4
         3.1.1. TCP-AO parameters....................................4
         3.1.2. Active (client) side parameters......................4
         3.1.3. Passive (server) side parameters.....................5
         3.1.4. Other IP fields and options..........................5
         3.1.5. Other TCP fields and options.........................5
   4. IPv4 SHA-1 Output Test Vectors.................................5
      4.1. SHA-1 MAC (default - covers TCP options)..................6
         4.1.1. Send (client) SYN (covers options)...................6
         4.1.2. Receive (server) SYN-ACK (covers options)............6
         4.1.3. Send (client) non-SYN (covers options)...............7
         4.1.4. Receive (server) non-SYN (covers options)............7
      4.2. SHA-1 MAC (omits TCP options).............................8
         4.2.1. Send (client) SYN (omits options)....................8
         4.2.2. Receive (server) SYN-ACK (omits options).............8
         4.2.3. Send (client) non-SYN (omits options)................9
         4.2.4. Receive (server) non-SYN (omits options).............9
   5. IPv4 AES-128 Output Test Vectors..............................10
      5.1. AES MAC (default - covers TCP options)...................10
         5.1.1. Send (client) SYN (covers options)..................10
         5.1.2. Receive (server) SYN-ACK (covers options)...........11
         5.1.3. Send (client) non-SYN (covers options)..............11
         5.1.4. Receive (server) non-SYN (covers options)...........12
      5.2. AES MAC (omits TCP options)..............................12
         5.2.1. Send (client) SYN (omits options)...................12
         5.2.2. Receive (server) SYN-ACK (omits options)............13

Touch                  Expires October 7, 2021                 [Page 2]
Internet-Draft           TCP-AO Test Vectors                April 2021
Show full document text