TCPM Working Group                                   O. Bonaventure Bonaventure, Ed.
Internet-Draft                                                  Tessares
Intended status: Experimental                          M. Boucadair Boucadair, Ed.
Expires: August 20, September 6, 2018                                        Orange
                                                              B. Peirens
                                                                Proximus
                                                                  S. Seo
                                                           Korea Telecom
                                                            A. Nandugudi
                                                                Tessares
                                                       February 16,
                                                      Memphis University
                                                          March 05, 2018

                       0-RTT TCP Converter
                     draft-ietf-tcpm-converters-00 Convert Protocol
                     draft-ietf-tcpm-converters-01

Abstract

   This document specifies an application proxy, called Transport
   Converter, to assist the deployment of TCP extensions such as
   Multipath TCP.  This proxy is designed to avoid inducing extra delay
   when involved in a network-
   assisted network-assisted connection (that is, 0-RTT).
   This specification assumes an explicit model, where the proxy is
   explicitly configured on hosts.

   -- Editorial Note (To be removed by RFC Editor)

   Please update these statements with the RFC number to be assigned to
   this document:
   [This-RFC]

   Please update TBA statements with the port number to be assigned to
   the Converter Protocol.

Status of this 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 http://datatracker.ietf.org/drafts/current/. 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 August 20, 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
   (http://trustee.ietf.org/license-info)
   (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  . . . . . . . . . . . . . . . . . . . . . . . . .   3
   2.  Applicability Scope  Requirements  . . . . . . . . . . . . . . . . . . . . . . . .   5
   3.  Architecture  . . . . . . . . . . . . . . . . . . . . . . . . .  6   5
     3.1.  Sample Examples of Converter-Assisted Multipath TCP
           Connections  . . .  Functional Elements . . . . . . . . . . . . . . . . . . . .  9   5
     3.2.  Sample Example  Theory of Incoming Converter-Assisted
           Multipath TCP Connection . . Operation . . . . . . . . . . . . . . . 11
     3.3.  Differences with SOCKSv5 . . . .   7
     3.3.  Sample Examples of Outgoing Converter-Assisted Multipath
           TCP Connections . . . . . . . . . . . . . 12
   4.  The Converter Protocol . . . . . . . .  10
     3.4.  Sample Example of Incoming Converter-Assisted Multipath
           TCP Connection  . . . . . . . . . . . . 15
     4.1.  Requirements . . . . . . . . .  11
   4.  The Converter Protocol (Convert)  . . . . . . . . . . . . . . 15
     4.2.  12
     4.1.  The Convert Fixed Header  . . . . . . . . . . . . . . . . . . . . . 15
     4.3.  Transport Converter  12
     4.2.  Convert TLVs  . . . . . . . . . . . . . . . . . 16
       4.3.1.  Connect TLV  . . . . . .  13
       4.2.1.  Generic Convert TLV Format  . . . . . . . . . . . . .  13
       4.2.2.  Summary of Supported Convert TLVs . . 16
       4.3.2.  Extended TCP Header TLV . . . . . . . .  14
       4.2.3.  The Bootstrap TLV . . . . . . . 18
       4.3.3.  Error TLV . . . . . . . . . . .  15
       4.2.4.  Supported TCP Extension Services TLV  . . . . . . . .  15
       4.2.5.  Connect TLV . . . 19
       4.3.4.  The Bootstrap TLV . . . . . . . . . . . . . . . . . . 21
       4.3.5.  Supported  16
       4.2.6.  Extended TCP Options Header TLV . . . . . . . . . . . . . . 22
   5.  Interactions with middleboxes  . . .  17
       4.2.7.  Error TLV . . . . . . . . . . . . . 23
   6.  Security Considerations . . . . . . . . .  18
   5.  Compatibility of Specific TCP Options with the Conversion
       Service . . . . . . . . . . 24
     6.1.  Privacy & Ingress Filtering . . . . . . . . . . . . . . . 24
     6.2.  Authorization . .  21
     5.1.  Base TCP Options  . . . . . . . . . . . . . . . . . . . . 24
     6.3.  Denial of Service  21
     5.2.  Window Scale (WS) . . . . . . . . . . . . . . . . . . . . 24
     6.4.  Traffic Theft  21
     5.3.  Selective Acknowledgements  . . . . . . . . . . . . . . .  22
     5.4.  Timestamp . . . . . . . 25
     6.5.  Multipath TCP-specific Considerations . . . . . . . . . . 25
   7.  IANA Considerations . . . . . . .  22
     5.5.  Multipath TCP . . . . . . . . . . . . . . 27
   8.  Acknowledgements . . . . . . . .  23
     5.6.  TCP Fast Open . . . . . . . . . . . . . . . 28
     8.1.  Contributors . . . . . . .  23
     5.7.  TCP User Timeout  . . . . . . . . . . . . . . . . 28
   9.  References . . . .  23
     5.8.  TCP-AO  . . . . . . . . . . . . . . . . . . . . . . 29
     9.1.  Normative References . . .  24
     5.9.  TCP Experimental Options  . . . . . . . . . . . . . . . . 29
     9.2.  Informative References  24
   6.  Interactions with Middleboxes . . . . . . . . . . . . . . . .  24
   7.  Security Considerations . . 29
   Authors' Addresses . . . . . . . . . . . . . . . . .  25
     7.1.  Privacy & Ingress Filtering . . . . . . . 33

1.  Introduction

   Transport protocols like TCP evolve regularly [RFC7414].  TCP has
   been improved in different ways.  Some improvements such as changing
   the initial window size or modifying the congestion control scheme
   can be applied independently on clients and servers.  Other
   improvements such as Selective Acknowledgements [RFC2018] or large
   windows [RFC7323] require a new TCP option or to change the semantics
   of some fields in the TCP header.  These modifications must be
   deployed on both clients and servers to be actually used on the
   Internet.  Experience with the latter TCP extensions reveals that
   their deployment can require many years.  Fukuda reports in
   [Fukuda2011] results of a decade of measurements showing the
   deployment of Selective Acknowledgements, Window Scale and TCP
   Timestamps.  Trammel et al. provide in [ANRW17] measurements showing
   that TCP Fast Open [RFC7413] (TFO) is still not widely deployed.

   There are some situations where the transport stack used on clients
   (resp. servers) can be upgraded at a faster pace than the transport
   stack running on servers (resp. clients).  In those situations,
   clients would typically want to benefit from the features of an
   improved transport protocol even if the servers have not yet been
   upgraded and conversely.  In the past, Performance Enhancing Proxies
   have been proposed and deployed [RFC3135] as solutions to improve TCP
   performance over links with specific characteristics.

   Recent examples . . . . . . . .  25
     7.2.  Authorization . . . . . . . . . . . . . . . . . . . . . .  25
     7.3.  Denial of TCP extensions include Multipath TCP [RFC6824] or
   TCPINC [I-D.ietf-tcpinc-tcpcrypt].  Those extensions provide features
   that are interesting for clients such as wireless devices.  With Service . . . . . . . . . . . . . . . . . . . .  25
     7.4.  Traffic Theft . . . . . . . . . . . . . . . . . . . . . .  26
     7.5.  Multipath TCP, those devices could seamlessly use WLAN and cellular
   networks, for bonding purposes, faster handovers, or better
   resiliency.  Unfortunately, deploying those extensions on both a wide
   range of clients and servers remains difficult.

   This document specifies an application proxy, called Transport
   Converter (TC).  A Transport Converter is a function that is
   installed by a network operator to aid the deployment of TCP
   extensions and to provide the benefits of such extensions to clients.
   A Transport Converter supports one or more TCP extensions.  The
   Converter Protocol (CP) is an application layer protocol that uses a
   TCP port number (see TCP-specific Considerations . . . . . . . . . .  26
   8.  IANA section). Considerations . . . . . . . . . . . . . . . . . . . . .  27
     8.1.  Convert Service Port Number . . . . . . . . . . . . . . .  27
     8.2.  The Transport Converter adheres
   to the main principles as drawn in [RFC1919].  In particular, the Converter achieves the following:

   o  Listen for client sessions;

   o  Receive from a client the address of the final target server;
   o  Setup Protocol (Convert) Parameters . . . . . . .  27
       8.2.1.  Convert Versions  . . . . . . . . . . . . . . . . . .  27
       8.2.2.  Convert TLVs  . . . . . . . . . . . . . . . . . . . .  28
       8.2.3.  Convert Error Messages  . . . . . . . . . . . . . . .  28
   9.  Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .  29
     9.1.  Contributors  . . . . . . . . . . . . . . . . . . . . . .  30
   10. Change Log  . . . . . . . . . . . . . . . . . . . . . . . . .  30
   11. References  . . . . . . . . . . . . . . . . . . . . . . . . .  30
     11.1.  Normative References . . . . . . . . . . . . . . . . . .  30
     11.2.  Informative References . . . . . . . . . . . . . . . . .  31
   Appendix A.  Differences with SOCKSv5 . . . . . . . . . . . . . .  34
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  36

1.  Introduction

   Transport protocols like TCP evolve regularly [RFC7414].  TCP has
   been improved in different ways.  Some improvements such as changing
   the initial window size [RFC6928] or modifying the congestion control
   scheme can be applied independently on clients and servers.  Other
   improvements such as Selective Acknowledgements [RFC2018] or large
   windows [RFC7323] require a new TCP option or to change the semantics
   of some fields in the TCP header.  These modifications must be
   deployed on both clients and servers to be actually used on the
   Internet.  Experience with the latter TCP extensions reveals that
   their deployment can require many years.  [Fukuda2011] reports
   results of a decade of measurements showing the deployment of
   Selective Acknowledgements, Window Scale and TCP Timestamps.
   [ANRW17] describes measurements showing that TCP Fast Open [RFC7413]
   (TFO) is still not widely deployed.

   There are some situations where the transport stack used on clients
   (resp. servers) can be upgraded at a faster pace than the transport
   stack running on servers (resp.  clients).  In those situations,
   clients would typically want to benefit from the features of an
   improved transport protocol even if the servers have not yet been
   upgraded and conversely.  In the past, Performance Enhancing Proxies
   have been proposed and deployed [RFC3135] as solutions to improve TCP
   performance over links with specific characteristics.

   Recent examples of TCP extensions include Multipath TCP
   [RFC6824][I-D.ietf-mptcp-rfc6824bis] or TCPINC
   [I-D.ietf-tcpinc-tcpcrypt].  Those extensions provide features that
   are interesting for clients such as wireless devices.  With Multipath
   TCP, those devices could seamlessly use WLAN and cellular networks,
   for bonding purposes, faster handovers, or better resiliency.
   Unfortunately, deploying those extensions on both a wide range of
   clients and servers remains difficult.

   More recently, experimentation of 5G bonding, which has very scarce
   coverage, has been conducted into global range of the incumbent 4G
   (LTE) connectivity in newly devised clients using Multipath TCP
   proxy.  Even if the 5G and the 4G bonding by using Multipath TCP
   increases the bandwidth to data transfer, it is as well crucial to
   minimize latency for all the way between endhosts regardless of
   whether intermediate nodes are inside or ouside of the mobile core.
   In order to handle uRLLC (Ultra-Reliable Low-Latency Communication)
   for the next generation mobile network, Multipath TCP and its proxy
   mechanism must be optimized to reduce latency.

   This document specifies an application proxy, called Transport
   Converter.  A Transport Converter is a function that is installed by
   a network operator to aid the deployment of TCP extensions and to
   provide the benefits of such extensions to clients.  A Transport
   Converter may support conversion service for one or more TCP
   extensions.  This service is provided by means of the Converter
   Protocol (Convert), that is an application layer protocol which uses
   TBA TCP port number (Section 8).

   The Transport Converter adheres to the main principles as drawn in
   [RFC1919].  In particular, the Converter achieves the following:

   o  Listen for client sessions;

   o  Receive from a client the address of the final target server;

   o  Setup a session to the final server;

   o  Relay control messages and data between the client and the server;

   o  Perform access controls according to local policies.

   The main advantage of network-assisted Converters is that they enable
   new TCP extensions to be used on a subset of the end-to-end path,
   which encourages the deployment of these extensions.  The Transport
   Converter allows the client and the server to directly negotiate TCP
   options.

   The Convert Protocol is a generic mechanism to provide 0-RTT
   conversion service.  As a sample applicability use case, this
   document specifies how the Convert Protocol applies for Multiptah
   TCP.  It is out of scope of this document to provide a comprehensive
   list of potential all conversion services; separate documents may be
   edited in the future for other conversion services upon need.

   This document does not assume that all the traffic is eligible to the
   network-assisted conversion service.  Only a session subset of the traffic
   will be forwarded to a Converter according to a set of policies.
   Furthermore, it is possible to bypass the final server; Converter to connect to the
   servers that already support the required TCP extension.

   This document assumes that a client is configured with one or a list
   of Converters.  Configuration means are outside the scope of this
   document.

   This document is organized as follows.  We first provide a brief
   explanation of the operation of Transport Converters in Section 3.
   We describe the Converter Protocol in Section 4.  We discuss in
   Section 5 how Transport Converters can be used to support different
   TCP options.  We then discuss the interactions with middleboxes
   (Section 6) and the security considerations (Section 7).

   Appendix A provides a comparison with SOCKS proxies that are already
   used to deploy Multipath TCP in some cellular networks.

2.  Requirements

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
   "OPTIONAL" in this document are to be interpreted as described in
   [RFC2119] [RFC8174] when, and only when, they appear in all capitals,
   as shown here.

3.  Architecture

3.1.  Functional Elements

   The architecture considers three types of endhosts:

   o  Relay control messages  Client endhosts;

   o  Transport Converters;

   o  Server endhosts.

   A Transport Converter is a network function that relays all data
   exchanged over one upstream connection to one downstream connection
   and vice versa (Figure 1).  The Converter, thus, maintains state that
   associates one upstream connection to a corresponding downstream
   connection.

   A connection can be initiated from both sides of the Transport
   Converter (Internet-facing interface, client-facing interface).

                        +------------+
      <--- upstream --->| Transport  |<--- downstream --->
                        | Converter  |
                        +------------+

     Figure 1: A Transport Converter relays data between pairs of TCP
                                connections

   Transport Converters can be operated by network operators or third
   parties.  Nevertheless, this document focuses on the single
   administrative deployment case where the entity offering the
   connectivity service to a client is also the entity which owns and
   operates the server;

   o  Perform access controls according to local policies.

   The main advantage of network-assisted converters Transport Converter.

   A Transport Converter can be embedded in a standalone device or be
   activated as a service on a router.  How such function is enabled is
   deployment-specific (Figure 2).

                 +-+    +-+    +-+
       Client -  |R| -- |R| -- |R| - - -  Server
                 +-+    +-+    +-+
                         |
                     Transport
                     Converter

     Figure 2: A Transport Converter can be installed anywhere in the
                                  network

   The architecture assumes that they enable new TCP extensions to software will be used installed on a subset of the end-to-end path,
   which encourages
   Client hosts and on Transport Converters.  Further, the deployment architecture
   allows for making use of these extensions. TCP new extensions if those are supported by
   a given server.

   The Transport
   Converter allows Client is configured, through means that are outside the client and scope of
   this document, with the server to directly negotiate some
   options between names and/or the endpoints.  This document focuses on Multipath
   TCP [RFC6824] and TCP Fast Open [RFC7413]. addresses of one or more
   Transport Converters.

   The support for other TCP
   extensions will be discussed in other documents.

   This document architecture does not assume mandate anything on the server side.

   One of the benefits of this design is that all different transport
   protocol extensions can be used on the upstream and the traffic is eligible to downstream
   connections.  This encourages the
   network-assisted conversion service.  Only a subset deployment of the traffic
   will be forwarded to a converter according to new TCP extensions
   until they are widely supported by servers.

3.2.  Theory of Operation

   At a set high level, the objective of policies.
   Furthermore, it the Transport Converter is possible to bypass allow
   the converter to connect Client to the
   servers that already support the required TCP extension.

   This document assumes that use a client is configured with one or specific extension, e.g.  Multipath TCP, on a list
   subset of transport converters.  Configuration means are outside the scope
   of end-to-end path even if the Server does not support
   this document. extension.  This document is organized as follows.  We first provide a brief
   explanation of the operation of Transport Converters in Section 3.
   We compare them illustrated in Section 3.3 with SOCKS proxies that are already
   used to deploy Figure 3 where the Client
   initiates a Multipath TCP in cellular networks [IETFJ16].  We then
   describe connection with the Converter Protocol in Section 4.  We then discuss (Multipath
   packets are shown with "===") while the
   interactions Converter uses a regular TCP
   connection with middleboxes (Section 5) the Server.

   The packets belonging to the pair of connections between the Client
   and Server passing through a Transport Converter may follow a
   different path than the security
   considerations (Section 6).

2.  Applicability Scope

   This specification is designed with Multipath TCP
   [RFC6824][I-D.ietf-mptcp-rfc6824bis] packets directly exchanged between the Client
   and TCP Fast Open [RFC7413] in
   mind.  That is, the specification draws how network-assisted Server.  Deployments should minimize the possible additional
   delay by carefully selecting the location of the Transport Converter
   used to reach a given destination.

                            Transport
   Client                   Converter                       Server
        ======================>

                                    -------------------->

                                    <--------------------

        <======================
          Multipath TCP connections packets      Regular TCP packets

   Figure 3: Different TCP variants can be established even if used on the remote
   server is not Multipath TCP-capable without inducing extra connection
   delays (0-RTT proxy).  Further, Client-Converter
                   path and on the specification allows Converter-Server path

   When establishing a connection, the client
   for end-to-end Multipath Client can, depending on local
   policies, either contact the Server directly (e.g., by sending a TCP connections with
   SYN towards the Server) or without proxy
   involvement.  Assessing create the applicability of connection via a Transport
   Converter.  In the solution to other
   use cases and other TCP extensions such as [I-D.ietf-tcpinc-tcpcrypt] latter case, which is outside the scope of case we consider in this document.  Future documents are required
   to specify the exact behavior when
   document, the converter is deployed in other
   contexts than Multipath TCP.

3.  Architecture

   The architecture considers three types of endhosts:

   o Client endhosts;

   o initiates a connection towards the Transport Converters;

   o
   Converter and indicates the IP address and port number of the
   ultimate Server endhosts.

   It does not mandate anything on inside the server side. connection establishment packet.  Doing so
   enables the Transport Converter to immediately initiate a connection
   towards that Server, without experiencing an extra delay.  The architecture
   assumes
   Transport Converter waits until the confirmation that new software will be installed on the Client hosts Server
   agrees to establish the connection before confirming it to the
   Client.

   The client places the destination address and
   on Transport Converters.  Further, port number of the architecture allows for making
   use
   target Server in the payload of TCP new extensions if those are supported the SYN sent to the Converter by a given server.

   A
   leveraging TCP Fast Open [RFC7413].  In accordance with [RFC1919],
   the Transport Converter is a network function maintains two connections that relays all data
   exchanged over one are combined
   together:

   o  the upstream connection to is the one between the Client and the
      Transport Converter.

   o  the downstream connection is between the Transport Converter and vice versa.  A connection can be initiated from both interfaces
   of
      the transport converter (Internet-facing interface, client-facing
   interface).  The converter, thus, maintains state that associates one
   upstream connection to a corresponding downstream connection.  One of remote Server.

   Any user data received by the benefits of this design is that different transport protocol
   extensions can be used on Transport Converter over the upstream and
   (resp., downstream) connection is relayed over the downstream
   connections.  This encourages (resp.,
   upstream) connection.

   Figure 4 illustrates the deployment establishment of new a TCP extensions
   until they are supported connection by many servers.

                        +------------+
      <--- upstream --->| the
   Client through a Transport  |<--- downstream --->
                        | Converter.  The information shown between
   brackets is part of the Converter  |
                        +------------+

     Figure 1: A Protocol described later in this
   document.

                            Transport
   Client                   Converter relays data between pairs                       Server
        -------------------->
         SYN TFO [->Server:port]

                                    -------------------->
                                             SYN

                                    <--------------------
                                            SYN+ACK
        <--------------------
          SYN+ACK [ ]

      Figure 4: Establishment of a TCP
                                connections

   Transport converters can be operated by network operators or third
   parties. connection through a Converter

   The Client is configured, through means that are outside
   the scope of this document, with sends a SYN destined to the names and/or Transport Converter.  This SYN
   contains a TFO cookie and inside its payload the addresses and ports
   of
   one or more Transport Converters. the destination Server.  The packets belonging Transport Converter does not reply
   immediately to this SYN.  It first tries to create a TCP connection
   towards the pair
   of connections between destination Server.  If this second connection succeeds,
   the Client and Server passing through a Transport Converter may follow a different path than confirms the packets
   directly exchanged between establishment of
   the connection to the Client by returning a SYN+ACK and the Server.  Deployments
   should minimize first
   bytes of the possible additional delay by carefully selecting bytestream contain information about the location TCP options
   that were negotiated with the final Server.  This information is sent
   at the beginning of the Transport Converter used to reach a given
   destination.

   A transport converter can be embedded bytestream, either directly in a standalone device the SYN+ACK or be
   activated as a service on
   in a router.  How such function is enabled is
   deployement-specific.

                 +-+    +-+    +-+
       Client -  |R| -- |R| -- |R| - - -  Server
                 +-+    +-+    +-+
                         |
                     Transport
                     Converter

     Figure 2: A Transport subsequent packet.  For graphical reasons, the figures in this
   section show that the Converter can be installed anywhere returns this information in the
                                  network

   When establishing
   SYN+ACK packet.  An implementation could also place this information
   in a connection, packet that it sent shortly after the Client can, depending on local
   policies, either contact SYN+ACK.

   The connection can also be established from the Server directly (e.g., by sending a TCP
   SYN Internet towards a
   Client via a Transport Converter.  This is typically the Server) or create case when
   the connection via Client embeds a server (video server, for example).

   The procedure described in Figure 4 assumes that the Client has
   obtained a TFO cookie from the Transport Converter.  In  This is part of
   the latter case, Bootstrap procedure which is illustrated in Figure 5.  The Client
   sends a SYN with a TFO request option to obtain a valid cookie from
   the case we consider Converter.  The Converter replies with a TFO cookie in the
   SYN+ACK.  Once this
   document, connection has been established, the Client initiates sends
   a connection towards the Transport
   Converter and indicates Bootstrap message to request the address and port number list of the ultimate
   Server inside the connection establishment packet.  Doing so enables TCP options for which the
   Transport Converter to immediately initiate provides a conversion service.

                            Transport
   Client                   Converter                       Server
        -------------------->
         SYN TFO(empty)

        <--------------------
          SYN+ACK TFO(cookie)

        -------------------->
            [Bootstrap]

        <--------------------
          [Supported TCP Extension Services]

   Figure 5: Bootstrapping a Client connection towards
   that Server, without experiencing an extra delay.  The to a Transport Converter waits until the confirmation

   Note that the Server agrees Converter may rely on local policies to
   establish the connection before confirming decide whether
   it to can service a given requesting Client.  That is, the Converter
   will not return a cookie for that Client.

   The client places  How such policies are
   supplied to the destination address and port number Converter are out of scope.

   Also, the
   target Server Converter may behave in a cookie-less mode when appropriate
   means are enforced at the payload of Converter and the SYN sent network in-between to
   protect against attacks such as spoofing and SYN flood.  Under such
   deployments, the Converter by
   leveraging use of TFO is not required.

3.3.  Sample Examples of Outgoing Converter-Assisted Multipath TCP Fast Open [RFC7413].  In accordance with [RFC1919],
      Connections

   As an example (Figure 6), let us consider how the Transport Converter maintains two connections that are combined
   together.  The upstream connection is Convert protocol
   can help the one between deployment of Multipath TCP [RFC6824].  We assume that
   both the Client and the Transport Converter.  The downstream Converter support Multipath TCP,
   but consider two different cases depending whether the Server
   supports Multipath TCP or not.  A Multipath TCP connection is between the
   Transport Converter and the remote Server.  Any user data received created
   by placing the Transport Converter over MP_CAPABLE (MPC) option in the upstream (resp., downstream)
   connection is relayed over SYN sent by the downstream (resp., upstream)
   connection.

   At a high level, Client.

   Figure 6 describes the objective operation of the Transport Converter is to allow
   the Client to use a specific extension, e.g.  Multipath TCP, on a
   subset of the end-to-end path even if the
   Server does not support
   this extension.  This is illustrated in Multipath TCP.

                            Transport
   Client                   Converter                    Server
        -------------------->
        SYN, MPC [->Server:port]

                                    -------------------->
                                          SYN, MPC

                                    <--------------------
                                            SYN+ACK
        <--------------------
          SYN+ACK,MPC [ ]

        -------------------->
            ACK,MPC
                                    -------------------->
                                             ACK

      Figure 3 where the 6: Establishment of a Multipath TCP connection through a
                                 Converter

   The Client
   initiates tries to initiate a Multipath TCP connection by sending a
   SYN with the Converter (Multipath
   packets are shown with =) while MP_CAPABLE option (MPC in Figure 6).  The SYN includes
   the address and port number of the final Server and the Transport
   Converter uses attempts to initiate a regular Multipath TCP connection towards
   this Server.  Since the Server does not support Multipath TCP, it
   replies with a SYN+ACK that does not contain the Server. MP_CAPABLE option.
   The Transport
   Client Converter notes that the connection with the Server
        ======================>

                                    -------------------->

                                    <--------------------

        <======================
   does not support Multipath TCP packets      Regular TCP packets

   Figure 3: Different TCP variants can be used on the Client-Converter
                   path and on the Converter-Server path

   Figure 4 illustrates returns the establishment of a TCP connection by options received
   from the
   Client through a Transport Converter.  The information shown between
   brackets is part of Server to the Converter protocol described later in this
   document.

   The Client sends Client.

   Figure 7 considers a SYN destined Server that supports Multipath TCP.  In this
   case, it replies to the Transport Converter.  This SYN
   contains a TFO Cookie and inside its payload the addresses and ports
   of sent by the destination Server.  The Transport Converter does not reply
   immediately to this SYN.  It first tries to create a TCP connection
   towards with the destination Server.  If
   MP_CAPABLE option.  Upon reception of this second connection succeeds, SYN+ACK, the Transport
   Converter confirms the establishment of the connection to the Client by returning a SYN+ACK
   and indicates to the first bytes of Client that the
   bytestream contain information about Server supports Multipath TCP.
   With this information, the TCP Options Client has discovered that were
   negotiated with the final Server. Server
   supports Multipath TCP natively.  This information is sent at will enable it to bypass the
   beginning of
   Transport Converter for the bytestream, either directly next Multipath TCP connection that it
   will initiate towards this Server.

                            Transport
   Client                   Converter                       Server
        -------------------->
        SYN, MPC [->Server:port]

                                    -------------------->
                                          SYN, MPC

                                    <--------------------
                                            SYN+ACK, MPC
        <--------------------
          SYN+ACK, MPC [ MPC supported ]

        -------------------->
            ACK, MPC
                                    -------------------->
                                             ACK, MPC

      Figure 7: Establishment of a Multipath TCP connection through a
                                 converter

3.4.  Sample Example of Incoming Converter-Assisted Multipath TCP
      Connection

   An example of an incoming Converter-assisted Multipath TCP connection
   is depicted in Figure 8.  In order to support incoming connections
   from remote hosts, the SYN+ACK or in a
   subsequent packet.  For graphical reasons, Client may use PCP [RFC6887] to instruct the figures in this
   section show that
   Converter to create dynamic mappings.  Those mappings will be used by
   the Converter returns this information in to intercept an incoming TCP connection destined to the SYN+
   ACK packet.  An implementation could also place this information in a
   packet that
   Client and convert it sent shortly after the SYN+ACK. into a Multipath TCP connection.

                        Transport
   Client               Converter                       Server
        -------------------->
         SYN TFO [->Server:port]

                                    -------------------->                       Remote Host
                                   <-------------------
                                     SYN

                                    <--------------------
                                            SYN+ACK
        <--------------------

        <-------------------
       SYN, MPC[Remote Host:port]

        --------------------->
               SYN+ACK, MPC
                                   --------------------->
                                           SYN+ACK [ ]

                                   <---------------------
                                              ACK
        <-------------------
                 ACK, MPC

      Figure 4: 8: Establishment of a an Incoming TCP connection Connection through a
                                 Converter

4.  The connection can also be established from the Internet towards a
   client via a transport converter. Converter Protocol (Convert)

   This is typically the case when section describes in details the client embeds messages that are exchanged
   between a server (video server, Client and a Transport Converter.  The Converter Protocol
   (Convert, for example). short) leverages the TCP Fast Open extension [RFC7413].

   The procedure described in Figure 4 assumes Converter Protocol uses a 32 bits long fixed header that is sent
   by both the Client has
   obtained a TFO Cookie from and the Transport Converter.  This is part of header
   indicates both the Bootstrap procedure which is illustrated in Figure 5.  The Client
   sends a SYN with a TFO Request option to obtain a valid cookie from version of the Converter.  The Converter replies with a TFO cookie in protocol used and the SYN+
   ACK.  Once this connection has been established, length of the Client sends a
   Bootstrap message
   Convert message.

4.1.  The Convert Fixed Header

   The Fixed Header is used to request exchange information about the list version
   and length of TCP options supported by the
   Transport Converter.  Thanks to this procedure, messages between the Client knows
   which TCP options are supported by a given Transport Converter.

                            Transport
   Client                   Converter                       Server
        -------------------->
         SYN TFO(empty)

        <--------------------
          SYN+ACK TFO(cookie)

        -------------------->
            [Bootstrap]

        <--------------------
          [Supported TCP Options]

   Figure 5: Bootstrapping a Client connection to a Transport Converter

   Note that the Converter may rely on local policies to decide whether
   it can service a given requesting client.  That is, and the Converter may
   not return a cookie for that client.

   Also, Transport
   Converter.

   The Client and the Transport Converter may behave MUST send the fixed-sized
   header shown in a Cookie-less mode when appropriate
   means are enforced at Figure 9 as the converter and first four bytes of the network in-between to
   protect against attacks such bytestream.

                           1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +---------------+---------------+-------------------------------+
      |  Version      |  Total Length |          Unassigned           |
      +---------------+---------------+-------------------------------+

        Figure 9: The fixed-sized header of the Converter protocol

   The Version is encoded as spoofing an 8 bits unsigned integer value.  This
   document specifies version 1.  Version 0 is reserved by this document
   and SYN flood.  Under such
   deployments, the use of TFO MUST NOT be used.

   The Total Length is not required.

3.1.  Sample Examples the number of Converter-Assisted Multipath TCP Connections

   As an example, let us consider how such a protocol can help 32 bits word, including the
   deployment header,
   of Multipath TCP [RFC6824].  We assume the bytestream that both are consumed by the
   Client and Converter protocol
   messages.  Since Total Length is also an 8 bits unsigned integer,
   those messages cannot consume more than 1020 bytes of data.  This
   limits the number of bytes that a Transport Converter support Multipath TCP, but
   consider two different cases depending
   whether the Server supports Multipath TCP or not. needs to
   process.  A Multipath TCP
   connection Total Length of zero is created by placing invalid and the MP_CAPABLE (MPC) option connection MUST
   be reset upon reception of such a header.

   The Unassigned field MUST be set to zero in this version of the
   SYN sent by
   protocol.  These bits are available for future use [RFC8126].

4.2.  Convert TLVs

4.2.1.  Generic Convert TLV Format

   The Convert protocol uses variable length messages that are encoded
   using the Client. generic TLV format depicted in Figure 6 describes 10.  All TLV fields
   are encoded using the operation network byte order.

                           1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +---------------+---------------+-------------------------------+
      |     Type      |     Length    |      (optional) Value  ...    |
      +---------------+---------------+-------------------------------+
      |              ...         (optional)  Value                    |
      +---------------------------------------------------------------+

                  Figure 10: Converter Generic TLV Format

   A given TLV MUST only appear once on a connection.  If two or more
   instances of the Transport same TLV are exchanged over a Converter if connection,
   the
   Server does not support Multipath TCP.

                            Transport
   Client                   Converter                    Server
        -------------------->
        SYN, MPC [->Server:port]

                                    -------------------->
                                          SYN, MPC

                                    <--------------------
                                            SYN+ACK
        <--------------------
          SYN+ACK,MPC [ ]

        -------------------->
            ACK,MPC
                                    -------------------->
                                             ACK

      Figure 6: Establishment associated TCP connections MUST be closed.

4.2.2.  Summary of a Multipath Supported Convert TLVs

   This document specifies the following Convert TLVs:

   +------+-----+----------+------------------------------------------+
   | Type | Hex |  Length  | Description                              |
   +------+-----+----------+------------------------------------------+
   |   1  | 0x1 |    1     | Bootstrap TLV                            |
   |  10  | 0xA |  Variable| Connect TLV                              |
   |  20  | 0x14|  Variable| Extended TCP connection through a
                                 Converter

   The Client tries to initiate a Multipath Header TLV                  |
   |  21  | 0x15|  Variable| Supported TCP connection by sending a
   SYN with the MP_CAPABLE option (MPC in Extension Services TLV     |
   |  30  | 0x1E|  Variable| Error TLV                                |
   +------+-----+----------+------------------------------------------+

            Figure 6). 11: The SYN includes
   the address and port number of the final Server and TLVs used by the Transport Converter attempts to initiate protocol

   To establish a Multipath TCP connection towards
   this Server.  Since the Server does not support Multipath TCP, it
   replies with via a SYN+ACK that does not contain the MP_CAPABLE option.
   The Transport Converter notes that the connection with the Server
   does not support Multipath TCP and returns the TCP Options received Converter, a Client MUST
   first obtain a valid TFO cookie from that Converter.  This is the Server to
   bootstrap procedure during which the Client.

   Figure 7 considers Client opens a Server that supports Multipath TCP.  In this
   case, it replies connection to the SYN sent by the
   Transport Converter with the
   MP_CAPABLE an empty TFO option.  Upon reception of this SYN+ACK,  According to
   [RFC7413], the Transport Converter confirms the establishment of returns its cookie in the connection to SYN+ACK.
   Then the Client
   and indicates sends a Bootstrap TLV (Section 4.2.3) to which the Client that
   Transport Converter replies with the Server supports Multipath TCP. Supported TCP Extension Services
   TLV described in Section 4.2.4.

   With this information, the TFO cookie of the Transport Converter, the Client has discovered that can
   request the Server
   supports Multipath TCP natively.  This will enable it establishment of connections to bypass remote servers with the
   Transport Converter for
   Connect TLV (see Section 4.2.5).  If the next Multipath TCP connection that it
   will initiate towards this Server. can be
   established with the final server, the Transport
   Client Converter                       Server
        -------------------->
        SYN, MPC [->Server:port]

                                    -------------------->
                                          SYN, MPC

                                    <--------------------
                                            SYN+ACK, MPC
        <--------------------
          SYN+ACK, MPC [ MPC supported ]

        -------------------->
            ACK, MPC
                                    -------------------->
                                             ACK, MPC

      Figure 7: Establishment of a Multipath TCP connection through a
                                 converter

3.2.  Sample Example of Incoming Converter-Assisted Multipath replies
   with the Extended TCP
      Connection

   An example of Header TLV and returns an Error TLV inside a
   RST packet (see Section 4.2.7).

   When the Transport Converter receives an incoming converter-assisted Multipath TCP connection
   is depicted
   establishment from a Client, it MUST process the TCP options found in Figure 8.
   the SYN and the Connect TLV.  In order to support incoming connections
   from remote hosts, general, the client may use PCP [RFC6887] Transport Converter
   MUST add to instruct the
   converter to create dynamic mappings.  Those mappings will be used by proxied SYN the converter TCP options that were included in the
   Connect TLV.  It SHOULD add to intercept an the proxied SYN the TCP options that
   were included in the incoming SYN provided that it supports the
   corresponding TCP connection destined extension.

   There are some exceptions to these rules given the
   client semantics of some
   TCP options.  First, TCP options with Kinds 0 (EOL), 1 (NOP), 2
   (MSS), and convert it into a Multipath 3 (WS) MUST be used according to the configuration of the
   TCP connection. stack of the Transport
   H1                   Converter                       Remote Host
                                   <------------------- Converter.  The Timestamps option
   (Kind=10) SHOULD be used in the proxied SYN

        <------------------- if it was present in the
   incoming SYN, MPC[Remote Host:port]

        --------------------->
               SYN+ACK, MPC
                                   --------------------->
                                           SYN+ACK

                                   <---------------------
                                              ACK
        <-------------------
                 ACK, MPC

      Figure 8: Establishment of an Incoming TCP Connection through a
                                 Converter

3.3.  Differences with SOCKSv5

   The description above is a simplified description but the contents of the Converter
   protocol.  At a first glance, option in the proposed solution could seem
   similar to proxied SYN
   SHOULD be set by the SOCKS v5 protocol [RFC1928].  This protocol is used to
   proxy TCP connections. Converter's stack.  The Client creates a connection MP_CAPABLE option SHOULD
   be added to a SOCKS
   proxy, exchanges authentication information and indicates the
   destination address and port of proxied SYN if it was present in the final server.  At this point, incoming SYN,
   but the
   SOCKS proxy creates a connection towards content of the final server and relays
   all data between option in the two proxied connections. SYN SHOULD be set by the
   Converter's stack.  The operation of TCP Fast Open cookie option SHOULD be handled
   as described in Section 6.

   As a general rule, when an
   implementation based on SOCKSv5 error is illustrated in Figure 9.

   Client                     SOCKS Proxy                  Server
        -------------------->
                SYN
        <--------------------
              SYN+ACK
        -------------------->
                ACK

        -------------------->
        Version=5, Auth Methods
        <--------------------
              Method
        -------------------->
            Auth Request (if "No auth" method negotiated)
        <--------------------
            Auth Response
        -------------------->
        Connect Server:Port            -------------------->
                                              SYN

                                       <--------------------
                                            SYN+ACK
        <--------------------
             Succeeded

        -------------------->
               Data1
                                       -------------------->
                                              Data1

                                       <--------------------
                                              Data2
        <--------------------
                 Data2

     Figure 9: Establishment of encountered an Error TLV with the
   appropriate error code MUST be returned.

4.2.3.  The Bootstrap TLV

   The Bootstrap TLV (Figure 12 is sent by a Client to request the TCP connection through
   extensions that are supported by a SOCKS proxy
                          without authentication

   The Transport Converter protocol also relays data between an upstream and for which
   it provides a
   downstream connection, but there are important differences with
   SOCKSv5.

   A first difference conversion service.  It is that typically sent on the first
   connection that a Client establishes with a Transport Converter protocol leverages the TFO
   option [RFC7413] to exchange all control information during the
   three-way handshake.  This reduces the connection establishment delay
   compared
   learn its capabilities.  Assuming a Client is entitled to SOCKS that requires two or more round-trip-times before invoke the establishment of the downstream connection towards
   Converter, this latter replies with the final
   destination.  In today's Internet, latency Supported TCP Extensions
   Services TLV described in Section 4.2.4.

                           1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +---------------+---------------+-------------------------------+
      |     Type      |     Length    |             Zero              |
      +---------------+---------------+-------------------------------+

                       Figure 12: The Bootstrap TLV

4.2.4.  Supported TCP Extension Services TLV

   The Supported TCP Extension Services TLV (Figure 13) is used by a important metric and
   various protocols have been tuned to reduce their latency
   [I-D.arkko-arch-low-latency].  A recently proposed extension
   Converter to SOCKS
   also leverages announce the TFO TCP options for which it provides a
   conversion service.  Each supported TCP option [I-D.olteanu-intarea-socks-6].

   A second difference is that the Converter protocol explicitly takes
   the encoded with its
   TCP extensions into account.  By using the Converter protocol, option Kind listed in the Client can learn whether a given "TCP Parameters" registry maintained by
   IANA.

                           1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +---------------+---------------+-------------------------------+
      |     Type      |     Length    |           Unassigned          |
      +---------------+---------------+-------------------------------+
      |     Kind #1   |     Kind #2   |           ...                 |
      +---------------+---------------+-------------------------------+
      /                              ...                              /
      /                                                               /
      +---------------------------------------------------------------+

            Figure 13: The Supported TCP extension is Extension Services TLV

   TCP option Kinds 0, 1, and 2 defined in [RFC0793] are supported by
   the destination Server.  This enables the Client
   all TCP implementations and thus MUST NOT appear in this list.

   The list of Supported TCP Extension Services is padded with 0 to bypass end
   on a 32 bits boundary.

   Typically, if the
   Transport Converter when the destination only supports the required Multipath TCP
   extension.  Neither SOCKS v5 [RFC1928] nor the proposed SOCKS v6
   [I-D.olteanu-intarea-socks-6] provide such a feature.

   A third difference is that a Transport Converter conversion
   service, solely Kind=30 will only accept be present in the
   connection initiated Supported TCP
   Extension Services TLV returned by the Client provided that the downstream
   connection Converter to a requesting
   Client.

4.2.5.  Connect TLV

   The Connect TLV (Figure 14) is accepted by used to request the Server.  If establishment of a
   connection via a Transport Converter.

   The 'Remote Peer Port' and 'Remote Peer IP Address' fields contain
   the Server refuses destination port and IP address of the target server for an
   outgoing connection establishment attempt from towards a server located on the Transport Internet.  For
   incoming connections destined to a client serviced via a Converter, then
   the upstream connection from
   these fields convey the Client is rejected source port and IP address.

   The Remote Peer IP Address MUST be encoded as well.  This
   feature an IPv6 address.  IPv4
   addresses MUST be encoded using the IPv4-Mapped IPv6 Address format
   defined in [RFC4291].

   The optional 'TCP Options' field is important for applications that check used to specify how specific TCP
   Options should be advertised by the availability Transport Converter to the final
   destination of a Server or connection.  If this field is not supplied, the
   Transport Converter MUST use the time default TCP options that correspond
   to connect as a hint on the selection of a
   Server [RFC6555].

4. its local policy.

                           1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +---------------+---------------+-------------------------------+
      |     Type      |     Length    |      Remote Peer Port         |
      +---------------+---------------+-------------------------------+
      |                                                               |
      |         Remote Peer IP Address (128 bits)                     |
      |                                                               |
      |                                                               |
      +---------------------------------------------------------------+
      |                          TCP Options (Variable)               |
      |                              ...                              |
      +---------------------------------------------------------------+

                        Figure 14: The Converter Protocol

   We now describe in details the messages that are exchanged between Connect TLV

   The 'TCP Options' field is a
   Client and variable length field that carries a Transport Converter.  The Converter Protocol (CP)
   leverages the
   list of TCP Fast Open extension defined in [RFC7413].

   The Converter Protocol uses option fields (Figure 15).  Each TCP option field is
   encoded as a 32 bits long fixed header that block of 2+n bytes where the first byte is sent
   by both the Client TCP
   option Type and the Transport Converter.  This header
   indicates both the version of the protocol used and second byte is the length of the
   CP message.

4.1.  Requirements

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
   "OPTIONAL" in this document are to be interpreted TCP option as described in
   [RFC2119] [RFC8174] when, and only when, they appear
   specified in all capitals,
   as shown here.

4.2.  The Fixed Header [RFC0793].  The Fixed Header is used to exchange information about minimum value for the version
   and TCP option Length
   is 2.  The TCP options that do not include a length of the messages between the Client subfield, i.e.,
   option types 0 (EOL) and 1 (NOP) defined in [RFC0793] cannot be
   placed inside the Transport
   Converter. TCP options field of the Connect TLV.  The Client and optional
   Value field contains the Transport Converter MUST send variable-length part of the
   fixed-sized header shown in Figure 10 as TCP option.  A
   length of two indicates the first four bytes absence of the
   bytestream. Value field.  The TCP
   options field always ends on a 32 bits boundary after being padded
   with zeros.

                           1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +---------------+---------------+-------------------------------+
      |  Version      |  Total Length |          Reserved             |
      +---------------+---------------+-------------------------------+

        Figure 10: The fixed-sized header of the Converter protocol

   The Version is encoded as an 8 bits unsigned integer value.  This
   document specifies version 1.  The Total Length is the number of 32
   bits word, including the header, of the bytestream that are consumed
   by the Converter protocol messages.  Since Total Length is also an 8
   bits unsigned integer, those messages cannot consume more than 1020
   bytes of data.  This limits the number of bytes that a Transport
   Converter needs to process.  A Total Length of zero is invalid and
   the connection MUST be reset upon reception of such a header.  The
   Reserved field MUST be set to zero in this version of the protocol.

4.3.  Transport Converter TLVs

   The Converter protocol uses variable length messages that are encoded
   using a TLV format to simplify the parsing of the messages and leave
   room to extend the protocol in the future.  A given TLV can only
   appear once on a connection.  If two or more copies of the same TLV
   are exchanged over a Converter connection, the associated TCP
   connections MUST be closed.  All fields are encoded using the network
   byte order.

   Five TLVs are defined in this document.  They are listed in Table 1.

          +------+------+----------+---------------------------+
          | Type | Hex  | Length   | Description               |
          +------+------+----------+---------------------------+
          | 1    | 0x1  | 1        | Bootstrap TLV             |
          |      |      |          |                           |
          | 10   | 0xA  | Variable | Connect TLV               |
          |      |      |          |                           |
          | 20   | 0x14 | Variable | Extended TCP Header TLV   | 0 1
      +---------------+---------------+---------------+---------------+
      |  TCPOpt type  | TCPOpt Length | Value  (opt)  |  ....         |
      +---------------+---------------+---------------+---------------+
      | 21                             ....                              | 0x15
      +---------------------------------------------------------------+
      | Variable                              ...                              | Supported
      +---------------------------------------------------------------+

                     Figure 15: The TCP Options TLV |
          |      |      |          |                           |
          | 30   | 0x1E | Variable | Error TLV                 |
          +------+------+----------+---------------------------+

             Table 1: The TLVs used by the Converter protocol

   To use field

   If a given Transport Converter, Converter receives a Client MUST first obtain Connect TLV with a
   valid TFO cookie from it.  This is the bootstrap procedure during
   which non-empty TCP
   options field, and the Client opens a connection Converter accets to process the Transport Converter with
   an empty TFO option.  According request, it
   SHALL present those options to [RFC7413], the Transport Converter
   returns its cookie destination peer in addition to
   the SYN+ACK.  Then the Client sends a Bootstrap
   TLV and the Transport Converter replies with TCP options that it would have used according to its local
   policies.  For the Supported TCP
   Options TLV options that lists are listed without an optional
   value, the Converter MUST generate its own value.  For the TCP
   options that are included in the 'TCP Options' field with an optional
   value, it supports (section
   Section 4.3.5).

   With SHALL copy the TFO Cookie of entire option for use in the Transport Converter, connection with
   the Client can destination peer.  This feature is required to support TCP Fast
   Open.

   The Converter may discard a Connect TLV request the establishment for many reasons
   (e.g., bad TFO cookie, authorization failed, out of connections resources).  An
   error message indicating the encountered error is returned to remote servers with the
   Connect TLV (see
   requesting Client Section 4.3.1).  If the connection can 4.2.7.  In order to prevent denial-of-
   service attacks, error messages sent to a Client SHOULD be
   established with the final server, rate-
   limited.

4.2.6.  Extended TCP Header TLV

   The Extended TCP Header TLV (Figure 16) is used by the Transport
   Converter replies
   with to send to the Extended Client the extended TCP Header TLV and returns an Error header that was
   returned by the Server in the SYN+ACK packet.  This TLV inside is only sent
   if the Client sent a
   RST packet (see section Section 4.3.3).

4.3.1. Connect TLV

   This TLV (Figure 11) is used to request the establishment of a
   connection via a Transport Converter.
   connection.

                           1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +---------------+---------------+-------------------------------+
      |     Type      |     Length    |           Unassigned          |
      +---------------+---------------+-------------------------------+
      |               Returned Extended TCP header                    |
      |                              ...                              |
      +---------------------------------------------------------------+

                  Figure 16: The 'Remote Peer Port' and 'Remote Peer IP Address' fields contain
   the destination port and IP address Extended TCP Header TLV

   The Returned Extended TCP header field is a copy of the target server for an
   outgoing connection towards a server located on extended
   header that was received in the Internet.  For
   incoming connections destined to a client serviced via a Converter,
   these fields convey SYN+ACK by the source port and IP address. Transport Converter.

   The Remote Peer IP Address MUST be encoded as an IPv6 address.  IPv4
   addresses Unassigned field MUST be encoded using set to zero by the IPv4-Mapped IPv6 Address format
   defined in [RFC4291]. transmitter and
   ignored by the receiver.  These bits are available for future use
   [RFC8126].

4.2.7.  Error TLV

   The optional 'TCP Options' field is Error TLV (Figure 17) can be used by the Transport
   Converter to specify how specific TCP
   Options should be advertised provide information about some errors that occurred
   during the processing of a request to convert a connection.  This TLV
   appears after the Convert header in a RST segment returned by the
   Transport Converter to if the final
   destination error is fatal and prevented the
   establishment of a the connection.  If this field the error is not supplied, fatal and the
   Transport Converter MUST use
   connection could be established with the default TCP options that correspond
   to its local policy. final destination, then the
   error TLV will be carried in the payload.

                           1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +---------------+---------------+-------------------------------+
      +---------------+---------------+----------------+--------------+
      |     Type      |     Length    |      Remote Peer Port         |
      +---------------+---------------+-------------------------------+
      |                                                               |
      |         Remote Peer IP Address (128 bits)                     |
      |                                                               |
      |                                                               |
      +---------------------------------------------------------------+
      |                          TCP Options (Variable)               |    Error       |                              ...  Value       |
      +---------------------------------------------------------------+
      +---------------+---------------+----------------+--------------+

                         Figure 11: 17: The Connect Error TLV

   The 'TCP Options' field is a variable length field that carries a
   list

   Different types of TCP Option fields (Figure 12). errors can occur while processing Convert
   messages.  Each TCP Option field error is
   encoded as identified by a block code represented as an
   unsigned integer.  Four classes of 2+n bytes where the first byte is the TCP
   Option Type errors are defined:

   o  Message validation and processing errors (0-31 range): returned
      upon reception of an an invalid message (including valid messages
      but with invalid or unknown TLVs).

   o  Client-side errors (32-63 range): the second byte is Client sent a request that
      could not be accepted by the length Converter (e.g., unsupported
      operation).

   o  Converter-side errors (64-95 range) : problems encountered on the
      Converter (e.g., lack of resources) which prevent it from
      fulfilling the TCP Option as
   specified in [RFC0793].  The minimum value for Client's request.

   o  Errors caused by destination server (96-127 range) : the TCP Option Length
   is 2.  The TCP Options that do final
      destination could not include be reached or it replied with a length subfield, i.e.,
   option types 0 (EOL) and 1 (NOP) reset
      message.

   The following error codes are defined in [RFC0793] cannot be
   placed inside the TCP Options field of the Connect TLV. this document:

   o  Unsupported Version (0): The optional
   Value field contains the variable-length part of the TCP option.  A
   length of two indicates version number indicated in the absence fixed
      header of the Value field.  The TCP
   Options field always ends on a 32 bits boundary after being padded
   with zeros.

                           1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +---------------+---------------+---------------+---------------+
      |  TCPOpt type  | TCPOpt Length | Value  (opt)  |  ....         |
      +---------------+---------------+---------------+---------------+
      |                             ....                              |
      +---------------------------------------------------------------+
      |                              ...                              |
      +---------------------------------------------------------------+

                     Figure 12: The TCP Options field

   If message received from a peer is not supported.

      This error code MUST be generated by a Transport Converter when it receives
      a Connect TLV with request having a non-empty TCP
   Options field, version number that it shall present those options does not support.

      The value field MUST be set to the destination peer version supported by the
      Converter.  When multiple versions are supported by the Converter,
      it includes the list of supported version in addition to the TCP Options that value field; each
      version is encoded in 8 bits.

      Upon receipt of this error code, the client checks whether it would have used according to
   its local policies.  For
      supports one of the TCP Options that are listed without an
   optional value, versions returned by the Converter Converter.  The
      highest common supported version MUST generate its own value.  For be used by the
   TCP Options that are included client in the 'TCP Options' field
      subsequent exchanges with an
   optional value, it shall copy the entire option for use in Converter.

   o  Malformed Message (1): This error code is sent to indicate that a
      message can not be successfully parsed.

      To ease troubleshooting, the
   connection with value field MUST echo the destination peer. received
      message.  The Converter and the Client MUST send a RST containing
      this error upon reception of a malformed message.

   o  Unsupported Message (2): This feature error code is required sent to
   support TCP Fast Open.

4.3.2.  Extended TCP Header TLV

   The Extended TCP Header TLV indicate that
      a message type is used not supported by the Transport Converter.

      To ease troubleshooting, the value field MUST echo the received
      message.  The Converter to
   send to and the Client the extended TCP header MUST send a RST containing
      this error upon reception of an unsupported message.

   o  Not Authorized (32): This error code indicates that was returned by the
   Server in the SYN+ACK packet. Converter
      refused to create a connection because of a lack of authorization
      (e.g., administratively prohibited, authorization failure, etc.).
      The Value field MUST be set to zero.

      This TLV is only error code MUST be sent if by the Client
   sent Converter when a Connect TLV to request
      cannot be successfully processed because the establishment of a connection.

                           1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +---------------+---------------+-------------------------------+
      |     Type      |     Length    |           Reserved            |
      +---------------+---------------+-------------------------------+
      |               Returned Extended authorization failed.

   o  Unsupported TCP header                    |
      |                              ...                              |
      +---------------------------------------------------------------+

                  Figure 13: The Extended Option (33): A TCP Header TLV option that the Client
      requested to advertise to the final Server cannot be safely used
      jointly with the conversion service.

      The Returned Extended TCP header Value field is a copy set to the type of the extended
   header that was received unsupported TCP option.
      If several unsupported TCP options were specified in the SYN+ACK by Connect
      TLV, only one of them is returned in the Value.

   o  Resource Exceeded (64): This error indicates that the Transport Converter.
   The Reserved field is set
      Converter does not have enough resources to zero by the transmitter and ignored by perform the receiver.

4.3.3.  Error TLV request.

      This optional TLV can error MUST be used sent by the Transport Converter when it does not have
      sufficient resources to provide
   information about some errors handle a new connection.

   o  Network Failure (65): This error indicates that occurred during the processing of Converter is
      experiencing a request network failure to convert relay the request.

      The Converter MUST send this error code when it experiences
      forwarding issues to relay a connection.

   o  Connection Reset (96): This TLV appears after error indicates that the
   Converter header in final
      destination responded with a RST segment returned packet.  The Value field MUST be
      set to zero.

   o  Destination Unreachable (97): This error indicates that an ICMP
      destination unreachable, port unreachable, or network unreachable
      was received by the Transport Converter
   if the error is fatal and prevented Converter.  The Value field MUST echo the establishment Code
      field of the
   connection.  If the received ICMP message.

      This error is not fatal and the connection could message MUST be
   established with the final destination, then sent by the Converter when it receives
      an error TLV will be
   carried in message that is bound to a message it relayed previously.

   Figure 18 summarizes the payload.

                           1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 different error codes.

    +-------+------+-----------------------------------------------+
    | Error | Hex  | Description                                   |
    +-------+------+-----------------------------------------------+
    |    0  | 0x00 | Unsupported Version                           |
    |    1  | 0x01 | Malformed Message                             |
    |    2 3 4 5 6 7 8 9 0 1
      +---------------+---------------+----------------+--------------+  |     Type 0x02 |     Length Unsupported Message                           |    Error
    |  Value   32  |
      +---------------+---------------+----------------+--------------+ 0x20 | Not Authorized                                |
    |   33  | 0x21 | Unsupported TCP Option                        |
    |   64  | 0x40 | Resource Exceeded                             |
    |   65  | 0x41 | Network Failure                               |
    |   96  | 0x60 | Connection Reset                              |
    |   97  | 0x61 | Destination Unreachable                       |
    +-------+------+-----------------------------------------------+

                      Figure 14: The 18: Convert Error TLV

   Different types of errors can occur while processing Converter
   protocol messages.  Each error is identified by a code represented as
   an unsigned integer.  Four classes of errors are defined:

   o  Message validation and processing errors (0<= error code <= 31):
      returned upon reception Values

5.  Compatibility of an an invalid message (including valid
      messages but Specific TCP Options with invalid or unknown TLVs).

   o  Client-side errors (32<= error code <= 63): the Client sent a
      request that could not Conversion Service

   In this section, we discuss how several standard track TCP options
   can be accepted by the Converter (e.g.,
      unsupported operation).

   o  Converter-side errors (64<= error code <96) : problems encountered
      on the Converter (e.g., lack of ressources) which prevent it from
      fulfilling supported through the Client's request.

   o  Errors caused by destination server (96<= error code <= 127) : Converter.  The non-standard track
   options and the
      final destination could not experimental options will be reached or it replied with a reset
      message.

   The following errors are discussed in other
   documents.

5.1.  Base TCP Options

   Three TCP options were initially defined in this document:

   o  Unsupported Version (0): [RFC0793] : End-of-Option
   List (Kind=0), No-Operation (Kind=1) and Maximum Segment Size
   (Kind=2).  The version number indicated in first two options are mainly used to pad the fixed
      header of a message received from a peer TCP
   extended header.  There is not supported.  This
      error code MUST be generated by a Converter when it receives no reason for a client to request having a version number that it does not support.  The
      value field MUST be set
   Converter to specifically send these options towards the version supported by the Converter.
      When multiple versions are supported final
   destination.

   The Maximum Segment Size option (Kind=2) is used by a host to
   indicate the converter, largest segment that it includes
      the list can receive over each
   connection.  This value is function of supported version in the stack that terminates the
   TCP connection.  There is no reason for a Client to request a
   Converter to advertise a specific MSS value field; each version to a remote server.

   A Converter MUST ignore options with Kind=0, 1 or 2 if they appear in
   a Connect TLV.  It MUST NOT announce them in a Bootstrap TLV.

5.2.  Window Scale (WS)

   The Window Scale option (Kind=3) is
      encoded defined in 8 bits.  Upon receipt of this error code, the client
      checks whether it supports one of [RFC7323].  As for the versions returned by
   MSS option, the
      Converter.  The highest common supported version MUST be window scale factor that is used by for a connection
   strongly depends on the client TCP stack that handles the connection.  When
   a Converter opens a TCP connection towards a remote server on behalf
   of a Client, it SHOULD use a WS option with a scaling factor that
   corresponds to the configuration of its stack.  A local configuration
   MAY allow for WS option in subsequent exchanges with the Converter.

   o  Malformed Message (1): This error code is sent to indicate that a proxied message can not to be successfully parsed.  To ease troubleshooting, function of the value field MUST echo
   scaling factor of the received message.  The incoming connection.

   There is no benefit from a deployment viewpoint in enabling a Client
   of a Converter and to specifically request the Client MUST send utilisation of the WS
   option (Kind=3) with a RST containing specific scaling factor towards a remote
   Server.  For this error upon reception of reason, a malformed message.

   o  Unsupported Message (2): Converter MUST ignore option Kind=3 if it
   appears in a Connect TLV.  It MUST NOT announce it in a Bootstrap
   TLV.

5.3.  Selective Acknowledgements

   Two distinct TCP options were defined to support selective
   acknowledgements in [RFC2018].  This error code first one, SACK Permitted
   (Kind=4), is sent used to indicate that
      a message type is not supported by negotiate the converter.  To ease
      troubleshooting, utilisation of selective
   acknowledgements during the value field MUST echo three-way handshake.  The second one,
   SACK (Kind=5), carries the received message. selective acknowledgements inside regular
   segments.

   The SACK Permitted option (Kind=4) MAY be advertised by a Transport
   Converter and in the Client MUST send a RST containing Bootstrap TLV.  In this error
      upon reception of an unsupported message.

   o  Not Authorized (32): This error code indicates that the Converter
      refused case, Clients connected to create a connection because of a lack of authorization
      (e.g., administratively prohibited, authorization failure, etc.).
   this Transport Converter MAY include the SACK Permitted option in the
   Connect TLV.

   The Value field is set to zero.  This error code MUST SACK option (Kind=5) cannot be sent by used during the three-way
   handshake.  For this reason, a Transport Converter when MUST ignore option
   Kind=5 with if it appears in a request cannot Connect TLV.  It MUST NOT announce it
   in a Bootstrap TLV.

5.4.  Timestamp

   The Timestamp option was initially defined in [RFC1323] which has
   been replaced by [RFC7323].  It can be successfully processed
      because the authorization failed.

   o  Unsupported TCP Option (33).  A TCP Option that used during the Client
      requested to advertise three-way
   handshake to negotiate the final Server is not supported by utilisation of the
      Transport Converter.  The Value field timestamps during the
   TCP connection.  It is set notably used to improve round-trip-time
   estimations and to provide protection against wrapped sequence
   numbers (PAWS).  As for the type of the
      unsupported TCP Option.  If several unsupported TCP Options were
      specified in WS option, the Connect TLV, only one timestamps are a property
   of them a connection and there is returned limited benefit in the
      Value.

   o  Resource Exceeded (64): This error indicates that the Transport enabling a client to
   request a Converter does not have enough resources to perform the request.
      This error MUST be sent by use the Converter timestamp option when it does not have
      sufficient resources establishing a
   connection to handle a new connection.

   o  Network Failure (65): This error indicates that remote server.  Furthermore, the converter timestamps that are
   used by TCP stacks are specific to each stack and there is
      experiencing no benefit
   in enabling a network failure client to relay specify the request.  The
      converter MUST send this error code when it experiences forwarding
      issues timestamp value that a Converter
   could use to relay establish a connection.

   o  Connection Reset (96): This error indicates that the final
      destination responded with connection to a RST packet. remote server.

   A Transport Converter MAY advertise the Timestamp option (Kind=8) in
   the Bootstrap TLV.  The Value clients connected to this Converter MAY
   include the Timestamp option in the Connect TLV but without any
   timestamp.

5.5.  Multipath TCP

   The Multipath TCP options are defined in [RFC6824].  [RFC6824]
   defines one variable length TCP option (Kind=30) that includes a
   subtype field is set to zero.

   o  Destination Unreachable (97): This error indicates that an ICMP
      destination unreachable, port unreachable, or network unreachable
      was received by support several Multipath TCP options.  There are
   several operational use cases where clients would like to use
   Multipath TCP through a Converter [IETFJ16].  However, none of these
   use cases require the Converter.  The Value field contains Client to specify the Code
      field content of the received ICMP message.  This error message MUST be
      sent by Multipath
   TCP option that the Converter when it receives an error message that is
      bound should send to a message it relayed previously.

   Table 2 summarizes remote server.

   A Transport Converter which supports Multipath TCP conversion service
   MUST advertise the different error codes.

                +-------+------+-------------------------+
                | Error | Hex  | Description             |
                +-------+------+-------------------------+
                | 0     | 0x00 | Unsupported version     |
                |       |      |                         |
                | 1     | 0x01 | Malformed Message       |
                |       |      |                         |
                | 2     | 0x02 | Unsupported Message     |
                |       |      |                         |
                | 32    | 0x20 | Not Authorized          |
                |       |      |                         |
                | 33    | 0x21 | Unsupported Multipath TCP Option  |
                |       |      |                         |
                | 64    | 0x40 | Resource Exceeded       |
                |       |      |                         |
                | 65    | 0x41 | Network Failure         |
                |       |      |                         |
                | 96    | 0x60 | Connection Reset        |
                |       |      |                         |
                | 97    | 0x61 | Destination Unreachable |
                +-------+------+-------------------------+

                    Table 2: The different error codes

4.3.4.  The option (Kind=30) in the Bootstrap
   TLV.  Clients serviced by this Converter may include the Multipath
   TCP option in the Connect TLV but without any content.

5.6.  TCP Fast Open

   The TCP Fast Open cookie option (Kind=34) is defined in [RFC7413].
   There are two different usages of this option that need to be
   supported by Transport Converters.  The Bootstrap TLV first utilisation of the Fast
   Open cookie is to request a cookie from the server.  In this case,
   the option is sent with an empty cookie by the client and the server
   returns the cookie.  The second utilisation of the Fast Open cookie
   is to send a Client cookie to request the TCP Extensions
   that are supported by server.  In this case, the option contains
   a cookie.

   A Transport Converter.  It is typically sent on Converter MAY advertise the first connection that a Client establishes with TCP Fast Open cookie option
   (Kind=34) in the Bootstrap TLV.  If a Transport Converter to learn has
   advertised the support for TCP Fast Open in its capabilities.  The Bootstrap TLV, it
   needs to be able to process two types of Connect TLV.  If such a
   Transport Converter replies receives a Connect TLV with the Supported TCP Options TLV described Fast Open
   cookie option that does not contain a cookie, it MUST add an empty
   TCP Fast Open cookie option in Section 4.3.5.

                           1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +---------------+---------------+-------------------------------+
      |     Type      |     Length    |             Zero              |
      +---------------+---------------+-------------------------------+

                       Figure 15: The Bootstrap the SYN sent to the remote server.  If
   such a Transport Converter receives a Connect TLV

4.3.5.  Supported with the TCP Options TLV Fast
   Open cookie option that contains a cookie, it MUST copy the TCP Fast
   Open cookie option in the SYN sent to the remote server.

5.7.  TCP User Timeout

   The Supported TCP Options TLV User Timeout option is used defined in [RFC5482].  The associated
   TCP option (Kind=28) does not appear to be widely deployed.

   Editor's Note: Feedback requested for the utilisation of this option
   by deployed TCP stacks.

5.8.  TCP-AO

   TCP-AO [RFC5925] provides a Converter technique to announce authenticate all the packets
   exchanged over a TCP options that connection.  Given the nature of this extension,
   it supports.  Each supported TCP Option is encoded
   with its TCP option Kind listed in unlikely that the TCP Parameters registry
   maintained by IANA.  TCP applications that require their packets to be
   authenticated end-to-end would want their connections to pass through
   a converter.  For this reason, we do not recommend the support of the
   TCP-AO option Kinds 0, 1, and 2 defined in
   [RFC0793] are supported by all TCP implementations Transport Converters.  The only use cases where is
   makes sense to combine TCP-AO and thus cannot
   appear the solution in this list.  The list of supported TCP Options document are
   those where the TCP-AO-NAT extension [RFC6978] is padded in use.

   A Converter MUST NOT advertise the TCP-AO option (Kind=29) in the
   Bootstrap TLV.  If a Converter receives a Connect TLV that contains
   the TCP-AO option, it MUST reject the establishment of the connection
   with 0 error code set to end on a 32 bits boundary.

                           1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +---------------+---------------+-------------------------------+
      |     Type      |     Length    |           Reserved            |
      +---------------+---------------+-------------------------------+
      |     Kind #1   |     Kind #2   |           ...                 |
      +---------------+---------------+-------------------------------+
      /                              ...                              /
      /                                                               /
      +---------------------------------------------------------------+

                 Figure 16: The Supported "Unsupported TCP Option", except if the TCP-
   AO-NAT option is used.

5.9.  TCP Experimental Options TLV

5.

   The TCP Experimental options are defined in [RFC4727].  Given the
   variety of semantics for these options and their experimental nature,
   it is impossible to discuss them in details in this document.

6.  Interactions with middleboxes Middleboxes

   The Converter protocol Protocol was designed to be used in networks that do
   not contain middleboxes that interfere with TCP.  We describe in this
   section how a Client can detect middlebox interference and stop using
   the Transport Converter affected by this interference.

   Internet measurements [IMC11] have shown that middleboxes can affect
   the deployment of TCP extensions.  In this section, we only discuss
   the middleboxes that modify SYN and SYN+ACK packets since the
   Converter protocol Protocol places its messages in such packets.

   Let us first consider a middlebox that removes the TFO Option from
   the SYN packet.  This interference will be detected by the Client
   during the bootstrap procedure shown discussed in Figure 5. Section 4.2.3.  A Client
   should not use a Transport Converter that does not reply with the TFO
   option during the Bootstrap.

   Consider a middlebox that removes the SYN payload after the bootstrap
   procedure.  The Client can detect this problem by looking at the
   acknowledgement number field of the SYN+ACK returned by the Transport
   Converter.  The Client should stop to use this Transport Converter
   given the middlebox interference.

   As explained in [RFC7413], some carrier-grade NATs can affect the
   operation of TFO if they assign different IP addresses to the same
   end host.  Such carrier-grade NATs could affect the operation of the
   TFO Option used by the Converter protocol. Protocol.  See also the discussion
   in section Section 7.1 of [RFC7413].

6.

7.  Security Considerations

6.1.

7.1.  Privacy & Ingress Filtering

   The Converter may have access to privacy-related information (e.g.,
   subscriber credentials).  The Converter MUST NOT leak such sensitive
   information outside a local domain.

   Given its function and its location in the network, a Transport
   Converter has access to the payload of all the packets that it
   processes.  As such, it must MUST be protected as a core IP router. router (e.g.,
   [RFC1812]).

   Furthermore, ingress filtering policies MUST be enforced at the
   network boundaries [RFC2827].

   This document assumes that all network attachements attachments are managed by the
   same administrative entity.  Therefore, enforcing anti-spoofing
   filters at these network ensures that hosts are not sending traffic
   with spoofed source IP addresses.

6.2.

7.2.  Authorization

   The Converter protocol Protocol is intended to be used in managed networks
   where end hosts can be identified by their IP address.  Thanks to the
   Bootstrap procedure (Figure 5), procedure, the Transport Converter can verify that the
   Client correctly receives packets sent by the Converter.  Stronger
   authentication schemes should MUST be defined to use the Converter protocol Protocol
   in more open network environments. environments; such schemes are out of scope of
   this document.

   See below for authorization considerations that are specific for
   Multipath TCP.

6.3.

7.3.  Denial of Service

   Another possible risk is the amplification attacks since a Transport
   Converter sends a SYN towards a remote Server upon reception of a SYN
   from a Client.  This could lead to amplification attacks if the SYN
   sent by the Transport Converter were larger than the SYN received
   from the Client or if the Transport Converter retransmits the SYN.
   To mitigate such attacks, the Transport Converter SHOULD rate limit
   the number of pending requests for a given Client.  It SHOULD also
   avoid sending to remote Servers SYNs that are significantly longer
   than the SYN received from the Client.  In practice, Transport
   Converters SHOULD NOT advertise to a Server TCP Options options that were not
   specified by the Client in the received SYN.  Finally, the Transport
   Converter SHOULD only retransmit a SYN to a Server after having
   received a retransmitted SYN from the corresponding Client.

   Upon reception of a SYN that contains a valid TFO Cookie cookie and a
   Connect TLV, the Transport Converter attempts to establish a TCP
   connection to a remote Server.  There is a risk of denial of service
   attack if a Client requests too many connections in a short period of
   time.  Implementations SHOULD limit the number of pending connections
   from a given Client.  Means to protect against SYN flooding attacks
   MUST also be enabled [RFC4987].

6.4.

7.4.  Traffic Theft

   Traffic theft is a risk if an illegitimate Converter is inserted in
   the path.  Indeed, inserting an illegitimate Converter in the
   forwarding path allows traffic interception and can therefore provide
   access to sensitive data issued by or destined to a host.  Converter
   discovery and configuration are out of scope of this document.

6.5.

7.5.  Multipath TCP-specific Considerations

   Multipath TCP-related security threats are discussed in [RFC6181] and
   [RFC6824].

   The operator that manages the various network attachments (including
   the Converters) can enforce authentication and authorization policies
   using appropriate mechanisms.  For example, a non-exhaustive list of
   methods to achieve authorization is provided hereafter:

   o  The network provider may enforce network provider may enforce a policy based on the
      International Mobile Subscriber Identity (IMSI) to verify that a
      user is allowed to benefit from the aggregation service.  If that
      authorization fails, the Packet Data Protocol (PDP) context/bearer
      will not be mounted.  This method does not require any interaction
      with the Converter.

   o  The network provider may enforce a policy based upon Access
      Control Lists (ACLs), e.g., at a Broadband Network Gateway (BNG)
      to control the hosts that are authorized to communicate with a
      Converter.  These ACLs may be installed as a result of RADIUS
      exchanges, e.g.  [I-D.boucadair-mptcp-radius].  This method does
      not require any interaction with the Converter.

   o  A device that embeds the Converter may also host a RADIUS client
      that will solicit an AAA server to check whether connections
      received from a given source IP address are authorized or not
      [I-D.boucadair-mptcp-radius].

   A first safeguard against the misuse of Converter resources by
   illegitimate users (e.g., users with access networks that are not
   managed by the same provider that operates the Converter) is the
   Converter to reject Multipath TCP connections received on its
   Internet-facing interfaces.  Only Multipath PTCP connections received
   on the customer-facing interfaces of a Converter will be accepted.

8.  IANA Considerations

8.1.  Convert Service Port Number

   IANA is requested to assign a TCP port number (TBA) for the Converter
   Protocol from the "Service Name and Transport Protocol Port Number
   Registry" available at https://www.iana.org/assignments/service-
   names-port-numbers/service-names-port-numbers.xhtml.

8.2.  The Converter Protocol (Convert) Parameters

   IANA is requested to create a policy based on new "The Converter Protocol (Convert)
   Parameters" registry.

   The following subsections detail new registries within "The Converter
   Protocol (Convert) Parameters" registry.

8.2.1.  Convert Versions

   IANA is requested to create the
      International Mobile Subscriber Identity (IMSI) "Convert versions" sub-registry.  New
   values are assigned via Standards Action.

   The initial values to verify that a
      user be assigned at the creation of the registry are
   as follows:

    +---------+--------------------------------------+-------------+
    | Version | Description                          | Reference   |
    +---------+--------------------------------------+-------------+
    |    0    | Reserved by this document            | [This-RFC]  |
    |    1    | Assigned by this document            | [This-RFC]  |
    +---------+--------------------------------------+-------------+

8.2.2.  Convert TLVs

   IANA is allowed requested to benefit from create the aggregation service.  If that
      authorization fails, "Convert TLVs" sub-registry.  The
   procedure for assigning values from this registry is as follows:

   o  The values in the Packet Data Protocol (PDP) context/bearer
      will not range 1-127 can be mounted.  This method does not require any interaction
      with assigned via Standards
      Action.

   o  The values in the Converter. range 128-191 can be assigned via Specification
      Required.

   o  The network provider may enforce a policy based upon Access
      Control Lists (ACLs), e.g., at a Broadband Network Gateway (BNG)
      to control values in the hosts that are authorized range 192-255 can be assigned for Private Use.

   The initial values to communicate with a
      Converter.  These ACLs may be installed as a result of RADIUS
      exchanges, e.g.  [I-D.boucadair-mptcp-radius].  This method does
      not require any interaction with assigned at the Converter.

   o  A device that embeds creation of the Converter may also host a RADIUS client
      that will solicit an AAA server registry are
   as follows:

    +---------+--------------------------------------+-------------+
    |  Code   | Name                                 | Reference   |
    +---------+--------------------------------------+-------------+
    |    0    | Reserved                             | [This-RFC]  |
    |    1    | Bootstrap TLV                        | [This-RFC]  |
    |   10    | Connect TLV                          | [This-RFC]  |
    |   20    | Extended TCP Header TLV              | [This-RFC]  |
    |   22    | Supported TCP Extension Services TLV | [This-RFC]  |
    |   30    | Error TLV                            | [This-RFC]  |
    +---------+--------------------------------------+-------------+

8.2.3.  Convert Error Messages

   IANA is requested to check whether connections
      received from create the "Convert Errors" sub-registry.  Codes
   in this registry are assigned as a given source IP address function of the error type.  Four
   types are authorized or not
      [I-D.boucadair-mptcp-radius].

   A first safeguard against defined; the misuse following ranges are reserved for each of Converter resources
   these types:

   o  Message validation and processing errors: 0-31

   o  Client-side errors: 32-63

   o  Converter-side errors: 64-95

   o  Errors caused by
   illegitimate users (e.g., users with access networks that destination server: 96-127

   The procedure for assigning values from this sub-registry is as
   follows:

   o  0-191: Values in this range are not
   managed by assigned via Standards Action.

   o  192-255: Values in this range are assigned via Specification
      Required.

   The initial values to be assigned at the same provider that operates creation of the Converter) is registry are
   as follows:

    +-------+------+-----------------------------------+-----------+
    | Error | Hex  | Description                       | Reference |
    +-------+------+-----------------------------------+-----------+
    |    0  | 0x00 | Unsupported Version               | [This-RFC]|
    |    1  | 0x01 | Malformed Message                 | [This-RFC]|
    |    2  | 0x02 | Unsupported Message               | [This-RFC]|
    |   32  | 0x20 | Not Authorized                    | [This-RFC]|
    |   33  | 0x21 | Unsupported TCP Option            | [This-RFC]|
    |   64  | 0x40 | Resource Exceeded                 | [This-RFC]|
    |   65  | 0x41 | Network Failure                   | [This-RFC]|
    |   96  | 0x60 | Connection Reset                  | [This-RFC]|
    |   97  | 0x61 | Destination Unreachable           | [This-RFC]|
    +-------+------+-----------------------------------+-----------+

                    Figure 19: The Convert Error Codes

9.  Acknowledgements

   Although they could disagree with the
   Converter contents of the document, we
   would like to reject Multipath TCP connections received on its
   Internet-facing interfaces.  Only Multipath PTCP connections received thank Joe Touch and Juliusz Chroboczek whose comments
   on the customer-facing interfaces MPTCP mailing list have forced us to reconsider the design of
   the solution several times.

   We would like to thank Raphael Bauduin, Stefano Secci, and Benjamin
   Hesmans for their help in preparing this document.  Sri Gundavelli
   and Nandini Ganesh provided valuable feedback about the handling of a Converter will be accepted.

7.  IANA Considerations
   TFO and the error codes.  Thanks to them.

   This document requests the allocation builds upon earlier documents that proposed various
   forms of a reserved service name Multipath TCP proxies [I-D.boucadair-mptcp-plain-mode],
   [I-D.peirens-mptcp-transparent] and
   port number [HotMiddlebox13b].

   From [I-D.boucadair-mptcp-plain-mode]:

   Many thanks to Chi Dung Phung, Mingui Zhang, Rao Shoaib, Yoshifumi
   Nishida, and Christoph Paasch for their valuable comments.

   Thanks to Ian Farrer, Mikael Abrahamsson, Alan Ford, Dan Wing, and
   Sri Gundavelli for the converter protocol at https://www.iana.org/
   assignments/service-names-port-numbers/
   service-names-port-numbers.xhtml.

   This documents specifies version 1 of fruitful discussions in IETF#95 (Buenos
   Aires).

   Special thanks to Pierrick Seite, Yannick Le Goff, Fred Klamm, and
   Xavier Grall for their inputs.

   Thanks also to Olaf Schleusing, Martin Gysi, Thomas Zasowski, Andreas
   Burkhard, Silka Simmen, Sandro Berger, Michael Melloul, Jean-Yves
   Flahaut, Adrien Desportes, Gregory Detal, Benjamin David, Arun
   Srinivasan, and Raghavendra Mallya for the Converter protocol.  Five
   types discussion.

9.1.  Contributors

   As noted above, this document builds on two previous documents.

   The authors of Converter messages are defined:

   o  1: Bootstrap TLV

   o  10: Connect TLV

   o  20: Extended TCP Header TLV [I-D.boucadair-mptcp-plain-mode] were: - Mohamed
   Boucadair - Christian Jacquenet - Olivier Bonaventure - Denis
   Behaghel - Stefano Secci - Wim Henderickx - Robert Skog - Suresh
   Vinapamula - SungHoon Seo - Wouter Cloetens - Ullrich Meyer - Luis M.
   Contreras - Bart Peirens

   The authors of [I-D.peirens-mptcp-transparent] were: - Bart Peirens -
   Gregory Detal - Sebastien Barre - Olivier Bonaventure

10.  Change Log

   This section to be removed before publication.

   o  21: Supported  00 : initial version, designed to support Multipath TCP Options TLV and TFO
      only

   o  30: Error TLV

   Furthermore, it also defines  00 to -01 : added section Section 5 describing the following error codes:

                +-------+------+-------------------------+
                | Error | Hex  | Description             |
                +-------+------+-------------------------+
                | 0     | 0x00 | Unsupported version     |
                |       |      |                         |
                | 1     | 0x01 | Malformed Message       |
                |       |      |                         |
                | 2     | 0x02 | Unsupported Message     |
                |       |      |                         |
                | 32    | 0x20 | Not Authorized          |
                |       |      |                         |
                | 33    | 0x21 | Unsupported TCP Option  |
                |       |      |                         |
                | 64    | 0x40 | Resource Exceeded       |
                |       |      |                         |
                | 65    | 0x41 | Network Failure         |
                |       |      |                         |
                | 96    | 0x60 | Connection Reset        |
                |       |      |                         |
                | 97    | 0x61 | Destination Unreachable |
                +-------+------+-------------------------+

                    Table 3: The support of
      different error codes

8.  Acknowledgements

   Although they could disagree standard tracks TCP options by Transport Converters,
      clarification of the IANA section, moved the SOCKS comparison to
      the appendix and various minor modifications

11.  References

11.1.  Normative References

   [RFC0793]  Postel, J., "Transmission Control Protocol", STD 7,
              RFC 793, DOI 10.17487/RFC0793, September 1981,
              <https://www.rfc-editor.org/info/rfc793>.

   [RFC2119]  Bradner, S., "Key words for use in RFCs to Indicate
              Requirement Levels", BCP 14, RFC 2119,
              DOI 10.17487/RFC2119, March 1997,
              <https://www.rfc-editor.org/info/rfc2119>.

   [RFC4291]  Hinden, R. and S. Deering, "IP Version 6 Addressing
              Architecture", RFC 4291, DOI 10.17487/RFC4291, February
              2006, <https://www.rfc-editor.org/info/rfc4291>.

   [RFC4727]  Fenner, B., "Experimental Values In IPv4, IPv6, ICMPv4,
              ICMPv6, UDP, and TCP Headers", RFC 4727,
              DOI 10.17487/RFC4727, November 2006,
              <https://www.rfc-editor.org/info/rfc4727>.

   [RFC4987]  Eddy, W., "TCP SYN Flooding Attacks and Common
              Mitigations", RFC 4987, DOI 10.17487/RFC4987, August 2007,
              <https://www.rfc-editor.org/info/rfc4987>.

   [RFC5482]  Eggert, L. and F. Gont, "TCP User Timeout Option",
              RFC 5482, DOI 10.17487/RFC5482, March 2009,
              <https://www.rfc-editor.org/info/rfc5482>.

   [RFC5925]  Touch, J., Mankin, A., and R. Bonica, "The TCP
              Authentication Option", RFC 5925, DOI 10.17487/RFC5925,
              June 2010, <https://www.rfc-editor.org/info/rfc5925>.

   [RFC6824]  Ford, A., Raiciu, C., Handley, M., and O. Bonaventure,
              "TCP Extensions for Multipath Operation with the contents Multiple
              Addresses", RFC 6824, DOI 10.17487/RFC6824, January 2013,
              <https://www.rfc-editor.org/info/rfc6824>.

   [RFC7413]  Cheng, Y., Chu, J., Radhakrishnan, S., and A. Jain, "TCP
              Fast Open", RFC 7413, DOI 10.17487/RFC7413, December 2014,
              <https://www.rfc-editor.org/info/rfc7413>.

   [RFC8126]  Cotton, M., Leiba, B., and T. Narten, "Guidelines for
              Writing an IANA Considerations Section in RFCs", BCP 26,
              RFC 8126, DOI 10.17487/RFC8126, June 2017,
              <https://www.rfc-editor.org/info/rfc8126>.

   [RFC8174]  Leiba, B., "Ambiguity of the document, we
   would like to thank Joe Touch Uppercase vs Lowercase in RFC
              2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174,
              May 2017, <https://www.rfc-editor.org/info/rfc8174>.

11.2.  Informative References

   [ANRW17]   Trammell, B., Kuhlewind, M., De Vaere, P., Learmonth, I.,
              and Juliusz Chroboczek whose comments
   on the MPTCP mailing list have forced us to reconsider the design G. Fairhurst, "Tracking transport-layer evolution with
              PATHspider", Applied Networking Research Workshop 2017
              (ANRW17) , July 2017.

   [Fukuda2011]
              Fukuda, K., "An Analysis of
   the solution several times.

   We would like to thank Raphael Bauduin Longitudinal TCP Passive
              Measurements (Short Paper)", Traffic Monitoring and Stefano Secci for their
   help
              Analysis. TMA 2011. Lecture Notes in preparing this draft.  Sri Gundavelli Computer Science, vol
              6613. , 2011.

   [HotMiddlebox13b]
              Detal, G., Paasch, C., and Nandini Ganesh
   provided valuable feedback about O. Bonaventure, "Multipath in
              the handling of TFO Middle(Box)", HotMiddlebox'13 , December 2013,
              <http://inl.info.ucl.ac.be/publications/
              multipath-middlebox>.

   [I-D.arkko-arch-low-latency]
              Arkko, J. and J. Tantsura, "Low Latency Applications and
              the error
   codes.  Thanks to them.

   This document builds upon earlier documents that proposed various
   forms of Multipath TCP proxies [I-D.boucadair-mptcp-plain-mode],
   [I-D.peirens-mptcp-transparent] Internet Architecture", draft-arkko-arch-low-
              latency-02 (work in progress), October 2017.

   [I-D.boucadair-mptcp-plain-mode]
              Boucadair, M., Jacquenet, C., Bonaventure, O., Behaghel,
              D., stefano.secci@lip6.fr, s., Henderickx, W., Skog, R.,
              Vinapamula, S., Seo, S., Cloetens, W., Meyer, U.,
              Contreras, L., and [HotMiddlebox13b].

   From [I-D.boucadair-mptcp-plain-mode]:

   Many thanks to Chi Dung Phung, Mingui Zhang, Rao Shoaib, Yoshifumi
   Nishida, B. Peirens, "Extensions for Network-
              Assisted MPTCP Deployment Models", draft-boucadair-mptcp-
              plain-mode-10 (work in progress), March 2017.

   [I-D.boucadair-mptcp-radius]
              Boucadair, M. and Christoph Paasch C. Jacquenet, "RADIUS Extensions for their valuable comments.

   Thanks to Ian Farrer, Mikael Abrahamsson, Alan
              Network-Assisted Multipath TCP (MPTCP)", draft-boucadair-
              mptcp-radius-05 (work in progress), October 2017.

   [I-D.ietf-mptcp-rfc6824bis]
              Ford, Dan Wing, A., Raiciu, C., Handley, M., Bonaventure, O., and
   Sri Gundavelli C.
              Paasch, "TCP Extensions for the fruitful discussions Multipath Operation with
              Multiple Addresses", draft-ietf-mptcp-rfc6824bis-10 (work
              in IETF#95 (Buenos
   Aires).

   Special thanks to Pierrick Seite, Yannick Le Goff, Fred Klamm, progress), March 2018.

   [I-D.ietf-tcpinc-tcpcrypt]
              Bittau, A., Giffin, D., Handley, M., Mazieres, D., Slack,
              Q., and
   Xavier Grall for their inputs.

   Thanks also to Olaf Schleusing, Martin Gysi, Thomas Zasowski, Andreas
   Burkhard, Silka Simmen, Sandro Berger, Michael Melloul, Jean-Yves
   Flahaut, Adrien Desportes, Gregory E. Smith, "Cryptographic protection of TCP Streams
              (tcpcrypt)", draft-ietf-tcpinc-tcpcrypt-11 (work in
              progress), November 2017.

   [I-D.olteanu-intarea-socks-6]
              Olteanu, V. and D. Niculescu, "SOCKS Protocol Version 6",
              draft-olteanu-intarea-socks-6-01 (work in progress),
              October 2017.

   [I-D.peirens-mptcp-transparent]
              Peirens, B., Detal, Benjamin David, Arun
   Srinivasan, G., Barre, S., and Raghavendra Mallya for the discussion.

