<?xml version="1.0"?>
<!DOCTYPE rfc SYSTEM "rfc2629.dtd"[
 <!ENTITY RFC2119 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.2119.xml'>
 <!ENTITY RFC5246 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.5246.xml'>
]>

<?rfc toc="yes" symrefs="yes"?>

<rfc ipr="trust200902" docName="draft-agl-tls-padding-00">
  <front>
    <title abbrev="TLS Padding Extension">A TLS padding extension</title>
    <author initials="A." surname="Langley" fullname="Adam Langley">
      <organization>Google Inc</organization>
      <address>
        <email>agl@google.com</email>
      </address>
    </author>

    <date month="Nov" year="2013" />
    <area>Security</area>
    <abstract>
      <t>
        This memo describes the a TLS extension that can be used to pad ClientHello messages to a desired size.
      </t>
    </abstract>
  </front>

  <middle>
    <section title="Introduction" anchor="intro">
      <t>
        Successive <xref target="RFC5246">TLS</xref> versions have added support for more cipher suites and, over time, more TLS extensions have been defined. This has caused the size of the TLS ClientHello to grow and the additional size has caused some implementation bugs to come to light. At least some of these implementation bugs can be ameliorated by making the ClientHello even larger.
      </t>

      <t>
        This memo describes a TLS extension that can be used to pad a ClientHello to a desired size in order to avoid implementation bugs caused by certain ClientHello sizes.
      </t>
    </section>

    <section title="Requirements Notation">
      <t>
        The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
        "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
        document are to be interpreted as described in <xref
          target="RFC2119">RFC 2119</xref>.
      </t>
    </section>

    <section title="Padding Extension">
      <t>
        A new extension type ("<spanx style="verb">padding(TBD)</spanx>") is defined and MAY be included by the client in its ClientHello message.
      </t>

      <figure>
        <artwork align="left">enum {
        padding(TBD), (65535)
} ExtensionType</artwork>
      </figure>

      <t>
        The server MUST ignore the presence of the extension and its contents. As a consequence, the server MUST NOT echo the extension.
      </t>

      <t>
        The client MAY fill the padding extension with zero or more, arbitrary bytes. As the contents of the extension are completely arbitrary, no structure is defined here.
      </t>
    </section>

    <section title="IANA Considerations">
      <t>
        IANA is requested to assign an extension value for the padding extension from its ExtensionType registry.
      </t>
    </section>
  </middle>

  <back>
    <references title="Normative References">
      &RFC2119;
      &RFC5246;
    </references>
  </back>
</rfc>
