<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE rfc SYSTEM "rfc2629.dtd">
<?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>

<!-- Copyright (C) The IETF Trust (2011) -->
<!-- Copyright (C) The Internet Society (2011) -->

<!-- XML source for the NFSv4 internet draft document -->

<!-- To generate text with the xml2rfc tool tclsh8.3 xml2rfc.tcl 
     xml2rfc this_file.xml that_file.txt which puts the formatted 
     text into that_file.txt -->

<!-- processing instructions (for a complete list and description,
     see file http://xml.resource.org/authoring/README.html -->

<!-- try to enforce the ID-nits conventions and DTD validity -->

<?rfc strict="yes" ?>

<!-- items used when reviewing the document -->

<?rfc comments="yes" ?>  <!-- controls display of <cref> elements -->
<?rfc inline="yes" ?>    <!-- when no, put comments at end in comments section,
                                otherwise, put inline -->
<?rfc editing="no" ?>   <!-- when yes, insert editing marks -->

<!-- create table of contents (set it options).  
     Note the table of contents may be omitted
     for very short documents --> 

<?rfc toc="yes"?>
<?rfc tocompact="yes"?>
<?rfc tocdepth="3"?>

<!-- choose the options for the references. Some like
     symbolic tags in the references (and citations)
     and others prefer numbers. --> 

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

<!-- these two save paper: start new paragraphs from the same page etc. -->

<?rfc compact="yes" ?>
<?rfc subcompact="no" ?>

<!-- end of list of processing instructions -->

<rfc
    category="std"
    ipr="trust200902"
    docName="draft-ietf-nfsv4-rpcsec-gssv3-17" >

<!-- Copyright (C) The IETF Trust (2011) -->
<!-- Copyright (C) The Internet Society (2011) -->

<front>
    <title abbrev="NFSv4">
    Remote Procedure Call (RPC) Security Version 3
    </title>

    <author fullname="William A. (Andy) Adamson" 
            initials="W." 
            surname="Adamson" >
        <organization abbrev="NetApp">NetApp</organization>
        <address>
            <postal>
                <street>3629 Wagner Ridge Ct</street>
                <city>Ann Arbor</city>
                <region>MI</region>
                <code>48103</code>
                <country>USA</country>
            </postal>
            <phone>+1 734 665 1204</phone>
            <email>andros@netapp.com</email>
        </address>
    </author>
  <author initials='N.' surname='Williams'
          fullname = 'Nico Williams'>
    <organization abbrev='Cryptonector'>cryptonector.com</organization>
    <address>
       <postal>
         <street>13115 Tamayo Dr</street>
         <city>Austin</city> 
         <region>TX</region>
         <code>78729</code>
         <country>USA</country>
       </postal>

       <email>nico@cryptonector.com</email>
    </address>
  </author> 

    <date year="2016" month="January" day="28"/>

    <area>Transport</area>
    <workgroup>NFSv4</workgroup>

    <abstract>
      <t>
        This document specifies version 3 of the Remote Procedure Call (RPC)
        security protocol (RPCSEC_GSS).  This protocol provides support
        for multi-principal authentication of client hosts and
        user principals to a server (constructed by
        generic composition), security label assertions for
        multi-level and type enforcement, structured privilege assertions,
        and channel bindings.
      </t>
    </abstract>

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

    </note>

</front>
<!-- Copyright (C) The IETF Trust (2011) -->
<!-- Copyright (C) The Internet Society (2011) -->
<middle>
<!-- Copyright (C) The IETF Trust (2012) -->
<!-- Copyright (C) The Internet Society (2012) -->
<section anchor="sec:intro" title="Introduction and Motivation">
  <t>
    The original RPCSEC_GSS protocol <xref target="RFC2203" /> provided for
    authentication of RPC clients and servers to each other using the
    Generic Security Services Application Programming Interface (GSS-API)
    <xref target="RFC2743" />.  The second version of
    RPCSEC_GSS <xref target="RFC5403" />  added support
    for channel bindings <xref target="RFC5056" />.
  </t>
  <t>
    Existing GSS-API mechanisms are insufficient for communicating
    certain authorization and authentication information to a server.
    The GSS-API and its mechanisms certainly could be extended to address
    this shortcoming. However, here it is addressed at the
    application layer, i.e., in RPCSEC_GSS.
  </t>
  <t>
    A major motivation for version 3 RPCSEC_GSS (RPCSEC_GSSv3) is to add
    support for multi-level (labeled) security and server-side copy for NFSv4. 
  </t>
  <t>
    Multi-Level Security (MLS) is a traditional model where subjects
    (processes)  are given a security level (Unclassified, Secret, Top Secret,
    etc.) and objects (files) are given security labels that mandate the
    access of the subject to the object (see <xref target='NFSv4.2' /> 
    Section 9.2).
  </t>
  <t>
    Labeled NFS (see Section 9 of <xref target='NFSv4.2' />) uses
    an MLS policy with Mandatory Access Control (MAC) systems
    as defined in <xref target='RFC4949'/>.
    Labeled NFS stores MAC file object labels on the NFS server and
    enables client
    Guest Mode MAC as described in Section 9.6.2 of <xref target='NFSv4.2'/>.
    RPCSEC_GSSv3 label assertions assert client MAC process subject labels to
    enable Full Mode MAC when combined with Labeled NFS as described in
    Section 9.6.1 of <xref target='NFSv4.2' />.
  </t>
  <t>
    A traditional inter-server file copy entails the user gaining access to
    a file on the source, reading it, and writing it to a file on
    the destination.  In secure NFSv4 inter-server server-side copy
    (see Section 4 of <xref target='NFSv4.2' />),
    the user first secures access to both source and destination files,
    and then uses NFSv4.2 defined RPCSEC_GSSv3 structured
    privileges to authorize the destination to copy the file from the
    source on behalf of the user.
  </t>
  <t>
    Multi-principal assertions can be used to address shared cache
    poisoning attacks (see Section 9 of <xref target='AFS-RXGK'/>)
    on the client cache by a user. As described
    in Section 7 of <xref target="AFS-RXGK"/>, multi-user machines
    with a single cache manager can fetch and cache data on a users'
    behalf, and re-display it for another user from the cache without
    re-fetching the data from the server.
    The initial data acquisition is authenticated by the first user's
    credentials, and if only that user's credentials are used, it may be
    possible for a malicious user or users to "poison" the cache for
    other users by introducing bogus data into the cache.
  </t>
  <t>
    Another use of the multi-principal assertion is the secure conveyance
    of privilege information for processes running with more (or even with
    less) privilege than the user normally would be accorded. 
  </t>


  <section title="Added Functionality">
    <t>
      RPCSEC_GSS version 3 (RPCSEC_GSSv3) is therefore described. RPCSEC_GSSv3
      is the same as <xref target="RFC5403">RPCSEC_GSSv2</xref>, except that
      the following assertions of authority have been added.
    </t>
    <t>
      <list style="symbols">
        <t>
          Security labels for Full Mode security type enforcement,
          and other labeled security models (See Section 9.6.2 in
          <xref target='NFSv4.2' />). 
        </t>
        <t>
          Application-specific structured privileges.  These allow an RPC
          application client to pass structured information to the
          corresponding application code in a server to control the
          applicability of the privilege and/or the conditions in which
          the privilege may be exercised.  For an example
          see server-side copy <xref target='NFSv4.2' />.
        </t>
        <t>
          Multi-principal authentication of the client host and user to the
          server done by binding two RPCSEC_GSS handles.
        </t>
        <t>
          Simplified channel binding.
        </t>
      </list>
    </t>
    <t>
      Assertions of labels and privileges are evaluated by the
      server, which may then map the asserted values to other values, all
      according to server-side policy. See <xref target="NFSv4.2"/>.
    </t>
    <t>
      An option for enumerating server supported label format specifiers
      (LFS) is provided. See Section 9.2 in <xref target='NFSv4.2' />.
    </t>
    <t>
      Note that there is no RPCSEC_GSS_CREATE payload that is REQUIRED to
      implement. RPCSEC_GSSv3 implementations are feature driven.
      Besides implementing the RPCSEC_GSS_CREATE operation and payloads for
      the desired features, all RPCSEC_GSSv3 implementation MUST implement:
      <list style="symbols">
        <t>
          The new GSS <xref target="ss:vn">version number</xref>.
        </t>
        <t>
          The new <xref target="ss:nrv">reply verifier</xref>.
        </t>
        <t>
          The new <xref target="ss:nasv">auth stat values</xref>.
        </t>
      </list>
      RPCSEC_GSSv3 targets implementing a desired feature must also implement
      the RPCSEC_GSS_LIST operation, and the RPCSEC_GSS_CREATE operation
      replies for unsupported features.
      <list style="symbols">
        <t>
          For label assertions the target indicates no support by returning
          the new RPCSEC_GSS_LABEL_PROBLEM auth stat
          (See <xref target="ss:la" />).
        </t>
        <t>
          For structured privilege assertions the target indicates no support
          by returning the new RPCSEC_GSS_UNKNOWN_MESSAGE auth stat
          (See <xref target="ss:pa"/>).
        </t>
        <t>
          For <xref target="ss:mpa">multi-principal authentication</xref>,
          the target indicates no support by not including a
          rgss3_gss_mp_auth value in the rgss3_create_res.
        </t>
        <t>
          For <xref target="ss:cb">channel bindings</xref> 
          the target indicates no support by not including a
          rgss3_chan_binding value in the rgss3_create_res.
        </t>
      </list>
    </t>

  </section> <!-- Added Functionality -->

  <section title="XDR Code Extraction">
    <t>
      This document contains the  External Data Representation (XDR)
      (<xref target="RFC4506" />) definitions for the RPCSEC_GSSv3 protocol.
      The XDR description is provided in this document in a way
      that makes it simple for the reader to extract into ready
      to compile form. The reader can feed this document in the
      following shell script to produce the machine readable XDR
      description of RPCSEC_GSSv3:
    </t>
    <t>
      &lt;CODE BEGINS&gt;
    </t>
    <figure>
      <artwork>
#!/bin/sh
grep "^  *///" | sed 's?^  */// ??' | sed 's?^  *///$??'
    </artwork>
    </figure>
    <t>
      &lt;CODE ENDS&gt;
    </t>
    <t>
      I.e. if the above script is stored in a file called "extract.sh",
      and this document
      is in a file called "spec.txt", then the reader can do:
    </t>
    <t>
      &lt;CODE BEGINS&gt;
    </t>
    <figure>
      <artwork><![CDATA[
 sh extract.sh < spec.txt > rpcsec_gss_v3.x
      ]]></artwork>
    </figure>
    <t>
      &lt;CODE ENDS&gt;
    </t>
    <t>
      The effect of the script is to remove leading white space
      from each line, plus a sentinel sequence of "///".
    </t>
  </section> <!-- XDR Code Extraction -->

</section> <!-- Introduction and Motivation -->

<section anchor="sec:protocol" title="The RPCSEC_GSSv3 Protocol">
  <t>
    RPCSEC_GSS version 3 (RPCSEC_GSSv3) is very similar to
    <xref target="RFC5403"> RPCSEC_GSS version 2 (RPCSEC_GSSv2)</xref>.
    The differences are the addition of support for assertions and
    channel bindings are supported via a different mechanism.
  </t>
  <t>
    The entire RPCSEC_GSSv3 protocol is not presented here. Only the differences
    between it and RPCSEC_GSSv2 are shown.
  </t>
  <t>
    The use of RPCSEC_GSSv3 is structured as follows:
    <list style='symbols'>
      <t> 
        A client uses an existing RPCSEC_GSSv3 context handle established in the
        usual manner (See Section 5.2 <xref target="RFC2203" />) to protect
        RPCSEC_GSSv3 exchanges, this will be termed the "parent" handle.
      </t> 
      <t> 
        The server issues a "child" RPCSEC_GSSv3 handle in the
        RPCSEC_GSS_CREATE response which uses the
        underlying GSS-API security context of the parent handle in all
        subsequent exchanges that uses the child handle.
      </t>
      <t>
	An RPCSEC_GSSv3 child handle MUST NOT be used as the parent handle
        in an RPCSEC_GSS3_CREATE control message.
      </t>
    </list>
  </t> 

  <section title="Compatibility with RPCSEC_GSSv2">
  <t> 
    The functionality of <xref target="RFC5403">RPCSEC_GSSv2</xref> is fully
    supported by RPCSEC_GSSv3 with the exception of the
    RPCSEC_GSS_BIND_CHANNEL operation which is not supported when
    RPCSEC_GSSv3 is in use (see <xref target="bindchdep"/>).
  </t>
  </section> <!-- Compatibility with RPCSEC_GSSv2 -->

<section anchor="ss:vn" title="Version Negotiation">
  <t>
    An initiator that supports version 3 of RPCSEC_GSS simply issues an
    RPCSEC_GSS request with the rgc_version field set to
    RPCSEC_GSS_VERS_3.  If the target does not recognize
    RPCSEC_GSS_VERS_3, the target will return an RPC error per Section
    5.1 of <xref target="RFC2203" />.
  </t>
  <t>
    The initiator MUST NOT attempt to use an RPCSEC_GSS handle returned
    by version 3 of a target with version 1 or version 2 of the same target.
    The initiator MUST NOT attempt to use an RPCSEC_GSS handle returned by
    version 1 or version 2 of a target with version 3 of the same target.
  </t>
</section> <!-- Version Negotiation -->

  <section anchor="ss:nrv" title="New REPLY Verifier">
  <t> 
    A new reply verifier is needed for RPCSEC_GSSv3 because of a situation that
    arises from the use of the same GSS context by child and parent handles.
    Because the RPCSEC_GSSv3 child handle uses the same GSS context as the
    parent handle, a child and parent RPCSEC_GSSv3 handle could have the same
    RPCSEC_GSS sequence numbers. Since the reply verifier of previous
    versions of RPCSEC_GSS computes a Message Integrity Code (MIC) on just
    the sequence number,
    this provides opportunities for man in the middle attacks.
  </t>
  <t>
    This issue is addressed in RPCSEC_GSS version 3 by computing
    the verifier using the exact same input as is used to compute the
    request verifier, except that the mtype is changed from CALL
    to REPLY. The new reply verifier computes a MIC over the following RPC
    reply header data:
    <figure>
      <artwork>
  unsigned int xid;
  msg_type mtype;    /* set to REPLY */
  unsigned int rpcvers;
  unsigned int prog;
  unsigned int vers;
  unsigned int proc;
  opaque_auth  cred; /* captures the RPCSEC_GSS handle */
      </artwork>
    </figure>
  </t>
  </section> <!-- New REPLY Verifier -->
  <section title="XDR Code Preliminaries">
    <t>
      The following code fragment replaces the corresponding preliminary code
      shown in Figure 1 of <xref target='RFC5403'/>.  The values in the code
      fragment in <xref target='ss:nasv'/> are additions to the auth_stat
      enumeration.  Subsequent code fragments are additions to the code 
      for version 2 that support the new procedures defined in version 3.
    </t>
    <t>
      &lt;CODE BEGINS&gt;
    </t>
    <figure>
      <artwork><![CDATA[
   ///  /*
   ///   * Copyright (c) 2013 IETF Trust and the persons
   ///   * identified as the document authors. All rights
   ///   * reserved.
   ///   *
   ///   * The document authors are identified in [RFC2203], 
   ///   * [RFC5403], and [RFCTBD].
   ///   *
   ///   * Redistribution and use in source and binary forms,
   ///   * with or without modification, are permitted
   ///   * provided that the following conditions are met:
   ///   *
   ///   * o Redistributions of source code must retain the above
   ///   *   copyright notice, this list of conditions and the
   ///   *   following disclaimer.
   ///   *
   ///   * o Redistributions in binary form must reproduce the
   ///   *   above copyright notice, this list of
   ///   *   conditions and the following disclaimer in
   ///   *   the documentation and/or other materials
   ///   *   provided with the distribution.
   ///   *
   ///   * o Neither the name of Internet Society, IETF or IETF
   ///   *   Trust, nor the names of specific contributors, may be
   ///   *   used to endorse or promote products derived from this
   ///   *   software without specific prior written permission.
   ///   *
   ///   *   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS
   ///   *   AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
   ///   *   WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   ///   *   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
   ///   *   FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
   ///   *   EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
   ///   *   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
   ///   *   EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
   ///   *   NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
   ///   *   SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
   ///   *   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
   ///   *   LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
   ///   *   OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
   ///   *   IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
   ///   *   ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   ///   */
   ///
   ///  /*
   ///   * This code was derived from RFC2203, RFC5403, and RFCTBD.
   ///   * Please reproduce this note if possible.
   ///   */
   ///
   ///  enum rpc_gss_service_t {
   ///          /* Note: the enumerated value for 0 is reserved. */
   ///          rpc_gss_svc_none         = 1,
   ///          rpc_gss_svc_integrity    = 2,
   ///          rpc_gss_svc_privacy      = 3,
   ///          rpc_gss_svc_channel_prot = 4
   ///  };
   ///
   ///  enum rpc_gss_proc_t {
   ///           RPCSEC_GSS_DATA          = 0,
   ///           RPCSEC_GSS_INIT          = 1,
   ///           RPCSEC_GSS_CONTINUE_INIT = 2,
   ///           RPCSEC_GSS_DESTROY       = 3,
   ///           RPCSEC_GSS_BIND_CHANNEL  = 4, /* not used */
   ///           RPCSEC_GSS_CREATE        = 5, /* new */
   ///           RPCSEC_GSS_LIST          = 6  /* new */
   ///  };
   ///
   ///  struct rpc_gss_cred_vers_1_t {
   ///          rpc_gss_proc_t    gss_proc; /* control procedure */
   ///          unsigned int      seq_num;  /* sequence number */
   ///          rpc_gss_service_t service;  /* service used */
   ///          opaque            handle<>; /* context handle */
   ///  };
   ///
   ///  const RPCSEC_GSS_VERS_1 = 1;
   ///  const RPCSEC_GSS_VERS_2 = 2;
   ///  const RPCSEC_GSS_VERS_3 = 3; /* new */
   ///
   ///  union rpc_gss_cred_t switch (unsigned int rgc_version) {
   ///  case RPCSEC_GSS_VERS_1:
   ///  case RPCSEC_GSS_VERS_2:
   ///  case RPCSEC_GSS_VERS_3: /* new */
   ///          rpc_gss_cred_vers_1_t rgc_cred_v1;
   ///  };
   ///
      ]]></artwork>
    </figure>
    <t>
      &lt;CODE ENDS&gt;
    </t>
    <t>
      As seen above, the RPCSEC_GSSv3 credential has the same format as the
      <xref target="RFC2203">RPCSEC_GSSv1</xref> and
      <xref target="RFC5403">RPCSEC_GSSv2</xref> credential. Setting
      the rgc_version field
      to 3 indicates that the initiator and target support the new RPCSEC_GSSv3
      control procedures.
    </t>
  </section> <!-- XDR Code Preliminaries -->

  <section anchor="bindchdep" title="RPCSEC_GSS_BIND_CHANNEL Operation">
    <t>
      RPCSEC_GSSv3 provides a channel binding assertion that replaces
      the RPCSEC_GSSv2 RPCSEC_GSS_BIND_CHANNEL operation.
    </t>
    <t>
      The RPCSEC_GSS_BIND_CHANNEL operation is not supported on RPCSEC_GSS 
      version 3 handles. If a server receives an RPCSEC_GSS_BIND_CHANNEL
      operation on an RPCSEC_GSSv3 handle, it MUST return a reply status of
      MSG_ACCEPTED with an accept stat of PROC_UNAVAIL. 
    </t>
  </section> <!-- RPCSEC_GSS_BIND_CHANNEL Deprecated -->

  <section anchor="ss:nasv" title="New auth_stat Values">
    <t>
      RPCSEC_GSSv3 requires the addition of several values to the auth_stat
      enumerated type definition. The use of these new auth_stat
      values is explained throughout this document.
    </t>

    <figure>
        <artwork>
           enum auth_stat {
                   ...
                   /*
                    * RPCSEC_GSSv3 errors
                    */
                   RPCSEC_GSS_INNER_CREDPROBLEM = 15,
                   RPCSEC_GSS_LABEL_PROBLEM = 16,
                   RPCSEC_GSS_PRIVILEGE_PROBLEM = 17,
                   RPCSEC_GSS_UNKNOWN_MESSAGE = 18 
           };
        </artwork>
    </figure>
  </section> <!-- New Auth Stat Values -->

  <section anchor="ss:cm" title="New Control Procedures">
    <t>
      There are two new RPCSEC_GSSv3 control procedures: RPCSEC_GSS_CREATE,
      RPCSEC_GSS_LIST.
    </t>
    <t>
      The RPCSEC_GSS_CREATE procedure binds any combination of assertions:
      multi-principal authentication, labels, structured privileges, or channel
      bindings to a new RPCSEC_GSSv3 context returned in the rgss3_create_res
      rcr_handle field.
    </t>
    <t>
      The RPCSEC_GSS_LIST procedure queries the target for supported
      assertions.
    </t>
    <t>
      RPCSEC_GSS version 3 control messages are similar to the
      RPCSEC_GSS version 1 and version 2
      RPCSEC_GSS_DESTROY control message (see section 5.4
      <xref target="RFC2203" />) in that the sequence number
      in the request must be valid, and the header checksum in the verifier
      must be valid.  As in RPCSEC_GSS version 1 and version 2, the
      RPCSEC_GSS version 3 control messages may contain call data
      following the verifier in the body of the NULLPROC procedure.
      In other words, they look a lot like an
      RPCSEC_GSS data message with the header procedure set to NULLPROC.   
    </t>
    <t>
      The client MUST use one of the following security services to protect the
      RPCSEC_GSS_CREATE or RPCSEC_GSS_LIST control message:
      <list style='symbols'>
        <t>
          rpc_gss_svc_integrity
        </t>
        <t>
          rpc_gss_svc_privacy
        </t>
      </list>
    </t>
    <t>
      Specifically the client MUST NOT use rpc_gss_svc_none.
    </t>
    <t>
      RPCSEC_GSS_LIST can also use rpc_gss_svc_channel_prot (see
      <xref target="RFC5403">RPCSEC_GSSv2</xref>) if the request is sent
      using an RPCSEC_GSSv3 child handle with channel bindings enabled
      as described in <xref target="ss:cb"/>.
    </t>

    <section title="New Control Procedure - RPCSEC_GSS_CREATE">
      <t>
        &lt;CODE BEGINS&gt;
      </t>
      <figure>
        <artwork><![CDATA[
   ///  struct rgss3_create_args {
   ///          rgss3_gss_mp_auth    *rca_mp_auth;
   ///          rgss3_chan_binding   *rca_chan_bind_mic;
   ///          rgss3_assertion_u     rca_assertions<>;
   ///  };
   ///
   ///  struct rgss3_create_res {
   ///          opaque               rcr_handle<>;
   ///          rgss3_gss_mp_auth    *rcr_mp_auth;
   ///          rgss3_chan_binding   *rcr_chan_bind_mic;
   ///          rgss3_assertion_u     rcr_assertions<>;
   ///  };
   ///
   ///  enum rgss3_assertion_type {
   ///          LABEL = 0,
   ///          PRIVS = 1
   ///  };
   ///
   ///  union rgss3_assertion_u
   ///        switch (rgss3_assertion_type atype) {
   ///  case LABEL:
   ///          rgss3_label  rau_label;
   ///  case PRIVS:
   ///          rgss3_privs  rau_privs;
   ///  default:
   ///          opaque       rau_ext<>;
   ///  };
   ///
        ]]></artwork>
      </figure>
      <t>
        &lt;CODE ENDS&gt;
      </t>
      <t>
        The call data for an RPCSEC_GSS_CREATE request
        consists of an rgss3_create_args which
        binds one or more items of several kinds to the returned rcr_handle
        RPCSEC_GSSv3 context handle called the "child" handle:
        <list style='symbols'>
          <t>
            Multi-principal authentication: another RPCSEC_GSS context handle
          </t>
          <t>
            A channel binding
          </t>
          <t>
            Authorization assertions: labels and or privileges
          </t>
        </list>
        The reply to this message consists of either an error or an
        rgss3_create_res structure. As noted in <xref target="ss:la"/> and
        <xref target="ss:pa"/> successful rgss3_assertions are
        enumerated in rcr_assertions, and are REQUIRED to be enumerated in the
        same order as they appeared in the rca_assertions argument.
      </t>
      <t>
        Upon successful RPCSEC_GSS_CREATE, both the client and the server
        need to associate the resultant child rcr_handle context handle with the
        parent context handle in their GSS context caches so as to be able to
        reference the parent context given the child context handle.
      </t>
      <t>
        RPCSEC_GSSv3 child handles MUST be destroyed upon the destruction of
        the associated parent handle.
      </t>
      <t>
        Server implementation and policy MAY result in labels,
        privileges, and identities being mapped to concepts and values that
        are local to the server.
        Server policies should take into
        account the identity of the client and/or user as authenticated via
        the GSS-API.  
      </t>

      <section anchor="ss:mpa" title="Multi-principal Authentication">
        <t>
          &lt;CODE BEGINS&gt;
        </t>
        <figure>
          <artwork><![CDATA[
   ///
   ///  struct rgss3_gss_mp_auth {
   ///          opaque          rgmp_handle<>; /* inner handle */
   ///          opaque          rgmp_rpcheader_mic<>;
   ///  };
   ///
          ]]></artwork>
        </figure>
        <t>
          &lt;CODE ENDS&gt;
        </t>
        <t>
          RPCSEC_GSSv3 clients MAY assert a multi-principal authentication of
          the RPC client host principal and a user principal.
          This feature is needed, for example, when an RPC client host
          wishes to use authority assertions that the server may only
          grant if a user and an RPC client host
          are authenticated together to the server.  Thus a server
          may refuse to grant requested authority to a user acting alone
          (e.g., via an unprivileged user-space program), or to an RPC client
          host acting alone (e.g., when an RPC client host is acting on
          behalf of a user) but may grant requested authority to an RPC
          client host acting on behalf of a user if the server identifies
          the user and trusts the RPC client host.
        </t>
        <t>
          It is assumed that an unprivileged user-space program would not have
          access to RPC client host credentials needed to establish a GSS-API
          security context authenticating the RPC client host to the server,
          therefore
          an unprivileged user-space program could not create an RPCSEC_GSSv3
          RPCSEC_GSS_CREATE message that successfully binds an RPC client host
          and a user security context.
        </t>
        <t>
          In addition to the <xref target="sec:protocol">parent handle</xref>,
          the multi-principal authentication call data has an
          RPCSEC_GSS version 3 handle referenced via the rgmp_handle field
          termed the "inner" handle.
          Clients using RPCSEC_GSSv3 multi-principal authentication MUST use
          an RPCSEC_GSSv3 context handle that corresponds to a
          GSS-API security context that authenticates the RPC client host for
          the parent handle. For the inner context handle with RPCSEC_GSSv3
          it MUST use a context handle to authenticate a user.
          The reverse (parent handle authenticates user, inner authenticates
          an RPC client host) MUST NOT be used.
          Other multi-principal parent and inner context handle uses might
          eventually make sense, but would need to be introduced in a new
          revision of the RPCSEC_GSS protocol.
        </t>
        <t>
          The child context handle returned by a successful multi-principal
          assertion binds the inner RPCSEC_GSSv3 context handle to the parent
          RPCSEC_GSS context and MUST be treated by servers as authenticating
          the GSS-API initiator principal authenticated by the inner context
          handle's GSS-API security context.  This principal may be mapped to
          a server-side notion of user or principal.
        </t>
        <t>
          Multi-principal binding is done by including an assertion of type
          rgss3_gss_mp_auth in the RPCSEC_GSS_CREATE rgss3_create_args call
          data.  The inner context handle is placed in the rgmp_handle field.
          A MIC of the RPC call header up to and including the credential is
          computed using the GSS-API security context associated with the
          inner context handle and is placed in rgmp_rpcheader_mic field.
          Note that the rgmp_rpcheader_mic only identifies the client host
          GSS context by it’s context handle (the parent context handle)
          in the rpc header.
        </t>
        <t>
          An RPCSEC_GSS_CREATE control procedure with a multi-principal
          authentication payload MUST use the rpc_gss_svc_privacy security
          service for protection. This is to prevent an attacker from
          intercepting the RPCSEC_GSS_CREATE control procedure, re-assigning
          the (parent) context handle, and stealing the user’s identity.
        </t>
        <t>
          The target verifies the multi-principal authentication by first
          confirming that the parent context used is an RPC client host context,
          and then verifies the rgmp_rpcheader_mic using the GSS-API
          security context associated with the rgmp_handle field.
        </t>
        <t>
          On a successful verification, the rgss3_gss_mp_auth field in the
          rgss3_create_res reply MUST be filled in with the inner
          RPCSEC_GSSv3 context handle
          as the rgmp_handle, and a MIC computed over the RPC reply header
          (see section <xref target="ss:nrv"/>) using
          the GSS-API security context associated with the inner handle.
        </t>
        <t>
          On failure, the rgss3_gss_mp_auth field is not sent
          (rgss3_gss_mp_auth is an optional field).
          A MSG_DENIED reply to the RPCSEC_GSS_CREATE call is formulated
          as usual.
        </t>
        <t>
          As described in Section 5.3.3.3 of <xref target="RFC2203" />
          the server maintains a list of contexts for the clients that are
          currently in session with it. When a client request comes in, there
          may not be a context corresponding to its handle. When this occurs
          on an RPCSEC_GSS3_CREATE request processing of the parent handle,
          the server rejects the request with a reply status of MSG_DENIED
          with the reject_stat of AUTH_ERROR and with an auth_stat value of
          RPCSEC_GSS_CREDPROBLEM.
        </t>
        <t>
          A new value, RPCSEC_GSS_INNER_CREDPROBLEM, has been added to the
          auth_stat type.
          With a multi-pricipal authorization request, the server must also have
          a context corresponding to the inner context handle. When the server
          does not have a context handle corresponding to the inner
          context handle of a multi-pricipal authorization request, the server
          sends a reply status of MSG_DENIED with the reject_stat of AUTH_ERROR
          and with an auth_stat value of RPCSEC_GSS_INNER_CREDPROBLEM.
        </t>
        <t>
          When processing the multi-principal authentication request, if the
          GSS_VerifyMIC() call on the rgmp_rpcheader_mic fails to return
          GSS_S_COMPLETE, the server sends a reply status of MSG_DENIED with
          the reject_stat of AUTH_ERROR and with an auth_stat value of
          RPCSEC_GSS_INNER_CREDPROBLEM.
        </t>

      </section> <!-- Multi-principal Authentication -->

      <section anchor="ss:cb" title="Channel Binding">
        <t>
          &lt;CODE BEGINS&gt;
        </t>
        <figure>
          <artwork><![CDATA[
   ///
   ///  typedef opaque rgss3_chan_binding<>;
   ///
          ]]></artwork>
        </figure>
        <t>
          &lt;CODE ENDS&gt;
        </t>
        <t>
          RPCSEC_GSSv3 provides a different way to do channel binding than
          <xref target="RFC5403">RPCSEC_GSSv2</xref>.  Specifically:
          <list style="letters">
            <t>
             RPCSEC_GSSv3 builds on RPCSEC_GSSv1 by reusing existing,
             established context handles rather than providing a different
             RPC security flavor for establishing context handles,
            </t>
            <t>
              channel bindings data are not hashed because there is now
              general agreement that it is the secure channel's
              responsibility to produce channel bindings data of
              manageable size.
            </t>
          </list>
        </t>
        <t>
          (a) is useful in
          keeping RPCSEC_GSSv3 simple in general, not just for channel binding.
          (b) is useful in keeping RPCSEC_GSSv3 simple specifically for channel
          binding.
        </t>
        <t>
          Channel binding is accomplished as follows.  The client prefixes the
          channel bindings data octet string with the channel type as described
          in <xref target="RFC5056" />, then the client calls GSS_GetMIC()
          to get a MIC of
          resulting octet string, using the parent RPCSEC_GSSv3 context handle's
          GSS-API security context.  The MIC is then placed in the
          rca_chan_bind_mic field of RPCSEC_GSS_CREATE arguments
          (rgss3_create_args).
        </t>
        <t>
          If the rca_chan_bind_mic field of the arguments of a
          RPCSEC_GSS_CREATE control message is set, then the server MUST
          verify the client's channel binding MIC if the server supports this
          feature.  If channel binding verification succeeds then the server
          MUST generate a new MIC of the same channel bindings and place it in
          the rcr_chan_bind_mic field of the RPCSEC_GSS_CREATE rgss3_create_res
          results.  If channel binding verification fails or the server
          doesn't support
          channel binding then the server MUST indicate this in its reply by
	  not including a rgss3_chan_binding value in rgss3_create_res 
          (rgss3_chan_binding is an optional field).
        </t>
        <t>
          The client MUST verify the result's rcr_chan_bind_mic value
          by calling GSS_VerifyMIC() with the given MIC and
          the channel bindings data (including the channel type prefix).  If
          client-side channel binding verification fails then the client MUST
          call RPCSEC_GSS_DESTROY.  If the client requested channel binding
          but the server did not include an rcr_chan_binding_mic field in the
          results, then the client MAY continue to use the resulting context
          handle as though channel binding had never been requested. 
          If the client considers channel binding critical, it MUST call
          RPCSEC_GSS_DESTROY.
        </t>
        <t>
          As per-RPCSEC_GSSv2 <xref target="RFC5403" />:
          <list>
            <t>
              "Once a successful [channel binding] procedure has been performed
              on an [RPCSEC_GSSv3] context handle, the initiator's
              implementation may map application requests for rpc_gss_svc_none
              and rpc_gss_svc_integrity to rpc_gss_svc_channel_prot credentials.
              And if the secure channel has privacy enabled, requests for
              rpc_gss_svc_privacy can also be mapped to
              rpc_gss_svc_channel_prot."
            </t>
          </list>
        </t>
        <t>
          Any RPCSEC_GSSv3 child context handle that has been bound to a secure
          channel in this way SHOULD be used only with the
          rpc_gss_svc_channel_prot, and SHOULD NOT be used with
          rpc_gss_svc_none nor rpc_gss_svc_integrity -- if the secure channel
          does not provide privacy protection then the client MAY use
          rpc_gss_svc_privacy where privacy protection is needed or desired.
        </t>
      </section> <!-- Channel Binding -->

      <section anchor="ss:la" title="Label Assertions">
        <t>
          &lt;CODE BEGINS&gt;
        </t>
        <figure>
          <artwork><![CDATA[
   ///  struct rgss3_label {
   ///          rgss3_lfs       rl_lfs;
   ///          opaque          rl_label<>;
   ///  };
   ///
   ///  struct rgss3_lfs {
   ///          unsigned int rlf_lfs_id;
   ///          unsigned int rlf_pi_id;
   ///  };
   ///
          ]]></artwork>
        </figure>
        <t>
          &lt;CODE ENDS&gt;
        </t>
        <t>
          The client discovers which label format specifiers (LFS) the server
          supports via the RPCSEC_GSS_LIST control message.
          Full mode MAC is enabled when an RPCSEC_GSS version 3 process subject
          label assertion is combined with a file object label provided by
          the NFSv4.2 sec_label attribute.
        </t>
        <t>
          Label encoding is specified to mirror the NFSv4.2 sec_label attribute
          described in Section 12.2.4 of <xref target='NFSv4.2' />. The 
          label format specifier (LFS) is an identifier used by the client to
          establish the syntactic format of the security label and the
          semantic meaning of its components. The policy identifier (PI) is
          an optional part of the definition of an LFS which allows for
          clients and server to identify specific security policies.
          The opaque label field of rgss3_label is dependent on the MAC
          model to interpret and enforce.
        </t>
        <t>
          If a label itself requires privacy protection (i.e., that the user
          can assert that label is a secret) then the client MUST use the
          rpc_gss_svc_privacy protection service for the RPCSEC_GSS_CREATE
          request.
        </t>
        <t>
          RPCSEC_GSSv3 clients MAY assert a set of subject security labels in 
          some LSF by binding a label assertion to the RPCSEC_GSSv3 child context
          handle.  This is done by including an assertion of type rgss3_label in the
          RPCSEC_GSS_CREATE rgss3_create_args rca_assertions call data.
          The label assertion payload is the set of subject labels asserted by the
          calling NFS client process.  The resultant child context is used for NFS
          requests asserting the client process subject labels. The NFS server process
          that handles such requests then asserts the (client) process subject label(s)
          as it attempts to access a file that has associated LNFS object labels.
        </t>
        <t>
          Servers that support labeling in the requested LFS MAY
          map the requested subject label to a different subject label as
          a result of server-side policy evaluation.
        </t>
        <t>
          The labels that are accepted by the target and bound to the
          RPCSEC_GSSv3 context MUST be enumerated in the rcr_assertions
          field of the rgss3_create_res RPCSEC_GSS_CREATE reply.
        </t>
        <t>
          Servers that do not support labeling or that do not support the
          requested LFS reject the label assertion with a reply status of
          MSG_DENIED, a reject_status of AUTH_ERROR, and an auth_stat of
          RPCSEC_GSS_LABEL_PROBLEM.
	</t>
      </section> <!-- Label Assertions -->

      <section anchor="ss:pa" title="Structured Privilege Assertions">
        <t>
          &lt;CODE BEGINS&gt;
        </t>
        <figure>
          <artwork><![CDATA[
   ///
   ///  typedef opaque utf8string<>;   /* UTF-8 encoding */
   ///  typedef utf8string utf8str_cs; /* Case-sensitive UTF-8 */
   ///
   ///  struct rgss3_privs {
   ///          utf8str_cs      rp_name<>;
   ///          opaque          rp_privilege<>;
   ///  };
          ]]></artwork>
        </figure>
        <t>
          &lt;CODE ENDS&gt;
        </t>
        <t>
          A structured privilege is a capability defined by a specific RPC
          application.  To support the assertion of this privilege, by a 
          client using the application, in a server that also supports the 
          application, the application may define a private data structure 
          that is understood by clients and servers implementing the 
          RPC application.
        </t>
        <t>
          RPCSEC_GSSv3 clients MAY assert a structured privilege by binding 
          the privilege to the RPCSEC_GSSv3 context handle.  This is done by
          including an assertion of type rgss3_privs in the RPCSEC_GSS_CREATE
          rgss3_create_args rca_assertions call data.
        </t>
        <t>
          The privilege is identified by the description string that is
          used by RPCSEC_GSSv3 to identify the privilege and communicate
          the private data between the relevant RPC application-specific
          code without needing to be aware of the details of the structure
          used.  Thus, as far as RPCSEC_GSSv3 is concerned, the defined
          structure is passed between client and server as opaque data
          encoded in the rpc_gss3_privs rp_privilege field.
        </t>
        <t>
          Encoding, server verification and any server policies for
          structured privileges are described by the RPC application
          definition.  The rp_name field of rpc_gss3_privs carries the
          description string used to identify and list the privilege.
          The utf8str_cs definition is from  <xref target='RFC7530' />.
        </t>
        <t>
          A successful structured privilege assertion MUST be enumerated in
          the rcr_assertions field of the rgss3_create_res
          RPCSEC_GSS_CREATE reply.
        </t>
	<t>
          If a server receives a structured privilege assertion that it
          does not recognize, the assertion is rejected with a reply
          status of MSG_DENIED,
          a reject_status of AUTH_ERROR, and an auth_stat of
          RPCSEC_GSS_UNKNOWN_MESSAGE.
	</t>
	<t>
          It is assumed that a client asserting more than one structured
          privilege to be bound to a context handle would require all
          the privilege assertions to succeed.
	</t>
	<t>
          If a server receives an RPCSEC_GSS_CREATE request containing one
          or more  structured privilege assertions, any of which it fails
          to verify according to the requirements of the RPC application
          defined behavior, the request is rejected with a reply status of
          MSG_DENIED, a reject_status of AUTH_ERROR, and an auth_stat of
          RPCSEC_GSS_PRIVILEGE_PROBLEM.
        </t>
        <t>
          Section 4.10.1.1. "Inter-Server Copy via ONC RPC with RPCSEC_GSSv3"
          of <xref target='NFSv4.2' /> shows an example of structured
          privilege definition and use.
        </t>
      </section> <!-- Structured Privilege Assertions -->

    </section> <!-- New Control Procedure - RPCSEC_GSS_CREATE -->

    <section title="New Control Procedure - RPCSEC_GSS_LIST">
      <t>
        &lt;CODE BEGINS&gt;
      </t>
      <figure>
        <artwork><![CDATA[
   ///  enum rgss3_list_item {
   ///          LABEL = 0,
   ///          PRIVS = 1
   ///  };
   ///
   ///  struct rgss3_list_args {
   ///          rgss3_list_item      rla_list_what<>;
   ///  };
   ///
   ///  union rgss3_list_item_u
   ///        switch (rgss3_list_item itype) {
   ///  case LABEL:
   ///          rgss3_label          rli_labels<>;
   ///  case PRIVS:
   ///          rgss3_privs          rli_privs<>;
   ///  };
   ///
   ///  typedef rgss3_list_item_u rgss3_list_res<>;
   ///
        ]]></artwork>
      </figure>
      <t>
        &lt;CODE ENDS&gt;
      </t>
      <t>
        The call data for an RPCSEC_GSS_LIST request consists of a list
        of integers (rla_list_what) indicating what assertions are to be listed,
        and the reply consists of an error or the requested list.
      </t>
      <t>
        The result of requesting a list of rgss3_list_item LABEL 
        is a list of LFSs supported by the server. The client can then use
        the LFS list to assert labels via the RPCSEC_GSS_CREATE label
        assertions. See <xref target="ss:la" />.
      </t>
    </section> <!-- New Control Procedure - RPCSEC_GSS_LIST -->

  </section> <!-- New Control Procedures -->

    <section anchor="ss:extens" title="Extensibility">
      <t>
        Assertion types may be added in the future by adding arms to the
        'rgss3_assertion_u' union. 
        Examples of other potential assertion types include:
        <list style='symbols'>
          <t>
            Client-side assertions of identity:
            <list style='symbols'>
              <t>
                Primary client/user identity
              </t>
              <t>
                Supplementary group memberships of the client/user, including
                support for specifying deltas to the membership list as seen on
                the server.
              </t>
            </list>
          </t>
        </list>
      </t>
    </section> <!-- Extensibility -->

</section> <!-- The RPCSEC_GSSv3 Protocol -->

<section title="Operational Recommendation for Deployment">

  <t>
    RPCSEC_GSSv3 is a superset of <xref target="RFC5403">RPCSEC_GSSv2</xref>
    which in turn is a superset of <xref target="RFC2203">RPCSEC_GSSv1</xref>,
    and so can be used in all situations where RPCSEC_GSSv2 is used, or
    where RPCSEC_GSSv1 is used and channel bindings functionality is not
    needed.  RPCSEC_GSSv3 should be used when the new
    functionality is needed.
  </t>

</section>  <!-- Operational Recommendation for Deployment -->

<section anchor="sec:security" title="Security Considerations">
  <t>
    This entire document deals with security issues.
  </t>
  <t>
    The RPCSEC_GSSv3 protocol allows for client-side assertions of data
    that is relevant to server-side authorization decisions.  These
    assertions must be evaluated by the server in the context of whether
    the client and/or user are authenticated, whether multi-principal
    authentication was used, whether the client is trusted, what ranges
    of assertions are allowed for the client and the user (separately or
    together), and any relevant server-side policy.
  </t>
  <t>
    The security semantics of assertions carried by RPCSEC_GSSv3 are
    application protocol-specific.
  </t>
  <t>
    Note that RPSEC_GSSv3 is not a complete solution for labeling: it
    conveys the labels of actors, but not the labels of objects.  RPC
    application protocols may require extending in order to carry object
    label information.
  </t>
  <t>
    There may be interactions with NFSv4's callback security scheme and
    <xref target="RFC5661"> NFSv4.1's </xref> GSS-API "SSV" mechanisms.
    Specifically, the NFSv4 callback
    scheme requires that the server initiate GSS-API security contexts,
    which does not work well in practice, and in the context of 
    client-side processes running as the same user but with
    different privileges
    and security labels the NFSv4 callback security scheme seems
    particularly unlikely to work well.  NFSv4.1 has the server use an
    existing, client-initiated RPCSEC_GSS context handle to protect
    server-initiated callback RPCs.  The NFSv4.1 callback security scheme
    lacks all the problems of the NFSv4 scheme, however, it is important
    that the server pick an appropriate RPCSEC_GSS context handle to
    protect any callbacks.  Specifically, it is important that the server
    use RPCSEC_GSS context handles which authenticate the client to
    protect any callbacks relating to server state initiated by RPCs
    protected by RPCSEC_GSSv3 contexts.
  </t>

  <t>
    As described in <xref target="RFC5661"> Section 2.10.10 </xref>
    the client is permitted to associate multiple RPCSEC_GSS handles
    with a single SSV GSS context. RPCSEC_GSSv3 handles will work well
    with SSV in that the man-in-the-middle attacks described in
    <xref target="RFC5661"> Section 2.10.10 </xref> are solved by
    the <xref target="ss:nrv"> new reply verifier </xref>. Using
    an RPCSEC_GSSv3 handle backed by a GSS-SSV mechanism context as
    a parent handle in an RPCSEC_GSS_CREATE call while permitted
    is complicated by the lifetime rules of SSV contexts and their
    associated RPCSEC_GSS handles.
  </t>

</section> <!-- Security Considerations -->
<!-- Copyright (C) The IETF Trust (2011) -->
<!-- Copyright (C) The Internet Society (2011) -->
<section anchor="sec:iana" title="IANA Considerations">

<t>
  The following new IANA RPC Authentication Status Numbers have been added:
  <list style="symbols">
    <t>
      RPCSEC_GSS_INNER_CREDPROBLEM (15)	"No credentials for multi-principal assertion
      inner context user". See <xref target="ss:mpa" />.
    </t>

    <t>
      RPCSEC_GSS_LABEL_PROBLEM (16) "Problem with label assertion".
      See <xref target="ss:la" />.
    </t>

    <t>
      RPCSEC_GSS_PRIVILEGE_PROBLEM (17)	"Problem with structured privilege assertion".
      See <xref target="ss:pa" />.
    </t>

    <t>
      RPCSEC_GSS_UNKNOWN_MESSAGE (18) "Unknown structured privilege assertion".
      See <xref target="ss:pa" />.
    </t>

  </list>
</t>

</section>
<!-- Copyright (C) The IETF Trust (2011) -->
<!-- Copyright (C) The Internet Society (2011) -->

</middle>
<!-- Copyright (C) The IETF Trust (2011) -->
<!-- Copyright (C) The Internet Society (2011) -->
<back>
<!-- Copyright (C) The IETF Trust (2011) -->
<!-- Copyright (C) The Internet Society (2011) -->
  <references title="Normative References">

    <reference anchor='RFC2119'>
      <front>
	<title abbrev='RFC Key Words'>Key words for use in RFCs to Indicate Requirement Levels</title>
	<author initials='S.' surname='Bradner' fullname='Scott Bradner'>
	  <organization>Harvard University</organization>
	  <address>
	    <postal>
	      <street>1350 Mass. Ave.</street>
	      <street>Cambridge</street>
	    <street>MA 02138</street></postal>
	    <phone>- +1 617 495 3864</phone>
	<email>sob@harvard.edu</email></address></author>
	<date year='1997' month='March' />
      </front>
      <seriesInfo name='RFC' value='2119' />
    </reference>

    <reference anchor='RFC2203'>
    
      <front>
      <title>RPCSEC_GSS Protocol Specification</title>

        <author initials='M.' surname='Eisler' fullname='Michael Eisler'>
        <organization>Sun Microsystems, Inc.</organization>
        <address>
        <postal>
        <street>M/S UCOS03</street>
        <street>2550 Garcia Avenue</street>
        <street>Mountain View</street>
        <street>CA 94043</street></postal>
        <phone>+1 (719) 599-9026</phone>
        <email>mre@eng.sun.com</email></address></author>
  
        <author initials='A.' surname='Chiu' fullname='Alex Chiu'>
        <organization>Sun Microsystems, Inc.</organization>
        <address>
        <postal>
        <street>M/S UMPK17-203</street>
        <street>2550 Garcia Avenue</street>
        <street>Mountain View</street>
        <street>CA 94043</street></postal>
        <phone>+1 (415) 786-6465</phone>
        <email>hacker@eng.sun.com</email></address></author>
  
        <author initials='L.' surname='Ling' fullname='Lin Ling'>
        <organization>Sun Microsystems, Inc.</organization>
        <address>
        <postal>
        <street>M/S UMPK17-201</street>
        <street>2550 Garcia Avenue</street>
        <street>Mountain View</street>
        <street>CA 94043</street></postal>
        <phone>+1 (415) 786-5084</phone>
        <email>lling@eng.sun.com</email></address></author>

      <date year='1997' month='September' />
      <area>Security</area>
      <keyword>generic security service</keyword>
      <keyword>remote procedure call</keyword>
      <keyword>security</keyword>
      <abstract>
      <t>
         This memo describes an ONC/RPC security flavor that allows RPC
         protocols to access the Generic Security Services Application
         Programming Interface (referred to henceforth as GSS-API).
      </t></abstract></front>
      
      <seriesInfo name='RFC' value='2203' />
      <format type='TXT' octets='50937' target='ftp://ftp.isi.edu/in-notes/rfc2203.txt' />
      <format type='HTML' octets='64234' target='http://xml.resource.org/public/rfc/html/rfc2203.html' />
      <format type='XML' octets='50069' target='http://xml.resource.org/public/rfc/xml/rfc2203.xml' />
    </reference>

    <reference anchor='RFC2743'>

      <front>
	<title abbrev='GSS-API'>Generic Security Service Application
	Program Interface Version 2, Update 1</title>
	<author initials='J.' surname='Linn' fullname='John Linn'>
	  <organization>RSA Laboratories</organization>
	  <address>
	    <postal>
	      <street>20 Crosby Drive</street>
	      <city>Bedford</city>
	      <region>MA</region>
	      <code>01730</code>
	    <country>US</country></postal>
	    <phone>+1 781 687 7817</phone>
	<email>jlinn@rsasecurity.com</email></address></author>
	<date year='2000' month='January' />
	<abstract>
	  <t>The Generic Security Service Application Program
	  Interface (GSS-API), Version 2, as defined in, provides
	  security services to callers in a generic fashion,
	  supportable with a range of underlying mechanisms and
	  technologies and hence allowing source-level portability of
	  applications to different environments. This specification
	  defines GSS-API services and primitives at a level
	  independent of underlying mechanism and programming language
	  environment, and is to be complemented by other, related
	  specifications:</t>
	  <t>documents defining specific parameter bindings for
	  particular language environments</t>
	  <t>documents defining token formats, protocols, and
	  procedures to be implemented in order to realize GSS-API
	  services atop particular security mechanisms</t> <t>This
	  memo obsoletes making specific, incremental changes in
	  response to implementation experience and liaison
	  requests. It is intended, therefore, that this memo or a
	  successor version thereto will become the basis for
	  subsequent progression of the GSS-API specification on the
	  standards track.</t></abstract></front>

      <seriesInfo name='RFC' value='2743' />
      <format type='TXT' octets='229418' 
	      target='ftp://ftp.isi.edu/in-notes/rfc2743.txt' />
    </reference>

    <reference anchor='NFSv4.2'>
      <front>
        <title>NFS Version 4 Minor Version 2</title>

        <author initials='T' surname='Haynes' fullname='Thomas Haynes'>
          <organization abbrev='Primary Data' />
        </author>

        <date month='December' year='2014' />
      </front>
      <seriesInfo name="draft-ietf-nfsv4-minorversion2-29" value="(Work In Progress)"/>
    </reference>

    <reference anchor='RFC7530'>
      <front>
        <title>Network File System (NFS) Version 4 Protocol</title>

        <author initials='T' surname='Haynes' fullname='T. Haynes'>
          <organization abbrev='Primary Data' />
        </author>

        <author initials='D' surname='Noveck' fullname='David Noveck'>
          <organization abbrev='Dell' />
        </author>

        <date month='March' year='2015' />
      </front>
      <seriesInfo name="RFC" value="7530" />
      <format type="TXT" target="ftp://ftp.isi.edu/in-notes/rfc7530.txt"/>
    </reference>

    <reference anchor='RFC5661'>
      <front>
        <title>Network File System (NFS) Version 4 Minor Version 1 Protocol</title>

        <author initials='S' surname='Shepler' fullname='Spencer Shepler'>
          <organization abbrev='Storspeed, Inc.' />
        </author>

        <author initials='M' surname='Eisler' fullname='Mike Eisler'>
          <organization abbrev='NetApp' />
        </author>

        <author initials='D' surname='Noveck' fullname='David Noveck'>
          <organization abbrev='NetApp' />
        </author>

        <date month='January' year='2010' />
      </front>
      <seriesInfo name="RFC" value="5661" />
      <format type="TXT" target="ftp://ftp.isi.edu/in-notes/rfc5661.txt"/>
    </reference>

  <reference anchor='RFC5056'>
    <front>
      <title>On the Use of Channel Bindings to Secure Channels</title>
      <author initials="N." surname="Williams" fullname="N. Williams">
	      <organization>Sun Microsystems, Inc.</organization>
      </author>
      <date year="2007" month="November" />
    </front>
    <seriesInfo name="RFC" value="5056" />
    <format type="TXT"
      target="ftp://ftp.isi.edu/in-notes/rfc5056.txt"/>
  </reference>
        
  <reference anchor='RFC4506'>
    <front>
      <title>XDR: External Data Representation Standard</title>
      <author initials='M.' surname='Eisler' fullname='Michael Eisler'>
	      <organization>NetApp</organization>
      </author>
      <date year="2006" month="May" />
    </front>
    <seriesInfo name="RFC" value="4506" />
    <format type="TXT"
      target="ftp://ftp.isi.edu/in-notes/rfc4506.txt"/>
  </reference>

    <reference anchor='RFC5403'>
    
      <front>
      <title>RPCSEC_GSS Version 2</title>

        <author initials='M.' surname='Eisler' fullname='Michael Eisler'>
        <organization>NetApp</organization>
        <address>
        <postal>
        <street>5765 Chase Point Circle</street>
        <street>Colorado Springs</street>
        <street>CO  80919</street></postal>
        <phone>+1 (719) 599-9026</phone>
        <email>mike@eisler.com</email></address></author>

      <date year='2009' month='February' />
      <area>Security</area>
      <keyword>generic security service</keyword>
      <keyword>remote procedure call</keyword>
      <keyword>security</keyword>
      <abstract>
      <t>
        This document describes version 2 of the RPCSEC_GSS protocol.
        Version 2 is the same as version 1 (specified in RFC 2203) except
        that support for channel bindings has been added.  RPCSEC_GSS allows
        remote procedure call (RPC) protocols to access the Generic Security
        Services Application Programming Interface (GSS-API).
      </t></abstract></front>
      
      <seriesInfo name='RFC' value='5403' />
      <format type='TXT' octets='50937' target='ftp://ftp.isi.edu/in-notes/rfc5403.txt' />
    </reference>

        
</references>

<references title="Informative References">

    <reference anchor="RFC4949">
      <front>
        <title>
          Internet Security Glossary, Version 2
        </title>
        <author initials='R.' surname='Shirley' fullname='R. Shirley'>
        </author>
        <date year='2007' month='August' />
      </front>
      <seriesInfo name='RFC' value='4949' />
      <format type='TXT' octets='50937' target='ftp://ftp.isi.edu/in-notes/rfc4949.txt' />
    </reference>

  <reference anchor="AFS-RXGK">
    <front>
      <title>Integrating rxgk with AFS</title>
      <author initials="S." surname="Wilkinson" />
      <author initials="B." surname="Kaduk" />
      <date year='2014' month='April' />
    </front>
    <seriesInfo name="draft-wilkinson-afs3-rxgk-afs" value="(work in progress)"/>
  </reference>



</references>

<!-- Copyright (C) The IETF Trust (2011) -->
<!-- Copyright (C) The Internet Society (2011) -->
<section title="Acknowledgments">
  <t>
    Andy Adamson would like to thank NetApp, Inc. for its funding of his
    time on this project.
  </t>

  <t>
    We thank Lars Eggert, Mike Eisler, Ben Kaduk, Bruce Fields, Tom
    Haynes, and Dave Noveck for their most helpful reviews.
  </t>
</section>

<section title="RFC Editor Notes">

<t>
[RFC Editor: please remove this section prior to publishing
this document as an RFC]

</t>

<t>
[RFC Editor: prior to publishing this document as an RFC, please replace all occurrences of RFCTBD
with RFCxxxx where xxxx is the RFC number of this document]
</t>

</section>
<!-- Copyright (C) The IETF Trust (2011) -->
<!-- Copyright (C) The Internet Society (2011) -->
</back>
<!-- Copyright (C) The IETF Trust (2011) -->
<!-- Copyright (C) The Internet Society (2011) -->
</rfc>