8.1.  Contributors

   As noted above, this document builds on two previous documents.

   The authors of [I-D.boucadair-mptcp-plain-mode] were: - Mohamed
   Boucadair - Christian Jacquenet - Olivier Bonaventure - Denis
   Behaghel - Stefano Secci - Wim Henderickx - Robert Skog - Suresh
   Vinapamula - SungHoon Seo - Wouter Cloetens - Ullrich Meyer - Luis M.
   Contreras - Bart Peirens

   The authors O. Bonaventure,
              "Link bonding with transparent Multipath TCP", draft-
              peirens-mptcp-transparent-00 (work in progress), July
              2016.

   [IETFJ16]  Bonaventure, O. and S. Seo, "Multipath TCP Deployment",
              IETF Journal, Fall 2016 , n.d..

   [IMC11]    Honda, K., Nishida, Y., Raiciu, C., Greenhalgh, A.,
              Handley, M., and T. Hideyuki, "Is it still possible to
              extend TCP ?", Proceedings of [I-D.peirens-mptcp-transparent] were: - Bart Peirens -
   Gregory Detal - Sebastien Barre - Olivier Bonaventure

9.  References

9.1.  Normative References

   [RFC0793]  Postel, J., "Transmission Control Protocol", STD 7, the 2011 ACM SIGCOMM
              conference on Internet measurement conference , 2011.

   [RFC1323]  Jacobson, V., Braden, R., and D. Borman, "TCP Extensions
              for High Performance", RFC 793, 1323, DOI 10.17487/RFC0793, September 1981,
              <https://www.rfc-editor.org/info/rfc793>.

   [RFC2119]  Bradner, S., "Key words 10.17487/RFC1323, May
              1992, <https://www.rfc-editor.org/info/rfc1323>.

   [RFC1812]  Baker, F., Ed., "Requirements for use in RFCs to Indicate
              Requirement Levels", BCP 14, IP Version 4 Routers",
              RFC 2119, 1812, DOI 10.17487/RFC1812, June 1995,
              <https://www.rfc-editor.org/info/rfc1812>.

   [RFC1919]  Chatel, M., "Classical versus Transparent IP Proxies",
              RFC 1919, DOI 10.17487/
              RFC2119, 10.17487/RFC1919, March 1997,
              <https://www.rfc-editor.org/info/rfc2119>.

   [RFC4291]  Hinden, R. 1996,
              <https://www.rfc-editor.org/info/rfc1919>.

   [RFC1928]  Leech, M., Ganis, M., Lee, Y., Kuris, R., Koblas, D., and S. Deering, "IP
              L. Jones, "SOCKS Protocol Version 6 Addressing
              Architecture", 5", RFC 4291, 1928,
              DOI 10.17487/RFC4291,
              February 2006, <https://www.rfc-editor.org/info/rfc4291>.

   [RFC4987]  Eddy, W., 10.17487/RFC1928, March 1996,
              <https://www.rfc-editor.org/info/rfc1928>.

   [RFC2018]  Mathis, M., Mahdavi, J., Floyd, S., and A. Romanow, "TCP SYN Flooding Attacks
              Selective Acknowledgment Options", RFC 2018,
              DOI 10.17487/RFC2018, October 1996,
              <https://www.rfc-editor.org/info/rfc2018>.

   [RFC2827]  Ferguson, P. and Common
              Mitigations", D. Senie, "Network Ingress Filtering:
              Defeating Denial of Service Attacks which employ IP Source
              Address Spoofing", BCP 38, RFC 4987, 2827, DOI 10.17487/RFC4987, August 2007,
              <https://www.rfc-editor.org/info/rfc4987>.

   [RFC6824]  Ford, A., Raiciu, C., Handley, 10.17487/RFC2827,
              May 2000, <https://www.rfc-editor.org/info/rfc2827>.

   [RFC3135]  Border, J., Kojo, M., Griner, J., Montenegro, G., and O. Bonaventure,
              "TCP Z.
              Shelby, "Performance Enhancing Proxies Intended to
              Mitigate Link-Related Degradations", RFC 3135,
              DOI 10.17487/RFC3135, June 2001,
              <https://www.rfc-editor.org/info/rfc3135>.

   [RFC6181]  Bagnulo, M., "Threat Analysis for TCP Extensions for
              Multipath Operation with Multiple Addresses", RFC 6824, 6181,
              DOI 10.17487/RFC6824, January 2013,
              <https://www.rfc-editor.org/info/rfc6824>.

   [RFC7413]  Cheng, Y., Chu, J., Radhakrishnan, S., 10.17487/RFC6181, March 2011,
              <https://www.rfc-editor.org/info/rfc6181>.

   [RFC6555]  Wing, D. and A. Jain, "TCP
              Fast Open", RFC 7413, DOI 10.17487/RFC7413, December 2014,
              <https://www.rfc-editor.org/info/rfc7413>.

   [RFC8174]  Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC
              2119 Key Words", BCP 14, Yourtchenko, "Happy Eyeballs: Success with
              Dual-Stack Hosts", RFC 8174, 6555, DOI 10.17487/RFC8174,
              May 2017, <https://www.rfc-editor.org/info/rfc8174>.

9.2.  Informative References

   [ANRW17]   Trammell, B., Kuhlewind, M., De Vaere, P., Learmonth, I.,
              and G. Fairhurst, "Tracking transport-layer evolution with
              PATHspider", Applied Networking Research Workshop 2017
              (ANRW17) , July 2017.

   [Fukuda2011]
              Fukuda, K., "An Analysis of Longitudinal TCP Passive
              Measurements (Short Paper)", Traffic Monitoring and
              Analysis. TMA 2011. Lecture Notes in Computer Science, vol
              6613. , 2011.

   [HotMiddlebox13b]
              Detal, G., Paasch, C., and O. Bonaventure, "Multipath in
              the Middle(Box)", HotMiddlebox'13 , December 2013, <http:/
              /inl.info.ucl.ac.be/publications/multipath-middlebox>.

   [I-D.arkko-arch-low-latency]
              Arkko, J. and J. Tantsura, "Low Latency Applications and
              the Internet Architecture",
              draft-arkko-arch-low-latency-02 (work in progress),
              October 2017.

   [I-D.boucadair-mptcp-plain-mode] 10.17487/RFC6555, April
              2012, <https://www.rfc-editor.org/info/rfc6555>.

   [RFC6887]  Wing, D., Ed., Cheshire, S., Boucadair, M., Jacquenet, C., Bonaventure, O., Behaghel,
              D., stefano.secci@lip6.fr, s., Henderickx, W., Skog, Penno, R.,
              Vinapamula, S., Seo, S., Cloetens, W., Meyer, U.,
              Contreras, L., and B. Peirens, "Extensions for Network-
              Assisted MPTCP Deployment Models",
              draft-boucadair-mptcp-plain-mode-10 (work in progress),
              March 2017.

   [I-D.boucadair-mptcp-radius]
              Boucadair, M.
              P. Selkirk, "Port Control Protocol (PCP)", RFC 6887,
              DOI 10.17487/RFC6887, April 2013,
              <https://www.rfc-editor.org/info/rfc6887>.

   [RFC6928]  Chu, J., Dukkipati, N., Cheng, Y., and C. Jacquenet, "RADIUS Extensions for
              Network-Assisted Multipath M. Mathis,
              "Increasing TCP's Initial Window", RFC 6928,
              DOI 10.17487/RFC6928, April 2013,
              <https://www.rfc-editor.org/info/rfc6928>.

   [RFC6978]  Touch, J., "A TCP (MPTCP)",
              draft-boucadair-mptcp-radius-05 (work in progress),
              October 2017.

   [I-D.ietf-mptcp-rfc6824bis]
              Ford, A., Raiciu, C., Handley, M., Bonaventure, O., Authentication Option Extension for NAT
              Traversal", RFC 6978, DOI 10.17487/RFC6978, July 2013,
              <https://www.rfc-editor.org/info/rfc6978>.

   [RFC7323]  Borman, D., Braden, B., Jacobson, V., and C.
              Paasch, R.
              Scheffenegger, Ed., "TCP Extensions for Multipath Operation with
              Multiple Addresses", draft-ietf-mptcp-rfc6824bis-09 (work
              in progress), July 2017.

   [I-D.ietf-tcpinc-tcpcrypt]
              Bittau, A., Giffin, D., Handley, High Performance",
              RFC 7323, DOI 10.17487/RFC7323, September 2014,
              <https://www.rfc-editor.org/info/rfc7323>.

   [RFC7414]  Duke, M., Mazieres, D., Slack,
              Q., Braden, R., Eddy, W., Blanton, E., and E. Smith, "Cryptographic protection A.
              Zimmermann, "A Roadmap for Transmission Control Protocol
              (TCP) Specification Documents", RFC 7414,
              DOI 10.17487/RFC7414, February 2015,
              <https://www.rfc-editor.org/info/rfc7414>.

Appendix A.  Differences with SOCKSv5

   The description above is a simplified description of the Converter
   protocol.  At a first glance, the proposed solution could seem
   similar to the SOCKS v5 protocol [RFC1928].  This protocol is used to
   proxy TCP Streams
              (tcpcrypt)", draft-ietf-tcpinc-tcpcrypt-11 (work in
              progress), November 2017.

   [I-D.olteanu-intarea-socks-6]
              Olteanu, V. connections.  The Client creates a connection to a SOCKS
   proxy, exchanges authentication information and D. Niculescu, "SOCKS Protocol Version 6",
              draft-olteanu-intarea-socks-6-01 (work indicates the
   destination address and port of the final server.  At this point, the
   SOCKS proxy creates a connection towards the final server and relays
   all data between the two proxied connections.  The operation of an
   implementation based on SOCKSv5 is illustrated in progress),
              October 2017.

   [I-D.peirens-mptcp-transparent]
              Peirens, B., Detal, G., Barre, S., Figure 20.

   Client                     SOCKS Proxy                  Server
        -------------------->
                SYN
        <--------------------
              SYN+ACK
        -------------------->
                ACK

        -------------------->
        Version=5, Auth Methods
        <--------------------
              Method
        -------------------->
            Auth Request (unless "No auth" method negotiated)
        <--------------------
            Auth Response
        -------------------->
        Connect Server:Port            -------------------->
                                              SYN

                                       <--------------------
                                            SYN+ACK
        <--------------------
             Succeeded

        -------------------->
               Data1
                                       -------------------->
                                              Data1

                                       <--------------------
                                              Data2
        <--------------------
                 Data2

    Figure 20: Establishment of a TCP connection through a SOCKS proxy
                          without authentication

   The Converter protocol also relays data between an upstream and O. Bonaventure,
              "Link bonding a
   downstream connection, but there are important differences with transparent Multipath TCP",
              draft-peirens-mptcp-transparent-00 (work in progress),
              July 2016.

   [IETFJ16]  Bonaventure, O.
   SOCKSv5.

   A first difference is that the Converter protocol leverages the TFO
   option [RFC7413] to exchange all control information during the
   three-way handshake.  This reduces the connection establishment delay
   compared to SOCKS that requires two or more round-trip-times before
   the establishment of the downstream connection towards the final
   destination.  In today's Internet, latency is a important metric and S. Seo, "Multipath
   various protocols have been tuned to reduce their latency
   [I-D.arkko-arch-low-latency].  A recently proposed extension to SOCKS
   also leverages the TFO option [I-D.olteanu-intarea-socks-6].

   A second difference is that the Converter protocol explicitly takes
   the TCP Deployment",
              IETF Journal, Fall 2016 , n.d..

   [IMC11]    Honda, K., Nishida, Y., Raiciu, C., Greenhalgh, A.,
              Handley, M., and T. Hideyuki, "Is it still possible extensions into account.  By using the Converter protocol,
   the Client can learn whether a given TCP extension is supported by
   the destination Server.  This enables the Client to
              extend bypass the
   Transport Converter when the destination supports the required TCP ?", Proceedings
   extension.  Neither SOCKS v5 [RFC1928] nor the proposed SOCKS v6
   [I-D.olteanu-intarea-socks-6] provide such a feature.

   A third difference is that a Transport Converter will only accept the
   connection initiated by the Client provided that the downstream
   connection is accepted by the Server.  If the Server refuses the
   connection establishment attempt from the Transport Converter, then
   the upstream connection from the Client is rejected as well.  This
   feature is important for applications that check the availability of
   a Server or use the 2011 ACM SIGCOMM
              conference time to connect as a hint on Internet measurement conference , 2011.

   [RFC1919]  Chatel, M., "Classical versus Transparent IP Proxies",
              RFC 1919, DOI 10.17487/RFC1919, March 1996,
              <https://www.rfc-editor.org/info/rfc1919>.

   [RFC1928]  Leech, M., Ganis, M., Lee, Y., Kuris, R., Koblas, D., and
              L. Jones, "SOCKS Protocol Version 5", RFC 1928,
              DOI 10.17487/RFC1928, March 1996,
              <https://www.rfc-editor.org/info/rfc1928>.

   [RFC2018]  Mathis, M., Mahdavi, J., Floyd, S., and A. Romanow, "TCP
              Selective Acknowledgment Options", RFC 2018, DOI 10.17487/
              RFC2018, October 1996,
              <https://www.rfc-editor.org/info/rfc2018>.

   [RFC2827]  Ferguson, P. and D. Senie, "Network Ingress Filtering:
              Defeating Denial the selection of Service Attacks which employ IP Source
              Address Spoofing", BCP 38, RFC 2827, DOI 10.17487/RFC2827,
              May 2000, <https://www.rfc-editor.org/info/rfc2827>.

   [RFC3135]  Border, J., Kojo, M., Griner, J., Montenegro, G., and Z.
              Shelby, "Performance Enhancing Proxies Intended to
              Mitigate Link-Related Degradations", RFC 3135,
              DOI 10.17487/RFC3135, June 2001,
              <https://www.rfc-editor.org/info/rfc3135>.

   [RFC6181]  Bagnulo, M., "Threat Analysis for TCP Extensions for
              Multipath Operation with Multiple Addresses", RFC 6181,
              DOI 10.17487/RFC6181, March 2011,
              <https://www.rfc-editor.org/info/rfc6181>.

   [RFC6555]  Wing, D. and A. Yourtchenko, "Happy Eyeballs: Success with
              Dual-Stack Hosts", RFC 6555, DOI 10.17487/RFC6555,
              April 2012, <https://www.rfc-editor.org/info/rfc6555>.

   [RFC6887]  Wing, D., Ed., Cheshire, S., Boucadair, M., Penno, R., and
              P. Selkirk, "Port Control Protocol (PCP)", RFC 6887,
              DOI 10.17487/RFC6887, April 2013,
              <https://www.rfc-editor.org/info/rfc6887>.

   [RFC7323]  Borman, D., Braden, B., Jacobson, V., and R.

              Scheffenegger, Ed., "TCP Extensions for High Performance",
              RFC 7323, DOI 10.17487/RFC7323, September 2014,
              <https://www.rfc-editor.org/info/rfc7323>.

   [RFC7414]  Duke, M., Braden, R., Eddy, W., Blanton, E., and A.
              Zimmermann, "A Roadmap for Transmission Control Protocol
              (TCP) Specification Documents", RFC 7414, DOI 10.17487/
              RFC7414, February 2015,
              <https://www.rfc-editor.org/info/rfc7414>. a
   Server [RFC6555].

Authors' Addresses

   Olivier Bonaventure (editor)
   Tessares

   Email: Olivier.Bonaventure@tessares.net

   Mohamed Boucadair (editor)
   Orange

   Email: mohamed.boucadair@orange.com

   Bart Peirens
   Proximus

   Email: bart.peirens@proximus.com

   SungHoon Seo
   Korea Telecom

   Email: sh.seo@kt.com
   Anandatirtha Nandugudi
   Tessares
   Memphis University

   Email: anand.nandugudi@tessares.net nndugudi@memphis.edu