
From Tom.Haynes@netapp.com  Fri Apr  1 04:36:31 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 103D33A681B for <nfsv4@core3.amsl.com>; Fri,  1 Apr 2011 04:36:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.477
X-Spam-Level: 
X-Spam-Status: No, score=-10.477 tagged_above=-999 required=5 tests=[AWL=0.122, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9ssyRe+GrnXB for <nfsv4@core3.amsl.com>; Fri,  1 Apr 2011 04:36:30 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by core3.amsl.com (Postfix) with ESMTP id 8EC703A6810 for <nfsv4@ietf.org>; Fri,  1 Apr 2011 04:36:30 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.63,281,1299484800"; d="scan'208";a="537147959"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 01 Apr 2011 04:38:11 -0700
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p31BcAa3013706 for <nfsv4@ietf.org>; Fri, 1 Apr 2011 04:38:11 -0700 (PDT)
Received: from rtprsexc2-prd.hq.netapp.com ([10.100.161.115]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 1 Apr 2011 04:38:10 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 1 Apr 2011 07:38:08 -0400
Received: from hsbaa-lxp.hq.netapp.com ([10.64.59.90]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 1 Apr 2011 07:38:08 -0400
From: Thomas Haynes <thomas@netapp.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Date: Fri, 1 Apr 2011 13:38:07 +0200
Message-Id: <13DEB890-26AF-4FE1-9CB1-DA4A9AB6C272@netapp.com>
To: nfsv4@ietf.org
Mime-Version: 1.0 (Apple Message framework v1084)
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 01 Apr 2011 11:38:08.0602 (UTC) FILETIME=[45EFABA0:01CBF061]
Subject: [nfsv4] [lnfs] Proposed Labeled NFS meeting times
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Apr 2011 11:36:31 -0000

I'm proposing a bi-weekly conference call starting April 14th:

   Time: Thursdays 12:30-1:30 PM CST/1:30-2:30 PM EST/10:30-11:30 AM PST
Dial-in: 1-888-765-3653 (us)
         303-218-2659 (international)
     Id: 2787108

I know that there had been some calls on Wednesdays, but this keeps a
consistent meeting slot on Thursdays.



From Tom.Haynes@netapp.com  Fri Apr  1 04:36:31 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 839733A6810 for <nfsv4@core3.amsl.com>; Fri,  1 Apr 2011 04:36:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.479
X-Spam-Level: 
X-Spam-Status: No, score=-10.479 tagged_above=-999 required=5 tests=[AWL=0.120, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J39bGGU0o-6h for <nfsv4@core3.amsl.com>; Fri,  1 Apr 2011 04:36:31 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by core3.amsl.com (Postfix) with ESMTP id EFCB83A681A for <nfsv4@ietf.org>; Fri,  1 Apr 2011 04:36:30 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.63,281,1299484800"; d="scan'208";a="537147961"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 01 Apr 2011 04:38:11 -0700
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p31BcB3K028651 for <nfsv4@ietf.org>; Fri, 1 Apr 2011 04:38:11 -0700 (PDT)
Received: from rtprsexc2-prd.hq.netapp.com ([10.100.161.115]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 1 Apr 2011 04:38:11 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 1 Apr 2011 07:38:10 -0400
Received: from hsbaa-lxp.hq.netapp.com ([10.64.59.90]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 1 Apr 2011 07:38:09 -0400
From: Thomas Haynes <thomas@netapp.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Date: Fri, 1 Apr 2011 13:38:08 +0200
Message-Id: <78390F8A-B5B8-4F35-8811-89713D078046@netapp.com>
To: nfsv4@ietf.org
Mime-Version: 1.0 (Apple Message framework v1084)
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 01 Apr 2011 11:38:09.0727 (UTC) FILETIME=[469B54F0:01CBF061]
Subject: [nfsv4] [nfsv4.2] Proposed meeting times
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Apr 2011 11:36:31 -0000

I'm proposing a bi-weekly conference call starting April 7th:

   Time: Thursdays 12:30-1:30 PM CST/1:30-2:30 PM EST/10:30-11:30 AM PST
Dial-in: 1-888-765-3653 (us)
         303-218-2659 (international)
     Id: 2787108



From jarrett.lu@oracle.com  Fri Apr  1 04:15:08 2011
Return-Path: <jarrett.lu@oracle.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 26A223A67F3 for <nfsv4@core3.amsl.com>; Fri,  1 Apr 2011 04:15:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.598
X-Spam-Level: 
X-Spam-Status: No, score=-6.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fuJyfC9RnZQY for <nfsv4@core3.amsl.com>; Fri,  1 Apr 2011 04:15:06 -0700 (PDT)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id 9AD5A3A6806 for <nfsv4@ietf.org>; Fri,  1 Apr 2011 04:15:06 -0700 (PDT)
Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p31BGiW5022723 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 1 Apr 2011 11:16:45 GMT
Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p31BGh02002317 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 1 Apr 2011 11:16:43 GMT
Received: from abhmt005.oracle.com (abhmt005.oracle.com [141.146.116.14]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p31BGhgZ015259; Fri, 1 Apr 2011 06:16:43 -0500
Received: from [130.129.70.111] (/130.129.70.111) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 01 Apr 2011 04:16:42 -0700
Message-ID: <4D95B41C.70509@oracle.com>
Date: Fri, 01 Apr 2011 04:16:44 -0700
From: "jarrett.lu@oracle.com" <jarrett.lu@oracle.com>
User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.2.13) Gecko/20110228 Lightning/1.0b2 Thunderbird/3.1.7
MIME-Version: 1.0
To: sfaibish@emc.com, nfsv4@ietf.org, thomas@netapp.com
References: <4D95842E.70708@oracle.com>
In-Reply-To: <4D95842E.70708@oracle.com>
Content-Type: multipart/alternative; boundary="------------090809040805020702040401"
X-Source-IP: acsmt356.oracle.com [141.146.40.156]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090208.4D95B41C.00B8:SCFSTAT5015188,ss=1,fgs=0
X-Mailman-Approved-At: Fri, 01 Apr 2011 07:31:16 -0700
Cc: kathleen.moriarty@emc.com
Subject: Re: [nfsv4] Fwd: New Version Notification for draft-quigley-nfsv4-labeled-00
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: jarrett.lu@oracle.com
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Apr 2011 11:15:08 -0000

This is a multi-part message in MIME format.
--------------090809040805020702040401
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Tom,

Thank you for taking the initiative in consolidating the documents. 
Let's work on the consolidated document and try to get it in shape for 
IETF 81.

> Subject:
> Re: [nfsv4] Fwd: New Version Notification for 
> draft-quigley-nfsv4-labeled-00
> From:
> sfaibish <sfaibish@emc.com>
> Date:
> Thu, 31 Mar 2011 04:42:21 -0400
>
> To:
> Thomas Haynes <thomas@netapp.com>, nfsv4@ietf.org
> CC:
> "Moriarty, Kathleen" <kathleen.moriarty@emc.com>
>
>
> I want to start the discussion on the draft by adding the items and 
> issues
> we need to address in the draft based on my discussions with Jarrett
> and included in the slides I didn't show in the WG meeting.
>
> 1. Add in the introduction in more detail what security issues are not
>    addressed by the current ACL that are resolved by the current draft.

Text in current document is sufficient. No additional action required.

> 2. Add more usecases at least usecases related to virtualization needs,
>    government usecases, Linux usecases, cloud possible usecases, 
> additional
>    usecases from Kathleen (CCed) mentioned during the meeting.

Are we still missing the following use cases?
- MAC in virtualized environment (EMC ?)
- MAC in cloud computing (?)
- additional use cases from Kathleen (?)

Do we know who should provide what use cases? Someone should be assigned 
the action items to collect the known use cases. Sorin, should this 
person be you?

> 3. Add or group in one section addressing the implementation mechanism
>    and new xdr additions to make it clear for implementers.

Tom started doing that.

>    - Change MAC attributes to be represented as 2 separate entities:
>        Domain of Interpretation (DOI, specified by LFS)
>        Opaque without special separator @

This is agreed upon. Still need to specify format.

>    - Mechanism to allow systems to advertise MAC attributes support
>        Negotiated by requesting supported attributes from server 
> (EXCHANGE_ID)
>        May turn off support by not requesting attribute.

Based on the known use cases, how sophisticated does this negotiation 
need to be? It's conceivable that a MAC system may be capable of 
supporting more than one label format. Is there a need for a system to 
express its full capability (e.g. I understand LSF 5 and 7)? BTW, the 
use cases that I know don't require that level of complexity.
>    - Define fixed max size of the opaque (not less than IPv6 HBH 
> extension length?)

I suggested that because CALIPSO label is implement using IPv6 HBH 
extension. A CALIPSO label should fit in the opaque field.

>    - Add text to better define support of full mode MAC security as 
> implementation
>      recommendations for servers not mandating it but rather MAY be 
> implemented.

I thought about this a bit more after the meeting. The protocol 
extension should be made to support full mode. I believe users who 
really care about MAC security want to operate in full mode. Let's also 
examine each of the "half mode" operations and its impact on the 
protocol extension. (1) In the case that only server understands MAC, 
server can enforce its MAC policy without clients knowing it. When a 
non-MAC client requests access to a labeled file object (or its 
attributes), the server may grant access if its MAC policy allows it. 
When such access is granted, should the server hide the labeled 
attribute from the client? If so, there is no protocol impact, and there 
is no reason why older verson NFS clients can't be supported in this 
case. Otherwise, there is protocol impact and older version clients 
can't be supported without changes. (2) In the case where only client 
understands MAC, protocol extension is required because a client can 
request creation of a labeled object. The difference between this case 
and the "full mode" case is that a creation of a labeled object may fail 
in "full mode" if server MAC policy prevents it.

     - Address different policy reinforcement implementations more 
clearily:
>     + full server reinforcement only for dumb MAC unaware clients (define
>       how dumb, v2, v3, v4.0).
>       * Need to define/recommend which policies.
>       * Mention what are goals and non-goals addressed by current draf
>         # full mode for pNFS

If MAC negotiation/checks only happens betwen clients and MDS, this 
should work for pNFS, right?

>         # delegations (directory and files?)

Given MAC clients and MAC server are supposed to perform independent 
policy enforcement, the delegation feature probably does not make sense.

>         # untrusted devfelopments
>       * Separate "visibility" from "access permission" reinforcement.
>     + server policy to just prevent non MAC aware clients access and 
> see the
>           secured objects
>     + full server policy reinforcements for MAC aware clients

We need to distinguish support for MAC label attribute and MAC policy. 
For example, a non-MAC server is capable of get/set MAC label attribute 
(just like any other file attribute) but can't enforce any MAC policies.

>
> 4. Include a section about the pNFS support where to mention why
>    pNFS is different than 4.1. The current explanation may not be
>    enough. I would also include the reasoning why named attributes
>    is not recommended to be used.

I don't think we want to leave named attributes as an option to 
implement MAC attribute, as named attribute does not meet the 
requirement. If this prevents MAC support in NFSv3, so be it.

> 5. Add a section addressing the delegations and explain why delegations
>    are non-goals for 4.2 and what will be the roadmap for adding 
> delegation
>    support in future versions.
> 6. Define in more details all the behaviors: MAC aware cleint, MAC 
> un-aware
>    clients, MAC supportive server, MAC aware server and full mode server.
> 7. Add explanation on the issues related to root protection and/or 
> recommendation
>    how to solve them in the server (or and client)

I don't understand this. Is this related to prevention of privilege 
escalation?

> 8. Define the impact of new labels on dumb clients and MAC un-aware 
> clients both
>    from perspective of backward compatibility (new labels not break 
> the clients)
>    how to inform them that server will reinforce MAC (maybe?)
>
> We discussed additional issues which I may forgot so please jump in
> and add issues I missed that we will discuss during the calls. And I 
> insist
> of having bi-weekly calls as Jarrett, me and Dave recommend to have. It
> worked good last time we had the series. Thank you very much for your
> patience.

I suggest we start tracking issues and assigning action items to people. 
My impression is that if we need to include MAC support in 4.2, we need 
to make steady progress.

Thanks.

- Jarrett

>
> /Sorin
>

--------------090809040805020702040401
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Tom,<br>
    <br>
    Thank you for taking the initiative in consolidating the documents.
    Let's work on the consolidated document and try to get it in shape
    for IETF 81.<br>
    <br>
    <blockquote cite="mid:4D95842E.70708@oracle.com" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      <table class="header-part1" border="0" cellpadding="0"
        cellspacing="0" width="100%">
        <tbody>
          <tr>
            <td>
              <div class="headerdisplayname" style="display: inline;">Subject:

              </div>
              Re: [nfsv4] Fwd: New Version Notification for
              draft-quigley-nfsv4-labeled-00</td>
          </tr>
          <tr>
            <td>
              <div class="headerdisplayname" style="display: inline;">From:

              </div>
              sfaibish <a moz-do-not-send="true"
                class="moz-txt-link-rfc2396E"
                href="mailto:sfaibish@emc.com">&lt;sfaibish@emc.com&gt;</a></td>
          </tr>
          <tr>
            <td>
              <div class="headerdisplayname" style="display: inline;">Date:

              </div>
              Thu, 31 Mar 2011 04:42:21 -0400</td>
          </tr>
        </tbody>
      </table>
      <table class="header-part2" border="0" cellpadding="0"
        cellspacing="0" width="100%">
        <tbody>
          <tr>
            <td>
              <div class="headerdisplayname" style="display: inline;">To:

              </div>
              Thomas Haynes <a moz-do-not-send="true"
                class="moz-txt-link-rfc2396E"
                href="mailto:thomas@netapp.com">&lt;thomas@netapp.com&gt;</a>,
              <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
                href="mailto:nfsv4@ietf.org">nfsv4@ietf.org</a></td>
          </tr>
          <tr>
            <td>
              <div class="headerdisplayname" style="display: inline;">CC:

              </div>
              "Moriarty, Kathleen" <a moz-do-not-send="true"
                class="moz-txt-link-rfc2396E"
                href="mailto:kathleen.moriarty@emc.com">&lt;kathleen.moriarty@emc.com&gt;</a></td>
          </tr>
        </tbody>
      </table>
      <br>
      I want to start the discussion on the draft by adding the items
      and issues <br>
      we need to address in the draft based on my discussions with
      Jarrett <br>
      and included in the slides I didn't show in the WG meeting. <br>
      <br>
      1. Add in the introduction in more detail what security issues are
      not <br>
      &nbsp;&nbsp; addressed by the current ACL that are resolved by the current
      draft. <br>
    </blockquote>
    <br>
    Text in current document is sufficient. No additional action
    required.<br>
    <br>
    <blockquote cite="mid:4D95842E.70708@oracle.com" type="cite"> 2. Add
      more usecases at least usecases related to virtualization needs, <br>
      &nbsp;&nbsp; government usecases, Linux usecases, cloud possible usecases,
      additional <br>
      &nbsp;&nbsp; usecases from Kathleen (CCed) mentioned during the meeting. <br>
    </blockquote>
    <br>
    Are we still missing the following use cases?<br>
    - MAC in virtualized environment (EMC ?)<br>
    - MAC in cloud computing (?)<br>
    - additional use cases from Kathleen (?)<br>
    <br>
    Do we know who should provide what use cases? Someone should be
    assigned the action items to collect the known use cases. Sorin,
    should this person be you?<br>
    <br>
    <blockquote cite="mid:4D95842E.70708@oracle.com" type="cite"> 3. Add
      or group in one section addressing the implementation mechanism <br>
      &nbsp;&nbsp; and new xdr additions to make it clear for implementers. <br>
    </blockquote>
    <br>
    Tom started doing that.<br>
    <br>
    <blockquote cite="mid:4D95842E.70708@oracle.com" type="cite"> &nbsp;&nbsp; -
      Change MAC attributes to be represented as 2 separate entities: <br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Domain of Interpretation (DOI, specified by LFS) <br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Opaque without special separator @ <br>
    </blockquote>
    <br>
    This is agreed upon. Still need to specify format.<br>
    <br>
    <blockquote cite="mid:4D95842E.70708@oracle.com" type="cite"> &nbsp;&nbsp; -
      Mechanism to allow systems to advertise MAC attributes support <br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Negotiated by requesting supported attributes from server
      (EXCHANGE_ID) <br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; May turn off support by not requesting attribute. <br>
    </blockquote>
    <br>
    Based on the known use cases, how sophisticated does this
    negotiation need to be? It's conceivable that a MAC system may be
    capable of supporting more than one label format. Is there a need
    for a system to express its full capability (e.g. I understand LSF 5
    and 7)? BTW, the use cases that I know don't require that level of
    complexity. <br>
    <blockquote cite="mid:4D95842E.70708@oracle.com" type="cite"> &nbsp;&nbsp; -
      Define fixed max size of the opaque (not less than IPv6 HBH
      extension length?) <br>
    </blockquote>
    <br>
    I suggested that because CALIPSO label is implement using IPv6 HBH
    extension. A CALIPSO label should fit in the opaque field. <br>
    <br>
    <blockquote cite="mid:4D95842E.70708@oracle.com" type="cite"> &nbsp;&nbsp; -
      Add text to better define support of full mode MAC security as
      implementation <br>
      &nbsp;&nbsp;&nbsp;&nbsp; recommendations for servers not mandating it but rather MAY
      be implemented. <br>
    </blockquote>
    <br>
    I thought about this a bit more after the meeting. The protocol
    extension should be made to support full mode. I believe users who
    really care about MAC security want to operate in full mode. Let's
    also examine each of the "half mode" operations and its impact on
    the protocol extension. (1) In the case that only server understands
    MAC, server can enforce its MAC policy without clients knowing it.
    When a non-MAC client requests access to a labeled file object (or
    its attributes), the server may grant access if its MAC policy
    allows it. When such access is granted, should the server hide the
    labeled attribute from the client? If so, there is no protocol
    impact, and there is no reason why older verson NFS clients can't be
    supported in this case. Otherwise, there is protocol impact and
    older version clients can't be supported without changes. (2) In the
    case where only client understands MAC, protocol extension is
    required because a client can request creation of a labeled object.
    The difference between this case and the "full mode" case is that a
    creation of a labeled object may fail in "full mode" if server MAC
    policy prevents it.<br>
    <br>
    &nbsp;&nbsp;&nbsp; - Address different policy reinforcement implementations more
    clearily: <br>
    <blockquote cite="mid:4D95842E.70708@oracle.com" type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;+
      full server reinforcement only for dumb MAC unaware clients
      (define <br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; how dumb, v2, v3, v4.0). <br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * Need to define/recommend which policies. <br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * Mention what are goals and non-goals addressed by current
      draf <br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # full mode for pNFS <br>
    </blockquote>
    <br>
    If MAC negotiation/checks only happens betwen clients and MDS, this
    should work for pNFS, right?<br>
    <br>
    <blockquote cite="mid:4D95842E.70708@oracle.com" type="cite">
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # delegations (directory and files?) <br>
    </blockquote>
    <br>
    Given MAC clients and MAC server are supposed to perform independent
    policy enforcement, the delegation feature probably does not make
    sense.<br>
    <br>
    <blockquote cite="mid:4D95842E.70708@oracle.com" type="cite">
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # untrusted devfelopments <br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * Separate "visibility" from "access permission"
      reinforcement. <br>
      &nbsp;&nbsp;&nbsp;&nbsp;+ server policy to just prevent non MAC aware clients access
      and see the <br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; secured objects <br>
      &nbsp;&nbsp;&nbsp;&nbsp;+ full server policy reinforcements for MAC aware clients <br>
    </blockquote>
    <br>
    We need to distinguish support for MAC label attribute and MAC
    policy. For example, a non-MAC server is capable of get/set MAC
    label attribute (just like any other file attribute) but can't
    enforce any MAC policies.<br>
    <br>
    <blockquote cite="mid:4D95842E.70708@oracle.com" type="cite"> <br>
      4. Include a section about the pNFS support where to mention why <br>
      &nbsp;&nbsp; pNFS is different than 4.1. The current explanation may not be
      <br>
      &nbsp;&nbsp; enough. I would also include the reasoning why named attributes
      <br>
      &nbsp;&nbsp; is not recommended to be used. <br>
    </blockquote>
    <br>
    I don't think we want to leave named attributes as an option to
    implement MAC attribute, as named attribute does not meet the
    requirement. If this prevents MAC support in NFSv3, so be it.<br>
    <br>
    <blockquote cite="mid:4D95842E.70708@oracle.com" type="cite"> 5. Add
      a section addressing the delegations and explain why delegations <br>
      &nbsp;&nbsp; are non-goals for 4.2 and what will be the roadmap for adding
      delegation <br>
      &nbsp;&nbsp; support in future versions. <br>
      6. Define in more details all the behaviors: MAC aware cleint, MAC
      un-aware <br>
      &nbsp;&nbsp; clients, MAC supportive server, MAC aware server and full mode
      server. <br>
      7. Add explanation on the issues related to root protection and/or
      recommendation <br>
      &nbsp;&nbsp; how to solve them in the server (or and client) <br>
    </blockquote>
    <br>
    I don't understand this. Is this related to prevention of privilege
    escalation?<br>
    <br>
    <blockquote cite="mid:4D95842E.70708@oracle.com" type="cite"> 8.
      Define the impact of new labels on dumb clients and MAC un-aware
      clients both <br>
      &nbsp;&nbsp; from perspective of backward compatibility (new labels not
      break the clients) <br>
      &nbsp;&nbsp; how to inform them that server will reinforce MAC (maybe?) <br>
      <br>
      We discussed additional issues which I may forgot so please jump
      in <br>
      and add issues I missed that we will discuss during the calls. And
      I insist <br>
      of having bi-weekly calls as Jarrett, me and Dave recommend to
      have. It <br>
      worked good last time we had the series. Thank you very much for
      your <br>
      patience. <br>
    </blockquote>
    <br>
    I suggest we start tracking issues and assigning action items to
    people. My impression is that if we need to include MAC support in
    4.2, we need to make steady progress.<br>
    <br>
    Thanks.<br>
    <br>
    - Jarrett<br>
    <br>
    <blockquote cite="mid:4D95842E.70708@oracle.com" type="cite"> <br>
      /Sorin <br>
      <br>
    </blockquote>
  </body>
</html>

--------------090809040805020702040401--

From rees@umich.edu  Fri Apr  1 14:34:29 2011
Return-Path: <rees@umich.edu>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 85F4528C10B for <nfsv4@core3.amsl.com>; Fri,  1 Apr 2011 14:34:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.066
X-Spam-Level: 
X-Spam-Status: No, score=-5.066 tagged_above=-999 required=5 tests=[AWL=-0.326, BAYES_20=-0.74, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rBbNye1yn1D9 for <nfsv4@core3.amsl.com>; Fri,  1 Apr 2011 14:34:28 -0700 (PDT)
Received: from int-mailstore01.merit.edu (int-mailstore01.merit.edu [207.75.116.232]) by core3.amsl.com (Postfix) with ESMTP id D12CA28C108 for <nfsv4@ietf.org>; Fri,  1 Apr 2011 14:34:28 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by int-mailstore01.merit.edu (Postfix) with ESMTP id 48F8F30574E5 for <nfsv4@ietf.org>; Fri,  1 Apr 2011 17:36:09 -0400 (EDT)
X-Virus-Scanned: amavisd-new at int-mailstore01.merit.edu
Received: from int-mailstore01.merit.edu ([127.0.0.1]) by localhost (int-mailstore01.merit.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vZoKZAFSiAqC for <nfsv4@ietf.org>; Fri,  1 Apr 2011 17:36:09 -0400 (EDT)
Received: from merit.edu (74-126-0-171.static.123.net [74.126.0.171]) by int-mailstore01.merit.edu (Postfix) with ESMTPSA id E2CCE305737A for <nfsv4@ietf.org>; Fri,  1 Apr 2011 17:36:08 -0400 (EDT)
Date: Fri, 1 Apr 2011 17:36:04 -0400
From: Jim Rees <rees@umich.edu>
To: nfsv4@ietf.org
Message-ID: <20110401213604.GB9118@merit.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Subject: [nfsv4] June 2011 NFSv4 Bakeathon
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Apr 2011 21:34:29 -0000

The June 2011 NFSv4 Bakeathon will be held June 13-17 at the University of
Michigan in Ann Arbor.  I'll send out details and registration info next
week.

From david.black@emc.com  Mon Apr  4 08:31:44 2011
Return-Path: <david.black@emc.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3AF643A6952 for <nfsv4@core3.amsl.com>; Mon,  4 Apr 2011 08:31:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.58
X-Spam-Level: 
X-Spam-Status: No, score=-106.58 tagged_above=-999 required=5 tests=[AWL=0.018, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GoUKZZIF0ioM for <nfsv4@core3.amsl.com>; Mon,  4 Apr 2011 08:31:22 -0700 (PDT)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by core3.amsl.com (Postfix) with ESMTP id 643313A69FA for <nfsv4@ietf.org>; Mon,  4 Apr 2011 08:31:22 -0700 (PDT)
Received: from hop04-l1d11-si01.isus.emc.com (HOP04-L1D11-SI01.isus.emc.com [10.254.111.54]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p34FX4FJ025604 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 4 Apr 2011 11:33:04 -0400
Received: from mailhub.lss.emc.com (mailhubhoprd04.lss.emc.com [10.254.222.226]) by hop04-l1d11-si01.isus.emc.com (RSA Interceptor); Mon, 4 Apr 2011 11:32:56 -0400
Received: from mxhub13.corp.emc.com (mxhub13.corp.emc.com [128.221.56.102]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p34FVdVY001822; Mon, 4 Apr 2011 11:31:39 -0400
Received: from mx14a.corp.emc.com ([169.254.1.143]) by mxhub13.corp.emc.com ([128.221.56.102]) with mapi; Mon, 4 Apr 2011 11:31:38 -0400
From: <david.black@emc.com>
To: <jarrett.lu@oracle.com>, <sfaibish@popimap.lss.emc.com>, <nfsv4@ietf.org>,  <thomas@netapp.com>
Date: Mon, 4 Apr 2011 11:31:37 -0400
Thread-Topic: draft-quigley-nfsv4-labeled-00 - some comments
Thread-Index: AcvweeBf4bO1HJU6Symsi/D8eMbw+wCW+4SQ
Message-ID: <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com>
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com>
In-Reply-To: <4D95B41C.70509@oracle.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2MX14Acorpemcc_"
MIME-Version: 1.0
X-EMM-MHVC: 1
Cc: kathleen.moriarty@emc.com
Subject: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Apr 2011 15:31:44 -0000

--_000_7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2MX14Acorpemcc_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Pulling selected items out of Jarret's email:

[A] Stupid opening question for Tom - the new -labeled- draft says the foll=
owing in Section 1:

   (1)  Clients must be able to convey to the server the security
        attribute of the subject making the access request.  The server
        may provide a mechanism to enforce MAC policy based on the
        requesting subject's security attribute.

[... snip ...]

   The ability to convey the
   security attribute of the subject as described in requirement (1)
   falls upon the RPC layer to implement.

Where is that proposed RPC change/addition specified?  I didn't see it in t=
he -labeled- draft.

[B]

> Are we still missing the following use cases?
> - MAC in virtualized environment (EMC ?)
> - MAC in cloud computing (?)
> - additional use cases from Kathleen (?)

At least Kathleen and I are signed up to do something here.  We're not prom=
ising that all of these use cases are applicable to MAC, but we'll take a s=
erious look - stay tuned.

[C]

>   - Mechanism to allow systems to advertise MAC attributes support
>       Negotiated by requesting supported attributes from server (EXCHANGE=
_ID)
>       May turn off support by not requesting attribute.
>
> Based on the known use cases, how sophisticated does this negotiation nee=
d to be? It's conceivable that a MAC
> system may be capable of supporting more than one label format. Is there =
a need for a system to express its full
> capability (e.g. I understand LSF 5 and 7)? BTW, the use cases that I kno=
w don't require that level of complexity.

If there's a mismatch, client will discover quickly when a retrieved label =
has the wrong LFS value.  This is indicative of a serious security misconfi=
guration (e.g., client SHOULD disconnect if an LFS value is unexpected).

In the other direction, how does a client announce whether it's MAC capable=
?  Note that this would be a config check mechanism (e.g., accidentally con=
nected a non-MAC client to a MAC server that it's not supposed to talk to),=
 *not* a security mechanism, because a malicious client will lie.

[D]

>   - Add text to better define support of full mode MAC security as implem=
entation
>     recommendations for servers not mandating it but rather MAY be implem=
ented.
>
> I thought about this a bit more after the meeting. The protocol extension=
 should be made to support full mode. I believe
> users who really care about MAC security want to operate in full mode.

This looks like violent agreement, at least to me.  IMHO, as long as the pr=
otocol extension supports full MAC mode, but server implementation of MAC i=
s optional (MAY or a qualified SHOULD, not MUST), I think everyone may be h=
appy - a user who wants MAC server support configures the server to support=
 MAC and perhaps also the clients to check for that support.  In general, i=
t looks like server MAC enforcement is a mostly transparent add-on for MAC-=
enabled clients (and ditto for MAC-ignorant clients).

[E]

>         # full mode for pNFS
>
> If MAC negotiation/checks only happens between clients and MDS, this shou=
ld work for pNFS, right?

Not necessarily, because pNFS bypasses the server, and hence bypasses any s=
erver MAC checks ;-).  If the client is making MAC checks, the pNFS metadat=
a server is making MAC checks, but one or more of the pNFS data servers is/=
are not, the "users who really care about MAC security" may not be happy.  =
Addressing this might just involve explaining what happens and recommending=
 that people not do things that may not work out well (e.g., "users who rea=
lly care about MAC security" SHOULD NOT use MAC-incapable data servers - fo=
r the pNFS block layout, I think this is a specific case of a "SHOULD NOT" =
security caution that's already in RFC 5663).

[F]

>        # delegations (directory and files?)
> Given MAC clients and MAC server are supposed to perform independent poli=
cy enforcement, the delegation
> feature probably does not make sense.

IMHO, file delegation is probably ok (server MAC check covering file access=
 probably suffices for delegation).  OTOH, directory delegation is problema=
tic, and I would have no problem for 4.2 if we said that directory delegati=
on SHOULD NOT (or even MUST NOT?) be used w/MAC, which is a step towards:

> 5. Add a section addressing the delegations and explain why delegations
>    are non-goals for 4.2 and what will be the roadmap for adding delegati=
on
>    support in future versions.

[G]

> 7. Add explanation on the issues related to root protection and/or recomm=
endation
>    how to solve them in the server (or and client)
>
> I don't understand this. Is this related to prevention of privilege escal=
ation?

No, some of the implementations apparently allow the root directory to be l=
isted without MAC checks for reasons that I'll leave to the implementers to=
 explain.  Something would be needed in the sequence of operations at mount=
 time, or a recommendation for a workaround where the mounted root director=
y contains only one entry that is the logical root of the MAC-controlled fi=
lesytem (e.g., "secure_root" is the only directory entry in the mounted dir=
ectory).  Listing that entry should be relatively harmless.

Thanks,
--David

From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On Behalf Of j=
arrett.lu@oracle.com
Sent: Friday, April 01, 2011 7:17 AM
To: faibish, sorin; nfsv4@ietf.org; thomas@netapp.com
Cc: Moriarty, Kathleen
Subject: Re: [nfsv4] Fwd: New Version Notification for draft-quigley-nfsv4-=
labeled-00

Tom,

Thank you for taking the initiative in consolidating the documents. Let's w=
ork on the consolidated document and try to get it in shape for IETF 81.


Subject:
Re: [nfsv4] Fwd: New Version Notification for draft-quigley-nfsv4-labeled-0=
0

From: sfaibish <sfaibish@emc.com><mailto:sfaibish@emc.com>

Date: Thu, 31 Mar 2011 04:42:21 -0400


To: Thomas Haynes <thomas@netapp.com><mailto:thomas@netapp.com>, nfsv4@ietf=
.org<mailto:nfsv4@ietf.org>

CC: "Moriarty, Kathleen" <kathleen.moriarty@emc.com><mailto:kathleen.moriar=
ty@emc.com>


I want to start the discussion on the draft by adding the items and issues
we need to address in the draft based on my discussions with Jarrett
and included in the slides I didn't show in the WG meeting.

1. Add in the introduction in more detail what security issues are not
   addressed by the current ACL that are resolved by the current draft.

Text in current document is sufficient. No additional action required.


2. Add more usecases at least usecases related to virtualization needs,
   government usecases, Linux usecases, cloud possible usecases, additional
   usecases from Kathleen (CCed) mentioned during the meeting.

Are we still missing the following use cases?
- MAC in virtualized environment (EMC ?)
- MAC in cloud computing (?)
- additional use cases from Kathleen (?)

Do we know who should provide what use cases? Someone should be assigned th=
e action items to collect the known use cases. Sorin, should this person be=
 you?


3. Add or group in one section addressing the implementation mechanism
   and new xdr additions to make it clear for implementers.

Tom started doing that.


   - Change MAC attributes to be represented as 2 separate entities:
       Domain of Interpretation (DOI, specified by LFS)
       Opaque without special separator @

This is agreed upon. Still need to specify format.


   - Mechanism to allow systems to advertise MAC attributes support
       Negotiated by requesting supported attributes from server (EXCHANGE_=
ID)
       May turn off support by not requesting attribute.

Based on the known use cases, how sophisticated does this negotiation need =
to be? It's conceivable that a MAC system may be capable of supporting more=
 than one label format. Is there a need for a system to express its full ca=
pability (e.g. I understand LSF 5 and 7)? BTW, the use cases that I know do=
n't require that level of complexity.

   - Define fixed max size of the opaque (not less than IPv6 HBH extension =
length?)

I suggested that because CALIPSO label is implement using IPv6 HBH extensio=
n. A CALIPSO label should fit in the opaque field.


   - Add text to better define support of full mode MAC security as impleme=
ntation
     recommendations for servers not mandating it but rather MAY be impleme=
nted.

I thought about this a bit more after the meeting. The protocol extension s=
hould be made to support full mode. I believe users who really care about M=
AC security want to operate in full mode. Let's also examine each of the "h=
alf mode" operations and its impact on the protocol extension. (1) In the c=
ase that only server understands MAC, server can enforce its MAC policy wit=
hout clients knowing it. When a non-MAC client requests access to a labeled=
 file object (or its attributes), the server may grant access if its MAC po=
licy allows it. When such access is granted, should the server hide the lab=
eled attribute from the client? If so, there is no protocol impact, and the=
re is no reason why older verson NFS clients can't be supported in this cas=
e. Otherwise, there is protocol impact and older version clients can't be s=
upported without changes. (2) In the case where only client understands MAC=
, protocol extension is required because a client can request creation of a=
 labeled object. The difference between this case and the "full mode" case =
is that a creation of a labeled object may fail in "full mode" if server MA=
C policy prevents it.

    - Address different policy reinforcement implementations more clearily:

    + full server reinforcement only for dumb MAC unaware clients (define
      how dumb, v2, v3, v4.0).
      * Need to define/recommend which policies.
      * Mention what are goals and non-goals addressed by current draf
        # full mode for pNFS

If MAC negotiation/checks only happens betwen clients and MDS, this should =
work for pNFS, right?


        # delegations (directory and files?)

Given MAC clients and MAC server are supposed to perform independent policy=
 enforcement, the delegation feature probably does not make sense.


        # untrusted devfelopments
      * Separate "visibility" from "access permission" reinforcement.
    + server policy to just prevent non MAC aware clients access and see th=
e
          secured objects
    + full server policy reinforcements for MAC aware clients

We need to distinguish support for MAC label attribute and MAC policy. For =
example, a non-MAC server is capable of get/set MAC label attribute (just l=
ike any other file attribute) but can't enforce any MAC policies.



4. Include a section about the pNFS support where to mention why
   pNFS is different than 4.1. The current explanation may not be
   enough. I would also include the reasoning why named attributes
   is not recommended to be used.

I don't think we want to leave named attributes as an option to implement M=
AC attribute, as named attribute does not meet the requirement. If this pre=
vents MAC support in NFSv3, so be it.


5. Add a section addressing the delegations and explain why delegations
   are non-goals for 4.2 and what will be the roadmap for adding delegation
   support in future versions.
6. Define in more details all the behaviors: MAC aware cleint, MAC un-aware
   clients, MAC supportive server, MAC aware server and full mode server.
7. Add explanation on the issues related to root protection and/or recommen=
dation
   how to solve them in the server (or and client)

I don't understand this. Is this related to prevention of privilege escalat=
ion?


8. Define the impact of new labels on dumb clients and MAC un-aware clients=
 both
   from perspective of backward compatibility (new labels not break the cli=
ents)
   how to inform them that server will reinforce MAC (maybe?)

We discussed additional issues which I may forgot so please jump in
and add issues I missed that we will discuss during the calls. And I insist
of having bi-weekly calls as Jarrett, me and Dave recommend to have. It
worked good last time we had the series. Thank you very much for your
patience.

I suggest we start tracking issues and assigning action items to people. My=
 impression is that if we need to include MAC support in 4.2, we need to ma=
ke steady progress.

Thanks.

- Jarrett



/Sorin

--_000_7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2MX14Acorpemcc_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40"><head><meta http-equiv=3DContent-Type content=
=3D"text/html; charset=3Dus-ascii"><meta name=3DGenerator content=3D"Micros=
oft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";
	color:black;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Courier New";
	color:black;
	font-weight:normal;
	font-style:normal;
	text-decoration:none none;}
span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:"Courier New";}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=3Dwhite lang=3DEN-US=
 link=3Dblue vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal>=
<span style=3D'font-size:10.0pt;font-family:"Courier New"'>Pulling selected=
 items out of Jarret&#8217;s email:<o:p></o:p></span></p><p class=3DMsoNorm=
al><span style=3D'font-size:10.0pt;font-family:"Courier New"'><o:p>&nbsp;</=
o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-fa=
mily:"Courier New"'>[A] Stupid opening question for Tom &#8211; the new &#8=
211;labeled- draft says the following in Section 1:<o:p></o:p></span></p><p=
 class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier New=
"'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span style=3D'font-siz=
e:10.0pt;font-family:"Courier New";color:windowtext'>&nbsp;&nbsp; (1)&nbsp;=
 Clients must be able to convey to the server the security<o:p></o:p></span=
></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Cour=
ier New";color:windowtext'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; attri=
bute of the subject making the access request.&nbsp; The server<o:p></o:p><=
/span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:=
"Courier New";color:windowtext'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;=
may provide a mechanism to enforce MAC policy based on the<o:p></o:p></span=
></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Cour=
ier New";color:windowtext'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; reque=
sting subject's security attribute.<o:p></o:p></span></p><p class=3DMsoNorm=
al><span style=3D'font-size:10.0pt;font-family:"Courier New";color:windowte=
xt'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span style=3D'font-si=
ze:10.0pt;font-family:"Courier New";color:windowtext'>[... snip ...]<o:p></=
o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-fa=
mily:"Courier New";color:windowtext'><o:p>&nbsp;</o:p></span></p><p class=
=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier New";colo=
r:windowtext'>&nbsp;&nbsp; The ability to convey the<o:p></o:p></span></p><=
p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier Ne=
w";color:windowtext'>&nbsp;&nbsp; security attribute of the subject as desc=
ribed in requirement (1)<o:p></o:p></span></p><p class=3DMsoNormal><span st=
yle=3D'font-size:10.0pt;font-family:"Courier New";color:windowtext'>&nbsp;&=
nbsp; falls upon the RPC layer to implement.<o:p></o:p></span></p><p class=
=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier New";colo=
r:windowtext'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span style=
=3D'font-size:10.0pt;font-family:"Courier New";color:windowtext'>Where is t=
hat proposed RPC change/addition specified?&nbsp; I didn&#8217;t see it in =
the &#8211;labeled- draft.</span><span style=3D'font-size:10.0pt;font-famil=
y:"Courier New"'><o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'=
font-size:10.0pt;font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier New"=
'>[B]</span><o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p cla=
ss=3DMsoNormal>&gt; Are we still missing the following use cases?<br>&gt; -=
 MAC in virtualized environment (EMC ?)<br>&gt; - MAC in cloud computing (?=
)<br>&gt; - additional use cases from Kathleen (?)<o:p></o:p></p><p class=
=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span style=3D'font-=
size:10.0pt;font-family:"Courier New"'>At least Kathleen and I are signed u=
p to do something here. &nbsp;We&#8217;re not promising that all of these u=
se cases are applicable to MAC, but we&#8217;ll take a serious look - stay =
tuned.<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:1=
0.0pt;font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p><p class=3DMso=
Normal><span style=3D'font-size:10.0pt;font-family:"Courier New"'>[C]</span=
><span style=3D'font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></sp=
an></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Co=
urier New"'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal>&gt;&nbsp;&nbs=
p; - Mechanism to allow systems to advertise MAC attributes support <br>&gt=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Negotiated by requesting supported at=
tributes from server (EXCHANGE_ID) <br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp; May turn off support by not requesting attribute. <o:p></o:p></p><p cl=
ass=3DMsoNormal>&gt;<br>&gt; Based on the known use cases, how sophisticate=
d does this negotiation need to be? It's conceivable that a MAC<o:p></o:p><=
/p><p class=3DMsoNormal>&gt; system may be capable of supporting more than =
one label format. Is there a need for a system to express its full<o:p></o:=
p></p><p class=3DMsoNormal>&gt; capability (e.g. I understand LSF 5 and 7)?=
 BTW, the use cases that I know don't require that level of complexity.<o:p=
></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><=
span style=3D'font-size:10.0pt;font-family:"Courier New"'>If there&#8217;s =
a mismatch, client will discover quickly when a retrieved label has the wro=
ng LFS value.&nbsp; This is indicative of a serious security misconfigurati=
on (e.g., client SHOULD disconnect if an LFS value is unexpected).<o:p></o:=
p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-fami=
ly:"Courier New"'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span st=
yle=3D'font-size:10.0pt;font-family:"Courier New"'>In the other direction, =
how does a client announce whether it&#8217;s MAC capable?&nbsp; Note that =
this would be a config check mechanism (e.g., accidentally connected a non-=
MAC client to a MAC server that it&#8217;s not supposed to talk to), *<b>no=
t</b>* a security mechanism, because a malicious client will lie.<o:p></o:p=
></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-famil=
y:"Courier New"'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span sty=
le=3D'font-size:10.0pt;font-family:"Courier New"'>[D]</span><span style=3D'=
font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=
=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier New"'><o:=
p>&nbsp;</o:p></span></p><p class=3DMsoNormal>&gt; &nbsp; - Add text to bet=
ter define support of full mode MAC security as implementation <br>&gt;&nbs=
p;&nbsp;&nbsp;&nbsp; recommendations for servers not mandating it but rathe=
r MAY be implemented. <o:p></o:p></p><p class=3DMsoNormal>&gt; <br>&gt; I t=
hought about this a bit more after the meeting. The protocol extension shou=
ld be made to support full mode. I believe<o:p></o:p></p><p class=3DMsoNorm=
al>&gt; users who really care about MAC security want to operate in full mo=
de.<span style=3D'font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></=
span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"=
Courier New"'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span style=
=3D'font-size:10.0pt;font-family:"Courier New"'>This looks like violent agr=
eement, at least to me.&nbsp; IMHO, as long as the protocol extension suppo=
rts full MAC mode, but server implementation of MAC is optional (MAY or a q=
ualified SHOULD, not MUST), I think everyone may be happy &#8211; a user wh=
o wants MAC server support configures the server to support MAC and perhaps=
 also the clients to check for that support.&nbsp; In general, it looks lik=
e server MAC enforcement is a mostly transparent add-on for MAC-enabled cli=
ents (and ditto for MAC-ignorant clients).<o:p></o:p></span></p><p class=3D=
MsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier New"'><o:p>&=
nbsp;</o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;=
font-family:"Courier New"'>[E]</span><span style=3D'font-size:10.0pt;font-f=
amily:"Courier New"'><o:p></o:p></span></p><p class=3DMsoNormal><span style=
=3D'font-size:10.0pt;font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p=
><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier =
New"'>&gt; </span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # full mode fo=
r pNFS <o:p></o:p></p><p class=3DMsoNormal>&gt;<br>&gt; If MAC negotiation/=
checks only happens between clients and MDS, this should work for pNFS, rig=
ht?<o:p></o:p></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font=
-family:"Courier New"'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><sp=
an style=3D'font-size:10.0pt;font-family:"Courier New"'>Not necessarily, be=
cause pNFS bypasses the server, and hence bypasses any server MAC checks ;-=
).&nbsp; If the client is making MAC checks, the pNFS metadata server is ma=
king MAC checks, but one or more of the pNFS data servers is/are not, the &=
#8220;users who really care about MAC security&#8221; may not be happy.&nbs=
p; Addressing this might just involve explaining what happens and recommend=
ing that people not do things that may not work out well (e.g., &#8220;user=
s who really care about MAC security&#8221; SHOULD NOT use MAC-incapable da=
ta servers &#8211; for the pNFS block layout, I think this is a specific ca=
se of a &#8220;SHOULD NOT&#8221; security caution that&#8217;s already in R=
FC 5663).<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-siz=
e:10.0pt;font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p><p class=3D=
MsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier New"'>[F]</s=
pan><span style=3D'font-size:10.0pt;font-family:"Courier New"'><o:p></o:p><=
/span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:=
"Courier New"'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal>&gt; &nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # delegations (directory and files?) <o:p></=
o:p></p><p class=3DMsoNormal>&gt; Given MAC clients and MAC server are supp=
osed to perform independent policy enforcement, the delegation<o:p></o:p></=
p><p class=3DMsoNormal>&gt; feature probably does not make sense.<o:p></o:p=
></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><div><p class=3DMsoNormal><s=
pan style=3D'font-size:10.0pt;font-family:"Courier New"'>IMHO, file delegat=
ion is probably ok (server MAC check covering file access probably suffices=
 for delegation).&nbsp; OTOH, directory delegation is problematic, and I wo=
uld have no problem for 4.2 if we said that directory delegation SHOULD NOT=
 (or even MUST NOT?) be used w/MAC, which is a step towards:<o:p></o:p></sp=
an></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>&gt; =
5. Add a section addressing the delegations and explain why delegations <br=
>&gt; &nbsp;&nbsp; are non-goals for 4.2 and what will be the roadmap for a=
dding delegation <br>&gt; &nbsp;&nbsp; support in future versions.<o:p></o:=
p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>[G]</span><span style=
=3D'font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p cl=
ass=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier New"'>=
<o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal>&gt; 7. Add explanation on=
 the issues related to root protection and/or recommendation<o:p></o:p></p>=
<p class=3DMsoNormal>&gt; &nbsp;&nbsp; how to solve them in the server (or =
and client) <o:p></o:p></p><p class=3DMsoNormal>&gt; <br>&gt; I don't under=
stand this. Is this related to prevention of privilege escalation?<o:p></o:=
p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>No, some of the implem=
entations apparently allow the root directory to be listed without MAC chec=
ks for reasons that I&#8217;ll leave to the implementers to explain.&nbsp; =
Something would be needed in the sequence of operations at mount time, or a=
 recommendation for a workaround where the mounted root directory contains =
only one entry that is the logical root of the MAC-controlled filesytem (e.=
g., &#8220;secure_root&#8221; is the only directory entry in the mounted di=
rectory).&nbsp; Listing that entry should be relatively harmless.<o:p></o:p=
></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-famil=
y:"Courier New"'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span sty=
le=3D'font-size:10.0pt;font-family:"Courier New"'>Thanks,<br>--David</span>=
<span style=3D'font-size:11.0pt;font-family:"Courier New"'><o:p></o:p></spa=
n></p></div><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-famil=
y:"Courier New"'><o:p>&nbsp;</o:p></span></p><div style=3D'border:none;bord=
er-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'><div><div style=3D'bord=
er:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=
=3DMsoNormal><b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-=
serif";color:windowtext'>From:</span></b><span style=3D'font-size:10.0pt;fo=
nt-family:"Tahoma","sans-serif";color:windowtext'> nfsv4-bounces@ietf.org [=
mailto:nfsv4-bounces@ietf.org] <b>On Behalf Of </b>jarrett.lu@oracle.com<br=
><b>Sent:</b> Friday, April 01, 2011 7:17 AM<br><b>To:</b> faibish, sorin; =
nfsv4@ietf.org; thomas@netapp.com<br><b>Cc:</b> Moriarty, Kathleen<br><b>Su=
bject:</b> Re: [nfsv4] Fwd: New Version Notification for draft-quigley-nfsv=
4-labeled-00<o:p></o:p></span></p></div></div><p class=3DMsoNormal><o:p>&nb=
sp;</o:p></p><p class=3DMsoNormal>Tom,<br><br>Thank you for taking the init=
iative in consolidating the documents. Let's work on the consolidated docum=
ent and try to get it in shape for IETF 81.<br><br><br><o:p></o:p></p><tabl=
e class=3DMsoNormalTable border=3D0 cellspacing=3D0 cellpadding=3D0 width=
=3D"100%" style=3D'width:100.0%'><tr><td style=3D'padding:0in 0in 0in 0in'>=
<div><p class=3DMsoNormal>Subject: <o:p></o:p></p></div><p class=3DMsoNorma=
l>Re: [nfsv4] Fwd: New Version Notification for draft-quigley-nfsv4-labeled=
-00<o:p></o:p></p></td></tr><tr><td style=3D'padding:0in 0in 0in 0in'><div>=
<p class=3DMsoNormal>From: sfaibish <a href=3D"mailto:sfaibish@emc.com">&lt=
;sfaibish@emc.com&gt;</a><o:p></o:p></p></div></td></tr><tr><td style=3D'pa=
dding:0in 0in 0in 0in'><div><p class=3DMsoNormal>Date: Thu, 31 Mar 2011 04:=
42:21 -0400<o:p></o:p></p></div></td></tr></table><p class=3DMsoNormal><spa=
n style=3D'display:none'><o:p>&nbsp;</o:p></span></p><table class=3DMsoNorm=
alTable border=3D0 cellspacing=3D0 cellpadding=3D0 width=3D"100%" style=3D'=
width:100.0%'><tr><td style=3D'padding:0in 0in 0in 0in'><div><p class=3DMso=
Normal>To: Thomas Haynes <a href=3D"mailto:thomas@netapp.com">&lt;thomas@ne=
tapp.com&gt;</a>, <a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</a><o:p>=
</o:p></p></div></td></tr><tr><td style=3D'padding:0in 0in 0in 0in'><div><p=
 class=3DMsoNormal>CC: &quot;Moriarty, Kathleen&quot; <a href=3D"mailto:kat=
hleen.moriarty@emc.com">&lt;kathleen.moriarty@emc.com&gt;</a><o:p></o:p></p=
></div></td></tr></table><p class=3DMsoNormal><br>I want to start the discu=
ssion on the draft by adding the items and issues <br>we need to address in=
 the draft based on my discussions with Jarrett <br>and included in the sli=
des I didn't show in the WG meeting. <br><br>1. Add in the introduction in =
more detail what security issues are not <br>&nbsp;&nbsp; addressed by the =
current ACL that are resolved by the current draft. <o:p></o:p></p><p class=
=3DMsoNormal><br>Text in current document is sufficient. No additional acti=
on required.<br><br><br><o:p></o:p></p><p class=3DMsoNormal>2. Add more use=
cases at least usecases related to virtualization needs, <br>&nbsp;&nbsp; g=
overnment usecases, Linux usecases, cloud possible usecases, additional <br=
>&nbsp;&nbsp; usecases from Kathleen (CCed) mentioned during the meeting. <=
o:p></o:p></p><p class=3DMsoNormal><br>Are we still missing the following u=
se cases?<br>- MAC in virtualized environment (EMC ?)<br>- MAC in cloud com=
puting (?)<br>- additional use cases from Kathleen (?)<br><br>Do we know wh=
o should provide what use cases? Someone should be assigned the action item=
s to collect the known use cases. Sorin, should this person be you?<br><br>=
<br><o:p></o:p></p><p class=3DMsoNormal>3. Add or group in one section addr=
essing the implementation mechanism <br>&nbsp;&nbsp; and new xdr additions =
to make it clear for implementers. <o:p></o:p></p><p class=3DMsoNormal><br>=
Tom started doing that.<br><br><br><o:p></o:p></p><p class=3DMsoNormal>&nbs=
p;&nbsp; - Change MAC attributes to be represented as 2 separate entities: =
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Domain of Interpretation (DOI, spe=
cified by LFS) <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Opaque without spec=
ial separator @ <o:p></o:p></p><p class=3DMsoNormal><br>This is agreed upon=
. Still need to specify format.<br><br><br><o:p></o:p></p><p class=3DMsoNor=
mal>&nbsp;&nbsp; - Mechanism to allow systems to advertise MAC attributes s=
upport <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Negotiated by requesting su=
pported attributes from server (EXCHANGE_ID) <br>&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp; May turn off support by not requesting attribute. <o:p></o:p></p=
><p class=3DMsoNormal><br>Based on the known use cases, how sophisticated d=
oes this negotiation need to be? It's conceivable that a MAC system may be =
capable of supporting more than one label format. Is there a need for a sys=
tem to express its full capability (e.g. I understand LSF 5 and 7)? BTW, th=
e use cases that I know don't require that level of complexity. <br><br><o:=
p></o:p></p><p class=3DMsoNormal>&nbsp;&nbsp; - Define fixed max size of th=
e opaque (not less than IPv6 HBH extension length?) <o:p></o:p></p><p class=
=3DMsoNormal><br>I suggested that because CALIPSO label is implement using =
IPv6 HBH extension. A CALIPSO label should fit in the opaque field. <br><br=
><br><o:p></o:p></p><p class=3DMsoNormal>&nbsp;&nbsp; - Add text to better =
define support of full mode MAC security as implementation <br>&nbsp;&nbsp;=
&nbsp;&nbsp; recommendations for servers not mandating it but rather MAY be=
 implemented. <o:p></o:p></p><p class=3DMsoNormal><br>I thought about this =
a bit more after the meeting. The protocol extension should be made to supp=
ort full mode. I believe users who really care about MAC security want to o=
perate in full mode. Let's also examine each of the &quot;half mode&quot; o=
perations and its impact on the protocol extension. (1) In the case that on=
ly server understands MAC, server can enforce its MAC policy without client=
s knowing it. When a non-MAC client requests access to a labeled file objec=
t (or its attributes), the server may grant access if its MAC policy allows=
 it. When such access is granted, should the server hide the labeled attrib=
ute from the client? If so, there is no protocol impact, and there is no re=
ason why older verson NFS clients can't be supported in this case. Otherwis=
e, there is protocol impact and older version clients can't be supported wi=
thout changes. (2) In the case where only client understands MAC, protocol =
extension is required because a client can request creation of a labeled ob=
ject. The difference between this case and the &quot;full mode&quot; case i=
s that a creation of a labeled object may fail in &quot;full mode&quot; if =
server MAC policy prevents it.<br><br>&nbsp;&nbsp;&nbsp; - Address differen=
t policy reinforcement implementations more clearily: <br><br><o:p></o:p></=
p><p class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;+ full server reinforcement =
only for dumb MAC unaware clients (define <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
; how dumb, v2, v3, v4.0). <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * Need to def=
ine/recommend which policies. <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * Mention =
what are goals and non-goals addressed by current draf <br>&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp; # full mode for pNFS <o:p></o:p></p><p class=3DM=
soNormal><br>If MAC negotiation/checks only happens betwen clients and MDS,=
 this should work for pNFS, right?<br><br><br><o:p></o:p></p><p class=3DMso=
Normal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # delegations (directory =
and files?) <o:p></o:p></p><p class=3DMsoNormal><br>Given MAC clients and M=
AC server are supposed to perform independent policy enforcement, the deleg=
ation feature probably does not make sense.<br><br><br><o:p></o:p></p><p cl=
ass=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # untrusted devf=
elopments <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * Separate &quot;visibility&qu=
ot; from &quot;access permission&quot; reinforcement. <br>&nbsp;&nbsp;&nbsp=
;&nbsp;+ server policy to just prevent non MAC aware clients access and see=
 the <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; secured obj=
ects <br>&nbsp;&nbsp;&nbsp;&nbsp;+ full server policy reinforcements for MA=
C aware clients <o:p></o:p></p><p class=3DMsoNormal><br>We need to distingu=
ish support for MAC label attribute and MAC policy. For example, a non-MAC =
server is capable of get/set MAC label attribute (just like any other file =
attribute) but can't enforce any MAC policies.<br><br><br><o:p></o:p></p><p=
 class=3DMsoNormal><br>4. Include a section about the pNFS support where to=
 mention why <br>&nbsp;&nbsp; pNFS is different than 4.1. The current expla=
nation may not be <br>&nbsp;&nbsp; enough. I would also include the reasoni=
ng why named attributes <br>&nbsp;&nbsp; is not recommended to be used. <o:=
p></o:p></p><p class=3DMsoNormal><br>I don't think we want to leave named a=
ttributes as an option to implement MAC attribute, as named attribute does =
not meet the requirement. If this prevents MAC support in NFSv3, so be it.<=
br><br><br><o:p></o:p></p><p class=3DMsoNormal>5. Add a section addressing =
the delegations and explain why delegations <br>&nbsp;&nbsp; are non-goals =
for 4.2 and what will be the roadmap for adding delegation <br>&nbsp;&nbsp;=
 support in future versions. <br>6. Define in more details all the behavior=
s: MAC aware cleint, MAC un-aware <br>&nbsp;&nbsp; clients, MAC supportive =
server, MAC aware server and full mode server. <br>7. Add explanation on th=
e issues related to root protection and/or recommendation <br>&nbsp;&nbsp; =
how to solve them in the server (or and client) <o:p></o:p></p><p class=3DM=
soNormal><br>I don't understand this. Is this related to prevention of priv=
ilege escalation?<br><br><br><o:p></o:p></p><p class=3DMsoNormal>8. Define =
the impact of new labels on dumb clients and MAC un-aware clients both <br>=
&nbsp;&nbsp; from perspective of backward compatibility (new labels not bre=
ak the clients) <br>&nbsp;&nbsp; how to inform them that server will reinfo=
rce MAC (maybe?) <br><br>We discussed additional issues which I may forgot =
so please jump in <br>and add issues I missed that we will discuss during t=
he calls. And I insist <br>of having bi-weekly calls as Jarrett, me and Dav=
e recommend to have. It <br>worked good last time we had the series. Thank =
you very much for your <br>patience. <o:p></o:p></p><p class=3DMsoNormal><b=
r>I suggest we start tracking issues and assigning action items to people. =
My impression is that if we need to include MAC support in 4.2, we need to =
make steady progress.<br><br>Thanks.<br><br>- Jarrett<br><br><br><o:p></o:p=
></p><p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><br>/Sorin <o:p></=
o:p></p></div></div></body></html>=

--_000_7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2MX14Acorpemcc_--

From david.black@emc.com  Mon Apr  4 08:41:30 2011
Return-Path: <david.black@emc.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9174328C12E for <nfsv4@core3.amsl.com>; Mon,  4 Apr 2011 08:41:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.48
X-Spam-Level: 
X-Spam-Status: No, score=-106.48 tagged_above=-999 required=5 tests=[AWL=0.119, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id puctWet1dFbP for <nfsv4@core3.amsl.com>; Mon,  4 Apr 2011 08:41:24 -0700 (PDT)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by core3.amsl.com (Postfix) with ESMTP id DFC6928C118 for <nfsv4@ietf.org>; Mon,  4 Apr 2011 08:41:23 -0700 (PDT)
Received: from hop04-l1d11-si03.isus.emc.com (HOP04-L1D11-SI03.isus.emc.com [10.254.111.23]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p34FgU5v006118 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 4 Apr 2011 11:42:30 -0400
Received: from mailhub.lss.emc.com (mailhubhoprd03.lss.emc.com [10.254.221.145]) by hop04-l1d11-si03.isus.emc.com (RSA Interceptor); Mon, 4 Apr 2011 11:42:27 -0400
Received: from mxhub27.corp.emc.com (mxhub27.corp.emc.com [10.254.110.183]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p34Ffobo004995; Mon, 4 Apr 2011 11:42:07 -0400
Received: from mx14a.corp.emc.com ([169.254.1.143]) by mxhub27.corp.emc.com ([10.254.110.183]) with mapi; Mon, 4 Apr 2011 11:41:55 -0400
From: <david.black@emc.com>
To: <skaura@bluearc.com>, <iisaman@citi.umich.edu>
Date: Mon, 4 Apr 2011 11:41:54 -0400
Thread-Topic: [nfsv4] LAYOUTCOMMIT byte range
Thread-Index: AcvvEWK7386KPIiLR1+5+DrEVEDlIgAg87WAANJABeA=
Message-ID: <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DD5@MX14A.corp.emc.com>
References: <4D9360FB.3080500@panasas.com> <1CA7A4FB0210BC4BAD393DB029071C0F089B45AA62@us-ex-mbx1.terastack.bluearc.com> <AANLkTimFYZu1ppxONL+5JTAsEHmEcxuxeq0u1sF-s6Jz@mail.gmail.com> <1CA7A4FB0210BC4BAD393DB029071C0F089B45AA7C@us-ex-mbx1.terastack.bluearc.com>
In-Reply-To: <1CA7A4FB0210BC4BAD393DB029071C0F089B45AA7C@us-ex-mbx1.terastack.bluearc.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-EMM-MHVC: 1
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] LAYOUTCOMMIT byte range
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Apr 2011 15:41:30 -0000

> > Also note that Benny is talking about deprecating loca_offset and loca_=
length, the thing
> > you seem to care about is loca_last_write_offset, which is not affected
>
> Sounds okay but would like to understand the details prior to commenting =
on this part.
>=20
> Questions:
> Will the client send LAYOUTCOMMIT to servers supporting file layout in th=
e current errata?

Yes - There should be no change to the carefully worked out requirements in=
 the current errata for when LAYOUTCOMMIT has to be used with the pNFS file=
 layout.

> I think if we deprecate loca_offset and loca_length the checks for, loca_=
last_write_offset MUST
> overlap the range described by loca_offset and loca_length need to be rem=
oved. There is more text in
> rfc 5661 pertaining to mentioned fields up for deprecation.

Yes, it would be necessary to remove/rewrite all text referring to deprecat=
ed fields as part of deprecating them.  Removing those checks is one of the=
 things I like about Benny's suggestion.

The overall result would be that for the pNFS block layout, the server iter=
ates through the layout-specific extents to figure out what to do, but both=
 the pNFS file and object layouts effectively do LAYOUTCOMMIT on the entire=
 file.

Thanks,
--David

> -----Original Message-----
> From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On Behalf Of=
 Suchit Kaura
> Sent: Thursday, March 31, 2011 9:00 AM
> To: Fred Isaman
> Cc: Benny Halevy; nfsv4 list; Black, David; David@core3.amsl.com
> Subject: Re: [nfsv4] LAYOUTCOMMIT byte range
>=20
> Hi Fred,
>=20
> Thanks for your response.
> > I remember some discussion of using COMMIT (not LAYOUTCOMMIT) ranges to=
 determine if the
> LAYOUTCOMMIT is needed,
> Just to be sure http://www.rfc-editor.org/errata_search.php?rfc=3D5661&ei=
d=3D2751 is not being
> considered anymore
>=20
> >  but that was tabled once the current errata was proposed.
> The current errata is Benny's email or is it documented somewhere else?
>=20
> > Also note that Benny is talking about deprecating loca_offset and loca_=
length, the thing you seem
> to care about is loca_last_write_offset, which is not affected
> Sounds okay but would like to understand the details prior to commenting =
on this part.
>=20
> Questions:
> Will the client send LAYOUTCOMMIT to servers supporting file layout in th=
e current errata?
>=20
> Also from rfc5661:
>    The loca_last_write_offset field specifies the offset of the last
>    byte written by the client previous to the LAYOUTCOMMIT.  Note that
>    this value is never equal to the file's size (at most it is one byte
>    less than the file's size) and MUST be less than or equal to
>    NFS4_MAXFILEOFF.  Also, loca_last_write_offset MUST overlap the range
>    described by loca_offset and loca_length.  The metadata server may
>    use this information to determine whether the file's size needs to be
>    updated.  If the metadata server updates the file's size as the
>    result of the LAYOUTCOMMIT operation, it must return the new size
>    (locr_newsize.ns_size) as part of the results.
>=20
> I think if we deprecate loca_offset and loca_length the checks for, loca_=
last_write_offset MUST
> overlap the range described by loca_offset and loca_length need to be rem=
oved. There is more text in
> rfc 5661 pertaining to mentioned fields up for deprecation.
>=20
> Regards,
> Suchit
>=20
> -----Original Message-----
> From: faisaman4@gmail.com [mailto:faisaman4@gmail.com] On Behalf Of Fred =
Isaman
> Sent: Wednesday, March 30, 2011 12:34 PM
> To: Suchit Kaura
> Cc: Benny Halevy; nfsv4 list; David Black
> Subject: Re: [nfsv4] LAYOUTCOMMIT byte range
>=20
> On Wed, Mar 30, 2011 at 3:19 PM, Suchit Kaura <skaura@bluearc.com> wrote:
>=20
> >> 3. The file and object layouts ignore the LAYOUTCOMMIT byte range.
> > This is not true for all file layout based servers. The file layout bas=
ed servers using asymmetric
> model can use this information as an indication of what was the last clie=
nt offset that was written.
> I believe we agreed on this as part of the proposal from Mike after the d=
iscussion in interim IETF
> meeting, the errata for the same was captured by Ricardo and reviewed.
>=20
>=20
> Is this mentioned in the errata at all?  I do not see it.  I remember som=
e discussion of using
> COMMIT (not LAYOUTCOMMIT) ranges to determine if the LAYOUTCOMMIT is need=
ed, but that was tabled
> once the current errata was proposed.  Also note that Benny is talking ab=
out deprecating loca_offset
> and loca_length, the thing you seem to care about is loca_last_write_offs=
et, which is not affected.
>=20
> Fred
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4


From bhalevy@panasas.com  Mon Apr  4 09:28:30 2011
Return-Path: <bhalevy@panasas.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8915F28C13F for <nfsv4@core3.amsl.com>; Mon,  4 Apr 2011 09:28:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.265
X-Spam-Level: 
X-Spam-Status: No, score=-2.265 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KgCDwLFAjA9M for <nfsv4@core3.amsl.com>; Mon,  4 Apr 2011 09:28:23 -0700 (PDT)
Received: from daytona.panasas.com (daytona.panasas.com [67.152.220.89]) by core3.amsl.com (Postfix) with ESMTP id 3F4C228C104 for <nfsv4@ietf.org>; Mon,  4 Apr 2011 09:28:21 -0700 (PDT)
Received: from lt.bhalevy.com ([172.17.33.100]) by daytona.panasas.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 4 Apr 2011 12:30:02 -0400
Message-ID: <4D99F208.8040900@panasas.com>
Date: Mon, 04 Apr 2011 09:30:00 -0700
From: Benny Halevy <bhalevy@panasas.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.38.b3pre.fc13 Thunderbird/3.1.9
MIME-Version: 1.0
To: david.black@emc.com
References: <4D9360FB.3080500@panasas.com>	<1CA7A4FB0210BC4BAD393DB029071C0F089B45AA62@us-ex-mbx1.terastack.bluearc.com>	<AANLkTimFYZu1ppxONL+5JTAsEHmEcxuxeq0u1sF-s6Jz@mail.gmail.com>	<1CA7A4FB0210BC4BAD393DB029071C0F089B45AA7C@us-ex-mbx1.terastack.bluearc.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5E952E2@MX14A.corp.emc.com>
In-Reply-To: <7C4DFCE962635144B8FAE8CA11D0BF1E03E5E952E2@MX14A.corp.emc.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 04 Apr 2011 16:30:02.0117 (UTC) FILETIME=[8C0B3B50:01CBF2E5]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] LAYOUTCOMMIT byte range
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Apr 2011 16:28:30 -0000

On 2011-03-31 07:23, david.black@emc.com wrote:
>>> I remember some discussion of using COMMIT (not LAYOUTCOMMIT)
>>> ranges to determine if the
>> LAYOUTCOMMIT is needed, Just to be sure
>> http://www.rfc-editor.org/errata_search.php?rfc=5661&eid=2751 is
>> not being considered anymore
> 
> That is incorrect, the above (2751) errata is still being considered
> - it affects only the pNFS file layout.
> 

Right.

Benny

> This email thread about byte range concerns a different problem that
> has arisen for the pNFS block layout.  To oversimplify, the problem
> arises from the byte ranges to be committed being described in two
> places for the block layout, leading Benny to ask: do we need the
> layout-independent description for other layout types? The resolution
> of this problem may lead to another errata (which cannot be written
> until we agree on how to solve the problem).
> 
> Thanks, --David (who talked to Benny about this in Prague).
> 

From bhalevy@panasas.com  Mon Apr  4 09:33:55 2011
Return-Path: <bhalevy@panasas.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6B6E43A6843 for <nfsv4@core3.amsl.com>; Mon,  4 Apr 2011 09:33:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.265
X-Spam-Level: 
X-Spam-Status: No, score=-2.265 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SNSL8k6S8AjA for <nfsv4@core3.amsl.com>; Mon,  4 Apr 2011 09:33:54 -0700 (PDT)
Received: from daytona.panasas.com (daytona.panasas.com [67.152.220.89]) by core3.amsl.com (Postfix) with ESMTP id CBB3C3A6833 for <nfsv4@ietf.org>; Mon,  4 Apr 2011 09:33:54 -0700 (PDT)
Received: from lt.bhalevy.com ([172.17.33.100]) by daytona.panasas.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 4 Apr 2011 12:35:37 -0400
Message-ID: <4D99F357.6000100@panasas.com>
Date: Mon, 04 Apr 2011 09:35:35 -0700
From: Benny Halevy <bhalevy@panasas.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.38.b3pre.fc13 Thunderbird/3.1.9
MIME-Version: 1.0
To: david.black@emc.com
References: <4D9360FB.3080500@panasas.com>	<1CA7A4FB0210BC4BAD393DB029071C0F089B45AA62@us-ex-mbx1.terastack.bluearc.com>	<AANLkTimFYZu1ppxONL+5JTAsEHmEcxuxeq0u1sF-s6Jz@mail.gmail.com>	<1CA7A4FB0210BC4BAD393DB029071C0F089B45AA7C@us-ex-mbx1.terastack.bluearc.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DD5@MX14A.corp.emc.com>
In-Reply-To: <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DD5@MX14A.corp.emc.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 04 Apr 2011 16:35:37.0403 (UTC) FILETIME=[53E3D0B0:01CBF2E6]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] LAYOUTCOMMIT byte range
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Apr 2011 16:33:55 -0000

On 2011-04-04 08:41, david.black@emc.com wrote:
>>> Also note that Benny is talking about deprecating loca_offset and
>>> loca_length, the thing you seem to care about is
>>> loca_last_write_offset, which is not affected
>> 
>> Sounds okay but would like to understand the details prior to
>> commenting on this part.
>> 
>> Questions: Will the client send LAYOUTCOMMIT to servers supporting
>> file layout in the current errata?
> 
> Yes - There should be no change to the carefully worked out
> requirements in the current errata for when LAYOUTCOMMIT has to be
> used with the pNFS file layout.
> 
>> I think if we deprecate loca_offset and loca_length the checks for,
>> loca_last_write_offset MUST overlap the range described by
>> loca_offset and loca_length need to be removed. There is more text
>> in rfc 5661 pertaining to mentioned fields up for deprecation.
> 
> Yes, it would be necessary to remove/rewrite all text referring to
> deprecated fields as part of deprecating them.  Removing those checks
> is one of the things I like about Benny's suggestion.
> 

In addition, since loca_last_write_offset is currently optional we may
want to mandate it when client wrote to the file via pNFS and did not
get FILE_SYNC (with the file layout).

loca_offset, loca_length were never meant to be used for determining
the file length.

> The overall result would be that for the pNFS block layout, the
> server iterates through the layout-specific extents to figure out
> what to do, but both the pNFS file and object layouts effectively do
> LAYOUTCOMMIT on the entire file.

Agreed,

Benny

> 
> Thanks, --David
> 

From nico@cryptonector.com  Mon Apr  4 09:49:11 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6489D28C110 for <nfsv4@core3.amsl.com>; Mon,  4 Apr 2011 09:49:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.904
X-Spam-Level: 
X-Spam-Status: No, score=-1.904 tagged_above=-999 required=5 tests=[AWL=0.073,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c51u9SS4DX0v for <nfsv4@core3.amsl.com>; Mon,  4 Apr 2011 09:49:10 -0700 (PDT)
Received: from homiemail-a30.g.dreamhost.com (caiajhbdcahe.dreamhost.com [208.97.132.74]) by core3.amsl.com (Postfix) with ESMTP id 450B43A681B for <nfsv4@ietf.org>; Mon,  4 Apr 2011 09:49:10 -0700 (PDT)
Received: from homiemail-a30.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a30.g.dreamhost.com (Postfix) with ESMTP id E09B121DE59 for <nfsv4@ietf.org>; Mon,  4 Apr 2011 09:50:52 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=rb+EeWmsk/AM4JxlRWgn5lo1tSRnF63CSO0OweE20viO MwLgimF4T0okj4syjW6qgch3h343P+N3pealjPuE41wdJc3NXtvHv7C7uCPtT1PB l5CIczfW2iPvbKCQatO39PFYGEQO/73FT7amULI8wy4pv7iQLgsCvd5Ews9ybJY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=wcHbQ+yTUW48S0MOlFgA3UqFqYs=; b=RxaCIqLGJ/V A6yNjQevXEye8veKBK0SbW/syP0fxtKTuOAlUvuBBBeiAyh5SvnLEe26Bsis+OCA zGximInVmkUx71rXi71wd889P4qTpWhAF/KNHC0MuuJ/Bbdp6OzooVH1ydf92B5n 6WYYUJ9zBZbaGmgDyyIcoAjMuaG1gJhU=
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a30.g.dreamhost.com (Postfix) with ESMTPSA id 6092421DE7E for <nfsv4@ietf.org>; Mon,  4 Apr 2011 09:50:52 -0700 (PDT)
Received: by vxg33 with SMTP id 33so5138952vxg.31 for <nfsv4@ietf.org>; Mon, 04 Apr 2011 09:50:50 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.0.200 with SMTP id 8mr4286219vdg.70.1301935850799; Mon, 04 Apr 2011 09:50:50 -0700 (PDT)
Received: by 10.52.157.100 with HTTP; Mon, 4 Apr 2011 09:50:50 -0700 (PDT)
In-Reply-To: <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com>
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com>
Date: Mon, 4 Apr 2011 11:50:50 -0500
Message-ID: <BANLkTi=9tu4Kt0Kc6QHn1H67oWEBtNwkrw@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: david.black@emc.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: sfaibish@popimap.lss.emc.com, jarrett.lu@oracle.com, kathleen.moriarty@emc.com, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Apr 2011 16:49:11 -0000

On Mon, Apr 4, 2011 at 10:31 AM, <david.black@emc.com> wrote:

> [A] Stupid opening question for Tom =E2=80=93 the new =E2=80=93labeled- d=
raft says the following in Section 1:
>
> =C2=A0=C2=A0 (1)=C2=A0 Clients must be able to convey to the server the s=
ecurity
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 attribute of the subject makin=
g the access request.=C2=A0 The server
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0may provide a mechanism to enf=
orce MAC policy based on the
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 requesting subject's security =
attribute.
>
> [... snip ...]
> =C2=A0=C2=A0 The ability to convey the
>
> =C2=A0=C2=A0 security attribute of the subject as described in requiremen=
t (1)
>
> =C2=A0=C2=A0 falls upon the RPC layer to implement.
>
>
>
> Where is that proposed RPC change/addition specified?=C2=A0 I didn=E2=80=
=99t see it in the =E2=80=93labeled- draft.

That'd be RPCSEC_GSSv3.  Also, just because it says "must be able
to..." above doesn't mean that RPCSEC_GSSv3 is required.  It's not,
since the server might be able to determine a label for the client
user regardless of what authentication method is used.  With
RPCSEC_GSSv3 the client can use distinct labels in a label set or
range at different times, whereas without RPCSEC_GSSv3 the client can
only operate at a single label.

> [B]
>
> > Are we still missing the following use cases?
> > - MAC in virtualized environment (EMC ?)
> > - MAC in cloud computing (?)
> > - additional use cases from Kathleen (?)

As long as the protocol supports MAC then I think all of those cases
are met (except for Kathleen's, whose uses cases I may not know
about).

> At least Kathleen and I are signed up to do something here. =C2=A0We=E2=
=80=99re not promising that all of these use cases are applicable to MAC, b=
ut we=E2=80=99ll take a serious look - stay tuned.

>
> [C]
>
> >=C2=A0=C2=A0 - Mechanism to allow systems to advertise MAC attributes su=
pport
> >=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Negotiated by requesting supported =
attributes from server (EXCHANGE_ID)
> >=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 May turn off support by not request=
ing attribute.
>
> >
> > Based on the known use cases, how sophisticated does this negotiation n=
eed to be? It's conceivable that a MAC
> > system may be capable of supporting more than one label format. Is ther=
e a need for a system to express its full
> > capability (e.g. I understand LSF 5 and 7)? BTW, the use cases that I k=
now don't require that level of complexity.
>
> If there=E2=80=99s a mismatch, client will discover quickly when a retrie=
ved label has the wrong LFS value.=C2=A0 This is indicative of a serious se=
curity misconfiguration (e.g., client SHOULD disconnect if an LFS value is =
unexpected).

I agree.  DOI negotiation is mostly about learning a priori about
misconfiguration rather than a posteriori.

> In the other direction, how does a client announce whether it=E2=80=99s M=
AC capable?=C2=A0 Note that this would be a config check mechanism (e.g., a=
ccidentally connected a non-MAC client to a MAC server that it=E2=80=99s no=
t supposed to talk to), *not* a security mechanism, because a malicious cli=
ent will lie.

See above.  Note that a client doesn't have to be MAC aware for MAC to
take place, but a MAC-unaware client will have to operate at a single
label per-credential.

> [D]
>
> > =C2=A0 - Add text to better define support of full mode MAC security as=
 implementation
> >=C2=A0=C2=A0=C2=A0=C2=A0 recommendations for servers not mandating it bu=
t rather MAY be implemented.
>
> > I thought about this a bit more after the meeting. The protocol extensi=
on should be made to support full mode. I believe
>
> > users who really care about MAC security want to operate in full mode.
>
>
>
> This looks like violent agreement, at least to me.=C2=A0 IMHO, as long as=
 the protocol extension supports full MAC mode, but server implementation o=
f MAC is optional (MAY or a qualified SHOULD, not MUST), I think everyone m=
ay be happy =E2=80=93 a user who wants MAC server support configures the se=
rver to support MAC and perhaps also the clients to check for that support.=
=C2=A0 In general, it looks like server MAC enforcement is a mostly transpa=
rent add-on for MAC-enabled clients (and ditto for MAC-ignorant clients).

MAC-aware clients might want to know that the server is MAC aware, but
MAC-unaware servers can be used by multiple MAC-aware clients just
fine, either by operating entirely at one label or by having per-path
labels, with policy enforced by the clients (plus share-level ACLs at
the server to allow only MAC-aware clients access).  Of course, that's
all kinda iffy, since ultimately we're talking about IP-address-based
share ACLs in this case, but hey.

Nico
--

From nico@cryptonector.com  Mon Apr  4 10:31:01 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 017FB28C11A for <nfsv4@core3.amsl.com>; Mon,  4 Apr 2011 10:31:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.905
X-Spam-Level: 
X-Spam-Status: No, score=-1.905 tagged_above=-999 required=5 tests=[AWL=0.072,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mZC4YpGRUTok for <nfsv4@core3.amsl.com>; Mon,  4 Apr 2011 10:31:00 -0700 (PDT)
Received: from homiemail-a16.g.dreamhost.com (caiajhbdcagg.dreamhost.com [208.97.132.66]) by core3.amsl.com (Postfix) with ESMTP id 38C4928C118 for <nfsv4@ietf.org>; Mon,  4 Apr 2011 10:31:00 -0700 (PDT)
Received: from homiemail-a16.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a16.g.dreamhost.com (Postfix) with ESMTP id 9081C508085 for <nfsv4@ietf.org>; Mon,  4 Apr 2011 10:32:33 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=cbWzP4Sj+BOV2jgyM6K6M+ZB8yB4nATBWitgFefydJmd +CY7cLSc2QuFByCJUcGFc2GAt7B7n6N0KuxMKKi51GNUXk+Q+s33InVTAyKnsNqC V7EZl/PCJ2ll0odjg3Q5WV7ApHxnbXLL6rAAgxljkWJB0eY+SX94NsC752iH2qk=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=amU32eM3qNmgNSY3QiEqW39McLA=; b=RncpuvTni+p Ric0NbbFQ4yO4sNNROh+zWCQpjubFuNWobRC79ANZLKsPH74gRDt+5zld3ja42aS 5Nlmoo2o6RcuhAY5q3q2P0B3f1VZ+i3hB9DhIi/BWSI4rXNRSYoMBq9qovwO6mF+ e7W9B/qfin5MYWhqso399DiMx7DViVYY=
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a16.g.dreamhost.com (Postfix) with ESMTPSA id 3661150807C for <nfsv4@ietf.org>; Mon,  4 Apr 2011 10:31:33 -0700 (PDT)
Received: by vxg33 with SMTP id 33so5178234vxg.31 for <nfsv4@ietf.org>; Mon, 04 Apr 2011 10:31:33 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.176.134 with SMTP id ci6mr10167619vdc.190.1301938293150; Mon, 04 Apr 2011 10:31:33 -0700 (PDT)
Received: by 10.52.157.100 with HTTP; Mon, 4 Apr 2011 10:31:32 -0700 (PDT)
In-Reply-To: <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com>
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com>
Date: Mon, 4 Apr 2011 12:31:32 -0500
Message-ID: <BANLkTikUMeKn8S0YvdDb92wXa0Ke0YhJ+g@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: david.black@emc.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: sfaibish@popimap.lss.emc.com, jarrett.lu@oracle.com, kathleen.moriarty@emc.com, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Apr 2011 17:31:01 -0000

On Mon, Apr 4, 2011 at 10:31 AM, <david.black@emc.com> wrote:
> [E]
> > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # full mode for pNFS
>
> > If MAC negotiation/checks only happens between clients and MDS, this sh=
ould work for pNFS, right?
>
> Not necessarily, because pNFS bypasses the server, and hence bypasses any=
 server MAC checks ;-).=C2=A0 If the client is making MAC checks, the pNFS =
metadata server is making MAC checks, but one or more of the pNFS data serv=
ers is/are not, the =E2=80=9Cusers who really care about MAC security=E2=80=
=9D may not be happy.=C2=A0 Addressing this might just involve explaining w=
hat happens and recommending that people not do things that may not work ou=
t well (e.g., =E2=80=9Cusers who really care about MAC security=E2=80=9D SH=
OULD NOT use MAC-incapable data servers =E2=80=93 for the pNFS block layout=
, I think this is a specific case of a =E2=80=9CSHOULD NOT=E2=80=9D securit=
y caution that=E2=80=99s already in RFC 5663).

This could be a real issue.  The pNFS server would have to know about
the label of the file stripe.  But that's not really cool.  However,
with a FH renew op we can have capabilities, and that would solve the
problem.

> [F]
>
> > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # delegations (directory and files=
?)
>
> > Given MAC clients and MAC server are supposed to perform independent po=
licy enforcement, the delegation
>
> > feature probably does not make sense.
>
> IMHO, file delegation is probably ok (server MAC check covering file acce=
ss probably suffices for delegation).=C2=A0 OTOH, directory delegation is p=
roblematic, and I would have no problem for 4.2 if we said that directory d=
elegation SHOULD NOT (or even MUST NOT?) be used w/MAC, which is a step tow=
ards:

Agreed.  Clients are supposed to ask the server (MDS) whether any
given user can access a file for whichthe client has an open
delegation using a different user's creds.  I'd expect the same for
directory delegation.

Nico
--

From bhalevy@panasas.com  Mon Apr  4 10:43:28 2011
Return-Path: <bhalevy@panasas.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8C0CE3A69C4 for <nfsv4@core3.amsl.com>; Mon,  4 Apr 2011 10:43:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.265
X-Spam-Level: 
X-Spam-Status: No, score=-2.265 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PGDqgHoBozyN for <nfsv4@core3.amsl.com>; Mon,  4 Apr 2011 10:43:27 -0700 (PDT)
Received: from daytona.panasas.com (daytona.panasas.com [67.152.220.89]) by core3.amsl.com (Postfix) with ESMTP id A8C0E3A6A05 for <nfsv4@ietf.org>; Mon,  4 Apr 2011 10:43:27 -0700 (PDT)
Received: from lt.bhalevy.com ([172.17.33.100]) by daytona.panasas.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 4 Apr 2011 13:45:09 -0400
Message-ID: <4D9A03A4.90101@panasas.com>
Date: Mon, 04 Apr 2011 10:45:08 -0700
From: Benny Halevy <bhalevy@panasas.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.38.b3pre.fc13 Thunderbird/3.1.9
MIME-Version: 1.0
To: Nico Williams <nico@cryptonector.com>
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com>	<7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <BANLkTikUMeKn8S0YvdDb92wXa0Ke0YhJ+g@mail.gmail.com>
In-Reply-To: <BANLkTikUMeKn8S0YvdDb92wXa0Ke0YhJ+g@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-OriginalArrivalTime: 04 Apr 2011 17:45:09.0956 (UTC) FILETIME=[0AECE040:01CBF2F0]
Cc: sfaibish@popimap.lss.emc.com, jarrett.lu@oracle.com, kathleen.moriarty@emc.com, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Apr 2011 17:43:28 -0000

On 2011-04-04 10:31, Nico Williams wrote:
> On Mon, Apr 4, 2011 at 10:31 AM, <david.black@emc.com> wrote:
>> [E]
>>> # full mode for pNFS
>> 
>>> If MAC negotiation/checks only happens between clients and MDS,
>>> this should work for pNFS, right?
>> 
>> Not necessarily, because pNFS bypasses the server, and hence
>> bypasses any server MAC checks ;-).  If the client is making MAC
>> checks, the pNFS metadata server is making MAC checks, but one or
>> more of the pNFS data servers is/are not, the â€œusers who really
>> care about MAC securityâ€� may not be happy.  Addressing this might
>> just involve explaining what happens and recommending that people
>> not do things that may not work out well (e.g., â€œusers who really
>> care about MAC securityâ€� SHOULD NOT use MAC-incapable data servers
>> â€“ for the pNFS block layout, I think this is a specific case of a
>> â€œSHOULD NOTâ€� security caution thatâ€™s already in RFC 5663).

I guess that a nfs4.1 file-based MDS that knows that one of its DSs does
not support MAC checks should not provide a layout for it and thus
force I/O via the MDS (if it's configured to prefer security over
performance).

> 
> This could be a real issue.  The pNFS server would have to know
> about the label of the file stripe.  But that's not really cool.
> However, with a FH renew op we can have capabilities, and that would
> solve the problem.
> 
>> [F]
>> 
>>> # delegations (directory and files?)
>> 
>>> Given MAC clients and MAC server are supposed to perform
>>> independent policy enforcement, the delegation
>> 
>>> feature probably does not make sense.
>> 
>> IMHO, file delegation is probably ok (server MAC check covering
>> file access probably suffices for delegation).  OTOH, directory
>> delegation is problematic, and I would have no problem for 4.2 if
>> we said that directory delegation SHOULD NOT (or even MUST NOT?) be
>> used w/MAC, which is a step towards:
> 
> Agreed.  Clients are supposed to ask the server (MDS) whether any 
> given user can access a file for whichthe client has an open 
> delegation using a different user's creds.  I'd expect the same for 
> directory delegation.

Directory delegations are separate and read only (with notification
callbacks).  I'm not sure how they relate to MAC security...

Benny

> 
> Nico -- _______________________________________________ nfsv4 mailing
> list nfsv4@ietf.org https://www.ietf.org/mailman/listinfo/nfsv4


From Internet-Drafts@ietf.org  Mon Apr  4 10:45:04 2011
Return-Path: <Internet-Drafts@ietf.org>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5B1423A6863; Mon,  4 Apr 2011 10:45:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.587
X-Spam-Level: 
X-Spam-Status: No, score=-102.587 tagged_above=-999 required=5 tests=[AWL=0.012, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dXytqkg4tfJr; Mon,  4 Apr 2011 10:45:02 -0700 (PDT)
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 328F63A69C1; Mon,  4 Apr 2011 10:45:02 -0700 (PDT)
MIME-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 3.14
Message-ID: <20110404174502.15026.50760.idtracker@localhost>
Date: Mon, 04 Apr 2011 10:45:02 -0700
Cc: nfsv4@ietf.org
Subject: [nfsv4] I-D Action:draft-ietf-nfsv4-rfc3530bis-11.txt
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Apr 2011 17:45:04 -0000

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Network File System Version 4 Working Group of the IETF.


	Title           : Network File System (NFS) Version 4 Protocol
	Author(s)       : T. Haynes, D. Noveck
	Filename        : draft-ietf-nfsv4-rfc3530bis-11.txt
	Pages           : 319
	Date            : 2011-04-04

The Network File System (NFS) version 4 is a distributed filesystem
protocol which owes heritage to NFS protocol version 2, RFC 1094, and
version 3, RFC 1813.  Unlike earlier versions, the NFS version 4
protocol supports traditional file access while integrating support
for file locking and the mount protocol.  In addition, support for
strong security (and its negotiation), compound operations, client
caching, and internationalization have been added.  Of course,
attention has been applied to making NFS version 4 operate well in an
Internet environment.

This document, together with the companion XDR description document,
replaces RFC 3530 as the definition of the NFS version 4 protocol.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-nfsv4-rfc3530bis-11.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body; name="draft-ietf-nfsv4-rfc3530bis-11.txt";
	site="ftp.ietf.org"; access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID: <2011-04-04103243.I-D@ietf.org>


--NextPart--

From Internet-Drafts@ietf.org  Mon Apr  4 10:45:05 2011
Return-Path: <Internet-Drafts@ietf.org>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BFE0D3A698E; Mon,  4 Apr 2011 10:45:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.587
X-Spam-Level: 
X-Spam-Status: No, score=-102.587 tagged_above=-999 required=5 tests=[AWL=0.012, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gsKy4GKgCT0j; Mon,  4 Apr 2011 10:45:02 -0700 (PDT)
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A1D0E3A6A05; Mon,  4 Apr 2011 10:45:02 -0700 (PDT)
MIME-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 3.14
Message-ID: <20110404174502.15026.28916.idtracker@localhost>
Date: Mon, 04 Apr 2011 10:45:02 -0700
Cc: nfsv4@ietf.org
Subject: [nfsv4] I-D Action:draft-ietf-nfsv4-rfc3530bis-dot-x-06.txt
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Apr 2011 17:45:05 -0000

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Network File System Version 4 Working Group of the IETF.


	Title           : Network File System (NFS) Version 4 External Data Representation Standard (XDR) Description
	Author(s)       : T. Haynes, D. Noveck
	Filename        : draft-ietf-nfsv4-rfc3530bis-dot-x-06.txt
	Pages           : 38
	Date            : 2011-04-04

The Network File System (NFS) version 4 is a distributed filesystem
protocol which owes heritage to NFS protocol version 2, RFC 1094, and
version 3, RFC 1813.  Unlike earlier versions, the NFS version 4
protocol supports traditional file access while integrating support
for file locking and the mount protocol.  In addition, support for
strong security (and its negotiation), compound operations, client
caching, and internationalization have been added.  Of course,
attention has been applied to making NFS version 4 operate well in an
Internet environment.

This document, together with RFC 3530bis replaces RFC 3530 as the
definition of the NFS version 4 protocol.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-nfsv4-rfc3530bis-dot-x-06.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-nfsv4-rfc3530bis-dot-x-06.txt";
	site="ftp.ietf.org"; access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID: <2011-04-04103305.I-D@ietf.org>


--NextPart--

From nico@cryptonector.com  Mon Apr  4 10:47:49 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BE9C13A698E for <nfsv4@core3.amsl.com>; Mon,  4 Apr 2011 10:47:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.907
X-Spam-Level: 
X-Spam-Status: No, score=-1.907 tagged_above=-999 required=5 tests=[AWL=0.070,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R9QdbYjK+F-6 for <nfsv4@core3.amsl.com>; Mon,  4 Apr 2011 10:47:49 -0700 (PDT)
Received: from homiemail-a71.g.dreamhost.com (caiajhbdcaib.dreamhost.com [208.97.132.81]) by core3.amsl.com (Postfix) with ESMTP id 1C9473A6855 for <nfsv4@ietf.org>; Mon,  4 Apr 2011 10:47:49 -0700 (PDT)
Received: from homiemail-a71.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a71.g.dreamhost.com (Postfix) with ESMTP id C2EF342807B for <nfsv4@ietf.org>; Mon,  4 Apr 2011 10:49:31 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=vhtXqbY7JEX3tV+Y2ozDv285YDIpLtg9suxrwDuvzbf9 5OdB9n6tVUT6ffSl8LLxdndVGbgtBZSnQk6655BUj004G6RvBl9aQ3iDC8GEIM/i DghziRRLnVF26z/DszO1gGpqmPbSyJ62/tRxeNtFRS4q+8PUF/TIxSr5hr+zvq4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=/qvuXySB+OI1MlLIXi8sk4Wh7eI=; b=Nk1t2UeHA1D X9+FwxmjWEVmu34/gKZ+TDFJcxr8FJh9Y+ZH9IOjnR7d4lGtpv11J5MBm9PQBHJ7 qT2X2gmMNG7rEdF+duVAS+/+1lNfBWDnu8/oTULbDWr21CU3VIEsNK76O6ia4Lhy e1jTRDCsMl+vqWDZxQpqC2WcZQyFFcJ4=
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a71.g.dreamhost.com (Postfix) with ESMTPSA id 900D9428076 for <nfsv4@ietf.org>; Mon,  4 Apr 2011 10:49:31 -0700 (PDT)
Received: by vws12 with SMTP id 12so5180196vws.31 for <nfsv4@ietf.org>; Mon, 04 Apr 2011 10:49:30 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.177.233 with SMTP id ct9mr10067198vdc.110.1301939370129; Mon, 04 Apr 2011 10:49:30 -0700 (PDT)
Received: by 10.52.157.100 with HTTP; Mon, 4 Apr 2011 10:49:30 -0700 (PDT)
In-Reply-To: <4D9A03A4.90101@panasas.com>
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <BANLkTikUMeKn8S0YvdDb92wXa0Ke0YhJ+g@mail.gmail.com> <4D9A03A4.90101@panasas.com>
Date: Mon, 4 Apr 2011 12:49:30 -0500
Message-ID: <BANLkTinYi6+RXoE9ZHyC4tEB8AH34iU8Nw@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Benny Halevy <bhalevy@panasas.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: sfaibish@popimap.lss.emc.com, jarrett.lu@oracle.com, kathleen.moriarty@emc.com, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Apr 2011 17:47:49 -0000

On Mon, Apr 4, 2011 at 12:45 PM, Benny Halevy <bhalevy@panasas.com> wrote:
> On 2011-04-04 10:31, Nico Williams wrote:
>>> IMHO, file delegation is probably ok (server MAC check covering
>>> file access probably suffices for delegation). =C2=A0OTOH, directory
>>> delegation is problematic, and I would have no problem for 4.2 if
>>> we said that directory delegation SHOULD NOT (or even MUST NOT?) be
>>> used w/MAC, which is a step towards:
>>
>> Agreed. =C2=A0Clients are supposed to ask the server (MDS) whether any
>> given user can access a file for whichthe client has an open
>> delegation using a different user's creds. =C2=A0I'd expect the same for
>> directory delegation.
>
> Directory delegations are separate and read only (with notification
> callbacks). =C2=A0I'm not sure how they relate to MAC security...

The server might want to allow read access but hide names for objects
whose labels the client cannot observe.  The obvious thing to do is to
say "don't rely on that".

Nico
--

From bhalevy@panasas.com  Mon Apr  4 10:52:13 2011
Return-Path: <bhalevy@panasas.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B05133A686E for <nfsv4@core3.amsl.com>; Mon,  4 Apr 2011 10:52:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.265
X-Spam-Level: 
X-Spam-Status: No, score=-2.265 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9ZdXsGHtklHU for <nfsv4@core3.amsl.com>; Mon,  4 Apr 2011 10:52:12 -0700 (PDT)
Received: from daytona.panasas.com (daytona.panasas.com [67.152.220.89]) by core3.amsl.com (Postfix) with ESMTP id 823DC3A6859 for <nfsv4@ietf.org>; Mon,  4 Apr 2011 10:52:12 -0700 (PDT)
Received: from lt.bhalevy.com ([172.17.33.100]) by daytona.panasas.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 4 Apr 2011 13:53:55 -0400
Message-ID: <4D9A05B1.4080309@panasas.com>
Date: Mon, 04 Apr 2011 10:53:53 -0700
From: Benny Halevy <bhalevy@panasas.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.38.b3pre.fc13 Thunderbird/3.1.9
MIME-Version: 1.0
To: Nico Williams <nico@cryptonector.com>
References: <4D95842E.70708@oracle.com>	<4D95B41C.70509@oracle.com>	<7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com>	<BANLkTikUMeKn8S0YvdDb92wXa0Ke0YhJ+g@mail.gmail.com>	<4D9A03A4.90101@panasas.com> <BANLkTinYi6+RXoE9ZHyC4tEB8AH34iU8Nw@mail.gmail.com>
In-Reply-To: <BANLkTinYi6+RXoE9ZHyC4tEB8AH34iU8Nw@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 04 Apr 2011 17:53:55.0150 (UTC) FILETIME=[43F71EE0:01CBF2F1]
Cc: sfaibish@popimap.lss.emc.com, jarrett.lu@oracle.com, kathleen.moriarty@emc.com, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Apr 2011 17:52:14 -0000

On 2011-04-04 10:49, Nico Williams wrote:
> On Mon, Apr 4, 2011 at 12:45 PM, Benny Halevy <bhalevy@panasas.com> wrote:
>> On 2011-04-04 10:31, Nico Williams wrote:
>>>> IMHO, file delegation is probably ok (server MAC check covering
>>>> file access probably suffices for delegation).  OTOH, directory
>>>> delegation is problematic, and I would have no problem for 4.2 if
>>>> we said that directory delegation SHOULD NOT (or even MUST NOT?) be
>>>> used w/MAC, which is a step towards:
>>>
>>> Agreed.  Clients are supposed to ask the server (MDS) whether any
>>> given user can access a file for whichthe client has an open
>>> delegation using a different user's creds.  I'd expect the same for
>>> directory delegation.
>>
>> Directory delegations are separate and read only (with notification
>> callbacks).  I'm not sure how they relate to MAC security...
> 
> The server might want to allow read access but hide names for objects
> whose labels the client cannot observe.  The obvious thing to do is to
> say "don't rely on that".

The client can't cache any entries it doesn't know about so it the
server masks out those secured entries the client wouldn't know about
them.  If the policies change after the client got the dir. delegation
the server can either recall the delegation or notify the client of
the change to delete or update specific entries.

Benny

> 
> Nico
> --


From nico@cryptonector.com  Mon Apr  4 10:55:13 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A19D53A697E for <nfsv4@core3.amsl.com>; Mon,  4 Apr 2011 10:55:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.908
X-Spam-Level: 
X-Spam-Status: No, score=-1.908 tagged_above=-999 required=5 tests=[AWL=0.069,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t73mX06H5BQ2 for <nfsv4@core3.amsl.com>; Mon,  4 Apr 2011 10:55:12 -0700 (PDT)
Received: from homiemail-a24.g.dreamhost.com (caiajhbdcbbj.dreamhost.com [208.97.132.119]) by core3.amsl.com (Postfix) with ESMTP id B360C3A686E for <nfsv4@ietf.org>; Mon,  4 Apr 2011 10:55:12 -0700 (PDT)
Received: from homiemail-a24.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a24.g.dreamhost.com (Postfix) with ESMTP id 70EFB2C807F for <nfsv4@ietf.org>; Mon,  4 Apr 2011 10:56:55 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=J+dp8X535/4Yn4TcNttbb2HXjiWrQRIqKvn6lhlg21sC 6tYcE1EKkSGqvE3UZH6toGP60ZN1IQSBXmCXNXfushSjyb5aenonpNBYcrmZzWv5 MgnQDPArpPA6mKp6Su2IVPM6T1tHaZHYIdbGqcN7l+CiTLxRjj7TQ1hgt+1rMXk=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=Of2e6JN075fxzQX6gFDwuEj7qkE=; b=FAiArYM+g++ Gupmhcv+V4QaVyHjCM8YLxpL9aIqJ18boXMNzotAvGQm0j+KCd8F8r1CJKgSeWAf fzqwauNSu7GDXXHXVyOsE9DsCaCl2wMAZdrnYmcVsWblb3kOthsSkvSNnezVl42N QuLpyx0gxfCohCa1NO4HTU/ZUZ66RoCo=
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a24.g.dreamhost.com (Postfix) with ESMTPSA id 43D2C2C806D for <nfsv4@ietf.org>; Mon,  4 Apr 2011 10:56:55 -0700 (PDT)
Received: by vws12 with SMTP id 12so5188435vws.31 for <nfsv4@ietf.org>; Mon, 04 Apr 2011 10:56:54 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.176.134 with SMTP id ci6mr10210207vdc.190.1301939814564; Mon, 04 Apr 2011 10:56:54 -0700 (PDT)
Received: by 10.52.157.100 with HTTP; Mon, 4 Apr 2011 10:56:54 -0700 (PDT)
In-Reply-To: <4D9A05B1.4080309@panasas.com>
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <BANLkTikUMeKn8S0YvdDb92wXa0Ke0YhJ+g@mail.gmail.com> <4D9A03A4.90101@panasas.com> <BANLkTinYi6+RXoE9ZHyC4tEB8AH34iU8Nw@mail.gmail.com> <4D9A05B1.4080309@panasas.com>
Date: Mon, 4 Apr 2011 12:56:54 -0500
Message-ID: <BANLkTi=6uqqVQSjJLMwirDVkrA+zXUDc5g@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Benny Halevy <bhalevy@panasas.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: sfaibish@popimap.lss.emc.com, jarrett.lu@oracle.com, kathleen.moriarty@emc.com, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Apr 2011 17:55:13 -0000

On Mon, Apr 4, 2011 at 12:53 PM, Benny Halevy <bhalevy@panasas.com> wrote:
> The client can't cache any entries it doesn't know about so it the
> server masks out those secured entries the client wouldn't know about
> them. =C2=A0If the policies change after the client got the dir. delegati=
on
> the server can either recall the delegation or notify the client of
> the change to delete or update specific entries.

The issue is sharing the cache with multiple users running at
different labels/label sets/label ranges.

The client basically can't share the cache at all in such a case.

From david.black@emc.com  Mon Apr  4 11:01:12 2011
Return-Path: <david.black@emc.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 94F9D28C12A for <nfsv4@core3.amsl.com>; Mon,  4 Apr 2011 11:01:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.581
X-Spam-Level: 
X-Spam-Status: No, score=-106.581 tagged_above=-999 required=5 tests=[AWL=0.018, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ld3eg8Rm5P6N for <nfsv4@core3.amsl.com>; Mon,  4 Apr 2011 11:01:11 -0700 (PDT)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by core3.amsl.com (Postfix) with ESMTP id 3E3E13A69BC for <nfsv4@ietf.org>; Mon,  4 Apr 2011 11:01:11 -0700 (PDT)
Received: from hop04-l1d11-si04.isus.emc.com (HOP04-L1D11-SI04.isus.emc.com [10.254.111.24]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p34I2pjD007982 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 4 Apr 2011 14:02:51 -0400
Received: from mailhub.lss.emc.com (mailhubhoprd01.lss.emc.com [10.254.221.251]) by hop04-l1d11-si04.isus.emc.com (RSA Interceptor); Mon, 4 Apr 2011 14:02:43 -0400
Received: from mxhub22.corp.emc.com (mxhub22.corp.emc.com [128.221.56.108]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p34I22UG002027; Mon, 4 Apr 2011 14:02:04 -0400
Received: from mx14a.corp.emc.com ([169.254.1.143]) by mxhub22.corp.emc.com ([128.221.56.108]) with mapi; Mon, 4 Apr 2011 14:02:03 -0400
From: <david.black@emc.com>
To: <nico@cryptonector.com>
Date: Mon, 4 Apr 2011 14:02:01 -0400
Thread-Topic: [nfsv4] draft-quigley-nfsv4-labeled-00 - use cases
Thread-Index: Acvy6LzmIUMw6yNtT0aloVrBvNEHYQACSMiA
Message-ID: <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1E82@MX14A.corp.emc.com>
References: <4D95842E.70708@oracle.com>	<4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <BANLkTi=9tu4Kt0Kc6QHn1H67oWEBtNwkrw@mail.gmail.com>
In-Reply-To: <BANLkTi=9tu4Kt0Kc6QHn1H67oWEBtNwkrw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-EMM-MHVC: 1
Cc: kathleen.moriarty@emc.com, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - use cases
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Apr 2011 18:01:12 -0000

RXh0cmFjdGluZyB0aGlzIGZyb20gTmljbydzIGVtYWlsOg0KDQo+ID4gW0JdDQo+ID4NCj4gPiA+
IEFyZSB3ZSBzdGlsbCBtaXNzaW5nIHRoZSBmb2xsb3dpbmcgdXNlIGNhc2VzPw0KPiA+ID4gLSBN
QUMgaW4gdmlydHVhbGl6ZWQgZW52aXJvbm1lbnQgKEVNQyA/KQ0KPiA+ID4gLSBNQUMgaW4gY2xv
dWQgY29tcHV0aW5nICg/KQ0KPiA+ID4gLSBhZGRpdGlvbmFsIHVzZSBjYXNlcyBmcm9tIEthdGhs
ZWVuICg/KQ0KPiANCj4gQXMgbG9uZyBhcyB0aGUgcHJvdG9jb2wgc3VwcG9ydHMgTUFDIHRoZW4g
SSB0aGluayBhbGwgb2YgdGhvc2UgY2FzZXMNCj4gYXJlIG1ldCAoZXhjZXB0IGZvciBLYXRobGVl
bidzLCB3aG9zZSB1c2VzIGNhc2VzIEkgbWF5IG5vdCBrbm93IGFib3V0KS4NCj4gDQo+ID4gQXQg
bGVhc3QgS2F0aGxlZW4gYW5kIEkgYXJlIHNpZ25lZCB1cCB0byBkbyBzb21ldGhpbmcgaGVyZS4g
IFdl4oCZcmUgbm90IHByb21pc2luZyB0aGF0IGFsbCBvZiB0aGVzZQ0KPiB1c2UgY2Fz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4 13:02:23 2011
Return-Path: <dpquigl@davequigley.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 893E028C0E8 for <nfsv4@core3.amsl.com>; Mon,  4 Apr 2011 13:02:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level: 
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9PeY9-onK7Td for <nfsv4@core3.amsl.com>; Mon,  4 Apr 2011 13:02:19 -0700 (PDT)
Received: from countercultured.net (countercultured.net [IPv6:2001:470:0:c0d3::2]) by core3.amsl.com (Postfix) with SMTP id 0575828C0E2 for <nfsv4@ietf.org>; Mon,  4 Apr 2011 13:02:18 -0700 (PDT)
Received: (qmail 12936 invoked from network); 4 Apr 2011 19:57:21 -0000
Received: from countercultured.net (HELO webmail.countercultured.net) (209.51.175.25) by countercultured.net with SMTP; 4 Apr 2011 19:57:21 -0000
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="=_5e045f897f38c4f503bbc83de52ad5cb"
Date: Mon, 04 Apr 2011 15:57:21 -0400
From: David Quigley <dpquigl@davequigley.com>
To: <nfsv4@ietf.org>, <dwalsh@redhat.com>
In-Reply-To: <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1E82@MX14A.corp.emc.com>
References: "<4D95842E.70708@oracle.com>" <4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <BANLkTi=9tu4Kt0Kc6QHn1H67oWEBtNwkrw@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1E82@MX14A.corp.emc.com>
Message-ID: <9d8c378289f7fb4ff36c77a0256d07d0@countercultured.net>
X-Sender: dpquigl@davequigley.com
User-Agent: RoundCube Webmail/0.5-trunk
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - use cases
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Apr 2011 20:02:23 -0000

--=_5e045f897f38c4f503bbc83de52ad5cb
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=UTF-8



[ Resending since I sent it initially with the wrong mail identity
and it got moderated ] 

I've added Dan Walsh to the people on the
email. I'd be happy to write up the Red Hat usecase for the document. I
can work with Dan or we can have Dan write the section if he thinks that
he'd be in a better position to do so. Regardless I think it will have
to be run by him before being added to the document to make sure it
deals with the finer details of the problem since he has more regular
contact with customers needing his virtualization usecase. 

On Mon, 4
Apr 2011 14:02:01 -0400, wrote: 

Extracting this from Nico's email:

>>
[B]
>> 
>>> Are we still missing the following use cases?
>>> - MAC in
virtualized environment (EMC ?)
>>> - MAC in cloud computing (?)
>>> -
additional use cases from Kathleen (?)
> 
> As long as the protocol
supports MAC then I think all of those cases
> are met (except for
Kathleen's, whose uses cases I may not know about).
> 
>> At least
Kathleen and I are signed up to do something here. We're not promising
that all of these
> use cases are applicable to MAC, but we'll take a
serious look - stay tuned.

Who's signed up to write up the Red Hat use
case that has been discussed? I think that falls into one or both of the
first two categories, and having that soon as input to discussion of
those areas would be productive.

Thanks,
--David
--=_5e045f897f38c4f503bbc83de52ad5cb
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8

<p>[ Resending since I sent it initially with the wrong mail identity and i=
t got moderated ]</p>
<p>I've added Dan Walsh to the people on the email. I'd be happy to  write =
up the Red Hat usecase for the document. I can work with Dan or we  can hav=
e Dan write the section if he thinks that he'd be in a better  position to =
do so. Regardless I think it will have to be run by him  before being added=
 to the document to make sure it deals with the finer  details of the probl=
em since he has more regular contact with customers  needing his virtualiza=
tion usecase.</p>
<p>On Mon, 4 Apr 2011 14:02:01 -0400,  wrote:</p>
<pre>Extracting this from Nico's email:<br /><br /><blockquote style=3D"pad=
ding-left: 5px; border-left: 2px solid #1010ff; margin-left: 5px; width: 10=
0%;"><blockquote style=3D"padding-left: 5px; border-left: 2px solid #1010ff=
; margin-left: 5px; width: 100%;">[B]<br /><br /><blockquote style=3D"paddi=
ng-left: 5px; border-left: 2px solid #1010ff; margin-left: 5px; width: 100%=
;">Are we still missing the following use cases?<br />- MAC in virtualized =
environment (EMC ?)<br />- MAC in cloud computing (?)<br />- additional use=
 cases from Kathleen (?)<br /></blockquote></blockquote><br />As long as th=
e protocol supports MAC then I think all of those cases<br />are met (excep=
t for Kathleen's, whose uses cases I may not know about).<br /><br /><block=
quote style=3D"padding-left: 5px; border-left: 2px solid #1010ff; margin-le=
ft: 5px; width: 100%;">At least Kathleen and I are signed up to do somethin=
g here.  We&rsquo;re not promising that all of these<br /></blockquote>use =
cases are applicable to MAC, but we&rsquo;ll take a serious look - stay tun=
ed.<br /></blockquote><br />Who's signed up to write up the Red Hat use cas=
e that has been discussed?  I think that falls into one or both of the firs=
t two categories, and having that soon as input to discussion of those area=
s would be productive.<br /><br />Thanks,<br />--David</pre>
--=_5e045f897f38c4f503bbc83de52ad5cb--


From dwalsh@redhat.com  Mon Apr  4 13:36:23 2011
Return-Path: <dwalsh@redhat.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1D5C228C118 for <nfsv4@core3.amsl.com>; Mon,  4 Apr 2011 13:36:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.299
X-Spam-Level: 
X-Spam-Status: No, score=-110.299 tagged_above=-999 required=5 tests=[AWL=0.300, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id odCmvkbr1lvm for <nfsv4@core3.amsl.com>; Mon,  4 Apr 2011 13:36:22 -0700 (PDT)
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by core3.amsl.com (Postfix) with ESMTP id F135C3A67D3 for <nfsv4@ietf.org>; Mon,  4 Apr 2011 13:36:21 -0700 (PDT)
Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p34Kc3nB011715 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 4 Apr 2011 16:38:03 -0400
Received: from localhost.localdomain (redsox.boston.devel.redhat.com [10.16.60.53]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p34Kc2Xo023005; Mon, 4 Apr 2011 16:38:03 -0400
Message-ID: <4D9A2C2A.9010000@redhat.com>
Date: Mon, 04 Apr 2011 16:38:02 -0400
From: Daniel J Walsh <dwalsh@redhat.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110320 Fedora/3.1.9-4.fc16 Lightning/1.0b2 Thunderbird/3.1.9
MIME-Version: 1.0
To: merlin <merlin@countercultured.net>
References: "<4D95842E.70708@oracle.com>" <4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <BANLkTi=9tu4Kt0Kc6QHn1H67oWEBtNwkrw@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1E82@MX14A.corp.emc.com> <d35e519c939ae367235783dfdf485367@countercultured.net>
In-Reply-To: <d35e519c939ae367235783dfdf485367@countercultured.net>
X-Enigmail-Version: 1.1
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23
X-Mailman-Approved-At: Mon, 04 Apr 2011 13:47:54 -0700
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - use cases
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Apr 2011 20:38:55 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/04/2011 03:54 PM, merlin wrote:
> I've added Dan Walsh to the people on the email. I'd be happy to write
> up the Red Hat usecase for the document. I can work with Dan or we can
> have Dan write the section if he thinks that he'd be in a better
> position to do so. Regardless I think it will have to be run by him
> before being added to the document to make sure it deals with the finer
> details of the problem since he has more regular contact with customers
> needing his virtualization usecase.
> 
Sure I would be willing to help on this.

I think there are three use cases.

1, secure virtualization, to allow me to prevent one virtual machine
from attacking another virtual machines image when stored on shared NFS
storage.
2. Sandboxing.  Allows me to isolate multiple "namespaced" homedirs on
my homedir.  If the homedir is nfs.
3. NFS homedir labeling to handle process separation.


> On Mon, 4 Apr 2011 14:02:01 -0400, wrote:
> 
>> Extracting this from Nico's email:
>>
>>>> [B]
>>>>
>>>>> Are we still missing the following use cases?
>>>>> - MAC in virtualized environment (EMC ?)
>>>>> - MAC in cloud computing (?)
>>>>> - additional use cases from Kathleen (?)
>>>
>>> As long as the protocol supports MAC then I think all of those cases
>>> are met (except for Kathleen's, whose uses cases I may not know about).
>>>
>>>> At least Kathleen and I are signed up to do something here. Weâ€™re
>>>> not promising that all of these
>>> use cases are applicable to MAC, but weâ€™ll take a serious look - stay
>>> tuned.
>>
>> Who's signed up to write up the Red Hat use case that has been discussed?  I think that falls into one or both of the first two categories, and having that soon as input to discussion of those areas would be productive.
>>
>> Thanks,
>> --David

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk2aLCoACgkQrlYvE4MpobMJhgCgsuXUNKwdt9p4ax/0gBOLy1iR
r0wAnR1bfGi2CDxCbdxEKSL71sdIkokT
=9LUW
-----END PGP SIGNATURE-----

From Tom.Haynes@netapp.com  Tue Apr  5 12:57:31 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9A75D28C13A for <nfsv4@core3.amsl.com>; Tue,  5 Apr 2011 12:57:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.48
X-Spam-Level: 
X-Spam-Status: No, score=-10.48 tagged_above=-999 required=5 tests=[AWL=0.118,  BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uEP6iSTa1Su3 for <nfsv4@core3.amsl.com>; Tue,  5 Apr 2011 12:57:31 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by core3.amsl.com (Postfix) with ESMTP id 8FFAC28C138 for <nfsv4@ietf.org>; Tue,  5 Apr 2011 12:57:27 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.63,306,1299484800";  d="scan'208,217";a="538844202"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 05 Apr 2011 12:58:56 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p35Jwt5s005126 for <nfsv4@ietf.org>; Tue, 5 Apr 2011 12:58:56 -0700 (PDT)
Received: from rtprsexc2-prd.hq.netapp.com ([10.100.161.115]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 5 Apr 2011 12:58:56 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 5 Apr 2011 15:58:54 -0400
Received: from fscott-lxp.hq.netapp.com ([10.58.50.23]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 5 Apr 2011 15:58:53 -0400
From: Thomas Haynes <thomas@netapp.com>
Content-Type: multipart/alternative; boundary=Apple-Mail-11--543698007
Date: Tue, 5 Apr 2011 14:58:52 -0500
References: <20110405000418.D71023A6824@core3.amsl.com>
To: nfsv4@ietf.org
Message-Id: <A179B268-95E5-4123-B7E0-26276BBE30EB@netapp.com>
Mime-Version: 1.0 (Apple Message framework v1084)
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 05 Apr 2011 19:58:53.0874 (UTC) FILETIME=[E3F75920:01CBF3CB]
Subject: [nfsv4] Fwd: New Version Notification for draft-haynes-nfsv4-minorversion2-dot-x-02
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Apr 2011 19:57:31 -0000

--Apple-Mail-11--543698007
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

FYI - thanks to Mike I've gone through and made sure that the XDR in =
this draft
is compilable.



Begin forwarded message:

> From: IETF I-D Submission Tool <idsubmission@ietf.org>
> Date: April 4, 2011 7:04:18 PM CDT
> To: thomas@netapp.com
> Subject: New Version Notification for =
draft-haynes-nfsv4-minorversion2-dot-x-02=20
>=20
>=20
> A new version of I-D, draft-haynes-nfsv4-minorversion2-dot-x-02.txt =
has been successfully submitted by Thomas Haynes and posted to the IETF =
repository.
>=20
> Filename:	 draft-haynes-nfsv4-minorversion2-dot-x
> Revision:	 02
> Title:		 NFSv4 Minor Version 2 Protocol External Data =
Representation Standard (XDR) Description
> Creation_date:	 2011-04-04
> WG ID:		 Independent Submission
> Number_of_pages: 78
>=20
> Abstract:
> This Internet-Draft provides the XDR description for NFSv4 minor
> version two.
>=20
>=20
>=20
> The IETF Secretariat.
>=20
>=20


--Apple-Mail-11--543698007
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">FYI - =
thanks to Mike I've gone through and made sure that the XDR in this =
draft<div>is =
compilable.</div><div><br></div><div><br><div><br><div>Begin forwarded =
message:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px;"><span =
style=3D"font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, =
1);"><b>From: </b></span><span style=3D"font-family:'Helvetica'; =
font-size:medium;">IETF I-D Submission Tool &lt;<a =
href=3D"mailto:idsubmission@ietf.org">idsubmission@ietf.org</a>&gt;<br></s=
pan></div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px;"><span =
style=3D"font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, =
1);"><b>Date: </b></span><span style=3D"font-family:'Helvetica'; =
font-size:medium;">April 4, 2011 7:04:18 PM CDT<br></span></div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px;"><span style=3D"font-family:'Helvetica'; =
font-size:medium; color:rgba(0, 0, 0, 1);"><b>To: </b></span><span =
style=3D"font-family:'Helvetica'; font-size:medium;"><a =
href=3D"mailto:thomas@netapp.com">thomas@netapp.com</a><br></span></div><d=
iv style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px;"><span style=3D"font-family:'Helvetica'; =
font-size:medium; color:rgba(0, 0, 0, 1);"><b>Subject: </b></span><span =
style=3D"font-family:'Helvetica'; font-size:medium;"><b>New Version =
Notification for  draft-haynes-nfsv4-minorversion2-dot-x-02 =
</b><br></span></div><br><div><br>A new version of I-D, =
draft-haynes-nfsv4-minorversion2-dot-x-02.txt has been successfully =
submitted by Thomas Haynes and posted to the IETF =
repository.<br><br>Filename:<span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span> =
draft-haynes-nfsv4-minorversion2-dot-x<br>Revision:<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	</span> =
02<br>Title:<span class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span><span class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span> NFSv4 Minor Version 2 Protocol External Data Representation =
Standard (XDR) Description<br>Creation_date:<span class=3D"Apple-tab-span"=
 style=3D"white-space:pre">	</span> 2011-04-04<br>WG ID:<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	</span><span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	</span> =
Independent Submission<br>Number_of_pages: 78<br><br>Abstract:<br>This =
Internet-Draft provides the XDR description for NFSv4 minor<br>version =
two.<br><br><br><br>The IETF =
Secretariat.<br><br><br></div></blockquote></div><br></div></body></html>=

--Apple-Mail-11--543698007--

From Tom.Haynes@netapp.com  Tue Apr  5 15:44:37 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 343B73A6809 for <nfsv4@core3.amsl.com>; Tue,  5 Apr 2011 15:44:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.04
X-Spam-Level: 
X-Spam-Status: No, score=-10.04 tagged_above=-999 required=5 tests=[AWL=-0.326, BAYES_00=-2.599, HTML_FONT_FACE_BAD=0.884, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2Hw-3qiu81i5 for <nfsv4@core3.amsl.com>; Tue,  5 Apr 2011 15:44:36 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by core3.amsl.com (Postfix) with ESMTP id 238053A67F3 for <nfsv4@ietf.org>; Tue,  5 Apr 2011 15:44:36 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.63,307,1299484800";  d="scan'208,217";a="538917243"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 05 Apr 2011 15:46:04 -0700
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p35Mk4hf005670; Tue, 5 Apr 2011 15:46:04 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 5 Apr 2011 15:46:04 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 5 Apr 2011 18:46:03 -0400
Received: from vpn2ntap-149055.hq.netapp.com ([10.58.50.23]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 5 Apr 2011 18:46:02 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: multipart/alternative; boundary=Apple-Mail-14--533669763
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com>
Date: Tue, 5 Apr 2011 17:46:00 -0500
Message-Id: <D80E2C74-A62A-4E68-8381-A8F129ED2934@netapp.com>
References: <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com>
To: "david.black@emc.com> <david.black@emc.com" <david.black@emc.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 05 Apr 2011 22:46:02.0777 (UTC) FILETIME=[3DA88090:01CBF3E3]
Cc: sfaibish@popimap.lss.emc.com, jarrett.lu@oracle.com, kathleen.moriarty@emc.com, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Apr 2011 22:44:37 -0000

--Apple-Mail-14--533669763
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252


On Apr 4, 2011, at 10:31 AM, <david.black@emc.com> <david.black@emc.com> =
wrote:

> Pulling selected items out of Jarret=92s email:
> =20
>=20
> [E]
> =20
> >         # full mode for pNFS
> >
> > If MAC negotiation/checks only happens between clients and MDS, this =
should work for pNFS, right?
> =20
> Not necessarily, because pNFS bypasses the server, and hence bypasses =
any server MAC checks ;-).  If the client is making MAC checks, the pNFS =
metadata server is making MAC checks, but one or more of the pNFS data =
servers is/are not, the =93users who really care about MAC security=94 =
may not be happy.  Addressing this might just involve explaining what =
happens and recommending that people not do things that may not work out =
well (e.g., =93users who really care about MAC security=94 SHOULD NOT =
use MAC-incapable data servers =96 for the pNFS block layout, I think =
this is a specific case of a =93SHOULD NOT=94 security caution that=92s =
already in RFC 5663).
> =20
>=20


After thinking about this for some time, I believe that this should =
follow the access checking
and stateid validation that 5661 already specifies.

When a client accesses a a file from a pNFS MDS, an access check occurs. =
Only if the
client is allowed access does it get a layout. But just because the =
client has a valid layout
does not mean that the DS is allowed to provide access to the data.

The DS needs to both validate the stateid and do an export check. As the =
DS has no
knowledge of valid stateids or exports, it uses the Control Protocol to =
query the MDS:


] 12.2.6.  Control Protocol
]
]   As noted in Figure 1, the control protocol is used by the exported
]   file system between the metadata server and storage devices.
]   Specification of such protocols is outside the scope of the NFSv4.1
]   protocol.  Such control protocols would be used to control =
activities
]   such as the allocation and deallocation of storage, the management =
of
]   state required by the storage devices to perform client access
]   control, and, depending on the storage protocol, the enforcement of
]   authentication and authorization so that restrictions that would be
]   enforced by the metadata server are also enforced by the storage
]   device.


The extension we would need here is for the DS to either:

1) Send on the MAC label it got from the client to the MDS, or

2) Query the MDS for the labels on the file.

The first is simpler in that it allows the MDS to be smart and the DS =
pretty dumb. If the
MDS says okay, then the DS says okay. The same caching mechanism (or =
lack thereof)=20
being used for access checks (and/or stateid validation) can be used to =
cache the
response for the MAC check.

With the second approach, the DS has to be smarter and the cache =
contains the file MAC.

FWIW - I see the choice of these methods to be implementation dependent. =
I.e., we don't
specify the control protocol.






--Apple-Mail-14--533669763
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1252

<html><head><base href=3D"x-msg://343/"></head><body style=3D"word-wrap: =
break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space; "><br><div><div>On Apr 4, 2011, at 10:31 AM, &lt;<a =
href=3D"mailto:david.black@emc.com">david.black@emc.com</a>&gt; &lt;<a =
href=3D"mailto:david.black@emc.com">david.black@emc.com</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><span class=3D"Apple-style-span" style=3D"border-collapse: =
separate; font-family: Helvetica; font-style: normal; font-variant: =
normal; font-weight: normal; letter-spacing: normal; line-height: =
normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: =
normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: =
0px; -webkit-border-vertical-spacing: 0px; =
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
bgcolor=3D"white" lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div =
class=3D"WordSection1" style=3D"page: WordSection1; "><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; =
margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', =
serif; color: black; "><span style=3D"font-size: 10pt; font-family: =
'Courier New'; ">Pulling selected items out of Jarret=92s =
email:<o:p></o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: =
12pt; font-family: 'Times New Roman', serif; color: black; "><span =
style=3D"font-size: 10pt; font-family: 'Courier New'; =
"><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: =
12pt; font-family: 'Times New Roman', serif; color: black; "><font =
class=3D"Apple-style-span" face=3D"'Courier New'" size=3D"3"><span =
class=3D"Apple-style-span" style=3D"font-size: =
13px;"><br></span></font></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: =
12pt; font-family: 'Times New Roman', serif; color: black; "><span =
style=3D"font-size: 10pt; font-family: 'Courier New'; ">[E]</span><span =
style=3D"font-size: 10pt; font-family: 'Courier New'; =
"><o:p></o:p></span></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; =
font-family: 'Times New Roman', serif; color: black; "><span =
style=3D"font-size: 10pt; font-family: 'Courier New'; =
"><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: =
12pt; font-family: 'Times New Roman', serif; color: black; "><span =
style=3D"font-size: 10pt; font-family: 'Courier New'; ">&gt;<span =
class=3D"Apple-converted-space">&nbsp;</span></span>&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp; # full mode for pNFS<o:p></o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; =
margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', =
serif; color: black; ">&gt;<br>&gt; If MAC negotiation/checks only =
happens between clients and MDS, this should work for pNFS, =
right?<o:p></o:p></div><div style=3D"margin-top: 0in; margin-right: 0in; =
margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: =
'Times New Roman', serif; color: black; "><span style=3D"font-size: =
10pt; font-family: 'Courier New'; "><o:p>&nbsp;</o:p></span></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; =
margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', =
serif; color: black; "><span style=3D"font-size: 10pt; font-family: =
'Courier New'; ">Not necessarily, because pNFS bypasses the server, and =
hence bypasses any server MAC checks ;-).&nbsp; If the client is making =
MAC checks, the pNFS metadata server is making MAC checks, but one or =
more of the pNFS data servers is/are not, the =93users who really care =
about MAC security=94 may not be happy.&nbsp; Addressing this might just =
involve explaining what happens and recommending that people not do =
things that may not work out well (e.g., =93users who really care about =
MAC security=94 SHOULD NOT use MAC-incapable data servers =96 for the =
pNFS block layout, I think this is a specific case of a =93SHOULD NOT=94 =
security caution that=92s already in RFC =
5663).<o:p></o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: =
12pt; font-family: 'Times New Roman', serif; color: black; "><span =
style=3D"font-size: 10pt; font-family: 'Courier New'; =
"><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: =
12pt; font-family: 'Times New Roman', serif; color: black; "><font =
class=3D"Apple-style-span" face=3D"'Courier New'" size=3D"3"><span =
class=3D"Apple-style-span" style=3D"font-size: =
13px;"><br></span></font></div></div></div></span></blockquote><br></div><=
div><br></div><div>After thinking about this for some time, I believe =
that this should follow the access checking</div><div>and stateid =
validation that 5661 already specifies.</div><div><br></div><div>When a =
client accesses a a file from a pNFS MDS, an access check occurs. Only =
if the</div><div>client is allowed access does it get a layout. But just =
because the client has a valid layout</div><div>does not mean that the =
DS is allowed to provide access to the =
data.</div><div><br></div><div>The DS needs to both validate the stateid =
and do an export check. As the DS has no</div><div>knowledge of valid =
stateids or exports, it uses the Control Protocol to query the =
MDS:</div><div><br></div><div><div><br></div><div><div><font =
class=3D"Apple-style-span" face=3D"Courier">] 12.2.6. &nbsp;Control =
Protocol</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">]</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">] &nbsp; As noted in Figure 1, the control protocol is =
used by the exported</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">] &nbsp; file system between the metadata server and =
storage devices.</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">] &nbsp; Specification of such protocols is outside the =
scope of the NFSv4.1</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">] &nbsp; protocol. &nbsp;Such control protocols would =
be used to control activities</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">] &nbsp; such as the =
allocation and deallocation of storage, the management =
of</font></div><div><font class=3D"Apple-style-span" face=3D"Courier">] =
&nbsp; state required by the storage devices to perform client =
access</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">] &nbsp; control, and, depending on the storage =
protocol, the enforcement of</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">] &nbsp; authentication and =
authorization so that restrictions that would be</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">] &nbsp; enforced by the =
metadata server are also enforced by the storage</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">] &nbsp; =
device.</font></div><div><br></div></div></div><div><br></div><div>The =
extension we would need here is for the DS to =
either:</div><div><br></div><div>1) Send on the MAC label it got from =
the client to the MDS, or</div><div><br></div><div>2) Query the MDS for =
the labels on the file.</div><div><br></div><div>The first is simpler in =
that it allows the MDS to be smart and the DS pretty dumb. If =
the</div><div>MDS says okay, then the DS says okay. The same caching =
mechanism (or lack thereof)&nbsp;</div><div>being used for access checks =
(and/or stateid validation) can be used to cache the</div><div>response =
for the MAC check.</div><div><br></div><div>With the second approach, =
the DS has to be smarter and the cache contains the file =
MAC.</div><div><br></div><div>FWIW - I see the choice of these methods =
to be implementation dependent. I.e., we don't</div><div>specify the =
control =
protocol.</div><div><br></div><div><br></div><div><br></div><div><br></div=
><br></body></html>=

--Apple-Mail-14--533669763--

From Tom.Haynes@netapp.com  Tue Apr  5 15:46:58 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B87383A6810 for <nfsv4@core3.amsl.com>; Tue,  5 Apr 2011 15:46:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.477
X-Spam-Level: 
X-Spam-Status: No, score=-10.477 tagged_above=-999 required=5 tests=[AWL=0.121, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8wPwPXrTsEX1 for <nfsv4@core3.amsl.com>; Tue,  5 Apr 2011 15:46:57 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by core3.amsl.com (Postfix) with ESMTP id E0D883A67F3 for <nfsv4@ietf.org>; Tue,  5 Apr 2011 15:46:57 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.63,307,1299484800";  d="scan'208,217";a="538917782"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 05 Apr 2011 15:48:41 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p35MmfNf006801; Tue, 5 Apr 2011 15:48:41 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 5 Apr 2011 15:48:41 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 5 Apr 2011 18:48:40 -0400
Received: from gbrian-lxp.hq.netapp.com ([10.58.50.23]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 5 Apr 2011 18:48:39 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: multipart/alternative; boundary=Apple-Mail-15--533512123
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <4D87DBAF.8070303@Oracle.com>
Date: Tue, 5 Apr 2011 17:48:38 -0500
Message-Id: <3777D05D-EA99-4082-8A8D-AC906B610693@netapp.com>
References: <4D87DBAF.8070303@Oracle.com>
To: Bill Baker <Bill.Baker@oracle.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 05 Apr 2011 22:48:40.0089 (UTC) FILETIME=[9B6C6890:01CBF3E3]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] Additional migration related issues in 3530
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Apr 2011 22:46:58 -0000

--Apple-Mail-15--533512123
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


On Mar 21, 2011, at 6:13 PM, Bill Baker wrote:

>=20
> Greetings,
>=20
> As I presented during Connectathon, we have a prototype implementation
> of server (and client) migration.  As our implementation proceeds, we
> we continue to discover interesting issues with 3530, which may =
warrant
> clarification in the 3530bis.
>=20
> I've attached two files describing the troublesome scenarios.  =
Comments
> welcome.
>=20

I haven't seen any resolution on list for these scenarios.

Did you decide whether they still applied? Or did you
arrive at solutions which did not require changes to 3530bis?


>=20
> Regards,
> --
> Bill Baker - Oracle Solaris NFS development
>=20
> =
<migration-3530-issue1.txt><migration-3530-issue2.txt>____________________=
___________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4


--Apple-Mail-15--533512123
Content-Transfer-Encoding: 7bit
Content-Type: text/html;
	charset=us-ascii

<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Mar 21, 2011, at 6:13 PM, Bill Baker wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<div>
<!-- Converted from text/plain format -->
<br><p><font size="2">Greetings,<br>
<br>
As I presented during Connectathon, we have a prototype implementation<br>
of server (and client) migration.&nbsp; As our implementation proceeds, we<br>
we continue to discover interesting issues with 3530, which may warrant<br>
clarification in the 3530bis.<br>
<br>
I've attached two files describing the troublesome scenarios.&nbsp; Comments<br>
welcome.<br></font></p></div></blockquote><div><br></div><div>I haven't seen any resolution on list for these scenarios.</div><div><br></div><div>Did you decide whether they still applied? Or did you</div><div>arrive at solutions which did not require changes to 3530bis?</div><div><br></div><br><blockquote type="cite"><div><p><font size="2">
<br>
Regards,<br>
--<br>
Bill Baker - Oracle Solaris NFS development<br>
</font>
</p>

</div>
<span>&lt;migration-3530-issue1.txt&gt;</span><span>&lt;migration-3530-issue2.txt&gt;</span>_______________________________________________<br>nfsv4 mailing list<br><a href="mailto:nfsv4@ietf.org">nfsv4@ietf.org</a><br>https://www.ietf.org/mailman/listinfo/nfsv4<br></blockquote></div><br></body></html>
--Apple-Mail-15--533512123--

From nico@cryptonector.com  Tue Apr  5 23:54:21 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 71AEE3A68A7 for <nfsv4@core3.amsl.com>; Tue,  5 Apr 2011 23:54:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FAidLNC2SvNH for <nfsv4@core3.amsl.com>; Tue,  5 Apr 2011 23:54:20 -0700 (PDT)
Received: from homiemail-a28.g.dreamhost.com (caiajhbdcahe.dreamhost.com [208.97.132.74]) by core3.amsl.com (Postfix) with ESMTP id 99D903A688C for <nfsv4@ietf.org>; Tue,  5 Apr 2011 23:54:20 -0700 (PDT)
Received: from homiemail-a28.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a28.g.dreamhost.com (Postfix) with ESMTP id 71CCD1B4059 for <nfsv4@ietf.org>; Tue,  5 Apr 2011 23:56:04 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=nXBNdYWTeJ58UKADl8gta oZKE/tEiE4D/Rip0gCRyPrlVQa6jJXIEXMLxD9tnRaLxR2Z6Vizx8zhuiIqopbtw TeI3aghKBGKEX2RcXNyoZStgvzXgwAtnQt4glqGOi2KjqpkkrgkGlb/7OVHn4r3n ULcfmfv4mc43EWJmDICK6k=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=DVmCvQXHmO9iqwBRhKaJ 8kpMOGo=; b=tzp2V387qIm/VXUpO6VIvfijdS/oyejgGH3KhNNnQA9FwfSxX1nc cn34FRke3zFDcrF/9edwlwI6nzPKaWGhIHCjfHVbtpoOp/KLIXreU0e7C6OJ2V7W ZCzueR20RLigd+wur/8onShCLcgRBryeBzuX/xspQEZQnd3/LQkYKhs=
Received: from mail-ww0-f44.google.com (mail-ww0-f44.google.com [74.125.82.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a28.g.dreamhost.com (Postfix) with ESMTPSA id 266021B4058 for <nfsv4@ietf.org>; Tue,  5 Apr 2011 23:56:04 -0700 (PDT)
Received: by wwa36 with SMTP id 36so935803wwa.13 for <nfsv4@ietf.org>; Tue, 05 Apr 2011 23:56:02 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.216.61.21 with SMTP id v21mr2972153wec.25.1302072962518; Tue, 05 Apr 2011 23:56:02 -0700 (PDT)
Received: by 10.216.64.74 with HTTP; Tue, 5 Apr 2011 23:56:02 -0700 (PDT)
In-Reply-To: <4D90B069.2050307@davequigley.com>
References: <4D906FEE.4080501@davequigley.com> <AANLkTi=6f1gX1oL=5TBi+9r==Yum2D=LsuzbNtL7MmLY@mail.gmail.com> <4D90B069.2050307@davequigley.com>
Date: Wed, 6 Apr 2011 01:56:02 -0500
Message-ID: <BANLkTimMtCEPf+8XtL-9+UvWKcOWzJPL-w@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Dave Quigley <dpquigl@davequigley.com>
Content-Type: text/plain; charset=UTF-8
Cc: "nfsv4@ietf.org" <nfsv4@ietf.org>, trond.myklebust@fys.uio.no
Subject: Re: [nfsv4] Response to Labeled NFS Document comments.
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Apr 2011 06:54:21 -0000

[resend... forgot to reply all.]

On Mon, Mar 28, 2011 at 10:59 AM, Dave Quigley <dpquigl@davequigley.com> wrote:
> On 3/28/2011 11:15 AM, Nico Williams wrote:
>> Regarding attribute change notification, it seems that volatile file
>> handles (i.e., marking the handle stale) seems almost like the best
>> approach here.  However, the way clients recover from stale
>> filehandles is not ideal (re-open by path).  In this case it ought to
>> be possible to add an operation by which to obtain a new filehandle
>> given a stale one.
>>
>> So that's my proposal: add a new operation for re-validating
>> filehandles.  Inputs: old (stale) filehandle.  Outputs: new
>> filehandle.
>>
>> This would also have the side-effect of enabling the use of
>> capabilities (in the traditional, non-Linux sense).
>
> I like this proposal quite a bit. I find it a lot better than re-open by
> path since there is no telling if the file at that path has changed since
> the handle was originally granted to us. Since this really is just a
> metadata refresh and not a complete reopen then having the file change out
> from under us is a bad thing. Would this be a proposal in and of itself?
> Would we incorporate it into one of the other proposals?

Right, it's a very natural extension.  Imagine an implementation whose
FHes consist of something like {{fsid, inode #, RPCSEC_GSS triple,
client host principal, label-of-file, capability, ...},
HMAC(server_secret_key, {fsid, inode #, ...)} such that a fileserver
can make sure that the given FH can only be used by the given client
host, with the same or stronger RPCSEC_GSS triples... and the server
can also detect label changes that the client's not aware of, and it
can make the client renew capabilities too (without the client having
to know anything about how, beyond using the FH refresh op.  Indeed,
the label-of-file item in the above FH construction is a sort of
capability.  The server has the fsid and inode number, so it can find
the file without having to have any path information, provided the
file still exists of course.

IMO this operation should be part of the core NFSv4.2.  However, I
don't mind it being in a separate RFC (if MAC is not made part of
4.2).  This op is applicable outside of MAC and needs to be kept where
implementors will notice even if they don't care about MAC.

Nico
--

From Tom.Haynes@netapp.com  Wed Apr  6 07:50:06 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7D9D33A6905 for <nfsv4@core3.amsl.com>; Wed,  6 Apr 2011 07:50:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.479
X-Spam-Level: 
X-Spam-Status: No, score=-10.479 tagged_above=-999 required=5 tests=[AWL=0.120, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ueiuDwoxcm9v for <nfsv4@core3.amsl.com>; Wed,  6 Apr 2011 07:50:01 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by core3.amsl.com (Postfix) with ESMTP id 2053F3A67E7 for <nfsv4@ietf.org>; Wed,  6 Apr 2011 07:50:01 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.63,310,1299484800"; d="scan'208";a="539169970"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 06 Apr 2011 07:51:45 -0700
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p36EpjFu023046; Wed, 6 Apr 2011 07:51:45 -0700 (PDT)
Received: from rtprsexc2-prd.hq.netapp.com ([10.100.161.115]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 6 Apr 2011 07:51:45 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 6 Apr 2011 10:51:43 -0400
Received: from gbrian-lxp.hq.netapp.com ([10.58.50.23]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 6 Apr 2011 10:51:43 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <4D95B41C.70509@oracle.com>
Date: Wed, 6 Apr 2011 09:51:41 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <DFDF6327-02E5-4093-8132-9B06A686F92E@netapp.com>
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com>
To: <jarrett.lu@oracle.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 06 Apr 2011 14:51:43.0224 (UTC) FILETIME=[24DB1780:01CBF46A]
Cc: kathleen.moriarty@emc.com, nfsv4@ietf.org
Subject: Re: [nfsv4] Fwd: New Version Notification fordraft-quigley-nfsv4-labeled-00
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Apr 2011 14:50:06 -0000

On Apr 1, 2011, at 6:16 AM, <jarrett.lu@oracle.com> =
<jarrett.lu@oracle.com> wrote:

>=20
>>   - Define fixed max size of the opaque (not less than IPv6 HBH =
extension length?)=20
>=20
> I suggested that because CALIPSO label is implement using IPv6 HBH =
extension. A CALIPSO label should fit in the opaque field.=20

Jarrett,

One thing that isn't clear to me is why does the opaque array need a max =
size?

I.e., what is driving that requirement?

Thanks,
Tom=

From david.black@emc.com  Wed Apr  6 10:32:43 2011
Return-Path: <david.black@emc.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 534953A695C for <nfsv4@core3.amsl.com>; Wed,  6 Apr 2011 10:32:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.584
X-Spam-Level: 
X-Spam-Status: No, score=-106.584 tagged_above=-999 required=5 tests=[AWL=0.015, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zGxwtfkdyz7t for <nfsv4@core3.amsl.com>; Wed,  6 Apr 2011 10:32:41 -0700 (PDT)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by core3.amsl.com (Postfix) with ESMTP id 823003A6957 for <nfsv4@ietf.org>; Wed,  6 Apr 2011 10:32:40 -0700 (PDT)
Received: from hop04-l1d11-si01.isus.emc.com (HOP04-L1D11-SI01.isus.emc.com [10.254.111.54]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p36HYLi4031811 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Apr 2011 13:34:21 -0400
Received: from mailhub.lss.emc.com (mailhubhoprd01.lss.emc.com [10.254.221.251]) by hop04-l1d11-si01.isus.emc.com (RSA Interceptor); Wed, 6 Apr 2011 13:34:14 -0400
Received: from mxhub16.corp.emc.com (mxhub16.corp.emc.com [128.221.56.105]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p36HV3i9010176; Wed, 6 Apr 2011 13:31:03 -0400
Received: from mx14a.corp.emc.com ([169.254.1.143]) by mxhub16.corp.emc.com ([128.221.56.105]) with mapi; Wed, 6 Apr 2011 13:31:03 -0400
From: <david.black@emc.com>
To: <nico@cryptonector.com>
Date: Wed, 6 Apr 2011 13:31:00 -0400
Thread-Topic: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments ([A] - [D])
Thread-Index: Acvy6LzmIUMw6yNtT0aloVrBvNEHYQBlBeJQ
Message-ID: <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF260A@MX14A.corp.emc.com>
References: <4D95842E.70708@oracle.com>	<4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <BANLkTi=9tu4Kt0Kc6QHn1H67oWEBtNwkrw@mail.gmail.com>
In-Reply-To: <BANLkTi=9tu4Kt0Kc6QHn1H67oWEBtNwkrw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-EMM-MHVC: 1
Cc: kathleen.moriarty@emc.com, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments ([A] - [D])
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Apr 2011 17:32:43 -0000

U2VsZWN0aW5nIGV4Y2VycHRzIHBpZWNlcyB0byBtYWtlIHRoZSBkaXNjdXNzaW9uIHNvbWV3aGF0
IGNvaGVyZW50Og0KDQpbQV0gPiA+IFdoZXJlIGlzIHRoYXQgcHJvcG9zZWQgUlBDIGNoYW5nZS9h
ZGRpdGlvbiBbdG8gY29udmV5IHNlY3VyaXR5IGxldmVsIG9mIHN1YmplY3RdIHNwZWNpZmllZD8N
Cg0KPi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tZW50IGlzIGEgbW9zdGx5IHRyYW5zcGFyZW50IGFkZC1vbiBmb3IgTUFD
LWVuYWJsZWQgY2xpZW50cyAoYW5kIGRpdHRvIGZvciBNQUMtDQo+IGlnbm9yYW50IGNsaWVudHMp
Lg0KPiANCj4gTUFDLWF3YXJlIGNsaWVudHMgbWlnaHQgd2FudCB0byBrbm93IHRoYXQgdGhlIHNl
cnZlciBpcyBNQUMgYXdhcmUsIGJ1dA0KPiBNQUMtdW5hd2FyZSBzZXJ2ZXJzIGNhbiBiZSB1c2Vk
IGJ5IG11bHRpcGxlIE1BQy1hd2FyZSBjbGllbnRzIGp1c3QNCj4gZmluZSwgZWl0aGVyIGJ5IG9w
ZXJhdGluZyBlbnRpcmVseSBhdCBvbmUgbGFiZWwgb3IgYnkgaGF2aW5nIHBlci1wYXRoDQo+IGxh
YmVscywgd2l0aCBwb2xpY3kgZW5mb3JjZWQgYnkgdGhlIGNsaWVudHMgKHBsdXMgc2hhcmUtbGV2
ZWwgQUNMcyBhdA0KPiB0aGUgc2VydmVyIHRvIGFsbG93IG9ubHkgTUFDLWF3YXJlIGNsaWVudHMg
YWNjZXNzKS4gIE9mIGNvdXJzZSwgdGhhdCdzDQo+IGFsbCBraW5kYSBpZmZ5LCBzaW5jZSB1bHRp
bWF0ZWx5IHdlJ3JlIHRhbGtpbmcgYWJvdXQgSVAtYWRkcmVzcy1iYXNlZA0KPiBzaGFyZSBBQ0xz
IGluIHRoaXMgY2FzZSwgYnV0IGhleS4NCj4gDQo+IE5pY28NCj4gLS0NCg0K

From nico@cryptonector.com  Wed Apr  6 10:38:22 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E87663A6962 for <nfsv4@core3.amsl.com>; Wed,  6 Apr 2011 10:38:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.927
X-Spam-Level: 
X-Spam-Status: No, score=-1.927 tagged_above=-999 required=5 tests=[AWL=0.050,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1W2PuYLIFxTF for <nfsv4@core3.amsl.com>; Wed,  6 Apr 2011 10:38:22 -0700 (PDT)
Received: from homiemail-a25.g.dreamhost.com (caiajhbdccah.dreamhost.com [208.97.132.207]) by core3.amsl.com (Postfix) with ESMTP id 2DF0A3A6957 for <nfsv4@ietf.org>; Wed,  6 Apr 2011 10:38:22 -0700 (PDT)
Received: from homiemail-a25.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a25.g.dreamhost.com (Postfix) with ESMTP id 30BC0678056 for <nfsv4@ietf.org>; Wed,  6 Apr 2011 10:40:00 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=QU833LiNL0iW+PzG7HU5R1R9at1A7UXTiAyL1hgTg1fm EfM73Dt9NA4OpvnPUZDkxjpRDLwKBJ81qzomAsTFcTSIbrI5rWvGMhMF6dSAsjEu OjJ0YcmhGjzQ1VS4Yqj3vox1lrt3kCIN6bJnpk45iEd272Vy37FSgJTy1gUoai4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=0oiNVTC1iSySBCehK5oikIl6XpI=; b=erXEBoviCf3 jvoBWfVPFJ+3ghmnRUfHnSKaO5SSC1aW/gJaS8jMAFW44Oskpgl8uoxHw3eNoxH/ cdFXpv/3A2x7t97PTwR00wsSNF8Ym6JxQcfVHg8Wkdq5XQi06zP7XboiPwOxCto/ Pc1zF7m/pOIAD83fr4upAF7b5Ym7uCf0=
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a25.g.dreamhost.com (Postfix) with ESMTPSA id B5FB6678062 for <nfsv4@ietf.org>; Wed,  6 Apr 2011 10:39:55 -0700 (PDT)
Received: by vws12 with SMTP id 12so1608470vws.31 for <nfsv4@ietf.org>; Wed, 06 Apr 2011 10:39:54 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.92.144 with SMTP id cm16mr1873681vdb.30.1302111594149; Wed, 06 Apr 2011 10:39:54 -0700 (PDT)
Received: by 10.52.157.100 with HTTP; Wed, 6 Apr 2011 10:39:54 -0700 (PDT)
In-Reply-To: <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF260A@MX14A.corp.emc.com>
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <BANLkTi=9tu4Kt0Kc6QHn1H67oWEBtNwkrw@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF260A@MX14A.corp.emc.com>
Date: Wed, 6 Apr 2011 12:39:54 -0500
Message-ID: <BANLkTi=TgjHgj9Ux3+iwjY2=rVuZKTUAVA@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: david.black@emc.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: kathleen.moriarty@emc.com, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments ([A] - [D])
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Apr 2011 17:38:23 -0000

[David, your method of quoting e-mails is really painful to follow.]

On Wed, Apr 6, 2011 at 12:31 PM,  <david.black@emc.com> wrote:
> Selecting excerpts pieces to make the discussion somewhat coherent:
>
> [A] > > Where is that proposed RPC change/addition [to convey security le=
vel of subject] specified?
>
>> That'd be RPCSEC_GSSv3. =C2=A0Also, just because it says "must be able
>> to..." above doesn't mean that RPCSEC_GSSv3 is required. =C2=A0It's not,
>> since the server might be able to determine a label for the client
>> user regardless of what authentication method is used.
>
> That needs to be clearly explained in the new -quigley-nfsv4-labeled draf=
t.

Yes.

> [B] Use cases - work is in progress son this, but I would really like to =
see the more detailed writeup of the Red Hat use cases.
>
> [C] MAC attribute negotiation/announcement
>
> Server announcement mechanism (client determines attribute support) seems=
 fine, but ...

I don't know what the brackets above are supposed to mean.

>> > In the other direction, how does a client announce whether it=E2=80=99=
s MAC capable? =C2=A0Note that this would
>> be a config check mechanism (e.g., accidentally connected a non-MAC clie=
nt to a MAC server that it=E2=80=99s
>> not supposed to talk to), *not* a security mechanism, because a maliciou=
s client will lie.
>>
>> See above. [RPCSEC-GSSv3]
>
> Hmm - between [A] and [C], RPCSEC_GSSv3 seems like a lot to require in im=
plementations if the only purpose is to enable a client to announce its MAC=
 capabilities. =C2=A0Would it make sense to define a simpler mechanism to c=
over [A] and [C] w/o RPCSEC_GSSv3, or should it always be required in order=
 to use MAC for other reasons (e.g., RPCSEC_GSSv3 can certainly improve the=
 trust level of a network wrt MAC's assurances)?

No, the label has to be part of the authorization context, which in
NFS comes from the RPC security layer.  It _has_ to be that way.  It'd
be really gross to do anything else.

Nico
--

From david.black@emc.com  Wed Apr  6 10:55:15 2011
Return-Path: <david.black@emc.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A3A493A696D for <nfsv4@core3.amsl.com>; Wed,  6 Apr 2011 10:55:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.584
X-Spam-Level: 
X-Spam-Status: No, score=-106.584 tagged_above=-999 required=5 tests=[AWL=0.014, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gpQXvTTVWI2O for <nfsv4@core3.amsl.com>; Wed,  6 Apr 2011 10:55:07 -0700 (PDT)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by core3.amsl.com (Postfix) with ESMTP id F0FA928C102 for <nfsv4@ietf.org>; Wed,  6 Apr 2011 10:55:06 -0700 (PDT)
Received: from hop04-l1d11-si01.isus.emc.com (HOP04-L1D11-SI01.isus.emc.com [10.254.111.54]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p36HunTp024934 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Apr 2011 13:56:49 -0400
Received: from mailhub.lss.emc.com (mailhubhoprd03.lss.emc.com [10.254.221.145]) by hop04-l1d11-si01.isus.emc.com (RSA Interceptor); Wed, 6 Apr 2011 13:56:33 -0400
Received: from mxhub14.corp.emc.com (mxhub14.corp.emc.com [128.221.56.103]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p36Hp5kK024146; Wed, 6 Apr 2011 13:51:05 -0400
Received: from mx14a.corp.emc.com ([169.254.1.143]) by mxhub14.corp.emc.com ([128.221.56.103]) with mapi; Wed, 6 Apr 2011 13:51:04 -0400
From: <david.black@emc.com>
To: <thomas@netapp.com>
Date: Wed, 6 Apr 2011 13:50:57 -0400
Thread-Topic: draft-quigley-nfsv4-labeled-00 - some comments [pNFS]
Thread-Index: Acvz42WwVhpwxbkEQpenuXL9r7BAUQAnUUCw
Message-ID: <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF262C@MX14A.corp.emc.com>
References: <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <D80E2C74-A62A-4E68-8381-A8F129ED2934@netapp.com>
In-Reply-To: <D80E2C74-A62A-4E68-8381-A8F129ED2934@netapp.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF262CMX14Acorpemcc_"
MIME-Version: 1.0
X-EMM-MHVC: 1
Cc: kathleen.moriarty@emc.com, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments [pNFS]
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Apr 2011 17:55:15 -0000

--_000_7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF262CMX14Acorpemcc_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Tom,

I believe that some text should to be written on this topic to provide some=
 warnings.

For use of MAC with the pNFS block layout, it is necessary to trust the MAC=
 code on the clients.  If that client MAC code is not sufficiently trustabl=
e in some environment, then pNFS block SHOULD NOT be used with MAC in that =
environment.  I'll leave it to Dave Quigley to supply a suitable definition=
 of "trusted", but (as noted previously), this parallels language on securi=
ty considerations in the pNFS block layout RFC.

I think a version of the above statement applies to file and object, but it=
's somewhat longer:

For the pNFS file and object layouts, there are three alternatives:
- If the DS does not support MAC, MAC is not enabled at the DS and/or MAC l=
abels are not applied
to the DS files or objects, then the MAC code on the clients has to be trus=
ted.  If it is
not appropriate to trust that code in some environment, then the pNFS file =
and object layouts
SHOULD NOT be used with MAC in that environment under these conditions.
- If the DS fully supports MAC and MAC labels are propagated from the MDS t=
o the DS via the control
      protocol between those two, MAC operates independently on the MDS and=
 DS.  In this scenario,
clients may encounter MAC-caused DS access denials for layouts granted by a=
n MDS in accordance
with its MAC checks.
- Finally, the DS may use the control protocol to ask the MDS to provide th=
e MAC information as
required for the MAC checks that the DS needs to perform.

Thanks,
--David

From: Thomas Haynes [mailto:thomas@netapp.com]
Sent: Tuesday, April 05, 2011 6:46 PM
To: Black, David
Cc: jarrett.lu@oracle.com; faibish, sorin; nfsv4@ietf.org; Moriarty, Kathle=
en
Subject: Re: draft-quigley-nfsv4-labeled-00 - some comments


On Apr 4, 2011, at 10:31 AM, <david.black@emc.com<mailto:david.black@emc.co=
m>> <david.black@emc.com<mailto:david.black@emc.com>> wrote:


Pulling selected items out of Jarret's email:


[E]

>         # full mode for pNFS
>
> If MAC negotiation/checks only happens between clients and MDS, this shou=
ld work for pNFS, right?

Not necessarily, because pNFS bypasses the server, and hence bypasses any s=
erver MAC checks ;-).  If the client is making MAC checks, the pNFS metadat=
a server is making MAC checks, but one or more of the pNFS data servers is/=
are not, the "users who really care about MAC security" may not be happy.  =
Addressing this might just involve explaining what happens and recommending=
 that people not do things that may not work out well (e.g., "users who rea=
lly care about MAC security" SHOULD NOT use MAC-incapable data servers - fo=
r the pNFS block layout, I think this is a specific case of a "SHOULD NOT" =
security caution that's already in RFC 5663).




After thinking about this for some time, I believe that this should follow =
the access checking
and stateid validation that 5661 already specifies.

When a client accesses a a file from a pNFS MDS, an access check occurs. On=
ly if the
client is allowed access does it get a layout. But just because the client =
has a valid layout
does not mean that the DS is allowed to provide access to the data.

The DS needs to both validate the stateid and do an export check. As the DS=
 has no
knowledge of valid stateids or exports, it uses the Control Protocol to que=
ry the MDS:


] 12.2.6.  Control Protocol
]
]   As noted in Figure 1, the control protocol is used by the exported
]   file system between the metadata server and storage devices.
]   Specification of such protocols is outside the scope of the NFSv4.1
]   protocol.  Such control protocols would be used to control activities
]   such as the allocation and deallocation of storage, the management of
]   state required by the storage devices to perform client access
]   control, and, depending on the storage protocol, the enforcement of
]   authentication and authorization so that restrictions that would be
]   enforced by the metadata server are also enforced by the storage
]   device.


The extension we would need here is for the DS to either:

1) Send on the MAC label it got from the client to the MDS, or

2) Query the MDS for the labels on the file.

The first is simpler in that it allows the MDS to be smart and the DS prett=
y dumb. If the
MDS says okay, then the DS says okay. The same caching mechanism (or lack t=
hereof)
being used for access checks (and/or stateid validation) can be used to cac=
he the
response for the MAC check.

With the second approach, the DS has to be smarter and the cache contains t=
he file MAC.

FWIW - I see the choice of these methods to be implementation dependent. I.=
e., we don't
specify the control protocol.






--_000_7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF262CMX14Acorpemcc_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40"><head><meta http-equiv=3DContent-Type content=
=3D"text/html; charset=3Dus-ascii"><meta name=3DGenerator content=3D"Micros=
oft Word 12 (filtered medium)"><base href=3D"x-msg://343/"><style><!--
/* Font Definitions */
@font-face
	{font-family:Courier;
	panose-1:2 7 4 9 2 2 5 2 4 4;}
@font-face
	{font-family:Courier;
	panose-1:2 7 4 9 2 2 5 2 4 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.apple-style-span
	{mso-style-name:apple-style-span;}
span.apple-converted-space
	{mso-style-name:apple-converted-space;}
span.EmailStyle19
	{mso-style-type:personal-reply;
	font-family:"Courier New";
	color:black;
	font-weight:normal;
	font-style:normal;
	text-decoration:none none;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue vli=
nk=3Dpurple style=3D'word-wrap: break-word;-webkit-nbsp-mode: space;-webkit=
-line-break: after-white-space'><div class=3DWordSection1><p class=3DMsoNor=
mal><span style=3D'font-size:10.0pt;font-family:"Courier New";color:black'>=
Tom,<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.=
0pt;font-family:"Courier New";color:black'><o:p>&nbsp;</o:p></span></p><p c=
lass=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier New";=
color:black'>I believe that some text should to be written on this topic to=
 provide some warnings.<o:p></o:p></span></p><p class=3DMsoNormal><span sty=
le=3D'font-size:10.0pt;font-family:"Courier New";color:black'><o:p>&nbsp;</=
o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-fa=
mily:"Courier New";color:black'>For use of MAC with the pNFS block layout, =
it is necessary to trust the MAC code on the clients.&nbsp; If that client =
MAC code is not sufficiently trustable in some environment, then pNFS block=
 SHOULD NOT be used with MAC in that environment.&nbsp; I&#8217;ll leave it=
 to Dave Quigley to supply a suitable definition of &#8220;trusted&#8221;, =
but (as noted previously), this parallels language on security consideratio=
ns in the pNFS block layout RFC.<o:p></o:p></span></p><p class=3DMsoNormal>=
<span style=3D'font-size:10.0pt;font-family:"Courier New";color:black'><o:p=
>&nbsp;</o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0p=
t;font-family:"Courier New";color:black'>I think a version of the above sta=
tement applies to file and object, but it&#8217;s somewhat longer:<o:p></o:=
p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-fami=
ly:"Courier New";color:black'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNor=
mal><span style=3D'font-size:10.0pt;font-family:"Courier New";color:black'>=
For the pNFS file and object layouts, there are three alternatives:<o:p></o=
:p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-fam=
ily:"Courier New";color:black'>- If the DS does not support MAC, MAC is not=
 enabled at the DS and/or MAC labels are not applied<o:p></o:p></span></p><=
p class=3DMsoNormal style=3D'text-indent:.5in'><span style=3D'font-size:10.=
0pt;font-family:"Courier New";color:black'>to the DS files or objects, then=
 the MAC  code on the clients has to be trusted.&nbsp; If it is<o:p></o:p><=
/span></p><p class=3DMsoNormal style=3D'text-indent:.5in'><span style=3D'fo=
nt-size:10.0pt;font-family:"Courier New";color:black'>not appropriate to tr=
ust that code in some environment, then the pNFS file and object layouts<o:=
p></o:p></span></p><p class=3DMsoNormal style=3D'margin-left:.5in'><span st=
yle=3D'font-size:10.0pt;font-family:"Courier New";color:black'>SHOULD NOT b=
e used with MAC in that environment under these conditions.<o:p></o:p></spa=
n></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Cou=
rier New";color:black'>- If the DS fully supports MAC and MAC labels are pr=
opagated from the MDS to the DS via the control<o:p></o:p></span></p><p cla=
ss=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier New";co=
lor:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; protocol between those two, MAC o=
perates independently on the MDS and DS.&nbsp; In this scenario,<o:p></o:p>=
</span></p><p class=3DMsoNormal style=3D'text-indent:.5in'><span style=3D'f=
ont-size:10.0pt;font-family:"Courier New";color:black'>clients may encounte=
r MAC-caused DS access denials for layouts granted by an MDS in accordance<=
o:p></o:p></span></p><p class=3DMsoNormal style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:"Courier New";color:black'>with its M=
AC checks.<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-si=
ze:10.0pt;font-family:"Courier New";color:black'>- Finally, the DS may use =
the control protocol to ask the MDS to provide the MAC information as<o:p><=
/o:p></span></p><p class=3DMsoNormal style=3D'text-indent:.5in'><span style=
=3D'font-size:10.0pt;font-family:"Courier New";color:black'>required for th=
e MAC checks that the DS needs to perform.<o:p></o:p></span></p><p class=3D=
MsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier New";color:b=
lack'><o:p>&nbsp;</o:p></span></p><div><p class=3DMsoNormal><span style=3D'=
font-size:10.0pt;font-family:"Courier New";color:black'>Thanks,<br>--David<=
/span><span style=3D'font-size:11.0pt;font-family:"Courier New";color:black=
'><o:p></o:p></span></p></div><p class=3DMsoNormal><span style=3D'font-size=
:10.0pt;font-family:"Courier New";color:black'><o:p>&nbsp;</o:p></span></p>=
<div style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt'><div><div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;paddin=
g:3.0pt 0in 0in 0in'><p class=3DMsoNormal><b><span style=3D'font-size:10.0p=
t;font-family:"Tahoma","sans-serif"'>From:</span></b><span style=3D'font-si=
ze:10.0pt;font-family:"Tahoma","sans-serif"'> Thomas Haynes [mailto:thomas@=
netapp.com] <br><b>Sent:</b> Tuesday, April 05, 2011 6:46 PM<br><b>To:</b> =
Black, David<br><b>Cc:</b> jarrett.lu@oracle.com; faibish, sorin; nfsv4@iet=
f.org; Moriarty, Kathleen<br><b>Subject:</b> Re: draft-quigley-nfsv4-labele=
d-00 - some comments<o:p></o:p></span></p></div></div><p class=3DMsoNormal>=
<o:p>&nbsp;</o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><div><div><p=
 class=3DMsoNormal>On Apr 4, 2011, at 10:31 AM, &lt;<a href=3D"mailto:david=
.black@emc.com">david.black@emc.com</a>&gt; &lt;<a href=3D"mailto:david.bla=
ck@emc.com">david.black@emc.com</a>&gt; wrote:<o:p></o:p></p></div><p class=
=3DMsoNormal><br><br><o:p></o:p></p><div><div><p class=3DMsoNormal><span st=
yle=3D'font-size:10.0pt;font-family:"Courier New";color:black'>Pulling sele=
cted items out of Jarret&#8217;s email:</span><span style=3D'color:black'><=
o:p></o:p></span></p></div><div><p class=3DMsoNormal><span style=3D'font-si=
ze:10.0pt;font-family:"Courier New";color:black'>&nbsp;</span><span style=
=3D'color:black'><o:p></o:p></span></p></div><div><p class=3DMsoNormal><spa=
n style=3D'color:black'><o:p>&nbsp;</o:p></span></p></div><div><p class=3DM=
soNormal><span style=3D'font-size:10.0pt;font-family:"Courier New";color:bl=
ack'>[E]</span><span style=3D'color:black'><o:p></o:p></span></p></div><div=
><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier =
New";color:black'>&nbsp;</span><span style=3D'color:black'><o:p></o:p></spa=
n></p></div><div><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-=
family:"Courier New";color:black'>&gt;<span class=3Dapple-converted-space>&=
nbsp;</span></span><span style=3D'color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp; # full mode for pNFS<o:p></o:p></span></p></div><div><p clas=
s=3DMsoNormal><span style=3D'color:black'>&gt;<br>&gt; If MAC negotiation/c=
hecks only happens between clients and MDS, this should work for pNFS, righ=
t?<o:p></o:p></span></p></div><div><p class=3DMsoNormal><span style=3D'font=
-size:10.0pt;font-family:"Courier New";color:black'>&nbsp;</span><span styl=
e=3D'color:black'><o:p></o:p></span></p></div><div><p class=3DMsoNormal><sp=
an style=3D'font-size:10.0pt;font-family:"Courier New";color:black'>Not nec=
essarily, because pNFS bypasses the server, and hence bypasses any server M=
AC checks ;-).&nbsp; If the client is making MAC checks, the pNFS metadata =
server is making MAC checks, but one or more of the pNFS data servers is/ar=
e not, the &#8220;users who really care about MAC security&#8221; may not b=
e happy.&nbsp; Addressing this might just involve explaining what happens a=
nd recommending that people not do things that may not work out well (e.g.,=
 &#8220;users who really care about MAC security&#8221; SHOULD NOT use MAC-=
incapable data servers &#8211; for the pNFS block layout, I think this is a=
 specific case of a &#8220;SHOULD NOT&#8221; security caution that&#8217;s =
already in RFC 5663).</span><span style=3D'color:black'><o:p></o:p></span><=
/p></div><div><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-fam=
ily:"Courier New";color:black'>&nbsp;</span><span style=3D'color:black'><o:=
p></o:p></span></p></div><div><p class=3DMsoNormal><span style=3D'color:bla=
ck'><o:p>&nbsp;</o:p></span></p></div></div><p class=3DMsoNormal><o:p>&nbsp=
;</o:p></p></div><div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div>=
<p class=3DMsoNormal>After thinking about this for some time, I believe tha=
t this should follow the access checking<o:p></o:p></p></div><div><p class=
=3DMsoNormal>and stateid validation that 5661 already specifies.<o:p></o:p>=
</p></div><div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p clas=
s=3DMsoNormal>When a client accesses a a file from a pNFS MDS, an access ch=
eck occurs. Only if the<o:p></o:p></p></div><div><p class=3DMsoNormal>clien=
t is allowed access does it get a layout. But just because the client has a=
 valid layout<o:p></o:p></p></div><div><p class=3DMsoNormal>does not mean t=
hat the DS is allowed to provide access to the data.<o:p></o:p></p></div><d=
iv><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=3DMsoNorma=
l>The DS needs to both validate the stateid and do an export check. As the =
DS has no<o:p></o:p></p></div><div><p class=3DMsoNormal>knowledge of valid =
stateids or exports, it uses the Control Protocol to query the MDS:<o:p></o=
:p></p></div><div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><div=
><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><div><p class=3DMsoNo=
rmal><span style=3D'font-family:Courier'>] 12.2.6. &nbsp;Control Protocol</=
span><o:p></o:p></p></div><div><p class=3DMsoNormal><span style=3D'font-fam=
ily:Courier'>]</span><o:p></o:p></p></div><div><p class=3DMsoNormal><span s=
tyle=3D'font-family:Courier'>] &nbsp; As noted in Figure 1, the control pro=
tocol is used by the exported</span><o:p></o:p></p></div><div><p class=3DMs=
oNormal><span style=3D'font-family:Courier'>] &nbsp; file system between th=
e metadata server and storage devices.</span><o:p></o:p></p></div><div><p c=
lass=3DMsoNormal><span style=3D'font-family:Courier'>] &nbsp; Specification=
 of such protocols is outside the scope of the NFSv4.1</span><o:p></o:p></p=
></div><div><p class=3DMsoNormal><span style=3D'font-family:Courier'>] &nbs=
p; protocol. &nbsp;Such control protocols would be used to control activiti=
es</span><o:p></o:p></p></div><div><p class=3DMsoNormal><span style=3D'font=
-family:Courier'>] &nbsp; such as the allocation and deallocation of storag=
e, the management of</span><o:p></o:p></p></div><div><p class=3DMsoNormal><=
span style=3D'font-family:Courier'>] &nbsp; state required by the storage d=
evices to perform client access</span><o:p></o:p></p></div><div><p class=3D=
MsoNormal><span style=3D'font-family:Courier'>] &nbsp; control, and, depend=
ing on the storage protocol, the enforcement of</span><o:p></o:p></p></div>=
<div><p class=3DMsoNormal><span style=3D'font-family:Courier'>] &nbsp; auth=
entication and authorization so that restrictions that would be</span><o:p>=
</o:p></p></div><div><p class=3DMsoNormal><span style=3D'font-family:Courie=
r'>] &nbsp; enforced by the metadata server are also enforced by the storag=
e</span><o:p></o:p></p></div><div><p class=3DMsoNormal><span style=3D'font-=
family:Courier'>] &nbsp; device.</span><o:p></o:p></p></div><div><p class=
=3DMsoNormal><o:p>&nbsp;</o:p></p></div></div></div><div><p class=3DMsoNorm=
al><o:p>&nbsp;</o:p></p></div><div><p class=3DMsoNormal>The extension we wo=
uld need here is for the DS to either:<o:p></o:p></p></div><div><p class=3D=
MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=3DMsoNormal>1) Send on t=
he MAC label it got from the client to the MDS, or<o:p></o:p></p></div><div=
><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=3DMsoNormal>=
2) Query the MDS for the labels on the file.<o:p></o:p></p></div><div><p cl=
ass=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=3DMsoNormal>The fi=
rst is simpler in that it allows the MDS to be smart and the DS pretty dumb=
. If the<o:p></o:p></p></div><div><p class=3DMsoNormal>MDS says okay, then =
the DS says okay. The same caching mechanism (or lack thereof)&nbsp;<o:p></=
o:p></p></div><div><p class=3DMsoNormal>being used for access checks (and/o=
r stateid validation) can be used to cache the<o:p></o:p></p></div><div><p =
class=3DMsoNormal>response for the MAC check.<o:p></o:p></p></div><div><p c=
lass=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=3DMsoNormal>With =
the second approach, the DS has to be smarter and the cache contains the fi=
le MAC.<o:p></o:p></p></div><div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p>=
</div><div><p class=3DMsoNormal>FWIW - I see the choice of these methods to=
 be implementation dependent. I.e., we don't<o:p></o:p></p></div><div><p cl=
ass=3DMsoNormal>specify the control protocol.<o:p></o:p></p></div><div><p c=
lass=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=3DMsoNormal><o:p>=
&nbsp;</o:p></p></div><div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div>=
<div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><p class=3DMsoNormal><=
o:p>&nbsp;</o:p></p></div></div></body></html>=

--_000_7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF262CMX14Acorpemcc_--

From nico@cryptonector.com  Wed Apr  6 11:02:24 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3351528C114 for <nfsv4@core3.amsl.com>; Wed,  6 Apr 2011 11:02:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.928
X-Spam-Level: 
X-Spam-Status: No, score=-1.928 tagged_above=-999 required=5 tests=[AWL=0.049,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eyupoAIYd1r1 for <nfsv4@core3.amsl.com>; Wed,  6 Apr 2011 11:02:23 -0700 (PDT)
Received: from homiemail-a65.g.dreamhost.com (jankymail-mx1.g.dreamhost.com [208.97.132.126]) by core3.amsl.com (Postfix) with ESMTP id F19D028C0D6 for <nfsv4@ietf.org>; Wed,  6 Apr 2011 11:02:22 -0700 (PDT)
Received: from homiemail-a65.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a65.g.dreamhost.com (Postfix) with ESMTP id 204117E4071 for <nfsv4@ietf.org>; Wed,  6 Apr 2011 11:04:07 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=xtvo0UvyjYyLKol9PpLYT dvIzRsjC43CIXTF+FkQ4EkHeFXPj75HpM+uHUBSvdutC1oG9K+2Pell8u9bHmxyY tV0OTFKVwpmOlaaePTp2dceqJuWn7uNuEgH1qRRan2B/CxzwbhsBn4QNE371RH/O mP5qKMeLN5kBj0QkTAwP0Q=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=qLwglXqh1XhZb1BMbl5a Mmuezvo=; b=ONKEY5taJ/1txQSZGZnF30a5XhHStoTFIbZ+1anx2xqStJ/k0cDA 8BxvmOivtOrOKrljQCoa5ObvL5V7GDVG7FrNJkyRGIh2wvNnJSf3lL6i4YcQT+La CUzGrxF6vj7GmK3grnIcXLKpp9fw/Fws33Yb1Ur6Clv3REW370FnWlU=
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a65.g.dreamhost.com (Postfix) with ESMTPSA id E42E07E4062 for <nfsv4@ietf.org>; Wed,  6 Apr 2011 11:04:06 -0700 (PDT)
Received: by vxg33 with SMTP id 33so1616657vxg.31 for <nfsv4@ietf.org>; Wed, 06 Apr 2011 11:04:06 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.176.134 with SMTP id ci6mr1886717vdc.190.1302113046155; Wed, 06 Apr 2011 11:04:06 -0700 (PDT)
Received: by 10.52.157.100 with HTTP; Wed, 6 Apr 2011 11:04:06 -0700 (PDT)
In-Reply-To: <BANLkTi=TgjHgj9Ux3+iwjY2=rVuZKTUAVA@mail.gmail.com>
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <BANLkTi=9tu4Kt0Kc6QHn1H67oWEBtNwkrw@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF260A@MX14A.corp.emc.com> <BANLkTi=TgjHgj9Ux3+iwjY2=rVuZKTUAVA@mail.gmail.com>
Date: Wed, 6 Apr 2011 13:04:06 -0500
Message-ID: <BANLkTimURCkWkCBsyZtyf+h0gwB1V2K4JQ@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: david.black@emc.com
Content-Type: text/plain; charset=UTF-8
Cc: kathleen.moriarty@emc.com, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments ([A] - [D])
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Apr 2011 18:02:24 -0000

Also, note that for RPCSEC_GSSv3, we could make it something that can
be profiled, so that clients that only need it for communicating
process labels need not implement the rest of it.  In fact, that's
already possible -- we just didn't write that out explicitly.

From tdh@excfb.com  Wed Apr  6 11:07:48 2011
Return-Path: <tdh@excfb.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BA28F28C10D for <nfsv4@core3.amsl.com>; Wed,  6 Apr 2011 11:07:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=-0.001, BAYES_00=-2.599, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u7THiyayvdYu for <nfsv4@core3.amsl.com>; Wed,  6 Apr 2011 11:07:47 -0700 (PDT)
Received: from eastrmfepo102.cox.net (eastrmfepo102.cox.net [68.230.241.214]) by core3.amsl.com (Postfix) with ESMTP id 867A928C0D6 for <nfsv4@ietf.org>; Wed,  6 Apr 2011 11:07:47 -0700 (PDT)
Received: from eastrmimpo02.cox.net ([68.1.16.120]) by eastrmfepo102.cox.net (InterMail vM.8.01.04.00 201-2260-137-20101110) with ESMTP id <20110406180931.EKBO32426.eastrmfepo102.cox.net@eastrmimpo02.cox.net>; Wed, 6 Apr 2011 14:09:31 -0400
Received: from adept.internal.excfb.com ([68.0.89.31]) by eastrmimpo02.cox.net with bizsmtp id UJ9U1g0030gaqh802J9UQh; Wed, 06 Apr 2011 14:09:31 -0400
X-Authority-Analysis: v=1.1 cv=Lc160gsN5vZeh5KDc2MJw912V/ZiQuMabxrEK+hXnJY= c=1 sm=1 a=PpH1Uhke2nwA:10 a=AucyykY0vBQA:10 a=Q13bRTFP-KEA:10 a=Ol/aQwvBPKBEI6GiZB9DFg==:17 a=G0_B3m8xAAAA:8 a=2IVxRB7_QF8NSqfYXaQA:9 a=wPNLvfGTeEIA:10 a=lW_bInUQU2sA:10 a=WbRInz8KL-pce5ONluQA:9 a=m4J2VbB-BEb_ZRncVk8A:7 a=Ol/aQwvBPKBEI6GiZB9DFg==:117
X-CM-Score: 0.00
Authentication-Results: cox.net; none
Received: from [192.168.2.125] (loghyr.internal.excfb.com [192.168.2.125]) by adept.internal.excfb.com (8.14.4/8.14.4) with ESMTP id p36I6tqE012918; Wed, 6 Apr 2011 13:06:55 -0500
Message-ID: <4D9CAC57.6010906@excfb.com>
Date: Wed, 06 Apr 2011 13:09:27 -0500
From: Tom Haynes <tdh@excfb.com>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9
MIME-Version: 1.0
To: david.black@emc.com
References: <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com>	<D80E2C74-A62A-4E68-8381-A8F129ED2934@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF262C@MX14A.corp.emc.com>
In-Reply-To: <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF262C@MX14A.corp.emc.com>
Content-Type: multipart/alternative; boundary="------------030800010507070808060407"
Cc: kathleen.moriarty@emc.com, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments [pNFS]
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Apr 2011 18:07:48 -0000

This is a multi-part message in MIME format.
--------------030800010507070808060407
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

On 4/6/11 12:50 PM, david.black@emc.com wrote:
>
> Tom,
>
> - If the DS fully supports MAC and MAC labels are propagated from the 
> MDS to the DS via the control
>
>       protocol between those two, MAC operates independently on the 
> MDS and DS.  In this scenario,
>
> clients may encounter MAC-caused DS access denials for layouts granted 
> by an MDS in accordance
>
> with its MAC checks.
>
>

I don't see how this can be the case. If the DS has the MAC label gotten 
from the MDS,
then the DS and the MDS MUST have the same MAC labels. If the MAC label 
is changed
on the MDS, I would consider this to be the same scenario as an access 
policy change.
I.e., the MDS can recall the layout and fence the file.

The MDS would also use the Control Protocol to inform the DS that the 
attribute changed.

I am looking at my assumptions and I think I know where our models differ:
the access checks belong to the MDS and not the DS. If the MDS has an 
export policy
that grants a client RW access to a file, the DS better not have 
different behavior. Likewise,
if the MDS has a MAC label which grants access to a file, the DS better 
not deny access.

I'll grant there are corner cases as a policy is being modified (with 
the resultant delay), but
the MDS ought to be able to rectify this pretty quickly.

--------------030800010507070808060407
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    On 4/6/11 12:50 PM, <a class="moz-txt-link-abbreviated" href="mailto:david.black@emc.com">david.black@emc.com</a> wrote:
    <blockquote
      cite="mid:7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF262C@MX14A.corp.emc.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 12 (filtered
        medium)">
      <base href="x-msg://343/">
      <style><!--
/* Font Definitions */
@font-face
	{font-family:Courier;
	panose-1:2 7 4 9 2 2 5 2 4 4;}
@font-face
	{font-family:Courier;
	panose-1:2 7 4 9 2 2 5 2 4 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.apple-style-span
	{mso-style-name:apple-style-span;}
span.apple-converted-space
	{mso-style-name:apple-converted-space;}
span.EmailStyle19
	{mso-style-type:personal-reply;
	font-family:"Courier New";
	color:black;
	font-weight:normal;
	font-style:normal;
	text-decoration:none none;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span style="font-size: 10pt; font-family:
            &quot;Courier New&quot;; color: black;">Tom,<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 10pt; font-family:
            &quot;Courier New&quot;; color: black;"><o:p>&nbsp;</o:p></span></p>
        <span style="font-size: 10pt; font-family: &quot;Courier
          New&quot;; color: black;"><o:p></o:p></span><span
          style="font-size: 10pt; font-family: &quot;Courier New&quot;;
          color: black;"><o:p></o:p></span>
        <p class="MsoNormal"><span style="font-size: 10pt; font-family:
            &quot;Courier New&quot;; color: black;">- If the DS fully
            supports MAC and MAC labels are propagated from the MDS to
            the DS via the control<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 10pt; font-family:
            &quot;Courier New&quot;; color: black;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; protocol
            between those two, MAC operates independently on the MDS and
            DS.&nbsp; In this scenario,<o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent: 0.5in;"><span
            style="font-size: 10pt; font-family: &quot;Courier
            New&quot;; color: black;">clients may encounter MAC-caused
            DS access denials for layouts granted by an MDS in
            accordance<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left: 0.5in;"><span
            style="font-size: 10pt; font-family: &quot;Courier
            New&quot;; color: black;">with its MAC checks.<o:p></o:p></span></p>
        <br>
      </div>
    </blockquote>
    <br>
    I don't see how this can be the case. If the DS has the MAC label
    gotten from the MDS,<br>
    then the DS and the MDS MUST have the same MAC labels. If the MAC
    label is changed<br>
    on the MDS, I would consider this to be the same scenario as an
    access policy change.<br>
    I.e., the MDS can recall the layout and fence the file.<br>
    <br>
    The MDS would also use the Control Protocol to inform the DS that
    the attribute changed.<br>
    <br>
    I am looking at my assumptions and I think I know where our models
    differ:<br>
    the access checks belong to the MDS and not the DS. If the MDS has
    an export policy<br>
    that grants a client RW access to a file, the DS better not have
    different behavior. Likewise,<br>
    if the MDS has a MAC label which grants access to a file, the DS
    better not deny access.<br>
    <br>
    I'll grant there are corner cases as a policy is being modified
    (with the resultant delay), but<br>
    the MDS ought to be able to rectify this pretty quickly.<br>
  </body>
</html>

--------------030800010507070808060407--

From david.black@emc.com  Wed Apr  6 11:11:30 2011
Return-Path: <david.black@emc.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8EB3D28C0D6 for <nfsv4@core3.amsl.com>; Wed,  6 Apr 2011 11:11:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.486
X-Spam-Level: 
X-Spam-Status: No, score=-106.486 tagged_above=-999 required=5 tests=[AWL=0.113, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mfWv2IpHFTxr for <nfsv4@core3.amsl.com>; Wed,  6 Apr 2011 11:11:28 -0700 (PDT)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by core3.amsl.com (Postfix) with ESMTP id 2741628C110 for <nfsv4@ietf.org>; Wed,  6 Apr 2011 11:11:27 -0700 (PDT)
Received: from hop04-l1d11-si01.isus.emc.com (HOP04-L1D11-SI01.isus.emc.com [10.254.111.54]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p36ID9Pn017122 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Apr 2011 14:13:09 -0400
Received: from mailhub.lss.emc.com (mailhub.lss.emc.com [10.254.222.226]) by hop04-l1d11-si01.isus.emc.com (RSA Interceptor); Wed, 6 Apr 2011 14:13:02 -0400
Received: from mxhub09.corp.emc.com (mxhub09.corp.emc.com [10.254.92.104]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p36IBgE1010496; Wed, 6 Apr 2011 14:11:43 -0400
Received: from mx14a.corp.emc.com ([169.254.1.143]) by mxhub09.corp.emc.com ([10.254.92.104]) with mapi; Wed, 6 Apr 2011 14:11:42 -0400
From: <david.black@emc.com>
To: <nico@cryptonector.com>
Date: Wed, 6 Apr 2011 14:11:40 -0400
Thread-Topic: RPCSEC-GSSv3 profiling
Thread-Index: Acv0hUlpStZJzkbKSK6FI7ayFy8CSQAAKTUg
Message-ID: <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF265A@MX14A.corp.emc.com>
References: <4D95842E.70708@oracle.com>	<4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <BANLkTi=9tu4Kt0Kc6QHn1H67oWEBtNwkrw@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF260A@MX14A.corp.emc.com> <BANLkTi=TgjHgj9Ux3+iwjY2=rVuZKTUAVA@mail.gmail.com> <BANLkTimURCkWkCBsyZtyf+h0gwB1V2K4JQ@mail.gmail.com>
In-Reply-To: <BANLkTimURCkWkCBsyZtyf+h0gwB1V2K4JQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-EMM-MHVC: 1
Cc: kathleen.moriarty@emc.com, nfsv4@ietf.org
Subject: [nfsv4] RPCSEC-GSSv3 profiling
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Apr 2011 18:11:30 -0000

VGhhdCBzb3VuZHMgbGlrZSBhIHByb21pc2luZyBhcHByb2FjaC4gDQoNClRoYW5rcywNCi0tRGF2
aWQNCg0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IE5pY28gV2lsbGlh
bXMgW21haWx0bzpuaWNvQGNyeXB0b25lY3Rvci5jb21dDQo+IFNlbnQ6IFdlZG5lc2RheSwgQXBy
aWwgMDYsIDIwMTEgMjowNCBQTQ0KPiBUbzogQmxhY2ssIERhdmlkDQo+IENjOiBuZnN2NEBpZXRm
Lm9yZzsgTW9yaWFydHksIEthdGhsZWVuDQo+IFN1YmplY3Q6IFJlOiBbbmZzdjRdIGRyYWZ0LXF1
aWdsZXktbmZzdjQtbGFiZWxlZC0wMCAtIHNvbWUgY29tbWVudHMgKFtBXSAtIFtEXSkNCj4gDQo+
IEFsc28sIG5vdGUgdGhhdCBmb3IgUlBDU0VDX0dTU3YzLCB3ZSBjb3VsZCBtYWtlIGl0IHNvbWV0
aGluZyB0aGF0IGNhbg0KPiBiZSBwcm9maWxlZCwgc28gdGhhdCBjbGllbnRzIHRoYXQgb25seSBu
ZWVkIGl0IGZvciBjb21tdW5pY2F0aW5nDQo+IHByb2Nlc3MgbGFiZWxzIG5lZWQgbm90IGltcGxl
bWVudCB0aGUgcmVzdCBvZiBpdC4gIEluIGZhY3QsIHRoYXQncw0KPiBhbHJlYWR5IHBvc3NpYmxl
IC0tIHdlIGp1c3QgZGlkbid0IHdyaXRlIHRoYXQgb3V0IGV4cGxpY2l0bHkuDQoNCg==

From david.black@emc.com  Wed Apr  6 11:14:40 2011
Return-Path: <david.black@emc.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 69EE43A696D for <nfsv4@core3.amsl.com>; Wed,  6 Apr 2011 11:14:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.585
X-Spam-Level: 
X-Spam-Status: No, score=-106.585 tagged_above=-999 required=5 tests=[AWL=0.014, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YnqCseCJWABj for <nfsv4@core3.amsl.com>; Wed,  6 Apr 2011 11:14:39 -0700 (PDT)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by core3.amsl.com (Postfix) with ESMTP id 8F9163A696C for <nfsv4@ietf.org>; Wed,  6 Apr 2011 11:14:39 -0700 (PDT)
Received: from hop04-l1d11-si03.isus.emc.com (HOP04-L1D11-SI03.isus.emc.com [10.254.111.23]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p36IGHxG022978 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Apr 2011 14:16:18 -0400
Received: from mailhub.lss.emc.com (mailhubhoprd01.lss.emc.com [10.254.221.251]) by hop04-l1d11-si03.isus.emc.com (RSA Interceptor); Wed, 6 Apr 2011 14:16:05 -0400
Received: from mxhub07.corp.emc.com (mxhub07.corp.emc.com [128.221.46.115]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p36I4Heg000804; Wed, 6 Apr 2011 14:04:17 -0400
Received: from mx14a.corp.emc.com ([169.254.1.143]) by mxhub07.corp.emc.com ([128.221.46.115]) with mapi; Wed, 6 Apr 2011 14:04:17 -0400
From: <david.black@emc.com>
To: <nico@cryptonector.com>
Date: Wed, 6 Apr 2011 14:04:14 -0400
Thread-Topic: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments ([A] - [D])
Thread-Index: Acv0gjJLHFZTkmb9TImf/GxxvCL/kAAAhF6Q
Message-ID: <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF2645@MX14A.corp.emc.com>
References: <4D95842E.70708@oracle.com>	<4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <BANLkTi=9tu4Kt0Kc6QHn1H67oWEBtNwkrw@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF260A@MX14A.corp.emc.com> <BANLkTi=TgjHgj9Ux3+iwjY2=rVuZKTUAVA@mail.gmail.com>
In-Reply-To: <BANLkTi=TgjHgj9Ux3+iwjY2=rVuZKTUAVA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-EMM-MHVC: 1
Cc: kathleen.moriarty@emc.com, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments ([A] - [D])
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>,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2ZWwgb2YgYSBuZXR3
b3JrIHdydCBNQUMncyBhc3N1cmFuY2VzKT8NCj4gDQo+IE5vLCB0aGUgbGFiZWwgaGFzIHRvIGJl
IHBhcnQgb2YgdGhlIGF1dGhvcml6YXRpb24gY29udGV4dCwgd2hpY2ggaW4gTkZTIGNvbWVzIGZy
b20gdGhlIFJQQyBzZWN1cml0eQ0KPiBsYXllci4gIEl0IF9oYXNfIHRvIGJlIHRoYXQgd2F5LiAg
SXQnZCBiZSByZWFsbHkgZ3Jvc3MgdG8gZG8gYW55dGhpbmcgZWxzZS4NCg0KSSBhZ3JlZSB3aXRo
IHRoaXMgd2hlbiB0aGUgbGFiZWwgaXMgcGFzc2VkIG9uIGV2ZXJ5IFJQQyAoZS5nLiwgY2xpZW50
IGlzIG11bHRpLWxldmVsIGFuZCBpcyBwYXNzaW5nIGFjdHVhbCBzdWJqZWN0IElEKS4gIEkgd29u
ZGVyIGFib3V0IHRoaXMgaWYgdGhlIGxhYmVsIGlzIHBlci1jbGllbnQgb3IgcGVyLWNsaWVudC1z
ZXNzaW9uIGFuZCBwYXNzZWQgb25jZSAoZS5nLiwgdG8gaGVscCB0aGUgc2VydmVyIGRldGVybWlu
ZSB0aGUgYXBwcm9wcmlhdGUgbGFiZWwgZm9yIGEgc2luZ2xlLWxldmVsIGNsaWVudCkuDQoNCg==

From nico@cryptonector.com  Wed Apr  6 11:26:22 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 238E03A690A for <nfsv4@core3.amsl.com>; Wed,  6 Apr 2011 11:26:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.928
X-Spam-Level: 
X-Spam-Status: No, score=-1.928 tagged_above=-999 required=5 tests=[AWL=0.049,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MevYwJpgM+mL for <nfsv4@core3.amsl.com>; Wed,  6 Apr 2011 11:26:21 -0700 (PDT)
Received: from homiemail-a27.g.dreamhost.com (caiajhbdcaid.dreamhost.com [208.97.132.83]) by core3.amsl.com (Postfix) with ESMTP id 4C0F63A68B9 for <nfsv4@ietf.org>; Wed,  6 Apr 2011 11:26:21 -0700 (PDT)
Received: from homiemail-a27.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a27.g.dreamhost.com (Postfix) with ESMTP id 4DFEC59807D for <nfsv4@ietf.org>; Wed,  6 Apr 2011 11:28:05 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=wNgmylcjz1za5WphnCtgFNstCsXXL97xuz3Asy3v4tx2 1nb4yM1kLvi65jCcfgxz/V1viZ3tQpk09eUtxzOW0FPOmEJfE1A3jbqMgIVq6tKy dJzSkFzbhGEfTahMNvVUL6rmnEWOonLHCmBeSd9u+X/ApFogZB+fpViviD/7EkM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=XbHuwqeU8HqS+Czoaj64chGR/hg=; b=rdExEWDR11I O+J/cmsAfM7wZGFdcd1LFKI3isqhmEKDYZdY5/yzjg2i6loUTFyqwf2gi7fDpnb8 rTBw+ytN+S3APXnW7uX2I02IXkaxAxu7t7pUxglbetU71bAhC/v+Uq60ViZsR1d/ Va5jqNYASHeRbmWvmxS4Dk1SUgS7KS7I=
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a27.g.dreamhost.com (Postfix) with ESMTPSA id 167EA598057 for <nfsv4@ietf.org>; Wed,  6 Apr 2011 11:28:04 -0700 (PDT)
Received: by vws12 with SMTP id 12so1658040vws.31 for <nfsv4@ietf.org>; Wed, 06 Apr 2011 11:28:04 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.177.233 with SMTP id ct9mr86502vdc.110.1302114484440; Wed, 06 Apr 2011 11:28:04 -0700 (PDT)
Received: by 10.52.157.100 with HTTP; Wed, 6 Apr 2011 11:28:04 -0700 (PDT)
In-Reply-To: <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF2645@MX14A.corp.emc.com>
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <BANLkTi=9tu4Kt0Kc6QHn1H67oWEBtNwkrw@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF260A@MX14A.corp.emc.com> <BANLkTi=TgjHgj9Ux3+iwjY2=rVuZKTUAVA@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF2645@MX14A.corp.emc.com>
Date: Wed, 6 Apr 2011 13:28:04 -0500
Message-ID: <BANLkTikrovjF_peqorty=RPR+SP6nw5hJw@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: david.black@emc.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: kathleen.moriarty@emc.com, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments ([A] - [D])
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Apr 2011 18:26:22 -0000

On Wed, Apr 6, 2011 at 1:04 PM,  <david.black@emc.com> wrote:
>> [David, your method of quoting e-mails is really painful to follow.]
>
> Inserting responses inline this time ...

Thanks!

>> > [B] Use cases - work is in progress on this, but I would really like
>> > to see the more detailed writeup of the Red Hat use cases.
>> >
>> > [C] MAC attribute negotiation/announcement
>> >
>> > Server announcement mechanism (client determines attribute support) se=
ems fine, but ...
>>
>> I don't know what the brackets above are supposed to mean.
>
> Client asks server what attributes are supported. =C2=A0I'm not sure that=
 this distinguishes
> a server that only stores the MAC labels from one that actually does the =
MAC checks, but
> it's definitely useful.

It's certainly useful _and_ required.  The operation can fail because
MAC policy can deny read access to the label -- labels can be security
sensitive.

>> >> > In the other direction, how does a client announce whether it=E2=80=
=99s MAC
>> >> > capable? =C2=A0Note that this would be a config check mechanism (e.=
g.,
>> >> > accidentally connected a non-MAC client to a MAC server that it=E2=
=80=99s
>> >> > not supposed to talk to), *not* a security mechanism, because a
>> >> > malicious client will lie.
>> >>
>> >> See above. [RPCSEC-GSSv3]
>> >
>> > Hmm - between [A] and [C], RPCSEC_GSSv3 seems like a lot to require in
>> > implementations if the only purpose is to enable a client to announce
>> > its MAC capabilities. =C2=A0Would it make sense to define a simpler me=
chanism
>> > to cover [A] and [C] w/o RPCSEC_GSSv3, or should it always be required
>> > in order to use MAC for other reasons (e.g., RPCSEC_GSSv3 can certainl=
y
>> > improve the trust level of a network wrt MAC's assurances)?
>>
>> No, the label has to be part of the authorization context, which in NFS =
comes from the RPC security
>> layer. =C2=A0It _has_ to be that way. =C2=A0It'd be really gross to do a=
nything else.
>
> I agree with this when the label is passed on every RPC (e.g., client is =
multi-level and is passing actual subject ID). =C2=A0I wonder about this if=
 the label is per-client or per-client-session and passed once (e.g., to he=
lp the server determine the appropriate label for a single-level client).

RPCSEC_GSSv3 would require that the client establish a distinct
RPCSEC_GSSv3 handle for each distinct process credential (where
distinctions are drawn based on process credential attributes that the
client wants RPCSEC_GSSv3 to reflect).  The process' label is/should
be part of its credential.  This means that the label wouldn't be sent
as such on every RPC (though labels are small enough that, who cares).
 It does mean, on the flip side, that RPCSEC_GSSv3 would require more
exchanges than RPCSEC_GSSv1/2 -- I don't anticipate that will be a big
deal for most labeling systems, but the one exception might be
SElinux, since it's rife with label transitions for processes.  We
might want to look at an option where the process label is affixed to
the RPCSEC_GSSv3 handle so as to minimize the number of RPCSEC_GSSv3
handles needed in an SElinux environment.

From david.black@emc.com  Wed Apr  6 11:37:40 2011
Return-Path: <david.black@emc.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0E52E28C11A for <nfsv4@core3.amsl.com>; Wed,  6 Apr 2011 11:37:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.585
X-Spam-Level: 
X-Spam-Status: No, score=-106.585 tagged_above=-999 required=5 tests=[AWL=0.013, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AW8mQkAahp4I for <nfsv4@core3.amsl.com>; Wed,  6 Apr 2011 11:37:34 -0700 (PDT)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by core3.amsl.com (Postfix) with ESMTP id AE5DA28C0D6 for <nfsv4@ietf.org>; Wed,  6 Apr 2011 11:37:34 -0700 (PDT)
Received: from hop04-l1d11-si03.isus.emc.com (HOP04-L1D11-SI03.isus.emc.com [10.254.111.23]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p36IdFF1003755 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Apr 2011 14:39:15 -0400
Received: from mailhub.lss.emc.com (mailhub.lss.emc.com [10.254.222.226]) by hop04-l1d11-si03.isus.emc.com (RSA Interceptor); Wed, 6 Apr 2011 14:39:03 -0400
Received: from mxhub21.corp.emc.com (mxhub21.corp.emc.com [128.221.56.107]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p36IcVZ4030302; Wed, 6 Apr 2011 14:38:31 -0400
Received: from mx14a.corp.emc.com ([169.254.1.143]) by mxhub21.corp.emc.com ([128.221.56.107]) with mapi; Wed, 6 Apr 2011 14:38:31 -0400
From: <david.black@emc.com>
To: <tdh@excfb.com>
Date: Wed, 6 Apr 2011 14:38:29 -0400
Thread-Topic: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments [pNFS]
Thread-Index: Acv0hyj7XJBifau2TwKcWXuGOgoLcQAAJEjg
Message-ID: <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF2684@MX14A.corp.emc.com>
References: <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <D80E2C74-A62A-4E68-8381-A8F129ED2934@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF262C@MX14A.corp.emc.com> <4D9CAC57.6010906@excfb.com>
In-Reply-To: <4D9CAC57.6010906@excfb.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF2684MX14Acorpemcc_"
MIME-Version: 1.0
X-EMM-MHVC: 1
Cc: kathleen.moriarty@emc.com, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments [pNFS]
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Apr 2011 18:37:40 -0000

--_000_7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF2684MX14Acorpemcc_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Tom,

Our models are similar, as we're in violent agreement on:

> I'll grant there are corner cases as a policy is being modified (with the=
 resultant delay),
> but the MDS ought to be able to rectify this pretty quickly.

In addition, I suspect that there are also partial communication
behavior cases that can cause this.

>From a client protocol perspective, how quickly the MDS cleans this up is s=
econdary -
the client code may see a MAC-caused access denial from a DS on an I/O that=
 was
valid wrt the layout when the I/O was issued.  OTOH, we may not need (or wa=
nt) to
tell the client whether that denial was caused by MAC vs. DAC.

Thanks,
--David

From: Tom Haynes [mailto:tdh@excfb.com]
Sent: Wednesday, April 06, 2011 2:09 PM
To: Black, David
Cc: thomas@netapp.com; Moriarty, Kathleen; nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments [pNFS]

On 4/6/11 12:50 PM, david.black@emc.com<mailto:david.black@emc.com> wrote:
Tom,

- If the DS fully supports MAC and MAC labels are propagated from the MDS t=
o the DS via the control
      protocol between those two, MAC operates independently on the MDS and=
 DS.  In this scenario,
clients may encounter MAC-caused DS access denials for layouts granted by a=
n MDS in accordance
with its MAC checks.


I don't see how this can be the case. If the DS has the MAC label gotten fr=
om the MDS,
then the DS and the MDS MUST have the same MAC labels. If the MAC label is =
changed
on the MDS, I would consider this to be the same scenario as an access poli=
cy change.
I.e., the MDS can recall the layout and fence the file.

The MDS would also use the Control Protocol to inform the DS that the attri=
bute changed.

I am looking at my assumptions and I think I know where our models differ:
the access checks belong to the MDS and not the DS. If the MDS has an expor=
t policy
that grants a client RW access to a file, the DS better not have different =
behavior. Likewise,
if the MDS has a MAC label which grants access to a file, the DS better not=
 deny access.

I'll grant there are corner cases as a policy is being modified (with the r=
esultant delay), but
the MDS ought to be able to rectify this pretty quickly.

--_000_7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF2684MX14Acorpemcc_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40"><head><meta http-equiv=3DContent-Type content=
=3D"text/html; charset=3Dus-ascii"><meta name=3DGenerator content=3D"Micros=
oft Word 12 (filtered medium)"><base href=3D"x-msg://343/"><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:"Courier New \; color\: black\;";
	panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";
	color:black;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.apple-style-span
	{mso-style-name:apple-style-span;}
span.apple-converted-space
	{mso-style-name:apple-converted-space;}
span.EmailStyle19
	{mso-style-type:personal;
	font-family:"Courier New";
	color:black;
	font-weight:normal;
	font-style:normal;
	text-decoration:none none;}
span.EmailStyle20
	{mso-style-type:personal-reply;
	font-family:"Courier New";
	color:black;
	font-weight:normal;
	font-style:normal;
	text-decoration:none none;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=3Dwhite lang=3DEN-US=
 link=3Dblue vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal>=
<span style=3D'font-size:10.0pt;font-family:"Courier New"'>Tom,<o:p></o:p><=
/span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:=
"Courier New"'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span style=
=3D'font-size:10.0pt;font-family:"Courier New"'>Our models are similar, as =
we&#8217;re in violent agreement on:<o:p></o:p></span></p><p class=3DMsoNor=
mal><span style=3D'font-size:10.0pt;font-family:"Courier New"'><o:p>&nbsp;<=
/o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-f=
amily:"Courier New"'>&gt; </span>I'll grant there are corner cases as a pol=
icy is being modified (with the resultant delay),<o:p></o:p></p><p class=3D=
MsoNormal>&gt; but the MDS ought to be able to rectify this pretty quickly.=
<span style=3D'font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></spa=
n></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Cou=
rier New"'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span style=3D'=
font-size:10.0pt;font-family:"Courier New"'>In addition, I suspect that the=
re are also partial communication<o:p></o:p></span></p><p class=3DMsoNormal=
><span style=3D'font-size:10.0pt;font-family:"Courier New"'>behavior cases =
that can cause this.<o:p></o:p></span></p><p class=3DMsoNormal><span style=
=3D'font-size:10.0pt;font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p=
><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier =
New"'>From a client protocol perspective, how quickly the MDS cleans this u=
p is secondary &#8211;<o:p></o:p></span></p><p class=3DMsoNormal><span styl=
e=3D'font-size:10.0pt;font-family:"Courier New"'>the client code may see a =
MAC-caused access denial from a DS on an I/O that was<o:p></o:p></span></p>=
<p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier N=
ew"'>valid wrt the layout when the I/O was issued.&nbsp; OTOH, we may not n=
eed (or want) to<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'f=
ont-size:10.0pt;font-family:"Courier New"'>tell the client whether that den=
ial was caused by MAC vs. DAC.<o:p></o:p></span></p><p class=3DMsoNormal><s=
pan style=3D'font-size:10.0pt;font-family:"Courier New"'><o:p>&nbsp;</o:p><=
/span></p><div><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-fa=
mily:"Courier New"'>Thanks,<br>--David</span><span style=3D'font-size:11.0p=
t;font-family:"Courier New"'><o:p></o:p></span></p></div><p class=3DMsoNorm=
al><span style=3D'font-size:10.0pt;font-family:"Courier New"'><o:p>&nbsp;</=
o:p></span></p><div style=3D'border:none;border-left:solid blue 1.5pt;paddi=
ng:0in 0in 0in 4.0pt'><div><div style=3D'border:none;border-top:solid #B5C4=
DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=3DMsoNormal><b><span style=3D'=
font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:<=
/span></b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"=
;color:windowtext'> Tom Haynes [mailto:tdh@excfb.com] <br><b>Sent:</b> Wedn=
esday, April 06, 2011 2:09 PM<br><b>To:</b> Black, David<br><b>Cc:</b> thom=
as@netapp.com; Moriarty, Kathleen; nfsv4@ietf.org<br><b>Subject:</b> Re: [n=
fsv4] draft-quigley-nfsv4-labeled-00 - some comments [pNFS]<o:p></o:p></spa=
n></p></div></div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoN=
ormal>On 4/6/11 12:50 PM, <a href=3D"mailto:david.black@emc.com">david.blac=
k@emc.com</a> wrote: <o:p></o:p></p><p class=3DMsoNormal><span style=3D'fon=
t-size:10.0pt;font-family:"Courier New"'>Tom,</span><o:p></o:p></p><p class=
=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier New"'>&nb=
sp;</span><o:p></o:p></p><p class=3DMsoNormal><span style=3D'font-size:10.0=
pt;font-family:"Courier New"'>- If the DS fully supports MAC and MAC labels=
 are propagated from the MDS to the DS via the control</span><o:p></o:p></p=
><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier =
New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; protocol between those two, MAC operat=
es independently on the MDS and DS.&nbsp; In this scenario,</span><o:p></o:=
p></p><p class=3DMsoNormal style=3D'text-indent:.5in'><span style=3D'font-s=
ize:10.0pt;font-family:"Courier New ; color: black;","serif"'>clients may e=
ncounter MAC-caused DS access denials for layouts granted by an MDS in acco=
rdance</span><o:p></o:p></p><p class=3DMsoNormal style=3D'margin-left:.5in'=
><span style=3D'font-size:10.0pt;font-family:"Courier New ; color: black;",=
"serif"'>with its MAC checks.</span><o:p></o:p></p><p class=3DMsoNormal><o:=
p>&nbsp;</o:p></p><p class=3DMsoNormal><br>I don't see how this can be the =
case. If the DS has the MAC label gotten from the MDS,<br>then the DS and t=
he MDS MUST have the same MAC labels. If the MAC label is changed<br>on the=
 MDS, I would consider this to be the same scenario as an access policy cha=
nge.<br>I.e., the MDS can recall the layout and fence the file.<br><br>The =
MDS would also use the Control Protocol to inform the DS that the attribute=
 changed.<br><br>I am looking at my assumptions and I think I know where ou=
r models differ:<br>the access checks belong to the MDS and not the DS. If =
the MDS has an export policy<br>that grants a client RW access to a file, t=
he DS better not have different behavior. Likewise,<br>if the MDS has a MAC=
 label which grants access to a file, the DS better not deny access.<br><br=
>I'll grant there are corner cases as a policy is being modified (with the =
resultant delay), but<br>the MDS ought to be able to rectify this pretty qu=
ickly.<o:p></o:p></p></div></div></body></html>=

--_000_7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF2684MX14Acorpemcc_--

From tdh@excfb.com  Wed Apr  6 11:59:35 2011
Return-Path: <tdh@excfb.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 715A728C0D6 for <nfsv4@core3.amsl.com>; Wed,  6 Apr 2011 11:59:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level: 
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2fRu4cxA0i0C for <nfsv4@core3.amsl.com>; Wed,  6 Apr 2011 11:59:34 -0700 (PDT)
Received: from eastrmfepo203.cox.net (eastrmfepo203.cox.net [68.230.241.218]) by core3.amsl.com (Postfix) with ESMTP id 9FBFB3A67B6 for <nfsv4@ietf.org>; Wed,  6 Apr 2011 11:59:33 -0700 (PDT)
Received: from eastrmimpo01.cox.net ([68.1.16.119]) by eastrmfepo203.cox.net (InterMail vM.8.01.04.00 201-2260-137-20101110) with ESMTP id <20110406190112.GJLS32702.eastrmfepo203.cox.net@eastrmimpo01.cox.net>; Wed, 6 Apr 2011 15:01:12 -0400
Received: from adept.internal.excfb.com ([68.0.89.31]) by eastrmimpo01.cox.net with bizsmtp id UK181g00V0gaqh802K19Lg; Wed, 06 Apr 2011 15:01:12 -0400
X-CT-Score: NA
X-Authority-Analysis: v=1.1 cv=skrOmULcM/eVX19rqM3hbpj6alTYl7UWK0Bh3Nl29AM= c=1 sm=1 a=PpH1Uhke2nwA:10 a=D13Wt6zi3V8A:10 a=Q13bRTFP-KEA:10 a=Ol/aQwvBPKBEI6GiZB9DFg==:17 a=8PxvvD2TAAAA:8 a=48vgC7mUAAAA:8 a=76w48UwAh_FH8wD4nBMA:9 a=-6_ImSFdWwZA9TtxHEUA:7 a=wPNLvfGTeEIA:10 a=aNitPTvRWXEA:10 a=lZB815dzVvQA:10 a=pGLkceISAAAA:8 a=RrKLE-K4CK0n75HMAr0A:9 a=AwZ8mUMv9WOc2CQyxEIA:7 a=Ol/aQwvBPKBEI6GiZB9DFg==:117
X-CM-Score: 0.00
Authentication-Results: cox.net; none
Received: from [192.168.2.125] (loghyr.internal.excfb.com [192.168.2.125]) by adept.internal.excfb.com (8.14.4/8.14.4) with ESMTP id p36Iwais013045; Wed, 6 Apr 2011 13:58:36 -0500
Message-ID: <4D9CB874.2010402@excfb.com>
Date: Wed, 06 Apr 2011 14:01:08 -0500
From: Tom Haynes <tdh@excfb.com>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9
MIME-Version: 1.0
To: Nico Williams <nico@cryptonector.com>
References: <4D906FEE.4080501@davequigley.com>	<AANLkTi=6f1gX1oL=5TBi+9r==Yum2D=LsuzbNtL7MmLY@mail.gmail.com>	<4D90B069.2050307@davequigley.com> <BANLkTimMtCEPf+8XtL-9+UvWKcOWzJPL-w@mail.gmail.com>
In-Reply-To: <BANLkTimMtCEPf+8XtL-9+UvWKcOWzJPL-w@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------020903050801090209020304"
Cc: "nfsv4@ietf.org" <nfsv4@ietf.org>
Subject: Re: [nfsv4] Response to Labeled NFS Document comments.
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Apr 2011 18:59:35 -0000

This is a multi-part message in MIME format.
--------------020903050801090209020304
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

On 4/6/11 1:56 AM, Nico Williams wrote:
> [resend... forgot to reply all.]
>
> On Mon, Mar 28, 2011 at 10:59 AM, Dave Quigley<dpquigl@davequigley.com>  wrote:
>> On 3/28/2011 11:15 AM, Nico Williams wrote:
>>> Regarding attribute change notification, it seems that volatile file
>>> handles (i.e., marking the handle stale) seems almost like the best
>>> approach here.


Has anyone implemented volatile file handles in their servers?

I don't think so. I believe the Solaris client can handle them but that
the Linux client cannot.



>>> However, the way clients recover from stale
>>> filehandles is not ideal (re-open by path).  In this case it ought to
>>> be possible to add an operation by which to obtain a new filehandle
>>> given a stale one.
>>>
>>> So that's my proposal: add a new operation for re-validating
>>> filehandles.  Inputs: old (stale) filehandle.  Outputs: new
>>> filehandle.
>>>
>>> This would also have the side-effect of enabling the use of
>>> capabilities (in the traditional, non-Linux sense).
>> I like this proposal quite a bit. I find it a lot better than re-open by
>> path since there is no telling if the file at that path has changed since
>> the handle was originally granted to us. Since this really is just a
>> metadata refresh and not a complete reopen then having the file change out
>> from under us is a bad thing. Would this be a proposal in and of itself?
>> Would we incorporate it into one of the other proposals?
> Right, it's a very natural extension.  Imagine an implementation whose
> FHes consist of something like {{fsid, inode #, RPCSEC_GSS triple,
> client host principal, label-of-file, capability, ...},
> HMAC(server_secret_key, {fsid, inode #, ...)}

Dictating the FH format is something we have avoided up until now. I
would prefer we not start down that route.

I also do not see the need to embed redundant information into it.
I.e., the RPCSEC_GSS triple should come out of the RPC layer,
the client host principal should be found another way, and I believe
the server secret key should not be in there either.

And embedding state in the FH is a slippery-slope precedent.

The original problem statement is that we want to be able to inform
the client when a label change occurs on a file it has open. If the
file is closed, we have no need to inform the client.

NFSv4 already has a mechanism for the server to inform the client
that state has changed - i.e., it can use the call back procedures. So
there is no need to stale out the FH and no need for the client to try
to reopen it via the path.

The server detects a a label change. It doesn't need to know what the
client was utilizing, it just needs to know that the client is MAC aware
and wants to know a change has occurred. And it knows this because
the client accepted the registration of the CB procedure. (Which by
the way, solves another issue, how does the server know that the client
is MAC aware?)

It informs the client of the change and the client responds. Until the
client responds, it may find that some of its I/O is not processed the
way it expects.

As the server need not store the information for the client (see my
statement above), the server just informs the client of the change
and not what changed. The client would be responsible for making
a GETATTR call on the FH to find out the change. I.e., it would present
a new compound to the server with its RPCSEC_GSS triple and
other information. I'm assuming here that there might be a label
that the client is not authorized to know on a file, it is sufficient to
know that it is not authorized.

The client is then responsible for making any changes it needs to
based on the new attribute or lack of access.





>   such that a fileserver
> can make sure that the given FH can only be used by the given client
> host, with the same or stronger RPCSEC_GSS triples... and the server
> can also detect label changes that the client's not aware of, and it
> can make the client renew capabilities too (without the client having
> to know anything about how, beyond using the FH refresh op.  Indeed,
> the label-of-file item in the above FH construction is a sort of
> capability.  The server has the fsid and inode number, so it can find
> the file without having to have any path information, provided the
> file still exists of course.
>
> IMO this operation should be part of the core NFSv4.2.  However, I
> don't mind it being in a separate RFC (if MAC is not made part of
> 4.2).  This op is applicable outside of MAC and needs to be kept where
> implementors will notice even if they don't care about MAC.
>
> Nico
> --
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4


--------------020903050801090209020304
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    On 4/6/11 1:56 AM, Nico Williams wrote:
    <blockquote
      cite="mid:BANLkTimMtCEPf+8XtL-9+UvWKcOWzJPL-w@mail.gmail.com"
      type="cite">
      <pre wrap="">[resend... forgot to reply all.]

On Mon, Mar 28, 2011 at 10:59 AM, Dave Quigley <a class="moz-txt-link-rfc2396E" href="mailto:dpquigl@davequigley.com">&lt;dpquigl@davequigley.com&gt;</a> wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">On 3/28/2011 11:15 AM, Nico Williams wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">Regarding attribute change notification, it seems that volatile file
handles (i.e., marking the handle stale) seems almost like the best
approach here.  </pre>
        </blockquote>
      </blockquote>
    </blockquote>
    <br>
    <div class="AppleOriginalContents"><br>
    </div>
    <div class="AppleOriginalContents">Has anyone implemented volatile
      file handles in their servers?</div>
    <div class="AppleOriginalContents"><br>
    </div>
    <div class="AppleOriginalContents">
      I don't think so. I believe the Solaris client can handle them but
      that</div>
    <div class="AppleOriginalContents">the Linux client cannot.</div>
    <br>
    <br>
    <br>
    <blockquote
      cite="mid:BANLkTimMtCEPf+8XtL-9+UvWKcOWzJPL-w@mail.gmail.com"
      type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <pre wrap="">However, the way clients recover from stale
filehandles is not ideal (re-open by path).  In this case it ought to
be possible to add an operation by which to obtain a new filehandle
given a stale one.

So that's my proposal: add a new operation for re-validating
filehandles.  Inputs: old (stale) filehandle.  Outputs: new
filehandle.

This would also have the side-effect of enabling the use of
capabilities (in the traditional, non-Linux sense).
</pre>
        </blockquote>
        <pre wrap="">
I like this proposal quite a bit. I find it a lot better than re-open by
path since there is no telling if the file at that path has changed since
the handle was originally granted to us. Since this really is just a
metadata refresh and not a complete reopen then having the file change out
from under us is a bad thing. Would this be a proposal in and of itself?
Would we incorporate it into one of the other proposals?
</pre>
      </blockquote>
      <pre wrap="">
Right, it's a very natural extension.  Imagine an implementation whose
FHes consist of something like {{fsid, inode #, RPCSEC_GSS triple,
client host principal, label-of-file, capability, ...},
HMAC(server_secret_key, {fsid, inode #, ...)}</pre>
    </blockquote>
    <br>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">
      Dictating the FH format is something we have avoided up until now.
      I</div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">would prefer we not start down that route.</div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">
      <br>
    </div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">I also do&nbsp;not see the need to embed redundant
      information into it.</div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">
      I.e., the RPCSEC_GSS triple should come out of the RPC layer,</div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">the client host principal should be found
      another way, and I believe</div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">the server secret key should not be in there
      either.</div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">
      <br>
    </div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">And embedding state in the FH is a
      slippery-slope precedent.</div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">
      <br>
    </div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">The original problem statement is that we want
      to be able to inform</div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">
      the client when a label change occurs on a file it has open. If
      the</div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">file is closed, we have no need to inform the
      client.</div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">
      <br>
    </div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">NFSv4 already has a mechanism for the server
      to inform the client</div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">
      that state has changed - i.e., it can use the call back
      procedures. So</div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">there is no need to stale out the FH and no
      need for the client to try</div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">to reopen it via the path.</div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;"><br>
    </div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">
      The server detects a a label change. It doesn't need to know what
      the</div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">client was utilizing, it just needs to know
      that the client is MAC aware</div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">and wants to know a change has occurred. And
      it knows this because</div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">
      the client accepted the registration of the CB procedure. (Which
      by</div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">the way, solves another issue, how does the
      server know that the client</div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">is MAC aware?)</div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;"><br>
    </div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">
      It informs the client of the change and the client responds. Until
      the</div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">client responds, it may find that some of its
      I/O is not processed the</div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">way it expects.</div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;"><br>
    </div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">
      As the server need not store the information for the client (see
      my</div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">statement above), the server just informs the
      client of the change</div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">and not what changed. The client would be
      responsible for making</div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">
      a GETATTR call on the FH to find out the change. I.e., it would
      present</div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">a new compound to the server with its
      RPCSEC_GSS triple and</div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">other information. I'm assuming here that
      there might be a label</div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">
      that the client is not authorized to know on a file, it is
      sufficient to</div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">know that it is not authorized.</div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">
      <br>
    </div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">The client is then responsible for making any
      changes it needs to</div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;">
      based on the new attribute or lack of access.</div>
    <div class="AppleOriginalContents" style="font-family: Helvetica;
      font-size: medium;"><br>
    </div>
    <br>
    <br>
    <br>
    <br>
    <blockquote
      cite="mid:BANLkTimMtCEPf+8XtL-9+UvWKcOWzJPL-w@mail.gmail.com"
      type="cite">
      <pre wrap=""> such that a fileserver
can make sure that the given FH can only be used by the given client
host, with the same or stronger RPCSEC_GSS triples... and the server
can also detect label changes that the client's not aware of, and it
can make the client renew capabilities too (without the client having
to know anything about how, beyond using the FH refresh op.  Indeed,
the label-of-file item in the above FH construction is a sort of
capability.  The server has the fsid and inode number, so it can find
the file without having to have any path information, provided the
file still exists of course.

IMO this operation should be part of the core NFSv4.2.  However, I
don't mind it being in a separate RFC (if MAC is not made part of
4.2).  This op is applicable outside of MAC and needs to be kept where
implementors will notice even if they don't care about MAC.

Nico
--
_______________________________________________
nfsv4 mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nfsv4@ietf.org">nfsv4@ietf.org</a>
<a class="moz-txt-link-freetext" href="https://www.ietf.org/mailman/listinfo/nfsv4">https://www.ietf.org/mailman/listinfo/nfsv4</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------020903050801090209020304--

From sshepler@microsoft.com  Wed Apr  6 12:46:38 2011
Return-Path: <sshepler@microsoft.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BA0023A6981 for <nfsv4@core3.amsl.com>; Wed,  6 Apr 2011 12:46:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.503
X-Spam-Level: 
X-Spam-Status: No, score=-10.503 tagged_above=-999 required=5 tests=[AWL=0.095, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jfzUXjfF02hJ for <nfsv4@core3.amsl.com>; Wed,  6 Apr 2011 12:46:27 -0700 (PDT)
Received: from smtp.microsoft.com (mail3.microsoft.com [131.107.115.214]) by core3.amsl.com (Postfix) with ESMTP id 914F828C0ED for <nfsv4@ietf.org>; Wed,  6 Apr 2011 12:46:17 -0700 (PDT)
Received: from TK5EX14HUBC105.redmond.corp.microsoft.com (157.54.80.48) by TK5-EXGWY-E803.partners.extranet.microsoft.com (10.251.56.169) with Microsoft SMTP Server (TLS) id 8.2.176.0; Wed, 6 Apr 2011 12:48:01 -0700
Received: from TK5EX14MBXC122.redmond.corp.microsoft.com ([169.254.2.182]) by TK5EX14HUBC105.redmond.corp.microsoft.com ([157.54.80.48]) with mapi id 14.01.0270.002; Wed, 6 Apr 2011 12:48:01 -0700
From: Spencer Shepler <sshepler@microsoft.com>
To: Tom Haynes <tdh@excfb.com>, Nico Williams <nico@cryptonector.com>
Thread-Topic: [nfsv4] Response to Labeled NFS Document comments.
Thread-Index: AQHL7Tq8QEbhoBptPkKi437RHH3nO5RDUN6AgAAMS4CADY0cAIAAypcA//+WrdA=
Date: Wed, 6 Apr 2011 19:48:00 +0000
Message-ID: <E043D9D8EE3B5743B8B174A814FD584F0F09B4FF@TK5EX14MBXC122.redmond.corp.microsoft.com>
References: <4D906FEE.4080501@davequigley.com> <AANLkTi=6f1gX1oL=5TBi+9r==Yum2D=LsuzbNtL7MmLY@mail.gmail.com> <4D90B069.2050307@davequigley.com> <BANLkTimMtCEPf+8XtL-9+UvWKcOWzJPL-w@mail.gmail.com> <4D9CB874.2010402@excfb.com>
In-Reply-To: <4D9CB874.2010402@excfb.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.75]
Content-Type: multipart/alternative; boundary="_000_E043D9D8EE3B5743B8B174A814FD584F0F09B4FFTK5EX14MBXC122r_"
MIME-Version: 1.0
Cc: "nfsv4@ietf.org" <nfsv4@ietf.org>
Subject: Re: [nfsv4] Response to Labeled NFS Document comments.
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Apr 2011 19:46:38 -0000

--_000_E043D9D8EE3B5743B8B174A814FD584F0F09B4FFTK5EX14MBXC122r_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable


Unfortuntae that this SHOULD isn't a MUST:

4.3.  Client Recovery from Filehandle Expiration

   If possible, the client SHOULD recover from the receipt of an
   NFS4ERR_FHEXPIRED error.


I read Nico's suggestion as an internal implementation choice.

btw: I doesn't seem scalable to rely on callbacks to do label change
notification but we haven't even seen discussion of when and how
often that type of change is expected to occur and what the
notification timelines should be if it does.    So, it is hard to evaluate
which solution (if any) would do in solving the problem.

Spencer

From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On Behalf Of T=
om Haynes
Sent: Wednesday, April 06, 2011 12:01 PM
To: Nico Williams
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] Response to Labeled NFS Document comments.

On 4/6/11 1:56 AM, Nico Williams wrote:

[resend... forgot to reply all.]



On Mon, Mar 28, 2011 at 10:59 AM, Dave Quigley <dpquigl@davequigley.com><ma=
ilto:dpquigl@davequigley.com> wrote:

On 3/28/2011 11:15 AM, Nico Williams wrote:

Regarding attribute change notification, it seems that volatile file

handles (i.e., marking the handle stale) seems almost like the best

approach here.


Has anyone implemented volatile file handles in their servers?

I don't think so. I believe the Solaris client can handle them but that
the Linux client cannot.





However, the way clients recover from stale

filehandles is not ideal (re-open by path).  In this case it ought to

be possible to add an operation by which to obtain a new filehandle

given a stale one.



So that's my proposal: add a new operation for re-validating

filehandles.  Inputs: old (stale) filehandle.  Outputs: new

filehandle.



This would also have the side-effect of enabling the use of

capabilities (in the traditional, non-Linux sense).



I like this proposal quite a bit. I find it a lot better than re-open by

path since there is no telling if the file at that path has changed since

the handle was originally granted to us. Since this really is just a

metadata refresh and not a complete reopen then having the file change out

from under us is a bad thing. Would this be a proposal in and of itself?

Would we incorporate it into one of the other proposals?



Right, it's a very natural extension.  Imagine an implementation whose

FHes consist of something like {{fsid, inode #, RPCSEC_GSS triple,

client host principal, label-of-file, capability, ...},

HMAC(server_secret_key, {fsid, inode #, ...)}

Dictating the FH format is something we have avoided up until now. I
would prefer we not start down that route.

I also do not see the need to embed redundant information into it.
I.e., the RPCSEC_GSS triple should come out of the RPC layer,
the client host principal should be found another way, and I believe
the server secret key should not be in there either.

And embedding state in the FH is a slippery-slope precedent.

The original problem statement is that we want to be able to inform
the client when a label change occurs on a file it has open. If the
file is closed, we have no need to inform the client.

NFSv4 already has a mechanism for the server to inform the client
that state has changed - i.e., it can use the call back procedures. So
there is no need to stale out the FH and no need for the client to try
to reopen it via the path.

The server detects a a label change. It doesn't need to know what the
client was utilizing, it just needs to know that the client is MAC aware
and wants to know a change has occurred. And it knows this because
the client accepted the registration of the CB procedure. (Which by
the way, solves another issue, how does the server know that the client
is MAC aware?)

It informs the client of the change and the client responds. Until the
client responds, it may find that some of its I/O is not processed the
way it expects.

As the server need not store the information for the client (see my
statement above), the server just informs the client of the change
and not what changed. The client would be responsible for making
a GETATTR call on the FH to find out the change. I.e., it would present
a new compound to the server with its RPCSEC_GSS triple and
other information. I'm assuming here that there might be a label
that the client is not authorized to know on a file, it is sufficient to
know that it is not authorized.

The client is then responsible for making any changes it needs to
based on the new attribute or lack of access.







 such that a fileserver

can make sure that the given FH can only be used by the given client

host, with the same or stronger RPCSEC_GSS triples... and the server

can also detect label changes that the client's not aware of, and it

can make the client renew capabilities too (without the client having

to know anything about how, beyond using the FH refresh op.  Indeed,

the label-of-file item in the above FH construction is a sort of

capability.  The server has the fsid and inode number, so it can find

the file without having to have any path information, provided the

file still exists of course.



IMO this operation should be part of the core NFSv4.2.  However, I

don't mind it being in a separate RFC (if MAC is not made part of

4.2).  This op is applicable outside of MAC and needs to be kept where

implementors will notice even if they don't care about MAC.



Nico

--

_______________________________________________

nfsv4 mailing list

nfsv4@ietf.org<mailto:nfsv4@ietf.org>

https://www.ietf.org/mailman/listinfo/nfsv4


--_000_E043D9D8EE3B5743B8B174A814FD584F0F09B4FFTK5EX14MBXC122r_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";
	color:black;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";
	color:black;}
span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:Consolas;
	color:black;}
span.EmailStyle19
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor=3D"white" lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Unfortuntae that this SHO=
ULD isn&#8217;t a MUST:<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Co=
urier New&quot;;color:windowtext">4.3.&nbsp; Client Recovery from Filehandl=
e Expiration<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Co=
urier New&quot;;color:windowtext"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Co=
urier New&quot;;color:windowtext">&nbsp;&nbsp; If possible, the client SHOU=
LD recover from the receipt of an<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:windowtext">&nbsp;&nbsp; NFS4ER=
R_FHEXPIRED error.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:windowtext"><o:p>&nbsp;</o:p></=
span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">I read Nico&#8217;s sugge=
stion as an internal implementation choice.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">btw: I doesn&#8217;t seem=
 scalable to rely on callbacks to do label change<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">notification but we haven=
&#8217;t even seen discussion of when and how<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">often that type of change=
 is expected to occur and what the<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">notification timelines sh=
ould be if it does.&nbsp;&nbsp;&nbsp; So, it is hard to evaluate<o:p></o:p>=
</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">which solution (if any) w=
ould do in solving the problem.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Spencer<o:p></o:p></span>=
</p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt">
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext">From:</span></b><spa=
n style=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif=
&quot;;color:windowtext"> nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf=
.org]
<b>On Behalf Of </b>Tom Haynes<br>
<b>Sent:</b> Wednesday, April 06, 2011 12:01 PM<br>
<b>To:</b> Nico Williams<br>
<b>Cc:</b> nfsv4@ietf.org<br>
<b>Subject:</b> Re: [nfsv4] Response to Labeled NFS Document comments.<o:p>=
</o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">On 4/6/11 1:56 AM, Nico Williams wrote: <o:p></o:p><=
/p>
<pre>[resend... forgot to reply all.]<o:p></o:p></pre>
<pre><o:p>&nbsp;</o:p></pre>
<pre>On Mon, Mar 28, 2011 at 10:59 AM, Dave Quigley <a href=3D"mailto:dpqui=
gl@davequigley.com">&lt;dpquigl@davequigley.com&gt;</a> wrote:<o:p></o:p></=
pre>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<pre>On 3/28/2011 11:15 AM, Nico Williams wrote:<o:p></o:p></pre>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<pre>Regarding attribute change notification, it seems that volatile file<o=
:p></o:p></pre>
<pre>handles (i.e., marking the handle stale) seems almost like the best<o:=
p></o:p></pre>
<pre>approach here.&nbsp; <o:p></o:p></pre>
</blockquote>
</blockquote>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Has anyone implemented volatile file handles in thei=
r servers?<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">I don't think so. I believe the Solaris client can h=
andle them but that<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">the Linux client cannot.<o:p></o:p></p>
</div>
<p class=3D"MsoNormal"><br>
<br>
<br>
<br>
<o:p></o:p></p>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<pre>However, the way clients recover from stale<o:p></o:p></pre>
<pre>filehandles is not ideal (re-open by path).&nbsp; In this case it ough=
t to<o:p></o:p></pre>
<pre>be possible to add an operation by which to obtain a new filehandle<o:=
p></o:p></pre>
<pre>given a stale one.<o:p></o:p></pre>
<pre><o:p>&nbsp;</o:p></pre>
<pre>So that's my proposal: add a new operation for re-validating<o:p></o:p=
></pre>
<pre>filehandles.&nbsp; Inputs: old (stale) filehandle.&nbsp; Outputs: new<=
o:p></o:p></pre>
<pre>filehandle.<o:p></o:p></pre>
<pre><o:p>&nbsp;</o:p></pre>
<pre>This would also have the side-effect of enabling the use of<o:p></o:p>=
</pre>
<pre>capabilities (in the traditional, non-Linux sense).<o:p></o:p></pre>
</blockquote>
<pre><o:p>&nbsp;</o:p></pre>
<pre>I like this proposal quite a bit. I find it a lot better than re-open =
by<o:p></o:p></pre>
<pre>path since there is no telling if the file at that path has changed si=
nce<o:p></o:p></pre>
<pre>the handle was originally granted to us. Since this really is just a<o=
:p></o:p></pre>
<pre>metadata refresh and not a complete reopen then having the file change=
 out<o:p></o:p></pre>
<pre>from under us is a bad thing. Would this be a proposal in and of itsel=
f?<o:p></o:p></pre>
<pre>Would we incorporate it into one of the other proposals?<o:p></o:p></p=
re>
</blockquote>
<pre><o:p>&nbsp;</o:p></pre>
<pre>Right, it's a very natural extension.&nbsp; Imagine an implementation =
whose<o:p></o:p></pre>
<pre>FHes consist of something like {{fsid, inode #, RPCSEC_GSS triple,<o:p=
></o:p></pre>
<pre>client host principal, label-of-file, capability, ...},<o:p></o:p></pr=
e>
<pre>HMAC(server_secret_key, {fsid, inode #, ...)}<o:p></o:p></pre>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;">Dictating the FH format is something =
we have avoided up until now. I<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;">would prefer we not start down that r=
oute.<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;">I also do&nbsp;not see the need to em=
bed redundant information into it.<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;">I.e., the RPCSEC_GSS triple should co=
me out of the RPC layer,<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;">the client host principal should be f=
ound another way, and I believe<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;">the server secret key should not be i=
n there either.<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;">And embedding state in the FH is a sl=
ippery-slope precedent.<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;">The original problem statement is tha=
t we want to be able to inform<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;">the client when a label change occurs=
 on a file it has open. If the<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;">file is closed, we have no need to in=
form the client.<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;">NFSv4 already has a mechanism for the=
 server to inform the client<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;">that state has changed - i.e., it can=
 use the call back procedures. So<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;">there is no need to stale out the FH =
and no need for the client to try<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;">to reopen it via the path.<o:p></o:p>=
</span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;">The server detects a a label change. =
It doesn't need to know what the<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;">client was utilizing, it just needs t=
o know that the client is MAC aware<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;">and wants to know a change has occurr=
ed. And it knows this because<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;">the client accepted the registration =
of the CB procedure. (Which by<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;">the way, solves another issue, how do=
es the server know that the client<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;">is MAC aware?)<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;">It informs the client of the change a=
nd the client responds. Until the<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;">client responds, it may find that som=
e of its I/O is not processed the<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;">way it expects.<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;">As the server need not store the info=
rmation for the client (see my<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;">statement above), the server just inf=
orms the client of the change<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;">and not what changed. The client woul=
d be responsible for making<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;">a GETATTR call on the FH to find out =
the change. I.e., it would present<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;">a new compound to the server with its=
 RPCSEC_GSS triple and<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;">other information. I'm assuming here =
that there might be a label<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;">that the client is not authorized to =
know on a file, it is sufficient to<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;">know that it is not authorized.<o:p><=
/o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;">The client is then responsible for ma=
king any changes it needs to<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;">based on the new attribute or lack of=
 access.<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
</div>
<p class=3D"MsoNormal"><br>
<br>
<br>
<br>
<br>
<o:p></o:p></p>
<pre> such that a fileserver<o:p></o:p></pre>
<pre>can make sure that the given FH can only be used by the given client<o=
:p></o:p></pre>
<pre>host, with the same or stronger RPCSEC_GSS triples... and the server<o=
:p></o:p></pre>
<pre>can also detect label changes that the client's not aware of, and it<o=
:p></o:p></pre>
<pre>can make the client renew capabilities too (without the client having<=
o:p></o:p></pre>
<pre>to know anything about how, beyond using the FH refresh op.&nbsp; Inde=
ed,<o:p></o:p></pre>
<pre>the label-of-file item in the above FH construction is a sort of<o:p><=
/o:p></pre>
<pre>capability.&nbsp; The server has the fsid and inode number, so it can =
find<o:p></o:p></pre>
<pre>the file without having to have any path information, provided the<o:p=
></o:p></pre>
<pre>file still exists of course.<o:p></o:p></pre>
<pre><o:p>&nbsp;</o:p></pre>
<pre>IMO this operation should be part of the core NFSv4.2.&nbsp; However, =
I<o:p></o:p></pre>
<pre>don't mind it being in a separate RFC (if MAC is not made part of<o:p>=
</o:p></pre>
<pre>4.2).&nbsp; This op is applicable outside of MAC and needs to be kept =
where<o:p></o:p></pre>
<pre>implementors will notice even if they don't care about MAC.<o:p></o:p>=
</pre>
<pre><o:p>&nbsp;</o:p></pre>
<pre>Nico<o:p></o:p></pre>
<pre>--<o:p></o:p></pre>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>nfsv4 mailing list<o:p></o:p></pre>
<pre><a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</a><o:p></o:p></pre>
<pre><a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4">https://www.ie=
tf.org/mailman/listinfo/nfsv4</a><o:p></o:p></pre>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</body>
</html>

--_000_E043D9D8EE3B5743B8B174A814FD584F0F09B4FFTK5EX14MBXC122r_--

From nico@cryptonector.com  Wed Apr  6 13:10:27 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 52BBE3A6982 for <nfsv4@core3.amsl.com>; Wed,  6 Apr 2011 13:10:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.929
X-Spam-Level: 
X-Spam-Status: No, score=-1.929 tagged_above=-999 required=5 tests=[AWL=0.048,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KUJdJN375FCl for <nfsv4@core3.amsl.com>; Wed,  6 Apr 2011 13:10:26 -0700 (PDT)
Received: from homiemail-a30.g.dreamhost.com (caiajhbdccac.dreamhost.com [208.97.132.202]) by core3.amsl.com (Postfix) with ESMTP id 76AC53A6974 for <nfsv4@ietf.org>; Wed,  6 Apr 2011 13:10:26 -0700 (PDT)
Received: from homiemail-a30.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a30.g.dreamhost.com (Postfix) with ESMTP id 5F7C321DE6F for <nfsv4@ietf.org>; Wed,  6 Apr 2011 13:12:10 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=Zp3jHOvv+ROBegNUe6CWG2pTpSin9A0HE3q5GvfjzlQG zPAD4dSKFhqaeSkFP/oE6fWKKZETD5xtc2prK+nAfMW3VrwSMSUWyg1HSFJ1/ACm PiwW0v27sfEhqYeBWyzwppsYYgJJqCnI6AB+l1RROr0eu44SBXT2WPIXwRIP59E=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=+zYLpqTAyYOM8fP/EQvlstSKRD0=; b=ZEmieHXM81L eS97OfaP0iNRn0qStofcz4fxGZzq9MLDewXKtVr49qSJHpAFwAQpyFHzVI4JUT6g Eki+Fr2rjIb4ltil9lal9YF5JuA1mZHSdN0iK8LEeh8Ip691esX0/gMeXONGn76n gIpnttd1qgWY+k25RGTplvsV3x/Fy+aY=
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a30.g.dreamhost.com (Postfix) with ESMTPSA id 1E99821DE6A for <nfsv4@ietf.org>; Wed,  6 Apr 2011 13:12:10 -0700 (PDT)
Received: by vxg33 with SMTP id 33so1730574vxg.31 for <nfsv4@ietf.org>; Wed, 06 Apr 2011 13:12:09 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.68.65 with SMTP id u1mr34755vdt.310.1302120729531; Wed, 06 Apr 2011 13:12:09 -0700 (PDT)
Received: by 10.52.157.100 with HTTP; Wed, 6 Apr 2011 13:12:09 -0700 (PDT)
In-Reply-To: <4D9CB874.2010402@excfb.com>
References: <4D906FEE.4080501@davequigley.com> <AANLkTi=6f1gX1oL=5TBi+9r==Yum2D=LsuzbNtL7MmLY@mail.gmail.com> <4D90B069.2050307@davequigley.com> <BANLkTimMtCEPf+8XtL-9+UvWKcOWzJPL-w@mail.gmail.com> <4D9CB874.2010402@excfb.com>
Date: Wed, 6 Apr 2011 15:12:09 -0500
Message-ID: <BANLkTimhYpeQADG2Qa4TBXtBT3ZFWGT3Sw@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Tom Haynes <tdh@excfb.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: "nfsv4@ietf.org" <nfsv4@ietf.org>
Subject: Re: [nfsv4] Response to Labeled NFS Document comments.
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Apr 2011 20:10:27 -0000

On Wed, Apr 6, 2011 at 2:01 PM, Tom Haynes <tdh@excfb.com> wrote:
> On 4/6/11 1:56 AM, Nico Williams wrote:
> On Mon, Mar 28, 2011 at 10:59 AM, Dave Quigley <dpquigl@davequigley.com>
> wrote:
> On 3/28/2011 11:15 AM, Nico Williams wrote:
>
> Regarding attribute change notification, it seems that volatile file
> handles (i.e., marking the handle stale) seems almost like the best
> approach here.
>
> Has anyone implemented volatile file handles in their servers?
> I don't think so. I believe the Solaris client can handle them but that
> the Linux client cannot.

They're there for filesystems like FAT.  Perhaps one of the Windows
implementations has it.

Nico> Right, it's a very natural extension.  Imagine an implementation whos=
e
Nico> FHes consist of something like {{fsid, inode #, RPCSEC_GSS triple,
Nico> client host principal, label-of-file, capability, ...},
Nico> HMAC(server_secret_key, {fsid, inode #, ...)}
>
> Dictating the FH format is something we have avoided up until now. I
> would prefer we not start down that route.

I was dictating that?  What part of "imagine an _implementation_ whose
FHes consist of ..." dictates anything?  :)

> I also do=C2=A0not see the need to embed redundant information into it.
> I.e., the RPCSEC_GSS triple should come out of the RPC layer,
> the client host principal should be found another way, and I believe
> the server secret key should not be in there either.

This would be much easier to explain in person... or on the phone.

Nico
--

From nico@cryptonector.com  Wed Apr  6 13:17:43 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DF38C3A6992 for <nfsv4@core3.amsl.com>; Wed,  6 Apr 2011 13:17:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.93
X-Spam-Level: 
X-Spam-Status: No, score=-1.93 tagged_above=-999 required=5 tests=[AWL=0.047,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0e8Tc1ROthrZ for <nfsv4@core3.amsl.com>; Wed,  6 Apr 2011 13:17:43 -0700 (PDT)
Received: from homiemail-a64.g.dreamhost.com (caiajhbdcbef.dreamhost.com [208.97.132.145]) by core3.amsl.com (Postfix) with ESMTP id 2BEBC3A6995 for <nfsv4@ietf.org>; Wed,  6 Apr 2011 13:17:43 -0700 (PDT)
Received: from homiemail-a64.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a64.g.dreamhost.com (Postfix) with ESMTP id 4F0AC43807E for <nfsv4@ietf.org>; Wed,  6 Apr 2011 13:19:27 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=ezYbljrkqPyamDSMzDEiVpXNqRpyf+jA6Q3BVYeqFXtu lfk/xqSeQvQ2r7zk7IVCJW241oJ/99nItsNsYV1xCreQeY7fKXe0JQBkb1/eolO4 EIwBTRIO16nFThWt90JxuOhaogW/UILPvnMFi/vygcctrDORz4Hj1ihnAdSQQJw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=m4BXkVAC2Z6A3gv200qHeyW4r2w=; b=YokgaXWncHb oZPaXwCmliYrPPCRWt6i7F3IdYUa+9SzdgV8KsCiGWYIpJJxMOOVSusWwR3U3Ryn jyzuMNc83xhVlHvq9KavSjiVvzXEHYnf/ET9EUSm0r33+qGpYQv3nea0HRDued5J dibDVc8YdETY+HKiyP+IE9qrUNWaL0Cw=
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a64.g.dreamhost.com (Postfix) with ESMTPSA id 230DC43807C for <nfsv4@ietf.org>; Wed,  6 Apr 2011 13:19:27 -0700 (PDT)
Received: by vxg33 with SMTP id 33so1736433vxg.31 for <nfsv4@ietf.org>; Wed, 06 Apr 2011 13:19:26 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.92.144 with SMTP id cm16mr94884vdb.30.1302121166530; Wed, 06 Apr 2011 13:19:26 -0700 (PDT)
Received: by 10.52.157.100 with HTTP; Wed, 6 Apr 2011 13:19:26 -0700 (PDT)
In-Reply-To: <E043D9D8EE3B5743B8B174A814FD584F0F09B4FF@TK5EX14MBXC122.redmond.corp.microsoft.com>
References: <4D906FEE.4080501@davequigley.com> <AANLkTi=6f1gX1oL=5TBi+9r==Yum2D=LsuzbNtL7MmLY@mail.gmail.com> <4D90B069.2050307@davequigley.com> <BANLkTimMtCEPf+8XtL-9+UvWKcOWzJPL-w@mail.gmail.com> <4D9CB874.2010402@excfb.com> <E043D9D8EE3B5743B8B174A814FD584F0F09B4FF@TK5EX14MBXC122.redmond.corp.microsoft.com>
Date: Wed, 6 Apr 2011 15:19:26 -0500
Message-ID: <BANLkTinFJaq9D_q0h-_TuNp3K_+QFfW1Eg@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Spencer Shepler <sshepler@microsoft.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: "nfsv4@ietf.org" <nfsv4@ietf.org>
Subject: Re: [nfsv4] Response to Labeled NFS Document comments.
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Apr 2011 20:17:44 -0000

On Wed, Apr 6, 2011 at 2:48 PM, Spencer Shepler <sshepler@microsoft.com> wr=
ote:
> I read Nico=E2=80=99s suggestion as an internal implementation choice.

Indeed :)

> btw: I doesn=E2=80=99t seem scalable to rely on callbacks to do label cha=
nge
> notification but we haven=E2=80=99t even seen discussion of when and how
> often that type of change is expected to occur and what the
> notification timelines should be if it does.=C2=A0=C2=A0=C2=A0 So, it is =
hard to evaluate
> which solution (if any) would do in solving the problem.

Filesystem object labels should change very infrequently.  Process
(subject) labels could change very frequently (SElinux) or not very
frequently at all (all other MAC systems).

However, object label changes will generally require immediate
revocation (whenever the new label does not dominate the old label,
which is to say: always for Smack, almost always in all other cases,
since declassification is a rare event compared to classification).
The only way I can think of at the moment to reliably achieve
synchronous object label updates in pNFS is via MDS->DS communication.

Using renewable capabilities has the benefit that there is no need to
callback the clients when an object's label changes: they'll find out
when they next try to access that object, and then they'll try to
refresh the capability for it, and if that fails, they'll give up.
This scales somewhat better than calling back all clients with
outstanding opens, which is what I think you were referring to.

Nico
--

From nico@cryptonector.com  Wed Apr  6 13:26:57 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1791E3A69C3 for <nfsv4@core3.amsl.com>; Wed,  6 Apr 2011 13:26:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.93
X-Spam-Level: 
X-Spam-Status: No, score=-1.93 tagged_above=-999 required=5 tests=[AWL=0.047,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oNr8puMJq1UI for <nfsv4@core3.amsl.com>; Wed,  6 Apr 2011 13:26:56 -0700 (PDT)
Received: from homiemail-a28.g.dreamhost.com (caiajhbdccah.dreamhost.com [208.97.132.207]) by core3.amsl.com (Postfix) with ESMTP id 5B8F73A67A2 for <nfsv4@ietf.org>; Wed,  6 Apr 2011 13:26:56 -0700 (PDT)
Received: from homiemail-a28.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a28.g.dreamhost.com (Postfix) with ESMTP id 95E271B406F for <nfsv4@ietf.org>; Wed,  6 Apr 2011 13:28:40 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=yyYhhV6qrghgV1SRaiWnRq1SNEUlhZ87lPLx6+VST+AO J0NIYTXwTQwGCzbmkpGqYyLqQcOgojH8xKYLtTnRYp3+jYU3gTAEiY5whFFcaNpM YylLAZq8o3Zaw803YNjHy6R8cEjrOXlnkpBi+si4jOfPUdW5X2sfOFYSIBPh2cA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=1idV94w62RL0LezwDoKaN54IAaU=; b=vc4e4MRfU0M BuzktXblinWx49vErr3qw5jcpuRWPBUXOVVWaXInx4jMmJ7VpG8wPvAsL3OPKsBg AU3ZvygQke7PoNRwxteIiwmj1tZZQoSq1H7pxmXPUcU1CrlUa2eIaZXj1IzufyR+ Bhl0wVnvt9tsZ1fxGzCF3XJL32yRHXM0=
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a28.g.dreamhost.com (Postfix) with ESMTPSA id 631B51B406B for <nfsv4@ietf.org>; Wed,  6 Apr 2011 13:28:40 -0700 (PDT)
Received: by vws12 with SMTP id 12so1767623vws.31 for <nfsv4@ietf.org>; Wed, 06 Apr 2011 13:28:39 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.92.144 with SMTP id cm16mr108382vdb.30.1302121719673; Wed, 06 Apr 2011 13:28:39 -0700 (PDT)
Received: by 10.52.157.100 with HTTP; Wed, 6 Apr 2011 13:28:39 -0700 (PDT)
In-Reply-To: <BANLkTimhYpeQADG2Qa4TBXtBT3ZFWGT3Sw@mail.gmail.com>
References: <4D906FEE.4080501@davequigley.com> <AANLkTi=6f1gX1oL=5TBi+9r==Yum2D=LsuzbNtL7MmLY@mail.gmail.com> <4D90B069.2050307@davequigley.com> <BANLkTimMtCEPf+8XtL-9+UvWKcOWzJPL-w@mail.gmail.com> <4D9CB874.2010402@excfb.com> <BANLkTimhYpeQADG2Qa4TBXtBT3ZFWGT3Sw@mail.gmail.com>
Date: Wed, 6 Apr 2011 15:28:39 -0500
Message-ID: <BANLkTi=acoxk9bw6yypH-CSHftntXrCcOg@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Tom Haynes <tdh@excfb.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: "nfsv4@ietf.org" <nfsv4@ietf.org>
Subject: Re: [nfsv4] Response to Labeled NFS Document comments.
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Apr 2011 20:26:57 -0000

On Wed, Apr 6, 2011 at 3:12 PM, Nico Williams <nico@cryptonector.com> wrote=
:
> On Wed, Apr 6, 2011 at 2:01 PM, Tom Haynes <tdh@excfb.com> wrote:
>> On 4/6/11 1:56 AM, Nico Williams wrote:
>> I also do=C2=A0not see the need to embed redundant information into it.
>> I.e., the RPCSEC_GSS triple should come out of the RPC layer,
>> the client host principal should be found another way, and I believe
>> the server secret key should not be in there either.
>
> This would be much easier to explain in person... or on the phone.

Well, I'll try in e-mail.  If you look at the private FH layout I
posited again you'll see that it looked like:

{{fsid, inode #, RPCSEC_GSS triple, client host principal,
label-of-file, ...}, HMAC(server_secret_key, {fsid, inode #, ...)}

This is not unlike many HTTP cookie layouts.  It's what in some
circles is called a "capability", which used to mean something like
this prior to Linux naming its fine-grained privileges "capabilities".

I was discussing that in the context of RPCSEC_GSS, and, really, v_3_,
which has a compound context feature that multi-user clients _really_
should want to use.  This means that there will always be a client
host principal involved.  But OK, assume there isn't one, so remove
that from the FH layout, and it becomes a weaker cookie than it was
before -- no big deal, really, _as long as_ confidentiality protection
is used.

Note that there's NO state in that imagined FH layout.

Nico
--

From Tom.Haynes@netapp.com  Wed Apr  6 14:25:56 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 237E83A6956 for <nfsv4@core3.amsl.com>; Wed,  6 Apr 2011 14:25:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.481
X-Spam-Level: 
X-Spam-Status: No, score=-10.481 tagged_above=-999 required=5 tests=[AWL=0.118, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VEY2D286kPHp for <nfsv4@core3.amsl.com>; Wed,  6 Apr 2011 14:25:55 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by core3.amsl.com (Postfix) with ESMTP id DF75F3A67D3 for <nfsv4@ietf.org>; Wed,  6 Apr 2011 14:25:54 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.63,312,1299484800"; d="scan'208";a="539354121"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 06 Apr 2011 14:27:23 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p36LRNNA015749; Wed, 6 Apr 2011 14:27:23 -0700 (PDT)
Received: from rtprsexc2-prd.hq.netapp.com ([10.100.161.115]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 6 Apr 2011 14:27:23 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 6 Apr 2011 17:27:22 -0400
Received: from maute-lxp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 6 Apr 2011 17:27:22 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <BANLkTi=acoxk9bw6yypH-CSHftntXrCcOg@mail.gmail.com>
Date: Wed, 6 Apr 2011 16:27:20 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <9A279E56-921D-43CD-932D-585CE4C63EDD@netapp.com>
References: <4D906FEE.4080501@davequigley.com> <AANLkTi=6f1gX1oL=5TBi+9r==Yum2D=LsuzbNtL7MmLY@mail.gmail.com> <4D90B069.2050307@davequigley.com> <BANLkTimMtCEPf+8XtL-9+UvWKcOWzJPL-w@mail.gmail.com> <4D9CB874.2010402@excfb.com> <BANLkTimhYpeQADG2Qa4TBXtBT3ZFWGT3Sw@mail.gmail.com> <BANLkTi=acoxk9bw6yypH-CSHftntXrCcOg@mail.gmail.com>
To: Nico Williams <nico@cryptonector.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 06 Apr 2011 21:27:22.0330 (UTC) FILETIME=[6A7733A0:01CBF4A1]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] Response to Labeled NFS Document comments.
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Apr 2011 21:25:56 -0000

On Apr 6, 2011, at 3:28 PM, Nico Williams wrote:

> On Wed, Apr 6, 2011 at 3:12 PM, Nico Williams <nico@cryptonector.com> =
wrote:
>> On Wed, Apr 6, 2011 at 2:01 PM, Tom Haynes <tdh@excfb.com> wrote:
>>> On 4/6/11 1:56 AM, Nico Williams wrote:
>>> I also do not see the need to embed redundant information into it.
>>> I.e., the RPCSEC_GSS triple should come out of the RPC layer,
>>> the client host principal should be found another way, and I believe
>>> the server secret key should not be in there either.
>>=20
>> This would be much easier to explain in person... or on the phone.
>=20
> Well, I'll try in e-mail.  If you look at the private FH layout I
> posited again you'll see that it looked like:
>=20
> {{fsid, inode #, RPCSEC_GSS triple, client host principal,
> label-of-file, ...}, HMAC(server_secret_key, {fsid, inode #, ...)}
>=20
> This is not unlike many HTTP cookie layouts.  It's what in some
> circles is called a "capability", which used to mean something like
> this prior to Linux naming its fine-grained privileges "capabilities".
>=20
> I was discussing that in the context of RPCSEC_GSS, and, really, v_3_,
> which has a compound context feature that multi-user clients _really_
> should want to use.  This means that there will always be a client
> host principal involved.  But OK, assume there isn't one, so remove
> that from the FH layout, and it becomes a weaker cookie than it was
> before -- no big deal, really, _as long as_ confidentiality protection
> is used.
>=20
> Note that there's NO state in that imagined FH layout.
>=20


If the RPCSEC_GSS triple and label-of-file can change, then
they are state.

Your proposal is to use a FH renew to update at least the label-of-file.


> Nico
> --
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4


From nico@cryptonector.com  Wed Apr  6 15:16:19 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id AFE3E3A695E for <nfsv4@core3.amsl.com>; Wed,  6 Apr 2011 15:16:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.931
X-Spam-Level: 
X-Spam-Status: No, score=-1.931 tagged_above=-999 required=5 tests=[AWL=0.046,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id w2K-FSQ3js1q for <nfsv4@core3.amsl.com>; Wed,  6 Apr 2011 15:16:19 -0700 (PDT)
Received: from homiemail-a33.g.dreamhost.com (caiajhbdcahe.dreamhost.com [208.97.132.74]) by core3.amsl.com (Postfix) with ESMTP id 118B63A67E9 for <nfsv4@ietf.org>; Wed,  6 Apr 2011 15:16:19 -0700 (PDT)
Received: from homiemail-a33.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a33.g.dreamhost.com (Postfix) with ESMTP id 4BCE7594061 for <nfsv4@ietf.org>; Wed,  6 Apr 2011 15:18:03 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=IpZBy9o4sfSEoTfN5IkcA plBVJ7KMS7WJtWCsBvMB+c8r4Q3Nzj7gLrhEOaS3gy0Z6zh6w6ayvzp/GE4tCBUD MM1Iajis3dbnFfvC0ly0gNL2wttX22B47pnRISGeAiVYblw/Fj4Ods3KQOHzto7t CmcDG+Tg+G1qjlEORHFas8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=2oR0klylGUItHSf5rc/V 8Y+RSA0=; b=wYvhDMasJdTd0DNIIDd+lEVOzsXyEgeKvX0w4Fv6QjHyxOhvQwJN Tmf3RseWUA6uVOnscqodHgQTBCkmGNOFp4MYeKodmPrwXR3CLc3Tef2htIXlcbYJ sJV8/7BC91SCqVKO7ZJOHo+3xGOcYd0dfteDCnB5V9wlh+Q7iCtc+ps=
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a33.g.dreamhost.com (Postfix) with ESMTPSA id 1F994594058 for <nfsv4@ietf.org>; Wed,  6 Apr 2011 15:18:03 -0700 (PDT)
Received: by vws12 with SMTP id 12so1846777vws.31 for <nfsv4@ietf.org>; Wed, 06 Apr 2011 15:18:02 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.0.200 with SMTP id 8mr256563vdg.70.1302128282424; Wed, 06 Apr 2011 15:18:02 -0700 (PDT)
Received: by 10.52.157.100 with HTTP; Wed, 6 Apr 2011 15:18:02 -0700 (PDT)
In-Reply-To: <9A279E56-921D-43CD-932D-585CE4C63EDD@netapp.com>
References: <4D906FEE.4080501@davequigley.com> <AANLkTi=6f1gX1oL=5TBi+9r==Yum2D=LsuzbNtL7MmLY@mail.gmail.com> <4D90B069.2050307@davequigley.com> <BANLkTimMtCEPf+8XtL-9+UvWKcOWzJPL-w@mail.gmail.com> <4D9CB874.2010402@excfb.com> <BANLkTimhYpeQADG2Qa4TBXtBT3ZFWGT3Sw@mail.gmail.com> <BANLkTi=acoxk9bw6yypH-CSHftntXrCcOg@mail.gmail.com> <9A279E56-921D-43CD-932D-585CE4C63EDD@netapp.com>
Date: Wed, 6 Apr 2011 17:18:02 -0500
Message-ID: <BANLkTim9ejms5Cq0mvBvqKWXrNAvpqQOUg@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Thomas Haynes <thomas@netapp.com>
Content-Type: text/plain; charset=UTF-8
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] Response to Labeled NFS Document comments.
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Apr 2011 22:16:19 -0000

On Wed, Apr 6, 2011 at 4:27 PM, Thomas Haynes <thomas@netapp.com> wrote:
> If the RPCSEC_GSS triple and label-of-file can change, then
> they are state.

You can call it state, but this is actually desirable, very desirable.
 In the case of the RPCSEC_GSS triple it protects the capability from
misuse.  In the case of the file's label: we absolutely want the
client to go refresh its capabilityif the file's label changes.

> Your proposal is to use a FH renew to update at least the label-of-file.

Yes.  I consider that highly desirable.

(There's also the HMAC key to go update too.)

From jarrett.lu@oracle.com  Thu Apr  7 06:27:43 2011
Return-Path: <jarrett.lu@oracle.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 521893A6918 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 06:27:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.598
X-Spam-Level: 
X-Spam-Status: No, score=-6.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lBUQDuf12jUV for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 06:27:32 -0700 (PDT)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id A61663A690F for <nfsv4@ietf.org>; Thu,  7 Apr 2011 06:27:31 -0700 (PDT)
Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p37DTDh1027946 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 7 Apr 2011 13:29:14 GMT
Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p37DTCsb023785 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 7 Apr 2011 13:29:12 GMT
Received: from abhmt019.oracle.com (abhmt019.oracle.com [141.146.116.28]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p37DTBFo014670; Thu, 7 Apr 2011 08:29:11 -0500
Received: from [10.7.250.145] (/10.7.250.145) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 07 Apr 2011 06:29:11 -0700
Message-ID: <4D9DBC25.7000409@oracle.com>
Date: Thu, 07 Apr 2011 06:29:09 -0700
From: Jarrett Lu <jarrett.lu@oracle.com>
User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.2.13) Gecko/20110214 Lightning/1.0b2 Thunderbird/3.1.7
MIME-Version: 1.0
To: david.black@emc.com
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com>
In-Reply-To: <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com>
Content-Type: multipart/alternative; boundary="------------060708020005030606050207"
X-Source-IP: acsmt357.oracle.com [141.146.40.157]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090202.4D9DBC29.0098:SCFSTAT5015188,ss=1,fgs=0
Cc: sfaibish@popimap.lss.emc.com, kathleen.moriarty@emc.com, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: jarrett.lu@oracle.com
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 13:27:43 -0000

This is a multi-part message in MIME format.
--------------060708020005030606050207
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Still catching up with email after a few days of vacation...

On 04/ 4/11 08:31 AM, david.black@emc.com wrote:
>
> Pulling selected items out of Jarret's email:
>
>
> [C]
>
> >   - Mechanism to allow systems to advertise MAC attributes support
> >       Negotiated by requesting supported attributes from server 
> (EXCHANGE_ID)
> >       May turn off support by not requesting attribute.
>
> >
> > Based on the known use cases, how sophisticated does this 
> negotiation need to be? It's conceivable that a MAC
>
> > system may be capable of supporting more than one label format. Is 
> there a need for a system to express its full
>
> > capability (e.g. I understand LSF 5 and 7)? BTW, the use cases that 
> I know don't require that level of complexity.
>
> If there's a mismatch, client will discover quickly when a retrieved 
> label has the wrong LFS value.  This is indicative of a serious 
> security misconfiguration (e.g., client SHOULD disconnect if an LFS 
> value is unexpected).
>
> In the other direction, how does a client announce whether it's MAC 
> capable?  Note that this would be a config check mechanism (e.g., 
> accidentally connected a non-MAC client to a MAC server that it's not 
> supposed to talk to), **not** a security mechanism, because a 
> malicious client will lie.
>

I know one implementation which punted that problem entirely to 
configuration. By looking up some database, a MAC aware client knows 
whether the server is MAC aware and communicate with the server 
appropriately according to its MAC awareness. I think that was sensible 
because there was no MAC label support in NFS protocol. Now we are 
adding MAC label support. I think it'd be nice to add protocol support 
for this negotiation. I don't know all the implications of doing that, 
e.g. additional protocol complexity, compatibility, etc.. In MAC 
awareness world, it's desirable to know something about the party you 
communicate with, even when operating in a trusted environment. On the 
other hand, we are not aiming to support interoperability between 
different security models. I'm OK with "leaving negotiation as part of 
configuration". I just want some NFS expert opinion on this. The most 
critical part of the extension is to be able to express MAC label of a 
file system object.

> [D]
>
> >   - Add text to better define support of full mode MAC security as 
> implementation
> >     recommendations for servers not mandating it but rather MAY be 
> implemented.
>
> >
> > I thought about this a bit more after the meeting. The protocol 
> extension should be made to support full mode. I believe
>
> > users who really care about MAC security want to operate in full mode.
>
> This looks like violent agreement, at least to me.  IMHO, as long as 
> the protocol extension supports full MAC mode, but server 
> implementation of MAC is optional (MAY or a qualified SHOULD, not 
> MUST), I think everyone may be happy -- a user who wants MAC server 
> support configures the server to support MAC and perhaps also the 
> clients to check for that support.  In general, it looks like server 
> MAC enforcement is a mostly transparent add-on for MAC-enabled clients 
> (and ditto for MAC-ignorant clients).
>

I also think we are in agreement. Just want to rephrase it so it's clear 
to everyone. By "protocol extension supports full mode", we mean adding 
a MAC label attribute. MAC ignorant client and server can get/set the 
label attribute but does not interpret it or apply MAC policy based on 
it. MAC aware client and server can be configured to interpret label 
attributes and enforce MAC policy based on label attributes.

> [E]
>
> >         # full mode for pNFS
>
> >
> > If MAC negotiation/checks only happens between clients and MDS, this 
> should work for pNFS, right?
>
> Not necessarily, because pNFS bypasses the server, and hence bypasses 
> any server MAC checks ;-).  If the client is making MAC checks, the 
> pNFS metadata server is making MAC checks, but one or more of the pNFS 
> data servers is/are not, the "users who really care about MAC 
> security" may not be happy.  Addressing this might just involve 
> explaining what happens and recommending that people not do things 
> that may not work out well (e.g., "users who really care about MAC 
> security" SHOULD NOT use MAC-incapable data servers -- for the pNFS 
> block layout, I think this is a specific case of a "SHOULD NOT" 
> security caution that's already in RFC 5663).
>

I agree with the security warning. I'm more interested in the full mode 
pNFS, which I don't know enough about. Can this MAC label extension be 
used for client/DS , and MDS/DS, communication?

> [F]
>
> >        # delegations (directory and files?)
>
> > Given MAC clients and MAC server are supposed to perform independent 
> policy enforcement, the delegation
>
> > feature probably does not make sense.
>
> IMHO, file delegation is probably ok (server MAC check covering file 
> access probably suffices for delegation).  OTOH, directory delegation 
> is problematic, and I would have no problem for 4.2 if we said that 
> directory delegation SHOULD NOT (or even MUST NOT?) be used w/MAC, 
> which is a step towards:
>

I need to learn more about the difference between file and directory 
delegation. My original thinking was that a MAC server may need to 
consult a policy module to know whether an access to a file can be 
granted. If the file is delegated to a client, there may not be a way to 
transfer that knowledge to client.

> > 5. Add a section addressing the delegations and explain why delegations
> >    are non-goals for 4.2 and what will be the roadmap for adding 
> delegation
> >    support in future versions.
>
> [G]
>
> > 7. Add explanation on the issues related to root protection and/or 
> recommendation
>
> >    how to solve them in the server (or and client)
>
> >
> > I don't understand this. Is this related to prevention of privilege 
> escalation?
>
> No, some of the implementations apparently allow the root directory to 
> be listed without MAC checks for reasons that I'll leave to the 
> implementers to explain.  Something would be needed in the sequence of 
> operations at mount time, or a recommendation for a workaround where 
> the mounted root directory contains only one entry that is the logical 
> root of the MAC-controlled filesytem (e.g., "secure_root" is the only 
> directory entry in the mounted directory).  Listing that entry should 
> be relatively harmless.
>

I see. Thanks.

- Jarrett

> Thanks,
> --David
>
>


--------------060708020005030606050207
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Still catching up with email after a few days of vacation...<br>
    <br>
    On 04/ 4/11 08:31 AM, <a class="moz-txt-link-abbreviated" href="mailto:david.black@emc.com">david.black@emc.com</a> wrote:
    <blockquote
      cite="mid:7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 12 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";
	color:black;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Courier New";
	color:black;
	font-weight:normal;
	font-style:normal;
	text-decoration:none none;}
span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:"Courier New";}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span style="font-size: 10pt; font-family:
            &quot;Courier New&quot;;">Pulling selected items out of
            Jarret&#8217;s email:<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 10pt; font-family:
            &quot;Courier New&quot;;"><o:p> <br>
            </o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 10pt; font-family:
            &quot;Courier New&quot;;"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 10pt; font-family:
            &quot;Courier New&quot;;">[C]</span><span style="font-size:
            10pt; font-family: &quot;Courier New&quot;;"><o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 10pt; font-family:
            &quot;Courier New&quot;;"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal">&gt;&nbsp;&nbsp; - Mechanism to allow systems to
          advertise MAC attributes support <br>
          &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Negotiated by requesting supported attributes from
          server (EXCHANGE_ID) <br>
          &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; May turn off support by not requesting attribute. <o:p></o:p></p>
        <p class="MsoNormal">&gt;<br>
          &gt; Based on the known use cases, how sophisticated does this
          negotiation need to be? It's conceivable that a MAC<o:p></o:p></p>
        <p class="MsoNormal">&gt; system may be capable of supporting
          more than one label format. Is there a need for a system to
          express its full<o:p></o:p></p>
        <p class="MsoNormal">&gt; capability (e.g. I understand LSF 5
          and 7)? BTW, the use cases that I know don't require that
          level of complexity.<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal"><span style="font-size: 10pt; font-family:
            &quot;Courier New&quot;;">If there&#8217;s a mismatch, client will
            discover quickly when a retrieved label has the wrong LFS
            value.&nbsp; This is indicative of a serious security
            misconfiguration (e.g., client SHOULD disconnect if an LFS
            value is unexpected).<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 10pt; font-family:
            &quot;Courier New&quot;;"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 10pt; font-family:
            &quot;Courier New&quot;;">In the other direction, how does a
            client announce whether it&#8217;s MAC capable?&nbsp; Note that this
            would be a config check mechanism (e.g., accidentally
            connected a non-MAC client to a MAC server that it&#8217;s not
            supposed to talk to), *<b>not</b>* a security mechanism,
            because a malicious client will lie.</span></p>
      </div>
    </blockquote>
    <br>
    I know one implementation which punted that problem entirely to
    configuration. By looking up some database, a MAC aware client knows
    whether the server is MAC aware and communicate with the server
    appropriately according to its MAC awareness. I think that was
    sensible because there was no MAC label support in NFS protocol. Now
    we are adding MAC label support. I think it'd be nice to add
    protocol support for this negotiation. I don't know all the
    implications of doing that, e.g. additional protocol complexity,
    compatibility, etc.. In MAC awareness world, it's desirable to know
    something about the party you communicate with, even when operating
    in a trusted environment. On the other hand, we are not aiming to
    support interoperability between different security models. I'm OK
    with "leaving negotiation as part of configuration". I just want
    some NFS expert opinion on this. The most critical part of the
    extension is to be able to express MAC label of a file system
    object.<br>
    <br>
    <blockquote
      cite="mid:7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com"
      type="cite">
      <div class="WordSection1">
        <p class="MsoNormal"><span style="font-size: 10pt; font-family:
            &quot;Courier New&quot;;"><o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 10pt; font-family:
            &quot;Courier New&quot;;"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 10pt; font-family:
            &quot;Courier New&quot;;">[D]</span><span style="font-size:
            10pt; font-family: &quot;Courier New&quot;;"><o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 10pt; font-family:
            &quot;Courier New&quot;;"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal">&gt; &nbsp; - Add text to better define support
          of full mode MAC security as implementation <br>
          &gt;&nbsp;&nbsp;&nbsp;&nbsp; recommendations for servers not mandating it but
          rather MAY be implemented. <o:p></o:p></p>
        <p class="MsoNormal">&gt; <br>
          &gt; I thought about this a bit more after the meeting. The
          protocol extension should be made to support full mode. I
          believe<o:p></o:p></p>
        <p class="MsoNormal">&gt; users who really care about MAC
          security want to operate in full mode.<span style="font-size:
            10pt; font-family: &quot;Courier New&quot;;"><o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 10pt; font-family:
            &quot;Courier New&quot;;"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 10pt; font-family:
            &quot;Courier New&quot;;">This looks like violent agreement,
            at least to me.&nbsp; IMHO, as long as the protocol extension
            supports full MAC mode, but server implementation of MAC is
            optional (MAY or a qualified SHOULD, not MUST), I think
            everyone may be happy &#8211; a user who wants MAC server support
            configures the server to support MAC and perhaps also the
            clients to check for that support.&nbsp; In general, it looks
            like server MAC enforcement is a mostly transparent add-on
            for MAC-enabled clients (and ditto for MAC-ignorant
            clients).</span></p>
      </div>
    </blockquote>
    <br>
    I also think we are in agreement. Just want to rephrase it so it's
    clear to everyone. By "protocol extension supports full mode", we
    mean adding a MAC label attribute. MAC ignorant client and server
    can get/set the label attribute but does not interpret it or apply
    MAC policy based on it. MAC aware client and server can be
    configured to interpret label attributes and enforce MAC policy
    based on label attributes.<br>
    <br>
    <blockquote
      cite="mid:7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com"
      type="cite">
      <div class="WordSection1">
        <p class="MsoNormal"><span style="font-size: 10pt; font-family:
            &quot;Courier New&quot;;"><o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 10pt; font-family:
            &quot;Courier New&quot;;"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 10pt; font-family:
            &quot;Courier New&quot;;">[E]</span><span style="font-size:
            10pt; font-family: &quot;Courier New&quot;;"><o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 10pt; font-family:
            &quot;Courier New&quot;;"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 10pt; font-family:
            &quot;Courier New&quot;;">&gt; </span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # full mode
          for pNFS <o:p></o:p></p>
        <p class="MsoNormal">&gt;<br>
          &gt; If MAC negotiation/checks only happens between clients
          and MDS, this should work for pNFS, right?<o:p></o:p></p>
        <p class="MsoNormal"><span style="font-size: 10pt; font-family:
            &quot;Courier New&quot;;"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 10pt; font-family:
            &quot;Courier New&quot;;">Not necessarily, because pNFS
            bypasses the server, and hence bypasses any server MAC
            checks ;-).&nbsp; If the client is making MAC checks, the pNFS
            metadata server is making MAC checks, but one or more of the
            pNFS data servers is/are not, the &#8220;users who really care
            about MAC security&#8221; may not be happy.&nbsp; Addressing this might
            just involve explaining what happens and recommending that
            people not do things that may not work out well (e.g.,
            &#8220;users who really care about MAC security&#8221; SHOULD NOT use
            MAC-incapable data servers &#8211; for the pNFS block layout, I
            think this is a specific case of a &#8220;SHOULD NOT&#8221; security
            caution that&#8217;s already in RFC 5663).</span></p>
      </div>
    </blockquote>
    <br>
    I agree with the security warning. I'm more interested in the full
    mode pNFS, which I don't know enough about. Can this MAC label
    extension be used for client/DS , and MDS/DS, communication? <br>
    <br>
    <blockquote
      cite="mid:7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com"
      type="cite">
      <div class="WordSection1">
        <p class="MsoNormal"><span style="font-size: 10pt; font-family:
            &quot;Courier New&quot;;"><o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 10pt; font-family:
            &quot;Courier New&quot;;"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 10pt; font-family:
            &quot;Courier New&quot;;">[F]</span><span style="font-size:
            10pt; font-family: &quot;Courier New&quot;;"><o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 10pt; font-family:
            &quot;Courier New&quot;;"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal">&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # delegations (directory and
          files?) <o:p></o:p></p>
        <p class="MsoNormal">&gt; Given MAC clients and MAC server are
          supposed to perform independent policy enforcement, the
          delegation<o:p></o:p></p>
        <p class="MsoNormal">&gt; feature probably does not make sense.<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <div>
          <p class="MsoNormal"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;">IMHO, file
              delegation is probably ok (server MAC check covering file
              access probably suffices for delegation).&nbsp; OTOH, directory
              delegation is problematic, and I would have no problem for
              4.2 if we said that directory delegation SHOULD NOT (or
              even MUST NOT?) be used w/MAC, which is a step towards:</span></p>
        </div>
      </div>
    </blockquote>
    <br>
    I need to learn more about the difference between file and directory
    delegation. My original thinking was that a MAC server may need to
    consult a policy module to know whether an access to a file can be
    granted. If the file is delegated to a client, there may not be a
    way to transfer that knowledge to client.<br>
    <br>
    <blockquote
      cite="mid:7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com"
      type="cite">
      <div class="WordSection1">
        <div>
          <p class="MsoNormal"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;"><o:p></o:p></span></p>
          <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
          <p class="MsoNormal">&gt; 5. Add a section addressing the
            delegations and explain why delegations <br>
            &gt; &nbsp;&nbsp; are non-goals for 4.2 and what will be the roadmap
            for adding delegation <br>
            &gt; &nbsp;&nbsp; support in future versions.<o:p></o:p></p>
          <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
          <p class="MsoNormal"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;">[G]</span><span
              style="font-size: 10pt; font-family: &quot;Courier
              New&quot;;"><o:p></o:p></span></p>
          <p class="MsoNormal"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;"><o:p>&nbsp;</o:p></span></p>
          <p class="MsoNormal">&gt; 7. Add explanation on the issues
            related to root protection and/or recommendation<o:p></o:p></p>
          <p class="MsoNormal">&gt; &nbsp;&nbsp; how to solve them in the server
            (or and client) <o:p></o:p></p>
          <p class="MsoNormal">&gt; <br>
            &gt; I don't understand this. Is this related to prevention
            of privilege escalation?<o:p></o:p></p>
          <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
          <p class="MsoNormal"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;">No, some of the
              implementations apparently allow the root directory to be
              listed without MAC checks for reasons that I&#8217;ll leave to
              the implementers to explain.&nbsp; Something would be needed in
              the sequence of operations at mount time, or a
              recommendation for a workaround where the mounted root
              directory contains only one entry that is the logical root
              of the MAC-controlled filesytem (e.g., &#8220;secure_root&#8221; is
              the only directory entry in the mounted directory).&nbsp;
              Listing that entry should be relatively harmless.</span></p>
        </div>
      </div>
    </blockquote>
    <br>
    I see. Thanks.<br>
    <br>
    - Jarrett<br>
    <br>
    <blockquote
      cite="mid:7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com"
      type="cite">
      <div class="WordSection1">
        <div>
          <p class="MsoNormal"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;"><o:p></o:p></span></p>
          <p class="MsoNormal"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;"><o:p>&nbsp;</o:p></span></p>
          <p class="MsoNormal"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;">Thanks,<br>
              --David</span><span style="font-size: 11pt; font-family:
              &quot;Courier New&quot;;"><o:p></o:p></span></p>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>

--------------060708020005030606050207--

From Tom.Haynes@netapp.com  Thu Apr  7 07:23:22 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A2CD628C10B for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 07:23:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.482
X-Spam-Level: 
X-Spam-Status: No, score=-10.482 tagged_above=-999 required=5 tests=[AWL=0.116, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lFvrJsA2VAI3 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 07:23:21 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by core3.amsl.com (Postfix) with ESMTP id 2532028C105 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 07:23:21 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.63,316,1299484800";  d="scan'208,217";a="539623851"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 07 Apr 2011 07:25:06 -0700
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p37EP4O6027974 for <nfsv4@ietf.org>; Thu, 7 Apr 2011 07:25:05 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Apr 2011 07:25:05 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Apr 2011 10:25:00 -0400
Received: from ebc05-xp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Apr 2011 10:25:00 -0400
From: Thomas Haynes <thomas@netapp.com>
Content-Type: multipart/alternative; boundary=Apple-Mail-25--390931994
Date: Thu, 7 Apr 2011 09:24:58 -0500
Message-Id: <4D2B6320-D443-47A4-8AC5-6AF1C5F397F2@netapp.com>
To: nfsv4@ietf.org
Mime-Version: 1.0 (Apple Message framework v1084)
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 07 Apr 2011 14:25:00.0166 (UTC) FILETIME=[93C59A60:01CBF52F]
Subject: [nfsv4] [NFSv4.2] Meeting Agenda
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 14:23:22 -0000

--Apple-Mail-25--390931994
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Today's proposed agenda is below. Please let me know if
you would like to add additional topics.

   Time: Thursdays 12:30-1:30 PM CST/1:30-2:30 PM EST/10:30-11:30 AM PST
Dial-in: 1-888-765-3653 (us)
         303-218-2659 (international)
     Id: 2787108

Proposed Agenda
---------------

+ IETF Note Well Agreement

 This is a reminder that our discussions are governed by the=20
 IETF Note Well Agreement. See:

   http://www.ietf.org/NOTEWELL.html

 We will start each week's meeting with this announcement.

+ I want to focus this week on the recent WG discussion on fadvise. We =
have
two proposals in place.

+ I also want us to start stripping the I/O pattern operations from the =
various
proposals in front of us.

The client wants to be able to create a file that has a certain pattern. =
I.e.,
it wants to be able to create sparse files with that pattern as the =
default.

The server wants to be able to return a pattern on reads. I.e., if there =
is
a sparse file, it does not want to clog the network with that pattern.

The client wants to be able to write a pattern to a file. I.e., it might =
want
to hole punch that pattern into a file. This deallocates any existing =
blocks
used by the file in the data range.

The key items here are that:

1) One copy of the pattern per create/write/read.

2) A pattern need not have blocks storing it on the server.

+ Space reservation

A client wants to be able to guarantee storage for a file.

+ Unstable file creation

Trond presented a new feature request in Prague that would deserialize
file creation (think untar).


--Apple-Mail-25--390931994
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><div>Today's proposed agenda is below. Please let me know =
if</div><div><div>you would like to add additional =
topics.</div><div><br></div><div>&nbsp;&nbsp; Time: Thursdays 12:30-1:30 =
PM CST/1:30-2:30 PM EST/10:30-11:30 AM PST<br>Dial-in: 1-888-765-3653 =
(us)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;303-218-2659=
 (international)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Id: =
2787108<br><br>Proposed Agenda<br>---------------<br><br>+ IETF Note =
Well Agreement<br><br>&nbsp;This is a reminder that our discussions are =
governed by the&nbsp;<br>&nbsp;IETF Note Well Agreement. =
See:<br><br>&nbsp;&nbsp;&nbsp;<a =
href=3D"http://www.ietf.org/NOTEWELL.html">http://www.ietf.org/NOTEWELL.ht=
ml</a><br><br>&nbsp;We will start each week's meeting with this =
announcement.</div></div><div><br></div><div>+ I want to focus this week =
on the recent WG discussion on fadvise. We have</div><div>two proposals =
in place.</div><div><br></div><div>+ I also want us to start stripping =
the I/O pattern operations from the various</div><div>proposals in front =
of us.</div><div><br></div><div>The client wants to be able to create a =
file that has a certain pattern. I.e.,</div><div>it wants to be able to =
create sparse files with that pattern as the =
default.</div><div><br></div><div>The server wants to be able to return =
a pattern on reads. I.e., if there is</div><div>a sparse file, it does =
not want to clog the network with that =
pattern.</div><div><br></div><div>The client wants to be able to write a =
pattern to a file. I.e., it might want</div><div>to hole punch that =
pattern into a file. This deallocates any existing blocks</div><div>used =
by the file in the data range.</div><div><br></div><div>The key items =
here are that:</div><div><br></div><div>1) One copy of the pattern per =
create/write/read.</div><div><br></div><div>2) A pattern need not have =
blocks storing it on the server.</div><div><br></div><div>+ Space =
reservation</div><div><br></div><div>A client wants to be able to =
guarantee storage for a file.</div><div><br></div><div>+ Unstable file =
creation</div><div><br></div><div>Trond presented a new feature request =
in Prague that would deserialize</div><div>file creation (think =
untar).</div><div><br></div></body></html>=

--Apple-Mail-25--390931994--

From nico@cryptonector.com  Thu Apr  7 07:41:57 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3F28A3A6935 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 07:41:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.932
X-Spam-Level: 
X-Spam-Status: No, score=-1.932 tagged_above=-999 required=5 tests=[AWL=0.045,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0WmP7UoyU67y for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 07:41:56 -0700 (PDT)
Received: from homiemail-a26.g.dreamhost.com (caiajhbdcagg.dreamhost.com [208.97.132.66]) by core3.amsl.com (Postfix) with ESMTP id 6F7E73A68C4 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 07:41:56 -0700 (PDT)
Received: from homiemail-a26.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a26.g.dreamhost.com (Postfix) with ESMTP id 0BEEBB806D for <nfsv4@ietf.org>; Thu,  7 Apr 2011 07:43:41 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=ysDO8bRdbuC5YPQLQHWPOVJt1yv76+eI0XC9fUnUKZzM kmdn9zbRgEHeELW237+9rIeUov8x1WpcT8CzKeRt4sdHV/paPh32kVibUlUEGNVD QOmoh2q4s5uHJe9+PdPRm3GZivobjMtP5090hfHhjuf6E/KDqzCnoCsJmYqhpOg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=Yj89Zc0gxs1JSHzsXfEygfpE5OI=; b=tb7PrjqqUDz tDLjXsq4K0wX6XWcBTA1TNzXjicjC+CPJvGXqDPkWZnHaUAEdTR/yg88jUjmNlor iNy1oBC/hSFA02ltwPohs7SiLmBQMh92d0hN3B8od8JdJLPrDmRQldcuT6q3ON3w +PYbmdtvi/RbR5EFkl5z1JxmWbm1SyGQ=
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a26.g.dreamhost.com (Postfix) with ESMTPSA id CE1ECB805B for <nfsv4@ietf.org>; Thu,  7 Apr 2011 07:43:40 -0700 (PDT)
Received: by vxg33 with SMTP id 33so2401788vxg.31 for <nfsv4@ietf.org>; Thu, 07 Apr 2011 07:43:40 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.176.134 with SMTP id ci6mr1421904vdc.190.1302187420237; Thu, 07 Apr 2011 07:43:40 -0700 (PDT)
Received: by 10.52.157.100 with HTTP; Thu, 7 Apr 2011 07:43:40 -0700 (PDT)
In-Reply-To: <4D9DBC25.7000409@oracle.com>
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <4D9DBC25.7000409@oracle.com>
Date: Thu, 7 Apr 2011 09:43:40 -0500
Message-ID: <BANLkTinQ+qtGOeW=_MQbOiCUWdRiPg70hw@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: jarrett.lu@oracle.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: sfaibish@popimap.lss.emc.com, kathleen.moriarty@emc.com, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 14:41:57 -0000

On Thu, Apr 7, 2011 at 8:29 AM, Jarrett Lu <jarrett.lu@oracle.com> wrote:
> On 04/ 4/11 08:31 AM, david.black@emc.com wrote:
>> capable?=C2=A0 Note that this would be a config check mechanism (e.g.,
>> accidentally connected a non-MAC client to a MAC server that it=E2=80=99=
s not
>> supposed to talk to), *not* a security mechanism, because a malicious cl=
ient
>> will lie.
>
> I know one implementation which punted that problem entirely to
> configuration. By looking up some database, a MAC aware client knows whet=
her
> the server is MAC aware and communicate with the server appropriately
> according to its MAC awareness. I think that was sensible because there w=
as
> no MAC label support in NFS protocol. Now we are adding MAC label support=
. I
> think it'd be nice to add protocol support for this negotiation. I don't
> know all the implications of doing that, e.g. additional protocol
> complexity, compatibility, etc.. In MAC awareness world, it's desirable t=
o
> know something about the party you communicate with, even when operating =
in
> a trusted environment. On the other hand, we are not aiming to support
> interoperability between different security models. I'm OK with "leaving
> negotiation as part of configuration". I just want some NFS expert opinio=
n
> on this. The most critical part of the extension is to be able to express
> MAC label of a file system object.

The subject/process label is also critical to communicate.

If we want MAC-aware servers we need to either map non-MAC-aware
clients to a single label (or each principal to a single label, or
each {principal, client} to a single label), or have the client
communicate the subject label to the server.

And we need security (authentication, transport protection,
authorization), of course.

Since RPCSEC_GSSv1 and 2 have no compound authentication facilities we
can't map {principal, client} to a single label -- we can only map
each principal to a label.  And since we lack GSS-API mechanisms that
communicate subject labels directly (and we lack Kerberos extensions
to do the same, though we could define some), we really have to map
each principal to a single label.  OR we can define RPCSEC_GSSv3.

Another aspect of security, besides "who/what is authenticated and
how?" is "how to decide if an assertion of subject label is to be
trusted?".  The answer for RPCSEC_GSSv3 is that the server maps the
{client host princ, user princ} to a set of labels or a label range,
then the server checks that the label asserted by the client is within
that set/range.  This is *much* more flexible than what we can do with
RPCSEC_GSSv1 and 2.

Surely you agree with me that the server needs to know the subject's
label and that we want something better than a single label
per-principal, no?

> I also think we are in agreement. Just want to rephrase it so it's clear =
to
> everyone. By "protocol extension supports full mode", we mean adding a MA=
C
> label attribute. MAC ignorant client and server can get/set the label
> attribute but does not interpret it or apply MAC policy based on it. MAC
> aware client and server can be configured to interpret label attributes a=
nd
> enforce MAC policy based on label attributes.

See above.

I agree that MAC-unaware clients and servers could support the label
attribute and allow unchecked reads and updates of it.  As long as
both are MAC-unaware, who cares.  And if the server is MAC-unaware but
all clients are MAC-aware (and share ACLs and so on are used to
enforce access only by trusted MAC-aware clients) then that's OK too
-- the clients will then enforce MAC.  But the best combination is of
MAC-aware clients and servers, so that users (and client hosts) can
operate at more than just one label, and so that servers can enforce
more of the MAC policies without having to trust clients as much.

That is, we can get a fair bit of functionality with any mix of
MAC-aware and unaware clients and servers, with the most functionality
reserved for MAC-aware clients and servers.

> I need to learn more about the difference between file and directory
> delegation. My original thinking was that a MAC server may need to consul=
t a
> policy module to know whether an access to a file can be granted. If the
> file is delegated to a client, there may not be a way to transfer that
> knowledge to client.

I think a problem only arises for directory delegations if the server
would allow a subject to READDIR a directory while also at the same
time hiding some of the directory entries from that subject due to the
subject not being authorized to see them.  If we don't allow such
behavior then there's no problem.

Nico
--

From Tom.Haynes@netapp.com  Thu Apr  7 08:30:22 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0A2AF3A69C1 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 08:30:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.484
X-Spam-Level: 
X-Spam-Status: No, score=-10.484 tagged_above=-999 required=5 tests=[AWL=0.115, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id peSfUUb-yzxs for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 08:30:21 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by core3.amsl.com (Postfix) with ESMTP id 7755E3A69BB for <nfsv4@ietf.org>; Thu,  7 Apr 2011 08:30:21 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.63,317,1299484800"; d="scan'208";a="539661451"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 07 Apr 2011 08:31:51 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p37FVpcw015728; Thu, 7 Apr 2011 08:31:51 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Apr 2011 08:31:51 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Apr 2011 11:31:49 -0400
Received: from maute-lxp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Apr 2011 11:31:48 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <BANLkTinQ+qtGOeW=_MQbOiCUWdRiPg70hw@mail.gmail.com>
Date: Thu, 7 Apr 2011 10:31:47 -0500
Content-Transfer-Encoding: 7bit
Message-Id: <84F89421-B194-4156-A4E6-394F47140384@netapp.com>
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <4D9DBC25.7000409@oracle.com> <BANLkTinQ+qtGOeW=_MQbOiCUWdRiPg70hw@mail.gmail.com>
To: Nico Williams <nico@cryptonector.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 07 Apr 2011 15:31:48.0930 (UTC) FILETIME=[E92E7220:01CBF538]
Cc: jarrett.lu@oracle.com, Kathleen Moriarty <kathleen.moriarty@emc.com>, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 15:30:22 -0000

On Apr 7, 2011, at 9:43 AM, Nico Williams wrote:

>> 
> 
> I think a problem only arises for directory delegations if the server
> would allow a subject to READDIR a directory while also at the same
> time hiding some of the directory entries from that subject due to the
> subject not being authorized to see them.  If we don't allow such
> behavior then there's no problem.
> 

The problem being of course that the client could create an entry that
conflicts with a name already on the server?

Another question might be who plans to ever implement directory
delegations?


From nico@cryptonector.com  Thu Apr  7 08:48:55 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 47B4D28C0D7 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 08:48:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.933
X-Spam-Level: 
X-Spam-Status: No, score=-1.933 tagged_above=-999 required=5 tests=[AWL=0.044,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k4g1k6uJg-qA for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 08:48:54 -0700 (PDT)
Received: from homiemail-a25.g.dreamhost.com (caiajhbdcbbj.dreamhost.com [208.97.132.119]) by core3.amsl.com (Postfix) with ESMTP id 983443A6A14 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 08:48:54 -0700 (PDT)
Received: from homiemail-a25.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a25.g.dreamhost.com (Postfix) with ESMTP id 0439B678071 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 08:50:28 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=VNFScXpXKXHXMNRSqYcEH Rce9UxW5nVUiej6kqa41q2E2bZHtcihpH01Gu2HbD+IaPzJCa/qj/2QZGZXftvkA lW+nJd8oCkQ2QQREb3Js8bEutak4djJgzjY4AwhN27rQzw1S/fi/HeFh+PKckhEC /u37YbfLmHMpx8vUr2Ycb4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=AfLRuFwl1a3hVldcMRhH 7kB/mUQ=; b=L99OdOeP+Ma909rgYoAnIDNIxtT0TXCDdvuhWbCrNQw0AledsEfy 9XP4lMTlg5iDi/biaMbqyXNsNSDmg+sv9WLvYe8/9Sx80Ezo8G8XKvyv6dUl2KQE n9o5AbGw0qBojv6sVVduoPzlFHv00+Lmcclfzas0J3WQN+C5kfj98zk=
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a25.g.dreamhost.com (Postfix) with ESMTPSA id 6738D67808A for <nfsv4@ietf.org>; Thu,  7 Apr 2011 08:50:02 -0700 (PDT)
Received: by vws12 with SMTP id 12so2484096vws.31 for <nfsv4@ietf.org>; Thu, 07 Apr 2011 08:50:01 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.0.200 with SMTP id 8mr1546822vdg.70.1302191401858; Thu, 07 Apr 2011 08:50:01 -0700 (PDT)
Received: by 10.52.157.100 with HTTP; Thu, 7 Apr 2011 08:50:01 -0700 (PDT)
In-Reply-To: <84F89421-B194-4156-A4E6-394F47140384@netapp.com>
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <4D9DBC25.7000409@oracle.com> <BANLkTinQ+qtGOeW=_MQbOiCUWdRiPg70hw@mail.gmail.com> <84F89421-B194-4156-A4E6-394F47140384@netapp.com>
Date: Thu, 7 Apr 2011 10:50:01 -0500
Message-ID: <BANLkTikSLwvUsN4AZRjsCPt0mnRdzxsMmQ@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Thomas Haynes <thomas@netapp.com>
Content-Type: text/plain; charset=UTF-8
Cc: jarrett.lu@oracle.com, Kathleen Moriarty <kathleen.moriarty@emc.com>, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 15:48:55 -0000

On Thu, Apr 7, 2011 at 10:31 AM, Thomas Haynes <thomas@netapp.com> wrote:
> On Apr 7, 2011, at 9:43 AM, Nico Williams wrote:
>> I think a problem only arises for directory delegations if the server
>> would allow a subject to READDIR a directory while also at the same
>> time hiding some of the directory entries from that subject due to the
>> subject not being authorized to see them.  If we don't allow such
>> behavior then there's no problem.
>>
>
> The problem being of course that the client could create an entry that
> conflicts with a name already on the server?

No, that a user, "joe", on a multi-user client could see an entry
named "Covert operations in Foobania.doc" that he was not allowed to
see but that another user, "jane", on that client was allowed to see.
Conversely, if "joe" was first to readdir that directory then "jane"
won't see that directory entry whereas she should.

The simplest fix is to say that all names in a given directory have
the same label as the directory itself, even though the named objects
themselves might have different labels.

Nico
--

From peter.staubach@emc.com  Thu Apr  7 09:07:58 2011
Return-Path: <peter.staubach@emc.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id F19E23A6A1C for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 09:07:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ly8gv0IjwSiA for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 09:07:57 -0700 (PDT)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by core3.amsl.com (Postfix) with ESMTP id F17103A68CF for <nfsv4@ietf.org>; Thu,  7 Apr 2011 09:07:56 -0700 (PDT)
Received: from hop04-l1d11-si01.isus.emc.com (HOP04-L1D11-SI01.isus.emc.com [10.254.111.54]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p37G9dqJ031780 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 7 Apr 2011 12:09:39 -0400
Received: from mailhub.lss.emc.com (mailhubhoprd03.lss.emc.com [10.254.221.145]) by hop04-l1d11-si01.isus.emc.com (RSA Interceptor); Thu, 7 Apr 2011 12:09:34 -0400
Received: from mxhub13.corp.emc.com (mxhub13.corp.emc.com [128.221.56.102]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p37G8pcN021139; Thu, 7 Apr 2011 12:08:51 -0400
Received: from mx31a.corp.emc.com ([169.254.1.74]) by mxhub13.corp.emc.com ([128.221.56.102]) with mapi; Thu, 7 Apr 2011 12:08:50 -0400
From: <peter.staubach@emc.com>
To: <nico@cryptonector.com>, <thomas@netapp.com>
Date: Thu, 7 Apr 2011 12:08:50 -0400
Thread-Topic: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments
Thread-Index: Acv1PWMk6dy+WCIZTeO5YzmSWrKV9wAADtSw
Message-ID: <5E6794FC7B8FCA41A704019BE3C70E8B06A62FAB@MX31A.corp.emc.com>
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <4D9DBC25.7000409@oracle.com> <BANLkTinQ+qtGOeW=_MQbOiCUWdRiPg70hw@mail.gmail.com> <84F89421-B194-4156-A4E6-394F47140384@netapp.com> <BANLkTikSLwvUsN4AZRjsCPt0mnRdzxsMmQ@mail.gmail.com>
In-Reply-To: <BANLkTikSLwvUsN4AZRjsCPt0mnRdzxsMmQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-EMM-MHVC: 1
Cc: jarrett.lu@oracle.com, kathleen.moriarty@emc.com, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 16:07:58 -0000

How does directory delegation affect this, by the way?  This seems more lik=
e a standard sort of problem with caching the contents of directories.

	Thanx...

		ps


-----Original Message-----
From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On Behalf Of N=
ico Williams
Sent: Thursday, April 07, 2011 11:50 AM
To: Thomas Haynes
Cc: jarrett.lu@oracle.com; Moriarty, Kathleen; nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments

On Thu, Apr 7, 2011 at 10:31 AM, Thomas Haynes <thomas@netapp.com> wrote:
> On Apr 7, 2011, at 9:43 AM, Nico Williams wrote:
>> I think a problem only arises for directory delegations if the server
>> would allow a subject to READDIR a directory while also at the same
>> time hiding some of the directory entries from that subject due to the
>> subject not being authorized to see them.  If we don't allow such
>> behavior then there's no problem.
>>
>
> The problem being of course that the client could create an entry that
> conflicts with a name already on the server?

No, that a user, "joe", on a multi-user client could see an entry
named "Covert operations in Foobania.doc" that he was not allowed to
see but that another user, "jane", on that client was allowed to see.
Conversely, if "joe" was first to readdir that directory then "jane"
won't see that directory entry whereas she should.

The simplest fix is to say that all names in a given directory have
the same label as the directory itself, even though the named objects
themselves might have different labels.

Nico
--
_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www.ietf.org/mailman/listinfo/nfsv4


From nico@cryptonector.com  Thu Apr  7 09:11:42 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3170B28C0EA for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 09:11:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.934
X-Spam-Level: 
X-Spam-Status: No, score=-1.934 tagged_above=-999 required=5 tests=[AWL=0.043,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jFE1fR0Ds035 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 09:11:41 -0700 (PDT)
Received: from homiemail-a35.g.dreamhost.com (caiajhbdcbef.dreamhost.com [208.97.132.145]) by core3.amsl.com (Postfix) with ESMTP id B5FDC3A68CF for <nfsv4@ietf.org>; Thu,  7 Apr 2011 09:11:41 -0700 (PDT)
Received: from homiemail-a35.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a35.g.dreamhost.com (Postfix) with ESMTP id B019B54078 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 09:13:20 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=s37vT4VH+6K7bKkZ/fCL2HLHpcZzu8J7szmP7nB65Euy 5aVdZ92HHcrnRWp5zSOv1R1aarX8EEgEWBUQBR+ion9KNceTsxKD0wZoUa2hK2JR P8RmM53iZwAzJLH/WseUcSqqoXLoWj4/DO9bPpTVGmvK/s+Rryabu4kTNb7I/wU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=sOjWEyOmbUfYvok8Up4kLAMx8wQ=; b=PW25ymHKuY6 t0BQwR5EizeagbVRxmwMhazoXwX4/ptVuZO27UjHeIrry9ygBuxCVl1NkCTdDEHQ BM98jK5MCeH+dSzG/4fIZNmiOh3oDnAiGQ0C4igctgW35IW4AnDuUY0u0BmuSHzy aO0hlpP27zpVp6+aonHGjAuOS2iX3yK8=
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a35.g.dreamhost.com (Postfix) with ESMTPSA id 6A89654098 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 09:12:31 -0700 (PDT)
Received: by vws12 with SMTP id 12so2506576vws.31 for <nfsv4@ietf.org>; Thu, 07 Apr 2011 09:12:30 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.92.144 with SMTP id cm16mr1582183vdb.30.1302192750390; Thu, 07 Apr 2011 09:12:30 -0700 (PDT)
Received: by 10.52.157.100 with HTTP; Thu, 7 Apr 2011 09:12:30 -0700 (PDT)
In-Reply-To: <5E6794FC7B8FCA41A704019BE3C70E8B06A62FAB@MX31A.corp.emc.com>
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <4D9DBC25.7000409@oracle.com> <BANLkTinQ+qtGOeW=_MQbOiCUWdRiPg70hw@mail.gmail.com> <84F89421-B194-4156-A4E6-394F47140384@netapp.com> <BANLkTikSLwvUsN4AZRjsCPt0mnRdzxsMmQ@mail.gmail.com> <5E6794FC7B8FCA41A704019BE3C70E8B06A62FAB@MX31A.corp.emc.com>
Date: Thu, 7 Apr 2011 11:12:30 -0500
Message-ID: <BANLkTikxdXNcOUUokMwOBkRpvvyr+PBieQ@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: peter.staubach@emc.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: jarrett.lu@oracle.com, kathleen.moriarty@emc.com, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 16:11:42 -0000

On Thu, Apr 7, 2011 at 11:08 AM,  <peter.staubach@emc.com> wrote:
> How does directory delegation affect this, by the way? =C2=A0This seems m=
ore like a standard sort of problem with caching the contents of directorie=
s.

Well, that's one sub-topic here.  As long as clients can cache the
direcotry contents and use ACCESS to validate each distinct user (or,
rather, process credential), we're good.  But if the server would show
different users different contents for the same directory, _then_ we
have a problem (whether we have directory delegation or not).  My
solution is to not allow the server to do that.

From jarrett.lu@oracle.com  Thu Apr  7 09:21:58 2011
Return-Path: <jarrett.lu@oracle.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C8B9328C15C for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 09:21:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.598
X-Spam-Level: 
X-Spam-Status: No, score=-6.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7KAteH2cEZ4K for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 09:21:57 -0700 (PDT)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id C5D4528C15B for <nfsv4@ietf.org>; Thu,  7 Apr 2011 09:21:57 -0700 (PDT)
Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p37GNevp009229 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 7 Apr 2011 16:23:41 GMT
Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p37GNdx6028622 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 7 Apr 2011 16:23:39 GMT
Received: from abhmt019.oracle.com (abhmt019.oracle.com [141.146.116.28]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p37GNcgd029031; Thu, 7 Apr 2011 11:23:38 -0500
Received: from [10.132.148.74] (/10.132.148.74) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 07 Apr 2011 09:23:38 -0700
Message-ID: <4D9DE5D1.7090806@oracle.com>
Date: Thu, 07 Apr 2011 09:26:57 -0700
From: Jarrett Lu <jarrett.lu@oracle.com>
User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.2.13) Gecko/20110117 Thunderbird/3.1.7
MIME-Version: 1.0
To: thomas@netapp.com, "nfsv4@ietf.org" <nfsv4@ietf.org>
References: <4D9DE44A.80005@oracle.com>
In-Reply-To: <4D9DE44A.80005@oracle.com>
Content-Type: multipart/alternative; boundary="------------010704020603050901000505"
X-Source-IP: acsmt356.oracle.com [141.146.40.156]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090204.4D9DE50B.0129:SCFSTAT5015188,ss=1,fgs=0
Cc: kathleen.moriarty@emc.com
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: jarrett.lu@oracle.com
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 16:21:58 -0000

This is a multi-part message in MIME format.
--------------010704020603050901000505
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

On 04/ 7/11 09:20 AM, Jarrett Lu wrote:
> On Apr 1, 2011, at 6:16 AM,<jarrett.lu@oracle.com>  <jarrett.lu@oracle.com>  wrote
>>> >>     - Define fixed max size of the opaque (not less than IPv6 HBH extension length?)
>> >  
>> >  I suggested that because CALIPSO label is implement using IPv6 HBH extension. A CALIPSO label should fit in the opaque field.
> Jarrett,
>
> One thing that isn't clear to me is why does the opaque array need a max size?
>
> I.e., what is driving that requirement?

Not really a requirement. If a name attribute can have arbitrary size, 
no max size is needed.

Thanks.

- Jarrett

> Thanks,
> Tom
>


--------------010704020603050901000505
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    On 04/ 7/11 09:20 AM, Jarrett Lu wrote:
    <blockquote cite="mid:4D9DE44A.80005@oracle.com" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      <div class="moz-text-plain" wrap="true" style="font-family:
        -moz-fixed; font-size: 12px;" lang="x-western">
        <pre wrap="">On Apr 1, 2011, at 6:16 AM, <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:jarrett.lu@oracle.com">&lt;jarrett.lu@oracle.com&gt;</a> <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:jarrett.lu@oracle.com">&lt;jarrett.lu@oracle.com&gt;</a> wrote</pre>
        <blockquote type="cite" style="color: rgb(0, 0, 0);">
          <blockquote type="cite" style="color: rgb(0, 0, 0);">
            <pre wrap=""><span class="moz-txt-citetags">&gt;&gt; </span>  - Define fixed max size of the opaque (not less than IPv6 HBH extension length?) 
</pre>
          </blockquote>
          <pre wrap=""><span class="moz-txt-citetags">&gt; </span>
<span class="moz-txt-citetags">&gt; </span>I suggested that because CALIPSO label is implement using IPv6 HBH extension. A CALIPSO label should fit in the opaque field. 
</pre>
        </blockquote>
        <pre wrap="">Jarrett,

One thing that isn't clear to me is why does the opaque array need a max size?

I.e., what is driving that requirement?
</pre>
      </div>
    </blockquote>
    <br>
    Not really a requirement. If a name attribute can have arbitrary
    size, no max size is needed.<br>
    <br>
    Thanks.<br>
    <br>
    - Jarrett<br>
    &nbsp;<br>
    <blockquote cite="mid:4D9DE44A.80005@oracle.com" type="cite">
      <div class="moz-text-plain" wrap="true" style="font-family:
        -moz-fixed; font-size: 12px;" lang="x-western">
        <pre wrap="">
Thanks,
Tom
</pre>
      </div>
      <br>
    </blockquote>
    <br>
  </body>
</html>

--------------010704020603050901000505--

From Tom.Haynes@netapp.com  Thu Apr  7 09:42:42 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DD80A3A6819 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 09:42:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.486
X-Spam-Level: 
X-Spam-Status: No, score=-10.486 tagged_above=-999 required=5 tests=[AWL=0.113, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K4iud-iy5xRR for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 09:42:42 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by core3.amsl.com (Postfix) with ESMTP id 476003A68EC for <nfsv4@ietf.org>; Thu,  7 Apr 2011 09:42:42 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.63,317,1299484800"; d="scan'208";a="539705002"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 07 Apr 2011 09:44:11 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p37GiBK6018702; Thu, 7 Apr 2011 09:44:11 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Apr 2011 09:44:12 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Apr 2011 12:44:10 -0400
Received: from ebc05-xp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Apr 2011 12:44:10 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <BANLkTikSLwvUsN4AZRjsCPt0mnRdzxsMmQ@mail.gmail.com>
Date: Thu, 7 Apr 2011 11:44:08 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <0BC91BC7-947D-4AAB-A4F6-530558BB4B52@netapp.com>
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <4D9DBC25.7000409@oracle.com> <BANLkTinQ+qtGOeW=_MQbOiCUWdRiPg70hw@mail.gmail.com> <84F89421-B194-4156-A4E6-394F47140384@netapp.com> <BANLkTikSLwvUsN4AZRjsCPt0mnRdzxsMmQ@mail.gmail.com>
To: Nico Williams <nico@cryptonector.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 07 Apr 2011 16:44:10.0461 (UTC) FILETIME=[04EF80D0:01CBF543]
Cc: jarrett.lu@oracle.com, Kathleen Moriarty <kathleen.moriarty@emc.com>, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 16:42:43 -0000

On Apr 7, 2011, at 10:50 AM, Nico Williams wrote:

> On Thu, Apr 7, 2011 at 10:31 AM, Thomas Haynes <thomas@netapp.com> =
wrote:
>> On Apr 7, 2011, at 9:43 AM, Nico Williams wrote:
>>> I think a problem only arises for directory delegations if the =
server
>>> would allow a subject to READDIR a directory while also at the same
>>> time hiding some of the directory entries from that subject due to =
the
>>> subject not being authorized to see them.  If we don't allow such
>>> behavior then there's no problem.
>>>=20
>>=20
>> The problem being of course that the client could create an entry =
that
>> conflicts with a name already on the server?

But my point is still an issue. If Jane tries to create a document =
called
"Covert operations in Foobania.doc" and was denied, then she could
surmise that such a document existed at a security clearance above hers.


>=20
> No, that a user, "joe", on a multi-user client could see an entry
> named "Covert operations in Foobania.doc" that he was not allowed to
> see but that another user, "jane", on that client was allowed to see.
> Conversely, if "joe" was first to readdir that directory then "jane"
> won't see that directory entry whereas she should.
>=20
> The simplest fix is to say that all names in a given directory have
> the same label as the directory itself, even though the named objects
> themselves might have different labels.

But that allows Jane to deduce there were covert operations in Foobania.
She might even be able to see the date and based on the size, deduce
how many operations or how large of an operation it was.

If the client is MAC aware, then I would argue that it needs to maintain
separate name spaces for all users. If the client is non-MAC aware, then
it has to consistently get the minimum label afforded to it.

I.e., the MAC aware server has to assume that the aware client can =
safely
hand out directory entries based on labels, but it also has to assume =
that
the non-aware client cannot mix and match different labels.

I would then argue that such decisions are implementation specific to =
the
security model. I.e., in a business world, seeing entries might be =
acceptable.
Whereas in a clandestine government agency, it might not be acceptable.


From jarrett.lu@oracle.com  Thu Apr  7 09:43:55 2011
Return-Path: <jarrett.lu@oracle.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EE8173A68EC for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 09:43:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.598
X-Spam-Level: 
X-Spam-Status: No, score=-6.598 tagged_above=-999 required=5 tests=[AWL=0.001,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id keYTwH6FdWmd for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 09:43:54 -0700 (PDT)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id A9AA23A6819 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 09:43:54 -0700 (PDT)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p37GjY2X011297 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 7 Apr 2011 16:45:35 GMT
Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p37GjXDs020518 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 7 Apr 2011 16:45:33 GMT
Received: from abhmt016.oracle.com (abhmt016.oracle.com [141.146.116.25]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p37GjWT9000455; Thu, 7 Apr 2011 11:45:32 -0500
Received: from [10.132.148.74] (/10.132.148.74) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 07 Apr 2011 09:45:32 -0700
Message-ID: <4D9DEAF3.2050000@oracle.com>
Date: Thu, 07 Apr 2011 09:48:51 -0700
From: Jarrett Lu <jarrett.lu@oracle.com>
User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.2.13) Gecko/20110117 Thunderbird/3.1.7
MIME-Version: 1.0
To: Nico Williams <nico@cryptonector.com>
References: <4D95842E.70708@oracle.com>	<4D95B41C.70509@oracle.com>	<7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com>	<4D9DBC25.7000409@oracle.com> <BANLkTinQ+qtGOeW=_MQbOiCUWdRiPg70hw@mail.gmail.com>
In-Reply-To: <BANLkTinQ+qtGOeW=_MQbOiCUWdRiPg70hw@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Source-IP: acsmt357.oracle.com [141.146.40.157]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090206.4D9DEA2D.00E3:SCFSTAT5015188,ss=1,fgs=0
Cc: sfaibish@popimap.lss.emc.com, kathleen.moriarty@emc.com, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: jarrett.lu@oracle.com
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 16:43:56 -0000

On 04/ 7/11 07:43 AM, Nico Williams wrote:
> On Thu, Apr 7, 2011 at 8:29 AM, Jarrett Lu<jarrett.lu@oracle.com>  wrote:
>> On 04/ 4/11 08:31 AM, david.black@emc.com wrote:
>>> capable?  Note that this would be a config check mechanism (e.g.,
>>> accidentally connected a non-MAC client to a MAC server that itâ€™s not
>>> supposed to talk to), *not* a security mechanism, because a malicious client
>>> will lie.
>> I know one implementation which punted that problem entirely to
>> configuration. By looking up some database, a MAC aware client knows whether
>> the server is MAC aware and communicate with the server appropriately
>> according to its MAC awareness. I think that was sensible because there was
>> no MAC label support in NFS protocol. Now we are adding MAC label support. I
>> think it'd be nice to add protocol support for this negotiation. I don't
>> know all the implications of doing that, e.g. additional protocol
>> complexity, compatibility, etc.. In MAC awareness world, it's desirable to
>> know something about the party you communicate with, even when operating in
>> a trusted environment. On the other hand, we are not aiming to support
>> interoperability between different security models. I'm OK with "leaving
>> negotiation as part of configuration". I just want some NFS expert opinion
>> on this. The most critical part of the extension is to be able to express
>> MAC label of a file system object.
> The subject/process label is also critical to communicate.
>
> If we want MAC-aware servers we need to either map non-MAC-aware
> clients to a single label (or each principal to a single label, or
> each {principal, client} to a single label), or have the client
> communicate the subject label to the server.
>
> And we need security (authentication, transport protection,
> authorization), of course.
>
> Since RPCSEC_GSSv1 and 2 have no compound authentication facilities we
> can't map {principal, client} to a single label -- we can only map
> each principal to a label.  And since we lack GSS-API mechanisms that
> communicate subject labels directly (and we lack Kerberos extensions
> to do the same, though we could define some), we really have to map
> each principal to a single label.  OR we can define RPCSEC_GSSv3.
>
> Another aspect of security, besides "who/what is authenticated and
> how?" is "how to decide if an assertion of subject label is to be
> trusted?".  The answer for RPCSEC_GSSv3 is that the server maps the
> {client host princ, user princ} to a set of labels or a label range,
> then the server checks that the label asserted by the client is within
> that set/range.  This is *much* more flexible than what we can do with
> RPCSEC_GSSv1 and 2.
>
> Surely you agree with me that the server needs to know the subject's
> label and that we want something better than a single label
> per-principal, no?

Yes, RPCSEC_GSSv3 will be great. It offers so many goodies. Other
than fine grained subject label, it can also be used to convey privileges
and privilege set, which could be very useful information among like
systems.

RPCSEC_GSSv3 is considered a related but separate piece from NFS
MAC label extensions. So it's great to have but not required, i.e. we
should be able to do labeled NFS without RPCSEC_GSSv3. Again, I'd
love to have both.

>> I also think we are in agreement. Just want to rephrase it so it's clear to
>> everyone. By "protocol extension supports full mode", we mean adding a MAC
>> label attribute. MAC ignorant client and server can get/set the label
>> attribute but does not interpret it or apply MAC policy based on it. MAC
>> aware client and server can be configured to interpret label attributes and
>> enforce MAC policy based on label attributes.
> See above.
>
> I agree that MAC-unaware clients and servers could support the label
> attribute and allow unchecked reads and updates of it.  As long as
> both are MAC-unaware, who cares.  And if the server is MAC-unaware but
> all clients are MAC-aware (and share ACLs and so on are used to
> enforce access only by trusted MAC-aware clients) then that's OK too
> -- the clients will then enforce MAC.  But the best combination is of
> MAC-aware clients and servers, so that users (and client hosts) can
> operate at more than just one label, and so that servers can enforce
> more of the MAC policies without having to trust clients as much.
>
> That is, we can get a fair bit of functionality with any mix of
> MAC-aware and unaware clients and servers, with the most functionality
> reserved for MAC-aware clients and servers.

Agree.

Thanks.

- Jarrett


>> I need to learn more about the difference between file and directory
>> delegation. My original thinking was that a MAC server may need to consult a
>> policy module to know whether an access to a file can be granted. If the
>> file is delegated to a client, there may not be a way to transfer that
>> knowledge to client.
> I think a problem only arises for directory delegations if the server
> would allow a subject to READDIR a directory while also at the same
> time hiding some of the directory entries from that subject due to the
> subject not being authorized to see them.  If we don't allow such
> behavior then there's no problem.
>
> Nico
> --


From Tom.Haynes@netapp.com  Thu Apr  7 09:59:14 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6DC5328C157 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 09:59:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.045
X-Spam-Level: 
X-Spam-Status: No, score=-10.045 tagged_above=-999 required=5 tests=[AWL=-0.331, BAYES_00=-2.599, HTML_FONT_FACE_BAD=0.884, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hCYmKfGITYOV for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 09:59:13 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by core3.amsl.com (Postfix) with ESMTP id 984593A67CF for <nfsv4@ietf.org>; Thu,  7 Apr 2011 09:59:13 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.63,317,1299484800";  d="scan'208,217";a="539715703"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 07 Apr 2011 10:00:58 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p37H0llr006300; Thu, 7 Apr 2011 10:00:57 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Apr 2011 10:00:48 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Apr 2011 13:00:47 -0400
Received: from ebc05-xp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Apr 2011 13:00:46 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: multipart/alternative; boundary=Apple-Mail-1--381585776
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <4D9DBC25.7000409@oracle.com>
Date: Thu, 7 Apr 2011 12:00:44 -0500
Message-Id: <0162D17D-A43E-4ECC-A6DD-F0AD7D54C4E9@netapp.com>
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <4D9DBC25.7000409@oracle.com>
To: jarrett.lu@oracle.com
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 07 Apr 2011 17:00:46.0836 (UTC) FILETIME=[56D24340:01CBF545]
Cc: Kathleen Moriarty <kathleen.moriarty@emc.com>, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 16:59:14 -0000

--Apple-Mail-1--381585776
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


On Apr 7, 2011, at 8:29 AM, Jarrett Lu wrote:

>=20
> I agree with the security warning. I'm more interested in the full =
mode pNFS, which I don't know enough about. Can this MAC label extension =
be used for client/DS , and MDS/DS, communication?=20
>=20
>>=20

So in an cluster implementation, all of the communication is already
internal or via a private protocol. I don't see how we can mandate
MAC labels on that.

And likewise, in an asynchronous implementation, all of the
communication would be over a private protocol. But in such
a case, the MDS is authoritative and owns the data being
stored on the DS.

The interesting case is the asynchronous I/O (i.e., when the
client writes/reads via the MDS). In that scenario, the MDS
is doing all of the MAC checking when the READ or WRITE ops
arrive. When it sends/receives data with the DS, the DS
has to accept that the MDS has permission to do so.

Nothing prevents this private protocol from being kerberized,
but in my mind, there is no notion of a specific user/group
coming from the MDS. All credentials are machine based. Just
as there are no DAC checks across this private protocol, there
would be no MAC checks.=

--Apple-Mail-1--381585776
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><br><div><div>On Apr 7, 2011, at 8:29 AM, Jarrett Lu wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite">
<div bgcolor=3D"#ffffff" text=3D"#000000"><br>
    I agree with the security warning. I'm more interested in the full
    mode pNFS, which I don't know enough about. Can this MAC label
    extension be used for client/DS , and MDS/DS, communication? <br>
    <br>
    <blockquote =
cite=3D"mid:7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com"=
 type=3D"cite">
      <div class=3D"WordSection1"><p class=3D"MsoNormal"><span =
style=3D"font-size: 10pt; font-family:
            &quot;Courier =
New&quot;;"><o:p></o:p></span></p></div></blockquote></div></blockquote></=
div><font class=3D"Apple-style-span" face=3D"'Courier New'" =
size=3D"3"><span class=3D"Apple-style-span" style=3D"font-size: =
13px;"><br></span></font><div><font class=3D"Apple-style-span" =
face=3D"'Courier New'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px;">So in an cluster implementation, all of the =
communication is already</span></font></div><div><font =
class=3D"Apple-style-span" face=3D"'Courier New'" size=3D"3"><span =
class=3D"Apple-style-span" style=3D"font-size: 13px;">internal or via a =
private protocol. I don't see how we can =
mandate</span></font></div><div><font class=3D"Apple-style-span" =
face=3D"'Courier New'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px;">MAC labels on =
that.</span></font></div><div><font class=3D"Apple-style-span" =
face=3D"'Courier New'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px;"><br></span></font></div><div><font =
class=3D"Apple-style-span" face=3D"'Courier New'" size=3D"3"><span =
class=3D"Apple-style-span" style=3D"font-size: 13px;">And likewise, in =
an asynchronous implementation, all of the</span></font></div><div><font =
class=3D"Apple-style-span" face=3D"'Courier New'" size=3D"3"><span =
class=3D"Apple-style-span" style=3D"font-size: 13px;">communication =
would be over a private protocol. But in =
such</span></font></div><div><font class=3D"Apple-style-span" =
face=3D"'Courier New'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px;">a case, the MDS is authoritative and owns the =
data being</span></font></div><div><font class=3D"Apple-style-span" =
face=3D"'Courier New'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px;">stored on the =
DS.</span></font></div><div><font class=3D"Apple-style-span" =
face=3D"'Courier New'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px;"><br></span></font></div><div><font =
class=3D"Apple-style-span" face=3D"'Courier New'" size=3D"3"><span =
class=3D"Apple-style-span" style=3D"font-size: 13px;">The interesting =
case is the asynchronous I/O (i.e., when =
the</span></font></div><div><font class=3D"Apple-style-span" =
face=3D"'Courier New'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px;">client writes/reads via the MDS). In that =
scenario, the MDS</span></font></div><div><font class=3D"Apple-style-span"=
 face=3D"'Courier New'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px;">is doing all of the MAC checking when the =
READ or WRITE ops</span></font></div><div><font class=3D"Apple-style-span"=
 face=3D"'Courier New'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px;">arrive. When it sends/receives data with the =
DS, the DS</span></font></div><div><font class=3D"Apple-style-span" =
face=3D"'Courier New'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px;">has to accept that the MDS has permission to =
do so.</span></font></div><div><font class=3D"Apple-style-span" =
face=3D"'Courier New'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px;"><br></span></font></div><div><font =
class=3D"Apple-style-span" face=3D"'Courier New'" size=3D"3"><span =
class=3D"Apple-style-span" style=3D"font-size: 13px;">Nothing prevents =
this private protocol from being =
kerberized,</span></font></div><div><font class=3D"Apple-style-span" =
face=3D"'Courier New'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px;">but in my mind, there is no notion of a =
specific user/group</span></font></div><div><font =
class=3D"Apple-style-span" face=3D"'Courier New'" size=3D"3"><span =
class=3D"Apple-style-span" style=3D"font-size: 13px;">coming from the =
MDS. All credentials are machine based. =
Just</span></font></div><div><font class=3D"Apple-style-span" =
face=3D"'Courier New'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px;">as there are no DAC checks across this =
private protocol, there</span></font></div><div><font =
class=3D"Apple-style-span" face=3D"'Courier New'" size=3D"3"><span =
class=3D"Apple-style-span" style=3D"font-size: 13px;">would be no MAC =
checks.</span></font></div></body></html>=

--Apple-Mail-1--381585776--

From nico@cryptonector.com  Thu Apr  7 10:00:42 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BD18728C160 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 10:00:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.934
X-Spam-Level: 
X-Spam-Status: No, score=-1.934 tagged_above=-999 required=5 tests=[AWL=0.043,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AtdeKbn3rhJk for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 10:00:42 -0700 (PDT)
Received: from homiemail-a34.g.dreamhost.com (caiajhbdcbbj.dreamhost.com [208.97.132.119]) by core3.amsl.com (Postfix) with ESMTP id E78DE3A67CF for <nfsv4@ietf.org>; Thu,  7 Apr 2011 10:00:41 -0700 (PDT)
Received: from homiemail-a34.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a34.g.dreamhost.com (Postfix) with ESMTP id BD71A10062 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 10:02:26 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=K7+/rokKIL34xu/bjtaDW HNGE/CrsjOYZzvPdbOW6TF7OQy2VGxK5Bei1um0jxbUCEJQyjYJNU4ZfJza/7Ekx B0IyI9wSnrz6mHqiiBBaV6TVN/WXG8eerG4aVXGLQ4qo4Vr0miKzsQpQua/2ynY8 iygZtTc46jzmxeNkNm6H4s=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=WzD04QvNJXP2swtD3Vk6 U1T0/f8=; b=rKA/1D+lPE/mLIMcLMaHtLoG5TyMspoG7i0Zi8RqdL2ipAr3aMVl Jj9XjcAIIeHn1vb9YzuKDwGiGE3Qgdvgxm6lUA/gv9HY+yuJfG/Cn/vbV6dj+Bmb ZepK8LC4oizaicJzZq4m748kHxX/eTeAfueAC8D1kCvSsaXal6zmgB4=
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a34.g.dreamhost.com (Postfix) with ESMTPSA id 9784810058 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 10:02:26 -0700 (PDT)
Received: by vws12 with SMTP id 12so2557249vws.31 for <nfsv4@ietf.org>; Thu, 07 Apr 2011 10:02:26 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.89.18 with SMTP id bk18mr1627180vdb.270.1302195746031; Thu, 07 Apr 2011 10:02:26 -0700 (PDT)
Received: by 10.52.157.100 with HTTP; Thu, 7 Apr 2011 10:02:25 -0700 (PDT)
In-Reply-To: <0BC91BC7-947D-4AAB-A4F6-530558BB4B52@netapp.com>
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <4D9DBC25.7000409@oracle.com> <BANLkTinQ+qtGOeW=_MQbOiCUWdRiPg70hw@mail.gmail.com> <84F89421-B194-4156-A4E6-394F47140384@netapp.com> <BANLkTikSLwvUsN4AZRjsCPt0mnRdzxsMmQ@mail.gmail.com> <0BC91BC7-947D-4AAB-A4F6-530558BB4B52@netapp.com>
Date: Thu, 7 Apr 2011 12:02:25 -0500
Message-ID: <BANLkTin=K6K9WQagFekHFQExZSRLTBO=3A@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Thomas Haynes <thomas@netapp.com>
Content-Type: text/plain; charset=UTF-8
Cc: jarrett.lu@oracle.com, Kathleen Moriarty <kathleen.moriarty@emc.com>, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 17:00:42 -0000

On Thu, Apr 7, 2011 at 11:44 AM, Thomas Haynes <thomas@netapp.com> wrote:
> On Apr 7, 2011, at 10:50 AM, Nico Williams wrote:
>> No, that a user, "joe", on a multi-user client could see an entry
>> named "Covert operations in Foobania.doc" that he was not allowed to
>> see but that another user, "jane", on that client was allowed to see.
>> Conversely, if "joe" was first to readdir that directory then "jane"
>> won't see that directory entry whereas she should.
>>
>> The simplest fix is to say that all names in a given directory have
>> the same label as the directory itself, even though the named objects
>> themselves might have different labels.
>
> But that allows Jane to deduce there were covert operations in Foobania.
> She might even be able to see the date and based on the size, deduce
> how many operations or how large of an operation it was.

Not so.  The classification officer might move or create that document
in a sub-directory with a harmless name.  Of course, if one were to do
that one might as well rely on the Solaris TX approach of mapping
paths to labels...

> If the client is MAC aware, then I would argue that it needs to maintain
> separate name spaces for all users. If the client is non-MAC aware, then
> it has to consistently get the minimum label afforded to it.

That's one approach, yes.

> I.e., the MAC aware server has to assume that the aware client can safely
> hand out directory entries based on labels, but it also has to assume that
> the non-aware client cannot mix and match different labels.

I'd rather the server make authorization decisions based on labels.
Consider Smack... the server might have policies that the client
doesn't, so I'd want the client to call ACCESS for all distinct
process credentials trying to access an object.

Nico
--

From nico@cryptonector.com  Thu Apr  7 10:05:52 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 44C7328C0DB for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 10:05:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.935
X-Spam-Level: 
X-Spam-Status: No, score=-1.935 tagged_above=-999 required=5 tests=[AWL=0.042,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id taVWVDCwQyGk for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 10:05:51 -0700 (PDT)
Received: from homiemail-a34.g.dreamhost.com (caiajhbdcaid.dreamhost.com [208.97.132.83]) by core3.amsl.com (Postfix) with ESMTP id 9A70A3A67CF for <nfsv4@ietf.org>; Thu,  7 Apr 2011 10:05:51 -0700 (PDT)
Received: from homiemail-a34.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a34.g.dreamhost.com (Postfix) with ESMTP id 7EE3C1006D for <nfsv4@ietf.org>; Thu,  7 Apr 2011 10:07:36 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=Zorqa3AwM0dal7bFv1Rc5 Lm/5/2CiLLf6uAC4lPDi0j11wE1mDxSjt1XDDVf5HgM6c9yCP31FQ2n5LxK9zo9Y FlMAs36VV4PnkUyKD2cjLhtKR+Yntri8qTotjkZ8P807pPBH6Dq8XKOnekV3AAB6 Bejms4Mo2tXPFeVKL+X3EU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=LMiRcB/CbN5Foa2X7a41 yX/ZLdU=; b=GhrzRorSGFUsiD/1U9oZELRzDmOCMUKuzUmp1orZGJ2OvicuLeXT z2alS+mZ+bOVmMkRiZMS9DDaD2ghuqaiYteY/FAiGFBepJxRpwOfAkf2wshrwHdZ soGg6YLa7j1i5wUfVXBD4EP7ewpGz9S4+tM32aJv+ox9jXky0HnQ25Y=
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a34.g.dreamhost.com (Postfix) with ESMTPSA id 52BC010060 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 10:07:36 -0700 (PDT)
Received: by vws12 with SMTP id 12so2561910vws.31 for <nfsv4@ietf.org>; Thu, 07 Apr 2011 10:07:35 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.0.200 with SMTP id 8mr1675838vdg.70.1302196055729; Thu, 07 Apr 2011 10:07:35 -0700 (PDT)
Received: by 10.52.157.100 with HTTP; Thu, 7 Apr 2011 10:07:35 -0700 (PDT)
In-Reply-To: <4D9DEAF3.2050000@oracle.com>
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <4D9DBC25.7000409@oracle.com> <BANLkTinQ+qtGOeW=_MQbOiCUWdRiPg70hw@mail.gmail.com> <4D9DEAF3.2050000@oracle.com>
Date: Thu, 7 Apr 2011 12:07:35 -0500
Message-ID: <BANLkTi=_=cdXG-LNTTAkg9Hyr+kj2q0DMQ@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: jarrett.lu@oracle.com
Content-Type: text/plain; charset=UTF-8
Cc: sfaibish@popimap.lss.emc.com, kathleen.moriarty@emc.com, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 17:05:52 -0000

On Thu, Apr 7, 2011 at 11:48 AM, Jarrett Lu <jarrett.lu@oracle.com> wrote:
> On 04/ 7/11 07:43 AM, Nico Williams wrote:
>> Surely you agree with me that the server needs to know the subject's
>> label and that we want something better than a single label
>> per-principal, no?
>
> Yes, RPCSEC_GSSv3 will be great. It offers so many goodies. Other
> than fine grained subject label, it can also be used to convey privileges
> and privilege set, which could be very useful information among like
> systems.
>
> RPCSEC_GSSv3 is considered a related but separate piece from NFS
> MAC label extensions. So it's great to have but not required, i.e. we
> should be able to do labeled NFS without RPCSEC_GSSv3. Again, I'd
> love to have both.

"Is considered"?  By whom?  I consider it a requirement for some of
the cases where both, the client and the server are MAC-aware
(specifically: whenever you need support for label sets or ranges,
which is generally the case in MLS deployments for example).  (But
clearly not a requirement for the cases where either or both of the
client and server are MAC-unaware.)

Nico
--

From jarrett.lu@oracle.com  Thu Apr  7 10:08:23 2011
Return-Path: <jarrett.lu@oracle.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 896E828C179 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 10:08:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s-dq7-+-2qVa for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 10:08:22 -0700 (PDT)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id BE90328C161 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 10:08:22 -0700 (PDT)
Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p37HA30R007532 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 7 Apr 2011 17:10:04 GMT
Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p37HA2Rm025637 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 7 Apr 2011 17:10:02 GMT
Received: from abhmt003.oracle.com (abhmt003.oracle.com [141.146.116.12]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p37HA1lD003882; Thu, 7 Apr 2011 12:10:01 -0500
Received: from [10.132.148.74] (/10.132.148.74) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 07 Apr 2011 10:10:01 -0700
Message-ID: <4D9DF0B1.7010408@oracle.com>
Date: Thu, 07 Apr 2011 10:13:21 -0700
From: Jarrett Lu <jarrett.lu@oracle.com>
User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.2.13) Gecko/20110117 Thunderbird/3.1.7
MIME-Version: 1.0
To: Nico Williams <nico@cryptonector.com>
References: <4D95842E.70708@oracle.com>	<4D95B41C.70509@oracle.com>	<7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com>	<4D9DBC25.7000409@oracle.com>	<BANLkTinQ+qtGOeW=_MQbOiCUWdRiPg70hw@mail.gmail.com>	<84F89421-B194-4156-A4E6-394F47140384@netapp.com> <BANLkTikSLwvUsN4AZRjsCPt0mnRdzxsMmQ@mail.gmail.com>
In-Reply-To: <BANLkTikSLwvUsN4AZRjsCPt0mnRdzxsMmQ@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Source-IP: acsmt356.oracle.com [141.146.40.156]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090203.4D9DEFEB.0025:SCFSTAT5015188,ss=1,fgs=0
Cc: Kathleen Moriarty <kathleen.moriarty@emc.com>, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: jarrett.lu@oracle.com
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 17:08:23 -0000

On 04/ 7/11 08:50 AM, Nico Williams wrote:
> On Thu, Apr 7, 2011 at 10:31 AM, Thomas Haynes<thomas@netapp.com>  wrote:
>> On Apr 7, 2011, at 9:43 AM, Nico Williams wrote:
>>> I think a problem only arises for directory delegations if the server
>>> would allow a subject to READDIR a directory while also at the same
>>> time hiding some of the directory entries from that subject due to the
>>> subject not being authorized to see them.  If we don't allow such
>>> behavior then there's no problem.
>>>
>> The problem being of course that the client could create an entry that
>> conflicts with a name already on the server?
> No, that a user, "joe", on a multi-user client could see an entry
> named "Covert operations in Foobania.doc" that he was not allowed to
> see but that another user, "jane", on that client was allowed to see.
> Conversely, if "joe" was first to readdir that directory then "jane"
> won't see that directory entry whereas she should.

This sounds like a standard multilevel directory on MLS MAC system.
A multilevel directory usually has a label range associated with it.
The label of each file under that directory falls within the label range.
A subject is only supposed to see the file entries with label it
dominates. Subject label and object label play an important role in
what object is visible. For example, a user 'joe' is cleared to read
both PUBLIC files and RESTRICTED files. When joe assumes the
PUBLIC label and read /home/joe/foo file, the file contains PUBLIC
information; when joe assumes the RESTRICTED label and reads
the file with same pathname /home/joe/foo, he is reading a different
file with RESTRICTED information in it. I don't know how to implement
all this in "delegation" context, but that is how multilevel directory
is supposed to work.

- Jarrett


> The simplest fix is to say that all names in a given directory have
> the same label as the directory itself, even though the named objects
> themselves might have different labels.
>
> Nico
> --


From nico@cryptonector.com  Thu Apr  7 10:12:43 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D9A4328C164 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 10:12:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.936
X-Spam-Level: 
X-Spam-Status: No, score=-1.936 tagged_above=-999 required=5 tests=[AWL=0.041,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id usHm3sbBT6A5 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 10:12:43 -0700 (PDT)
Received: from homiemail-a33.g.dreamhost.com (caiajhbdcaid.dreamhost.com [208.97.132.83]) by core3.amsl.com (Postfix) with ESMTP id 2E60D3A6823 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 10:12:43 -0700 (PDT)
Received: from homiemail-a33.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a33.g.dreamhost.com (Postfix) with ESMTP id 0E70B59406B for <nfsv4@ietf.org>; Thu,  7 Apr 2011 10:14:28 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=NeGtZdw75NZaBfzuoA16t rDQ0dGuEEKhOtXyPEXOwmSaElILqFNhUKcjmnHSdfeqYaOXqT14CtiKZasyxynkZ DY00KcVBXgbE+h70eU1ZzPSrMEWmEeoxPur+OKV2Okjst98QFSYSJj0JTIMqMzlk CcIFv5g+YFNP4q0dIehCx8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=Kq4a66DOUjQWobyg1Phd v7h/93k=; b=o5f1A6p3g78SKj+HDMRCmx+j/r64xGomIU1Bok3iyOXL2BKa8cHd iXLl152jsScpnL4VZ0FUVjbdiwB0Prt3asCK5bRej5XmcJwc++Ip+B6til4XXR+C rJv0rBmMr3GTONj6he4uGpoRfnEP7c/hhB6poX+UASCMRg+yEX1mO4Q=
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a33.g.dreamhost.com (Postfix) with ESMTPSA id CD494594062 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 10:14:27 -0700 (PDT)
Received: by vws12 with SMTP id 12so2568524vws.31 for <nfsv4@ietf.org>; Thu, 07 Apr 2011 10:14:26 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.169.39 with SMTP id ab7mr1409870vdc.230.1302196466933; Thu, 07 Apr 2011 10:14:26 -0700 (PDT)
Received: by 10.52.157.100 with HTTP; Thu, 7 Apr 2011 10:14:26 -0700 (PDT)
In-Reply-To: <4D9DF0B1.7010408@oracle.com>
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <4D9DBC25.7000409@oracle.com> <BANLkTinQ+qtGOeW=_MQbOiCUWdRiPg70hw@mail.gmail.com> <84F89421-B194-4156-A4E6-394F47140384@netapp.com> <BANLkTikSLwvUsN4AZRjsCPt0mnRdzxsMmQ@mail.gmail.com> <4D9DF0B1.7010408@oracle.com>
Date: Thu, 7 Apr 2011 12:14:26 -0500
Message-ID: <BANLkTimfd2mPoiKgAs5c0rRjadFkZhF-zg@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: jarrett.lu@oracle.com
Content-Type: text/plain; charset=UTF-8
Cc: Kathleen Moriarty <kathleen.moriarty@emc.com>, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 17:12:43 -0000

On Thu, Apr 7, 2011 at 12:13 PM, Jarrett Lu <jarrett.lu@oracle.com> wrote:
> This sounds like a standard multilevel directory on MLS MAC system.
> A multilevel directory usually has a label range associated with it.
> The label of each file under that directory falls within the label range.
> A subject is only supposed to see the file entries with label it
> dominates. Subject label and object label play an important role in
> what object is visible. For example, a user 'joe' is cleared to read
> both PUBLIC files and RESTRICTED files. When joe assumes the
> PUBLIC label and read /home/joe/foo file, the file contains PUBLIC
> information; when joe assumes the RESTRICTED label and reads
> the file with same pathname /home/joe/foo, he is reading a different
> file with RESTRICTED information in it. I don't know how to implement
> all this in "delegation" context, but that is how multilevel directory
> is supposed to work.

If the client is trusted to apply policy then the client could fetch
the label attributes of the names (note: names, not files, but maybe
we want to make the equivalence between name and file here for
simplicity!) when it readdirs, then the client can enforce policy
locally.

Or the client could know not to share its cache with different
subjects unless they operate at the same labels.  Or the client could
simply refrain from sharing directory caches amongst its local users
altogether.

Those are the two main implementation choices to get this visibility
issue right.

From jarrett.lu@oracle.com  Thu Apr  7 10:23:34 2011
Return-Path: <jarrett.lu@oracle.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 740053A6954 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 10:23:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wZOHbXcbVzFD for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 10:23:33 -0700 (PDT)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id 360573A694F for <nfsv4@ietf.org>; Thu,  7 Apr 2011 10:23:33 -0700 (PDT)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p37HPDpX021417 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 7 Apr 2011 17:25:14 GMT
Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p37HPBvb029693 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 7 Apr 2011 17:25:12 GMT
Received: from abhmt004.oracle.com (abhmt004.oracle.com [141.146.116.13]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p37HPBhC015820; Thu, 7 Apr 2011 12:25:11 -0500
Received: from [10.132.148.74] (/10.132.148.74) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 07 Apr 2011 10:25:11 -0700
Message-ID: <4D9DF43E.8070100@oracle.com>
Date: Thu, 07 Apr 2011 10:28:30 -0700
From: Jarrett Lu <jarrett.lu@oracle.com>
User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.2.13) Gecko/20110117 Thunderbird/3.1.7
MIME-Version: 1.0
To: Nico Williams <nico@cryptonector.com>
References: <4D95842E.70708@oracle.com>	<4D95B41C.70509@oracle.com>	<7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com>	<4D9DBC25.7000409@oracle.com>	<BANLkTinQ+qtGOeW=_MQbOiCUWdRiPg70hw@mail.gmail.com>	<4D9DEAF3.2050000@oracle.com> <BANLkTi=_=cdXG-LNTTAkg9Hyr+kj2q0DMQ@mail.gmail.com>
In-Reply-To: <BANLkTi=_=cdXG-LNTTAkg9Hyr+kj2q0DMQ@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Source-IP: acsmt356.oracle.com [141.146.40.156]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090207.4D9DF378.01C9:SCFSTAT5015188,ss=1,fgs=0
Cc: sfaibish@popimap.lss.emc.com, kathleen.moriarty@emc.com, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: jarrett.lu@oracle.com
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 17:23:34 -0000

On 04/ 7/11 10:07 AM, Nico Williams wrote:
> On Thu, Apr 7, 2011 at 11:48 AM, Jarrett Lu<jarrett.lu@oracle.com>  wrote:
>> On 04/ 7/11 07:43 AM, Nico Williams wrote:
>>> Surely you agree with me that the server needs to know the subject's
>>> label and that we want something better than a single label
>>> per-principal, no?
>> Yes, RPCSEC_GSSv3 will be great. It offers so many goodies. Other
>> than fine grained subject label, it can also be used to convey privileges
>> and privilege set, which could be very useful information among like
>> systems.
>>
>> RPCSEC_GSSv3 is considered a related but separate piece from NFS
>> MAC label extensions. So it's great to have but not required, i.e. we
>> should be able to do labeled NFS without RPCSEC_GSSv3. Again, I'd
>> love to have both.
> "Is considered"?  By whom?  I consider it a requirement for some of
> the cases where both, the client and the server are MAC-aware
> (specifically: whenever you need support for label sets or ranges,
> which is generally the case in MLS deployments for example).  (But
> clearly not a requirement for the cases where either or both of the
> client and server are MAC-unaware.)

I got the impression from the WG meeting session that RPCSEC_GSSv3
is related but separate from labeled NFS. Can others chime in on this?
I also think about this "requirement" in terms of dependency, e.g. does
NFS MAC label extension depends on RPCSEC_GSSv3? Is the extension
useless with RPCSEC_GSSv3? My opinion is labeled NFS works best with
RPCSEC_GSSv3. It can also work, in a less secure or less expressive way,
absent of RPCSEC_GSSv3. For example, a MAC server may need to do
some mapping to get client's subject label.

- Jarrett

> Nico
> --


From nico@cryptonector.com  Thu Apr  7 10:38:11 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DFF2528C141 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 10:38:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.936
X-Spam-Level: 
X-Spam-Status: No, score=-1.936 tagged_above=-999 required=5 tests=[AWL=0.041,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3-13wk2+LG80 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 10:38:11 -0700 (PDT)
Received: from homiemail-a30.g.dreamhost.com (caiajhbdcbbj.dreamhost.com [208.97.132.119]) by core3.amsl.com (Postfix) with ESMTP id 2C45F3A695D for <nfsv4@ietf.org>; Thu,  7 Apr 2011 10:38:11 -0700 (PDT)
Received: from homiemail-a30.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a30.g.dreamhost.com (Postfix) with ESMTP id A91F521DE81 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 10:39:55 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=C+vuVv9XKo6UTiWyq0ZP7AOrIYGFz6Np04YJ1LNAiD6E 1h4POm8kZqOviO8xTy2U38+JQCj+8S7cXoTf7jQ5wV0OZ7bJU0c9XGhsVMQAsDwo iG6V39RnGpjwy0VZDAYcVeheCIXIdbJ4HCUJ8u+a08Zd0sxTTK5I/1tYANkeNwM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=BTxJvnprA+G+vLN1GOTmMAh7g60=; b=whBUheUQU3v UWPFzVERHkSvFM3Uy1IZzhFjM0/+qC3GhLHgHz90ZD1AQ/uEXQhTZQTNFyFGLfJp pzrf4mkxYSTCIOrdZer+9zHguFnD4H20JK8GVw6sD/oljJKFximUMsaWRoE3NdPv 1Ym3+FuDx/P1z8ARXtkktZpZAp5BxYdA=
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a30.g.dreamhost.com (Postfix) with ESMTPSA id 5523221DE7F for <nfsv4@ietf.org>; Thu,  7 Apr 2011 10:39:55 -0700 (PDT)
Received: by vws12 with SMTP id 12so2590648vws.31 for <nfsv4@ietf.org>; Thu, 07 Apr 2011 10:39:54 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.89.18 with SMTP id bk18mr1686642vdb.270.1302197994765; Thu, 07 Apr 2011 10:39:54 -0700 (PDT)
Received: by 10.52.157.100 with HTTP; Thu, 7 Apr 2011 10:39:54 -0700 (PDT)
In-Reply-To: <4D9DF43E.8070100@oracle.com>
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <4D9DBC25.7000409@oracle.com> <BANLkTinQ+qtGOeW=_MQbOiCUWdRiPg70hw@mail.gmail.com> <4D9DEAF3.2050000@oracle.com> <BANLkTi=_=cdXG-LNTTAkg9Hyr+kj2q0DMQ@mail.gmail.com> <4D9DF43E.8070100@oracle.com>
Date: Thu, 7 Apr 2011 12:39:54 -0500
Message-ID: <BANLkTinCPpyU4bKca-oknxFZZfgwOcbgSQ@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: jarrett.lu@oracle.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: sfaibish@popimap.lss.emc.com, kathleen.moriarty@emc.com, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 17:38:12 -0000

On Thu, Apr 7, 2011 at 12:28 PM, Jarrett Lu <jarrett.lu@oracle.com> wrote:
> On 04/ 7/11 10:07 AM, Nico Williams wrote:
>>> RPCSEC_GSSv3 is considered a related but separate piece from NFS
>>> MAC label extensions. So it's great to have but not required, i.e. we
>>> should be able to do labeled NFS without RPCSEC_GSSv3. Again, I'd
>>> love to have both.
>>
>> "Is considered"? =C2=A0By whom? =C2=A0I consider it a requirement for so=
me of
>> the cases where both, the client and the server are MAC-aware
>> (specifically: whenever you need support for label sets or ranges,
>> which is generally the case in MLS deployments for example). =C2=A0(But
>> clearly not a requirement for the cases where either or both of the
>> client and server are MAC-unaware.)
>
> I got the impression from the WG meeting session that RPCSEC_GSSv3
> is related but separate from labeled NFS. Can others chime in on this?

Meetings are not authoritative for anything.  Consensus calls must be
confirmed on the list.

David Q. has stated that RPCSEC_GSSv3 is important for his interest in
labeled NFS.

> I also think about this "requirement" in terms of dependency, e.g. does
> NFS MAC label extension depends on RPCSEC_GSSv3? Is the extension
> useless with RPCSEC_GSSv3? My opinion is labeled NFS works best with
> RPCSEC_GSSv3. It can also work, in a less secure or less expressive way,
> absent of RPCSEC_GSSv3. For example, a MAC server may need to do
> some mapping to get client's subject label.

It's required for some uses/deployments.  It's not REQUIRED in the
sense of "to implement", as in RFC2119.

If the issue is "can we leave it out of NFSv4.2" then IMO: no, we must
not.  But then, IMO we must stop the train model nonsense.

Nico
--

From jarrett.lu@oracle.com  Thu Apr  7 11:11:11 2011
Return-Path: <jarrett.lu@oracle.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 206733A69B4 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 11:11:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cro8J8jL80mL for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 11:11:07 -0700 (PDT)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id E51F53A696A for <nfsv4@ietf.org>; Thu,  7 Apr 2011 11:11:05 -0700 (PDT)
Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p37ICldn007718 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 7 Apr 2011 18:12:48 GMT
Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p37ICkqk020992 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 7 Apr 2011 18:12:46 GMT
Received: from abhmt014.oracle.com (abhmt014.oracle.com [141.146.116.23]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p37ICjaw015919; Thu, 7 Apr 2011 13:12:45 -0500
Received: from [10.132.148.74] (/10.132.148.74) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 07 Apr 2011 11:12:44 -0700
Message-ID: <4D9DFF63.7020002@oracle.com>
Date: Thu, 07 Apr 2011 11:16:03 -0700
From: Jarrett Lu <jarrett.lu@oracle.com>
User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.2.13) Gecko/20110117 Thunderbird/3.1.7
MIME-Version: 1.0
To: Nico Williams <nico@cryptonector.com>
References: <4D95842E.70708@oracle.com>	<4D95B41C.70509@oracle.com>	<7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com>	<4D9DBC25.7000409@oracle.com>	<BANLkTinQ+qtGOeW=_MQbOiCUWdRiPg70hw@mail.gmail.com>	<4D9DEAF3.2050000@oracle.com>	<BANLkTi=_=cdXG-LNTTAkg9Hyr+kj2q0DMQ@mail.gmail.com>	<4D9DF43E.8070100@oracle.com> <BANLkTinCPpyU4bKca-oknxFZZfgwOcbgSQ@mail.gmail.com>
In-Reply-To: <BANLkTinCPpyU4bKca-oknxFZZfgwOcbgSQ@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Source-IP: acsmt358.oracle.com [141.146.40.158]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090206.4D9DFE9E.016B:SCFSTAT5015188,ss=1,fgs=0
Cc: sfaibish@popimap.lss.emc.com, kathleen.moriarty@emc.com, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: jarrett.lu@oracle.com
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 18:11:12 -0000

On 04/ 7/11 10:39 AM, Nico Williams wrote:
> On Thu, Apr 7, 2011 at 12:28 PM, Jarrett Lu<jarrett.lu@oracle.com>  wrote:
>> On 04/ 7/11 10:07 AM, Nico Williams wrote:
>>>> RPCSEC_GSSv3 is considered a related but separate piece from NFS
>>>> MAC label extensions. So it's great to have but not required, i.e. we
>>>> should be able to do labeled NFS without RPCSEC_GSSv3. Again, I'd
>>>> love to have both.
>>> "Is considered"?  By whom?  I consider it a requirement for some of
>>> the cases where both, the client and the server are MAC-aware
>>> (specifically: whenever you need support for label sets or ranges,
>>> which is generally the case in MLS deployments for example).  (But
>>> clearly not a requirement for the cases where either or both of the
>>> client and server are MAC-unaware.)
>> I got the impression from the WG meeting session that RPCSEC_GSSv3
>> is related but separate from labeled NFS. Can others chime in on this?
> Meetings are not authoritative for anything.  Consensus calls must be
> confirmed on the list.

For the record, I really like RPCSEC_GSSv3, and surely I'm not alone.
I guess the question is: Should we not work on labeled NFS extension
unless we also complete RPCSEC_GSSv3 at same time? I believe there are
users out there who could benefit from just labeled NFS extension work if
RPCSEC_GSSv3 needs to come in later. What does the list think?

- Jarrett


> David Q. has stated that RPCSEC_GSSv3 is important for his interest in
> labeled NFS.
>
>> I also think about this "requirement" in terms of dependency, e.g. does
>> NFS MAC label extension depends on RPCSEC_GSSv3? Is the extension
>> useless with RPCSEC_GSSv3? My opinion is labeled NFS works best with
>> RPCSEC_GSSv3. It can also work, in a less secure or less expressive way,
>> absent of RPCSEC_GSSv3. For example, a MAC server may need to do
>> some mapping to get client's subject label.
> It's required for some uses/deployments.  It's not REQUIRED in the
> sense of "to implement", as in RFC2119.
>
> If the issue is "can we leave it out of NFSv4.2" then IMO: no, we must
> not.  But then, IMO we must stop the train model nonsense.
>
> Nico
> --


From Tom.Haynes@netapp.com  Thu Apr  7 11:25:16 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A69ED3A69D1 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 11:25:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.483
X-Spam-Level: 
X-Spam-Status: No, score=-10.483 tagged_above=-999 required=5 tests=[AWL=0.115, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1AZ6APANXHz5 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 11:25:14 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by core3.amsl.com (Postfix) with ESMTP id 132F73A69CD for <nfsv4@ietf.org>; Thu,  7 Apr 2011 11:25:14 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.63,317,1299484800";  d="scan'208,217";a="539760949"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 07 Apr 2011 11:26:59 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p37IQxHl001920 for <nfsv4@ietf.org>; Thu, 7 Apr 2011 11:26:59 -0700 (PDT)
Received: from rtprsexc2-prd.hq.netapp.com ([10.100.161.115]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Apr 2011 11:26:59 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Apr 2011 14:26:56 -0400
Received: from maute-lxp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Apr 2011 14:26:56 -0400
From: Thomas Haynes <thomas@netapp.com>
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: multipart/alternative; boundary=Apple-Mail-2--376416136
Date: Thu, 7 Apr 2011 13:26:54 -0500
In-Reply-To: <4D2B6320-D443-47A4-8AC5-6AF1C5F397F2@netapp.com>
To: nfsv4@ietf.org
References: <4D2B6320-D443-47A4-8AC5-6AF1C5F397F2@netapp.com>
Message-Id: <238E2192-6AD7-4B31-91AC-A5ED8FBB9DB2@netapp.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 07 Apr 2011 18:26:56.0242 (UTC) FILETIME=[60070520:01CBF551]
Subject: [nfsv4] [NFSv4.2] Meeting Notes 04/07/2011
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 18:25:16 -0000

--Apple-Mail-2--376416136
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Attendees:

Tom Haynes (NetApp)
Fred Isaman (NetApp)
Jarrett Lu (Oracle)
James Lentini (NetApp)
Pranoop Erasani (NetApp)
Peter Staubach (EMC)
Andy Adamson (NetApp)


+ IETF Note Well Agreement

   http://www.ietf.org/NOTEWELL.html

+ fadvise=20

We identified that we need use cases for both proposals to be
discussed on the WG alias.

Pranoop also wanted to know how many systems use the Posix fadvise =
interface?

Finally, there needs to be some followup discussion about the use
cases for having the fadvise included with the read and write operations
as proposed in the Enterprise Apps I-D.

+ Patterns

We discussed rolling the various sparse file proposals into one common
thread for NFS4.2. In particular:

Create a file with a given pattern - sparse file
Read a pattern from a file=20
Write a pattern to a file - hole punch

We discussed what happens if a client wanted to READ an 8k chunk of file
and the first 4k were data and the second 4k were a pattern hole. I.e., =
do
we want to allow operations to use a mix of holes and data?

The simplest approach would be for the server to return 4k and allow the
client to send a second compound to get the remaining data.

The current XDR does not allow a mixture of holes and data. We should =
consider
if we can allow for an arbitrary number of mixtures.

I also mentioned that resolving this area would be where I am spending
the chunk of my editorial time at first.

+ Space reservation

No real discussion.

+ Unstable file creation

Pushed off until the next meeting.

+ Overview of what is in NFS4.2

Gave a quick summary of the items in, close to being in, etc. This was =
based
off of the slides I presented in Prague.


--Apple-Mail-2--376416136
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><div><div>Attendees:</div><div><br></div><div>Tom Haynes =
(NetApp)</div><div><div>Fred Isaman (NetApp)</div><div>Jarrett Lu =
(Oracle)</div><div>James Lentini (NetApp)</div><div>Pranoop Erasani =
(NetApp)</div><div>Peter Staubach (EMC)</div><div>Andy Adamson =
(NetApp)</div></div><div><br></div><div><br></div><div><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; "><div><div>+ IETF Note Well =
Agreement<br><br>&nbsp;&nbsp;&nbsp;<a =
href=3D"http://www.ietf.org/NOTEWELL.html">http://www.ietf.org/NOTEWELL.ht=
ml</a><br></div></div><div><br></div><div>+ =
fadvise&nbsp;</div><div><br></div><div>We identified that we need use =
cases for both proposals to be</div><div>discussed on the WG =
alias.</div><div><br></div><div>Pranoop also wanted to know how many =
systems use the Posix fadvise =
interface?</div><div><br></div><div>Finally, there needs to be some =
followup discussion about the use</div><div>cases for having the fadvise =
included with the read and write operations</div><div>as proposed in the =
Enterprise Apps I-D.</div><div><br></div><div>+ =
Patterns</div><div><br></div><div>We discussed rolling the various =
sparse file proposals into one common</div><div>thread for NFS4.2. In =
particular:</div><div><br></div><div>Create a file with a given pattern =
- sparse file</div><div>Read a pattern from a file&nbsp;</div><div>Write =
a pattern to a file - hole punch</div><div><br></div><div>We discussed =
what happens if a client wanted to READ an 8k chunk of =
file</div><div>and the first 4k were data and the second 4k were a =
pattern hole. I.e., do</div><div>we want to allow operations to use a =
mix of holes and data?</div><div><br></div><div>The simplest approach =
would be for the server to return 4k and allow the</div><div>client to =
send a second compound to get the remaining =
data.</div><div><br></div><div>The current XDR does not allow a mixture =
of holes and data. We should consider</div><div>if we can allow for an =
arbitrary number of mixtures.</div><div><br></div><div>I also mentioned =
that resolving this area would be where I am spending</div><div>the =
chunk of my editorial time at first.</div><div><br></div><div>+ Space =
reservation</div><div><br></div><div>No real =
discussion.</div><div><br></div><div>+ Unstable file =
creation</div><div><br></div><div>Pushed off until the next =
meeting.</div><div><br></div><div>+ Overview of what is in =
NFS4.2</div><div><br></div><div>Gave a quick summary of the items in, =
close to being in, etc. This was based</div><div>off of the slides I =
presented in =
Prague.</div><div><br></div></div></div></div></body></html>=

--Apple-Mail-2--376416136--

From david.black@emc.com  Thu Apr  7 11:28:06 2011
Return-Path: <david.black@emc.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B06F828C107 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 11:28:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.587
X-Spam-Level: 
X-Spam-Status: No, score=-106.587 tagged_above=-999 required=5 tests=[AWL=0.012, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vTcLuwPaZKIN for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 11:28:04 -0700 (PDT)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by core3.amsl.com (Postfix) with ESMTP id ABAF128C0E4 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 11:28:03 -0700 (PDT)
Received: from hop04-l1d11-si02.isus.emc.com (HOP04-L1D11-SI02.isus.emc.com [10.254.111.55]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p37ITfMV024114 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 7 Apr 2011 14:29:42 -0400
Received: from mailhub.lss.emc.com (mailhub.lss.emc.com [10.254.221.253]) by hop04-l1d11-si02.isus.emc.com (RSA Interceptor); Thu, 7 Apr 2011 14:29:36 -0400
Received: from mxhub32.corp.emc.com (mxhub32.corp.emc.com [128.221.47.161]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p37IQ1aK017975; Thu, 7 Apr 2011 14:26:06 -0400
Received: from mx14a.corp.emc.com ([169.254.1.143]) by mxhub32.corp.emc.com ([128.221.47.161]) with mapi; Thu, 7 Apr 2011 14:26:03 -0400
From: <david.black@emc.com>
To: <nico@cryptonector.com>, <jarrett.lu@oracle.com>
Date: Thu, 7 Apr 2011 14:25:57 -0400
Thread-Topic: RPCSEC_GSSv3 implementation requirement
Thread-Index: Acv1S7SsFvaIQHZTSJOr+W9PaBlirQAAGzLg
Message-ID: <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF292A@MX14A.corp.emc.com>
References: <4D95842E.70708@oracle.com>	<4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <4D9DBC25.7000409@oracle.com> <BANLkTinQ+qtGOeW=_MQbOiCUWdRiPg70hw@mail.gmail.com> <4D9DEAF3.2050000@oracle.com> <BANLkTi=_=cdXG-LNTTAkg9Hyr+kj2q0DMQ@mail.gmail.com> <4D9DF43E.8070100@oracle.com> <BANLkTinCPpyU4bKca-oknxFZZfgwOcbgSQ@mail.gmail.com>
In-Reply-To: <BANLkTinCPpyU4bKca-oknxFZZfgwOcbgSQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-EMM-MHVC: 1
Cc: kathleen.moriarty@emc.com, nfsv4@ietf.org
Subject: [nfsv4] RPCSEC_GSSv3 implementation requirement
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 18:28:06 -0000

PiA+IEkgYWxzbyB0aGluayBhYm91dCB0aGlzICJyZXF1aXJlbWVudCIgaW4gdGVybXMgb2YgZGVw
ZW5kZW5jeSwgZS5nLiBkb2VzDQo+ID4gTkZTIE1BQyBsYWJlbCBleHRlbnNpb24gZGVwZW5kcyBv
biBSUENTRUNfR1NTdjM/IElzIHRoZSBleHRlbnNpb24NCj4gPiB1c2VsZXNzIHdpdGhvdXQgUlBD
U0VDX0dTU3YzPyBNeSBvcGluaW9uIGlzIGxhYmVsZWQgTkZTIHdvcmtzIGJlc3Qgd2l0aA0KPiA+
IFJQQ1NFQ19HU1N2My4gSXQgY2FuIGFsc28gd29yaywgaW4gYSBsZXNzIHNlY3VyZSBvciBsZXNz
IGV4cHJlc3NpdmUgd2F5LA0KPiA+IGFic2VudCBvZiBSUENTRUNfR1NTdjMuIEZvciBleGFtcGxl
LCBhIE1BQyBzZXJ2ZXIgbWF5IG5lZWQgdG8gZG8NCj4gPiBzb21lIG1hcHBpbmcgdG8gZ2V0IGNs
aWVudCdzIHN1YmplY3QgbGFiZWwuDQo+IA0KPiBJdCdzIHJlcXVpcmVkIGZvciBzb21lIHVzZXMv
ZGVwbG95bWVudHMuICBJdCdzIG5vdCBSRVFVSVJFRCBpbiB0aGUNCj4gc2Vuc2Ugb2YgInRvIGlt
cGx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BpbiB0ZXJtcyBvZiBkZXBlbmRl
bmN5LCBlLmcuIGRvZXMNCj4gPiBORlMgTUFDIGxhYmVsIGV4dGVuc2lvbiBkZXBlbmRzIG9uIFJQ
Q1NFQ19HU1N2Mz8gSXMgdGhlIGV4dGVuc2lvbg0KPiA+IHVzZWxlc3Mgd2l0aCBSUENTRUNfR1NT
djM/IE15IG9waW5pb24gaXMgbGFiZWxlZCBORlMgd29ya3MgYmVzdCB3aXRoDQo+ID4gUlBDU0VD
X0dTU3YzLiBJdCBjYW4gYWxzbyB3b3JrLCBpbiBhIGxlc3Mgc2VjdXJlIG9yIGxlc3MgZXhwcmVz
c2l2ZSB3YXksDQo+ID4gYWJzZW50IG9mIFJQQ1NFQ19HU1N2My4gRm9yIGV4YW1wbGUsIGEgTUFD
IHNlcnZlciBtYXkgbmVlZCB0byBkbw0KPiA+IHNvbWUgbWFwcGluZyB0byBnZXQgY2xpZW50J3Mg
c3ViamVjdCBsYWJlbC4NCj4gDQo+IEl0J3MgcmVxdWlyZWQgZm9yIHNvbWUgdXNlcy9kZXBsb3lt
ZW50cy4gIEl0J3Mgbm90IFJFUVVJUkVEIGluIHRoZQ0KPiBzZW5zZSBvZiAidG8gaW1wbGVtZW50
IiwgYXMgaW4gUkZDMjExOS4NCj4gDQo+IElmIHRoZSBpc3N1ZSBpcyAiY2FuIHdlIGxlYXZlIGl0
IG91dCBvZiBORlN2NC4yIiB0aGVuIElNTzogbm8sIHdlIG11c3QNCj4gbm90LiAgQnV0IHRoZW4s
IElNTyB3ZSBtdXN0IHN0b3AgdGhlIHRyYWluIG1vZGVsIG5vbnNlbnNlLg0KPiANCj4gTmljbw0K
PiAtLQ0KDQo=

From nico@cryptonector.com  Thu Apr  7 11:29:34 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1CB1E3A6967 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 11:29:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.937
X-Spam-Level: 
X-Spam-Status: No, score=-1.937 tagged_above=-999 required=5 tests=[AWL=0.040,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IbloB-FPGeNj for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 11:29:33 -0700 (PDT)
Received: from homiemail-a35.g.dreamhost.com (caiajhbdcaid.dreamhost.com [208.97.132.83]) by core3.amsl.com (Postfix) with ESMTP id 539113A695C for <nfsv4@ietf.org>; Thu,  7 Apr 2011 11:29:33 -0700 (PDT)
Received: from homiemail-a35.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a35.g.dreamhost.com (Postfix) with ESMTP id D6B0054058 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 11:31:17 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=wP56+xtg7ppPfYG1hZ8hV ikSXT5YIQ8STFZ6SDwfoijDEcDHp5AiObocr2NzTb6BGlYKIbdHNz46bBKEOVe2N bKBy0St3zh8YxwKXt8ud8Ro9L+NR7R/ZQaxOR0MJj6Xm4hzWExpv4w9uK+ohmJcp fUzS25Z3HM/2z7nqN2drtg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=9KzfzOuQlHij7vqOvDxW QSxQ2wk=; b=ZW/RMkF05FyC6sB7ITdI6YRjYiB43M3rBUt3vg896NJYLsAA8ZSa D3w6OBaS0ECfDeqqY1KXK/IogwM56X1okFvcXUFZKQbF+9QgtXIcUHe5oAOi9Lvi Q4FRu+ZByt2fMH49xFN44sJ02jCiVnELO/KZvh0xPpT+DPvSIYPMKKQ=
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a35.g.dreamhost.com (Postfix) with ESMTPSA id 0E1A654055 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 11:31:16 -0700 (PDT)
Received: by vxg33 with SMTP id 33so2615467vxg.31 for <nfsv4@ietf.org>; Thu, 07 Apr 2011 11:31:16 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.92.144 with SMTP id cm16mr1803625vdb.30.1302201076411; Thu, 07 Apr 2011 11:31:16 -0700 (PDT)
Received: by 10.52.157.100 with HTTP; Thu, 7 Apr 2011 11:31:16 -0700 (PDT)
In-Reply-To: <4D9DFF63.7020002@oracle.com>
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <4D9DBC25.7000409@oracle.com> <BANLkTinQ+qtGOeW=_MQbOiCUWdRiPg70hw@mail.gmail.com> <4D9DEAF3.2050000@oracle.com> <BANLkTi=_=cdXG-LNTTAkg9Hyr+kj2q0DMQ@mail.gmail.com> <4D9DF43E.8070100@oracle.com> <BANLkTinCPpyU4bKca-oknxFZZfgwOcbgSQ@mail.gmail.com> <4D9DFF63.7020002@oracle.com>
Date: Thu, 7 Apr 2011 13:31:16 -0500
Message-ID: <BANLkTikiCPm=BOyk-myUNJUkfin6X=Xh6g@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: jarrett.lu@oracle.com
Content-Type: text/plain; charset=UTF-8
Cc: sfaibish@popimap.lss.emc.com, kathleen.moriarty@emc.com, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 18:29:34 -0000

On Thu, Apr 7, 2011 at 1:16 PM, Jarrett Lu <jarrett.lu@oracle.com> wrote:
> For the record, I really like RPCSEC_GSSv3, and surely I'm not alone.
> I guess the question is: Should we not work on labeled NFS extension
> unless we also complete RPCSEC_GSSv3 at same time? I believe there are
> users out there who could benefit from just labeled NFS extension work if
> RPCSEC_GSSv3 needs to come in later. What does the list think?

That's not the right question to ask at this point because it assumes
that RPCSEC_GSSv3 won't fit into the schedule -- I'm not willing to
make that assumption and it bothers me to see others making that
assumption without ever actually making a determination as to whether
that's actually the case.  Let us for determine whether RPCSEC_GSSv3
does or does not fit the schedule, and if there's any reason to push
if off the schedule, then let's consider whether labeled NFS can
proceed without it, or whether to reform the silly train model.

I understand that the pressure to push an item off the schedule might
rise if we think that we can do without it, but there's not even been
a suggestion that this or that item won't fit in the NFSv4.2 train yet
either.

Let's get the horse before the cart.

Nico
--

From nico@cryptonector.com  Thu Apr  7 11:38:13 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A44A43A69D3 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 11:38:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.937
X-Spam-Level: 
X-Spam-Status: No, score=-1.937 tagged_above=-999 required=5 tests=[AWL=0.040,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iCZL-cB4nvCJ for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 11:38:12 -0700 (PDT)
Received: from homiemail-a63.g.dreamhost.com (jankymail-mx1.g.dreamhost.com [208.97.132.126]) by core3.amsl.com (Postfix) with ESMTP id D81223A69CD for <nfsv4@ietf.org>; Thu,  7 Apr 2011 11:38:12 -0700 (PDT)
Received: from homiemail-a63.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a63.g.dreamhost.com (Postfix) with ESMTP id 71C5B2F4075 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 11:39:57 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=q+84hdc+YkNu98UisLrX+Ibi2/d9zDStvGp3rDADV22G pRK8r6AlGgNi9FzJgNkPzGTd//um25jvQYZKwnQtdQkh5V2jXxarhbnWAVfVCvYA plCnUSDyPDm5WidGjqiLci1xBWF1O+T0LLHQe9LSNN77XRSFHAIkRPweNKiXwyE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=bmLdOprxRskAny/2d6fJU/PYgLU=; b=sL8jN5m6IYj ZXV73Js44RGA5MUTQ4x64aW9qcPOTDja0YigFIgQ9lAm9+iRLg4HQUJB20WC2heR sOOtg50xS+Bs3gxI80lNDGULYhWTAP1X+S1VLliV+Wh+ueRev8Nau+WWVtJQaUx4 CU0hZBfjaHNohJNL7HHdQkTn9vm4xp0o=
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a63.g.dreamhost.com (Postfix) with ESMTPSA id 48C542F4072 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 11:39:57 -0700 (PDT)
Received: by vws12 with SMTP id 12so2643429vws.31 for <nfsv4@ietf.org>; Thu, 07 Apr 2011 11:39:56 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.176.134 with SMTP id ci6mr1812250vdc.190.1302201596696; Thu, 07 Apr 2011 11:39:56 -0700 (PDT)
Received: by 10.52.157.100 with HTTP; Thu, 7 Apr 2011 11:39:56 -0700 (PDT)
In-Reply-To: <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF292A@MX14A.corp.emc.com>
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <4D9DBC25.7000409@oracle.com> <BANLkTinQ+qtGOeW=_MQbOiCUWdRiPg70hw@mail.gmail.com> <4D9DEAF3.2050000@oracle.com> <BANLkTi=_=cdXG-LNTTAkg9Hyr+kj2q0DMQ@mail.gmail.com> <4D9DF43E.8070100@oracle.com> <BANLkTinCPpyU4bKca-oknxFZZfgwOcbgSQ@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF292A@MX14A.corp.emc.com>
Date: Thu, 7 Apr 2011 13:39:56 -0500
Message-ID: <BANLkTi=UQedkJ3EYDWCfYrrr6UOcq85HpA@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: david.black@emc.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: jarrett.lu@oracle.com, kathleen.moriarty@emc.com, nfsv4@ietf.org
Subject: Re: [nfsv4] RPCSEC_GSSv3 implementation requirement
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 18:38:13 -0000

On Thu, Apr 7, 2011 at 1:25 PM,  <david.black@emc.com> wrote:
>> > I also think about this "requirement" in terms of dependency, e.g. doe=
s
>> > NFS MAC label extension depends on RPCSEC_GSSv3? Is the extension
>> > useless without RPCSEC_GSSv3? My opinion is labeled NFS works best wit=
h
>> > RPCSEC_GSSv3. It can also work, in a less secure or less expressive wa=
y,
>> > absent of RPCSEC_GSSv3. For example, a MAC server may need to do
>> > some mapping to get client's subject label.
>>
>> It's required for some uses/deployments. =C2=A0It's not REQUIRED in the
>> sense of "to implement", as in RFC2119.
>
> Good - that's my crucial concern, and I agree with most of the above
> comments. =C2=A0I want to see implementation of RPCSEC_GSSv3 not be REQUI=
RED (in
> the RFC 2119 sense), ...

Agreed.

> ... so that MAC labels can be used in some fashion
> in the absence of RPCSEC_GSSv3 support.

But that's already true today.  It's possible to use NFS in a MAC
environment without modifying the protocol.  Solaris TX proves it.

There's a set of trade-offs to make regarding what the deployed
environment looks like according to which features we have or lack.

> Of course if RPCSEC_GSSv3 is not implemented, then environments that requ=
ire
> RPCSEC_GSSv3 functionality (and there are some) can't be supported by suc=
h
> implementations. =C2=A0Yes, that was obvious, ... but what may be less ob=
vious
> is that we're likely to need some limited additional functionality to rep=
lace
> things that RPCSEC_GSSv3 does in order to ensure that MAC labels are usef=
ul
> in the absence of RPCSEC_GSSv3 support (e.g., client ability to send its =
label
> to the MAC server for cross-checking by the MAC server).

Yes, this is true.  We could conclude that a MAC environment w/o
RPCSEC_GSSv3 is insufficiently useful.

Solaris TX manages by labeling paths and requiring trusted clients --
the clients enforce MAC policy.

If you don't want to trust the clients quite as much then not only do
you need MAC-aware servers, but most users will (I assume) also need
RPCSEC_GSSv3 because you will need multi-label clients.

Note that defining a label attribute does not make the server
MAC-aware.  A MAC-aware server is one that can enforce MAC policy, but
since that requires knowing the label of each subject, that requires
either each principal, each client IP address, or each {principal,
client IP address} to be at a single label, OR that the clients use
RPCSEC_GSSv3.  Only the latter is terribly usable.

IOW, I think that RPCSEC_GSSv3 is required when MAC-aware _servers_
are desired.  RPCSEC_GSSv3 is only not required when dumb servers are
used.

Nico
--

From nico@cryptonector.com  Thu Apr  7 11:39:43 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 058CE3A695C for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 11:39:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.938
X-Spam-Level: 
X-Spam-Status: No, score=-1.938 tagged_above=-999 required=5 tests=[AWL=0.039,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ufjdi+MO7Gde for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 11:39:42 -0700 (PDT)
Received: from homiemail-a63.g.dreamhost.com (jankymail-mx1.g.dreamhost.com [208.97.132.126]) by core3.amsl.com (Postfix) with ESMTP id 984A93A67B0 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 11:39:42 -0700 (PDT)
Received: from homiemail-a63.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a63.g.dreamhost.com (Postfix) with ESMTP id 8BB1B2F4076 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 11:41:27 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=kQMJT8x6dswDak/K6q/Wf CcSxZdN4qVFx62HudqgmErGMXvhlEskdlL7bISv60rCLTFP+oLrTBe1SYQiuaKZ2 AsEcxRcku6QquZGrvyuQIBamENZvygOTXPGQl+Xbw0rL7D2KQ0a6tM3EEhy5Oh5e gl3qXLqlmnwFIibEDIuK0w=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=OZmuo/vL1tIHtm6k1kXr bz4fqsY=; b=eoZPrA1zkQih0Xzadr/UabT5g/NJRL+nmxIDfUtDCjPX9ytVok/f WdZsVp7K6H3Fub9RRxw9dqquEzMWpF1BEMRszT7t6pYu9BRDljr6P7bgZ3eLjcqU ooGp3rS9/rZYt3eb2299m2cyQJpz5d61FuQRsf9f6iEj7VpiOBsYiA0=
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a63.g.dreamhost.com (Postfix) with ESMTPSA id 5E58A2F4072 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 11:41:27 -0700 (PDT)
Received: by vxg33 with SMTP id 33so2624095vxg.31 for <nfsv4@ietf.org>; Thu, 07 Apr 2011 11:41:26 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.68.65 with SMTP id u1mr1776813vdt.310.1302201686824; Thu, 07 Apr 2011 11:41:26 -0700 (PDT)
Received: by 10.52.157.100 with HTTP; Thu, 7 Apr 2011 11:41:26 -0700 (PDT)
In-Reply-To: <238E2192-6AD7-4B31-91AC-A5ED8FBB9DB2@netapp.com>
References: <4D2B6320-D443-47A4-8AC5-6AF1C5F397F2@netapp.com> <238E2192-6AD7-4B31-91AC-A5ED8FBB9DB2@netapp.com>
Date: Thu, 7 Apr 2011 13:41:26 -0500
Message-ID: <BANLkTi=_NPFE_zUgqmtH8vCrPzpYEHM5CQ@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Thomas Haynes <thomas@netapp.com>
Content-Type: text/plain; charset=UTF-8
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [NFSv4.2] Meeting Notes 04/07/2011
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 18:39:43 -0000

On Thu, Apr 7, 2011 at 1:26 PM, Thomas Haynes <thomas@netapp.com> wrote:
> + Overview of what is in NFS4.2
> Gave a quick summary of the items in, close to being in, etc. This was based
> off of the slides I presented in Prague.

I could use more detail on this if anything was discussed beyond what
appears on those slides.

Nico
--

From Tom.Haynes@netapp.com  Thu Apr  7 12:17:47 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 207B43A696D for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 12:17:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.484
X-Spam-Level: 
X-Spam-Status: No, score=-10.484 tagged_above=-999 required=5 tests=[AWL=0.114, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SrPssaL5csWN for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 12:17:46 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by core3.amsl.com (Postfix) with ESMTP id 730FE3A6957 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 12:17:46 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.63,317,1299484800";  d="scan'208,217";a="539782476"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 07 Apr 2011 12:19:31 -0700
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p37JJVkt013503; Thu, 7 Apr 2011 12:19:31 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Apr 2011 12:19:31 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Apr 2011 15:19:29 -0400
Received: from maute-lxp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Apr 2011 15:19:29 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: multipart/alternative; boundary=Apple-Mail-4--373262596
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <BANLkTi=_NPFE_zUgqmtH8vCrPzpYEHM5CQ@mail.gmail.com>
Date: Thu, 7 Apr 2011 14:19:28 -0500
Message-Id: <6F018BBA-72FD-4635-8E41-190C87CB4CB7@netapp.com>
References: <4D2B6320-D443-47A4-8AC5-6AF1C5F397F2@netapp.com> <238E2192-6AD7-4B31-91AC-A5ED8FBB9DB2@netapp.com> <BANLkTi=_NPFE_zUgqmtH8vCrPzpYEHM5CQ@mail.gmail.com>
To: Nico Williams <nico@cryptonector.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 07 Apr 2011 19:19:29.0594 (UTC) FILETIME=[B79259A0:01CBF558]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [NFSv4.2] Meeting Notes 04/07/2011
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 19:17:47 -0000

--Apple-Mail-4--373262596
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252


On Apr 7, 2011, at 1:41 PM, Nico Williams wrote:

> On Thu, Apr 7, 2011 at 1:26 PM, Thomas Haynes <thomas@netapp.com> =
wrote:
>> + Overview of what is in NFS4.2
>> Gave a quick summary of the items in, close to being in, etc. This =
was based
>> off of the slides I presented in Prague.
>=20
> I could use more detail on this if anything was discussed beyond what
> appears on those slides.
>=20
> Nico
> --

No, nothing more was discussed. I had just realized that not everyone =
had been
present for either the interim or IETF80 meetings.

The two slides of interest are:

Items onboard

* Bug fixes=20
  - LAYOUTRETURN can provide errors to MDS=20
  =96 Client can register CB for LEASE_MOVED
  =96 Change attribute semantic
* Functional Changes=20
  =96 NFS Server-Side Copy
    * Need to pull in RPCSEC_GSS_v3
  =96 Simple and efficient read support for sparse files
  =96 NFS space reservation operations

Items at the ticket booth

* Server side caching of file creation (Myklebust)
* Enterprise Apps (Haynes)
  =96 Mainly want to leverage synergy with sparse files
* MAC Security Label Support (Myklebust/Faibish)
  - Need to pull in RPCSEC_GSS_v3

And the name in parenthesis was who I identified as the sponsor,
so not necessarily the author.=

--Apple-Mail-4--373262596
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1252

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><br><div><div>On Apr 7, 2011, at 1:41 PM, Nico Williams =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><div>On Thu, Apr 7, 2011 at 1:26 PM, Thomas Haynes &lt;<a =
href=3D"mailto:thomas@netapp.com">thomas@netapp.com</a>&gt; =
wrote:<br><blockquote type=3D"cite">+ Overview of what is in =
NFS4.2<br></blockquote><blockquote type=3D"cite">Gave a quick summary of =
the items in, close to being in, etc. This was =
based<br></blockquote><blockquote type=3D"cite">off of the slides I =
presented in Prague.<br></blockquote><br>I could use more detail on this =
if anything was discussed beyond what<br>appears on those =
slides.<br><br>Nico<br>--<br></div></blockquote></div><br><div>No, =
nothing more was discussed. I had just realized that not everyone had =
been</div><div>present for either the interim or IETF80 =
meetings.</div><div><br></div><div>The two slides of interest =
are:</div><div><br></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">Items onboard</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier"><br></font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">* Bug =
fixes&nbsp;</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp;- LAYOUTRETURN can&nbsp;provide errors to =
MDS&nbsp;</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp;=96 Client can&nbsp;register CB for =
LEASE_MOVED</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp;=96&nbsp;Change attribute semantic<br>* =
Functional Changes&nbsp;</font></div><div><font class=3D"Apple-style-span"=
 face=3D"Courier">&nbsp;&nbsp;=96 NFS =
Server-Side&nbsp;Copy<br>&nbsp;&nbsp; &nbsp;*&nbsp;Need to pull =
in&nbsp;RPCSEC_GSS_v3</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp;=96&nbsp;Simple and efficient read support =
for&nbsp;sparse files</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp;=96 NFS space =
reservation&nbsp;operations</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier"><br></font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">Items at the ticket =
booth</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier"><br>* Server side caching of file =
creation&nbsp;(Myklebust)</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">* Enterprise Apps =
(Haynes)<br>&nbsp;&nbsp;=96 Mainly want to leverage synergy =
with&nbsp;sparse files</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">* MAC Security Label&nbsp;Support =
(Myklebust/Faibish)<br>&nbsp;&nbsp;- Need to pull =
in&nbsp;RPCSEC_GSS_v3</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier"><br></font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">And the name in parenthesis was who I identified as the =
sponsor,</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">so not necessarily the =
author.</font></div></body></html>=

--Apple-Mail-4--373262596--

From nico@cryptonector.com  Thu Apr  7 13:48:31 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B69763A69D9 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 13:48:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.938
X-Spam-Level: 
X-Spam-Status: No, score=-1.938 tagged_above=-999 required=5 tests=[AWL=0.038,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H1XgFWDrrgxC for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 13:48:31 -0700 (PDT)
Received: from homiemail-a26.g.dreamhost.com (caiajhbdcagg.dreamhost.com [208.97.132.66]) by core3.amsl.com (Postfix) with ESMTP id E3E313A68C3 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 13:48:30 -0700 (PDT)
Received: from homiemail-a26.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a26.g.dreamhost.com (Postfix) with ESMTP id C6404B8057 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 13:50:15 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :date:message-id:subject:from:to:content-type; q=dns; s= cryptonector.com; b=t7kpDi3ocNASSVenPogxk0Ep5y36VPeeip+9u1nNmi6U 8P+bi5ZR7a6UISwo/eq9eTCD97DLbWLh+GghmVdIpbPif9zyYUb378dMZZBnM3vr pMltbAIcqFJ7Zbw2m3NSmfqj0Xq8QuvtZAGZYikSn9h6ayb2KsLljjdtlfPxqgw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:date:message-id:subject:from:to:content-type; s= cryptonector.com; bh=7jpXAwRahvpRgxr6mdMfu8HlAVU=; b=m2hqBBhvT3L Xkwf/k2gm95R+Glrq6zb6kNcAk9dhyhSjLTqsUU14+pg0Ie7jGI2HF8My12kpRKz 9w4IhByuDIvG9SqOes4QFKY4Ok7edDdOgz+agELGzcOBJnfS3Irguqg4NCK61Kug dJ47xi6Vt0XkCyQ2LsWHXZwKE3LE8jfk=
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a26.g.dreamhost.com (Postfix) with ESMTPSA id 9E348B805B for <nfsv4@ietf.org>; Thu,  7 Apr 2011 13:50:15 -0700 (PDT)
Received: by vws12 with SMTP id 12so2759783vws.31 for <nfsv4@ietf.org>; Thu, 07 Apr 2011 13:50:14 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.169.39 with SMTP id ab7mr1732867vdc.230.1302209414906; Thu, 07 Apr 2011 13:50:14 -0700 (PDT)
Received: by 10.52.157.100 with HTTP; Thu, 7 Apr 2011 13:50:13 -0700 (PDT)
Received: by 10.52.157.100 with HTTP; Thu, 7 Apr 2011 13:50:13 -0700 (PDT)
Date: Thu, 7 Apr 2011 15:50:13 -0500
Message-ID: <BANLkTi=5do=bwCK_n6RbHBULefk-_gKk1w@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: nfsv4@ietf.org
Content-Type: multipart/alternative; boundary=bcaec53f906999485304a05a418f
Subject: [nfsv4] Status of RPCSEC_GSSv3
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 20:48:31 -0000

--bcaec53f906999485304a05a418f
Content-Type: text/plain; charset=UTF-8

I believe the I-D is in reasonable shape.

TODO:

 - Privileges list requires review by people familiar with fine-grained
privilege ("capabilities", in Linux speak) facilities of operating systems
other than Solaris.

 - Additional references are required for MAC.

 - Plenty of review.

 - We might want an option where the label is added to the MIC sent in
opaque_auth, so that we don't need an RPCSEC_GSSv3 context for every label a
user uses -- this might be particularly important for SElinux.  Problem:
we're limited to 400 bytes in which to fit the label and the context handle
ID and MIC, and it's difficult to predict whether we can fit them all, but
when we can't we can always fallback on getting a new handle anyways, so I
think this is a non-problem.

 - Add text explicitly allowing simplified profiles.

Please review!

Also, I believe there are people who are implementing. Implementation
experience comments would be appreciated.

Nico
--

--bcaec53f906999485304a05a418f
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p>I believe the I-D is in reasonable shape.</p>
<p>TODO:</p>
<p>=C2=A0- Privileges list requires review by people familiar with fine-gra=
ined privilege (&quot;capabilities&quot;, in Linux speak) facilities of ope=
rating systems other than Solaris.</p>
<p>=C2=A0- Additional references are required for MAC.</p>
<p>=C2=A0- Plenty of review.</p>
<p>=C2=A0- We might want an option where the label is added to the MIC sent=
 in opaque_auth, so that we don&#39;t need an RPCSEC_GSSv3 context for ever=
y label a user uses -- this might be particularly important for SElinux.=C2=
=A0 Problem: we&#39;re limited to 400 bytes in which to fit the label and t=
he context handle ID and MIC, and it&#39;s difficult to predict whether we =
can fit them all, but when we can&#39;t we can always fallback on getting a=
 new handle anyways, so I think this is a non-problem.</p>

<p>=C2=A0- Add text explicitly allowing simplified profiles.</p>
<p>Please review!</p>
<p>Also, I believe there are people who are implementing. Implementation ex=
perience comments would be appreciated.</p>
<p>Nico<br>
-- </p>

--bcaec53f906999485304a05a418f--

From Tom.Haynes@netapp.com  Thu Apr  7 13:58:30 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E13BC3A6A2B for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 13:58:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.486
X-Spam-Level: 
X-Spam-Status: No, score=-10.486 tagged_above=-999 required=5 tests=[AWL=0.112, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7NLeqpkHqymJ for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 13:58:29 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by core3.amsl.com (Postfix) with ESMTP id 5BBC03A6974 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 13:58:29 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.63,319,1299484800";  d="scan'208,217";a="539834634"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 07 Apr 2011 14:00:14 -0700
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p37L03Xw006297; Thu, 7 Apr 2011 14:00:14 -0700 (PDT)
Received: from rtprsexc2-prd.hq.netapp.com ([10.100.161.115]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Apr 2011 14:00:13 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Apr 2011 17:00:12 -0400
Received: from ebc05-xp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Apr 2011 17:00:11 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: multipart/alternative; boundary=Apple-Mail-9--367220636
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <BANLkTi=5do=bwCK_n6RbHBULefk-_gKk1w@mail.gmail.com>
Date: Thu, 7 Apr 2011 16:00:10 -0500
Message-Id: <3F72BE21-A2E0-4948-93FE-26CB0CADDC84@netapp.com>
References: <BANLkTi=5do=bwCK_n6RbHBULefk-_gKk1w@mail.gmail.com>
To: Nico Williams <nico@cryptonector.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 07 Apr 2011 21:00:11.0641 (UTC) FILETIME=[C8E98E90:01CBF566]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] Status of RPCSEC_GSSv3
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 20:58:31 -0000

--Apple-Mail-9--367220636
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


On Apr 7, 2011, at 3:50 PM, Nico Williams wrote:

> I believe the I-D is in reasonable shape.
>=20
> TODO:
>=20
>  - Privileges list requires review by people familiar with =
fine-grained privilege ("capabilities", in Linux speak) facilities of =
operating systems other than Solaris.
>=20
>=20


Do we know who to ask to do the review or do we need to get someone to =
find out who to ask?


>  - Additional references are required for MAC.
>=20
>  - Plenty of review.
>=20
>  - We might want an option where the label is added to the MIC sent in =
opaque_auth, so that we don't need an RPCSEC_GSSv3 context for every =
label a user uses -- this might be particularly important for SElinux.  =
Problem: we're limited to 400 bytes in which to fit the label and the =
context handle ID and MIC, and it's difficult to predict whether we can =
fit them all, but when we can't we can always fallback on getting a new =
handle anyways, so I think this is a non-problem.
>=20
>  - Add text explicitly allowing simplified profiles.
>=20
>=20


I also want us to explore deprecating v2 and also to gather all of the =
XDR in one place.

Do we know if anyone has implemented v2 or is everyone doing v1?

The main driver for v2 appeared to be channel bindings. v3 introduces a =
simpler
channel binding approach more in line with industry practice.


> Please review!
>=20
> Also, I believe there are people who are implementing. Implementation =
experience comments would be appreciated.
>=20
> Nico
> --
>=20
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4


--Apple-Mail-9--367220636
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><br><div><div>On Apr 7, 2011, at 3:50 PM, Nico Williams =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><p>I believe the I-D is in reasonable =
shape.</p><p>TODO:</p><p>&nbsp;- Privileges list requires review by =
people familiar with fine-grained privilege ("capabilities", in Linux =
speak) facilities of operating systems other than =
Solaris.</p><div><br></div></blockquote><div><br></div><div><br></div><div=
>Do we know who to ask to do the review or do we need to get someone to =
find out who to ask?</div><div><br></div><br><blockquote =
type=3D"cite"><p>&nbsp;- Additional references are required for =
MAC.</p><p>&nbsp;- Plenty of review.</p><p>&nbsp;- We might want an =
option where the label is added to the MIC sent in opaque_auth, so that =
we don't need an RPCSEC_GSSv3 context for every label a user uses -- =
this might be particularly important for SElinux.&nbsp; Problem: we're =
limited to 400 bytes in which to fit the label and the context handle ID =
and MIC, and it's difficult to predict whether we can fit them all, but =
when we can't we can always fallback on getting a new handle anyways, so =
I think this is a non-problem.</p><p>&nbsp;- Add text explicitly =
allowing simplified =
profiles.</p><div><br></div></blockquote><div><br></div><div><br></div><di=
v>I also want us to explore deprecating v2 and also to gather all of the =
XDR in one place.</div><div><br></div><div>Do we know if anyone has =
implemented v2 or is everyone doing v1?</div><div><br></div><div>The =
main driver for v2 appeared to be channel bindings. v3 introduces a =
simpler</div><div>channel binding approach more in line with industry =
practice.</div><div><br></div><br><blockquote type=3D"cite"><p>Please =
review!</p><p>Also, I believe there are people who are implementing. =
Implementation experience comments would be appreciated.</p><p>Nico<br>
-- </p>
_______________________________________________<br>nfsv4 mailing =
list<br><a =
href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</a><br>https://www.ietf.org/=
mailman/listinfo/nfsv4<br></blockquote></div><br></body></html>=

--Apple-Mail-9--367220636--

From jarrett.lu@oracle.com  Thu Apr  7 14:23:03 2011
Return-Path: <jarrett.lu@oracle.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5FB633A6982 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 14:23:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u1kPJgbGtGjQ for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 14:23:02 -0700 (PDT)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id 617B828C120 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 14:23:02 -0700 (PDT)
Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p37LOipJ011153 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 7 Apr 2011 21:24:45 GMT
Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p37LOhZM016524 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 7 Apr 2011 21:24:43 GMT
Received: from abhmt002.oracle.com (abhmt002.oracle.com [141.146.116.11]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p37LOgv4008902; Thu, 7 Apr 2011 16:24:42 -0500
Received: from [10.132.148.74] (/10.132.148.74) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 07 Apr 2011 14:24:42 -0700
Message-ID: <4D9E2C61.2040007@oracle.com>
Date: Thu, 07 Apr 2011 14:28:01 -0700
From: Jarrett Lu <jarrett.lu@oracle.com>
User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.2.13) Gecko/20110117 Thunderbird/3.1.7
MIME-Version: 1.0
To: Nico Williams <nico@cryptonector.com>
References: <4D95842E.70708@oracle.com>	<4D95B41C.70509@oracle.com>	<7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com>	<4D9DBC25.7000409@oracle.com>	<BANLkTinQ+qtGOeW=_MQbOiCUWdRiPg70hw@mail.gmail.com>	<4D9DEAF3.2050000@oracle.com>	<BANLkTi=_=cdXG-LNTTAkg9Hyr+kj2q0DMQ@mail.gmail.com>	<4D9DF43E.8070100@oracle.com>	<BANLkTinCPpyU4bKca-oknxFZZfgwOcbgSQ@mail.gmail.com>	<7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF292A@MX14A.corp.emc.com> <BANLkTi=UQedkJ3EYDWCfYrrr6UOcq85HpA@mail.gmail.com>
In-Reply-To: <BANLkTi=UQedkJ3EYDWCfYrrr6UOcq85HpA@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Source-IP: acsmt358.oracle.com [141.146.40.158]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090206.4D9E2B9C.0009:SCFSTAT5015188,ss=1,fgs=0
Cc: kathleen.moriarty@emc.com, nfsv4@ietf.org
Subject: Re: [nfsv4] RPCSEC_GSSv3 implementation requirement
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: jarrett.lu@oracle.com
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 21:23:03 -0000

On 04/ 7/11 11:39 AM, Nico Williams wrote:
> On Thu, Apr 7, 2011 at 1:25 PM,<david.black@emc.com>  wrote:
>>>> I also think about this "requirement" in terms of dependency, e.g. does
>>>> NFS MAC label extension depends on RPCSEC_GSSv3? Is the extension
>>>> useless without RPCSEC_GSSv3? My opinion is labeled NFS works best with
>>>> RPCSEC_GSSv3. It can also work, in a less secure or less expressive way,
>>>> absent of RPCSEC_GSSv3. For example, a MAC server may need to do
>>>> some mapping to get client's subject label.
>>> It's required for some uses/deployments.  It's not REQUIRED in the
>>> sense of "to implement", as in RFC2119.
>> Good - that's my crucial concern, and I agree with most of the above
>> comments.  I want to see implementation of RPCSEC_GSSv3 not be REQUIRED (in
>> the RFC 2119 sense), ...
> Agreed.
>
>> ... so that MAC labels can be used in some fashion
>> in the absence of RPCSEC_GSSv3 support.
> But that's already true today.  It's possible to use NFS in a MAC
> environment without modifying the protocol.  Solaris TX proves it.

There are cases where deriving a file object label becomes difficult or 
impossible.
So having labeled NFS extension helps. Having RPCSEC_GSSv3 helps even more.
If both RPCSEC_GSSv3 and Labeled NFS fit in 4.2 time frame, great! If 
not, I don't
see why users should not get the incremental benefit, whichever piece 
becomes
available first.

> There's a set of trade-offs to make regarding what the deployed
> environment looks like according to which features we have or lack.
>
>> Of course if RPCSEC_GSSv3 is not implemented, then environments that require
>> RPCSEC_GSSv3 functionality (and there are some) can't be supported by such
>> implementations.  Yes, that was obvious, ... but what may be less obvious
>> is that we're likely to need some limited additional functionality to replace
>> things that RPCSEC_GSSv3 does in order to ensure that MAC labels are useful
>> in the absence of RPCSEC_GSSv3 support (e.g., client ability to send its label
>> to the MAC server for cross-checking by the MAC server).
> Yes, this is true.  We could conclude that a MAC environment w/o
> RPCSEC_GSSv3 is insufficiently useful.
>
> Solaris TX manages by labeling paths and requiring trusted clients --
> the clients enforce MAC policy.

Solaris Trusted Extensions MAC server can work with MAC aware clients
as well as MAC ignorant clients. In the former case, the subject label is
derived from the CIPSO option of an IP packet; in later case, the subject
label is defined in a centrally managed database. Not a very granular
labeling scheme, but is deployed and deemed sufficient in some environments.

So there are accredited solution that uses MAC clients and servers that
has neither labeled NFS extension nor RPCSEC_GSSv3. Either one will improve
over existing solutions. I think we agree on having both is better; we 
disagree
on having only labeled NFS extension is not useful.

- Jarrett


> If you don't want to trust the clients quite as much then not only do
> you need MAC-aware servers, but most users will (I assume) also need
> RPCSEC_GSSv3 because you will need multi-label clients.
>
> Note that defining a label attribute does not make the server
> MAC-aware.  A MAC-aware server is one that can enforce MAC policy, but
> since that requires knowing the label of each subject, that requires
> either each principal, each client IP address, or each {principal,
> client IP address} to be at a single label, OR that the clients use
> RPCSEC_GSSv3.  Only the latter is terribly usable.
>
> IOW, I think that RPCSEC_GSSv3 is required when MAC-aware _servers_
> are desired.  RPCSEC_GSSv3 is only not required when dumb servers are
> used.
>
> Nico
> --


From Tom.Haynes@netapp.com  Thu Apr  7 14:32:59 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DE5503A69E2 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 14:32:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.488
X-Spam-Level: 
X-Spam-Status: No, score=-10.488 tagged_above=-999 required=5 tests=[AWL=0.111, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id laMhrt+vQKKC for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 14:32:58 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by core3.amsl.com (Postfix) with ESMTP id 5AD503A69D4 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 14:32:58 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.63,319,1299484800"; d="scan'208";a="539845862"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 07 Apr 2011 14:34:43 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p37LYhfN003767; Thu, 7 Apr 2011 14:34:43 -0700 (PDT)
Received: from rtprsexc2-prd.hq.netapp.com ([10.100.161.115]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Apr 2011 14:34:41 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Apr 2011 17:34:40 -0400
Received: from ebc05-xp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Apr 2011 17:34:39 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <20110407151123.GS15449@tortuga.czech.sun.com>
Date: Thu, 7 Apr 2011 16:34:38 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <D4DFAC6A-5016-4014-907A-299B7D344ACD@netapp.com>
References: <20110403114257.GA13873@telcontar.in.telka.sk> <F4A45CE5-EC4E-46A5-8CC1-004162232595@netapp.com> <20110407143816.GP15449@tortuga.czech.sun.com> <B006952C-BFE5-4788-BD4B-0A74036AF9BF@netapp.com> <20110407144911.GQ15449@tortuga.czech.sun.com> <20110407151123.GS15449@tortuga.czech.sun.com>
To: Marcel Telka <marcel.telka@oracle.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 07 Apr 2011 21:34:39.0875 (UTC) FILETIME=[99AD0530:01CBF56B]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] RFC3530bis: open owner vs. lock owner
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 21:33:00 -0000

I've pushed this out to the WG alias because people there might have =
some
input.


On Apr 7, 2011, at 10:11 AM, Marcel Telka wrote:

> On Thu, Apr 07, 2011 at 04:49:11PM +0200, Marcel Telka wrote:
>> On Thu, Apr 07, 2011 at 09:42:27AM -0500, Thomas Haynes wrote:
>>>=20
>>> On Apr 7, 2011, at 9:38 AM, Marcel Telka wrote:
>>>=20
>>>>>=20
>>>>=20
>>>> Thank you, Tom. Is the updated text of the bis document available =
somewhere?
>>>>=20
>>>> --=20
>>>> Marcel Telka
>>>> RPE, Systems
>>>=20
>>>=20
>>> Sorry, I should have let you know:
>>>=20
>>> http://datatracker.ietf.org/doc/draft-ietf-nfsv4-rfc3530bis/
>>>=20
>>=20
>> Great. Thanks.
>=20
> I think the text is still confusing. See:
>=20
>   Unlike the text in NFSv4.1 [31], this text treats "lock-owner" as
>   meaning both a open-owner and a lock-owner.  Also, a "lock" can =
refer
>   to both a byte-range and share lock.
>=20


It would have been better if you were asking me these questions a month
ago when I was struggling with that text. :->

5661 did a major overhaul of the terminology for stateids - it is much
nicer. However, I seem to recall the session id stuff simplified it, but=20=

that could not be backported to 3530bis.

Lets try to straighten things out:

An open-owner is always an open-owner.

That means we just have to check to see if every remaining lock-owner is =
referencing
a lock-owner or an open-owner, or both.

And we see instances of both.

>=20
> The paragraph above looks like a recursion:
> To understand recursion you must first understood the recursion. :-)
>=20


I'm fine with changing it to:

This text treats "lock-owner" as
meaning both a open-owner and a lock-owner.  Also, a "lock" can refer
to both a byte-range and share lock.



>=20
> Next, the chapter "9.1.4.  lock-owner" is obviously about lock_owner4 =
only. It
> has nothing to do with open owner. So the definition above does not =
apply.


No actually it is both a lock-owner and an open-owner. I.e., it =
describes the
format of both.

Look at Section 9.1.8:

   When a particular lock-owner no longer holds open or file locking
   state at the server, the server may choose to release the sequence
   number state associated with the lock-owner.  The server may make

Clearly the "lock-owner" refers to both an open-owner and a lock-owner.




>=20
> Next, chapter "15.39.  Operation 39: RELEASE_LOCKOWNER" contains this:
>=20
> ...
>=20
>   struct RELEASE_LOCKOWNER4args {
>           lock_owner4     lock_owner;
>   };
>=20
> ...
>=20
>   This operation is used to notify the server that the lock-owner is =
no
>   longer in use by the client.  This allows the server to release
>   cached state related to the specified lock-owner.  If file locks,
>=20
> ...
>=20
>=20
> I believe either lock_owner4 or lock_owner should be used there.
>=20


Agreed.


> --=20
> Marcel Telka
> RPE, Systems


From jarrett.lu@oracle.com  Thu Apr  7 14:41:33 2011
Return-Path: <jarrett.lu@oracle.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9FC913A69D4 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 14:41:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 33cWM-78O06f for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 14:41:32 -0700 (PDT)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id AE4B43A67CC for <nfsv4@ietf.org>; Thu,  7 Apr 2011 14:41:32 -0700 (PDT)
Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p37LhDRo012902 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 7 Apr 2011 21:43:15 GMT
Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p37LhC0T010578 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 7 Apr 2011 21:43:12 GMT
Received: from abhmt005.oracle.com (abhmt005.oracle.com [141.146.116.14]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p37LhCWh029205; Thu, 7 Apr 2011 16:43:12 -0500
Received: from [10.132.148.74] (/10.132.148.74) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 07 Apr 2011 14:43:11 -0700
Message-ID: <4D9E30B7.3000004@oracle.com>
Date: Thu, 07 Apr 2011 14:46:31 -0700
From: Jarrett Lu <jarrett.lu@oracle.com>
User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.2.13) Gecko/20110117 Thunderbird/3.1.7
MIME-Version: 1.0
To: Nico Williams <nico@cryptonector.com>
References: <4D95842E.70708@oracle.com>	<4D95B41C.70509@oracle.com>	<7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com>	<4D9DBC25.7000409@oracle.com>	<BANLkTinQ+qtGOeW=_MQbOiCUWdRiPg70hw@mail.gmail.com>	<4D9DEAF3.2050000@oracle.com>	<BANLkTi=_=cdXG-LNTTAkg9Hyr+kj2q0DMQ@mail.gmail.com>	<4D9DF43E.8070100@oracle.com>	<BANLkTinCPpyU4bKca-oknxFZZfgwOcbgSQ@mail.gmail.com>	<4D9DFF63.7020002@oracle.com> <BANLkTikiCPm=BOyk-myUNJUkfin6X=Xh6g@mail.gmail.com>
In-Reply-To: <BANLkTikiCPm=BOyk-myUNJUkfin6X=Xh6g@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Source-IP: acsmt356.oracle.com [141.146.40.156]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090206.4D9E2FF1.00EE:SCFSTAT5015188,ss=1,fgs=0
Cc: sfaibish@popimap.lss.emc.com, kathleen.moriarty@emc.com, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: jarrett.lu@oracle.com
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 21:41:33 -0000

On 04/ 7/11 11:31 AM, Nico Williams wrote:
> On Thu, Apr 7, 2011 at 1:16 PM, Jarrett Lu<jarrett.lu@oracle.com>  wrote:
>> For the record, I really like RPCSEC_GSSv3, and surely I'm not alone.
>> I guess the question is: Should we not work on labeled NFS extension
>> unless we also complete RPCSEC_GSSv3 at same time? I believe there are
>> users out there who could benefit from just labeled NFS extension work if
>> RPCSEC_GSSv3 needs to come in later. What does the list think?
> That's not the right question to ask at this point because it assumes
> that RPCSEC_GSSv3 won't fit into the schedule -- I'm not willing to
> make that assumption and it bothers me to see others making that
> assumption without ever actually making a determination as to whether
> that's actually the case.  Let us for determine whether RPCSEC_GSSv3
> does or does not fit the schedule, and if there's any reason to push
> if off the schedule, then let's consider whether labeled NFS can
> proceed without it, or whether to reform the silly train model.
>
> I understand that the pressure to push an item off the schedule might
> rise if we think that we can do without it, but there's not even been
> a suggestion that this or that item won't fit in the NFSv4.2 train yet
> either.
>
> Let's get the horse before the cart.

It sounds like (to me) that you are assuming people want to push
RPCSEC_GSSv3 off 4.2 list. I'm not making that assumption. As
far as I know, nothing is really off 4.2 list. It all depends on how
much progress can be made in next a few months. In fact it'd
be great if RPCSEC_GSSv3 and Labeled NFS both make 4.2 as the
combo provides a much stronger solution. In this case, I see
working on the two pieces separately makes sense.

- Jarrett

> Nico
> --


From Tom.Haynes@netapp.com  Thu Apr  7 14:49:50 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C1F5E3A6A26 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 14:49:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.489
X-Spam-Level: 
X-Spam-Status: No, score=-10.489 tagged_above=-999 required=5 tests=[AWL=0.110, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O40kjsPBUWr8 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 14:49:49 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by core3.amsl.com (Postfix) with ESMTP id D72EE28C0D8 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 14:49:49 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.63,319,1299484800"; d="scan'208";a="539851885"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 07 Apr 2011 14:51:34 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p37LpYja004966; Thu, 7 Apr 2011 14:51:34 -0700 (PDT)
Received: from rtprsexc2-prd.hq.netapp.com ([10.100.161.115]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Apr 2011 14:51:34 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Apr 2011 17:51:32 -0400
Received: from ebc05-xp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Apr 2011 17:51:32 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <4D9E30B7.3000004@oracle.com>
Date: Thu, 7 Apr 2011 16:51:30 -0500
Content-Transfer-Encoding: 7bit
Message-Id: <B2AE4F8E-992F-469C-9418-1ED1DF317322@netapp.com>
References: <4D95842E.70708@oracle.com>	<4D95B41C.70509@oracle.com>	<7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com>	<4D9DBC25.7000409@oracle.com>	<BANLkTinQ+qtGOeW=_MQbOiCUWdRiPg70hw@mail.gmail.com>	<4D9DEAF3.2050000@oracle.com>	<BANLkTi=_=cdXG-LNTTAkg9Hyr+kj2q0DMQ@mail.gmail.com>	<4D9DF43E.8070100@oracle.com>	<BANLkTinCPpyU4bKca-oknxFZZfgwOcbgSQ@mail.gmail.com>	<4D9DFF63.7020002@oracle.com> <BANLkTikiCPm=BOyk-myUNJUkfin6X=Xh6g@mail.gmail.com> <4D9E30B7.3000004@oracle.com>
To: jarrett.lu@oracle.com
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 07 Apr 2011 21:51:32.0360 (UTC) FILETIME=[F529F880:01CBF56D]
Cc: Nico Williams <nico@cryptonector.com>, Kathleen Moriarty <kathleen.moriarty@emc.com>, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 21:49:50 -0000

On Apr 7, 2011, at 4:46 PM, Jarrett Lu wrote:

> On 04/ 7/11 11:31 AM, Nico Williams wrote:
>> On Thu, Apr 7, 2011 at 1:16 PM, Jarrett Lu<jarrett.lu@oracle.com>  wrote:
>>> For the record, I really like RPCSEC_GSSv3, and surely I'm not alone.
>>> I guess the question is: Should we not work on labeled NFS extension
>>> unless we also complete RPCSEC_GSSv3 at same time? I believe there are
>>> users out there who could benefit from just labeled NFS extension work if
>>> RPCSEC_GSSv3 needs to come in later. What does the list think?
>> That's not the right question to ask at this point because it assumes
>> that RPCSEC_GSSv3 won't fit into the schedule -- I'm not willing to
>> make that assumption and it bothers me to see others making that
>> assumption without ever actually making a determination as to whether
>> that's actually the case.  Let us for determine whether RPCSEC_GSSv3
>> does or does not fit the schedule, and if there's any reason to push
>> if off the schedule, then let's consider whether labeled NFS can
>> proceed without it, or whether to reform the silly train model.
>> 
>> I understand that the pressure to push an item off the schedule might
>> rise if we think that we can do without it, but there's not even been
>> a suggestion that this or that item won't fit in the NFSv4.2 train yet
>> either.
>> 
>> Let's get the horse before the cart.
> 
> It sounds like (to me) that you are assuming people want to push
> RPCSEC_GSSv3 off 4.2 list. I'm not making that assumption. As
> far as I know, nothing is really off 4.2 list. It all depends on how
> much progress can be made in next a few months. In fact it'd
> be great if RPCSEC_GSSv3 and Labeled NFS both make 4.2 as the
> combo provides a much stronger solution. In this case, I see
> working on the two pieces separately makes sense.

Ah, something I know the answer for!

RPCSEC_GSSv3 is not on the NFSv4.2 train.

It SHOULD be a separate WG item. I think the WG chairs are
arranging this.

My goal would be for us to wrap up RPCSEC_GSSv3 before we had
NFSv4.2 approaching last call. But that is just my preference to
not choke David H. with multiple documents at the same time.

From nico@cryptonector.com  Thu Apr  7 14:54:54 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 39DD628C112 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 14:54:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.938
X-Spam-Level: 
X-Spam-Status: No, score=-1.938 tagged_above=-999 required=5 tests=[AWL=0.039,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CQGy1vuhII-N for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 14:54:52 -0700 (PDT)
Received: from homiemail-a65.g.dreamhost.com (jankymail-mx1.g.dreamhost.com [208.97.132.126]) by core3.amsl.com (Postfix) with ESMTP id 525C828C0D8 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 14:54:52 -0700 (PDT)
Received: from homiemail-a65.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a65.g.dreamhost.com (Postfix) with ESMTP id 3F69A7E4062 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 14:56:37 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=VcRYvWf7Pey9RPDSxJhm8 g5ZjUlAIksgCYKsyWDrcZ2X8Ljv4DFAGrlgb9Byf+rCkRi2ixg0NE5prMXrNE/r0 ZMa06Jh+82D67yeiLLuQHvhlX31ZH0hqB0zAvAIzMPBzij9kZ2odEy6Fyjp3cgEB X++1v+wTxlwfc4mv8SIXxY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=XpU3AIBw1sjhwzBM6Vb9 phP2IRc=; b=bKOge2UqZ0Fumfho+w2pxZLNd9RNSSIDxVgQ1RIjLOZV/hMV1cqe 1KRv5OQjYr5nZS3z60tpuduzKQ43QGR/uKpWcGolne3EVmfSkZHnws4zHs+4thvk /pmPahAmf1eidK8C658Xl37Ib9mbLwbi7OcZrLrWmruaERJrBZgrpGs=
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a65.g.dreamhost.com (Postfix) with ESMTPSA id 130877E4058 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 14:56:36 -0700 (PDT)
Received: by vxg33 with SMTP id 33so2782808vxg.31 for <nfsv4@ietf.org>; Thu, 07 Apr 2011 14:56:36 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.169.39 with SMTP id ab7mr1824693vdc.230.1302213396344; Thu, 07 Apr 2011 14:56:36 -0700 (PDT)
Received: by 10.52.157.100 with HTTP; Thu, 7 Apr 2011 14:56:36 -0700 (PDT)
In-Reply-To: <B2AE4F8E-992F-469C-9418-1ED1DF317322@netapp.com>
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <4D9DBC25.7000409@oracle.com> <BANLkTinQ+qtGOeW=_MQbOiCUWdRiPg70hw@mail.gmail.com> <4D9DEAF3.2050000@oracle.com> <BANLkTi=_=cdXG-LNTTAkg9Hyr+kj2q0DMQ@mail.gmail.com> <4D9DF43E.8070100@oracle.com> <BANLkTinCPpyU4bKca-oknxFZZfgwOcbgSQ@mail.gmail.com> <4D9DFF63.7020002@oracle.com> <BANLkTikiCPm=BOyk-myUNJUkfin6X=Xh6g@mail.gmail.com> <4D9E30B7.3000004@oracle.com> <B2AE4F8E-992F-469C-9418-1ED1DF317322@netapp.com>
Date: Thu, 7 Apr 2011 16:56:36 -0500
Message-ID: <BANLkTims7h348Eh4VuXFHC1jUmKRnGdF+A@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Thomas Haynes <thomas@netapp.com>
Content-Type: text/plain; charset=UTF-8
Cc: jarrett.lu@oracle.com, Kathleen Moriarty <kathleen.moriarty@emc.com>, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 21:54:54 -0000

On Thu, Apr 7, 2011 at 4:51 PM, Thomas Haynes <thomas@netapp.com> wrote:
> Ah, something I know the answer for!
>
> RPCSEC_GSSv3 is not on the NFSv4.2 train.
>
> It SHOULD be a separate WG item. I think the WG chairs are
> arranging this.
>
> My goal would be for us to wrap up RPCSEC_GSSv3 before we had
> NFSv4.2 approaching last call. But that is just my preference to
> not choke David H. with multiple documents at the same time.

I am now more confused than ever :)  So, the train model is NOT
exclusive?  I.e., there can be work items that are part of a minor
version train and others that progress outside the train?

My head hurts...

Nico
--

From Tom.Haynes@netapp.com  Thu Apr  7 14:59:49 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 708F928C177 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 14:59:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.49
X-Spam-Level: 
X-Spam-Status: No, score=-10.49 tagged_above=-999 required=5 tests=[AWL=0.109,  BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vBv4rMazvkDW for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 14:59:48 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by core3.amsl.com (Postfix) with ESMTP id D192D28C178 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 14:59:48 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.63,319,1299484800"; d="scan'208";a="539854834"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 07 Apr 2011 15:01:33 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p37M1Vfc010097; Thu, 7 Apr 2011 15:01:33 -0700 (PDT)
Received: from rtprsexc2-prd.hq.netapp.com ([10.100.161.115]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Apr 2011 15:01:32 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Apr 2011 18:01:31 -0400
Received: from ebc05-xp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Apr 2011 18:01:30 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <BANLkTims7h348Eh4VuXFHC1jUmKRnGdF+A@mail.gmail.com>
Date: Thu, 7 Apr 2011 17:01:28 -0500
Content-Transfer-Encoding: 7bit
Message-Id: <04B7B7A7-2364-4D1E-99BA-211756DD6B38@netapp.com>
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <4D9DBC25.7000409@oracle.com> <BANLkTinQ+qtGOeW=_MQbOiCUWdRiPg70hw@mail.gmail.com> <4D9DEAF3.2050000@oracle.com> <BANLkTi=_=cdXG-LNTTAkg9Hyr+kj2q0DMQ@mail.gmail.com> <4D9DF43E.8070100@oracle.com> <BANLkTinCPpyU4bKca-oknxFZZfgwOcbgSQ@mail.gmail.com> <4D9DFF63.7020002@oracle.com> <BANLkTikiCPm=BOyk-myUNJUkfin6X=Xh6g@mail.gmail.com> <4D9E30B7.3000004@oracle.com> <B2AE4F8E-992F-469C-9418-1ED1DF317322@netapp.com> <BANLkTims7h348Eh4VuXFHC1jUmKRnGdF+A@mail.gmail.com>
To: Nico Williams <nico@cryptonector.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 07 Apr 2011 22:01:30.0547 (UTC) FILETIME=[59B61030:01CBF56F]
Cc: jarrett.lu@oracle.com, Kathleen Moriarty <kathleen.moriarty@emc.com>, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 21:59:49 -0000

On Apr 7, 2011, at 4:56 PM, Nico Williams wrote:

> 
> I am now more confused than ever :)  So, the train model is NOT
> exclusive?  I.e., there can be work items that are part of a minor
> version train and others that progress outside the train?

RPCSEC_GSS has never been a part of NFS.

What I mean by this is that these are two distinct protocols. We
do not want to produce one document that introduces changes
to both of them.

The NFSv4.2 spec will have a normative reference to RPCSEC_GSSv3,
just like 5661had these:

   [4]   Eisler, M., Chiu, A., and L. Ling, "RPCSEC_GSS Protocol
         Specification", RFC 2203, September 1997.

   [12]  Eisler, M., "RPCSEC_GSS Version 2", RFC 5403, February 2009.




From nico@cryptonector.com  Thu Apr  7 15:00:43 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 921EB28C112 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 15:00:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.939
X-Spam-Level: 
X-Spam-Status: No, score=-1.939 tagged_above=-999 required=5 tests=[AWL=0.038,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bQ5qYNLs-NdN for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 15:00:42 -0700 (PDT)
Received: from homiemail-a30.g.dreamhost.com (mailbigip.dreamhost.com [208.97.132.5]) by core3.amsl.com (Postfix) with ESMTP id C1C8B28C0D8 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 15:00:42 -0700 (PDT)
Received: from homiemail-a30.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a30.g.dreamhost.com (Postfix) with ESMTP id A71AB21DE77 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 15:02:27 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=tr7eylqREwe6lmiev0v6cHVGdquAfUXpg0Y5RBa0yj6B LRmOTdvYGEnkzIEuuce1VffbPM3ysXjn40FUxyQvzuZxHDoD6L5RuU6eSC7O+spW UoSx7Fit9fE+01Px6lBxmYd/j1gGT/TE6SnZWIUJfynBQmadW5hSkT4F3qdKq08=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=2/q72/gbXRLNqLmrRr7N/sGa8oI=; b=bD6tzVrrmrn 8dckBvLVANr3xK5EOqbxQGQ4aU6/8TYw0yQWpth15vp3Xw/rZTBWqrnD2oG9bq3Z D/NVeHbK281ES1QqxxuUCl9xZieVXlST7PpCYqYxPEeXnkzHskslfaDsTxI5oKd/ 1HiSlRt2AR1wW02WSGSniZfcvj3g4Ozk=
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a30.g.dreamhost.com (Postfix) with ESMTPSA id 35D2A21DE59 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 15:02:24 -0700 (PDT)
Received: by vxg33 with SMTP id 33so2786889vxg.31 for <nfsv4@ietf.org>; Thu, 07 Apr 2011 15:02:23 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.0.200 with SMTP id 8mr2108046vdg.70.1302213743471; Thu, 07 Apr 2011 15:02:23 -0700 (PDT)
Received: by 10.52.157.100 with HTTP; Thu, 7 Apr 2011 15:02:23 -0700 (PDT)
In-Reply-To: <4D9E2C61.2040007@oracle.com>
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <4D9DBC25.7000409@oracle.com> <BANLkTinQ+qtGOeW=_MQbOiCUWdRiPg70hw@mail.gmail.com> <4D9DEAF3.2050000@oracle.com> <BANLkTi=_=cdXG-LNTTAkg9Hyr+kj2q0DMQ@mail.gmail.com> <4D9DF43E.8070100@oracle.com> <BANLkTinCPpyU4bKca-oknxFZZfgwOcbgSQ@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF292A@MX14A.corp.emc.com> <BANLkTi=UQedkJ3EYDWCfYrrr6UOcq85HpA@mail.gmail.com> <4D9E2C61.2040007@oracle.com>
Date: Thu, 7 Apr 2011 17:02:23 -0500
Message-ID: <BANLkTinQPJT+ygjEmcjg9MqqER6nhJWG4w@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: jarrett.lu@oracle.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: kathleen.moriarty@emc.com, nfsv4@ietf.org
Subject: Re: [nfsv4] RPCSEC_GSSv3 implementation requirement
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 22:00:43 -0000

On Thu, Apr 7, 2011 at 4:28 PM, Jarrett Lu <jarrett.lu@oracle.com> wrote:
> On 04/ 7/11 11:39 AM, Nico Williams wrote:
>> On Thu, Apr 7, 2011 at 1:25 PM,<david.black@emc.com> =C2=A0wrote:
> Solaris Trusted Extensions MAC server can work with MAC aware clients
> as well as MAC ignorant clients. In the former case, the subject label is
> derived from the CIPSO option of an IP packet; in later case, the subject
> label is defined in a centrally managed database. Not a very granular
> labeling scheme, but is deployed and deemed sufficient in some environmen=
ts.

But with one label per-packet flow, meaning one label per-TCP
connection, meaning one label per-NFS session.  So, really, not
multi-label.  There's really no chance that the Solaris stack could
support labeling different packets for the same TCP connection with
different labels, nor would that be a sane thing to do.  MAC-aware,
multi-label applications MUST handle labeling at the application
protocol layer, and they must pick a single label (the most sensitive
one) for the entire packet flow (unless there's a packet flow
per-label, but that's not going to work for NFSv4 unless the client
pretends to be a different client in each session, though someone who
knows more about sessions should confirm this assertion).

Nico
--

From nico@cryptonector.com  Thu Apr  7 15:02:03 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4691428C164 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 15:02:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.939
X-Spam-Level: 
X-Spam-Status: No, score=-1.939 tagged_above=-999 required=5 tests=[AWL=0.038,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jtuNbBE+WOWb for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 15:02:02 -0700 (PDT)
Received: from homiemail-a25.g.dreamhost.com (caiajhbdcaid.dreamhost.com [208.97.132.83]) by core3.amsl.com (Postfix) with ESMTP id 9B1D528C112 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 15:02:02 -0700 (PDT)
Received: from homiemail-a25.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a25.g.dreamhost.com (Postfix) with ESMTP id DABCE678075 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 15:03:29 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=cDjBt7jKi1T1Csm+XSydpYSkFaQHP+Gwz/d5m+kOzqQM sJPQrdtDm2BIlieSU4EVrKkdgoqs/xcJKLFYpE2IQY/JBiJaI+fbx2t4rv2tsArp y8yf5cFrYlE3T6bGZDnoHOtAxMbJwrOquD+mes5+Bc8vFki/GeSdFksOkwcQIqs=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=ByJM3Re72gZMM9053uweeSgiO+0=; b=vKH0Lqw1Sp7 Ey+wnQZBzd3dpOTxoHdvZcLVULcszBarpTIDpn7yLErzN/aqko6kLh7MowXbQh9r loXgh1cJusyuGAAybdt7M4SlGfVU5y/NFnw9kBS5lGPbvXYBQ30ZXobxx+SjN7qr PYndicatW66nFngPCUylFazCoGU9SFNU=
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a25.g.dreamhost.com (Postfix) with ESMTPSA id A31DD67808A for <nfsv4@ietf.org>; Thu,  7 Apr 2011 15:03:19 -0700 (PDT)
Received: by vws12 with SMTP id 12so2807233vws.31 for <nfsv4@ietf.org>; Thu, 07 Apr 2011 15:03:17 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.92.144 with SMTP id cm16mr2104361vdb.30.1302213797076; Thu, 07 Apr 2011 15:03:17 -0700 (PDT)
Received: by 10.52.157.100 with HTTP; Thu, 7 Apr 2011 15:03:16 -0700 (PDT)
In-Reply-To: <04B7B7A7-2364-4D1E-99BA-211756DD6B38@netapp.com>
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <4D9DBC25.7000409@oracle.com> <BANLkTinQ+qtGOeW=_MQbOiCUWdRiPg70hw@mail.gmail.com> <4D9DEAF3.2050000@oracle.com> <BANLkTi=_=cdXG-LNTTAkg9Hyr+kj2q0DMQ@mail.gmail.com> <4D9DF43E.8070100@oracle.com> <BANLkTinCPpyU4bKca-oknxFZZfgwOcbgSQ@mail.gmail.com> <4D9DFF63.7020002@oracle.com> <BANLkTikiCPm=BOyk-myUNJUkfin6X=Xh6g@mail.gmail.com> <4D9E30B7.3000004@oracle.com> <B2AE4F8E-992F-469C-9418-1ED1DF317322@netapp.com> <BANLkTims7h348Eh4VuXFHC1jUmKRnGdF+A@mail.gmail.com> <04B7B7A7-2364-4D1E-99BA-211756DD6B38@netapp.com>
Date: Thu, 7 Apr 2011 17:03:16 -0500
Message-ID: <BANLkTikT_DRbJj30_Kf-ovgQyyzdGCo8Yw@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Thomas Haynes <thomas@netapp.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: jarrett.lu@oracle.com, Kathleen Moriarty <kathleen.moriarty@emc.com>, nfsv4@ietf.org
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 22:02:03 -0000

On Thu, Apr 7, 2011 at 5:01 PM, Thomas Haynes <thomas@netapp.com> wrote:
> On Apr 7, 2011, at 4:56 PM, Nico Williams wrote:
>> I am now more confused than ever :) =C2=A0So, the train model is NOT
>> exclusive? =C2=A0I.e., there can be work items that are part of a minor
>> version train and others that progress outside the train?
>
> RPCSEC_GSS has never been a part of NFS.
>
> What I mean by this is that these are two distinct protocols. We
> do not want to produce one document that introduces changes
> to both of them.
>
> The NFSv4.2 spec will have a normative reference to RPCSEC_GSSv3,
> just like 5661had these:

Fair enough.  Thanks!

From sshepler@microsoft.com  Thu Apr  7 15:02:28 2011
Return-Path: <sshepler@microsoft.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8259328C174 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 15:02:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.507
X-Spam-Level: 
X-Spam-Status: No, score=-10.507 tagged_above=-999 required=5 tests=[AWL=0.092, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aNgwS2y7vVT6 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 15:02:27 -0700 (PDT)
Received: from smtp.microsoft.com (mailb.microsoft.com [131.107.115.215]) by core3.amsl.com (Postfix) with ESMTP id 6FC5E28C0D8 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 15:02:27 -0700 (PDT)
Received: from TK5EX14MLTC101.redmond.corp.microsoft.com (157.54.79.178) by TK5-EXGWY-E802.partners.extranet.microsoft.com (10.251.56.168) with Microsoft SMTP Server (TLS) id 8.2.176.0; Thu, 7 Apr 2011 15:04:12 -0700
Received: from TK5EX14MBXC122.redmond.corp.microsoft.com ([169.254.2.182]) by TK5EX14MLTC101.redmond.corp.microsoft.com ([157.54.79.178]) with mapi id 14.01.0270.002; Thu, 7 Apr 2011 15:04:12 -0700
From: Spencer Shepler <sshepler@microsoft.com>
To: Nico Williams <nico@cryptonector.com>, Thomas Haynes <thomas@netapp.com>
Thread-Topic: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments
Thread-Index: AQHL8t2pnLmfmOqG0U+ysunmypsuuJRS3yqAgAAU0QCAACL6gIAABTyAgAAF2ACAAAMwAIAAChmAgAAEQQCAADaNgIAAAWQAgAABbQD//4uRoA==
Date: Thu, 7 Apr 2011 22:04:11 +0000
Message-ID: <E043D9D8EE3B5743B8B174A814FD584F0F09C381@TK5EX14MBXC122.redmond.corp.microsoft.com>
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <4D9DBC25.7000409@oracle.com> <BANLkTinQ+qtGOeW=_MQbOiCUWdRiPg70hw@mail.gmail.com> <4D9DEAF3.2050000@oracle.com> <BANLkTi=_=cdXG-LNTTAkg9Hyr+kj2q0DMQ@mail.gmail.com> <4D9DF43E.8070100@oracle.com> <BANLkTinCPpyU4bKca-oknxFZZfgwOcbgSQ@mail.gmail.com> <4D9DFF63.7020002@oracle.com> <BANLkTikiCPm=BOyk-myUNJUkfin6X=Xh6g@mail.gmail.com> <4D9E30B7.3000004@oracle.com> <B2AE4F8E-992F-469C-9418-1ED1DF317322@netapp.com> <BANLkTims7h348Eh4VuXFHC1jUmKRnGdF+A@mail.gmail.com>
In-Reply-To: <BANLkTims7h348Eh4VuXFHC1jUmKRnGdF+A@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.24]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "jarrett.lu@oracle.com" <jarrett.lu@oracle.com>, Kathleen Moriarty <kathleen.moriarty@emc.com>, "nfsv4@ietf.org" <nfsv4@ietf.org>
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 22:02:28 -0000

Why is this so hard to understand? :-)

The working group has a variety of things that it needs
to finish (yes, David, I owe you the shepherding write ups).

Once that is complete (or simultaneously), we will be putting
forth the update to the WG charter.  This charter update will
move the FedFS items to maintenance and add as new work items:
	NFSv4.2
	RPCSECGSSv3

There is a large category of functionality in NFSv4.2 that is
being considered and we are using a date driven model to=20
manage that content.  As Tom suggests, the RPCSEC updates
can be done in parallel or before or after.  Presumably we
will want to do them in parallel so that we can ensure=20
requirements are being met between the two.

How they are managed beyond WG last call and via the remainder
of the IETF process is the responsibility of the WG chairs
to manage.  Let's just get the work done that people want
and we'll go from there.

Spencer

> -----Original Message-----
> From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On Behalf Of
> Nico Williams
> Sent: Thursday, April 07, 2011 2:57 PM
> To: Thomas Haynes
> Cc: jarrett.lu@oracle.com; Kathleen Moriarty; nfsv4@ietf.org
> Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments
>=20
> On Thu, Apr 7, 2011 at 4:51 PM, Thomas Haynes <thomas@netapp.com> wrote:
> > Ah, something I know the answer for!
> >
> > RPCSEC_GSSv3 is not on the NFSv4.2 train.
> >
> > It SHOULD be a separate WG item. I think the WG chairs are arranging
> > this.
> >
> > My goal would be for us to wrap up RPCSEC_GSSv3 before we had
> > NFSv4.2 approaching last call. But that is just my preference to not
> > choke David H. with multiple documents at the same time.
>=20
> I am now more confused than ever :)  So, the train model is NOT exclusive=
?
> I.e., there can be work items that are part of a minor version train and
> others that progress outside the train?
>=20
> My head hurts...
>=20
> Nico
> --
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4


From Tom.Haynes@netapp.com  Thu Apr  7 15:04:44 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 43BDF3A6A2D for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 15:04:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.846
X-Spam-Level: 
X-Spam-Status: No, score=-9.846 tagged_above=-999 required=5 tests=[AWL=-0.539, BAYES_00=-2.599, MISSING_HEADERS=1.292, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GNjFQHxN86z6 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 15:04:43 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by core3.amsl.com (Postfix) with ESMTP id 9F8803A6A2C for <nfsv4@ietf.org>; Thu,  7 Apr 2011 15:04:43 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.63,319,1299484800"; d="scan'208";a="539857006"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 07 Apr 2011 15:06:28 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p37M6PCk012691; Thu, 7 Apr 2011 15:06:25 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Apr 2011 15:06:26 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Apr 2011 18:06:24 -0400
Received: from ebc05-xp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Apr 2011 18:06:23 -0400
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Apple Message framework v1084)
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <B2AE4F8E-992F-469C-9418-1ED1DF317322@netapp.com>
Date: Thu, 7 Apr 2011 17:06:22 -0500
Content-Transfer-Encoding: 7bit
Message-Id: <4387F68A-97D6-42AE-9F78-1276460B2428@netapp.com>
References: <4D95842E.70708@oracle.com>	<4D95B41C.70509@oracle.com>	<7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com>	<4D9DBC25.7000409@oracle.com>	<BANLkTinQ+qtGOeW=_MQbOiCUWdRiPg70hw@mail.gmail.com>	<4D9DEAF3.2050000@oracle.com>	<BANLkTi=_=cdXG-LNTTAkg9Hyr+kj2q0DMQ@mail.gmail.com>	<4D9DF43E.8070100@oracle.com>	<BANLkTinCPpyU4bKca-oknxFZZfgwOcbgSQ@mail.gmail.com>	<4D9DFF63.7020002@oracle.com> <BANLkTikiCPm=BOyk-myUNJUkfin6X=Xh6g@mail.gmail.com> <4D9E30B7.3000004@oracle.com> <B2AE4F8E-992F-469C-9418-1ED1DF317322@netapp.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 07 Apr 2011 22:06:23.0969 (UTC) FILETIME=[089AB510:01CBF570]
Cc: Nico Williams <nico@cryptonector.com>, nfsv4@ietf.org
Subject: [nfsv4] Need for RPCSEC_GSSv3
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 22:04:44 -0000

One of the things that has become apparent in the
various WG meetings (and discussions) is that more
than Labeled NFS has a need for RPCSEC_GSSv3:

1) Server-side copy
2) Multi-domain access
3) Trond has a use case

These will all benefit from it.

The focus in the online discussions has been more on LNFS
because it is a high-energy component that various groups
are trying to bring in.

Nico has started up a discussion on what needs to be
done with RPCSEC_GSSv3 and we'll provide some
energy to it.



From nico@cryptonector.com  Thu Apr  7 15:04:58 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9A0B628C112 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 15:04:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.94
X-Spam-Level: 
X-Spam-Status: No, score=-1.94 tagged_above=-999 required=5 tests=[AWL=0.037,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id khIXEdx6NCGv for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 15:04:58 -0700 (PDT)
Received: from homiemail-a31.g.dreamhost.com (caiajhbdcaib.dreamhost.com [208.97.132.81]) by core3.amsl.com (Postfix) with ESMTP id 15AC028C0D8 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 15:04:58 -0700 (PDT)
Received: from homiemail-a31.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a31.g.dreamhost.com (Postfix) with ESMTP id 02CD920202C for <nfsv4@ietf.org>; Thu,  7 Apr 2011 15:06:43 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=ifsYvggoslC5l/XAdBhiPMfMtdbwOXuG6YyGXX4eaOFw 3BGbJdJfVdtz6G19LbiVZ964gAmAmxX1BdWkfBAfShqE0aEroAPl4l6HymPmGJOO sKHWGGph+fjgG80BJYAWW5/Ba8Cey3sI9IT5ihYkFUD50ca/LXQ6kscJNhyhRI0=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=HE9BftO97gqgsaTGtWDU/mxexlI=; b=KExDaFr9Uh2 /xP9053diOjo+5FrUF65JwSRoOw+K0N3T4Cas2mSFMQV0IV5ck4OYnk4rU00QRHi YhgunlQHGrCS2L349EnYAgK+cIZucjzNgWXO5BgnFURKy3gMxnEmZtpwH7kDw+xu MoRk4/dKJOhcL8MbLgya6aSeJ7YjU3Ik=
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a31.g.dreamhost.com (Postfix) with ESMTPSA id BA6B1202018 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 15:06:42 -0700 (PDT)
Received: by vws12 with SMTP id 12so2809191vws.31 for <nfsv4@ietf.org>; Thu, 07 Apr 2011 15:06:42 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.92.144 with SMTP id cm16mr2109066vdb.30.1302214002106; Thu, 07 Apr 2011 15:06:42 -0700 (PDT)
Received: by 10.52.157.100 with HTTP; Thu, 7 Apr 2011 15:06:42 -0700 (PDT)
In-Reply-To: <3F72BE21-A2E0-4948-93FE-26CB0CADDC84@netapp.com>
References: <BANLkTi=5do=bwCK_n6RbHBULefk-_gKk1w@mail.gmail.com> <3F72BE21-A2E0-4948-93FE-26CB0CADDC84@netapp.com>
Date: Thu, 7 Apr 2011 17:06:42 -0500
Message-ID: <BANLkTikB9uZCq3-DAN0mvR0-MH5iO_JX0Q@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Thomas Haynes <thomas@netapp.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] Status of RPCSEC_GSSv3
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 22:04:58 -0000

On Thu, Apr 7, 2011 at 4:00 PM, Thomas Haynes <thomas@netapp.com> wrote:
> On Apr 7, 2011, at 3:50 PM, Nico Williams wrote:
>> =C2=A0- Privileges list requires review by people familiar with fine-gra=
ined
> privilege ("capabilities", in Linux speak) facilities of operating system=
s
> other than Solaris.
>
> Do we know who to ask to do the review or do we need to get someone to fi=
nd
> out who to ask?

Ideally we could get review of the privileges section from one or more
participants with expertise in Linux, *BSD, and Windows.

> I also want us to explore deprecating v2 and also to gather all of the XD=
R
> in one place.

+1.  But if deprecating v2 were to slow us down then I'd leave that
for some other time.

> Do we know if anyone has implemented v2 or is everyone doing v1?
> The main driver for v2 appeared to be channel bindings. v3 introduces a
> simpler  channel binding approach more in line with industry practice.

Indeed!

From seattleplus@gmail.com  Thu Apr  7 15:10:25 2011
Return-Path: <seattleplus@gmail.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4D5DF3A6A2E for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 15:10:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[AWL=-0.001, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3OLsJJWk9OI7 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 15:10:24 -0700 (PDT)
Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.212.182]) by core3.amsl.com (Postfix) with ESMTP id 9625B3A6A2C for <nfsv4@ietf.org>; Thu,  7 Apr 2011 15:10:23 -0700 (PDT)
Received: by pxi20 with SMTP id 20so1675813pxi.27 for <nfsv4@ietf.org>; Thu, 07 Apr 2011 15:12:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type; bh=xSuUZ/GfyA/8p1xGkjLyjRxTg88PNq3Tz4E025zU1Wc=; b=KBe7TEOhi7J6b99D2sM0xl8lnIlG71hIV+B0XSxZyNkWtj1n9cMAziIaVe3/dHHAZ5 GIYZ8Y5a9YRl508iU050wXBlMnDy88cH04qau/c5rvJl3Wc7T4Uv7PeunJ/nMGRLP6LW s/9l8fBgHWmiG4ZYDvBzfTaNAiZn4A3f14/dQ=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; b=VC93Sm0BrkAj9nDb4Ypi7Z0fPghs7+Y38gx0g06hSXu55QW+bDhqammqeWB1tJAFMZ f5r05BtVtHKhOWSe+ISruNhuWHRzpI+VaXuvccknfeF9oA7Ns+osHxE3SzoI2SJQCZ2d Y9Kpuae2EE53qZ0ZwRBEJ8WjLALSd9Db7fta8=
Received: by 10.142.132.20 with SMTP id f20mr1030544wfd.360.1302214327330; Thu, 07 Apr 2011 15:12:07 -0700 (PDT)
Received: from rockmac.ftrdhcpuser.net (pool-71-112-77-159.sttlwa.dsl-w.verizon.net [71.112.77.159]) by mx.google.com with ESMTPS id w32sm2740828wfh.7.2011.04.07.15.12.04 (version=SSLv3 cipher=OTHER); Thu, 07 Apr 2011 15:12:05 -0700 (PDT)
Message-ID: <4D9E36B2.1010706@gmail.com>
Date: Thu, 07 Apr 2011 15:12:02 -0700
From: Dean <seattleplus@gmail.com>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9
MIME-Version: 1.0
To: nfsv4@ietf.org
References: <4D2B6320-D443-47A4-8AC5-6AF1C5F397F2@netapp.com> <238E2192-6AD7-4B31-91AC-A5ED8FBB9DB2@netapp.com>
In-Reply-To: <238E2192-6AD7-4B31-91AC-A5ED8FBB9DB2@netapp.com>
Content-Type: multipart/alternative; boundary="------------090305060102000008020604"
Subject: Re: [nfsv4] [NFSv4.2] Meeting Notes 04/07/2011
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 22:10:25 -0000

This is a multi-part message in MIME format.
--------------090305060102000008020604
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

I'm sorry I missed the meeting, but try to attend this in the future.

Just a couple questions/comments,
>
> + fadvise
>
> We identified that we need use cases for both proposals to be
> discussed on the WG alias.
>
> Pranoop also wanted to know how many systems use the Posix fadvise 
> interface?
Since it is a posix standard, I think in time more and more OSs will 
support fadvise (for files) and madvise (for mmaped files). I think a 
more interesting question is how many OSs could utilize such *hints* and 
do the posix fadvise hints support all of them.

Windows seems to support several flags on OPEN, including 
FILE_FLAG_NO_BUFFERING (direct i/o), FILE_FLAG_RANDOM_ACCESS, 
FILE_FLAG_SEQUENTIAL_SCAN.
See http://msdn.microsoft.com/en-us/library/aa363858%28VS.85%29.aspx

Solaris supports posix madvise but adds non-portable flags (which we 
could look into supporting) and also supports a directio() call.

Linux supports fadvise, madvise, and direct I/O.

AIX supports direct I/O.

>
> Finally, there needs to be some followup discussion about the use
> cases for having the fadvise included with the read and write operations
> as proposed in the Enterprise Apps I-D.
>
> + Patterns
>
> We discussed rolling the various sparse file proposals into one common
> thread for NFS4.2. In particular:
>
> Create a file with a given pattern - sparse file
> Read a pattern from a file
> Write a pattern to a file - hole punch
Just to be clear, we should differentiate between a hole punch that 
deallocates blocks (which would be very useful) and a hole punch that 
writes a specified pattern.  Maybe we can support both?
>
> We discussed what happens if a client wanted to READ an 8k chunk of file
> and the first 4k were data and the second 4k were a pattern hole. I.e., do
> we want to allow operations to use a mix of holes and data?
>
> The simplest approach would be for the server to return 4k and allow the
> client to send a second compound to get the remaining data.
>
> The current XDR does not allow a mixture of holes and data. We should 
> consider
> if we can allow for an arbitrary number of mixtures.
>
> I also mentioned that resolving this area would be where I am spending
> the chunk of my editorial time at first.

I'm currently updating my sparse draft to include comments from the 
interim meeting, but this has been delayed due to both project and paper 
deadlines as well as vacation.  My plan is to state that the return 
value is completely the prerogative of the server, who is the only one 
who can decide if it wants to classify a byte-range as a hole or not.  
In practice, I see servers using a sparse threshold, and any unallocated 
or all-zero/pattern byte range less than this threshold would NOT be 
considered a hole.

As for returning a mix of holes and data (which would boil down to 
returning an array of data chunks, with the rest considered holes, I 
think it is useful but may be a little complicated.

Dean
>
> + Space reservation
>
> No real discussion.
>
> + Unstable file creation
>
> Pushed off until the next meeting.
>
> + Overview of what is in NFS4.2
>
> Gave a quick summary of the items in, close to being in, etc. This was 
> based
> off of the slides I presented in Prague.
>
>
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4

--------------090305060102000008020604
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    I'm sorry I missed the meeting, but try to attend this in the
    future.<br>
    <br>
    Just a couple questions/comments,
    <blockquote
      cite="mid:238E2192-6AD7-4B31-91AC-A5ED8FBB9DB2@netapp.com"
      type="cite">
      <div>
        <div>
          <div style="word-wrap: break-word;">
            <div><br>
            </div>
            <div>+ fadvise&nbsp;</div>
            <div><br>
            </div>
            <div>We identified that we need use cases for both proposals
              to be</div>
            <div>discussed on the WG alias.</div>
            <div><br>
            </div>
            <div>Pranoop also wanted to know how many systems use the
              Posix fadvise interface?</div>
          </div>
        </div>
      </div>
    </blockquote>
    Since it is a posix standard, I think in time more and more OSs will
    support fadvise (for files) and madvise (for mmaped files). I think
    a more interesting question is how many OSs could utilize such
    *hints* and do the posix fadvise hints support all of them.<br>
    <br>
    Windows seems to support several flags on OPEN, including
    FILE_FLAG_NO_BUFFERING (direct i/o), FILE_FLAG_RANDOM_ACCESS,
    FILE_FLAG_SEQUENTIAL_SCAN.<br>
    See <a class="moz-txt-link-freetext" href="http://msdn.microsoft.com/en-us/library/aa363858%28VS.85%29.aspx">http://msdn.microsoft.com/en-us/library/aa363858%28VS.85%29.aspx</a><br>
    <br>
    Solaris supports posix madvise but adds non-portable flags (which we
    could look into supporting) and also supports a directio() call.<br>
    <br>
    Linux supports fadvise, madvise, and direct I/O.<br>
    <br>
    AIX supports direct I/O.<br>
    <br>
    <blockquote
      cite="mid:238E2192-6AD7-4B31-91AC-A5ED8FBB9DB2@netapp.com"
      type="cite">
      <div>
        <div>
          <div style="word-wrap: break-word;">
            <div><br>
            </div>
            <div>Finally, there needs to be some followup discussion
              about the use</div>
            <div>cases for having the fadvise included with the read and
              write operations</div>
            <div>as proposed in the Enterprise Apps I-D.</div>
            <div><br>
            </div>
            <div>+ Patterns</div>
            <div><br>
            </div>
            <div>We discussed rolling the various sparse file proposals
              into one common</div>
            <div>thread for NFS4.2. In particular:</div>
            <div><br>
            </div>
            <div>Create a file with a given pattern - sparse file</div>
            <div>Read a pattern from a file&nbsp;</div>
            <div>Write a pattern to a file - hole punch</div>
          </div>
        </div>
      </div>
    </blockquote>
    Just to be clear, we should differentiate between a hole punch that
    deallocates blocks (which would be very useful) and a hole punch
    that writes a specified pattern.&nbsp; Maybe we can support both?<br>
    <blockquote
      cite="mid:238E2192-6AD7-4B31-91AC-A5ED8FBB9DB2@netapp.com"
      type="cite">
      <div>
        <div>
          <div style="word-wrap: break-word;">
            <div><br>
            </div>
            <div>We discussed what happens if a client wanted to READ an
              8k chunk of file</div>
            <div>and the first 4k were data and the second 4k were a
              pattern hole. I.e., do</div>
            <div>we want to allow operations to use a mix of holes and
              data?</div>
            <div><br>
            </div>
            <div>The simplest approach would be for the server to return
              4k and allow the</div>
            <div>client to send a second compound to get the remaining
              data.</div>
            <div><br>
            </div>
            <div>The current XDR does not allow a mixture of holes and
              data. We should consider</div>
            <div>if we can allow for an arbitrary number of mixtures.</div>
            <div><br>
            </div>
            <div>I also mentioned that resolving this area would be
              where I am spending</div>
            <div>the chunk of my editorial time at first.</div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    I'm currently updating my sparse draft to include comments from the
    interim meeting, but this has been delayed due to both project and
    paper deadlines as well as vacation.&nbsp; My plan is to state that the
    return value is completely the prerogative of the server, who is the
    only one who can decide if it wants to classify a byte-range as a
    hole or not.&nbsp; In practice, I see servers using a sparse threshold,
    and any unallocated or all-zero/pattern byte range less than this
    threshold would NOT be considered a hole.<br>
    <br>
    As for returning a mix of holes and data (which would boil down to
    returning an array of data chunks, with the rest considered holes, I
    think it is useful but may be a little complicated.<br>
    <br>
    Dean<br>
    <blockquote
      cite="mid:238E2192-6AD7-4B31-91AC-A5ED8FBB9DB2@netapp.com"
      type="cite">
      <div>
        <div>
          <div style="word-wrap: break-word;">
            <div><br>
            </div>
            <div>+ Space reservation</div>
            <div><br>
            </div>
            <div>No real discussion.</div>
            <div><br>
            </div>
            <div>+ Unstable file creation</div>
            <div><br>
            </div>
            <div>Pushed off until the next meeting.</div>
            <div><br>
            </div>
            <div>+ Overview of what is in NFS4.2</div>
            <div><br>
            </div>
            <div>Gave a quick summary of the items in, close to being
              in, etc. This was based</div>
            <div>off of the slides I presented in Prague.</div>
            <div><br>
            </div>
          </div>
        </div>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
nfsv4 mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nfsv4@ietf.org">nfsv4@ietf.org</a>
<a class="moz-txt-link-freetext" href="https://www.ietf.org/mailman/listinfo/nfsv4">https://www.ietf.org/mailman/listinfo/nfsv4</a>
</pre>
    </blockquote>
  </body>
</html>

--------------090305060102000008020604--

From nico@cryptonector.com  Thu Apr  7 16:05:31 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 17C4328C178 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 16:05:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.94
X-Spam-Level: 
X-Spam-Status: No, score=-1.94 tagged_above=-999 required=5 tests=[AWL=0.037,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4KhvsiUKh2wU for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 16:05:30 -0700 (PDT)
Received: from homiemail-a26.g.dreamhost.com (caiajhbdcaib.dreamhost.com [208.97.132.81]) by core3.amsl.com (Postfix) with ESMTP id 67E7428C120 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 16:05:30 -0700 (PDT)
Received: from homiemail-a26.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a26.g.dreamhost.com (Postfix) with ESMTP id 52782B805C for <nfsv4@ietf.org>; Thu,  7 Apr 2011 16:07:15 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to: content-type; q=dns; s=cryptonector.com; b=uz2Vva8ChIvWPhx5ZKPY5 k1ojwtSHrXC/eWIWzvfyv1tIEpV5mQiHo78hgfDKzCCKMwNm75HtpTB7DOd2jQ1g vvh/yF7Wl6uQH3KyOGjnVz6t2wW8/Ne9S8hppnkNnEvJVU2YTGOWDmuieXiKAiZS 7//ZTIVouElMe88aACvXvk=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:content-type; s=cryptonector.com; bh=NPJPI0R3OopEqPaY2mC3Lm+ 9dJA=; b=f7b3+pHGsEHkytMSTEMBEMrhTAJn+7Tt3trMAZUvEuUTomdMS8DrTCu 6vBvE7velB1dKtNEOAXO9kLaSPRnFAGEVlY+fSIPAuGLocEiHfNojsvkeoN7U0nU Dwe1jPu2TAQTXCh2K0zYltO98K9ZgzHf15q6JCqrOmgRJZpmGOiQ=
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a26.g.dreamhost.com (Postfix) with ESMTPSA id 1534CB805B for <nfsv4@ietf.org>; Thu,  7 Apr 2011 16:07:14 -0700 (PDT)
Received: by vws12 with SMTP id 12so2839995vws.31 for <nfsv4@ietf.org>; Thu, 07 Apr 2011 16:07:14 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.176.134 with SMTP id ci6mr2192842vdc.190.1302217634481; Thu, 07 Apr 2011 16:07:14 -0700 (PDT)
Received: by 10.52.157.100 with HTTP; Thu, 7 Apr 2011 16:07:14 -0700 (PDT)
In-Reply-To: <BANLkTi=5do=bwCK_n6RbHBULefk-_gKk1w@mail.gmail.com>
References: <BANLkTi=5do=bwCK_n6RbHBULefk-_gKk1w@mail.gmail.com>
Date: Thu, 7 Apr 2011 18:07:14 -0500
Message-ID: <BANLkTinb8=K0+kZPg3ydoVQhkQR5Cf0_vg@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: nfsv4@ietf.org
Content-Type: text/plain; charset=UTF-8
Subject: Re: [nfsv4] Status of RPCSEC_GSSv3
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 23:05:31 -0000

One of the forwarded comments was about RPCSEC_GSS3_LABEL_PROBLEM and
the lack of a RPCSEC_GSS3_PRIV_PROBLEM status code.  This was my
answer:

Hmmm.  The thought occurs that having the server return an error when
it doesn't understand one of those things is not really a good idea.
The reason is that the client might want a handle no matter what, in
which case the client would have to go remove some assertion and try
again.  Ad naseum until it gets a handle.  Seems like a bad idea to
me.

Instead I think we want to add flag field to rpc_gss3_create_res to
indicate whether the server understood or failed to understand any of
the client's assertions.  Or maybe instead of just granted_assertions
we'll want to also add "assertions_not_understood" and
"assertions_not_granted".

Nico
--

From nico@cryptonector.com  Thu Apr  7 16:35:30 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BD9AA3A6A2A for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 16:35:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.94
X-Spam-Level: 
X-Spam-Status: No, score=-1.94 tagged_above=-999 required=5 tests=[AWL=0.037,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vpwjiJDynrmJ for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 16:35:28 -0700 (PDT)
Received: from homiemail-a36.g.dreamhost.com (caiajhbdcbbj.dreamhost.com [208.97.132.119]) by core3.amsl.com (Postfix) with ESMTP id A2FC43A67EB for <nfsv4@ietf.org>; Thu,  7 Apr 2011 16:35:28 -0700 (PDT)
Received: from homiemail-a36.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a36.g.dreamhost.com (Postfix) with ESMTP id 8F286778057 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 16:37:13 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=iMxiCF3M0/xjXu5kFaEgguHgnw22tTbT4f9MCVvXd751 VF6v87ka4XpaLTZ7wxaOQ6+YG6WT+3MLhCuIYyfK1nNnsEReP3b4y6X/W+tDWaic RSu7xr82DrEyMaOTYS9szIPZRt1EsQzlbvvidh3Y+/Tu1vV4meIriBsn1ccrVsE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:content-type:content-transfer-encoding; s=cryptonector.com; bh=goutvIbmmEtYGaQLm4b5Lza2zZI=; b=MaaVlmQ2fmyZLhcQ4EfDWPJzHEXy pnABMdnnvdlyj9+aaNtXcbjAazM+Kzaq0td6t2AyhL4h6yIqZDzpHzuOFeoo7meH WCoR5OdeYwowr8YABA0KsUW7ia5R2AQehbKUkLRWblxuy+sHYVDAcLE0lJeHlPt9 KzGhAIwhc+HSwGo=
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a36.g.dreamhost.com (Postfix) with ESMTPSA id 63E8E77805F for <nfsv4@ietf.org>; Thu,  7 Apr 2011 16:37:13 -0700 (PDT)
Received: by vxg33 with SMTP id 33so2833249vxg.31 for <nfsv4@ietf.org>; Thu, 07 Apr 2011 16:37:12 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.73.130 with SMTP id l2mr2258431vdv.14.1302219432804; Thu, 07 Apr 2011 16:37:12 -0700 (PDT)
Received: by 10.52.166.42 with HTTP; Thu, 7 Apr 2011 16:37:12 -0700 (PDT)
In-Reply-To: <BANLkTi=5do=bwCK_n6RbHBULefk-_gKk1w@mail.gmail.com>
References: <BANLkTi=5do=bwCK_n6RbHBULefk-_gKk1w@mail.gmail.com>
Date: Thu, 7 Apr 2011 18:37:12 -0500
Message-ID: <BANLkTikPF8RikZ6N2Jvq_gjSQ-8-XiraxQ@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: nfsv4@ietf.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Subject: Re: [nfsv4] Status of RPCSEC_GSSv3
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 23:35:30 -0000

On Thu, Apr 7, 2011 at 3:50 PM, Nico Williams <nico@cryptonector.com> wrote=
:
> TODO:
>
> =C2=A0- Privileges list requires review by people familiar with fine-grai=
ned
> privilege ("capabilities", in Linux speak) facilities of operating system=
s
> other than Solaris.

Evidently FreeBSD has something like this, but I can't find a list of
privileges.

Linux has very few capabilities related to filesystems operation, but
there are some, including some that Solaris doesn't have (CAP_FSETID
in particular): CAP_DAC_OVERRIDE, CAP_DAC_READ_SEARCH, CAP_FOWNER,
CAP_FSETID.

| CAP_FSETID
|     Don't clear set-user-ID and set-group-ID bits when a file is
modified; permit setting of the set-group-ID bit for a file whose GID
does not match the file system or any of the supplementary GIDs of the
calling process.

Windows has some privileges that Solaris doesn't have equivalents of either=
:

 - Backup files and directories
 - Restore files and directories
 - Take ownership of files or other objects (which is different from file_c=
hown)

I don't know if the backup/restore privileges are relevant to NFSv4.

So I see only two privileges to add to section 3 of the I-D:

 - priv_setid_no_reset (don't reset set-id bits on write)
 - priv_chown_to_self (take ownership -- lesser than priv_chown and
different from priv_chown_self)

Nico
--

From nico@cryptonector.com  Thu Apr  7 16:46:37 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 844743A67EB for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 16:46:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.941
X-Spam-Level: 
X-Spam-Status: No, score=-1.941 tagged_above=-999 required=5 tests=[AWL=0.036,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id viG4ddXyuXbL for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 16:46:36 -0700 (PDT)
Received: from homiemail-a33.g.dreamhost.com (caiajhbdcbbj.dreamhost.com [208.97.132.119]) by core3.amsl.com (Postfix) with ESMTP id D68B23A67E1 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 16:46:36 -0700 (PDT)
Received: from homiemail-a33.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a33.g.dreamhost.com (Postfix) with ESMTP id D566059405E for <nfsv4@ietf.org>; Thu,  7 Apr 2011 16:48:21 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to: content-type; q=dns; s=cryptonector.com; b=bX7uBT/eJ3US/fwBBrsyW PDvfQeTvaeVPDbYHpcCoCErxagGMbIaXfdojSUqA6Jv3obXcaY0vJJQYwiqJ5zI8 8tBHZWnnHgD1VyG8FYxkX9LFIimA60OaHOBrkIX9xttod2fVtJY2hI/U174U4ZBp JIYRptijzOMsj0z9q8cnlE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:content-type; s=cryptonector.com; bh=BZ1USmCO7b4/nO4lFi5jYzP bNFc=; b=gP6LiWojOYaJvasmD5B5ANGjqRSjbrvtdvNbodnS8XtsGpKIgm62JWv BuHqjw+KUmH6seXlQSVjsLrxdbdbZqO1IDELtXPrQ1XCEsbysl9TpEOpHoKiaqwi 3IpRb8q6L7JBC4r/mJCwKW5vhAHBXsiJFpFbBPogYDfdnJPj0PLs=
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a33.g.dreamhost.com (Postfix) with ESMTPSA id A3446594058 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 16:48:21 -0700 (PDT)
Received: by vxg33 with SMTP id 33so2838453vxg.31 for <nfsv4@ietf.org>; Thu, 07 Apr 2011 16:48:21 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.73.130 with SMTP id l2mr2269680vdv.14.1302220101082; Thu, 07 Apr 2011 16:48:21 -0700 (PDT)
Received: by 10.52.166.42 with HTTP; Thu, 7 Apr 2011 16:48:20 -0700 (PDT)
In-Reply-To: <BANLkTikPF8RikZ6N2Jvq_gjSQ-8-XiraxQ@mail.gmail.com>
References: <BANLkTi=5do=bwCK_n6RbHBULefk-_gKk1w@mail.gmail.com> <BANLkTikPF8RikZ6N2Jvq_gjSQ-8-XiraxQ@mail.gmail.com>
Date: Thu, 7 Apr 2011 18:48:20 -0500
Message-ID: <BANLkTikE_RvSv=UpXJgQnuWOhe54A82-fQ@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: nfsv4@ietf.org
Content-Type: text/plain; charset=UTF-8
Subject: Re: [nfsv4] Status of RPCSEC_GSSv3
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 23:46:37 -0000

I found a paper from 2000 about the privilege model of TrustedBSD.  In
there I found some additional privileges I hadn't listed, particularly
related to overriding MAC policy:

cap_mac_downgrade
cap_mac_read (missing in my I-D)
cap_mac_upgrade
cap_mac_write (missing in my I-D)

Also, the capability for preventing set-id bit reset on write is split
into two, one for set-user and one for set-group.

That paper may be out of date!

Nico
--

From Tom.Haynes@netapp.com  Thu Apr  7 16:51:02 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5AFA73A6808 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 16:51:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.485
X-Spam-Level: 
X-Spam-Status: No, score=-10.485 tagged_above=-999 required=5 tests=[AWL=0.113, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gUB6yT7LFT4L for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 16:51:00 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by core3.amsl.com (Postfix) with ESMTP id CEBD23A67EB for <nfsv4@ietf.org>; Thu,  7 Apr 2011 16:51:00 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.63,320,1299484800";  d="scan'208,217";a="539883198"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 07 Apr 2011 16:52:45 -0700
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p37NqjAI012978; Thu, 7 Apr 2011 16:52:45 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Apr 2011 16:52:45 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Apr 2011 19:52:43 -0400
Received: from maute-lxp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Apr 2011 19:52:42 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: multipart/alternative; boundary=Apple-Mail-10--356869275
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <4D9E36B2.1010706@gmail.com>
Date: Thu, 7 Apr 2011 18:52:41 -0500
Message-Id: <1A78E6C5-8B77-46F1-9830-C93586A4E76A@netapp.com>
References: <4D2B6320-D443-47A4-8AC5-6AF1C5F397F2@netapp.com> <238E2192-6AD7-4B31-91AC-A5ED8FBB9DB2@netapp.com> <4D9E36B2.1010706@gmail.com>
To: Dean <seattleplus@gmail.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 07 Apr 2011 23:52:43.0058 (UTC) FILETIME=[E2D67120:01CBF57E]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [NFSv4.2] Meeting Notes 04/07/2011
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2011 23:51:02 -0000

--Apple-Mail-10--356869275
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


On Apr 7, 2011, at 5:12 PM, Dean wrote:

>=20
>> Write a pattern to a file - hole punch
> Just to be clear, we should differentiate between a hole punch that =
deallocates blocks (which would be very useful) and a hole punch that =
writes a specified pattern.  Maybe we can support both?


They are both the same thing.

If you write a pattern, you always want to deallocate blocks. Assuming =
of course
you write at least a block of data.

If you write less than a block of data, then it is up to the server if =
it wants to fill
the block with the pattern. And once that block becomes all of the =
pattern, then
the server could collapse it to a hole.



>>=20
>> We discussed what happens if a client wanted to READ an 8k chunk of =
file
>> and the first 4k were data and the second 4k were a pattern hole. =
I.e., do
>> we want to allow operations to use a mix of holes and data?
>>=20
>> The simplest approach would be for the server to return 4k and allow =
the
>> client to send a second compound to get the remaining data.
>>=20
>> The current XDR does not allow a mixture of holes and data. We should =
consider
>> if we can allow for an arbitrary number of mixtures.
>>=20
>> I also mentioned that resolving this area would be where I am =
spending
>> the chunk of my editorial time at first.
>=20
> I'm currently updating my sparse draft to include comments from the =
interim meeting,


Why are you updating your draft? This has now been pulled into the =
NFSv4.2 document.
All of the items pulled into the release are being tracked there. This =
message has been
consistently pushed on the WG alias and at the meetings.

By the way, you need to pull the XDR code down for the current READPLUS =
case. I had
to change it to get it to pass through rpcgen. I will not be accepting =
changes that do not
pass the 'make testx' target of the Makefile.

You can grab the source here: https://github.com/loghyr/NFSv4.2

To get the 'make testx' work on Linux, you might need to install:

 347  sudo yum install libgssglue-devel
 364  sudo yum install nfs-utils-lib-devel


> but this has been delayed due to both project and paper deadlines as =
well as vacation.  My plan is to state that the     return value is =
completely the prerogative of the server, who is the only one who can =
decide if it wants to classify a byte-range as a hole or not.=20


Agreed.


> In practice, I see servers using a sparse threshold, and any =
unallocated or all-zero/pattern byte range less than this threshold =
would NOT be considered a hole.


That would be an implementation choice.


>=20
> As for returning a mix of holes and data (which would boil down to =
returning an array of data chunks, with the rest considered holes, I =
think it is useful but may be a little complicated.


That is an item which we should be discussing.


>=20
> Dean
>>=20
>> + Space reservation
>>=20
>> No real discussion.
>>=20
>> + Unstable file creation
>>=20
>> Pushed off until the next meeting.
>>=20
>> + Overview of what is in NFS4.2
>>=20
>> Gave a quick summary of the items in, close to being in, etc. This =
was based
>> off of the slides I presented in Prague.
>>=20
>>=20
>> _______________________________________________
>> nfsv4 mailing list
>> nfsv4@ietf.org
>> https://www.ietf.org/mailman/listinfo/nfsv4
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4


--Apple-Mail-10--356869275
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><br><div><div>On Apr 7, 2011, at 5:12 PM, Dean wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite">
<div bgcolor=3D"#ffffff" text=3D"#000000"><br><blockquote =
cite=3D"mid:238E2192-6AD7-4B31-91AC-A5ED8FBB9DB2@netapp.com" =
type=3D"cite"><div><div><div style=3D"word-wrap: break-word;">
            <div>Write a pattern to a file - hole punch</div>
          </div>
        </div>
      </div>
    </blockquote>
    Just to be clear, we should differentiate between a hole punch that
    deallocates blocks (which would be very useful) and a hole punch
    that writes a specified pattern.&nbsp; Maybe we can support =
both?<br></div></blockquote><div><br></div><div><br></div><div>They are =
both the same thing.</div><div><br></div><div>If you write a pattern, =
you always want to deallocate blocks. Assuming of course</div><div>you =
write at least a block&nbsp;of data.</div><div><br></div><div>If you =
write less than a block of data, then it is up to the server if it wants =
to fill</div><div>the block with the pattern. And once that block =
becomes all of the pattern, then</div><div>the server could collapse it =
to a hole.</div><div><br></div><div><br></div><br><blockquote =
type=3D"cite"><div bgcolor=3D"#ffffff" text=3D"#000000">
    <blockquote =
cite=3D"mid:238E2192-6AD7-4B31-91AC-A5ED8FBB9DB2@netapp.com" =
type=3D"cite">
      <div>
        <div>
          <div style=3D"word-wrap: break-word;">
            <div><br>
            </div>
            <div>We discussed what happens if a client wanted to READ an
              8k chunk of file</div>
            <div>and the first 4k were data and the second 4k were a
              pattern hole. I.e., do</div>
            <div>we want to allow operations to use a mix of holes and
              data?</div>
            <div><br>
            </div>
            <div>The simplest approach would be for the server to return
              4k and allow the</div>
            <div>client to send a second compound to get the remaining
              data.</div>
            <div><br>
            </div>
            <div>The current XDR does not allow a mixture of holes and
              data. We should consider</div>
            <div>if we can allow for an arbitrary number of =
mixtures.</div>
            <div><br>
            </div>
            <div>I also mentioned that resolving this area would be
              where I am spending</div>
            <div>the chunk of my editorial time at first.</div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    I'm currently updating my sparse draft to include comments from the
    interim meeting, =
</div></blockquote><div><br></div><div><br></div><div>Why are you =
updating your draft? This has now been pulled into the NFSv4.2 =
document.</div><div>All of the items pulled into the release are being =
tracked there. This message has been</div><div>consistently pushed on =
the WG alias and at the meetings.</div><div><br></div><div>By the way, =
you need to pull the XDR code down for the current READPLUS case. I =
had</div><div>to change it to get it to pass through rpcgen. I will not =
be accepting changes that do not</div><div>pass the 'make testx' target =
of the Makefile.</div><div><br></div><div>You can grab the source =
here:&nbsp;<a =
href=3D"https://github.com/loghyr/NFSv4.2">https://github.com/loghyr/NFSv4=
.2</a></div><div><br></div><div>To get the 'make testx' work on Linux, =
you might need to install:</div><div><br></div><div>&nbsp;347 &nbsp;sudo =
yum install libgssglue-devel<br>&nbsp;364 &nbsp;sudo yum install =
nfs-utils-lib-devel</div><div><br></div><br><blockquote type=3D"cite"><div=
 bgcolor=3D"#ffffff" text=3D"#000000">but this has been delayed due to =
both project and
    paper deadlines as well as vacation.&nbsp; My plan is to state that =
the
    return value is completely the prerogative of the server, who is the
    only one who can decide if it wants to classify a byte-range as a
    hole or =
not.&nbsp;</div></blockquote><div><br></div><div><br></div><div>Agreed.</d=
iv><div><br></div><br><blockquote type=3D"cite"><div bgcolor=3D"#ffffff" =
text=3D"#000000"> In practice, I see servers using a sparse threshold,
    and any unallocated or all-zero/pattern byte range less than this
    threshold would NOT be considered a =
hole.<br></div></blockquote><div><br></div><div><br></div><div>That =
would be an implementation choice.</div><div><br></div><br><blockquote =
type=3D"cite"><div bgcolor=3D"#ffffff" text=3D"#000000">
    <br>
    As for returning a mix of holes and data (which would boil down to
    returning an array of data chunks, with the rest considered holes, I
    think it is useful but may be a little =
complicated.<br></div></blockquote><div><br></div><div><br></div><div>That=
 is an item which we should be =
discussing.</div><div><br></div><br><blockquote type=3D"cite"><div =
bgcolor=3D"#ffffff" text=3D"#000000">
    <br>
    Dean<br>
    <blockquote =
cite=3D"mid:238E2192-6AD7-4B31-91AC-A5ED8FBB9DB2@netapp.com" =
type=3D"cite">
      <div>
        <div>
          <div style=3D"word-wrap: break-word;">
            <div><br>
            </div>
            <div>+ Space reservation</div>
            <div><br>
            </div>
            <div>No real discussion.</div>
            <div><br>
            </div>
            <div>+ Unstable file creation</div>
            <div><br>
            </div>
            <div>Pushed off until the next meeting.</div>
            <div><br>
            </div>
            <div>+ Overview of what is in NFS4.2</div>
            <div><br>
            </div>
            <div>Gave a quick summary of the items in, close to being
              in, etc. This was based</div>
            <div>off of the slides I presented in Prague.</div>
            <div><br>
            </div>
          </div>
        </div>
      </div>
      <pre wrap=3D""><fieldset class=3D"mimeAttachmentHeader"></fieldset>
_______________________________________________
nfsv4 mailing list
<a class=3D"moz-txt-link-abbreviated" =
href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</a>
<a class=3D"moz-txt-link-freetext" =
href=3D"https://www.ietf.org/mailman/listinfo/nfsv4">https://www.ietf.org/=
mailman/listinfo/nfsv4</a>
</pre>
    </blockquote>
  </div>

_______________________________________________<br>nfsv4 mailing =
list<br><a =
href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</a><br>https://www.ietf.org/=
mailman/listinfo/nfsv4<br></blockquote></div><br></body></html>=

--Apple-Mail-10--356869275--

From nico@cryptonector.com  Thu Apr  7 17:23:11 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7BBA63A6808 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 17:23:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.941
X-Spam-Level: 
X-Spam-Status: No, score=-1.941 tagged_above=-999 required=5 tests=[AWL=0.036,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Sgw-Fl-WnUYu for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 17:23:10 -0700 (PDT)
Received: from homiemail-a74.g.dreamhost.com (caiajhbdcahe.dreamhost.com [208.97.132.74]) by core3.amsl.com (Postfix) with ESMTP id CB88E3A67EB for <nfsv4@ietf.org>; Thu,  7 Apr 2011 17:23:10 -0700 (PDT)
Received: from homiemail-a74.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a74.g.dreamhost.com (Postfix) with ESMTP id 99BBE67C06B for <nfsv4@ietf.org>; Thu,  7 Apr 2011 17:24:55 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to: content-type; q=dns; s=cryptonector.com; b=DA13LRRyklZD20qdHywbQ tkE+Y0ALoybu/4Yvseit+4D7ZjEklbuCx1FmFJzkhJGh0e2pXtmMD3iECmI4n36x LQzKWj6X97SL8F5baqtIzIGr4H5nZHU8xNJQPMwB2b25Cu8wlWRLAxl/vW94ZmtU W9NENN1OFeygbcpjiwsBf8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:content-type; s=cryptonector.com; bh=bw1D75Q+fth5A/rsamZt7I/ kELM=; b=KMAw+IvTbjdo8Cv8XuNvjIGTTmqTwzfx9aoHhX9nBcEDcd0FGkLeLJm r/5i3q9eeP7MGYitYVEoO2DKnMAGB+750kuoklBL6rlQk4zoGlgLB5K8r07EMjPn nBSznDbZajIEFUffAeZ1CmaGj3ydGqx37HJH0MZfdi/XAUOCDE24=
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a74.g.dreamhost.com (Postfix) with ESMTPSA id 66AD367C014 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 17:24:55 -0700 (PDT)
Received: by vws12 with SMTP id 12so2876293vws.31 for <nfsv4@ietf.org>; Thu, 07 Apr 2011 17:24:54 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.92.172 with SMTP id cn12mr2217920vdb.294.1302222294524; Thu, 07 Apr 2011 17:24:54 -0700 (PDT)
Received: by 10.52.166.42 with HTTP; Thu, 7 Apr 2011 17:24:54 -0700 (PDT)
In-Reply-To: <BANLkTinb8=K0+kZPg3ydoVQhkQR5Cf0_vg@mail.gmail.com>
References: <BANLkTi=5do=bwCK_n6RbHBULefk-_gKk1w@mail.gmail.com> <BANLkTinb8=K0+kZPg3ydoVQhkQR5Cf0_vg@mail.gmail.com>
Date: Thu, 7 Apr 2011 19:24:54 -0500
Message-ID: <BANLkTi=xZXts+ewjwRTms+HJeVytuuOQJQ@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: nfsv4@ietf.org
Content-Type: multipart/mixed; boundary=20cf3071c77048a31804a05d4120
Subject: Re: [nfsv4] Status of RPCSEC_GSSv3
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 00:23:11 -0000

--20cf3071c77048a31804a05d4120
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Thu, Apr 7, 2011 at 6:07 PM, Nico Williams <nico@cryptonector.com> wrote=
:
> One of the forwarded comments was about RPCSEC_GSS3_LABEL_PROBLEM and
> the lack of a RPCSEC_GSS3_PRIV_PROBLEM status code. =C2=A0This was my
> answer:

OK, I'm convinced to add some things to the response.  The PROBLEM
codes should probably be dropped, except that some servers might
consider some problems with the client's assertions to be fatal
(though I'm not sure why!).  Attached is the new .x, with all other
issues corrected.

Nico
--

--20cf3071c77048a31804a05d4120
Content-Type: application/octet-stream; name="rpcsec_gssv3.x"
Content-Disposition: attachment; filename="rpcsec_gssv3.x"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_gm8dirtk0

LyoKKiBUaGlzIGNvZGUgd2FzIGRlcml2ZWQgZnJvbSBbUkZDMjIwM10uIFBsZWFzZQoqIHJlcHJv
ZHVjZSB0aGlzIG5vdGUgaWYgcG9zc2libGUuCiovCgovKgoqIHJwY3NlY19nc3NfdjMueAoqLwoK
ZW51bSBycGNfZ3NzX3NlcnZpY2VfdCB7CiAgICAvKiBOb3RlOiB0aGUgZW51bWVyYXRlZCB2YWx1
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>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 008E23A695E for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 18:37:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.942
X-Spam-Level: 
X-Spam-Status: No, score=-1.942 tagged_above=-999 required=5 tests=[AWL=0.035,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YummmIGliC9D for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 18:37:00 -0700 (PDT)
Received: from homiemail-a29.g.dreamhost.com (caiajhbdcahe.dreamhost.com [208.97.132.74]) by core3.amsl.com (Postfix) with ESMTP id D361E3A695A for <nfsv4@ietf.org>; Thu,  7 Apr 2011 18:36:59 -0700 (PDT)
Received: from homiemail-a29.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a29.g.dreamhost.com (Postfix) with ESMTP id CF2F1674074 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 18:38:44 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :date:message-id:subject:from:to:content-type; q=dns; s= cryptonector.com; b=B4XMcKVB4FTsC1z/1YdtTrFHVqoW1oRfqpdY8/mVzy1E 6seKM/4GXsSa+I8q9OAD2HLFPsPTRa/59jvRmJRX2ZGTRX2TLV5DGukWh5bu3yVM Ef20JAvgl420ethHRdWpA652YkO8e7HoxD7hty0Dlwu1n+d5eAMbwOaHC4DXZB0=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:date:message-id:subject:from:to:content-type; s= cryptonector.com; bh=iF9S2FfbhHT2drzI3tP5jomY2qM=; b=t2PtmdLgvPS YvEbUbXWwN+L6t6+0lBRf2nV9/lZsnIryoZu6GtPCflp6Nt2tYTzzCvFJEa6s/bi er5FHHGxJHbWHtrb+UuGxxZ3Bt+HACB3cAFOEkIfL9wfz0gZR9BhEz3RDZ8GGRUR Z1yXZFZitQMXN6WwX1aWg4ir7d8Qwx1g=
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a29.g.dreamhost.com (Postfix) with ESMTPSA id AD05E67407C for <nfsv4@ietf.org>; Thu,  7 Apr 2011 18:38:44 -0700 (PDT)
Received: by vws12 with SMTP id 12so2909152vws.31 for <nfsv4@ietf.org>; Thu, 07 Apr 2011 18:38:43 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.180.9 with SMTP id dk9mr2249823vdc.134.1302226723938; Thu, 07 Apr 2011 18:38:43 -0700 (PDT)
Received: by 10.52.166.42 with HTTP; Thu, 7 Apr 2011 18:38:43 -0700 (PDT)
Date: Thu, 7 Apr 2011 20:38:43 -0500
Message-ID: <BANLkTimPw740NiZJpq51Jv+Gh7OMRLnNhQ@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: NFSv4 <nfsv4@ietf.org>
Content-Type: text/plain; charset=UTF-8
Subject: [nfsv4] Would SElinux folk
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 01:37:01 -0000

please confirm whether SElinux has many process label transitions, and
please characterize the frequency of process label transitions?

Thanks,

Nico
--

From dpquigl@davequigley.com  Thu Apr  7 21:02:26 2011
Return-Path: <dpquigl@davequigley.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5CD413A6A39 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 21:02:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.361
X-Spam-Level: 
X-Spam-Status: No, score=-2.361 tagged_above=-999 required=5 tests=[AWL=0.239,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uaHzWRoqaVeR for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 21:02:25 -0700 (PDT)
Received: from countercultured.net (countercultured.net [IPv6:2001:470:0:c0d3::2]) by core3.amsl.com (Postfix) with SMTP id 022CA3A6A36 for <nfsv4@ietf.org>; Thu,  7 Apr 2011 21:02:24 -0700 (PDT)
Received: (qmail 30375 invoked from network); 8 Apr 2011 04:04:10 -0000
Received: from c-76-21-220-25.hsd1.md.comcast.net (HELO ?192.168.15.109?) (merlin@76.21.220.25) by countercultured.net with ESMTPA; 8 Apr 2011 04:04:10 -0000
Message-ID: <4D9E8926.6090906@davequigley.com>
Date: Fri, 08 Apr 2011 00:03:50 -0400
From: Dave Quigley <dpquigl@davequigley.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9
MIME-Version: 1.0
To: nfsv4@ietf.org
References: <4D95842E.70708@oracle.com>	<4D95B41C.70509@oracle.com>	<7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com>	<BANLkTi=9tu4Kt0Kc6QHn1H67oWEBtNwkrw@mail.gmail.com>	<7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF260A@MX14A.corp.emc.com>	<BANLkTi=TgjHgj9Ux3+iwjY2=rVuZKTUAVA@mail.gmail.com>	<BANLkTimURCkWkCBsyZtyf+h0gwB1V2K4JQ@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF265A@MX14A.corp.emc.com>
In-Reply-To: <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF265A@MX14A.corp.emc.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: [nfsv4] RPCSEC-GSSv3 profiling
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 04:02:26 -0000

So I'm unfamiliar with what profiling means in this context. How does 
that work in the context of RPCSEC_GSS?


On 4/6/2011 2:11 PM, david.black@emc.com wrote:
> That sounds like a promising approach.
>
> Thanks,
> --David
>
>
>> -----Original Message-----
>> From: Nico Williams [mailto:nico@cryptonector.com]
>> Sent: Wednesday, April 06, 2011 2:04 PM
>> To: Black, David
>> Cc: nfsv4@ietf.org; Moriarty, Kathleen
>> Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments ([A] - [D])
>>
>> Also, note that for RPCSEC_GSSv3, we could make it something that can
>> be profiled, so that clients that only need it for communicating
>> process labels need not implement the rest of it.  In fact, that's
>> already possible -- we just didn't write that out explicitly.
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>


From dpquigl@davequigley.com  Thu Apr  7 21:39:25 2011
Return-Path: <dpquigl@davequigley.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EECF428C0FA for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 21:39:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.378
X-Spam-Level: 
X-Spam-Status: No, score=-2.378 tagged_above=-999 required=5 tests=[AWL=0.221,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VjZmMy881B13 for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 21:39:23 -0700 (PDT)
Received: from countercultured.net (countercultured.net [IPv6:2001:470:0:c0d3::2]) by core3.amsl.com (Postfix) with SMTP id 7ECBF28C0FE for <nfsv4@ietf.org>; Thu,  7 Apr 2011 21:39:23 -0700 (PDT)
Received: (qmail 32500 invoked from network); 8 Apr 2011 04:41:08 -0000
Received: from c-76-21-220-25.hsd1.md.comcast.net (HELO ?192.168.15.109?) (merlin@76.21.220.25) by countercultured.net with ESMTPA; 8 Apr 2011 04:41:08 -0000
Message-ID: <4D9E91D1.3080506@davequigley.com>
Date: Fri, 08 Apr 2011 00:40:49 -0400
From: Dave Quigley <dpquigl@davequigley.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9
MIME-Version: 1.0
To: nfsv4@ietf.org
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com>	<7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com>	<4D9DBC25.7000409@oracle.com>	<BANLkTinQ+qtGOeW=_MQbOiCUWdRiPg70hw@mail.gmail.com>	<4D9DEAF3.2050000@oracle.com>	<BANLkTi=_=cdXG-LNTTAkg9Hyr+kj2q0DMQ@mail.gmail.com>	<4D9DF43E.8070100@oracle.com> <BANLkTinCPpyU4bKca-oknxFZZfgwOcbgSQ@mail.gmail.com>
In-Reply-To: <BANLkTinCPpyU4bKca-oknxFZZfgwOcbgSQ@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: [nfsv4] draft-quigley-nfsv4-labeled-00 - some comments
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 04:39:25 -0000

On 4/7/2011 1:39 PM, Nico Williams wrote:
> On Thu, Apr 7, 2011 at 12:28 PM, Jarrett Lu<jarrett.lu@oracle.com>  wrote:
>> On 04/ 7/11 10:07 AM, Nico Williams wrote:
>>>> RPCSEC_GSSv3 is considered a related but separate piece from NFS
>>>> MAC label extensions. So it's great to have but not required, i.e. we
>>>> should be able to do labeled NFS without RPCSEC_GSSv3. Again, I'd
>>>> love to have both.
>>> "Is considered"?  By whom?  I consider it a requirement for some of
>>> the cases where both, the client and the server are MAC-aware
>>> (specifically: whenever you need support for label sets or ranges,
>>> which is generally the case in MLS deployments for example).  (But
>>> clearly not a requirement for the cases where either or both of the
>>> client and server are MAC-unaware.)
>> I got the impression from the WG meeting session that RPCSEC_GSSv3
>> is related but separate from labeled NFS. Can others chime in on this?
> Meetings are not authoritative for anything.  Consensus calls must be
> confirmed on the list.
>
> David Q. has stated that RPCSEC_GSSv3 is important for his interest in
> labeled NFS.
>

I agree that RPCSEC_GSSv3 gives me the most control over SELinux 
policies on the server and the client. However, I intentionally 
separated them making the RPCSEC_GSSv3 a nice to have because I felt 
that I wasn't going to be able to get both documents through. However I 
believe that RPCSEC_GSSv3 is moving forward in the NFSv4.2 timeline just 
like we want to move Labeled NFS. If that is the case and both are on 
the same timeline that I think it would be a good idea to add a text on 
how both components work together. My original goal was baby steps for 
getting things in but it seems like we've taken a hop skip and a jump to 
the moon with the discussion that happened at the last meeting. That 
being said there are environments where RPCSEC_GSSv3 would be a 
requirement. My Compliance use case from the impact study would be more 
secure if we had RPCSEC_GSSv3 between the database and the file server. 
I know for a fact that there are government applications where it is 
required.

>> I also think about this "requirement" in terms of dependency, e.g. does
>> NFS MAC label extension depends on RPCSEC_GSSv3? Is the extension
>> useless with RPCSEC_GSSv3? My opinion is labeled NFS works best with
>> RPCSEC_GSSv3. It can also work, in a less secure or less expressive way,
>> absent of RPCSEC_GSSv3. For example, a MAC server may need to do
>> some mapping to get client's subject label.
> It's required for some uses/deployments.  It's not REQUIRED in the
> sense of "to implement", as in RFC2119.
>
> If the issue is "can we leave it out of NFSv4.2" then IMO: no, we must
> not.  But then, IMO we must stop the train model nonsense.
>
> Nico
> --
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4


From nico@cryptonector.com  Thu Apr  7 21:41:12 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D1F3328C0FE for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 21:41:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.942
X-Spam-Level: 
X-Spam-Status: No, score=-1.942 tagged_above=-999 required=5 tests=[AWL=0.035,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gogaMGdw74Xa for <nfsv4@core3.amsl.com>; Thu,  7 Apr 2011 21:41:12 -0700 (PDT)
Received: from homiemail-a36.g.dreamhost.com (caiajhbdccah.dreamhost.com [208.97.132.207]) by core3.amsl.com (Postfix) with ESMTP id 137A028C0FA for <nfsv4@ietf.org>; Thu,  7 Apr 2011 21:41:12 -0700 (PDT)
Received: from homiemail-a36.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a36.g.dreamhost.com (Postfix) with ESMTP id 1DE5477806E for <nfsv4@ietf.org>; Thu,  7 Apr 2011 21:42:57 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=xoH0WLs5kYHjYWgPlcpMT Le5HvhwLRZc5bHrG2OkMsB57egZIzxSmDmBrqGLg64Iqn/MUgcl6xsyvtIkoAyM1 0U7rA9OmJDLHR67YoeiFqWzvZ6VgaJRPn7Drm2dxlZYYaWslwkcM7p1Tcmpddcsu zVpAII72ZcUFihBfdlVqEQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=ayENP9TXqvKsX6DtV2LV X0CX9XY=; b=tTLi10sT/CSbLFXaN5KZUJekhgllxAmMqFdpzh9mfFdHrV3yZCiB 2ghmcZPKRege7dHOftXKOiBTJp/AsV5t+Q8SRIJRS6O6Yox7r1TrbawDwrQT3mZs GXGgmP/C+JDSAX5e9FRO8PdyyGhxk8SoEmI7NXKfFLk12+BYDF5Ks/A=
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a36.g.dreamhost.com (Postfix) with ESMTPSA id E5C7D77805F for <nfsv4@ietf.org>; Thu,  7 Apr 2011 21:42:56 -0700 (PDT)
Received: by vxg33 with SMTP id 33so2965715vxg.31 for <nfsv4@ietf.org>; Thu, 07 Apr 2011 21:42:56 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.69.240 with SMTP id h16mr2439900vdu.214.1302237776341; Thu, 07 Apr 2011 21:42:56 -0700 (PDT)
Received: by 10.52.166.42 with HTTP; Thu, 7 Apr 2011 21:42:56 -0700 (PDT)
In-Reply-To: <4D9E8926.6090906@davequigley.com>
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <BANLkTi=9tu4Kt0Kc6QHn1H67oWEBtNwkrw@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF260A@MX14A.corp.emc.com> <BANLkTi=TgjHgj9Ux3+iwjY2=rVuZKTUAVA@mail.gmail.com> <BANLkTimURCkWkCBsyZtyf+h0gwB1V2K4JQ@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF265A@MX14A.corp.emc.com> <4D9E8926.6090906@davequigley.com>
Date: Thu, 7 Apr 2011 23:42:56 -0500
Message-ID: <BANLkTi=iB2WCgz=aBzRrBWHMhq3F8oCKoQ@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Dave Quigley <dpquigl@davequigley.com>
Content-Type: text/plain; charset=UTF-8
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] RPCSEC-GSSv3 profiling
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 04:41:12 -0000

On Thu, Apr 7, 2011 at 11:03 PM, Dave Quigley <dpquigl@davequigley.com> wrote:
> So I'm unfamiliar with what profiling means in this context. How does that
> work in the context of RPCSEC_GSS?

A "profile" of a protocol is a like a subset of it.  The idea is here
is to make clear to client implementors that they are free to not
implement those subsets of RPCSEC_GSSv3 _features_ (the XDR itself has
to remain as-is) that they have no use for or no easy way to implement
in the short-term.

The server side too could be profiled, particularly with the change I
sent out earlier tonight, since the server could decide that it's not
going to accept privilege assertions, because it doesn't understand
them, and tell the client as much while still setting up a context
handle.  Most clients will want to proceed in such a situation, though
they wouldn't be obligated to.

Nico
--

From Tom.Haynes@netapp.com  Fri Apr  8 00:40:23 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id AD2673A69F3 for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 00:40:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.336
X-Spam-Level: 
X-Spam-Status: No, score=-9.336 tagged_above=-999 required=5 tests=[AWL=-1.038, BAYES_00=-2.599, HTML_MESSAGE=0.001, MANGLED_BEEF=2.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MXCaE7Se4JIx for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 00:40:22 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by core3.amsl.com (Postfix) with ESMTP id 6CDD53A6972 for <nfsv4@ietf.org>; Fri,  8 Apr 2011 00:40:22 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.63,322,1299484800";  d="scan'208,217";a="539938656"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 08 Apr 2011 00:42:07 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p387g7Mc028425 for <nfsv4@ietf.org>; Fri, 8 Apr 2011 00:42:07 -0700 (PDT)
Received: from rtprsexc2-prd.hq.netapp.com ([10.100.161.115]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 8 Apr 2011 00:42:07 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 8 Apr 2011 03:41:57 -0400
Received: from maute-lxp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 8 Apr 2011 03:41:56 -0400
From: Thomas Haynes <thomas@netapp.com>
Content-Type: multipart/alternative; boundary=Apple-Mail-11--328715563
Date: Fri, 8 Apr 2011 02:41:55 -0500
Message-Id: <B637DE01-CC65-4393-8F57-3C0422E4E6AA@netapp.com>
To: nfsv4@ietf.org, Michael Eisler <mre@netapp.com>
Mime-Version: 1.0 (Apple Message framework v1084)
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 08 Apr 2011 07:41:56.0824 (UTC) FILETIME=[6FCA3580:01CBF5C0]
Subject: [nfsv4] Patterns: INITIALIZE or WRITE_PLUS
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 07:40:23 -0000

--Apple-Mail-11--328715563
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

I'm looking at the Enterprise Apps I-D, trying to decide whether we
want to have that INITIALIZE op or a WRITE_PLUS op.

But that can wait. In looking at the INITIALIZE op, the I-D states:

   The INITIALIZE operation is used to initialize an open file to an
   iterated pattern.  The pattern consists of a fixed string, and a
   block number.  The pattern is defined by the arguments.

   o  ia_offset: where to start the iterated pattern.  This value is
      specified in bytes.

   o  ia_blocksize: the size of each iteration of the pattern.  Each
      iteration is called a block.

We are missing a description of block count here...

   o  ia_reloff_pattern: the relative offset within a block where to
      write the specified pattern encoded in ia_pattern.

   o  ia_reloff_blocknum: the relative offset within a block where to
      write a 64 bit block number.  The block number is incremented once
      a block is written.  The block number is always written in little
      endian order.  If ia_reloff_blocknum is set to NFS4_UINT64_MAX,
      then this informs the server that no block number is to be
      written.

   o  ia_pattern: a fixed string written to every block.  If the length
      of ia_pattern is zero, then this informs the server that no string
      is to be written.

   The field ia_stateid is the stateid corresponding to the current
   filehandle's share reservation, delegation, or byte range lock.

   An example will illustrate how the client uses INITIALIZE.  Suppose
   the arguments (except for ia_stateid) are: { 0, 500, 1000, 8, 0,
   "DeadBeef" }.  Then starting with offset zero, the content of the
   file will have these contents.

   offset value (decimal or ASCII)
   0      0   0   0   0   0   0   0   0
   8      'D' 'e' 'a' 'd' 'B' 'e' 'e' 'f'
   16-499 zeroes

   500    0   0   0   0   0   0   0   1
   508    'D' 'e' 'a' 'd' 'B' 'e' 'e' 'f'
   516-999 zeroes

   ...

   499500  0   0   0   0   0   0   3   231
   499508  'D' 'e' 'a' 'd' 'B' 'e' 'e' 'f'
   499516-499999 zeroes

2.5.  IMPLEMENTATION

   When an NFS server receives this operation, instead of writing the
   iterated pattern over each block, it should de-allocate the data of
   affected range of the file and record the the values of ia_offset,
   ia_blocksize, ia_blockcount, ia_reloff_pattern, ia_reloff_blocknum,
   and ia_pattern<> in the file's system metadata.  When a client sends
   a READ request, instead of returning zeroes, it should construct a
   response corresponding to the pattern specified in the arguments to
   INITIALIZE.


[1] I see two ways to interpret what gets sent back over the wire to =
READ_PLUS:

1) A single hole of size ia_blocksize * ia_blockcount with the pattern =
ia_pattern.

2) A data array of size a_blocksize * ia_blockcount with the contents as =
described
above.

If the application is looking for a block number inside the block, then =
I don't see
how we can either have a sparse file on the wire or send a hole back =
across the
wire.

[2] And if the application is expecting to see the contents described =
above, then I don't
see how it can detect badness inside one of the blocks. Say a client =
reads the above
1000 blocks of data. Then assume it inadvertently dirties the 565th =
block, but makes
no changes to the block.

The client flushes that back to the server, which will most likely cause =
a client sized
page (pick either 2k or 4k) around that byte to be made into actual =
content. The server splits
the metadata it has into two different holes described by the pattern. =
There is also
a client sized page sitting on disk.

Besides there being scenarios where a block is split (thus not recording =
the block
number on the disk), there is now no way for the app to tell whether or =
not any of the
data outside of the block number and recorded pattern has been =
corrupted. I.e.,
this is the same argument presented in the I-D as to why we want a =
non-zero pattern.

I don't see the use case for why the block number needs to be encoded as =
part of the
pattern and hence stored in the block. Further, I don't see the =
motivation for why we
want to mess with recording anything about blocks at all.

I.e., if the app wants to store data in these app blocks, then it can =
calculate which
block it should be in.

A counter-proposal would be a WRITE_PLUS op in the same spirit as the =
READ_PLUS op:

struct hole_pattern4 {
        offset4         hp_offset;
        length4         hp_length;
};

struct READ_PLUS4args {
        /* CURRENT_FH: file */
        stateid4        rpa_stateid;
        offset4         rpa_offset;
        count4          rpa_count;
};=20

union read_plus_res4 switch (bool is_hole) {
case TRUE:
        hole_pattern4   rpr_hole;
case FALSE:
        opaque          rpr_data<>;
};=20

union READ_PLUS4res switch (nfsstat4 status) {
case NFS4_OK:
        read_plus_res4  resok4;
default:  =20
        void;     =20
};=20

struct write_plus_data4 {
        offset4         wpd_offset;
        opaque          wpd_data<>;
};

union write_plus_arg4 switch (bool is_hole) {
case TRUE:
        hole_pattern4           wpa_hole;
case FALSE:
        write_plus_data4        wpa_data;
};

struct WRITE_PLUS4args {
        /* CURRENT_FH: file */
        stateid4        wpa_stateid;
        stable_how4     wpa_stable;
        write_plus_arg4 wpa_data;
};

struct WRITE_PLUS4resok {
        count4          wpr_count;
        stable_how4     wpr_committed;
        verifier4       wpr_writeverf;
};

union WRITE_PLUS4res switch (nfsstat4 status) {
case NFS4_OK:
        WRITE_PLUS4resok    resok4;
default:
        void;
};

Note that this approach is simpler than what we might finally adopt. =
E.g.,
we should consider the 64 bit array lengths for the data, we might want
to be able to return an array of holes and non-holes, etc.

But it does present a consistent approach to the new READ and WRITE ops.

The new WRITE_PLUS op incorporates both the INITIALIZE and HOLE_PUNCH
functionality from the other I-Ds.

To initialize a file, create it (via CREATE or OPEN) and in the same =
compound,
send a single WRITE operation over the range of the file. This has the =
effect
of only sending the hole_pattern4 and results in a sparse file on the =
server.



--Apple-Mail-11--328715563
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I'm =
looking at the Enterprise Apps I-D, trying to decide whether we<div>want =
to have that INITIALIZE op or a WRITE_PLUS =
op.</div><div><br></div><div>But that can wait. In looking at the =
INITIALIZE op, the I-D states:</div><div><br></div><blockquote =
class=3D"webkit-indent-blockquote" style=3D"margin: 0 0 0 40px; border: =
none; padding: 0px;"><div><div>&nbsp;&nbsp; The INITIALIZE operation is =
used to initialize an open file to an</div></div><div><div>&nbsp;&nbsp; =
iterated pattern. &nbsp;The pattern consists of a fixed string, and =
a</div></div><div><div>&nbsp;&nbsp; block number. &nbsp;The pattern is =
defined by the =
arguments.</div></div><div><div><br></div></div><div><div>&nbsp;&nbsp; o =
&nbsp;ia_offset: where to start the iterated pattern. &nbsp;This value =
is</div></div><div><div>&nbsp;&nbsp; &nbsp; &nbsp;specified in =
bytes.</div></div><div><div><br></div></div><div><div>&nbsp;&nbsp; o =
&nbsp;ia_blocksize: the size of each iteration of the pattern. =
&nbsp;Each</div></div><div><div>&nbsp;&nbsp; &nbsp; &nbsp;iteration is =
called a block.</div></div><div><br></div></blockquote>We are missing a =
description of block count here...<br><blockquote =
class=3D"webkit-indent-blockquote" style=3D"margin: 0 0 0 40px; border: =
none; padding: 0px;"><div><div><br></div></div><div><div>&nbsp;&nbsp; o =
&nbsp;ia_reloff_pattern: the relative offset within a block where =
to</div></div><div><div>&nbsp;&nbsp; &nbsp; &nbsp;write the specified =
pattern encoded in =
ia_pattern.</div></div><div><div><br></div></div><div><div>&nbsp;&nbsp; =
o &nbsp;ia_reloff_blocknum: the relative offset within a block where =
to</div></div><div><div>&nbsp;&nbsp; &nbsp; &nbsp;write a 64 bit block =
number. &nbsp;The block number is incremented =
once</div></div><div><div>&nbsp;&nbsp; &nbsp; &nbsp;a block is written. =
&nbsp;The block number is always written in =
little</div></div><div><div>&nbsp;&nbsp; &nbsp; &nbsp;endian order. =
&nbsp;If ia_reloff_blocknum is set to =
NFS4_UINT64_MAX,</div></div><div><div>&nbsp;&nbsp; &nbsp; &nbsp;then =
this informs the server that no block number is to =
be</div></div><div><div>&nbsp;&nbsp; &nbsp; =
&nbsp;written.</div></div><div><div><br></div></div><div><div>&nbsp;&nbsp;=
 o &nbsp;ia_pattern: a fixed string written to every block. &nbsp;If the =
length</div></div><div><div>&nbsp;&nbsp; &nbsp; &nbsp;of ia_pattern is =
zero, then this informs the server that no =
string</div></div><div><div>&nbsp;&nbsp; &nbsp; &nbsp;is to be =
written.</div></div><div><div><br></div></div><div><div>&nbsp;&nbsp; The =
field ia_stateid is the stateid corresponding to the =
current</div></div><div><div>&nbsp;&nbsp; filehandle's share =
reservation, delegation, or byte range =
lock.</div></div><div><div><br></div></div><div><div>&nbsp;&nbsp; An =
example will illustrate how the client uses INITIALIZE. =
&nbsp;Suppose</div></div><div><div>&nbsp;&nbsp; the arguments (except =
for ia_stateid) are: { 0, 500, 1000, 8, =
0,</div></div><div><div>&nbsp;&nbsp; "DeadBeef" }. &nbsp;Then starting =
with offset zero, the content of the</div></div><div><div>&nbsp;&nbsp; =
file will have these =
contents.</div></div><div><div><br></div></div><div><div>&nbsp;&nbsp; =
offset value (decimal or ASCII)</div></div><div><div>&nbsp;&nbsp; 0 =
&nbsp; &nbsp; &nbsp;0 &nbsp; 0 &nbsp; 0 &nbsp; 0 &nbsp; 0 &nbsp; 0 =
&nbsp; 0 &nbsp; 0</div></div><div><div>&nbsp;&nbsp; 8 &nbsp; &nbsp; =
&nbsp;'D' 'e' 'a' 'd' 'B' 'e' 'e' 'f'</div></div><div><div>&nbsp;&nbsp; =
16-499 =
zeroes</div></div><div><div><br></div></div><div><div>&nbsp;&nbsp; 500 =
&nbsp; &nbsp;0 &nbsp; 0 &nbsp; 0 &nbsp; 0 &nbsp; 0 &nbsp; 0 &nbsp; 0 =
&nbsp; 1</div></div><div><div>&nbsp;&nbsp; 508 &nbsp; &nbsp;'D' 'e' 'a' =
'd' 'B' 'e' 'e' 'f'</div></div><div><div>&nbsp;&nbsp; 516-999 =
zeroes</div></div><div><div><br></div></div><div><div>&nbsp;&nbsp; =
...</div></div><div><div><br></div></div><div><div>&nbsp;&nbsp; 499500 =
&nbsp;0 &nbsp; 0 &nbsp; 0 &nbsp; 0 &nbsp; 0 &nbsp; 0 &nbsp; 3 &nbsp; =
231</div></div><div><div>&nbsp;&nbsp; 499508 &nbsp;'D' 'e' 'a' 'd' 'B' =
'e' 'e' 'f'</div></div><div><div>&nbsp;&nbsp; 499516-499999 =
zeroes</div></div><div><br></div><div><div>2.5. =
&nbsp;IMPLEMENTATION</div></div><div><div><br></div></div><div><div>&nbsp;=
&nbsp; When an NFS server receives this operation, instead of writing =
the</div></div><div><div>&nbsp;&nbsp; iterated pattern over each block, =
it should de-allocate the data of</div></div><div><div>&nbsp;&nbsp; =
affected range of the file and record the the values of =
ia_offset,</div></div><div><div>&nbsp;&nbsp; ia_blocksize, =
ia_blockcount, ia_reloff_pattern, =
ia_reloff_blocknum,</div></div><div><div>&nbsp;&nbsp; and =
ia_pattern&lt;&gt; in the file's system metadata. &nbsp;When a client =
sends</div></div><div><div>&nbsp;&nbsp; a READ request, instead of =
returning zeroes, it should construct =
a</div></div><div><div>&nbsp;&nbsp; response corresponding to the =
pattern specified in the arguments to</div></div><div><div>&nbsp;&nbsp; =
INITIALIZE.</div></div></blockquote><div><br></div><div><br></div><div><di=
v>[1] I see two ways to interpret what gets sent back over the wire to =
READ_PLUS:</div></div><div><br></div><div>1) A single hole of size =
ia_blocksize * ia_blockcount with the pattern =
ia_pattern.</div><div><br></div><div>2) A data array of =
size&nbsp;a_blocksize * ia_blockcount with the contents as =
described</div><div>above.</div><div><br></div><div>If the application =
is looking for a block number inside the block, then I don't =
see</div><div>how we can either have a sparse file on the wire or send a =
hole back across the</div><div>wire.</div><div><br></div><div>[2] And if =
the application is expecting to see the contents described above, then I =
don't</div><div>see how it can detect badness inside one of the blocks. =
Say a client reads the above</div><div>1000 blocks of data. Then assume =
it inadvertently dirties the 565th block, but makes</div><div>no changes =
to the block.</div><div><br></div><div>The client flushes that back to =
the server, which will most likely cause a client sized</div><div>page =
(pick&nbsp;either 2k or 4k) around that byte to be made into actual =
content. The server splits</div><div>the metadata it has into two =
different holes described by the pattern. There is also</div><div>a =
client sized page sitting on disk.</div><div><br></div><div>Besides =
there being scenarios where a block is split (thus not recording the =
block</div><div>number on the disk), there is now no way for the app to =
tell whether or not any of the</div><div>data outside of the block =
number and recorded pattern has been corrupted. I.e.,</div><div>this is =
the same argument presented in the I-D as to why we want a non-zero =
pattern.</div><div><br></div><div>I don't see the use case for why the =
block number needs to be encoded as part of the</div><div>pattern and =
hence&nbsp;stored in the block. Further, I don't see the motivation for =
why we</div><div>want to mess with&nbsp;recording anything about blocks =
at all.</div><div><br></div><div>I.e., if the app wants to store data in =
these app blocks, then it can calculate which</div><div>block it should =
be in.</div><div><br></div><div>A counter-proposal would be a WRITE_PLUS =
op in the same spirit as the READ_PLUS =
op:</div><div><br></div><div>struct hole_pattern4 {<br>&nbsp;&nbsp; =
&nbsp; &nbsp; &nbsp;offset4 &nbsp; &nbsp; &nbsp; &nbsp; =
hp_offset;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;length4 &nbsp; &nbsp; =
&nbsp; &nbsp; hp_length;<br>};<br><br>struct READ_PLUS4args =
{<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;/* CURRENT_FH: file =
*/<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;stateid4 &nbsp; &nbsp; &nbsp; =
&nbsp;rpa_stateid;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;offset4 &nbsp; =
&nbsp; &nbsp; &nbsp; rpa_offset;<br>&nbsp;&nbsp; &nbsp; &nbsp; =
&nbsp;count4 &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp;rpa_count;<br>};&nbsp;<br><br>union read_plus_res4 switch (bool =
is_hole) {<br>case TRUE:<br>&nbsp;&nbsp; &nbsp; &nbsp; =
&nbsp;hole_pattern4 &nbsp; rpr_hole;<br>case FALSE:<br>&nbsp;&nbsp; =
&nbsp; &nbsp; &nbsp;opaque &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp;rpr_data&lt;&gt;;<br>};&nbsp;<br><br>union READ_PLUS4res switch =
(nfsstat4 status) {<br>case NFS4_OK:<br>&nbsp;&nbsp; &nbsp; &nbsp; =
&nbsp;read_plus_res4 =
&nbsp;resok4;<br>default:&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp; &nbsp; =
&nbsp; &nbsp;void;&nbsp;&nbsp; &nbsp; &nbsp;<br>};&nbsp;<br><br>struct =
write_plus_data4 {<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;offset4 &nbsp; =
&nbsp; &nbsp; &nbsp; wpd_offset;<br>&nbsp;&nbsp; &nbsp; &nbsp; =
&nbsp;opaque &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp;wpd_data&lt;&gt;;<br>};<br><br>union write_plus_arg4 switch (bool =
is_hole) {<br>case TRUE:<br>&nbsp;&nbsp; &nbsp; &nbsp; =
&nbsp;hole_pattern4 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; wpa_hole;<br>case =
FALSE:<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;write_plus_data4 &nbsp; =
&nbsp; &nbsp; &nbsp;wpa_data;<br>};<br><br>struct WRITE_PLUS4args =
{<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;/* CURRENT_FH: file =
*/<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;stateid4 &nbsp; &nbsp; &nbsp; =
&nbsp;wpa_stateid;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;stable_how4 =
&nbsp; &nbsp; wpa_stable;<br>&nbsp;&nbsp; &nbsp; &nbsp; =
&nbsp;write_plus_arg4 wpa_data;<br>};<br><br>struct WRITE_PLUS4resok =
{<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;count4 &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp;wpr_count;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;stable_how4 &nbsp; =
&nbsp; wpr_committed;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;verifier4 =
&nbsp; &nbsp; &nbsp; wpr_writeverf;<br>};<br><br>union WRITE_PLUS4res =
switch (nfsstat4 status) {<br>case NFS4_OK:<br>&nbsp;&nbsp; &nbsp; =
&nbsp; &nbsp;WRITE_PLUS4resok &nbsp; =
&nbsp;resok4;<br>default:<br>&nbsp;&nbsp; &nbsp; &nbsp; =
&nbsp;void;<br>};<br><br></div><div>Note that this approach is simpler =
than what we might finally adopt. E.g.,</div><div>we should consider the =
64 bit array lengths for the data, we might want</div><div>to be able to =
return an array of holes and non-holes, =
etc.</div><div><br></div><div>But it does present a consistent approach =
to the new READ and WRITE ops.</div><div><br></div><div>The new =
WRITE_PLUS op incorporates both the INITIALIZE and =
HOLE_PUNCH</div><div>functionality from the other =
I-Ds.</div><div><br></div><div>To initialize a file, create it (via =
CREATE or OPEN) and in the same compound,</div><div>send a =
single&nbsp;WRITE operation over the range of the file. This has the =
effect</div><div>of only sending the hole_pattern4 and results in a =
sparse file on the =
server.</div><div><br></div><div><br></div></body></html>=

--Apple-Mail-11--328715563--

From Tom.Haynes@netapp.com  Fri Apr  8 00:48:52 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3A9BA28C0E9 for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 00:48:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.473
X-Spam-Level: 
X-Spam-Status: No, score=-10.473 tagged_above=-999 required=5 tests=[AWL=0.125, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id De7dLC6QUQu5 for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 00:48:49 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by core3.amsl.com (Postfix) with ESMTP id BBD3A28B797 for <nfsv4@ietf.org>; Fri,  8 Apr 2011 00:48:49 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.63,322,1299484800";  d="scan'208,217";a="539939761"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 08 Apr 2011 00:50:20 -0700
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p387o0oM002106; Fri, 8 Apr 2011 00:50:20 -0700 (PDT)
Received: from rtprsexc2-prd.hq.netapp.com ([10.100.161.115]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 8 Apr 2011 00:50:11 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 8 Apr 2011 03:50:09 -0400
Received: from maute-lxp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 8 Apr 2011 03:50:08 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: multipart/alternative; boundary=Apple-Mail-12--328223255
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <4D9E36B2.1010706@gmail.com>
Date: Fri, 8 Apr 2011 02:50:07 -0500
Message-Id: <5240D1F3-D2ED-459B-A84B-6BA790CBF321@netapp.com>
References: <4D2B6320-D443-47A4-8AC5-6AF1C5F397F2@netapp.com> <238E2192-6AD7-4B31-91AC-A5ED8FBB9DB2@netapp.com> <4D9E36B2.1010706@gmail.com>
To: Dean <seattleplus@gmail.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 08 Apr 2011 07:50:08.0964 (UTC) FILETIME=[9520D040:01CBF5C1]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [NFSv4.2] Meeting Notes 04/07/2011
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 07:48:52 -0000

--Apple-Mail-12--328223255
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


On Apr 7, 2011, at 5:12 PM, Dean wrote:

>=20
> As for returning a mix of holes and data (which would boil down to =
returning an array of data chunks, with the rest considered holes, I =
think it is useful but may be a little complicated.

A subtle difference caused by patterns is that nothing specifies that
all holes in a file are going to have the same pattern. We could
easily have:

                        +-------------+--------------------+
                        | Byte-Range  | Contents           |
                        +-------------+--------------------+
                        | 0-31999     | Data               |
                        | 32K-255999  | Hole of "deadbeef" |
                        | 256K-287999 | Data               |
                        | 288K-353999 | Hole of "514y5407" |
                        | 354K-417999 | Data               |
                        +-------------+--------------------+

An analogy would be how some OSes detect memory corruption with =
different
patterns used for guards around the data and for when the memory is =
released.




--Apple-Mail-12--328223255
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><br><div><div>On Apr 7, 2011, at 5:12 PM, Dean wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite">
<div bgcolor=3D"#ffffff" text=3D"#000000"><br>
    As for returning a mix of holes and data (which would boil down to
    returning an array of data chunks, with the rest considered holes, I
    think it is useful but may be a little =
complicated.<br></div></blockquote></div><br><div>A subtle difference =
caused by patterns is that nothing specifies that</div><div>all holes in =
a file are going to have the same pattern. We could</div><div>easily =
have:</div><div><br></div><div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp;+-------------+--------------------+</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| =
Byte-Range &nbsp;| Contents &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
|</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp;+-------------+--------------------+</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| 0-31999 =
&nbsp; &nbsp; | Data &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
|</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| 32K-255999 &nbsp;| Hole of =
"deadbeef" |</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| 256K-287999 | Data &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| =
288K-353999 | Hole of "514y5407" |</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| =
354K-417999 | Data &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
|</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp;+-------------+--------------------+</font></div></div><div><div><br=
></div><div>An analogy would be how some OSes detect memory corruption =
with different</div></div><div>patterns used for guards around the data =
and for when the memory is =
released.</div><div><br></div><div><br></div><div><br></div></body></html>=

--Apple-Mail-12--328223255--

From Tom.Haynes@netapp.com  Fri Apr  8 01:25:41 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D54C63A6A5E for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 01:25:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.829
X-Spam-Level: 
X-Spam-Status: No, score=-9.829 tagged_above=-999 required=5 tests=[AWL=-0.523, BAYES_00=-2.599, HTML_MESSAGE=0.001, MISSING_HEADERS=1.292, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sSfP6Uc0p7de for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 01:25:32 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by core3.amsl.com (Postfix) with ESMTP id 3B97B3A6A57 for <nfsv4@ietf.org>; Fri,  8 Apr 2011 01:25:26 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.63,322,1299484800";  d="scan'208,217";a="539944729"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 08 Apr 2011 01:26:59 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p388QxkC017541; Fri, 8 Apr 2011 01:26:59 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 8 Apr 2011 01:26:59 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 8 Apr 2011 04:26:57 -0400
Received: from ebc05-xp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 8 Apr 2011 04:26:57 -0400
From: Thomas Haynes <thomas@netapp.com>
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: multipart/alternative; boundary=Apple-Mail-13--326014878
Date: Fri, 8 Apr 2011 03:26:55 -0500
In-Reply-To: <5240D1F3-D2ED-459B-A84B-6BA790CBF321@netapp.com>
References: <4D2B6320-D443-47A4-8AC5-6AF1C5F397F2@netapp.com> <238E2192-6AD7-4B31-91AC-A5ED8FBB9DB2@netapp.com> <4D9E36B2.1010706@gmail.com> <5240D1F3-D2ED-459B-A84B-6BA790CBF321@netapp.com>
Message-Id: <E0BA7576-84C9-49AF-8DE9-8D04B3D052B8@netapp.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 08 Apr 2011 08:26:57.0369 (UTC) FILETIME=[B970AC90:01CBF5C6]
Cc: nfsv4@ietf.org
Subject: [nfsv4] Holes and data
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 08:25:42 -0000

--Apple-Mail-13--326014878
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


On Apr 8, 2011, at 2:50 AM, Thomas Haynes wrote:

>=20
> On Apr 7, 2011, at 5:12 PM, Dean wrote:
>=20
>>=20
>> As for returning a mix of holes and data (which would boil down to =
returning an array of data chunks, with the rest considered holes, I =
think it is useful but may be a little complicated.
>=20
> A subtle difference caused by patterns is that nothing specifies that
> all holes in a file are going to have the same pattern. We could
> easily have:
>=20
>                         +-------------+--------------------+
>                         | Byte-Range  | Contents           |
>                         +-------------+--------------------+
>                         | 0-31999     | Data               |
>                         | 32K-255999  | Hole of "deadbeef" |
>                         | 256K-287999 | Data               |
>                         | 288K-353999 | Hole of "514y5407" |
>                         | 354K-417999 | Data               |
>                         +-------------+--------------------+
>=20

An even more interesting observation is that you can easily have =
adjacent holes:


                        +-------------+--------------------+
                        | Byte-Range  | Contents           |
                        +-------------+--------------------+
                        | 0-31999     | Data               |
                        | 32K-255999  | Hole of "deadbeef" |
                        | 256K-287999 | Data               |
                        | 288K-353999 | Hole of "514y5407" |
                        | 354K-417999 | Hole of "a1b2c3d4" |
                        +-------------+--------------------+



--Apple-Mail-13--326014878
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><br><div><div>On Apr 8, 2011, at 2:50 AM, Thomas Haynes =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><div style=3D"word-wrap: break-word; -webkit-nbsp-mode: =
space; -webkit-line-break: after-white-space; "><br><div><div>On Apr 7, =
2011, at 5:12 PM, Dean wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite">
<div bgcolor=3D"#ffffff" text=3D"#000000"><br>
    As for returning a mix of holes and data (which would boil down to
    returning an array of data chunks, with the rest considered holes, I
    think it is useful but may be a little =
complicated.<br></div></blockquote></div><br><div>A subtle difference =
caused by patterns is that nothing specifies that</div><div>all holes in =
a file are going to have the same pattern. We could</div><div>easily =
have:</div><div><br></div><div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp;+-------------+--------------------+</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| =
Byte-Range &nbsp;| Contents &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
|</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp;+-------------+--------------------+</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| 0-31999 =
&nbsp; &nbsp; | Data &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
|</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| 32K-255999 &nbsp;| Hole of =
"deadbeef" |</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| 256K-287999 | Data &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| =
288K-353999 | Hole of "514y5407" |</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| =
354K-417999 | Data &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
|</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp;+-------------+--------------------+</font></div></div><div><div><br=
></div></div></div></blockquote><br></div><div>An even more interesting =
observation is that you can easily have adjacent =
holes:</div><div><br></div><div><br></div><font class=3D"Apple-style-span"=
 face=3D"Courier">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp;+-------------+--------------------+<br>&nbsp;&nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| =
Byte-Range &nbsp;| Contents &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
|<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; =
&nbsp;+-------------+--------------------+<br>&nbsp;&nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| 0-31999 =
&nbsp; &nbsp; | Data &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
|<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp;| 32K-255999 &nbsp;| Hole of "deadbeef" =
|<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp;| 256K-287999 | Data &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; |<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| 288K-353999 | =
Hole of "514y5407" |<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| 354K-417999 | Hole of =
"a1b2c3d4" |<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp;+-------------+--------------------+<br></font><br><br></body></html=
>=

--Apple-Mail-13--326014878--

From Pavan.Kumar@emc.com  Fri Apr  8 02:10:50 2011
Return-Path: <Pavan.Kumar@emc.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 110273A6952 for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 02:10:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vtVL0HNAIfnw for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 02:10:49 -0700 (PDT)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by core3.amsl.com (Postfix) with ESMTP id 13FC43A6971 for <nfsv4@ietf.org>; Fri,  8 Apr 2011 02:10:48 -0700 (PDT)
Received: from hop04-l1d11-si04.isus.emc.com (HOP04-L1D11-SI04.isus.emc.com [10.254.111.24]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p389CWcw005916 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <nfsv4@ietf.org>; Fri, 8 Apr 2011 05:12:32 -0400
Received: from mailhub.lss.emc.com (mailhubhoprd03.lss.emc.com [10.254.221.145]) by hop04-l1d11-si04.isus.emc.com (RSA Interceptor) for <nfsv4@ietf.org>; Fri, 8 Apr 2011 05:12:26 -0400
Received: from mxhub14.corp.emc.com (mxhub14.corp.emc.com [128.221.56.103]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p389CEK4022012 for <nfsv4@ietf.org>; Fri, 8 Apr 2011 05:12:15 -0400
Received: from mx26a.corp.emc.com ([169.254.1.132]) by mxhub14.corp.emc.com ([128.221.56.103]) with mapi; Fri, 8 Apr 2011 05:12:14 -0400
From: <Pavan.Kumar@emc.com>
To: <nfsv4@ietf.org>
Date: Fri, 8 Apr 2011 05:12:12 -0400
Thread-Topic: [nfsv4] User level access control for a NFS share
Thread-Index: Acv1zQuDAR9LJpuOS/+hOEsujVOuCA==
Message-ID: <EE560D1938C7D347A94DE1A6BACB7A3E247EDE07@MX26A.corp.emc.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-EMM-MHVC: 1
Subject: [nfsv4]  User level access control for a NFS share
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 09:10:50 -0000

Hi all,

I am working on a project wherein, we are migrating from NFS3 to NFS4.

In the NFS3, we can control the share access with IP address to make readwr=
ite(rw) or readonly(ro)

For NFSV4, I would like to know, whether it supports user level access cont=
rol for a NFS share.

i.e., for a NFS share  "share1", I want to set user1 to have readwrite(rw) =
access, where as user2 to have read only (ro).

Is there any documentation on this?

Awaiting your reply

Thanks & Regards,
Pavan


From hdspvnr@gmail.com  Fri Apr  8 02:16:47 2011
Return-Path: <hdspvnr@gmail.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1E7E73A6A5E for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 02:16:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.598
X-Spam-Level: 
X-Spam-Status: No, score=-3.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qovGYm1CR8Dk for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 02:16:46 -0700 (PDT)
Received: from mail-bw0-f44.google.com (mail-bw0-f44.google.com [209.85.214.44]) by core3.amsl.com (Postfix) with ESMTP id 50B953A6A5C for <nfsv4@ietf.org>; Fri,  8 Apr 2011 02:16:46 -0700 (PDT)
Received: by bwz13 with SMTP id 13so3025570bwz.31 for <nfsv4@ietf.org>; Fri, 08 Apr 2011 02:18:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=Bzbtvk+Z2tlL0TCihijUBdLpjqw+D1xZnZqF2uQJwI4=; b=wtO9/2VhC2tE/RJYJTI6LmdsCaOtt990S/0j7TnAtdOdI9woBKc2abCpMzZbH7k/FZ SYOl5KmqKrVL5wNtyhRusBNa2qWTqntiYyyBUndG0y/qe/BdNSd8/IdrplWfEnyRP8tf OqvWWNOq4UBUC/sKO5hQT6tTS4EEDuDd+7mGk=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=PpSYelaCa1DTFd8R0HSPgI1thBPQiHEjACcDEKpStzO2EJgroFnKBgGEjj16MYD8CN +XAVTGv+q7cCC/MxBaTOdIkwaIrKLqBOBlB1PhLqsdWcM/OxIjLqWQn8iqOW3hoa8GZT rZQw1U3O5NxWpCRSMt/5eNO58iXfkltBwPL+s=
MIME-Version: 1.0
Received: by 10.204.154.219 with SMTP id p27mr1758165bkw.110.1302254310884; Fri, 08 Apr 2011 02:18:30 -0700 (PDT)
Received: by 10.204.22.5 with HTTP; Fri, 8 Apr 2011 02:18:30 -0700 (PDT)
Date: Fri, 8 Apr 2011 14:48:30 +0530
Message-ID: <BANLkTik=z+M9xstij1y98wJdAAEM5raMmA@mail.gmail.com>
From: PV NRAO <hdspvnr@gmail.com>
To: nfsv4@ietf.org
Content-Type: multipart/alternative; boundary=0015175cfa1e9b843504a064b5e7
Subject: [nfsv4] Need help on NFS Source code & documentation.
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 09:17:43 -0000

--0015175cfa1e9b843504a064b5e7
Content-Type: text/plain; charset=ISO-8859-1

Hi,

I am working on a NFS project, linux based & need to modify NFS
client/server code a bit.

Is any one can help me on getting the source code of NFS and documentation.

Thanks for your help.

Regards,
Nageswara Rao.

--0015175cfa1e9b843504a064b5e7
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div>Hi,</div>
<div>=A0</div>
<div>I am working on=A0a NFS project, linux based &amp; need to modify NFS =
client/server code a bit.</div>
<div>=A0</div>
<div>Is any one can help me on getting the source code of NFS and documenta=
tion.</div>
<div>=A0</div>
<div>Thanks for your help.</div>
<div>=A0</div>
<div>Regards,</div>
<div>Nageswara Rao.</div>
<div>=A0</div>

--0015175cfa1e9b843504a064b5e7--

From david.black@emc.com  Fri Apr  8 05:55:29 2011
Return-Path: <david.black@emc.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7321A28C0D9 for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 05:55:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.491
X-Spam-Level: 
X-Spam-Status: No, score=-106.491 tagged_above=-999 required=5 tests=[AWL=0.107, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fzaNQpOtbZzC for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 05:55:24 -0700 (PDT)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by core3.amsl.com (Postfix) with ESMTP id 6288728C0DF for <nfsv4@ietf.org>; Fri,  8 Apr 2011 05:55:24 -0700 (PDT)
Received: from hop04-l1d11-si03.isus.emc.com (HOP04-L1D11-SI03.isus.emc.com [10.254.111.23]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p38Cv6rR003756 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 8 Apr 2011 08:57:08 -0400
Received: from mailhub.lss.emc.com (mailhubhoprd03.lss.emc.com [10.254.221.145]) by hop04-l1d11-si03.isus.emc.com (RSA Interceptor); Fri, 8 Apr 2011 08:56:57 -0400
Received: from mxhub26.corp.emc.com (mxhub26.corp.emc.com [10.254.110.182]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p38Ctml5011536; Fri, 8 Apr 2011 08:55:48 -0400
Received: from mx14a.corp.emc.com ([169.254.1.143]) by mxhub26.corp.emc.com ([10.254.110.182]) with mapi; Fri, 8 Apr 2011 08:55:48 -0400
From: <david.black@emc.com>
To: <thomas@netapp.com>
Date: Fri, 8 Apr 2011 08:55:46 -0400
Thread-Topic: [nfsv4] [NFSv4.2] Meeting Notes 04/07/2011
Thread-Index: Acv1wwNFQYl1hQNIS+eE7q8prAefhwAJ/EFg
Message-ID: <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF2A74@MX14A.corp.emc.com>
References: <4D2B6320-D443-47A4-8AC5-6AF1C5F397F2@netapp.com> <238E2192-6AD7-4B31-91AC-A5ED8FBB9DB2@netapp.com> <4D9E36B2.1010706@gmail.com> <5240D1F3-D2ED-459B-A84B-6BA790CBF321@netapp.com>
In-Reply-To: <5240D1F3-D2ED-459B-A84B-6BA790CBF321@netapp.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF2A74MX14Acorpemcc_"
MIME-Version: 1.0
X-EMM-MHVC: 1
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [NFSv4.2] Meeting Notes 04/07/2011
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 12:55:29 -0000

--_000_7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF2A74MX14Acorpemcc_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

This feels excessive.  I've been through the corresponding exercise in SCSI=
, and that came down to:
- Add support to the protocol that allows a server to announce that reads o=
f holes always return zeroes.
- Allow servers to get more creative (e.g., in the fashion that Tom describ=
es below).

Do we actually need the latter in NFS?  IMHO, it's simpler to leave it out =
because that functionality results in an "interesting" corner case - if the=
 client specifies the pattern that reading the hole returns, but the server=
 doesn't support returning that pattern for a hole, the result of the attem=
pt to punch a hole is a bulk write instead of a hole punch (see the SCSI WR=
ITE SAME command, which has hole punch functionality specified), which may =
not be what the client wanted ;-).

If we don't need the "creative" option, it's simpler to require that readin=
g a hole always returns zeroes.

Thanks,
--David

From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On Behalf Of T=
homas Haynes
Sent: Friday, April 08, 2011 3:50 AM
To: Dean
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [NFSv4.2] Meeting Notes 04/07/2011


On Apr 7, 2011, at 5:12 PM, Dean wrote:



As for returning a mix of holes and data (which would boil down to returnin=
g an array of data chunks, with the rest considered holes, I think it is us=
eful but may be a little complicated.

A subtle difference caused by patterns is that nothing specifies that
all holes in a file are going to have the same pattern. We could
easily have:

                        +-------------+--------------------+
                        | Byte-Range  | Contents           |
                        +-------------+--------------------+
                        | 0-31999     | Data               |
                        | 32K-255999  | Hole of "deadbeef" |
                        | 256K-287999 | Data               |
                        | 288K-353999 | Hole of "514y5407" |
                        | 354K-417999 | Data               |
                        +-------------+--------------------+

An analogy would be how some OSes detect memory corruption with different
patterns used for guards around the data and for when the memory is release=
d.




--_000_7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF2A74MX14Acorpemcc_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40"><head><meta http-equiv=3DContent-Type content=
=3D"text/html; charset=3Dus-ascii"><meta name=3DGenerator content=3D"Micros=
oft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Courier;
	panose-1:2 7 4 9 2 2 5 2 4 4;}
@font-face
	{font-family:Courier;
	panose-1:2 7 4 9 2 2 5 2 4 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Courier New";
	color:black;
	font-weight:normal;
	font-style:normal;
	text-decoration:none none;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue vli=
nk=3Dpurple style=3D'word-wrap: break-word;-webkit-nbsp-mode: space;-webkit=
-line-break: after-white-space'><div class=3DWordSection1><p class=3DMsoNor=
mal><span style=3D'font-size:10.0pt;font-family:"Courier New";color:black'>=
This feels excessive.&nbsp; I&#8217;ve been through the corresponding exerc=
ise in SCSI, and that came down to:<o:p></o:p></span></p><p class=3DMsoNorm=
al><span style=3D'font-size:10.0pt;font-family:"Courier New";color:black'>-=
 Add support to the protocol that allows a server to announce that reads of=
 holes always return zeroes.<br>- Allow servers to get more creative (e.g.,=
 in the fashion that Tom describes below).<o:p></o:p></span></p><p class=3D=
MsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier New";color:b=
lack'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span style=3D'font-=
size:10.0pt;font-family:"Courier New";color:black'>Do we actually need the =
latter in NFS?&nbsp; IMHO, it&#8217;s simpler to leave it out because that =
functionality results in an &#8220;interesting&#8221; corner case &#8211; i=
f the client specifies the pattern that reading the hole returns, but the s=
erver doesn&#8217;t support returning that pattern for a hole, the result o=
f the attempt to punch a hole is a bulk write instead of a hole punch (see =
the SCSI WRITE SAME command, which has hole punch functionality specified),=
 which may not be what the client wanted ;-).<o:p></o:p></span></p><p class=
=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier New";colo=
r:black'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span style=3D'fo=
nt-size:10.0pt;font-family:"Courier New";color:black'>If we don&#8217;t nee=
d the &#8220;creative&#8221; option, it&#8217;s simpler to require that rea=
ding a hole always returns zeroes. <o:p></o:p></span></p><p class=3DMsoNorm=
al><span style=3D'font-size:10.0pt;font-family:"Courier New";color:black'><=
o:p>&nbsp;</o:p></span></p><div><p class=3DMsoNormal><span style=3D'font-si=
ze:10.0pt;font-family:"Courier New";color:black'>Thanks,<br>--David</span><=
span style=3D'font-size:11.0pt;font-family:"Courier New";color:black'><o:p>=
</o:p></span></p></div><p class=3DMsoNormal><span style=3D'font-size:10.0pt=
;font-family:"Courier New";color:black'><o:p>&nbsp;</o:p></span></p><div st=
yle=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>=
<div><div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt=
 0in 0in 0in'><p class=3DMsoNormal><b><span style=3D'font-size:10.0pt;font-=
family:"Tahoma","sans-serif"'>From:</span></b><span style=3D'font-size:10.0=
pt;font-family:"Tahoma","sans-serif"'> nfsv4-bounces@ietf.org [mailto:nfsv4=
-bounces@ietf.org] <b>On Behalf Of </b>Thomas Haynes<br><b>Sent:</b> Friday=
, April 08, 2011 3:50 AM<br><b>To:</b> Dean<br><b>Cc:</b> nfsv4@ietf.org<br=
><b>Subject:</b> Re: [nfsv4] [NFSv4.2] Meeting Notes 04/07/2011<o:p></o:p><=
/span></p></div></div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3D=
MsoNormal><o:p>&nbsp;</o:p></p><div><div><p class=3DMsoNormal>On Apr 7, 201=
1, at 5:12 PM, Dean wrote:<o:p></o:p></p></div><p class=3DMsoNormal><br><br=
><o:p></o:p></p><div><p class=3DMsoNormal><br>As for returning a mix of hol=
es and data (which would boil down to returning an array of data chunks, wi=
th the rest considered holes, I think it is useful but may be a little comp=
licated.<o:p></o:p></p></div></div><p class=3DMsoNormal><o:p>&nbsp;</o:p></=
p><div><p class=3DMsoNormal>A subtle difference caused by patterns is that =
nothing specifies that<o:p></o:p></p></div><div><p class=3DMsoNormal>all ho=
les in a file are going to have the same pattern. We could<o:p></o:p></p></=
div><div><p class=3DMsoNormal>easily have:<o:p></o:p></p></div><div><p clas=
s=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><div><p class=3DMsoNormal><sp=
an style=3D'font-family:Courier'>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &=
nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+-------------+-------------=
-------+</span><o:p></o:p></p></div><div><p class=3DMsoNormal><span style=
=3D'font-family:Courier'>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &n=
bsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| Byte-Range &nbsp;| Contents &nbsp;=
 &nbsp; &nbsp; &nbsp; &nbsp; |</span><o:p></o:p></p></div><div><p class=3DM=
soNormal><span style=3D'font-family:Courier'>&nbsp;&nbsp; &nbsp; &nbsp; &nb=
sp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+-------------+-=
-------------------+</span><o:p></o:p></p></div><div><p class=3DMsoNormal><=
span style=3D'font-family:Courier'>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| 0-31999 &nbsp; &nbsp; | =
Data &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |</span><o:p></o:p></=
p></div><div><p class=3DMsoNormal><span style=3D'font-family:Courier'>&nbsp=
;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbs=
p; &nbsp;| 32K-255999 &nbsp;| Hole of &quot;deadbeef&quot; |</span><o:p></o=
:p></p></div><div><p class=3DMsoNormal><span style=3D'font-family:Courier'>=
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=
 &nbsp; &nbsp;| 256K-287999 | Data &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; |</span><o:p></o:p></p></div><div><p class=3DMsoNormal><span style=
=3D'font-family:Courier'>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &n=
bsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| 288K-353999 | Hole of &quot;514y54=
07&quot; |</span><o:p></o:p></p></div><div><p class=3DMsoNormal><span style=
=3D'font-family:Courier'>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &n=
bsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| 354K-417999 | Data &nbsp; &nbsp; &=
nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |</span><o:p></o:p></p></div><div><p clas=
s=3DMsoNormal><span style=3D'font-family:Courier'>&nbsp;&nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+----------=
---+--------------------+</span><o:p></o:p></p></div></div><div><div><p cla=
ss=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=3DMsoNormal>An anal=
ogy would be how some OSes detect memory corruption with different<o:p></o:=
p></p></div></div><div><p class=3DMsoNormal>patterns used for guards around=
 the data and for when the memory is released.<o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=3DMsoNormal><o:p=
>&nbsp;</o:p></p></div><div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div=
></div></div></body></html>=

--_000_7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF2A74MX14Acorpemcc_--

From mre-ietf@eisler.com  Fri Apr  8 06:23:37 2011
Return-Path: <mre-ietf@eisler.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9B08628C11C for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 06:23:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.449
X-Spam-Level: 
X-Spam-Status: No, score=-1.449 tagged_above=-999 required=5 tests=[AWL=-1.150, BAYES_00=-2.599, MANGLED_BEEF=2.3]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9ad2H60VUHob for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 06:23:35 -0700 (PDT)
Received: from homiemail-a48.g.dreamhost.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) by core3.amsl.com (Postfix) with ESMTP id BA51328C106 for <nfsv4@ietf.org>; Fri,  8 Apr 2011 06:23:35 -0700 (PDT)
Received: from homiemail-a48.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a48.g.dreamhost.com (Postfix) with ESMTP id EC3564F8058 for <nfsv4@ietf.org>; Fri,  8 Apr 2011 06:25:20 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=eisler.com; h=message-id :in-reply-to:references:date:subject:from:to:mime-version :content-type:content-transfer-encoding; q=dns; s=eisler.com; b= XWm9MgBYvmXPFPWfCFyADxehA7LMsE7FeY7UpruKx6uVijSgVK9o/7+MsLgibUAF 7pXc7OhrA5VAZNoWJAZdgLQO0sWxvz5hZyebf3xq8fJwd4AjQW4ggUdhzqZFE0lK tu+Ge72eOjxN04CPa82vxl1wP1ak7l70AtNP5csdVw0=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=eisler.com; h=message-id :in-reply-to:references:date:subject:from:to:mime-version :content-type:content-transfer-encoding; s=eisler.com; bh=9KoMD2 AxvKg3UsNJXvvMeZgOG5I=; b=fX0TZpHVc+62Pm/JyGN/nKD9kfiJsLYGCEAL3u E9kR+eyT51a4yNp2EVjqCFqrhOai+PruDZTxCNMFrSRvCrsj8oWiZCoEUcupWKCE 0Ah9sjMlAnKoDBxUP7O6GE4O7JJkRQjoRQ/nknS1ylfduw+uG5lnK0FAqD5cnMgD GS5UY=
Received: from webmail.eisler.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) (Authenticated sender: mre-ietf@eisler.com) by homiemail-a48.g.dreamhost.com (Postfix) with ESMTPA id C575E4F8055 for <nfsv4@ietf.org>; Fri,  8 Apr 2011 06:25:19 -0700 (PDT)
Received: from 198.95.226.230 (proxying for 198.95.226.230) (SquirrelMail authenticated user mre-ietf@eisler.com) by webmail.eisler.com with HTTP; Fri, 8 Apr 2011 06:25:19 -0700
Message-ID: <41be156de393c5e2948b0222230aa6e6.squirrel@webmail.eisler.com>
In-Reply-To: <B637DE01-CC65-4393-8F57-3C0422E4E6AA@netapp.com>
References: <B637DE01-CC65-4393-8F57-3C0422E4E6AA@netapp.com>
Date: Fri, 8 Apr 2011 06:25:19 -0700
From: "Mike Eisler" <mre-ietf@eisler.com>
To: nfsv4@ietf.org
User-Agent: SquirrelMail/1.4.21
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Subject: Re: [nfsv4] Patterns: INITIALIZE or WRITE_PLUS
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 13:23:37 -0000

inline ...

On Fri, April 8, 2011 12:41 am, Thomas Haynes wrote:
> I'm looking at the Enterprise Apps I-D, trying to decide whether we
> want to have that INITIALIZE op or a WRITE_PLUS op.
>
> But that can wait. In looking at the INITIALIZE op, the I-D states:
>
>    The INITIALIZE operation is used to initialize an open file to an
>    iterated pattern.  The pattern consists of a fixed string, and a
>    block number.  The pattern is defined by the arguments.
>
>    o  ia_offset: where to start the iterated pattern.  This value is
>       specified in bytes.
>
>    o  ia_blocksize: the size of each iteration of the pattern.  Each
>       iteration is called a block.
>
> We are missing a description of block count here...

It is the count of the number of consecutive instances of the pattern to
apply to the file.

>
>    o  ia_reloff_pattern: the relative offset within a block where to
>       write the specified pattern encoded in ia_pattern.
>
>    o  ia_reloff_blocknum: the relative offset within a block where to
>       write a 64 bit block number.  The block number is incremented onc=
e
>       a block is written.  The block number is always written in little
>       endian order.  If ia_reloff_blocknum is set to NFS4_UINT64_MAX,
>       then this informs the server that no block number is to be
>       written.
>
>    o  ia_pattern: a fixed string written to every block.  If the length
>       of ia_pattern is zero, then this informs the server that no strin=
g
>       is to be written.
>
>    The field ia_stateid is the stateid corresponding to the current
>    filehandle's share reservation, delegation, or byte range lock.
>
>    An example will illustrate how the client uses INITIALIZE.  Suppose
>    the arguments (except for ia_stateid) are: { 0, 500, 1000, 8, 0,
>    "DeadBeef" }.  Then starting with offset zero, the content of the
>    file will have these contents.
>
>    offset value (decimal or ASCII)
>    0      0   0   0   0   0   0   0   0
>    8      'D' 'e' 'a' 'd' 'B' 'e' 'e' 'f'
>    16-499 zeroes
>
>    500    0   0   0   0   0   0   0   1
>    508    'D' 'e' 'a' 'd' 'B' 'e' 'e' 'f'
>    516-999 zeroes
>
>    ...
>
>    499500  0   0   0   0   0   0   3   231
>    499508  'D' 'e' 'a' 'd' 'B' 'e' 'e' 'f'
>    499516-499999 zeroes
>
> 2.5.  IMPLEMENTATION
>
>    When an NFS server receives this operation, instead of writing the
>    iterated pattern over each block, it should de-allocate the data of
>    affected range of the file and record the the values of ia_offset,
>    ia_blocksize, ia_blockcount, ia_reloff_pattern, ia_reloff_blocknum,
>    and ia_pattern<> in the file's system metadata.  When a client sends
>    a READ request, instead of returning zeroes, it should construct a
>    response corresponding to the pattern specified in the arguments to
>    INITIALIZE.
>
>
> [1] I see two ways to interpret what gets sent back over the wire to
> READ_PLUS:
>
> 1) A single hole of size ia_blocksize * ia_blockcount with the pattern
> ia_pattern.
>
> 2) A data array of size a_blocksize * ia_blockcount with the contents a=
s
> described
> above.
>
> If the application is looking for a block number inside the block, then=
 I
> don't see
> how we can either have a sparse file on the wire or send a hole back
> across the
> wire.

So change READ_PLUS to indicate that a pattern is being returned.

>
> [2] And if the application is expecting to see the contents described
> above, then I don't
> see how it can detect badness inside one of the blocks. Say a client re=
ads
> the above
> 1000 blocks of data. Then assume it inadvertently dirties the 565th blo=
ck,
> but makes
> no changes to the block.

I don't understand how you can dirty something and not change it.

>
> The client flushes that back to the server, which will most likely caus=
e a
> client sized
> page (pick either 2k or 4k) around that byte to be made into actual
> content. The server splits
> the metadata it has into two different holes described by the pattern.
> There is also
> a client sized page sitting on disk.

Yes. What's the point?

>
> Besides there being scenarios where a block is split (thus not recordin=
g
> the block
> number on the disk), there is now no way for the app to tell whether or
> not any of the
> data outside of the block number and recorded pattern has been corrupte=
d.
> I.e.,
> this is the same argument presented in the I-D as to why we want a
> non-zero pattern.

I don't understand.

>
> I don't see the use case for why the block number needs to be encoded a=
s
> part of the
> pattern and hence stored in the block. Further, I don't see the motivat=
ion
> for why we
> want to mess with recording anything about blocks at all.

The authors have experience with data corruption caused by underyling fil=
e
systems mapping data that was at logical offset X to logical offset Y.
>
> I.e., if the app wants to store data in these app blocks, then it can
> calculate which
> block it should be in.
>
> A counter-proposal would be a WRITE_PLUS op in the same spirit as the
> READ_PLUS op:
>
> struct hole_pattern4 {
>         offset4         hp_offset;
>         length4         hp_length;
> };
>
> struct READ_PLUS4args {
>         /* CURRENT_FH: file */
>         stateid4        rpa_stateid;
>         offset4         rpa_offset;
>         count4          rpa_count;
> };
>
> union read_plus_res4 switch (bool is_hole) {
> case TRUE:
>         hole_pattern4   rpr_hole;
> case FALSE:
>         opaque          rpr_data<>;
> };
>
> union READ_PLUS4res switch (nfsstat4 status) {
> case NFS4_OK:
>         read_plus_res4  resok4;
> default:
>         void;
> };
>
> struct write_plus_data4 {
>         offset4         wpd_offset;
>         opaque          wpd_data<>;
> };
>
> union write_plus_arg4 switch (bool is_hole) {
> case TRUE:
>         hole_pattern4           wpa_hole;
> case FALSE:
>         write_plus_data4        wpa_data;
> };
>
> struct WRITE_PLUS4args {
>         /* CURRENT_FH: file */
>         stateid4        wpa_stateid;
>         stable_how4     wpa_stable;
>         write_plus_arg4 wpa_data;
> };
>
> struct WRITE_PLUS4resok {
>         count4          wpr_count;
>         stable_how4     wpr_committed;
>         verifier4       wpr_writeverf;
> };
>
> union WRITE_PLUS4res switch (nfsstat4 status) {
> case NFS4_OK:
>         WRITE_PLUS4resok    resok4;
> default:
>         void;
> };
>
> Note that this approach is simpler than what we might finally adopt. E.=
g.,
> we should consider the 64 bit array lengths for the data, we might want
> to be able to return an array of holes and non-holes, etc.
>
> But it does present a consistent approach to the new READ and WRITE ops=
.
>
> The new WRITE_PLUS op incorporates both the INITIALIZE and HOLE_PUNCH
> functionality from the other I-Ds.
>
> To initialize a file, create it (via CREATE or OPEN) and in the same
> compound,
> send a single WRITE operation over the range of the file. This has the
> effect
> of only sending the hole_pattern4 and results in a sparse file on the
> server.

I don't care what the operation is called. And if it results in fewer new
operations, that might be goodness, depending on switched union
complexity. But AFAIK, your proposal does not allow a non-zero pattern to
be expressed via write_plus.

>
>
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>


--=20
Mike Eisler, Senior Technical Director, NetApp, 719 599 9026,
http://blogs.netapp.com/eislers_nfs_blog/




From mre-ietf@eisler.com  Fri Apr  8 07:00:37 2011
Return-Path: <mre-ietf@eisler.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E2B183A6918 for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 07:00:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.312
X-Spam-Level: 
X-Spam-Status: No, score=-2.312 tagged_above=-999 required=5 tests=[AWL=0.288,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xYlNu6WbUcm5 for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 07:00:36 -0700 (PDT)
Received: from homiemail-a42.g.dreamhost.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) by core3.amsl.com (Postfix) with ESMTP id 81B353A690C for <nfsv4@ietf.org>; Fri,  8 Apr 2011 07:00:36 -0700 (PDT)
Received: from homiemail-a42.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a42.g.dreamhost.com (Postfix) with ESMTP id E73C768C065 for <nfsv4@ietf.org>; Fri,  8 Apr 2011 07:02:21 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=eisler.com; h=message-id :in-reply-to:references:date:subject:from:to:mime-version :content-type:content-transfer-encoding; q=dns; s=eisler.com; b= tDkNv37NNnOR1xuzq+v4zQsOPI80L7a/bPo63NMAGDD8EpTQs0tbgx8Re+Vtv308 zThpA0+qNW9/rvfkxFfq+MziHQGiG7qsX4kyrFeUS6QWYyob7j8bTpanftAbaokO 3/1XUI6gIhNDA4WNH36HO5Dzd6fPHUSOUODTP9i1rYA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=eisler.com; h=message-id :in-reply-to:references:date:subject:from:to:mime-version :content-type:content-transfer-encoding; s=eisler.com; bh=N/s+Gl jueGz7XkwKUKNYfyz/OZg=; b=Qd+HFYPZq0WNivuKYaKbfqWBhdRsZ9cI2pq4KP nlp7tjxxd9wxrXEPT44fZXRD0wAOf8daAajB+LldlEx3uz+hb7HJ9FpEnNaEu6Ty KMXHro7N+iVMQD+Z61rAaVWgfU44mSya0eicqFWulTbFs/LfRVB/lWHfFcO9NFxY 3PlAw=
Received: from webmail.eisler.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) (Authenticated sender: mre-ietf@eisler.com) by homiemail-a42.g.dreamhost.com (Postfix) with ESMTPA id 9720A68C05D for <nfsv4@ietf.org>; Fri,  8 Apr 2011 07:02:21 -0700 (PDT)
Received: from 198.95.226.230 (proxying for 198.95.226.230) (SquirrelMail authenticated user mre-ietf@eisler.com) by webmail.eisler.com with HTTP; Fri, 8 Apr 2011 07:02:21 -0700
Message-ID: <f18f03193cbba479880e9728ac3cec16.squirrel@webmail.eisler.com>
In-Reply-To: <EE560D1938C7D347A94DE1A6BACB7A3E247EDE07@MX26A.corp.emc.com>
References: <EE560D1938C7D347A94DE1A6BACB7A3E247EDE07@MX26A.corp.emc.com>
Date: Fri, 8 Apr 2011 07:02:21 -0700
From: "Mike Eisler" <mre-ietf@eisler.com>
To: nfsv4@ietf.org
User-Agent: SquirrelMail/1.4.21
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Subject: Re: [nfsv4] User level access control for a NFS share
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 14:00:38 -0000

NFSv4 has no impact on whether the NFS server's "share" model applies or =
not.

On Fri, April 8, 2011 2:12 am, Pavan.Kumar@emc.com wrote:
> Hi all,
>
> I am working on a project wherein, we are migrating from NFS3 to NFS4.
>
> In the NFS3, we can control the share access with IP address to make
> readwrite(rw) or readonly(ro)
>
> For NFSV4, I would like to know, whether it supports user level access
> control for a NFS share.
>
> i.e., for a NFS share  "share1", I want to set user1 to have readwrite(=
rw)
> access, where as user2 to have read only (ro).
>
> Is there any documentation on this?
>
> Awaiting your reply
>
> Thanks & Regards,
> Pavan
>
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>


--=20
Mike Eisler, Senior Technical Director, NetApp, 719 599 9026,
http://blogs.netapp.com/eislers_nfs_blog/




From Robert.Thurlow@oracle.com  Fri Apr  8 07:05:56 2011
Return-Path: <Robert.Thurlow@oracle.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0BD433A6922 for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 07:05:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yBgdSv-XHEzq for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 07:05:55 -0700 (PDT)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id 6AF8A3A6916 for <nfsv4@ietf.org>; Fri,  8 Apr 2011 07:05:55 -0700 (PDT)
Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p38E7blk006665 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 8 Apr 2011 14:07:38 GMT
Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p38E7aAS018676 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 8 Apr 2011 14:07:36 GMT
Received: from abhmt008.oracle.com (abhmt008.oracle.com [141.146.116.17]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p38E7ZU2013641; Fri, 8 Apr 2011 09:07:35 -0500
Received: from [10.7.250.62] (/10.7.250.62) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 08 Apr 2011 07:07:34 -0700
Message-ID: <4D9F16A2.7030900@oracle.com>
Date: Fri, 08 Apr 2011 08:07:30 -0600
From: Robert Thurlow <Robert.Thurlow@oracle.com>
User-Agent: Thunderbird 2.0.0.16 (X11/20080811)
MIME-Version: 1.0
To: Pavan.Kumar@emc.com
References: <EE560D1938C7D347A94DE1A6BACB7A3E247EDE07@MX26A.corp.emc.com>
In-Reply-To: <EE560D1938C7D347A94DE1A6BACB7A3E247EDE07@MX26A.corp.emc.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Source-IP: acsmt358.oracle.com [141.146.40.158]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090205.4D9F16A8.00E6:SCFSTAT5015188,ss=1,fgs=0
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] User level access control for a NFS share
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 14:05:56 -0000

Pavan.Kumar@emc.com wrote:

> In the NFS3, we can control the share access with IP address to make readwrite(rw) or readonly(ro)
> 
> For NFSV4, I would like to know, whether it supports user level access control for a NFS share.

This is an alias dealing with NFSv4 standards.  Your equipment
vendor participates here to make that happen.  It is not a
great place for end-user support of this type.

Pertinent to your question, nothing in the NFSv4 standard means
there needs to be a difference share access lists, but only
your vendor knows for sure.

> Is there any documentation on this?

Your NFSv4 vendor should be able to provide plenty of documentation.

Rob T

From Robert.Thurlow@oracle.com  Fri Apr  8 07:07:45 2011
Return-Path: <Robert.Thurlow@oracle.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9654328C16C for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 07:07:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2M3ekThFoyOz for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 07:07:45 -0700 (PDT)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id 0F74C28C0F0 for <nfsv4@ietf.org>; Fri,  8 Apr 2011 07:07:45 -0700 (PDT)
Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p38E9QsS013410 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 8 Apr 2011 14:09:28 GMT
Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p38E9Qbl024884 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 8 Apr 2011 14:09:26 GMT
Received: from abhmt014.oracle.com (abhmt014.oracle.com [141.146.116.23]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p38E9PKo015313; Fri, 8 Apr 2011 09:09:25 -0500
Received: from [10.7.250.62] (/10.7.250.62) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 08 Apr 2011 07:09:25 -0700
Message-ID: <4D9F1713.604@oracle.com>
Date: Fri, 08 Apr 2011 08:09:23 -0600
From: Robert Thurlow <Robert.Thurlow@oracle.com>
User-Agent: Thunderbird 2.0.0.16 (X11/20080811)
MIME-Version: 1.0
To: PV NRAO <hdspvnr@gmail.com>
References: <BANLkTik=z+M9xstij1y98wJdAAEM5raMmA@mail.gmail.com>
In-Reply-To: <BANLkTik=z+M9xstij1y98wJdAAEM5raMmA@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Source-IP: acsmt358.oracle.com [141.146.40.158]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090209.4D9F1716.00A4:SCFSTAT5015188,ss=1,fgs=0
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] Need help on NFS Source code & documentation.
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 14:07:45 -0000

PV NRAO wrote:

> I am working on a NFS project, linux based & need to modify NFS 
> client/server code a bit.
>  
> Is any one can help me on getting the source code of NFS and documentation.

Linux NFS implementors come to this list to help standardize
future versions of NFS.  Google should be able to help you.

Rob T

From sfaibish@emc.com  Fri Apr  8 07:21:23 2011
Return-Path: <sfaibish@emc.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id F40A028C16F for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 07:21:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.399
X-Spam-Level: 
X-Spam-Status: No, score=-6.399 tagged_above=-999 required=5 tests=[AWL=0.200,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bbBiD8Gf9LcT for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 07:21:21 -0700 (PDT)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by core3.amsl.com (Postfix) with ESMTP id E08A83A6A0C for <nfsv4@ietf.org>; Fri,  8 Apr 2011 07:21:20 -0700 (PDT)
Received: from hop04-l1d11-si01.isus.emc.com (HOP04-L1D11-SI01.isus.emc.com [10.254.111.54]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p38EN4ax025591 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <nfsv4@ietf.org>; Fri, 8 Apr 2011 10:23:04 -0400
Received: from mailhub.lss.emc.com (mailhub.lss.emc.com [10.254.221.145]) by hop04-l1d11-si01.isus.emc.com (RSA Interceptor) for <nfsv4@ietf.org>; Fri, 8 Apr 2011 10:22:57 -0400
Received: from usensfaibisl2e.eng.emc.com (GECSBRINASL2C.corp.emc.com [10.66.3.219]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p38EJ3GU006970; Fri, 8 Apr 2011 10:19:07 -0400
Date: Fri, 08 Apr 2011 10:19:02 -0400
To: Pavan.Kumar@emc.com, nfsv4@ietf.org
From: sfaibish <sfaibish@emc.com>
Organization: EMC
Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15
MIME-Version: 1.0
References: <EE560D1938C7D347A94DE1A6BACB7A3E247EDE07@MX26A.corp.emc.com>
Content-Transfer-Encoding: 8bit
Message-ID: <op.vtmh10s9unckof@usensfaibisl2e.eng.emc.com>
In-Reply-To: <EE560D1938C7D347A94DE1A6BACB7A3E247EDE07@MX26A.corp.emc.com>
User-Agent: Opera Mail/9.10 (Win32)
X-EMM-MHVC: 1
Cc: "jay.mastaj@emc.com" <jay.mastaj@emc.com>
Subject: Re: [nfsv4] User level access control for a NFS share
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 14:21:23 -0000

All in EMC Bangalore,

Please stop asking this kind of questions to this list. I believe I already
made this clear in t he past as this is embarassing to EMC. In the future  
send these
questions first to EMC experts: Sorin Faibish, David Black, Peter Staubach
and David Noveck. We are all members in the ietf WG and have the knowledge
to answer your questions.

/Sorin

On Fri, 08 Apr 2011 05:12:12 -0400, <Pavan.Kumar@emc.com> wrote:

> Hi all,
>
> I am working on a project wherein, we are migrating from NFS3 to NFS4.
>
> In the NFS3, we can control the share access with IP address to make  
> readwrite(rw) or readonly(ro)
>
> For NFSV4, I would like to know, whether it supports user level access  
> control for a NFS share.
>
> i.e., for a NFS share  "share1", I want to set user1 to have  
> readwrite(rw) access, where as user2 to have read only (ro).
>
> Is there any documentation on this?
>
> Awaiting your reply
>
> Thanks & Regards,
> Pavan
>
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>



-- 
Best Regards

Sorin Faibish
Corporate Distinguished Engineer
Unified Storage Division
         EMC²
where information lives

Phone: 508-249-5745
Cellphone: 617-510-0422
Email : sfaibish@emc.com

From Trond.Myklebust@netapp.com  Fri Apr  8 07:43:12 2011
Return-Path: <Trond.Myklebust@netapp.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8CDF13A6987 for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 07:43:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.554
X-Spam-Level: 
X-Spam-Status: No, score=-10.554 tagged_above=-999 required=5 tests=[AWL=0.045, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k8OzOeup4W-D for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 07:43:11 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by core3.amsl.com (Postfix) with ESMTP id C7D263A6937 for <nfsv4@ietf.org>; Fri,  8 Apr 2011 07:43:11 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.63,323,1299484800"; d="scan'208";a="540011014"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 08 Apr 2011 07:44:41 -0700
Received: from svlrsexc2-prd.hq.netapp.com (svlrsexc2-prd.hq.netapp.com [10.57.115.31]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p38EifZd020684; Fri, 8 Apr 2011 07:44:41 -0700 (PDT)
Received: from SACMVEXC2-PRD.hq.netapp.com ([10.99.115.18]) by svlrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 8 Apr 2011 07:44:42 -0700
Received: from 10.58.48.107 ([10.58.48.107]) by SACMVEXC2-PRD.hq.netapp.com ([10.99.115.16]) with Microsoft Exchange Server HTTP-DAV ;  Fri,  8 Apr 2011 14:44:40 +0000
Received: from lade.trondhjem.org by SACMVEXC2-PRD.hq.netapp.com; 08 Apr 2011 07:44:39 -0700
From: Trond Myklebust <Trond.Myklebust@netapp.com>
To: Nico Williams <nico@cryptonector.com>
In-Reply-To: <BANLkTimPw740NiZJpq51Jv+Gh7OMRLnNhQ@mail.gmail.com>
References: <BANLkTimPw740NiZJpq51Jv+Gh7OMRLnNhQ@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Organization: NetApp Inc
Date: Fri, 08 Apr 2011 07:44:39 -0700
Message-ID: <1302273879.18713.15.camel@lade.trondhjem.org>
Mime-Version: 1.0
X-Mailer: Evolution 2.32.2 (2.32.2-1.fc14) 
X-OriginalArrivalTime: 08 Apr 2011 14:44:42.0108 (UTC) FILETIME=[7EAD63C0:01CBF5FB]
Cc: NFSv4 <nfsv4@ietf.org>
Subject: Re: [nfsv4] Would SElinux folk
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 14:43:12 -0000

On Thu, 2011-04-07 at 20:38 -0500, Nico Williams wrote:
> please confirm whether SElinux has many process label transitions, and
> please characterize the frequency of process label transitions?
>=20
> Thanks,

Usually a process has 1 label attached to it at startup. That label is
rarely if ever changed, since the whole point is to tag the workload and
hence allow the kernel to match that to a ruleset that authorises the
set of actions that are needed to perform only that particular task.

Trond
--=20
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@netapp.com
www.netapp.com


From Tom.Haynes@netapp.com  Fri Apr  8 08:35:39 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id AEAF33A6974 for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 08:35:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.469
X-Spam-Level: 
X-Spam-Status: No, score=-10.469 tagged_above=-999 required=5 tests=[AWL=0.129, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1rcb6Bdqmsng for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 08:35:38 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by core3.amsl.com (Postfix) with ESMTP id A4A7A3A6946 for <nfsv4@ietf.org>; Fri,  8 Apr 2011 08:35:38 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.63,324,1299484800";  d="scan'208,217";a="540027363"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 08 Apr 2011 08:37:24 -0700
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p38FbOrW025597; Fri, 8 Apr 2011 08:37:24 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 8 Apr 2011 08:37:24 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 8 Apr 2011 11:37:22 -0400
Received: from ebc05-xp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 8 Apr 2011 11:37:21 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: multipart/alternative; boundary=Apple-Mail-14--300190648
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF2A74@MX14A.corp.emc.com>
Date: Fri, 8 Apr 2011 10:37:20 -0500
Message-Id: <7E6D82D5-1BB1-4D6A-A79D-77B2C794B2A3@netapp.com>
References: <4D2B6320-D443-47A4-8AC5-6AF1C5F397F2@netapp.com> <238E2192-6AD7-4B31-91AC-A5ED8FBB9DB2@netapp.com> <4D9E36B2.1010706@gmail.com> <5240D1F3-D2ED-459B-A84B-6BA790CBF321@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF2A74@MX14A.corp.emc.com>
To: "<david.black@emc.com>" <david.black@emc.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 08 Apr 2011 15:37:21.0589 (UTC) FILETIME=[D9DFEE50:01CBF602]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [NFSv4.2] Meeting Notes 04/07/2011
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 15:35:39 -0000

--Apple-Mail-14--300190648
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252


On Apr 8, 2011, at 7:55 AM, <david.black@emc.com> <david.black@emc.com> =
wrote:

> This feels excessive.  I=92ve been through the corresponding exercise =
in SCSI, and that came down to:
> - Add support to the protocol that allows a server to announce that =
reads of holes always return zeroes.
> - Allow servers to get more creative (e.g., in the fashion that Tom =
describes below).
> =20
> Do we actually need the latter in NFS?  IMHO, it=92s simpler to leave =
it out because that functionality results in an =93interesting=94 corner =
case =96 if the client specifies the pattern that reading the hole =
returns, but the server doesn=92t support returning that pattern for a =
hole, the result of the attempt to punch a hole is a bulk write instead =
of a hole punch (see the SCSI WRITE SAME command, which has hole punch =
functionality specified), which may not be what the client wanted ;-).

David,

Let me try to address a point which you may be trying to make before I =
address
the real issue.

With the new code, the server either supports holes with patterns or no =
holes at all.

If the client does:

PUTFH WRITE_PLUS "f00dbarf"

the server if it does not support holes, will return NFS4ERR_NOTSUPP.

At that point, the client knows that it it wants to get a sparse file, =
it either has to
rely on something server-vendor specific or it is out of luck.

I.e., it could then proceed with

PUTFH WRITE "f00dbarff00dbarf....f00dbarf"

But, the client is very aware of what is going on here.


> =20
> If we don=92t need the =93creative=94 option, it=92s simpler to =
require that reading a hole always returns zeroes.


The real issue is that we are being asked by Oracle to provide a means =
to
be creative here. All zeros might be acceptable if the Oracle DB was =
able
to query the underlying client OS to determine whether the memory =
corresponded
to a hole. I.e., if it knows it is a hole, it SHOULD NOT care what =
pattern is there.

So is the creative approach more complex? Yes.

But just like wanting to bring in the 64 bit array lengths that Mike is =
proposing,
I'd like us to take this chance to only redo READ and WRITE once.

(Which means I think I can have the correct XDR in about 5 minutes. :-> =
)

Tom



--Apple-Mail-14--300190648
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1252

<html><head><base href=3D"x-msg://229/"></head><body style=3D"word-wrap: =
break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space; "><br><div><div>On Apr 8, 2011, at 7:55 AM, &lt;<a =
href=3D"mailto:david.black@emc.com">david.black@emc.com</a>&gt; &lt;<a =
href=3D"mailto:david.black@emc.com">david.black@emc.com</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><span class=3D"Apple-style-span" style=3D"border-collapse: =
separate; font-family: Helvetica; font-style: normal; font-variant: =
normal; font-weight: normal; letter-spacing: normal; line-height: =
normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: =
normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: =
0px; -webkit-border-vertical-spacing: 0px; =
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
lang=3D"EN-US" link=3D"blue" vlink=3D"purple" style=3D"word-wrap: =
break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space; "><div class=3D"WordSection1" style=3D"page: =
WordSection1; "><div style=3D"margin-top: 0in; margin-right: 0in; =
margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: =
'Times New Roman', serif; "><span style=3D"font-size: 10pt; font-family: =
'Courier New'; color: black; ">This feels excessive.&nbsp; I=92ve been =
through the corresponding exercise in SCSI, and that came down =
to:<o:p></o:p></span></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; =
font-family: 'Times New Roman', serif; "><span style=3D"font-size: 10pt; =
font-family: 'Courier New'; color: black; ">- Add support to the =
protocol that allows a server to announce that reads of holes always =
return zeroes.<br>- Allow servers to get more creative (e.g., in the =
fashion that Tom describes below).<o:p></o:p></span></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; =
margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', =
serif; "><span style=3D"font-size: 10pt; font-family: 'Courier New'; =
color: black; "><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: =
0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; =
font-size: 12pt; font-family: 'Times New Roman', serif; "><span =
style=3D"font-size: 10pt; font-family: 'Courier New'; color: black; ">Do =
we actually need the latter in NFS?&nbsp; IMHO, it=92s simpler to leave =
it out because that functionality results in an =93interesting=94 corner =
case =96 if the client specifies the pattern that reading the hole =
returns, but the server doesn=92t support returning that pattern for a =
hole, the result of the attempt to punch a hole is a bulk write instead =
of a hole punch (see the SCSI WRITE SAME command, which has hole punch =
functionality specified), which may not be what the client wanted =
;-).</span></div></div></div></span></blockquote><div><br></div><div>David=
,</div><div><br></div><div>Let me try to address a point which you may =
be trying to make before I address</div><div>the real =
issue.</div><div><br></div><div>With the new code, the server either =
supports holes with patterns or no holes at =
all.</div><div><br></div><div>If the client =
does:</div><div><br></div><div>PUTFH WRITE_PLUS =
"f00dbarf"</div><div><br></div><div>the server if it does not support =
holes, will return NFS4ERR_NOTSUPP.</div><div><br></div><div>At that =
point, the client knows that it it wants to get a sparse file, it either =
has to</div><div>rely on something server-vendor specific or it is out =
of luck.</div><div><br></div><div>I.e., it could then proceed =
with</div><div><br></div><div>PUTFH WRITE =
"f00dbarff00dbarf....f00dbarf"</div><div><br></div><div>But, the client =
is very aware of what is going on =
here.</div><div><br></div><br><blockquote type=3D"cite"><span =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
font-family: Helvetica; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; =
widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; =
-webkit-border-vertical-spacing: 0px; =
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
lang=3D"EN-US" link=3D"blue" vlink=3D"purple" style=3D"word-wrap: =
break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space; "><div class=3D"WordSection1" style=3D"page: =
WordSection1; "><div style=3D"margin-top: 0in; margin-right: 0in; =
margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: =
'Times New Roman', serif; "><span style=3D"font-size: 10pt; font-family: =
'Courier New'; color: black; "><o:p></o:p></span></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; =
margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', =
serif; "><span style=3D"font-size: 10pt; font-family: 'Courier New'; =
color: black; "><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: =
0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; =
font-size: 12pt; font-family: 'Times New Roman', serif; "><span =
style=3D"font-size: 10pt; font-family: 'Courier New'; color: black; ">If =
we don=92t need the =93creative=94 option, it=92s simpler to require =
that reading a hole always returns =
zeroes.</span></div></div></div></span></blockquote><div><br></div><div><b=
r></div><div>The real issue is that we are being asked by Oracle to =
provide a means to</div><div>be creative here. All zeros might be =
acceptable if the Oracle DB was able</div><div>to query the underlying =
client OS to determine whether the memory corresponded</div><div>to a =
hole. I.e., if it knows it is a hole, it SHOULD NOT care what pattern is =
there.</div><div><br></div><div>So is the creative approach more =
complex? Yes.</div><div><br></div><div>But just like wanting to bring in =
the 64 bit array lengths that Mike is proposing,</div><div>I'd like us =
to take this chance to only redo READ and WRITE =
once.</div><div><br></div><div>(Which means I think I can have the =
correct XDR in about 5 minutes. :-&gt; =
)</div><div><br></div><div>Tom</div><div><br></div></div><br></body></html=
>=

--Apple-Mail-14--300190648--

From dpquigl@davequigley.com  Fri Apr  8 08:41:02 2011
Return-Path: <dpquigl@davequigley.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1AEA83A693B for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 08:41:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.392
X-Spam-Level: 
X-Spam-Status: No, score=-2.392 tagged_above=-999 required=5 tests=[AWL=0.207,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SsZfYxpCCiKC for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 08:41:00 -0700 (PDT)
Received: from countercultured.net (countercultured.net [IPv6:2001:470:0:c0d3::2]) by core3.amsl.com (Postfix) with SMTP id 89D043A6819 for <nfsv4@ietf.org>; Fri,  8 Apr 2011 08:41:00 -0700 (PDT)
Received: (qmail 5042 invoked from network); 8 Apr 2011 15:42:44 -0000
Received: from c-76-21-220-25.hsd1.md.comcast.net (HELO ?192.168.15.109?) (merlin@76.21.220.25) by countercultured.net with ESMTPA; 8 Apr 2011 15:42:44 -0000
Message-ID: <4D9F2CE4.90200@davequigley.com>
Date: Fri, 08 Apr 2011 11:42:28 -0400
From: Dave Quigley <dpquigl@davequigley.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9
MIME-Version: 1.0
To: nfsv4@ietf.org
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com>	<7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com>	<4D9DBC25.7000409@oracle.com>	<BANLkTinQ+qtGOeW=_MQbOiCUWdRiPg70hw@mail.gmail.com>	<4D9DEAF3.2050000@oracle.com>	<BANLkTi=_=cdXG-LNTTAkg9Hyr+kj2q0DMQ@mail.gmail.com>	<4D9DF43E.8070100@oracle.com>	<BANLkTinCPpyU4bKca-oknxFZZfgwOcbgSQ@mail.gmail.com>	<7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF292A@MX14A.corp.emc.com> <BANLkTi=UQedkJ3EYDWCfYrrr6UOcq85HpA@mail.gmail.com>
In-Reply-To: <BANLkTi=UQedkJ3EYDWCfYrrr6UOcq85HpA@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: [nfsv4] RPCSEC_GSSv3 implementation requirement
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 15:41:02 -0000

On 4/7/2011 2:39 PM, Nico Williams wrote:
> On Thu, Apr 7, 2011 at 1:25 PM,<david.black@emc.com>  wrote:
>>>> I also think about this "requirement" in terms of dependency, e.g. does
>>>> NFS MAC label extension depends on RPCSEC_GSSv3? Is the extension
>>>> useless without RPCSEC_GSSv3? My opinion is labeled NFS works best with
>>>> RPCSEC_GSSv3. It can also work, in a less secure or less expressive way,
>>>> absent of RPCSEC_GSSv3. For example, a MAC server may need to do
>>>> some mapping to get client's subject label.
>>> It's required for some uses/deployments.  It's not REQUIRED in the
>>> sense of "to implement", as in RFC2119.
>> Good - that's my crucial concern, and I agree with most of the above
>> comments.  I want to see implementation of RPCSEC_GSSv3 not be REQUIRED (in
>> the RFC 2119 sense), ...
> Agreed.
>
>> ... so that MAC labels can be used in some fashion
>> in the absence of RPCSEC_GSSv3 support.
> But that's already true today.  It's possible to use NFS in a MAC
> environment without modifying the protocol.  Solaris TX proves it.
>
> There's a set of trade-offs to make regarding what the deployed
> environment looks like according to which features we have or lack.
>

It is true that TX provides the ability to combine NFS and MAC but I had 
spoken with Glen Faden a few years back about the solaris implementation 
of NFS and the way that is it handled is suboptimal (Although we've 
gotten a request for something similar). From what I understand(and this 
was a couple of years ago so I may be misremembering) there is some sort 
of internal security database to solaris. When the NFS server gets a 
connection from somewhere it either uses the label from some form or 
labeled networking or does a lookup based on some properties of the NFS 
session to determine the label (authenticated user, IP address, etc...). 
The problem with this is that it is very configuration heavy. People 
have asked us to do something similar for SELinux though where user 
authenticated as BoB runs at a certain clearance level. Ideally 
RPCSEC_GSSv3 would send BOB's real context over and we wouldn't have to 
worry about mappings. Just the ability to restrict the labels that bob 
asserts.

>> Of course if RPCSEC_GSSv3 is not implemented, then environments that require
>> RPCSEC_GSSv3 functionality (and there are some) can't be supported by such
>> implementations.  Yes, that was obvious, ... but what may be less obvious
>> is that we're likely to need some limited additional functionality to replace
>> things that RPCSEC_GSSv3 does in order to ensure that MAC labels are useful
>> in the absence of RPCSEC_GSSv3 support (e.g., client ability to send its label
>> to the MAC server for cross-checking by the MAC server).
> Yes, this is true.  We could conclude that a MAC environment w/o
> RPCSEC_GSSv3 is insufficiently useful.
>
> Solaris TX manages by labeling paths and requiring trusted clients --
> the clients enforce MAC policy.
>
> If you don't want to trust the clients quite as much then not only do
> you need MAC-aware servers, but most users will (I assume) also need
> RPCSEC_GSSv3 because you will need multi-label clients.
>
> Note that defining a label attribute does not make the server
> MAC-aware.  A MAC-aware server is one that can enforce MAC policy, but
> since that requires knowing the label of each subject, that requires
> either each principal, each client IP address, or each {principal,
> client IP address} to be at a single label, OR that the clients use
> RPCSEC_GSSv3.  Only the latter is terribly usable.
>
> IOW, I think that RPCSEC_GSSv3 is required when MAC-aware _servers_
> are desired.  RPCSEC_GSSv3 is only not required when dumb servers are
> used.

I agree with this statement. I think for certain environments though 
that there are people with security models where dumb servers are 
acceptable.

> Nico
> --
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4


From dpquigl@davequigley.com  Fri Apr  8 08:51:40 2011
Return-Path: <dpquigl@davequigley.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 148F03A6819 for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 08:51:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.405
X-Spam-Level: 
X-Spam-Status: No, score=-2.405 tagged_above=-999 required=5 tests=[AWL=0.194,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rqL3Efad64+R for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 08:51:39 -0700 (PDT)
Received: from countercultured.net (countercultured.net [IPv6:2001:470:0:c0d3::2]) by core3.amsl.com (Postfix) with SMTP id 472B43A693B for <nfsv4@ietf.org>; Fri,  8 Apr 2011 08:51:39 -0700 (PDT)
Received: (qmail 5747 invoked from network); 8 Apr 2011 15:53:24 -0000
Received: from c-76-21-220-25.hsd1.md.comcast.net (HELO ?192.168.15.109?) (merlin@76.21.220.25) by countercultured.net with ESMTPA; 8 Apr 2011 15:53:24 -0000
Message-ID: <4D9F2F64.9070905@davequigley.com>
Date: Fri, 08 Apr 2011 11:53:08 -0400
From: Dave Quigley <dpquigl@davequigley.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9
MIME-Version: 1.0
To: nfsv4@ietf.org
References: <BANLkTimPw740NiZJpq51Jv+Gh7OMRLnNhQ@mail.gmail.com> <1302273879.18713.15.camel@lade.trondhjem.org>
In-Reply-To: <1302273879.18713.15.camel@lade.trondhjem.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: [nfsv4] Would SElinux folk
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 15:51:40 -0000

On 4/8/2011 10:44 AM, Trond Myklebust wrote:
> On Thu, 2011-04-07 at 20:38 -0500, Nico Williams wrote:
>> please confirm whether SElinux has many process label transitions, and
>> please characterize the frequency of process label transitions?
>>
>> Thanks,
> Usually a process has 1 label attached to it at startup. That label is
> rarely if ever changed, since the whole point is to tag the workload and
> hence allow the kernel to match that to a ruleset that authorises the
> set of actions that are needed to perform only that particular task.
>
> Trond
The purposes of Process Label Transitions is mainly so you don't have to 
issue commands like run this program with this context. SELinux differs 
from other MAC systems in an important way by introducing an entry point 
concept. With the entrypoints plus the type transitions we ensure that 
an application can enter its security domain in certain ways. So one 
example of when a type transition happens is when you run a command 
similar to service myservice start. To get myservice to run in the 
appropriate security domain there is a type transition rule saying that 
when init runs myservice the resulting process will be in the myservice 
security domain. So in terms of file system labels and process labels 
this is how it would work.

Init runs with process label init_t
Init forks still running in init_t.
Upon execve init execs myservice.
myservice has a file label myservice_exec_t. (This is what allows us to 
use the entry point rule)
now the new process on exec has a context calculated based on a 
transition rule
This rule takes into account a process running as init_t execed a file 
labeled myservice_exec_t.
The kernel calculates the resulting process label which is myservice_t.
Once we are in myservice_t process labels rarely change.
To require a process to change its own label in SELinux requires a 
semi-privileged permission which we almost never give out in policy.

Dave

From marcel.telka@oracle.com  Fri Apr  8 05:10:47 2011
Return-Path: <marcel.telka@oracle.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DB7B728C0EC for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 05:10:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.598
X-Spam-Level: 
X-Spam-Status: No, score=-6.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pBu-NZBxzwcZ for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 05:10:44 -0700 (PDT)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id 72BEC28C0E2 for <nfsv4@ietf.org>; Fri,  8 Apr 2011 05:10:44 -0700 (PDT)
Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p38CCS0g032531 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 8 Apr 2011 12:12:29 GMT
Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p38CCRl7016198 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 8 Apr 2011 12:12:27 GMT
Received: from abhmt017.oracle.com (abhmt017.oracle.com [141.146.116.26]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p38CCQb8013555; Fri, 8 Apr 2011 07:12:27 -0500
Received: from tortuga.czech.sun.com (/129.157.71.66) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 08 Apr 2011 05:12:26 -0700
Date: Fri, 8 Apr 2011 14:12:24 +0200
From: Marcel Telka <marcel.telka@oracle.com>
To: Thomas Haynes <thomas@netapp.com>
Message-ID: <20110408121223.GB15449@tortuga.czech.sun.com>
References: <20110403114257.GA13873@telcontar.in.telka.sk> <F4A45CE5-EC4E-46A5-8CC1-004162232595@netapp.com> <20110407143816.GP15449@tortuga.czech.sun.com> <B006952C-BFE5-4788-BD4B-0A74036AF9BF@netapp.com> <20110407144911.GQ15449@tortuga.czech.sun.com> <20110407151123.GS15449@tortuga.czech.sun.com> <D4DFAC6A-5016-4014-907A-299B7D344ACD@netapp.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <D4DFAC6A-5016-4014-907A-299B7D344ACD@netapp.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Source-IP: acsmt358.oracle.com [141.146.40.158]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090204.4D9EFBAC.0031:SCFSTAT5015188,ss=1,fgs=0
X-Mailman-Approved-At: Fri, 08 Apr 2011 09:13:47 -0700
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] RFC3530bis: open owner vs. lock owner
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 12:10:48 -0000

On Thu, Apr 07, 2011 at 04:34:38PM -0500, Thomas Haynes wrote:
> I've pushed this out to the WG alias because people there might have some
> input.

Ok. Thanks.

> 
> 
> On Apr 7, 2011, at 10:11 AM, Marcel Telka wrote:
> 
> > On Thu, Apr 07, 2011 at 04:49:11PM +0200, Marcel Telka wrote:
> >> On Thu, Apr 07, 2011 at 09:42:27AM -0500, Thomas Haynes wrote:
> >>> 
> >>> On Apr 7, 2011, at 9:38 AM, Marcel Telka wrote:
> >>> 
> >>>>> 
> >>>> 
> >>>> Thank you, Tom. Is the updated text of the bis document available somewhere?
> >>>> 
> >>>> -- 
> >>>> Marcel Telka
> >>>> RPE, Systems
> >>> 
> >>> 
> >>> Sorry, I should have let you know:
> >>> 
> >>> http://datatracker.ietf.org/doc/draft-ietf-nfsv4-rfc3530bis/
> >>> 
> >> 
> >> Great. Thanks.
> > 
> > I think the text is still confusing. See:
> > 
> >   Unlike the text in NFSv4.1 [31], this text treats "lock-owner" as
> >   meaning both a open-owner and a lock-owner.  Also, a "lock" can refer
> >   to both a byte-range and share lock.
> > 
> 
> 
> It would have been better if you were asking me these questions a month
> ago when I was struggling with that text. :->

:-)

It would be better the original authors of 3530 did better job with the text
update after they invented the open owner.

> 
> 5661 did a major overhaul of the terminology for stateids - it is much
> nicer. However, I seem to recall the session id stuff simplified it, but 
> that could not be backported to 3530bis.

I never read 5661 so I cannot agree or disagree. :-)

> 
> Lets try to straighten things out:
> 
> An open-owner is always an open-owner.

Good.

> 
> That means we just have to check to see if every remaining lock-owner is referencing
> a lock-owner or an open-owner, or both.
> 
> And we see instances of both.
> 
> > 
> > The paragraph above looks like a recursion:
> > To understand recursion you must first understood the recursion. :-)
> > 
> 
> 
> I'm fine with changing it to:
> 
> This text treats "lock-owner" as
> meaning both a open-owner and a lock-owner.  Also, a "lock" can refer
> to both a byte-range and share lock.

The removal of NFSv4.1 reference will not fix the recursion issue.

What about walking through all of the text and where "lock owner and open
owner" should be referred, just use "L-O and/or O-O" instead of current "L-O".
Yes, I know the current wording is inherited from 3010...

The overloaded term "lock-owner" will always cause troubles.


Another example I found:

8.1.8.  Use of Open Confirmation

   In the case that an OPEN is retransmitted and the lock_owner is being
   used for the first time or the lock_owner state has been previously
   released by the server, the use of the OPEN_CONFIRM operation will
   prevent incorrect behavior.  When the server observes the use of the
   lock_owner for the first time, it will direct the client to perform
   the OPEN_CONFIRM for the corresponding OPEN.  This sequence
   establishes the use of an lock_owner and associated sequence number.
   Since the OPEN_CONFIRM sequence connects a new open_owner on the
   server with an existing open_owner on a client, the sequence number
   may have any value.  The OPEN_CONFIRM step assures the server that
   the value received is the correct one.  See the section "OPEN_CONFIRM
   - Confirm Open" for further details.


The lock_owner above should refer to open-owner only. lock_owner has nothing
with OPEN_CONFIRM.

> 
> 
> 
> > 
> > Next, the chapter "9.1.4.  lock-owner" is obviously about lock_owner4 only. It
> > has nothing to do with open owner. So the definition above does not apply.
> 
> 
> No actually it is both a lock-owner and an open-owner. I.e., it describes the
> format of both.
> 
> Look at Section 9.1.8:
> 
>    When a particular lock-owner no longer holds open or file locking
>    state at the server, the server may choose to release the sequence
>    number state associated with the lock-owner.  The server may make
> 
> Clearly the "lock-owner" refers to both an open-owner and a lock-owner.

In 9.1.8, yes. The lock-owner refers both. But in 9.1.4. the lock-owner refers
just lock_owner (IMHO):

   When requesting a lock, the client must present to the server the
   client ID and an identifier for the owner of the requested lock.

Yes, the paragraph can mean open-owner too, but it has no added value. The
open-owner mechanics is covered in detail in 9.1.9.


-- 
Marcel Telka
RPE, Systems

From seattleplus@gmail.com  Fri Apr  8 10:11:24 2011
Return-Path: <seattleplus@gmail.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 30BF53A6943 for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 10:11:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.598
X-Spam-Level: 
X-Spam-Status: No, score=-3.598 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zxvr++I1wAqD for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 10:11:22 -0700 (PDT)
Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by core3.amsl.com (Postfix) with ESMTP id 7AEFE3A6910 for <nfsv4@ietf.org>; Fri,  8 Apr 2011 10:11:22 -0700 (PDT)
Received: by pwi5 with SMTP id 5so1649112pwi.31 for <nfsv4@ietf.org>; Fri, 08 Apr 2011 10:13:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type; bh=QfsduyYjVXrzsg8rd7s9/oTYUi3I/oeMEn3MoyVp88A=; b=CwkeS7TjwmJpgbr2TNAwXsfqwpHnfBfyQ0j6l1r04FFzRVyn4hRkexb7BgtttMGg1X gSQL9TvMEv7z1rmFnviT/RcNbs2O4HpNVWoxjLiEnae9RAx4/lPwPiBUcivvHYr11zIo Odyk21IR+3qprp6JjGJ0cVt/E7cMKyOexIsxs=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; b=QKuURteH4zY5kXy7gyhDD7PFKJZM2UZi9SSTgkBWq498wOrbgX7vLB7hDYMbexOr5G azw4vMds7nEyrYf9igDdwV8yi9kcCnYnuzDM5CgoW1cjiDbR2IBhsjI7309ay6vwaAa5 Z1rUaB/yRePOZaBlyQP7GO++O354WLgk0ZV4A=
Received: by 10.142.166.13 with SMTP id o13mr2137604wfe.171.1302282754125; Fri, 08 Apr 2011 10:12:34 -0700 (PDT)
Received: from rockmac.ftrdhcpuser.net (pool-71-112-77-159.sttlwa.dsl-w.verizon.net [71.112.77.159]) by mx.google.com with ESMTPS id z10sm3871277wfj.15.2011.04.08.10.12.30 (version=SSLv3 cipher=OTHER); Fri, 08 Apr 2011 10:12:32 -0700 (PDT)
Message-ID: <4D9F41FD.1080208@gmail.com>
Date: Fri, 08 Apr 2011 10:12:29 -0700
From: Dean <seattleplus@gmail.com>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9
MIME-Version: 1.0
To: Thomas Haynes <thomas@netapp.com>
References: <4D2B6320-D443-47A4-8AC5-6AF1C5F397F2@netapp.com> <238E2192-6AD7-4B31-91AC-A5ED8FBB9DB2@netapp.com> <4D9E36B2.1010706@gmail.com> <1A78E6C5-8B77-46F1-9830-C93586A4E76A@netapp.com>
In-Reply-To: <1A78E6C5-8B77-46F1-9830-C93586A4E76A@netapp.com>
Content-Type: multipart/alternative; boundary="------------070208090601090201070305"
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [NFSv4.2] Meeting Notes 04/07/2011
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 17:11:24 -0000

This is a multi-part message in MIME format.
--------------070208090601090201070305
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit



On 4/7/11 4:52 PM, Thomas Haynes wrote:
>
> On Apr 7, 2011, at 5:12 PM, Dean wrote:
>
>>
>>> Write a pattern to a file - hole punch
>> Just to be clear, we should differentiate between a hole punch that 
>> deallocates blocks (which would be very useful) and a hole punch that 
>> writes a specified pattern.  Maybe we can support both?
>
>
> They are both the same thing.
>
> If you write a pattern, you always want to deallocate blocks. Assuming 
> of course
> you write at least a block of data.

This is very much not the case.  There is a big difference between have 
a block of all zeroes and have no block at all.  Performance favours the 
former, thin-provisioning favours the latter.  VMWare give the users the 
option of creating thick and thin disk images for just this reason.

So, I think we want to avoid the case where someone has intentionally 
created a *thick* file, and then we end up deallocating blocks within 
it, which will slow performance when those blocks are written again and 
could cause problems since they are no longer guaranteed to have space 
for those deallocated blocks.

>
> If you write less than a block of data, then it is up to the server if 
> it wants to fill
> the block with the pattern. And once that block becomes all of the 
> pattern, then
> the server could collapse it to a hole.
>
>
>
>>>
>>> We discussed what happens if a client wanted to READ an 8k chunk of file
>>> and the first 4k were data and the second 4k were a pattern hole. 
>>> I.e., do
>>> we want to allow operations to use a mix of holes and data?
>>>
>>> The simplest approach would be for the server to return 4k and allow the
>>> client to send a second compound to get the remaining data.
>>>
>>> The current XDR does not allow a mixture of holes and data. We 
>>> should consider
>>> if we can allow for an arbitrary number of mixtures.
>>>
>>> I also mentioned that resolving this area would be where I am spending
>>> the chunk of my editorial time at first.
>>
>> I'm currently updating my sparse draft to include comments from the 
>> interim meeting,
>
>
> Why are you updating your draft? This has now been pulled into the 
> NFSv4.2 document.
> All of the items pulled into the release are being tracked there. This 
> message has been
> consistently pushed on the WG alias and at the meetings.
Well, there was a clear request by Spencer and others at the end of the 
interim meeting for me to clean it up to only include what was discussed 
and add in several comments and issues.

Now that it has been pulled into the NFSv4.2 document, how do I make 
these changes (as described below, but there was also several more 
discussed at the meeting)?
Dean
>
> By the way, you need to pull the XDR code down for the current 
> READPLUS case. I had
> to change it to get it to pass through rpcgen. I will not be accepting 
> changes that do not
> pass the 'make testx' target of the Makefile.
>
> You can grab the source here: https://github.com/loghyr/NFSv4.2
>
> To get the 'make testx' work on Linux, you might need to install:
>
>  347  sudo yum install libgssglue-devel
>  364  sudo yum install nfs-utils-lib-devel
>
>
>> but this has been delayed due to both project and paper deadlines as 
>> well as vacation.  My plan is to state that the return value is 
>> completely the prerogative of the server, who is the only one who can 
>> decide if it wants to classify a byte-range as a hole or not.
>
>
> Agreed.
>
>
>> In practice, I see servers using a sparse threshold, and any 
>> unallocated or all-zero/pattern byte range less than this threshold 
>> would NOT be considered a hole.
>
>
> That would be an implementation choice.
>
>
>>
>> As for returning a mix of holes and data (which would boil down to 
>> returning an array of data chunks, with the rest considered holes, I 
>> think it is useful but may be a little complicated.
>
>
> That is an item which we should be discussing.
>
>
>>
>> Dean
>>>
>>> + Space reservation
>>>
>>> No real discussion.
>>>
>>> + Unstable file creation
>>>
>>> Pushed off until the next meeting.
>>>
>>> + Overview of what is in NFS4.2
>>>
>>> Gave a quick summary of the items in, close to being in, etc. This 
>>> was based
>>> off of the slides I presented in Prague.
>>>
>>>
>>> _______________________________________________
>>> nfsv4 mailing list
>>> nfsv4@ietf.org
>>> https://www.ietf.org/mailman/listinfo/nfsv4
>> _______________________________________________
>> nfsv4 mailing list
>> nfsv4@ietf.org <mailto:nfsv4@ietf.org>
>> https://www.ietf.org/mailman/listinfo/nfsv4
>

--------------070208090601090201070305
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    <br>
    <br>
    On 4/7/11 4:52 PM, Thomas Haynes wrote:
    <blockquote
      cite="mid:1A78E6C5-8B77-46F1-9830-C93586A4E76A@netapp.com"
      type="cite"><br>
      <div>
        <div>On Apr 7, 2011, at 5:12 PM, Dean wrote:</div>
        <br class="Apple-interchange-newline">
        <blockquote type="cite">
          <div bgcolor="#ffffff" text="#000000"><br>
            <blockquote
              cite="mid:238E2192-6AD7-4B31-91AC-A5ED8FBB9DB2@netapp.com"
              type="cite">
              <div>
                <div>
                  <div style="word-wrap: break-word;">
                    <div>Write a pattern to a file - hole punch</div>
                  </div>
                </div>
              </div>
            </blockquote>
            Just to be clear, we should differentiate between a hole
            punch that deallocates blocks (which would be very useful)
            and a hole punch that writes a specified pattern.&nbsp; Maybe we
            can support both?<br>
          </div>
        </blockquote>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>They are both the same thing.</div>
        <div><br>
        </div>
        <div>If you write a pattern, you always want to deallocate
          blocks. Assuming of course</div>
        <div>you write at least a block&nbsp;of data.</div>
      </div>
    </blockquote>
    <br>
    This is very much not the case.&nbsp; There is a big difference between
    have a block of all zeroes and have no block at all.&nbsp; Performance
    favours the former, thin-provisioning favours the latter.&nbsp; VMWare
    give the users the option of creating thick and thin disk images for
    just this reason.<br>
    <br>
    So, I think we want to avoid the case where someone has
    intentionally created a *thick* file, and then we end up
    deallocating blocks within it, which will slow performance when
    those blocks are written again and could cause problems since they
    are no longer guaranteed to have space for those deallocated blocks.<br>
    <br>
    <blockquote
      cite="mid:1A78E6C5-8B77-46F1-9830-C93586A4E76A@netapp.com"
      type="cite">
      <div>
        <div><br>
        </div>
        <div>If you write less than a block of data, then it is up to
          the server if it wants to fill</div>
        <div>the block with the pattern. And once that block becomes all
          of the pattern, then</div>
        <div>the server could collapse it to a hole.</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <br>
        <blockquote type="cite">
          <div bgcolor="#ffffff" text="#000000">
            <blockquote
              cite="mid:238E2192-6AD7-4B31-91AC-A5ED8FBB9DB2@netapp.com"
              type="cite">
              <div>
                <div>
                  <div style="word-wrap: break-word;">
                    <div><br>
                    </div>
                    <div>We discussed what happens if a client wanted to
                      READ an 8k chunk of file</div>
                    <div>and the first 4k were data and the second 4k
                      were a pattern hole. I.e., do</div>
                    <div>we want to allow operations to use a mix of
                      holes and data?</div>
                    <div><br>
                    </div>
                    <div>The simplest approach would be for the server
                      to return 4k and allow the</div>
                    <div>client to send a second compound to get the
                      remaining data.</div>
                    <div><br>
                    </div>
                    <div>The current XDR does not allow a mixture of
                      holes and data. We should consider</div>
                    <div>if we can allow for an arbitrary number of
                      mixtures.</div>
                    <div><br>
                    </div>
                    <div>I also mentioned that resolving this area would
                      be where I am spending</div>
                    <div>the chunk of my editorial time at first.</div>
                  </div>
                </div>
              </div>
            </blockquote>
            <br>
            I'm currently updating my sparse draft to include comments
            from the interim meeting, </div>
        </blockquote>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Why are you updating your draft? This has now been pulled
          into the NFSv4.2 document.</div>
        <div>All of the items pulled into the release are being tracked
          there. This message has been</div>
        <div>consistently pushed on the WG alias and at the meetings.</div>
      </div>
    </blockquote>
    Well, there was a clear request by Spencer and others at the end of
    the interim meeting for me to clean it up to only include what was
    discussed and add in several comments and issues.<br>
    <br>
    Now that it has been pulled into the NFSv4.2 document, how do I make
    these changes (as described below, but there was also several more
    discussed at the meeting)?<br>
    Dean<br>
    <blockquote
      cite="mid:1A78E6C5-8B77-46F1-9830-C93586A4E76A@netapp.com"
      type="cite">
      <div>
        <div><br>
        </div>
        <div>By the way, you need to pull the XDR code down for the
          current READPLUS case. I had</div>
        <div>to change it to get it to pass through rpcgen. I will not
          be accepting changes that do not</div>
        <div>pass the 'make testx' target of the Makefile.</div>
        <div><br>
        </div>
        <div>You can grab the source here:&nbsp;<a moz-do-not-send="true"
            href="https://github.com/loghyr/NFSv4.2">https://github.com/loghyr/NFSv4.2</a></div>
        <div><br>
        </div>
        <div>To get the 'make testx' work on Linux, you might need to
          install:</div>
        <div><br>
        </div>
        <div>&nbsp;347 &nbsp;sudo yum install libgssglue-devel<br>
          &nbsp;364 &nbsp;sudo yum install nfs-utils-lib-devel</div>
        <div><br>
        </div>
        <br>
        <blockquote type="cite">
          <div bgcolor="#ffffff" text="#000000">but this has been
            delayed due to both project and paper deadlines as well as
            vacation.&nbsp; My plan is to state that the return value is
            completely the prerogative of the server, who is the only
            one who can decide if it wants to classify a byte-range as a
            hole or not.&nbsp;</div>
        </blockquote>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Agreed.</div>
        <div><br>
        </div>
        <br>
        <blockquote type="cite">
          <div bgcolor="#ffffff" text="#000000"> In practice, I see
            servers using a sparse threshold, and any unallocated or
            all-zero/pattern byte range less than this threshold would
            NOT be considered a hole.<br>
          </div>
        </blockquote>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>That would be an implementation choice.</div>
        <div><br>
        </div>
        <br>
        <blockquote type="cite">
          <div bgcolor="#ffffff" text="#000000"> <br>
            As for returning a mix of holes and data (which would boil
            down to returning an array of data chunks, with the rest
            considered holes, I think it is useful but may be a little
            complicated.<br>
          </div>
        </blockquote>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>That is an item which we should be discussing.</div>
        <div><br>
        </div>
        <br>
        <blockquote type="cite">
          <div bgcolor="#ffffff" text="#000000"> <br>
            Dean<br>
            <blockquote
              cite="mid:238E2192-6AD7-4B31-91AC-A5ED8FBB9DB2@netapp.com"
              type="cite">
              <div>
                <div>
                  <div style="word-wrap: break-word;">
                    <div><br>
                    </div>
                    <div>+ Space reservation</div>
                    <div><br>
                    </div>
                    <div>No real discussion.</div>
                    <div><br>
                    </div>
                    <div>+ Unstable file creation</div>
                    <div><br>
                    </div>
                    <div>Pushed off until the next meeting.</div>
                    <div><br>
                    </div>
                    <div>+ Overview of what is in NFS4.2</div>
                    <div><br>
                    </div>
                    <div>Gave a quick summary of the items in, close to
                      being in, etc. This was based</div>
                    <div>off of the slides I presented in Prague.</div>
                    <div><br>
                    </div>
                  </div>
                </div>
              </div>
              <pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
nfsv4 mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:nfsv4@ietf.org">nfsv4@ietf.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://www.ietf.org/mailman/listinfo/nfsv4">https://www.ietf.org/mailman/listinfo/nfsv4</a>
</pre>
            </blockquote>
          </div>
          _______________________________________________<br>
          nfsv4 mailing list<br>
          <a moz-do-not-send="true" href="mailto:nfsv4@ietf.org">nfsv4@ietf.org</a><br>
          <a class="moz-txt-link-freetext" href="https://www.ietf.org/mailman/listinfo/nfsv4">https://www.ietf.org/mailman/listinfo/nfsv4</a><br>
        </blockquote>
      </div>
      <br>
    </blockquote>
  </body>
</html>

--------------070208090601090201070305--

From nico@cryptonector.com  Fri Apr  8 11:55:46 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D51DD3A6972 for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 11:55:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.941
X-Spam-Level: 
X-Spam-Status: No, score=-1.941 tagged_above=-999 required=5 tests=[AWL=0.036,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VdZS8uGrLS98 for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 11:55:46 -0700 (PDT)
Received: from homiemail-a16.g.dreamhost.com (mailbigip.dreamhost.com [208.97.132.5]) by core3.amsl.com (Postfix) with ESMTP id 2968A3A6962 for <nfsv4@ietf.org>; Fri,  8 Apr 2011 11:55:46 -0700 (PDT)
Received: from homiemail-a16.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a16.g.dreamhost.com (Postfix) with ESMTP id C8F0D50807C for <nfsv4@ietf.org>; Fri,  8 Apr 2011 11:57:31 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=h5D3FvnkQiwT3PVrC0W+Y NL9dfgFvqhee9KaGLlwEtgvAITNmkWwfRc3P39jSCuCbsfghvePMgDuy22ktJsyM A3jYWiICZHAxDNzF+psLwB6GK8Cq6Mi67OiL18bbiIZmB3SmBXR4KGbbh6C1PJV8 YL1OaDiWxsgFP61JDkWPyU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=IlEr9Bze2hN7Li/F1TUC I2OR6IA=; b=kTS7iTl5+P/2BpH6GzKumwxbtRcV0MH2E/pp1tK0fKfzybSDiik1 alt4iMhTnJzlcTT10q9PtoRFIwdxus4BxKtP6g/lyvTJAlGcqK0rrLu+YQTfxvIn 1vxj3be+uH12EIWi/H1HNfmfpb5U7snqDpi6Osh4mHksBxAOpIb4X7s=
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a16.g.dreamhost.com (Postfix) with ESMTPSA id 6364B50807A for <nfsv4@ietf.org>; Fri,  8 Apr 2011 11:57:31 -0700 (PDT)
Received: by vxg33 with SMTP id 33so3567521vxg.31 for <nfsv4@ietf.org>; Fri, 08 Apr 2011 11:57:30 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.66.163 with SMTP id g3mr3722311vdt.94.1302289050723; Fri, 08 Apr 2011 11:57:30 -0700 (PDT)
Received: by 10.52.166.42 with HTTP; Fri, 8 Apr 2011 11:57:30 -0700 (PDT)
In-Reply-To: <4D9F2F64.9070905@davequigley.com>
References: <BANLkTimPw740NiZJpq51Jv+Gh7OMRLnNhQ@mail.gmail.com> <1302273879.18713.15.camel@lade.trondhjem.org> <4D9F2F64.9070905@davequigley.com>
Date: Fri, 8 Apr 2011 13:57:30 -0500
Message-ID: <BANLkTi=_Sr5rL=Z_jsyoa3zU4vsBxZRqsA@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Dave Quigley <dpquigl@davequigley.com>
Content-Type: text/plain; charset=UTF-8
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] Would SElinux folk
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 18:55:46 -0000

On Fri, Apr 8, 2011 at 10:53 AM, Dave Quigley <dpquigl@davequigley.com> wrote:
> The purposes of Process Label Transitions is mainly so you don't have to
> issue commands like run this program with this context. SELinux differs from
> other MAC systems in an important way by introducing an entry point concept.
> With the entrypoints plus the type transitions we ensure that an application
> can enter its security domain in certain ways. So one example of when a type
> transition happens is when you run a command similar to service myservice
> start. To get myservice to run in the appropriate security domain there is a
> type transition rule saying that when init runs myservice the resulting
> process will be in the myservice security domain. So in terms of file system
> labels and process labels this is how it would work.
>
> Init runs with process label init_t
> Init forks still running in init_t.
> Upon execve init execs myservice.
> myservice has a file label myservice_exec_t. (This is what allows us to use
> the entry point rule)
> now the new process on exec has a context calculated based on a transition
> rule
> This rule takes into account a process running as init_t execed a file
> labeled myservice_exec_t.
> The kernel calculates the resulting process label which is myservice_t.
> Once we are in myservice_t process labels rarely change.
> To require a process to change its own label in SELinux requires a
> semi-privileged permission which we almost never give out in policy.

OK, I knew all of that, sort of, except that I expected many more
process label transitions (e.g., from the passwd(1) example).

If process label transitions for _user_ processes (the ones that are
going to be driving NFS clients in most cases) are few and far
between, then that's great news.  It means we won't have to worry
about performance here.

Nico
--

From nico@cryptonector.com  Fri Apr  8 12:12:57 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id AEDD73A6975 for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 12:12:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.942
X-Spam-Level: 
X-Spam-Status: No, score=-1.942 tagged_above=-999 required=5 tests=[AWL=0.035,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BHYiBE5KWTA5 for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 12:12:57 -0700 (PDT)
Received: from homiemail-a74.g.dreamhost.com (caiajhbdcaid.dreamhost.com [208.97.132.83]) by core3.amsl.com (Postfix) with ESMTP id 04CBF3A696E for <nfsv4@ietf.org>; Fri,  8 Apr 2011 12:12:57 -0700 (PDT)
Received: from homiemail-a74.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a74.g.dreamhost.com (Postfix) with ESMTP id 90EF167C075 for <nfsv4@ietf.org>; Fri,  8 Apr 2011 12:14:42 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=pyCD5lX8uT5tljNroCL2EtHq7z3Bjyo9Ust3M2yhunI7 RIC6W8mi/sr5aY+8FuoivL+B6ycsm2jGKYC5E1BKBJMRcKeBWI1B4IQR3jQEAtlm nvq8LB8nUEFy4pkgwbWdtJihb6ci7po7Ly+9g9wHTW9IKHnH0aFzYUhTBZzhYIs=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=mN2WLmAMHpOEk6scUqH3xgHTiGQ=; b=bIl20C27ngA vC3fznI4eru4jHwmPmm6BIiiEe71aStAXf7qYJK3StkHpIRvHlu6qcs9wSXOXCyU /0aLqZiCxZawab6xhAmJ2ArZfrb3uWVQy0GiRGXq2U+8lljDmXk7RjQKDFkCpQK4 pC7kJtIehKVDw7rn6JWPa4ikN+n8TeqE=
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a74.g.dreamhost.com (Postfix) with ESMTPSA id 6367A67C073 for <nfsv4@ietf.org>; Fri,  8 Apr 2011 12:14:42 -0700 (PDT)
Received: by vws12 with SMTP id 12so3607902vws.31 for <nfsv4@ietf.org>; Fri, 08 Apr 2011 12:14:41 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.92.172 with SMTP id cn12mr30565vdb.294.1302290081754; Fri, 08 Apr 2011 12:14:41 -0700 (PDT)
Received: by 10.52.166.42 with HTTP; Fri, 8 Apr 2011 12:14:41 -0700 (PDT)
In-Reply-To: <4D9F2CE4.90200@davequigley.com>
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <4D9DBC25.7000409@oracle.com> <BANLkTinQ+qtGOeW=_MQbOiCUWdRiPg70hw@mail.gmail.com> <4D9DEAF3.2050000@oracle.com> <BANLkTi=_=cdXG-LNTTAkg9Hyr+kj2q0DMQ@mail.gmail.com> <4D9DF43E.8070100@oracle.com> <BANLkTinCPpyU4bKca-oknxFZZfgwOcbgSQ@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF292A@MX14A.corp.emc.com> <BANLkTi=UQedkJ3EYDWCfYrrr6UOcq85HpA@mail.gmail.com> <4D9F2CE4.90200@davequigley.com>
Date: Fri, 8 Apr 2011 14:14:41 -0500
Message-ID: <BANLkTinU9cAHiy99cPVf1ij5iQtFk2-9fg@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Dave Quigley <dpquigl@davequigley.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] RPCSEC_GSSv3 implementation requirement
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 19:12:57 -0000

On Fri, Apr 8, 2011 at 10:42 AM, Dave Quigley <dpquigl@davequigley.com> wro=
te:
> On 4/7/2011 2:39 PM, Nico Williams wrote:
>> IOW, I think that RPCSEC_GSSv3 is required when MAC-aware _servers_
>> are desired. =C2=A0RPCSEC_GSSv3 is only not required when dumb servers a=
re
>> used.
>
> I agree with this statement. I think for certain environments though that
> there are people with security models where dumb servers are acceptable.

Indeed.  We really have two models: dumb servers + smart clients, and
smart servers + clients of either flavor.  But in the case of smart
server + smart client we really, really want to have RPCSEC_GSSv3 --
not having it means that we might as well have dumb server + smart
clients and a configuration-heavy environment like Solaris TX.

Of course, and to be fair to Solaris TX, a lot of configuration could
be needed in all cases.  For example, an MLS environment with smart
servers and clients using RPCSEC_GSSv3 would either need as much
configuration as Solaris TX _or_ it would require that the GSS-API
credentials bear their principals' label ranges (which would then have
to be configured in the KDCs, CAs, AAA servers, and other
authorities).

It is the prospect of being able to push the configuration to the
credentials issuers that is particularly enticing here!  It's not that
that reduces configuration, but that it simplifies management.

Nico
--

From Tom.Haynes@netapp.com  Fri Apr  8 13:06:23 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8B3343A6A1B for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 13:06:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.471
X-Spam-Level: 
X-Spam-Status: No, score=-10.471 tagged_above=-999 required=5 tests=[AWL=0.128, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bG+K1U+KRzze for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 13:06:20 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by core3.amsl.com (Postfix) with ESMTP id CB6993A6957 for <nfsv4@ietf.org>; Fri,  8 Apr 2011 13:06:20 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.63,325,1299484800"; d="scan'208";a="540101913"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 08 Apr 2011 13:08:06 -0700
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p38K835B004638; Fri, 8 Apr 2011 13:08:06 -0700 (PDT)
Received: from rtprsexc2-prd.hq.netapp.com ([10.100.161.115]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 8 Apr 2011 13:08:05 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 8 Apr 2011 16:08:02 -0400
Received: from maute-lxp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 8 Apr 2011 16:08:01 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <20110408121223.GB15449@tortuga.czech.sun.com>
Date: Fri, 8 Apr 2011 15:08:00 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <379E24D9-8495-4FCF-A85D-F49DF08B1EA0@netapp.com>
References: <20110403114257.GA13873@telcontar.in.telka.sk> <F4A45CE5-EC4E-46A5-8CC1-004162232595@netapp.com> <20110407143816.GP15449@tortuga.czech.sun.com> <B006952C-BFE5-4788-BD4B-0A74036AF9BF@netapp.com> <20110407144911.GQ15449@tortuga.czech.sun.com> <20110407151123.GS15449@tortuga.czech.sun.com> <D4DFAC6A-5016-4014-907A-299B7D344ACD@netapp.com> <20110408121223.GB15449@tortuga.czech.sun.com>
To: Marcel Telka <marcel.telka@oracle.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 08 Apr 2011 20:08:01.0862 (UTC) FILETIME=[A9D4EE60:01CBF628]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] RFC3530bis: open owner vs. lock owner
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 20:06:23 -0000

On Apr 8, 2011, at 7:12 AM, Marcel Telka wrote:

> On Thu, Apr 07, 2011 at 04:34:38PM -0500, Thomas Haynes wrote:
>>=20
>> That means we just have to check to see if every remaining lock-owner =
is referencing
>> a lock-owner or an open-owner, or both.
>>=20
>> And we see instances of both.
>>=20
>>>=20
>>> The paragraph above looks like a recursion:
>>> To understand recursion you must first understood the recursion. :-)
>>>=20
>>=20
>>=20
>> I'm fine with changing it to:
>>=20
>> This text treats "lock-owner" as
>> meaning both a open-owner and a lock-owner.  Also, a "lock" can refer
>> to both a byte-range and share lock.
>=20
> The removal of NFSv4.1 reference will not fix the recursion issue.
>=20
> What about walking through all of the text and where "lock owner and =
open
> owner" should be referred, just use "L-O and/or O-O" instead of =
current "L-O".
> Yes, I know the current wording is inherited from 3010...

How about:

open-owner always means open-owner
lock-owner always means lock-owner
state-owner always means either the open-owner or the lock-owner

We already use state-owner about 5 times in that context.

I..e, I'm looking at section 9.1.5.  Use of the Stateid and Locking
and it reads cleaner if we say state-owner instead of "L-O and/or O-O"



>=20
> The overloaded term "lock-owner" will always cause troubles.
>=20
>=20
> Another example I found:
>=20
> 8.1.8.  Use of Open Confirmation
>=20
>   In the case that an OPEN is retransmitted and the lock_owner is =
being
>   used for the first time or the lock_owner state has been previously
>   released by the server, the use of the OPEN_CONFIRM operation will
>   prevent incorrect behavior.  When the server observes the use of the
>   lock_owner for the first time, it will direct the client to perform
>   the OPEN_CONFIRM for the corresponding OPEN.  This sequence
>   establishes the use of an lock_owner and associated sequence number.
>   Since the OPEN_CONFIRM sequence connects a new open_owner on the
>   server with an existing open_owner on a client, the sequence number
>   may have any value.  The OPEN_CONFIRM step assures the server that
>   the value received is the correct one.  See the section =
"OPEN_CONFIRM
>   - Confirm Open" for further details.
>=20
>=20
> The lock_owner above should refer to open-owner only. lock_owner has =
nothing
> with OPEN_CONFIRM.

Agreed and changed.



From marcel.telka@oracle.com  Fri Apr  8 13:27:45 2011
Return-Path: <marcel.telka@oracle.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EA6C33A68CB for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 13:27:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.598
X-Spam-Level: 
X-Spam-Status: No, score=-6.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5-fMn6mne1sq for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 13:27:45 -0700 (PDT)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id 767803A6A10 for <nfsv4@ietf.org>; Fri,  8 Apr 2011 13:26:53 -0700 (PDT)
Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p38KSbWc031015 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 8 Apr 2011 20:28:38 GMT
Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p38KSaSg018396 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 8 Apr 2011 20:28:36 GMT
Received: from abhmt019.oracle.com (abhmt019.oracle.com [141.146.116.28]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p38KSagv021255; Fri, 8 Apr 2011 15:28:36 -0500
Received: from tortuga.czech.sun.com (/129.157.71.66) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 08 Apr 2011 13:28:35 -0700
Date: Fri, 8 Apr 2011 22:28:32 +0200
From: Marcel Telka <marcel.telka@oracle.com>
To: Thomas Haynes <thomas@netapp.com>
Message-ID: <20110408202831.GI15449@tortuga.czech.sun.com>
References: <20110403114257.GA13873@telcontar.in.telka.sk> <F4A45CE5-EC4E-46A5-8CC1-004162232595@netapp.com> <20110407143816.GP15449@tortuga.czech.sun.com> <B006952C-BFE5-4788-BD4B-0A74036AF9BF@netapp.com> <20110407144911.GQ15449@tortuga.czech.sun.com> <20110407151123.GS15449@tortuga.czech.sun.com> <D4DFAC6A-5016-4014-907A-299B7D344ACD@netapp.com> <20110408121223.GB15449@tortuga.czech.sun.com> <379E24D9-8495-4FCF-A85D-F49DF08B1EA0@netapp.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <379E24D9-8495-4FCF-A85D-F49DF08B1EA0@netapp.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Source-IP: acsmt358.oracle.com [141.146.40.158]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090202.4D9F6FF5.002B:SCFSTAT5015188,ss=1,fgs=0
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] RFC3530bis: open owner vs. lock owner
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 20:27:46 -0000

On Fri, Apr 08, 2011 at 03:08:00PM -0500, Thomas Haynes wrote:
> 
> On Apr 8, 2011, at 7:12 AM, Marcel Telka wrote:
> 
> > On Thu, Apr 07, 2011 at 04:34:38PM -0500, Thomas Haynes wrote:
> >> 
> >> That means we just have to check to see if every remaining lock-owner is referencing
> >> a lock-owner or an open-owner, or both.
> >> 
> >> And we see instances of both.
> >> 
> >>> 
> >>> The paragraph above looks like a recursion:
> >>> To understand recursion you must first understood the recursion. :-)
> >>> 
> >> 
> >> 
> >> I'm fine with changing it to:
> >> 
> >> This text treats "lock-owner" as
> >> meaning both a open-owner and a lock-owner.  Also, a "lock" can refer
> >> to both a byte-range and share lock.
> > 
> > The removal of NFSv4.1 reference will not fix the recursion issue.
> > 
> > What about walking through all of the text and where "lock owner and open
> > owner" should be referred, just use "L-O and/or O-O" instead of current "L-O".
> > Yes, I know the current wording is inherited from 3010...
> 
> How about:
> 
> open-owner always means open-owner
> lock-owner always means lock-owner
> state-owner always means either the open-owner or the lock-owner

Very good idea to invent something new!
+1

I believe the definition of all three above terms (*-owner) should be placed at
beginning of the RFC. For example in 1.6.



I found this in 1.6.:

   Lock:  The term "lock" is used to refer to both record (byte-range)
      locks as well as share reservations unless specifically stated
      otherwise.


It means that the last sentence here (in 9.1.1.):

   Unlike the text in NFSv4.1 [31], this text treats "lock-owner" as
   meaning both a open-owner and a lock-owner.  Also, a "lock" can refer
   to both a byte-range and share lock.

can be safely removed.

> 
> We already use state-owner about 5 times in that context.
> 
> I..e, I'm looking at section 9.1.5.  Use of the Stateid and Locking
> and it reads cleaner if we say state-owner instead of "L-O and/or O-O"

<cite from 9.1.5. with my comments inlined>

   If the lock-owner performs a READ or WRITE in a situation in which it

# lock-owner cannot perform READ or WRITE. only open-owner can.
# I think this paragraph should be reworded.

   has established a lock or share reservation on the server (any OPEN
   constitutes a share reservation) the stateid (previously returned by

# what stateid? open stateid or lock stateid?

   the server) must be used to indicate what locks, including both byte-
   range locks and share reservations, are held by the lockowner.  If no

# lockowner - one word. wow! (I found such oneword at several places in
# the bis)

   state is established by the client, either byte-range lock or share
   reservation, a stateid of all bits 0 is used.  Regardless whether a
   stateid of all bits 0, or a stateid returned by the server is used,
   if there is a conflicting share reservation or mandatory byte-range
   lock held on the file, the server MUST refuse to service the READ or
   WRITE operation.

-- 
Marcel Telka
RPE, Systems

From Tom.Haynes@netapp.com  Fri Apr  8 14:34:18 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A1A1A3A688A for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 14:34:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.472
X-Spam-Level: 
X-Spam-Status: No, score=-10.472 tagged_above=-999 required=5 tests=[AWL=0.127, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id C-djH29K-3hm for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 14:34:17 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by core3.amsl.com (Postfix) with ESMTP id 4DF563A6820 for <nfsv4@ietf.org>; Fri,  8 Apr 2011 14:34:17 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.63,326,1299484800"; d="scan'208";a="540121640"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 08 Apr 2011 14:36:03 -0700
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p38La2Me026548; Fri, 8 Apr 2011 14:36:03 -0700 (PDT)
Received: from rtprsexc2-prd.hq.netapp.com ([10.100.161.115]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 8 Apr 2011 14:36:03 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 8 Apr 2011 17:36:01 -0400
Received: from maute-lxp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 8 Apr 2011 17:36:00 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <20110408202831.GI15449@tortuga.czech.sun.com>
Date: Fri, 8 Apr 2011 16:35:59 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <97C5792C-2CD6-4926-AF62-C3ABCB1DC6AB@netapp.com>
References: <20110403114257.GA13873@telcontar.in.telka.sk> <F4A45CE5-EC4E-46A5-8CC1-004162232595@netapp.com> <20110407143816.GP15449@tortuga.czech.sun.com> <B006952C-BFE5-4788-BD4B-0A74036AF9BF@netapp.com> <20110407144911.GQ15449@tortuga.czech.sun.com> <20110407151123.GS15449@tortuga.czech.sun.com> <D4DFAC6A-5016-4014-907A-299B7D344ACD@netapp.com> <20110408121223.GB15449@tortuga.czech.sun.com> <379E24D9-8495-4FCF-A85D-F49DF08B1EA0@netapp.com> <20110408202831.GI15449@tortuga.czech.sun.com>
To: Marcel Telka <marcel.telka@oracle.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 08 Apr 2011 21:36:01.0034 (UTC) FILETIME=[F476A6A0:01CBF634]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] RFC3530bis: open owner vs. lock owner
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 21:34:18 -0000

On Apr 8, 2011, at 3:28 PM, Marcel Telka wrote:

> On Fri, Apr 08, 2011 at 03:08:00PM -0500, Thomas Haynes wrote:
>>=20
>> On Apr 8, 2011, at 7:12 AM, Marcel Telka wrote:
>>=20
>>> On Thu, Apr 07, 2011 at 04:34:38PM -0500, Thomas Haynes wrote:
>>>>=20
>>>> That means we just have to check to see if every remaining =
lock-owner is referencing
>>>> a lock-owner or an open-owner, or both.
>>>>=20
>>>> And we see instances of both.
>>>>=20
>>>>>=20
>>>>> The paragraph above looks like a recursion:
>>>>> To understand recursion you must first understood the recursion. =
:-)
>>>>>=20
>>>>=20
>>>>=20
>>>> I'm fine with changing it to:
>>>>=20
>>>> This text treats "lock-owner" as
>>>> meaning both a open-owner and a lock-owner.  Also, a "lock" can =
refer
>>>> to both a byte-range and share lock.
>>>=20
>>> The removal of NFSv4.1 reference will not fix the recursion issue.
>>>=20
>>> What about walking through all of the text and where "lock owner and =
open
>>> owner" should be referred, just use "L-O and/or O-O" instead of =
current "L-O".
>>> Yes, I know the current wording is inherited from 3010...
>>=20
>> How about:
>>=20
>> open-owner always means open-owner
>> lock-owner always means lock-owner
>> state-owner always means either the open-owner or the lock-owner
>=20
> Very good idea to invent something new!
> +1


Not my idea, done by the authors of 3530 when they did 5661.



>=20
> I believe the definition of all three above terms (*-owner) should be =
placed at
> beginning of the RFC. For example in 1.6.
>=20
>=20
>=20
> I found this in 1.6.:
>=20
>   Lock:  The term "lock" is used to refer to both record (byte-range)
>      locks as well as share reservations unless specifically stated
>      otherwise.
>=20
>=20
> It means that the last sentence here (in 9.1.1.):
>=20
>   Unlike the text in NFSv4.1 [31], this text treats "lock-owner" as
>   meaning both a open-owner and a lock-owner.  Also, a "lock" can =
refer
>   to both a byte-range and share lock.
>=20
> can be safely removed.


Yes, I had already done that in my working copy.

These were somewhat already there in the Introduction, but I'll call =
them out as:


   Stateid:  A stateid is a 128-bit quantity returned by a server that
      uniquely defines the open and locking states provided by the
      server for a specific open-owner or lock-owner/open-owner pair for
      a specific file and type of lock.

      lock-owner:  An owner of a byte-range lock.

      open-owner:  An owner of an open.

      state-owner:  Either a lock-owner or an open-owner.


>=20
>>=20
>> We already use state-owner about 5 times in that context.
>>=20
>> I..e, I'm looking at section 9.1.5.  Use of the Stateid and Locking
>> and it reads cleaner if we say state-owner instead of "L-O and/or =
O-O"
>=20
> <cite from 9.1.5. with my comments inlined>
>=20
>   If the lock-owner performs a READ or WRITE in a situation in which =
it
>=20
> # lock-owner cannot perform READ or WRITE. only open-owner can.
> # I think this paragraph should be reworded.


But that isn't what the spec states:

   The stateid value for a READ request represents a value returned from
   a previous byte-range lock or share reservation request or the
   stateid associated with a delegation.  The stateid is used by the
   server to verify that the associated share reservation and any byte-
   range locks are still valid and to update lease timeouts for the
   client.

So if the stateid is from a byte-range lock, then it is from the =
lock-owner
and not the open-owner.


>=20
>   has established a lock or share reservation on the server (any OPEN
>   constitutes a share reservation) the stateid (previously returned by
>=20
> # what stateid? open stateid or lock stateid?
>=20
>   the server) must be used to indicate what locks, including both =
byte-
>   range locks and share reservations, are held by the lockowner.  If =
no
>=20
> # lockowner - one word. wow! (I found such oneword at several places =
in
> # the bis)
>=20
>   state is established by the client, either byte-range lock or share
>   reservation, a stateid of all bits 0 is used.  Regardless whether a
>   stateid of all bits 0, or a stateid returned by the server is used,
>   if there is a conflicting share reservation or mandatory byte-range
>   lock held on the file, the server MUST refuse to service the READ or
>   WRITE operation.
>=20
> --=20
> Marcel Telka
> RPE, Systems


From david.black@emc.com  Fri Apr  8 14:56:06 2011
Return-Path: <david.black@emc.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 145123A697A for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 14:56:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.497
X-Spam-Level: 
X-Spam-Status: No, score=-106.497 tagged_above=-999 required=5 tests=[AWL=0.102, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4-ZflqIbNWet for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 14:56:05 -0700 (PDT)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by core3.amsl.com (Postfix) with ESMTP id 0A1213A688A for <nfsv4@ietf.org>; Fri,  8 Apr 2011 14:56:03 -0700 (PDT)
Received: from hop04-l1d11-si02.isus.emc.com (HOP04-L1D11-SI02.isus.emc.com [10.254.111.55]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p38Lvc3h004625 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 8 Apr 2011 17:57:41 -0400
Received: from mailhub.lss.emc.com (mailhub.lss.emc.com [10.254.221.251]) by hop04-l1d11-si02.isus.emc.com (RSA Interceptor); Fri, 8 Apr 2011 17:57:30 -0400
Received: from mxhub10.corp.emc.com (mxhub10.corp.emc.com [10.254.92.105]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p38LqUjC020767; Fri, 8 Apr 2011 17:52:30 -0400
Received: from mx14a.corp.emc.com ([169.254.2.150]) by mxhub10.corp.emc.com ([10.254.92.105]) with mapi; Fri, 8 Apr 2011 17:52:29 -0400
From: <david.black@emc.com>
To: <nico@cryptonector.com>, <dpquigl@davequigley.com>
Date: Fri, 8 Apr 2011 17:52:28 -0400
Thread-Topic: [nfsv4] RPCSEC_GSSv3 implementation requirement
Thread-Index: Acv2JrepkWCaUZNARWeRHm1OAISBBgADqGbA
Message-ID: <7C4DFCE962635144B8FAE8CA11D0BF1E041664F540@MX14A.corp.emc.com>
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <4D9DBC25.7000409@oracle.com> <BANLkTinQ+qtGOeW=_MQbOiCUWdRiPg70hw@mail.gmail.com> <4D9DEAF3.2050000@oracle.com> <BANLkTi=_=cdXG-LNTTAkg9Hyr+kj2q0DMQ@mail.gmail.com> <4D9DF43E.8070100@oracle.com> <BANLkTinCPpyU4bKca-oknxFZZfgwOcbgSQ@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF292A@MX14A.corp.emc.com> <BANLkTi=UQedkJ3EYDWCfYrrr6UOcq85HpA@mail.gmail.com> <4D9F2CE4.90200@davequigley.com> <BANLkTinU9cAHiy99cPVf1ij5iQtFk2-9fg@mail.gmail.com>
In-Reply-To: <BANLkTinU9cAHiy99cPVf1ij5iQtFk2-9fg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-EMM-MHVC: 1
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] RPCSEC_GSSv3 implementation requirement
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 21:56:06 -0000

TmljbywNCg0KPiBJbmRlZWQuICBXZSByZWFsbHkgaGF2ZSB0d28gbW9kZWxzOiBkdW1iIHNlcnZl
cnMgKyBzbWFydCBjbGllbnRzLCBhbmQNCj4gc21hcnQgc2VydmVycyArIGNsaWVudHMgb2YgZWl0
aGVyIGZsYXZvci4gIEJ1dCBpbiB0aGUgY2FzZSBvZiBzbWFydA0KPiBzZXJ2ZXIgKyBzbWFydCBj
bGllbnQgd2UgcmVhbGx5LCByZWFsbHkgd2FudCB0byBoYXZlIFJQQ1NFQ19HU1N2MyAtLQ0KPiBu
b3QgaGF2aW5nIGl0IG1lYW5zIHRoYXQgd2UgbWlnaHQgYXMgd2VsbCBoYXZlIGR1bWIgc2VydmVy
ICs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Gl0IHNpbXBsaWZpZXMg
bWFuYWdlbWVudC4NCj4gDQo+IE5pY28NCj4gLS0NCj4gX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX18NCj4gbmZzdjQgbWFpbGluZyBsaXN0DQo+IG5mc3Y0QGll
dGYub3JnDQo+IGh0dHBzOi8vd3d3LmlldGYub3JnL21haWxtYW4vbGlzdGluZm8vbmZzdjQNCg==

From Trond.Myklebust@netapp.com  Fri Apr  8 15:01:28 2011
Return-Path: <Trond.Myklebust@netapp.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C2FEC3A6A1E for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 15:01:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.556
X-Spam-Level: 
X-Spam-Status: No, score=-10.556 tagged_above=-999 required=5 tests=[AWL=0.043, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XzZdlSECaFg6 for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 15:01:28 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by core3.amsl.com (Postfix) with ESMTP id 329143A6A1C for <nfsv4@ietf.org>; Fri,  8 Apr 2011 15:01:28 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.63,326,1299484800"; d="scan'208";a="540127190"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 08 Apr 2011 15:03:13 -0700
Received: from svlrsexc2-prd.hq.netapp.com (svlrsexc2-prd.hq.netapp.com [10.57.115.31]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p38M3Dhq001848; Fri, 8 Apr 2011 15:03:13 -0700 (PDT)
Received: from SACMVEXC2-PRD.hq.netapp.com ([10.99.115.17]) by svlrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 8 Apr 2011 15:03:13 -0700
Received: from 10.58.56.170 ([10.58.56.170]) by SACMVEXC2-PRD.hq.netapp.com ([10.99.115.16]) with Microsoft Exchange Server HTTP-DAV ;  Fri,  8 Apr 2011 22:03:13 +0000
Received: from lade.trondhjem.org by SACMVEXC2-PRD.hq.netapp.com; 08 Apr 2011 15:03:12 -0700
From: Trond Myklebust <Trond.Myklebust@netapp.com>
To: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <97C5792C-2CD6-4926-AF62-C3ABCB1DC6AB@netapp.com>
References: <20110403114257.GA13873@telcontar.in.telka.sk> <F4A45CE5-EC4E-46A5-8CC1-004162232595@netapp.com> <20110407143816.GP15449@tortuga.czech.sun.com> <B006952C-BFE5-4788-BD4B-0A74036AF9BF@netapp.com> <20110407144911.GQ15449@tortuga.czech.sun.com> <20110407151123.GS15449@tortuga.czech.sun.com> <D4DFAC6A-5016-4014-907A-299B7D344ACD@netapp.com> <20110408121223.GB15449@tortuga.czech.sun.com> <379E24D9-8495-4FCF-A85D-F49DF08B1EA0@netapp.com> <20110408202831.GI15449@tortuga.czech.sun.com> <97C5792C-2CD6-4926-AF62-C3ABCB1DC6AB@netapp.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Organization: NetApp Inc
Date: Fri, 08 Apr 2011 14:59:32 -0700
Message-ID: <1302299972.3048.12.camel@lade.trondhjem.org>
Mime-Version: 1.0
X-Mailer: Evolution 2.32.2 (2.32.2-1.fc14) 
X-OriginalArrivalTime: 08 Apr 2011 22:03:13.0967 (UTC) FILETIME=[C1C473F0:01CBF638]
Cc: Marcel Telka <marcel.telka@oracle.com>, nfsv4@ietf.org
Subject: Re: [nfsv4] RFC3530bis: open owner vs. lock owner
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 22:01:28 -0000

On Fri, 2011-04-08 at 16:35 -0500, Thomas Haynes wrote:
> These were somewhat already there in the Introduction, but I'll call them=
 out as:
>=20
>=20
>    Stateid:  A stateid is a 128-bit quantity returned by a server that
>       uniquely defines the open and locking states provided by the
                 ^^^^^^^ identifies
>       server for a specific open-owner or lock-owner/open-owner pair for
>       a specific file and type of lock.
>=20
>       lock-owner:  An owner of a byte-range lock.
>=20
>       open-owner:  An owner of an open.
>=20
>       state-owner:  Either a lock-owner or an open-owner.

Erm.... The stateid may also represent a delegation, which is a form of
"lock" with no associated state owner.

In RFC5661, you also have the case of layout stateids.

If I was trying to describe a stateid, I'd probably start by describing
the general concept as being literally something that is used to label
the present (or past) state of an object. Then you can narrow it down to
the specific examples such as file share locks, byte range locks, and
delegations...


--=20
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@netapp.com
www.netapp.com


From Trond.Myklebust@netapp.com  Fri Apr  8 15:01:28 2011
Return-Path: <Trond.Myklebust@netapp.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CF05C3A6A1C for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 15:01:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.557
X-Spam-Level: 
X-Spam-Status: No, score=-10.557 tagged_above=-999 required=5 tests=[AWL=0.042, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p3xYUy54m0WP for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 15:01:28 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by core3.amsl.com (Postfix) with ESMTP id 107FB3A697A for <nfsv4@ietf.org>; Fri,  8 Apr 2011 15:01:28 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.63,326,1299484800"; d="scan'208";a="540127156"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 08 Apr 2011 15:02:59 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p38M2xSo001586; Fri, 8 Apr 2011 15:02:59 -0700 (PDT)
Received: from SACMVEXC2-PRD.hq.netapp.com ([10.99.115.17]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 8 Apr 2011 15:02:59 -0700
Received: from 10.58.48.197 ([10.58.48.197]) by SACMVEXC2-PRD.hq.netapp.com ([10.99.115.16]) with Microsoft Exchange Server HTTP-DAV ;  Fri,  8 Apr 2011 22:02:56 +0000
Received: from lade.trondhjem.org by SACMVEXC2-PRD.hq.netapp.com; 08 Apr 2011 15:01:03 -0700
From: Trond Myklebust <Trond.Myklebust@netapp.com>
To: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <97C5792C-2CD6-4926-AF62-C3ABCB1DC6AB@netapp.com>
References: <20110403114257.GA13873@telcontar.in.telka.sk> <F4A45CE5-EC4E-46A5-8CC1-004162232595@netapp.com> <20110407143816.GP15449@tortuga.czech.sun.com> <B006952C-BFE5-4788-BD4B-0A74036AF9BF@netapp.com> <20110407144911.GQ15449@tortuga.czech.sun.com> <20110407151123.GS15449@tortuga.czech.sun.com> <D4DFAC6A-5016-4014-907A-299B7D344ACD@netapp.com> <20110408121223.GB15449@tortuga.czech.sun.com> <379E24D9-8495-4FCF-A85D-F49DF08B1EA0@netapp.com> <20110408202831.GI15449@tortuga.czech.sun.com> <97C5792C-2CD6-4926-AF62-C3ABCB1DC6AB@netapp.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Organization: NetApp Inc
Date: Fri, 08 Apr 2011 14:59:32 -0700
Message-ID: <1302299972.3048.12.camel@lade.trondhjem.org>
Mime-Version: 1.0
X-Mailer: Evolution 2.32.2 (2.32.2-1.fc14) 
X-OriginalArrivalTime: 08 Apr 2011 22:02:59.0490 (UTC) FILETIME=[B9237020:01CBF638]
Cc: Marcel Telka <marcel.telka@oracle.com>, nfsv4@ietf.org
Subject: Re: [nfsv4] RFC3530bis: open owner vs. lock owner
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 22:01:28 -0000

On Fri, 2011-04-08 at 16:35 -0500, Thomas Haynes wrote:
> These were somewhat already there in the Introduction, but I'll call them=
 out as:
>=20
>=20
>    Stateid:  A stateid is a 128-bit quantity returned by a server that
>       uniquely defines the open and locking states provided by the
                 ^^^^^^^ identifies
>       server for a specific open-owner or lock-owner/open-owner pair for
>       a specific file and type of lock.
>=20
>       lock-owner:  An owner of a byte-range lock.
>=20
>       open-owner:  An owner of an open.
>=20
>       state-owner:  Either a lock-owner or an open-owner.

Erm.... The stateid may also represent a delegation, which is a form of
"lock" with no associated state owner.

In RFC5661, you also have the case of layout stateids.

If I was trying to describe a stateid, I'd probably start by describing
the general concept as being literally something that is used to label
the present (or past) state of an object. Then you can narrow it down to
the specific examples such as file share locks, byte range locks, and
delegations...


--=20
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@netapp.com
www.netapp.com


From Trond.Myklebust@netapp.com  Fri Apr  8 15:01:31 2011
Return-Path: <Trond.Myklebust@netapp.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A09BD3A6A2F for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 15:01:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.559
X-Spam-Level: 
X-Spam-Status: No, score=-10.559 tagged_above=-999 required=5 tests=[AWL=0.040, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uoff5oKKQuhX for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 15:01:28 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by core3.amsl.com (Postfix) with ESMTP id 22AAC3A6A1B for <nfsv4@ietf.org>; Fri,  8 Apr 2011 15:01:28 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.63,326,1299484800"; d="scan'208";a="540127157"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 08 Apr 2011 15:02:59 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p38M2xSq001586; Fri, 8 Apr 2011 15:02:59 -0700 (PDT)
Received: from SACMVEXC2-PRD.hq.netapp.com ([10.99.115.17]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 8 Apr 2011 15:02:59 -0700
Received: from 10.58.48.197 ([10.58.48.197]) by SACMVEXC2-PRD.hq.netapp.com ([10.99.115.16]) with Microsoft Exchange Server HTTP-DAV ;  Fri,  8 Apr 2011 22:02:56 +0000
Received: from lade.trondhjem.org by SACMVEXC2-PRD.hq.netapp.com; 08 Apr 2011 14:59:32 -0700
From: Trond Myklebust <Trond.Myklebust@netapp.com>
To: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <97C5792C-2CD6-4926-AF62-C3ABCB1DC6AB@netapp.com>
References: <20110403114257.GA13873@telcontar.in.telka.sk> <F4A45CE5-EC4E-46A5-8CC1-004162232595@netapp.com> <20110407143816.GP15449@tortuga.czech.sun.com> <B006952C-BFE5-4788-BD4B-0A74036AF9BF@netapp.com> <20110407144911.GQ15449@tortuga.czech.sun.com> <20110407151123.GS15449@tortuga.czech.sun.com> <D4DFAC6A-5016-4014-907A-299B7D344ACD@netapp.com> <20110408121223.GB15449@tortuga.czech.sun.com> <379E24D9-8495-4FCF-A85D-F49DF08B1EA0@netapp.com> <20110408202831.GI15449@tortuga.czech.sun.com> <97C5792C-2CD6-4926-AF62-C3ABCB1DC6AB@netapp.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Organization: NetApp Inc
Date: Fri, 08 Apr 2011 14:59:32 -0700
Message-ID: <1302299972.3048.12.camel@lade.trondhjem.org>
Mime-Version: 1.0
X-Mailer: Evolution 2.32.2 (2.32.2-1.fc14) 
X-OriginalArrivalTime: 08 Apr 2011 22:02:59.0709 (UTC) FILETIME=[B944DAD0:01CBF638]
Cc: Marcel Telka <marcel.telka@oracle.com>, nfsv4@ietf.org
Subject: Re: [nfsv4] RFC3530bis: open owner vs. lock owner
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 22:01:31 -0000

On Fri, 2011-04-08 at 16:35 -0500, Thomas Haynes wrote:
> These were somewhat already there in the Introduction, but I'll call them=
 out as:
>=20
>=20
>    Stateid:  A stateid is a 128-bit quantity returned by a server that
>       uniquely defines the open and locking states provided by the
                 ^^^^^^^ identifies
>       server for a specific open-owner or lock-owner/open-owner pair for
>       a specific file and type of lock.
>=20
>       lock-owner:  An owner of a byte-range lock.
>=20
>       open-owner:  An owner of an open.
>=20
>       state-owner:  Either a lock-owner or an open-owner.

Erm.... The stateid may also represent a delegation, which is a form of
"lock" with no associated state owner.

In RFC5661, you also have the case of layout stateids.

If I was trying to describe a stateid, I'd probably start by describing
the general concept as being literally something that is used to label
the present (or past) state of an object. Then you can narrow it down to
the specific examples such as file share locks, byte range locks, and
delegations...


--=20
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@netapp.com
www.netapp.com


From nico@cryptonector.com  Fri Apr  8 15:01:36 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2C0ED3A6A12 for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 15:01:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.943
X-Spam-Level: 
X-Spam-Status: No, score=-1.943 tagged_above=-999 required=5 tests=[AWL=0.034,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VZa1rlGRf0E7 for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 15:01:35 -0700 (PDT)
Received: from homiemail-a64.g.dreamhost.com (caiajhbdccac.dreamhost.com [208.97.132.202]) by core3.amsl.com (Postfix) with ESMTP id 836B33A6A38 for <nfsv4@ietf.org>; Fri,  8 Apr 2011 15:01:35 -0700 (PDT)
Received: from homiemail-a64.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a64.g.dreamhost.com (Postfix) with ESMTP id 12B6D438084 for <nfsv4@ietf.org>; Fri,  8 Apr 2011 15:03:21 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=FMjBKIX0dbTR+ty39xJ/8Y4+HovNIaUmDAQ2ct1rH/Du CXIRLALYrPlRbC6jux6QXTIPnvAkcQGkfSaVRuVtUQBncwGY3wg89zlXzkdndV6c yEuzQcAviJz5WzbZnYnr5MvvK+i5uVw7GUfmGWNW9ucPrd+j4qspLbQJpIkEEro=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=7z27Kf5lxn7BwR3yDtIx1XNgh7Q=; b=HMNLKDc/bPL igo3216gRgaIYoWKOILPtl+fdjMW5OctGo/C/mlx7EPuZliTvTCXdYEI6GoVmKQY 6wLQ6KiVcvPi12lCwWjQodIzZmYR+FYvCj0DsxTYrkEdi5ur6a/O8A+kw4sOdotT bSiKuMyvR7KYYPuHerufaPCLoUMgVXPA=
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a64.g.dreamhost.com (Postfix) with ESMTPSA id DBA5F438080 for <nfsv4@ietf.org>; Fri,  8 Apr 2011 15:03:20 -0700 (PDT)
Received: by vxg33 with SMTP id 33so3688869vxg.31 for <nfsv4@ietf.org>; Fri, 08 Apr 2011 15:03:20 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.69.240 with SMTP id h16mr3943438vdu.214.1302300200317; Fri, 08 Apr 2011 15:03:20 -0700 (PDT)
Received: by 10.52.166.42 with HTTP; Fri, 8 Apr 2011 15:03:20 -0700 (PDT)
In-Reply-To: <7C4DFCE962635144B8FAE8CA11D0BF1E041664F540@MX14A.corp.emc.com>
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <4D9DBC25.7000409@oracle.com> <BANLkTinQ+qtGOeW=_MQbOiCUWdRiPg70hw@mail.gmail.com> <4D9DEAF3.2050000@oracle.com> <BANLkTi=_=cdXG-LNTTAkg9Hyr+kj2q0DMQ@mail.gmail.com> <4D9DF43E.8070100@oracle.com> <BANLkTinCPpyU4bKca-oknxFZZfgwOcbgSQ@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF292A@MX14A.corp.emc.com> <BANLkTi=UQedkJ3EYDWCfYrrr6UOcq85HpA@mail.gmail.com> <4D9F2CE4.90200@davequigley.com> <BANLkTinU9cAHiy99cPVf1ij5iQtFk2-9fg@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E041664F540@MX14A.corp.emc.com>
Date: Fri, 8 Apr 2011 17:03:20 -0500
Message-ID: <BANLkTim9YzVMT3YCjJkFVbgwOHQvthbsBg@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: david.black@emc.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] RPCSEC_GSSv3 implementation requirement
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 22:01:36 -0000

On Fri, Apr 8, 2011 at 4:52 PM,  <david.black@emc.com> wrote:
> Nico,
>
>> Indeed. =C2=A0We really have two models: dumb servers + smart clients, a=
nd
>> smart servers + clients of either flavor. =C2=A0But in the case of smart
>> server + smart client we really, really want to have RPCSEC_GSSv3 --
>> not having it means that we might as well have dumb server + smart
>> clients and a configuration-heavy environment like Solaris TX.
>
> I think we need to count to three, as Dave Quigley's drafts did ;-).

What David Q. and I are saying is that smart server + dumb client
isn't all that useful.

Nico
--

From dpquigl@davequigley.com  Fri Apr  8 15:13:29 2011
Return-Path: <dpquigl@davequigley.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9E7823A6A1F for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 15:13:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.522
X-Spam-Level: 
X-Spam-Status: No, score=-2.522 tagged_above=-999 required=5 tests=[AWL=-0.076, BAYES_00=-2.599, HTML_MESSAGE=0.001, SARE_SUB_ENC_UTF8=0.152]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JDDnVR6KybAo for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 15:13:29 -0700 (PDT)
Received: from countercultured.net (countercultured.net [IPv6:2001:470:0:c0d3::2]) by core3.amsl.com (Postfix) with SMTP id 995623A6905 for <nfsv4@ietf.org>; Fri,  8 Apr 2011 15:13:28 -0700 (PDT)
Received: (qmail 30264 invoked from network); 8 Apr 2011 22:15:15 -0000
Received: from countercultured.net (HELO webmail.countercultured.net) (209.51.175.25) by countercultured.net with SMTP; 8 Apr 2011 22:15:15 -0000
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="=_e53f2c468e6639c52898bdb7a3a80f27"
Date: Fri, 08 Apr 2011 18:15:15 -0400
From: David Quigley <dpquigl@davequigley.com>
To: Nico Williams <nico@cryptonector.com>
In-Reply-To: <BANLkTim9YzVMT3YCjJkFVbgwOHQvthbsBg@mail.gmail.com>
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <4D9DBC25.7000409@oracle.com> <BANLkTinQ+qtGOeW=_MQbOiCUWdRiPg70hw@mail.gmail.com> <4D9DEAF3.2050000@oracle.com> <BANLkTi=_=cdXG-LNTTAkg9Hyr+kj2q0DMQ@mail.gmail.com> <4D9DF43E.8070100@oracle.com> <BANLkTinCPpyU4bKca-oknxFZZfgwOcbgSQ@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF292A@MX14A.corp.emc.com> <BANLkTi=UQedkJ3EYDWCfYrrr6UOcq85HpA@mail.gmail.com> <4D9F2CE4.90200@davequigley.com> <BANLkTinU9cAHiy99cPVf1ij5iQtFk2-9fg@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E041664F540@MX14A.corp.emc.com> <BANLkTim9YzVMT3YCjJkFVbgwOHQvthbsBg@mail.gmail.com>
Message-ID: <d2ca997106bae4f6dfecf00ce282f122@countercultured.net>
X-Sender: dpquigl@davequigley.com
User-Agent: RoundCube Webmail/0.5-trunk
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] =?utf-8?q?RPCSEC=5FGSSv3_implementation_requirement?=
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 22:13:29 -0000

--=_e53f2c468e6639c52898bdb7a3a80f27
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=UTF-8



On Fri, 8 Apr 2011 17:03:20 -0500, Nico Williams wrote: 

> On Fri,
Apr 8, 2011 at 4:52 PM, wrote:
>> Nico, 
>> 
>>> Indeed. We really have
two models: dumb servers + smart clients, and smart servers + clients of
either flavor. But in the case of smart server + smart client we really,
really want to have RPCSEC_GSSv3 -- not having it means that we might as
well have dumb server + smart clients and a configuration-heavy
environment like Solaris TX.
>> I think we need to count to three, as
Dave Quigley's drafts did ;-).
> What David Q. and I are saying is that
smart server + dumb client isn't all that useful. Nico -- We actually
kind of have that today. We can have SELinux running on a server with no
labels going in either direction. The problem today is that the NFS
server runs as the kernel_t type which is all powerful so there is no
real policy being enforced. We have an extension that never made it into
the public Labeled NFS code which allows you to take a user and assign a
label to the connection from that user. That is the dumb client/smart
server scenario. We had one customer ask for it and outside of their
specific deployment I don't see it being very
useful.


Links:
------
[1] mailto:david.black@emc.com

--=_e53f2c468e6639c52898bdb7a3a80f27
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8

<p>&nbsp;</p>
<p>On Fri, 8 Apr 2011 17:03:20 -0500, Nico Williams wrote:</p>
<blockquote type=3D"cite" style=3D"padding-left:5px; border-left:#1010ff 2p=
x solid; margin-left:5px; width:100%"><!-- html ignored --><!-- head ignore=
d --><!-- meta ignored -->
<pre>On Fri, Apr 8, 2011 at 4:52 PM,  &lt;<a href=3D"mailto:david.black@emc=
=2Ecom">david.black@emc.com</a>&gt; wrote:
<blockquote type=3D"cite" style=3D"padding-left:5px; border-left:#1010ff 2p=
x solid; margin-left:5px; width:100%">Nico,

<blockquote type=3D"cite" style=3D"padding-left:5px; border-left:#1010ff 2p=
x solid; margin-left:5px; width:100%">Indeed. &nbsp;We really have two mode=
ls: dumb servers + smart clients, and
smart servers + clients of either flavor. &nbsp;But in the case of smart
server + smart client we really, really want to have RPCSEC_GSSv3 --
not having it means that we might as well have dumb server + smart
clients and a configuration-heavy environment like Solaris TX.
</blockquote>
I think we need to count to three, as Dave Quigley's drafts did ;-).
</blockquote>
What David Q. and I are saying is that smart server + dumb client
isn't all that useful.

Nico
--

We actually kind of have that today. We can have SELinux running on a serve=
r with no labels going in either direction. The problem today is that the N=
FS server runs as the kernel_t type which is all powerful so there is no re=
al policy being enforced. We have an extension that never made it into the =
public Labeled NFS code which allows you to take a user and assign a label =
to the connection from that user. That is the dumb client/smart server scen=
ario. We had one customer ask for it and outside of their specific deployme=
nt I don't see it being very useful.</pre>
</blockquote>
--=_e53f2c468e6639c52898bdb7a3a80f27--


From nico@cryptonector.com  Fri Apr  8 15:35:13 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9DA393A6A36 for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 15:35:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.944
X-Spam-Level: 
X-Spam-Status: No, score=-1.944 tagged_above=-999 required=5 tests=[AWL=0.033,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jocIz0OfSI77 for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 15:35:12 -0700 (PDT)
Received: from homiemail-a26.g.dreamhost.com (caiajhbdcagg.dreamhost.com [208.97.132.66]) by core3.amsl.com (Postfix) with ESMTP id A30DA3A67CC for <nfsv4@ietf.org>; Fri,  8 Apr 2011 15:35:12 -0700 (PDT)
Received: from homiemail-a26.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a26.g.dreamhost.com (Postfix) with ESMTP id 600A7B805B for <nfsv4@ietf.org>; Fri,  8 Apr 2011 15:36:58 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=cYDP7rc13IgjTGdC/AtBf XCPTV5c87hoQoOnsVokNraoUxjz1vj5pfHYGpTv5k1DEB7VGh8LrSWAGM7mDoGGd naqEfcEMcNb2sm9c9kDHNGe8JW0Iw1Du3javDWlrRsNMoODNt1Kzzw516TfK9cc+ rMHE+tAQ3fGuolJaR2JyFI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=us/lF+WsWPQlXDqCqc++ 1XQLEAs=; b=CnzaePCNULJM+/e8hgJoLD2AoHmUwaHTbAxvzoc7CYIz1RlfvnMM 0Dh7zvP1uBRB9scmY3+FZATNWvUnOpsu5Oi3iAsYKsU3uNOXsTBPrn3j5PyNtY4d ocVUbKDRfIbouNgJ6eR/rKxSlcFz8NqNPBRK2/EF9+0kL0m2xcBfeWk=
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a26.g.dreamhost.com (Postfix) with ESMTPSA id 3DADAB8056 for <nfsv4@ietf.org>; Fri,  8 Apr 2011 15:36:58 -0700 (PDT)
Received: by vws12 with SMTP id 12so3735390vws.31 for <nfsv4@ietf.org>; Fri, 08 Apr 2011 15:36:57 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.92.38 with SMTP id cj6mr3917040vdb.254.1302302217606; Fri, 08 Apr 2011 15:36:57 -0700 (PDT)
Received: by 10.52.166.42 with HTTP; Fri, 8 Apr 2011 15:36:57 -0700 (PDT)
In-Reply-To: <d2ca997106bae4f6dfecf00ce282f122@countercultured.net>
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <4D9DBC25.7000409@oracle.com> <BANLkTinQ+qtGOeW=_MQbOiCUWdRiPg70hw@mail.gmail.com> <4D9DEAF3.2050000@oracle.com> <BANLkTi=_=cdXG-LNTTAkg9Hyr+kj2q0DMQ@mail.gmail.com> <4D9DF43E.8070100@oracle.com> <BANLkTinCPpyU4bKca-oknxFZZfgwOcbgSQ@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF292A@MX14A.corp.emc.com> <BANLkTi=UQedkJ3EYDWCfYrrr6UOcq85HpA@mail.gmail.com> <4D9F2CE4.90200@davequigley.com> <BANLkTinU9cAHiy99cPVf1ij5iQtFk2-9fg@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E041664F540@MX14A.corp.emc.com> <BANLkTim9YzVMT3YCjJkFVbgwOHQvthbsBg@mail.gmail.com> <d2ca997106bae4f6dfecf00ce282f122@countercultured.net>
Date: Fri, 8 Apr 2011 17:36:57 -0500
Message-ID: <BANLkTikxDimPjd1oPO1r3y3Y9GwDEQpTTw@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: David Quigley <dpquigl@davequigley.com>
Content-Type: text/plain; charset=UTF-8
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] RPCSEC_GSSv3 implementation requirement
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 22:35:13 -0000

On Fri, Apr 8, 2011 at 5:15 PM, David Quigley <dpquigl@davequigley.com> wrote:
> We actually kind of have that today. We can have SELinux running on a server
> with no labels going in either direction. The problem today is that the NFS
> server runs as the kernel_t type which is all powerful so there is no real
> policy being enforced. We have an extension that never made it into the
> public Labeled NFS code which allows you to take a user and assign a label
> to the connection from that user. That is the dumb client/smart server
> scenario. We had one customer ask for it and outside of their specific
> deployment I don't see it being very useful.

Right, you can do smart server/dumb client.  It's just not that
useful.  So to summarize: we have three cases, of which only two are
particularly useful, the most useful one of which requires
RPCSEC_GSSv3.  RPCSEC_GSSv3 not only enables the most useful MAC
scenario, it promises to simplify management by pushing a) label
range/set assignments to credentials issuers (KDCs, CAs, AAA servers,
...), b) making it possible to have multi-label clients with all
parties able to "negotiate" (as it were) useful subject labels for all
operations, c) without having to rely on the network (IP, IPsec) for
security.

I do think this horse has been beaten pretty bad :)  We all seem to be
in agreement regarding the need for RPCSEC_GSSv3.  And RPCSEC_GSSv3
appears to be on course.  We have at least one implementor
contributing comments.  And surely we can get adequate review.

We might be able to WGLC RPCSEC_GSSv3 withing weeks, though I'd feel
more comfortable with a bit longer.

Nico
--

From Tom.Haynes@netapp.com  Fri Apr  8 15:49:57 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id ADEBD3A6A2D for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 15:49:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.474
X-Spam-Level: 
X-Spam-Status: No, score=-10.474 tagged_above=-999 required=5 tests=[AWL=0.125, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Cn9I2Nr2JBIH for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 15:49:57 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by core3.amsl.com (Postfix) with ESMTP id 3AB9F3A67E5 for <nfsv4@ietf.org>; Fri,  8 Apr 2011 15:49:57 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.63,326,1299484800"; d="scan'208";a="540135707"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 08 Apr 2011 15:51:43 -0700
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p38MphZp022879; Fri, 8 Apr 2011 15:51:43 -0700 (PDT)
Received: from rtprsexc2-prd.hq.netapp.com ([10.100.161.115]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 8 Apr 2011 15:51:43 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 8 Apr 2011 18:51:39 -0400
Received: from maute-lxp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 8 Apr 2011 18:51:38 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <1302299972.3048.12.camel@lade.trondhjem.org>
Date: Fri, 8 Apr 2011 17:51:37 -0500
Content-Transfer-Encoding: 7bit
Message-Id: <06353CD0-2E91-4677-B9E4-B5A839835F91@netapp.com>
References: <20110403114257.GA13873@telcontar.in.telka.sk> <F4A45CE5-EC4E-46A5-8CC1-004162232595@netapp.com> <20110407143816.GP15449@tortuga.czech.sun.com> <B006952C-BFE5-4788-BD4B-0A74036AF9BF@netapp.com> <20110407144911.GQ15449@tortuga.czech.sun.com> <20110407151123.GS15449@tortuga.czech.sun.com> <D4DFAC6A-5016-4014-907A-299B7D344ACD@netapp.com> <20110408121223.GB15449@tortuga.czech.sun.com> <379E24D9-8495-4FCF-A85D-F49DF08B1EA0@netapp.com> <20110408202831.GI15449@tortuga.czech.sun.com> <97C5792C-2CD6-4926-AF62-C3ABCB1DC6AB@netapp.com> <1302299972.3048.12.camel@lade.trondhjem.org>
To: Trond Myklebust <Trond.Myklebust@netapp.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 08 Apr 2011 22:51:39.0049 (UTC) FILETIME=[8554C990:01CBF63F]
Cc: Marcel Telka <marcel.telka@oracle.com>, nfsv4@ietf.org
Subject: Re: [nfsv4] RFC3530bis: open owner vs. lock owner
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 22:49:57 -0000

On Apr 8, 2011, at 4:59 PM, Trond Myklebust wrote:

> Erm.... The stateid may also represent a delegation, which is a form of
> "lock" with no associated state owner.

So "delegation-owner"?

;->

From Tom.Haynes@netapp.com  Fri Apr  8 15:53:17 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EE4903A67E5 for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 15:53:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.475
X-Spam-Level: 
X-Spam-Status: No, score=-10.475 tagged_above=-999 required=5 tests=[AWL=0.124, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wstWbMZwa9yd for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 15:53:12 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by core3.amsl.com (Postfix) with ESMTP id E774F3A67CC for <nfsv4@ietf.org>; Fri,  8 Apr 2011 15:53:12 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.63,326,1299484800"; d="scan'208";a="540136281"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 08 Apr 2011 15:54:58 -0700
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p38MswNV013241; Fri, 8 Apr 2011 15:54:58 -0700 (PDT)
Received: from rtprsexc2-prd.hq.netapp.com ([10.100.161.115]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 8 Apr 2011 15:54:59 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 8 Apr 2011 18:54:54 -0400
Received: from maute-lxp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 8 Apr 2011 18:54:53 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <1302299972.3048.12.camel@lade.trondhjem.org>
Date: Fri, 8 Apr 2011 17:54:52 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <80124123-10F5-4E7E-9A71-371178C2EE38@netapp.com>
References: <20110403114257.GA13873@telcontar.in.telka.sk> <F4A45CE5-EC4E-46A5-8CC1-004162232595@netapp.com> <20110407143816.GP15449@tortuga.czech.sun.com> <B006952C-BFE5-4788-BD4B-0A74036AF9BF@netapp.com> <20110407144911.GQ15449@tortuga.czech.sun.com> <20110407151123.GS15449@tortuga.czech.sun.com> <D4DFAC6A-5016-4014-907A-299B7D344ACD@netapp.com> <20110408121223.GB15449@tortuga.czech.sun.com> <379E24D9-8495-4FCF-A85D-F49DF08B1EA0@netapp.com> <20110408202831.GI15449@tortuga.czech.sun.com> <97C5792C-2CD6-4926-AF62-C3ABCB1DC6AB@netapp.com> <1302299972.3048.12.camel@lade.trondhjem.org>
To: Trond Myklebust <Trond.Myklebust@netapp.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 08 Apr 2011 22:54:53.0721 (UTC) FILETIME=[F95D6090:01CBF63F]
Cc: Marcel Telka <marcel.telka@oracle.com>, nfsv4@ietf.org
Subject: Re: [nfsv4] RFC3530bis: open owner vs. lock owner
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 22:53:17 -0000

On Apr 8, 2011, at 4:59 PM, Trond Myklebust wrote:

> On Fri, 2011-04-08 at 16:35 -0500, Thomas Haynes wrote:
>> These were somewhat already there in the Introduction, but I'll call =
them out as:
>>=20
>>=20
>>   Stateid:  A stateid is a 128-bit quantity returned by a server that
>>      uniquely defines the open and locking states provided by the
>                 ^^^^^^^ identifies
>>      server for a specific open-owner or lock-owner/open-owner pair =
for
>>      a specific file and type of lock.
>>=20
>>      lock-owner:  An owner of a byte-range lock.
>>=20
>>      open-owner:  An owner of an open.
>>=20
>>      state-owner:  Either a lock-owner or an open-owner.
>=20
> Erm.... The stateid may also represent a delegation, which is a form =
of
> "lock" with no associated state owner.
>=20
> In RFC5661, you also have the case of layout stateids.
>=20
> If I was trying to describe a stateid, I'd probably start by =
describing
> the general concept as being literally something that is used to label
> the present (or past) state of an object. Then you can narrow it down =
to
> the specific examples such as file share locks, byte range locks, and
> delegations...
>=20

Yeah and that is not where I want to go at all. I've pulled out the =
"*-owner"
from above and I'm going to let the document stand as is.

We don't define 'state-owner' in 5661 and yet we can all figure it out.=

From Internet-Drafts@ietf.org  Fri Apr  8 16:00:02 2011
Return-Path: <Internet-Drafts@ietf.org>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CFA503A6A20; Fri,  8 Apr 2011 16:00:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.588
X-Spam-Level: 
X-Spam-Status: No, score=-102.588 tagged_above=-999 required=5 tests=[AWL=0.011, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f749lr0aWV0x; Fri,  8 Apr 2011 16:00:01 -0700 (PDT)
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A0B2D3A6905; Fri,  8 Apr 2011 16:00:01 -0700 (PDT)
MIME-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 3.16
Message-ID: <20110408230001.18062.64965.idtracker@localhost>
Date: Fri, 08 Apr 2011 16:00:01 -0700
Cc: nfsv4@ietf.org
Subject: [nfsv4] I-D Action:draft-ietf-nfsv4-rfc3530bis-12.txt
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 23:00:03 -0000

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Network File System Version 4 Working Group of the IETF.


	Title           : Network File System (NFS) Version 4 Protocol
	Author(s)       : T. Haynes, D. Noveck
	Filename        : draft-ietf-nfsv4-rfc3530bis-12.txt
	Pages           : 319
	Date            : 2011-04-08

The Network File System (NFS) version 4 is a distributed filesystem
protocol which owes heritage to NFS protocol version 2, RFC 1094, and
version 3, RFC 1813.  Unlike earlier versions, the NFS version 4
protocol supports traditional file access while integrating support
for file locking and the mount protocol.  In addition, support for
strong security (and its negotiation), compound operations, client
caching, and internationalization have been added.  Of course,
attention has been applied to making NFS version 4 operate well in an
Internet environment.

This document, together with the companion XDR description document,
replaces RFC 3530 as the definition of the NFS version 4 protocol.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-nfsv4-rfc3530bis-12.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body; name="draft-ietf-nfsv4-rfc3530bis-12.txt";
	site="ftp.ietf.org"; access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID: <2011-04-08155550.I-D@ietf.org>


--NextPart--

From Internet-Drafts@ietf.org  Fri Apr  8 16:00:03 2011
Return-Path: <Internet-Drafts@ietf.org>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 50F433A67E5; Fri,  8 Apr 2011 16:00:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.588
X-Spam-Level: 
X-Spam-Status: No, score=-102.588 tagged_above=-999 required=5 tests=[AWL=0.011, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LgMqbN+tYDdd; Fri,  8 Apr 2011 16:00:02 -0700 (PDT)
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C91783A67CC; Fri,  8 Apr 2011 16:00:01 -0700 (PDT)
MIME-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 3.16
Message-ID: <20110408230001.18062.37024.idtracker@localhost>
Date: Fri, 08 Apr 2011 16:00:01 -0700
Cc: nfsv4@ietf.org
Subject: [nfsv4] I-D Action:draft-ietf-nfsv4-rfc3530bis-dot-x-07.txt
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 23:00:03 -0000

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Network File System Version 4 Working Group of the IETF.


	Title           : Network File System (NFS) Version 4 External Data Representation Standard (XDR) Description
	Author(s)       : T. Haynes, D. Noveck
	Filename        : draft-ietf-nfsv4-rfc3530bis-dot-x-07.txt
	Pages           : 38
	Date            : 2011-04-08

The Network File System (NFS) version 4 is a distributed filesystem
protocol which owes heritage to NFS protocol version 2, RFC 1094, and
version 3, RFC 1813.  Unlike earlier versions, the NFS version 4
protocol supports traditional file access while integrating support
for file locking and the mount protocol.  In addition, support for
strong security (and its negotiation), compound operations, client
caching, and internationalization have been added.  Of course,
attention has been applied to making NFS version 4 operate well in an
Internet environment.

This document, together with RFC 3530bis replaces RFC 3530 as the
definition of the NFS version 4 protocol.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-nfsv4-rfc3530bis-dot-x-07.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-nfsv4-rfc3530bis-dot-x-07.txt";
	site="ftp.ietf.org"; access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID: <2011-04-08155556.I-D@ietf.org>


--NextPart--

From dpquigl@davequigley.com  Fri Apr  8 17:47:57 2011
Return-Path: <dpquigl@davequigley.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CC3A53A6A50 for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 17:47:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.484
X-Spam-Level: 
X-Spam-Status: No, score=-2.484 tagged_above=-999 required=5 tests=[AWL=-0.038, BAYES_00=-2.599, HTML_MESSAGE=0.001, SARE_SUB_ENC_UTF8=0.152]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DZiUkkp2T+5G for <nfsv4@core3.amsl.com>; Fri,  8 Apr 2011 17:47:57 -0700 (PDT)
Received: from countercultured.net (countercultured.net [IPv6:2001:470:0:c0d3::2]) by core3.amsl.com (Postfix) with SMTP id 96EBA3A6A4F for <nfsv4@ietf.org>; Fri,  8 Apr 2011 17:47:56 -0700 (PDT)
Received: (qmail 7169 invoked from network); 9 Apr 2011 00:49:42 -0000
Received: from countercultured.net (HELO webmail.countercultured.net) (209.51.175.25) by countercultured.net with SMTP; 9 Apr 2011 00:49:42 -0000
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="=_eadcb430f9aee86d526cc684a6ad5cd6"
Date: Fri, 08 Apr 2011 20:49:42 -0400
From: David Quigley <dpquigl@davequigley.com>
To: Nico Williams <nico@cryptonector.com>
In-Reply-To: <BANLkTikxDimPjd1oPO1r3y3Y9GwDEQpTTw@mail.gmail.com>
References: <4D95842E.70708@oracle.com> <4D95B41C.70509@oracle.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DC2@MX14A.corp.emc.com> <4D9DBC25.7000409@oracle.com> <BANLkTinQ+qtGOeW=_MQbOiCUWdRiPg70hw@mail.gmail.com> <4D9DEAF3.2050000@oracle.com> <BANLkTi=_=cdXG-LNTTAkg9Hyr+kj2q0DMQ@mail.gmail.com> <4D9DF43E.8070100@oracle.com> <BANLkTinCPpyU4bKca-oknxFZZfgwOcbgSQ@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF292A@MX14A.corp.emc.com> <BANLkTi=UQedkJ3EYDWCfYrrr6UOcq85HpA@mail.gmail.com> <4D9F2CE4.90200@davequigley.com> <BANLkTinU9cAHiy99cPVf1ij5iQtFk2-9fg@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E041664F540@MX14A.corp.emc.com> <BANLkTim9YzVMT3YCjJkFVbgwOHQvthbsBg@mail.gmail.com> <d2ca997106bae4f6dfecf00ce282f122@countercultured.net> <BANLkTikxDimPjd1oPO1r3y3Y9GwDEQpTTw@mail.gmail.com>
Message-ID: <6bddf79e3ec640efd39ffd4fb037fb78@countercultured.net>
X-Sender: dpquigl@davequigley.com
User-Agent: RoundCube Webmail/0.5-trunk
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] =?utf-8?q?RPCSEC=5FGSSv3_implementation_requirement?=
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 09 Apr 2011 00:47:57 -0000

--=_eadcb430f9aee86d526cc684a6ad5cd6
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=UTF-8



On Fri, 8 Apr 2011 17:36:57 -0500, Nico Williams wrote: 

> On Fri,
Apr 8, 2011 at 5:15 PM, David Quigley wrote:
>> We actually kind of have
that today. We can have SELinux running on a server
>> with no labels
going in either direction. The problem today is that the NFS
>> server
runs as the kernel_t type which is all powerful so there is no real
>>
policy being enforced. We have an extension that never made it into
the
>> public Labeled NFS code which allows you to take a user and
assign a label
>> to the connection from that user. That is the dumb
client/smart server
>> scenario. We had one customer ask for it and
outside of their specific
>> deployment I don't see it being very
useful.
> 
> Right, you can do smart server/dumb client. It's just not
that
> useful. So to summarize: we have three cases, of which only two
are
> particularly useful, the most useful one of which requires
>
RPCSEC_GSSv3. RPCSEC_GSSv3 not only enables the most useful MAC
>
scenario, it promises to simplify management by pushing a) label
>
range/set assignments to credentials issuers (KDCs, CAs, AAA servers,
>
...), b) making it possible to have multi-label clients with all
>
parties able to "negotiate" (as it were) useful subject labels for all
>
operations, c) without having to rely on the network (IP, IPsec) for
>
security.
> 
> I do think this horse has been beaten pretty bad :) We
all seem to be
> in agreement regarding the need for RPCSEC_GSSv3. And
RPCSEC_GSSv3
> appears to be on course. We have at least one
implementor
> contributing comments. And surely we can get adequate
review.
> 
> We might be able to WGLC RPCSEC_GSSv3 withing weeks, though
I'd feel
> more comfortable with a bit longer.
> 
> Nico
> --
> 
> Is
the implementor my guys (or atleast they use to be my guys) at
SPARTA/Cobham or do we have a 2nd implementation besides
ours?


Links:
------
[1] mailto:dpquigl@davequigley.com

--=_eadcb430f9aee86d526cc684a6ad5cd6
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8

<p>&nbsp;</p>
<p>On Fri, 8 Apr 2011 17:36:57 -0500, Nico Williams wrote:</p>
<blockquote type=3D"cite" style=3D"padding-left:5px; border-left:#1010ff 2p=
x solid; margin-left:5px; width:100%"><!-- html ignored --><!-- head ignore=
d --><!-- meta ignored -->
<pre>On Fri, Apr 8, 2011 at 5:15 PM, David Quigley &lt;<a href=3D"mailto:dp=
quigl@davequigley.com">dpquigl@davequigley.com</a>&gt; wrote:<br /><blockqu=
ote type=3D"cite" style=3D"padding-left:5px; border-left:#1010ff 2px solid;=
 margin-left:5px; width:100%">We actually kind of have that today. We can h=
ave SELinux running on a server<br />with no labels going in either directi=
on. The problem today is that the NFS<br />server runs as the kernel_t type=
 which is all powerful so there is no real<br />policy being enforced. We h=
ave an extension that never made it into the<br />public Labeled NFS code w=
hich allows you to take a user and assign a label<br />to the connection fr=
om that user. That is the dumb client/smart server<br />scenario. We had on=
e customer ask for it and outside of their specific<br />deployment I don't=
 see it being very useful.<br /></blockquote><br />Right, you can do smart =
server/dumb client.  It's just not that<br />useful.  So to summarize: we h=
ave three cases, of which only two are<br />particularly useful, the most u=
seful one of which requires<br />RPCSEC_GSSv3.  RPCSEC_GSSv3 not only enabl=
es the most useful MAC<br />scenario, it promises to simplify management by=
 pushing a) label<br />range/set assignments to credentials issuers (KDCs, =
CAs, AAA servers,<br />...), b) making it possible to have multi-label clie=
nts with all<br />parties able to "negotiate" (as it were) useful subject l=
abels for all<br />operations, c) without having to rely on the network (IP=
, IPsec) for<br />security.<br /><br />I do think this horse has been beate=
n pretty bad :)  We all seem to be<br />in agreement regarding the need for=
 RPCSEC_GSSv3.  And RPCSEC_GSSv3<br />appears to be on course.  We have at =
least one implementor<br />contributing comments.  And surely we can get ad=
equate review.<br /><br />We might be able to WGLC RPCSEC_GSSv3 withing wee=
ks, though I'd feel<br />more comfortable with a bit longer.<br /><br />Nic=
o<br />--<br /><br />Is the implementor my guys (or atleast they use to be =
my guys) at SPARTA/Cobham or do we have a 2nd implementation besides ours?<=
/pre>
</blockquote>
--=_eadcb430f9aee86d526cc684a6ad5cd6--


From marcel.telka@oracle.com  Mon Apr 11 00:21:45 2011
Return-Path: <marcel.telka@oracle.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 09C903A6AA0 for <nfsv4@core3.amsl.com>; Mon, 11 Apr 2011 00:21:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.598
X-Spam-Level: 
X-Spam-Status: No, score=-6.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0NmzO6NnpF2y for <nfsv4@core3.amsl.com>; Mon, 11 Apr 2011 00:21:44 -0700 (PDT)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id 3392D3A6A7B for <nfsv4@ietf.org>; Mon, 11 Apr 2011 00:21:44 -0700 (PDT)
Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p3B7LgvF014148 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 11 Apr 2011 07:21:43 GMT
Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p3B7LfT8002113 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 11 Apr 2011 07:21:42 GMT
Received: from abhmt015.oracle.com (abhmt015.oracle.com [141.146.116.24]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p3B7Lfm0015676; Mon, 11 Apr 2011 02:21:41 -0500
Received: from tortuga.czech.sun.com (/129.157.71.66) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 11 Apr 2011 00:21:40 -0700
Date: Mon, 11 Apr 2011 09:21:24 +0200
From: Marcel Telka <marcel.telka@oracle.com>
To: Thomas Haynes <thomas@netapp.com>
Message-ID: <20110411072123.GL15449@tortuga.czech.sun.com>
References: <F4A45CE5-EC4E-46A5-8CC1-004162232595@netapp.com> <20110407143816.GP15449@tortuga.czech.sun.com> <B006952C-BFE5-4788-BD4B-0A74036AF9BF@netapp.com> <20110407144911.GQ15449@tortuga.czech.sun.com> <20110407151123.GS15449@tortuga.czech.sun.com> <D4DFAC6A-5016-4014-907A-299B7D344ACD@netapp.com> <20110408121223.GB15449@tortuga.czech.sun.com> <379E24D9-8495-4FCF-A85D-F49DF08B1EA0@netapp.com> <20110408202831.GI15449@tortuga.czech.sun.com> <97C5792C-2CD6-4926-AF62-C3ABCB1DC6AB@netapp.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <97C5792C-2CD6-4926-AF62-C3ABCB1DC6AB@netapp.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Source-IP: acsmt358.oracle.com [141.146.40.158]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090209.4DA2AC06.007F:SCFSTAT5015188,ss=1,fgs=0
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] RFC3530bis: open owner vs. lock owner
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Apr 2011 07:21:45 -0000

On Fri, Apr 08, 2011 at 04:35:59PM -0500, Thomas Haynes wrote:
> On Apr 8, 2011, at 3:28 PM, Marcel Telka wrote:
> > <cite from 9.1.5. with my comments inlined>
> > 
> >   If the lock-owner performs a READ or WRITE in a situation in which it
> > 
> > # lock-owner cannot perform READ or WRITE. only open-owner can.
> > # I think this paragraph should be reworded.
> 
> 
> But that isn't what the spec states:
> 
>    The stateid value for a READ request represents a value returned from
>    a previous byte-range lock or share reservation request or the
>    stateid associated with a delegation.  The stateid is used by the
>    server to verify that the associated share reservation and any byte-
>    range locks are still valid and to update lease timeouts for the
>    client.
> 
> So if the stateid is from a byte-range lock, then it is from the lock-owner
> and not the open-owner.

True. My mistake.

-- 
Marcel Telka
RPE, Systems

From sds@tycho.nsa.gov  Mon Apr 11 05:56:57 2011
Return-Path: <sds@tycho.nsa.gov>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7B91828C111 for <nfsv4@core3.amsl.com>; Mon, 11 Apr 2011 05:56:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2k7uhkfSnRyd for <nfsv4@core3.amsl.com>; Mon, 11 Apr 2011 05:56:57 -0700 (PDT)
Received: from msux-gh1-uea01.nsa.gov (msux-gh1-uea01.nsa.gov [63.239.65.39]) by core3.amsl.com (Postfix) with ESMTP id C9E0828C0F6 for <nfsv4@ietf.org>; Mon, 11 Apr 2011 05:56:56 -0700 (PDT)
Received: from tarius.tycho.ncsc.mil (localhost [127.0.0.1]) by msux-gh1-uea01.nsa.gov (8.12.10/8.12.10) with ESMTP id p3BCusi6007455; Mon, 11 Apr 2011 12:56:54 GMT
Received: from [144.51.25.131] (moss-pluto [144.51.25.131]) by tarius.tycho.ncsc.mil (8.13.1/8.13.1) with ESMTP id p3BCusrR007185;  Mon, 11 Apr 2011 08:56:54 -0400
From: Stephen Smalley <sds@tycho.nsa.gov>
To: Nico Williams <nico@cryptonector.com>
In-Reply-To: <BANLkTimPw740NiZJpq51Jv+Gh7OMRLnNhQ@mail.gmail.com>
References: <BANLkTimPw740NiZJpq51Jv+Gh7OMRLnNhQ@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
Organization: National Security Agency
Date: Mon, 11 Apr 2011 08:56:54 -0400
Message-ID: <1302526614.7338.12.camel@moss-pluto>
Mime-Version: 1.0
X-Mailer: Evolution 2.32.2 (2.32.2-1.fc14) 
Content-Transfer-Encoding: 7bit
Cc: NFSv4 <nfsv4@ietf.org>
Subject: Re: [nfsv4] Would SElinux folk
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Apr 2011 12:56:57 -0000

On Thu, 2011-04-07 at 20:38 -0500, Nico Williams wrote:
> please confirm whether SElinux has many process label transitions, and
> please characterize the frequency of process label transitions?

On Fedora 14:
# sesearch --type -c process |head -1
Found 5284 semantic te rules:

As to frequency, it can happen whenever there is an exec, although in
practice, a transition is only defined when we need to distinguish the
permissions of the newly executed program from those of its caller
(whether shedding, gaining, or just switching to an orthogonal set of
permissions).  Most processes will stay in label for their lifetime.  A
program designed to invoke a more or less privileged helper would
typically switch labels whenever it invokes that helper.

-- 
Stephen Smalley
National Security Agency


From nico@cryptonector.com  Mon Apr 11 07:31:38 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5B4833A6A7C for <nfsv4@core3.amsl.com>; Mon, 11 Apr 2011 07:31:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.946
X-Spam-Level: 
X-Spam-Status: No, score=-1.946 tagged_above=-999 required=5 tests=[AWL=0.031,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GkFPwwDS93Wm for <nfsv4@core3.amsl.com>; Mon, 11 Apr 2011 07:31:35 -0700 (PDT)
Received: from homiemail-a27.g.dreamhost.com (caiajhbdcaid.dreamhost.com [208.97.132.83]) by core3.amsl.com (Postfix) with ESMTP id 6DFA13A6A1A for <nfsv4@ietf.org>; Mon, 11 Apr 2011 07:31:35 -0700 (PDT)
Received: from homiemail-a27.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a27.g.dreamhost.com (Postfix) with ESMTP id C539059806A for <nfsv4@ietf.org>; Mon, 11 Apr 2011 07:31:35 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=kHo9QQxEEfQDJzmOthNkxw3sGpfrduFr8SxMl6Q09rev NdVbAxptJH0kfxrOkswD/6/1w+qaZe9WWj2fAIfGDfaSQbh9tHtNij/JNrLVVmAP fkXDTQ/q7k6fRWLm0Jm7B9ZZj8kctWFAVMN1URMyZEIi16HXn/NGO0zwTr+65UQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=4F5tNKWPTT+XNJ3riP8HHRDvNHw=; b=oKeq1h7q553 jYKdJ00fKyWV7iNPSfncMvJphga2eRMBnyUcbajId4u022sdmR2jafh8200OxG2v 3KlMyPd3PpJ0POzSNjHpFG3Jee87ngmBH1L4dAwfqju0CNn9hwjIim/Ob1Eshxrr JnjuoP35eOrSgY6zCsTOi+Ss+4sI3Y/Y=
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a27.g.dreamhost.com (Postfix) with ESMTPSA id 98BCC598065 for <nfsv4@ietf.org>; Mon, 11 Apr 2011 07:31:35 -0700 (PDT)
Received: by vws12 with SMTP id 12so5204469vws.31 for <nfsv4@ietf.org>; Mon, 11 Apr 2011 07:31:34 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.69.133 with SMTP id e5mr588150vdu.94.1302532294893; Mon, 11 Apr 2011 07:31:34 -0700 (PDT)
Received: by 10.52.166.42 with HTTP; Mon, 11 Apr 2011 07:31:34 -0700 (PDT)
In-Reply-To: <1302526614.7338.12.camel@moss-pluto>
References: <BANLkTimPw740NiZJpq51Jv+Gh7OMRLnNhQ@mail.gmail.com> <1302526614.7338.12.camel@moss-pluto>
Date: Mon, 11 Apr 2011 09:31:34 -0500
Message-ID: <BANLkTikwVmHeAVayzuCe-zrY2BY9MX_q6Q@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Stephen Smalley <sds@tycho.nsa.gov>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: NFSv4 <nfsv4@ietf.org>
Subject: Re: [nfsv4] Would SElinux folk
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Apr 2011 14:31:38 -0000

On Mon, Apr 11, 2011 at 7:56 AM, Stephen Smalley <sds@tycho.nsa.gov> wrote:
> On Fedora 14:
> # sesearch --type -c process |head -1
> Found 5284 semantic te rules:
>
> As to frequency, it can happen whenever there is an exec, although in
> practice, a transition is only defined when we need to distinguish the
> permissions of the newly executed program from those of its caller
> (whether shedding, gaining, or just switching to an orthogonal set of
> permissions). =C2=A0Most processes will stay in label for their lifetime.=
 =C2=A0A
> program designed to invoke a more or less privileged helper would
> typically switch labels whenever it invokes that helper.

Thanks.  For data access then the number of process label transitions
we can expect out of SElinux sounds much like for any other MAC
scheme.  Access by diskless clients to their / would have many more
process label transitions, but diskless is best handled by allowing
the client full access, letting the client enforce its local MAC
policies.

In conclusion, I don't think we need to pursue an optimization
allowing one RPCSEC_GSSv3 context handle to be used for many different
subject labels.  If that were to become necessary we could pursue it
using the extensibility fields of the RPCSEC_GSSv3 messages (and the
400 bytes afforded by ONC RPC in every RPC).

Nico
--

From Tom.Haynes@netapp.com  Mon Apr 11 07:54:37 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A1E553A6A1F for <nfsv4@core3.amsl.com>; Mon, 11 Apr 2011 07:54:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.477
X-Spam-Level: 
X-Spam-Status: No, score=-10.477 tagged_above=-999 required=5 tests=[AWL=0.122, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xCTUU8tqjzpr for <nfsv4@core3.amsl.com>; Mon, 11 Apr 2011 07:54:35 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by core3.amsl.com (Postfix) with ESMTP id 812A53A69FF for <nfsv4@ietf.org>; Mon, 11 Apr 2011 07:54:35 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.63,339,1299484800"; d="scan'208";a="540528369"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 11 Apr 2011 07:54:36 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3BEsY3c018856; Mon, 11 Apr 2011 07:54:35 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 11 Apr 2011 07:54:34 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 11 Apr 2011 10:54:33 -0400
Received: from ebc05-xp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 11 Apr 2011 10:54:32 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <20110411072123.GL15449@tortuga.czech.sun.com>
Date: Mon, 11 Apr 2011 09:54:31 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <506E992D-60CD-4297-BAAF-47735C0B4C61@netapp.com>
References: <F4A45CE5-EC4E-46A5-8CC1-004162232595@netapp.com> <20110407143816.GP15449@tortuga.czech.sun.com> <B006952C-BFE5-4788-BD4B-0A74036AF9BF@netapp.com> <20110407144911.GQ15449@tortuga.czech.sun.com> <20110407151123.GS15449@tortuga.czech.sun.com> <D4DFAC6A-5016-4014-907A-299B7D344ACD@netapp.com> <20110408121223.GB15449@tortuga.czech.sun.com> <379E24D9-8495-4FCF-A85D-F49DF08B1EA0@netapp.com> <20110408202831.GI15449@tortuga.czech.sun.com> <97C5792C-2CD6-4926-AF62-C3ABCB1DC6AB@netapp.com> <20110411072123.GL15449@tortuga.czech.sun.com>
To: Marcel Telka <marcel.telka@oracle.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 11 Apr 2011 14:54:32.0963 (UTC) FILETIME=[5E17F530:01CBF858]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] RFC3530bis: open owner vs. lock owner
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Apr 2011 14:54:37 -0000

On Apr 11, 2011, at 2:21 AM, Marcel Telka wrote:

> On Fri, Apr 08, 2011 at 04:35:59PM -0500, Thomas Haynes wrote:
>> On Apr 8, 2011, at 3:28 PM, Marcel Telka wrote:
>>> <cite from 9.1.5. with my comments inlined>
>>>=20
>>>  If the lock-owner performs a READ or WRITE in a situation in which =
it
>>>=20
>>> # lock-owner cannot perform READ or WRITE. only open-owner can.
>>> # I think this paragraph should be reworded.
>>=20
>>=20
>> But that isn't what the spec states:
>>=20
>>   The stateid value for a READ request represents a value returned =
from
>>   a previous byte-range lock or share reservation request or the
>>   stateid associated with a delegation.  The stateid is used by the
>>   server to verify that the associated share reservation and any =
byte-
>>   range locks are still valid and to update lease timeouts for the
>>   client.
>>=20
>> So if the stateid is from a byte-range lock, then it is from the =
lock-owner
>> and not the open-owner.
>=20
> True. My mistake.
>=20

Not gunning for blame assignment. Thanks for pushing for a better
clarity in this area.


From Tom.Haynes@netapp.com  Mon Apr 11 08:09:31 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 018F33A6A47 for <nfsv4@core3.amsl.com>; Mon, 11 Apr 2011 08:09:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.478
X-Spam-Level: 
X-Spam-Status: No, score=-10.478 tagged_above=-999 required=5 tests=[AWL=0.121, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3tEaixV2V7HZ for <nfsv4@core3.amsl.com>; Mon, 11 Apr 2011 08:09:30 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by core3.amsl.com (Postfix) with ESMTP id 864613A6889 for <nfsv4@ietf.org>; Mon, 11 Apr 2011 08:09:30 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.63,339,1299484800"; d="scan'208";a="540534068"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 11 Apr 2011 08:09:13 -0700
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3BF9C2f004539; Mon, 11 Apr 2011 08:09:12 -0700 (PDT)
Received: from rtprsexc2-prd.hq.netapp.com ([10.100.161.115]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 11 Apr 2011 08:09:12 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 11 Apr 2011 11:09:11 -0400
Received: from ebc05-xp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 11 Apr 2011 11:09:10 -0400
From: Thomas Haynes <thomas@netapp.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Mon, 11 Apr 2011 10:09:09 -0500
Message-Id: <F1E26510-36B6-40AD-9A10-E04C5DBAF388@netapp.com>
To: nfsv4@ietf.org
Mime-Version: 1.0 (Apple Message framework v1084)
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 11 Apr 2011 15:09:10.0916 (UTC) FILETIME=[6964F440:01CBF85A]
Cc: Kathleen Moriarty <kathleen.moriarty@emc.com>
Subject: [nfsv4] Labeled NFS - agenda bashing for the first meeting
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Apr 2011 15:09:31 -0000

I'm trying to bash out an agenda for the first meeting. At a high level, =
I have:

IETF Note Well Agreement
Kathleen - use cases=20
Nico - RPCSEC_GSSv3

While the RPCSEC_GSSv3 stuff might make more sense in the NFSv4.2 =
meeting,
most of the discussion for it is in the context of LNFS.

The tone I'd like to set for the first couple of meetings is nailing =
down the use
cases to make sure our proposed design will work. Once we are convinced
of that, I'd like us to start in on the deep dives we've seen on the =
mailing lists.

If you have proposed agenda items that fit with that vision (or want to =
whack
me on the head with a new vision), feel free to respond on the WG alias.

----

PS:

  Time: Thursdays 12:30-1:30 PM CST/1:30-2:30 PM EST/10:30-11:30 AM PST
Dial-in: 1-888-765-3653 (us)
         303-218-2659 (international)
     Id: 2787108

From nico@cryptonector.com  Mon Apr 11 08:21:53 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 884793A697E for <nfsv4@core3.amsl.com>; Mon, 11 Apr 2011 08:21:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.947
X-Spam-Level: 
X-Spam-Status: No, score=-1.947 tagged_above=-999 required=5 tests=[AWL=0.030,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id d74y4bG0RTnm for <nfsv4@core3.amsl.com>; Mon, 11 Apr 2011 08:21:52 -0700 (PDT)
Received: from homiemail-a65.g.dreamhost.com (jankymail-mx1.g.dreamhost.com [208.97.132.126]) by core3.amsl.com (Postfix) with ESMTP id 9E2D53A6889 for <nfsv4@ietf.org>; Mon, 11 Apr 2011 08:21:52 -0700 (PDT)
Received: from homiemail-a65.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a65.g.dreamhost.com (Postfix) with ESMTP id 2344E7E4065 for <nfsv4@ietf.org>; Mon, 11 Apr 2011 08:21:53 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=uwYo7nXvdZBPDNwxaJhnr P/HyoPOsTMiLKyOUdz3r+0ulgS3kBAhlMQJBL8EzNSbjvjvbHZXI7270MBHbNl20 47F+WZkU8xS52vJK3/HSZYFHs8jLxvoQ+qRLuxvAA7z0D8Zjtz/WWCu4KKcdMz9e hpbwbP/yBN7/gzxZEcdzbc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=zrUCddqHD0KPZzqOg/8I sFle1pc=; b=DUdQ5vK7MRdbml7pKmDcTlWdNul3b33Adz/amAfBIDTsMawn/ljI BgVjXSJGYeYCC9E9+Fu3a04ViyUbFgISQVuJER7mkFKNpMdkVYL2hUNiegpSv5Y6 t71GyaWe3G65wOUXeSC2K/mwbTZ/Vn+kckR6kdtdzFfc8KFb/SstAkA=
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a65.g.dreamhost.com (Postfix) with ESMTPSA id E91797E4062 for <nfsv4@ietf.org>; Mon, 11 Apr 2011 08:21:52 -0700 (PDT)
Received: by vxg33 with SMTP id 33so5226321vxg.31 for <nfsv4@ietf.org>; Mon, 11 Apr 2011 08:21:52 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.91.39 with SMTP id cb7mr674544vdb.214.1302535312352; Mon, 11 Apr 2011 08:21:52 -0700 (PDT)
Received: by 10.52.166.42 with HTTP; Mon, 11 Apr 2011 08:21:52 -0700 (PDT)
In-Reply-To: <F1E26510-36B6-40AD-9A10-E04C5DBAF388@netapp.com>
References: <F1E26510-36B6-40AD-9A10-E04C5DBAF388@netapp.com>
Date: Mon, 11 Apr 2011 10:21:52 -0500
Message-ID: <BANLkTinqFE+aTL8p-6UJj1+5yR4dTY7tig@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Thomas Haynes <thomas@netapp.com>
Content-Type: text/plain; charset=UTF-8
Cc: Kathleen Moriarty <kathleen.moriarty@emc.com>, nfsv4@ietf.org
Subject: Re: [nfsv4] Labeled NFS - agenda bashing for the first meeting
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Apr 2011 15:21:53 -0000

Having much less of a stake in RPCSEC_GSSv3 (and NFSv4) than I used
to, I'd rather focus my energy on what I can bring to the table:
addressing technical issues that come up and related issues with the
I-D text.  I've already brought a fair bit of energy on use cases, but
that's not really a good use of my volunteer time at this time, so
I'll bow out of that discussion.  Of course, I think use cases are
pretty much addressed already on the list (and we seem to have fairly
strong consensus on the need for RPCSEC_GSSv3 in the more desirable
LNFS use cases, as well as in non-LNFS use cases as well), leaving
mostly a need to write up the use cases -- something I'm not
interested in doing at this time.

To this end, an eventual meeting that focuses primarily on technical
issues with RPCSEC_GSSv3 as it stands will be quite useful,
particularly given that the current design seems fairly close to ready
(we need to absorb recent implementor comments, implying minor
changes), though I agree that use cases should come first.

Nico
--

From Tom.Haynes@netapp.com  Mon Apr 11 08:24:09 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 41FE73A697E for <nfsv4@core3.amsl.com>; Mon, 11 Apr 2011 08:24:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.479
X-Spam-Level: 
X-Spam-Status: No, score=-10.479 tagged_above=-999 required=5 tests=[AWL=0.119, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Fjm0l-eyP7Qv for <nfsv4@core3.amsl.com>; Mon, 11 Apr 2011 08:24:07 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by core3.amsl.com (Postfix) with ESMTP id 967443A6A47 for <nfsv4@ietf.org>; Mon, 11 Apr 2011 08:24:07 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.63,339,1299484800";  d="scan'208,217";a="540539311"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 11 Apr 2011 08:24:08 -0700
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3BFO5QT021826 for <nfsv4@ietf.org>; Mon, 11 Apr 2011 08:24:07 -0700 (PDT)
Received: from rtprsexc2-prd.hq.netapp.com ([10.100.161.115]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 11 Apr 2011 08:24:06 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 11 Apr 2011 11:24:04 -0400
Received: from maute-lxp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 11 Apr 2011 11:24:03 -0400
From: Thomas Haynes <thomas@netapp.com>
Content-Type: multipart/alternative; boundary=Apple-Mail-17--41788850
Date: Mon, 11 Apr 2011 10:24:01 -0500
Message-Id: <02764140-0D50-4CEC-B70D-2CEABCCACB4A@netapp.com>
To: nfsv4@ietf.org
Mime-Version: 1.0 (Apple Message framework v1084)
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 11 Apr 2011 15:24:03.0448 (UTC) FILETIME=[7D628780:01CBF85C]
Subject: [nfsv4] Rework of error handling for LAYOUTRETURN
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Apr 2011 15:24:09 -0000

--Apple-Mail-17--41788850
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=us-ascii

I've edited the Section on error handling for LAYOUTRETURN to match the
slides presented in Prague. Rather than publish a new draft, I thought
I'd post it here for comments.

2.  pNFS LAYOUTRETURN Error Handling

2.1.  Introduction

   In the pNFS description provided in [2], the client is not enabled to
   relay an error code from the DS to the MDS.  In the specification of
   the Objects-Based Layout protocol [3], use is made of the opaque
   lrf_body field of the LAYOUTRETURN argument to do such a relaying of
   error codes.  In this section, we define a new data structure to
   enable the passing of error codes back to the MDS and provide some
   guidelines on what both the client and MDS should expect in such
   circumstances.




Haynes                  Expires October 13, 2011                [Page 5]
^L
Internet-Draft                   NFSv4.2                      April 2011


   There are two broad classes of errors, transient and persistent.  The
   client SHOULD strive to only use this new mechanism to report
   persistent errors.  It MUST be able to deal with transient issues by
   itself.  Also, while the client might consider an issue to be
   persistent, it MUST be prepared for the MDS to consider such issues
   to be persistent.  A prime example of this is if the MDS fences off a
   client from either a stateid or a filehandle.  The client will get an
   error from the DS and might relay either NFS4ERR_ACCESS or
   NFS4ERR_STALE_STATEID back to the MDS, with the belief that this is a
   hard error.  The MDS on the other hand, is waiting for the client to
   report such an error.  For it, the mission is accomplished in that
   the client has returned a layout that the MDS had most likley
   recalled.

2.2.  Changes to Operation 51: LAYOUTRETURN

   The existing LAYOUTRETURN operation is extended by introducing a new
   data structure to report errors, layoutreturn_device_error4.  Also,
   layoutreturn_device_error4 is introduced to enable an array of errors
   to be reported.

2.2.1.  ARGUMENT

   The ARGUMENT specification of the LAYOUTRETURN operation in section
   18.44.1 of [2] is augmented by the following XDR code [11]:

   struct layoutreturn_device_error4 {
           deviceid4       lrde_deviceid;
           nfsstat4        lrde_status;
           nfs_opnum4      lrde_opnum;
   };

   struct layoutreturn_error_report4 {
           layoutreturn_device_error4      lrer_errors<>;
   };

2.2.2.  RESULT

   The RESULT of the LAYOUTRETURN operation is unchanged; see section
   18.44.2 of [2].

2.2.3.  DESCRIPTION

   The following text is added to the end of the LAYOUTRETURN operation
   DESCRIPTION in section 18.44.3 of [2].

   When a client used LAYOUTRETURN with a type of LAYOUTRETURN4_FILE,
   then if the lrf_body field is NULL, it indicates to the MDS that the



Haynes                  Expires October 13, 2011                [Page 6]
^L
Internet-Draft                   NFSv4.2                      April 2011


   client experienced no errors.  If lrf_body is non-NULL, then the
   field references error information which is layout type specific.
   I.e., the Objects-Based Layout protocol can continue to utilize
   lrf_body as specified in [3].  For both Files-Based Layouts, the
   field references a layoutreturn_device_error4, which contains an
   array of layoutreturn_device_error4.

   Each individual layoutreturn_device_error4 descibes a single error
   associated with a DS, which is identfied via lrde_deviceid.  The
   operation which returned the error is identified via lrde_opnum.
   Finally the NFS error value (nfsstat4) encountered is provided via
   lrde_status and may consist of the following error codes:

   NFS4_OKAY:  No issues were found for this device.

   NFS4ERR_NXIO:  The client was unable to establish any communication
      with the DS.

   NFS4ERR_*:  The client was able to establish communication with the
      DS and is returning one of the allowed error codes for the
      operation denoted by lrde_opnum.

2.2.4.  IMPLEMENTATION

   The following text is added to the end of the LAYOUTRETURN operation
   IMPLEMENTATION in section 18.4.4 of [2].

   A client that expects to use pNFS for a mounted filesystem SHOULD
   check for pNFS support at mount time.  This check SHOULD be performed
   by sending a GETDEVICELIST operation, followed by layout-type-
   specific checks for accessibility of each storage device returned by
   GETDEVICELIST.  If the NFS server does not support pNFS, the
   GETDEVICELIST operation will be rejected with an NFS4ERR_NOTSUPP
   error; in this situation it is up to the client to determine whether
   it is acceptable to proceed with NFS-only access.

   Clients are expected to tolerate transient storage device errors, and
   hence clients SHOULD NOT use the LAYOUTRETURN error handling for
   device access problems that may be transient.  The methods by which a
   client decides whether an access problem is transient vs. persistent
   are implementation-specific, but may include retrying I/Os to a data
   server under appropriate conditions.

   When an I/O fails to a storage device, the client SHOULD retry the
   failed I/O via the MDS.  In this situation, before retrying the I/O,
   the client SHOULD return the layout, or the affected portion thereof,
   and SHOULD indicate which storage device or devices was problematic.
   If the client does not do this, the MDS may issue a layout recall



Haynes                  Expires October 13, 2011                [Page 7]
^L
Internet-Draft                   NFSv4.2                      April 2011


   callback in order to perform the retried I/O.

   The client needs to be cognizant that since this error handling is
   optional in the MDS, the MDS may silently ignore this functionality.
   Also, as the MDS may consider some issues the client reports to be
   expected (see Section 2.1), the client might find it difficult to
   detect a MDS which has not implemented error handling via
   LAYOUTRETURN.

   If an MDS is aware that a storage device is proving problematic to a
   client, the MDS SHOULD NOT include that storage device in any pNFS
   layouts sent to that client.  If the MDS is aware that a storage
   device is affecting many clients, then the MDS SHOULD NOT include
   that storage device in any pNFS layouts sent out.  Clients must still
   be aware that the MDS might not have any choice in using the storage
   device, i.e., there might only be one possible layout for the system.

   Another interesting complication is that for existing files, the MDS
   might have no choice in which storage devices to hand out to clients.
   The MDS might try to restripe a file across a different storage
   device, but clients need to be aware that not all implementations
   have restriping support.

   An MDS SHOULD react to a client return of layouts with errors by not
   using the problematic storage devices in layouts for that client, but
   the MDS is not required to indefinitely retain per-client storage
   device error information.  An MDS is also not required to
   automatically reinstate use of a previously problematic storage
   device; administrative intervention may be required instead.

   A client MAY perform I/O via the MDS even when the client holds a
   layout that covers the I/O; servers MUST support this client
   behavior, and MAY recall layouts as needed to complete I/Os.


--Apple-Mail-17--41788850
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I've =
edited the Section on error handling for LAYOUTRETURN to match =
the<div>slides presented in Prague. Rather than publish a new draft, I =
thought</div><div>I'd post it here for =
comments.</div><div><br></div><div><div><font class=3D"Apple-style-span" =
face=3D"Courier">2. &nbsp;pNFS LAYOUTRETURN Error =
Handling</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier"><br></font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">2.1. &nbsp;Introduction</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier"><br></font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; In the pNFS =
description provided in [2], the client is not enabled =
to</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; relay an error code from the DS to the =
MDS. &nbsp;In the specification of</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; the =
Objects-Based Layout protocol [3], use is made of the =
opaque</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; lrf_body field of the LAYOUTRETURN =
argument to do such a relaying of</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; error codes. =
&nbsp;In this section, we define a new data structure =
to</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; enable the passing of error codes back to =
the MDS and provide some</font></div><div><font class=3D"Apple-style-span"=
 face=3D"Courier">&nbsp;&nbsp; guidelines on what both the client and =
MDS should expect in such</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; =
circumstances.</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier"><br></font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier"><br></font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier"><br></font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier"><br></font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">Haynes &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp;Expires October 13, 2011 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp;[Page 5]</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">^L</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">Internet-Draft &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NFSv4.2 &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;April =
2011</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier"><br></font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier"><br></font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; There are two broad classes of errors, =
transient and persistent. &nbsp;The</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; client SHOULD =
strive to only use this new mechanism to report</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; persistent =
errors. &nbsp;It MUST be able to deal with transient issues =
by</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; itself. &nbsp;Also, while the client might =
consider an issue to be</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; persistent, it MUST be prepared for the =
MDS to consider such issues</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; to be =
persistent. &nbsp;A prime example of this is if the MDS fences off =
a</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; client from either a stateid or a =
filehandle. &nbsp;The client will get an</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; error from the =
DS and might relay either NFS4ERR_ACCESS or</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; =
NFS4ERR_STALE_STATEID back to the MDS, with the belief that this is =
a</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; hard error. &nbsp;The MDS on the other =
hand, is waiting for the client to</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; report such an =
error. &nbsp;For it, the mission is accomplished in =
that</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; the client has returned a layout that the =
MDS had most likley</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; recalled.</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier"><br></font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">2.2. &nbsp;Changes to =
Operation 51: LAYOUTRETURN</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier"><br></font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; The existing =
LAYOUTRETURN operation is extended by introducing a =
new</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; data structure to report errors, =
layoutreturn_device_error4. &nbsp;Also,</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; =
layoutreturn_device_error4 is introduced to enable an array of =
errors</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; to be reported.</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier"><br></font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">2.2.1. =
&nbsp;ARGUMENT</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier"><br></font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; The ARGUMENT specification of the =
LAYOUTRETURN operation in section</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; 18.44.1 of [2] =
is augmented by the following XDR code [11]:</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier"><br></font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; struct =
layoutreturn_device_error4 {</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; deviceid4 &nbsp; &nbsp; &nbsp; =
lrde_deviceid;</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nfsstat4 =
&nbsp; &nbsp; &nbsp; &nbsp;lrde_status;</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; nfs_opnum4 &nbsp; &nbsp; =
&nbsp;lrde_opnum;</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; };</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier"><br></font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; struct =
layoutreturn_error_report4 {</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; layoutreturn_device_error4 &nbsp; &nbsp; =
&nbsp;lrer_errors&lt;&gt;;</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; =
};</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier"><br></font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">2.2.2. &nbsp;RESULT</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier"><br></font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; The RESULT of =
the LAYOUTRETURN operation is unchanged; see =
section</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; 18.44.2 of =
[2].</font></div></div><div><div><font class=3D"Apple-style-span" =
face=3D"Courier"><br></font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">2.2.3. &nbsp;DESCRIPTION</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier"><br></font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; The following =
text is added to the end of the LAYOUTRETURN =
operation</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; DESCRIPTION in section 18.44.3 of =
[2].</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier"><br></font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; When a client used LAYOUTRETURN with a =
type of LAYOUTRETURN4_FILE,</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; then if the =
lrf_body field is NULL, it indicates to the MDS that =
the</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier"><br></font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier"><br></font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier"><br></font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">Haynes &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp;Expires October 13, 2011 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp;[Page 6]</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">^L</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">Internet-Draft &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NFSv4.2 &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;April =
2011</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier"><br></font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier"><br></font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; client experienced no errors. &nbsp;If =
lrf_body is non-NULL, then the</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; field =
references error information which is layout type =
specific.</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; I.e., the Objects-Based Layout protocol =
can continue to utilize</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; lrf_body as specified in [3]. &nbsp;For =
both Files-Based Layouts, the</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; field =
references a layoutreturn_device_error4, which contains =
an</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; array of =
layoutreturn_device_error4.</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier"><br></font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; Each individual =
layoutreturn_device_error4 descibes a single =
error</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; associated with a DS, which is identfied =
via lrde_deviceid. &nbsp;The</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; operation which =
returned the error is identified via lrde_opnum.</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; Finally the NFS =
error value (nfsstat4) encountered is provided =
via</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; lrde_status and may consist of the =
following error codes:</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier"><br></font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; NFS4_OKAY: &nbsp;No issues were found for =
this device.</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier"><br></font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; NFS4ERR_NXIO: &nbsp;The client was unable =
to establish any communication</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; &nbsp; =
&nbsp;with the DS.</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier"><br></font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; NFS4ERR_*: &nbsp;The client was able to =
establish communication with the</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; &nbsp; &nbsp;DS =
and is returning one of the allowed error codes for =
the</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; &nbsp; &nbsp;operation denoted by =
lrde_opnum.</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier"><br></font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">2.2.4. &nbsp;IMPLEMENTATION</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier"><br></font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; The following =
text is added to the end of the LAYOUTRETURN =
operation</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; IMPLEMENTATION in section 18.4.4 of =
[2].</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier"><br></font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; A client that expects to use pNFS for a =
mounted filesystem SHOULD</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; check for pNFS =
support at mount time. &nbsp;This check SHOULD be =
performed</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; by sending a GETDEVICELIST operation, =
followed by layout-type-</font></div><div><font class=3D"Apple-style-span"=
 face=3D"Courier">&nbsp;&nbsp; specific checks for accessibility of each =
storage device returned by</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; GETDEVICELIST. =
&nbsp;If the NFS server does not support pNFS, =
the</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; GETDEVICELIST operation will be rejected =
with an NFS4ERR_NOTSUPP</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; error; in this situation it is up to the =
client to determine whether</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; it is =
acceptable to proceed with NFS-only access.</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier"><br></font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; Clients are =
expected to tolerate transient storage device errors, =
and</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; hence clients SHOULD NOT use the =
LAYOUTRETURN error handling for</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; device access =
problems that may be transient. &nbsp;The methods by which =
a</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; client decides whether an access problem =
is transient vs. persistent</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; are =
implementation-specific, but may include retrying I/Os to a =
data</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; server under appropriate =
conditions.</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier"><br></font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; When an I/O fails to a storage device, the =
client SHOULD retry the</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; failed I/O via the MDS. &nbsp;In this =
situation, before retrying the I/O,</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; the client =
SHOULD return the layout, or the affected portion =
thereof,</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; and SHOULD indicate which storage device =
or devices was problematic.</font></div></div><div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; If the client =
does not do this, the MDS may issue a layout =
recall</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier"><br></font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier"><br></font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier"><br></font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">Haynes &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp;Expires October 13, 2011 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp;[Page 7]</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">^L</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">Internet-Draft &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NFSv4.2 &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;April =
2011</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier"><br></font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier"><br></font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; callback in order to perform the retried =
I/O.</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier"><br></font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; The client needs to be cognizant that =
since this error handling is</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; optional in the =
MDS, the MDS may silently ignore this =
functionality.</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; Also, as the MDS may consider some issues =
the client reports to be</font></div><div><font class=3D"Apple-style-span"=
 face=3D"Courier">&nbsp;&nbsp; expected (see Section 2.1), the client =
might find it difficult to</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; detect a MDS =
which has not implemented error handling via</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; =
LAYOUTRETURN.</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier"><br></font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; If an MDS is aware that a storage device =
is proving problematic to a</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; client, the MDS =
SHOULD NOT include that storage device in any =
pNFS</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; layouts sent to that client. &nbsp;If the =
MDS is aware that a storage</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; device is =
affecting many clients, then the MDS SHOULD NOT =
include</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; that storage device in any pNFS layouts =
sent out. &nbsp;Clients must still</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; be aware that =
the MDS might not have any choice in using the =
storage</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; device, i.e., there might only be one =
possible layout for the system.</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier"><br></font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; Another =
interesting complication is that for existing files, the =
MDS</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; might have no choice in which storage =
devices to hand out to clients.</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; The MDS might =
try to restripe a file across a different storage</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; device, but =
clients need to be aware that not all =
implementations</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; have restriping =
support.</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier"><br></font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; An MDS SHOULD react to a client return of =
layouts with errors by not</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; using the =
problematic storage devices in layouts for that client, =
but</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; the MDS is not required to indefinitely =
retain per-client storage</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; device error =
information. &nbsp;An MDS is also not required to</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; automatically =
reinstate use of a previously problematic storage</font></div><div><font =
class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; device; =
administrative intervention may be required =
instead.</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier"><br></font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; A client MAY perform I/O via the MDS even =
when the client holds a</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; layout that covers the I/O; servers MUST =
support this client</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; behavior, and MAY recall layouts as needed =
to complete I/Os.</font></div><div><br></div></div></body></html>=

--Apple-Mail-17--41788850--

From Tom.Haynes@netapp.com  Mon Apr 11 16:23:23 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 41394E066A for <nfsv4@ietfc.amsl.com>; Mon, 11 Apr 2011 16:23:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.275
X-Spam-Level: 
X-Spam-Status: No, score=-10.275 tagged_above=-999 required=5 tests=[AWL=0.323, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DnfXJfF0jYQP for <nfsv4@ietfc.amsl.com>; Mon, 11 Apr 2011 16:23:22 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id 99469E0613 for <nfsv4@ietf.org>; Mon, 11 Apr 2011 16:23:17 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,193,1301900400";  d="scan'208,217";a="540672381"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 11 Apr 2011 16:23:01 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3BNN19j002785; Mon, 11 Apr 2011 16:23:01 -0700 (PDT)
Received: from rtprsexc2-prd.hq.netapp.com ([10.100.161.115]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 11 Apr 2011 16:23:01 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 11 Apr 2011 19:22:59 -0400
Received: from maute-lxp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 11 Apr 2011 19:22:58 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: multipart/alternative; boundary=Apple-Mail-19--13053470
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <4D9F41FD.1080208@gmail.com>
Date: Mon, 11 Apr 2011 18:22:57 -0500
Message-Id: <61C09F78-ABB5-40FF-B4A9-DB2743BEB28C@netapp.com>
References: <4D2B6320-D443-47A4-8AC5-6AF1C5F397F2@netapp.com> <238E2192-6AD7-4B31-91AC-A5ED8FBB9DB2@netapp.com> <4D9E36B2.1010706@gmail.com> <1A78E6C5-8B77-46F1-9830-C93586A4E76A@netapp.com> <4D9F41FD.1080208@gmail.com>
To: Dean <seattleplus@gmail.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 11 Apr 2011 23:22:58.0906 (UTC) FILETIME=[650D73A0:01CBF89F]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [NFSv4.2] Meeting Notes 04/07/2011
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Apr 2011 23:23:23 -0000

--Apple-Mail-19--13053470
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


On Apr 8, 2011, at 12:12 PM, Dean wrote:

>=20
>=20
> On 4/7/11 4:52 PM, Thomas Haynes wrote:
>>=20
>>=20
>> On Apr 7, 2011, at 5:12 PM, Dean wrote:
>>=20
>>>=20
>>>> Write a pattern to a file - hole punch
>>> Just to be clear, we should differentiate between a hole punch that =
deallocates blocks (which would be very useful) and a hole punch that =
writes a specified pattern.  Maybe we can support both?
>>=20
>>=20
>> They are both the same thing.
>>=20
>> If you write a pattern, you always want to deallocate blocks. =
Assuming of course
>> you write at least a block of data.
>=20
> This is very much not the case.  There is a big difference between =
have a block of all zeroes and have no block at all.  Performance =
favours the former, thin-provisioning favours the latter.  VMWare give =
the users the option of creating thick and thin disk images for just =
this reason.
>=20
> So, I think we want to avoid the case where someone has intentionally =
created a *thick* file, and then we end up deallocating blocks within =
it, which will slow performance when those blocks are written again and =
could cause problems since they are no longer guaranteed to have space =
for those deallocated blocks.


Wouldn't that be where space reservation would come into play?

If I want to reduce a thick file, I turn off space reservation and punch =
a hole.

If I want to keep a file thick, I keep space reservation and punch a =
hole.

That gives us both of the behaviors you want to see.


>>=20
>> Why are you updating your draft? This has now been pulled into the =
NFSv4.2 document.
>> All of the items pulled into the release are being tracked there. =
This message has been
>> consistently pushed on the WG alias and at the meetings.
> Well, there was a clear request by Spencer and others at the end of =
the interim meeting for me to clean it up to only include what was =
discussed and add in several comments and issues.


Ahh, you had several weeks to do that. :->

We have an aggressive schedule and I'm trying to stay ahead of it. My =
plan of record is
to attack the controversial areas at first and then come back to work on =
the other areas.


>=20
> Now that it has been pulled into the NFSv4.2 document, how do I make =
these changes (as described below, but there was also several more =
discussed at the meeting)?


I'm not suggesting you not do the work. I am suggesting that keeping the =
content in
two places is less than optimal. Also, as time goes on, the format used =
in the NFSv4.2
document will not look like that in your I-D.

I'm trying to settle with David Harrington and Spencer the final =
repository for the 4.2 I-D.
Right now it is on github.com and I've yet to have someone try to commit =
changes
back. Other projects do it there, so I'm sure we can figure it out.

At worst, you can mail me your changes to those files and I can pull =
them in.



--Apple-Mail-19--13053470
Content-Transfer-Encoding: 7bit
Content-Type: text/html;
	charset=us-ascii

<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Apr 8, 2011, at 12:12 PM, Dean wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<div bgcolor="#ffffff" text="#000000">
    <br>
    <br>
    On 4/7/11 4:52 PM, Thomas Haynes wrote:
    <blockquote cite="mid:1A78E6C5-8B77-46F1-9830-C93586A4E76A@netapp.com" type="cite"><br>
      <div>
        <div>On Apr 7, 2011, at 5:12 PM, Dean wrote:</div>
        <br class="Apple-interchange-newline">
        <blockquote type="cite">
          <div bgcolor="#ffffff" text="#000000"><br>
            <blockquote cite="mid:238E2192-6AD7-4B31-91AC-A5ED8FBB9DB2@netapp.com" type="cite">
              <div>
                <div>
                  <div style="word-wrap: break-word;">
                    <div>Write a pattern to a file - hole punch</div>
                  </div>
                </div>
              </div>
            </blockquote>
            Just to be clear, we should differentiate between a hole
            punch that deallocates blocks (which would be very useful)
            and a hole punch that writes a specified pattern.&nbsp; Maybe we
            can support both?<br>
          </div>
        </blockquote>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>They are both the same thing.</div>
        <div><br>
        </div>
        <div>If you write a pattern, you always want to deallocate
          blocks. Assuming of course</div>
        <div>you write at least a block&nbsp;of data.</div>
      </div>
    </blockquote>
    <br>
    This is very much not the case.&nbsp; There is a big difference between
    have a block of all zeroes and have no block at all.&nbsp; Performance
    favours the former, thin-provisioning favours the latter.&nbsp; VMWare
    give the users the option of creating thick and thin disk images for
    just this reason.<br>
    <br>
    So, I think we want to avoid the case where someone has
    intentionally created a *thick* file, and then we end up
    deallocating blocks within it, which will slow performance when
    those blocks are written again and could cause problems since they
    are no longer guaranteed to have space for those deallocated blocks.<br></div></blockquote><div><br></div><div><br></div><div>Wouldn't that be where space reservation would come into play?</div><div><br></div><div>If I want to reduce a thick file, I turn off space reservation and punch a hole.</div><div><br></div><div>If I want to keep a file thick, I keep space reservation and punch a hole.</div><div><br></div><div>That gives us both of the behaviors you want to see.</div><div><br></div><div><br></div><blockquote type="cite"><div bgcolor="#ffffff" text="#000000"><blockquote cite="mid:1A78E6C5-8B77-46F1-9830-C93586A4E76A@netapp.com" type="cite"><div><div><font class="Apple-style-span" color="#000000"><br></font>
        </div>
        <div>Why are you updating your draft? This has now been pulled
          into the NFSv4.2 document.</div>
        <div>All of the items pulled into the release are being tracked
          there. This message has been</div>
        <div>consistently pushed on the WG alias and at the meetings.</div>
      </div>
    </blockquote>
    Well, there was a clear request by Spencer and others at the end of
    the interim meeting for me to clean it up to only include what was
    discussed and add in several comments and issues.<br></div></blockquote><div><br></div><div><br></div><div>Ahh, you had several weeks to do that. :-&gt;</div><div><br></div><div>We have an aggressive schedule and I'm trying to stay ahead of it. My plan of record is</div><div>to attack the controversial areas at first and then come back to work on the other areas.</div><div><br></div><br><blockquote type="cite"><div bgcolor="#ffffff" text="#000000">
    <br>
    Now that it has been pulled into the NFSv4.2 document, how do I make
    these changes (as described below, but there was also several more
    discussed at the meeting)?<br></div></blockquote><div><br></div><div><br></div><div>I'm not suggesting you not do the work. I am suggesting that keeping the content in</div><div>two places is less than optimal. Also, as time goes on, the format used in the NFSv4.2</div><div>document will not look like that in your I-D.</div><div><br></div><div>I'm trying to settle with David Harrington and Spencer the final repository for the 4.2 I-D.</div><div>Right now it is on <a href="http://github.com">github.com</a> and I've yet to have someone try to commit changes</div><div>back. Other projects do it there, so I'm sure we can figure it out.</div><div><br></div><div>At worst, you can mail me your changes to those files and I can pull them in.</div><div><br></div></div><br></body></html>
--Apple-Mail-19--13053470--

From Tom.Haynes@netapp.com  Mon Apr 11 16:40:44 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 1ADEDE06BC for <nfsv4@ietfc.amsl.com>; Mon, 11 Apr 2011 16:40:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.233
X-Spam-Level: 
X-Spam-Status: No, score=-9.233 tagged_above=-999 required=5 tests=[AWL=-0.934, BAYES_00=-2.599, MANGLED_BEEF=2.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gIcans0vAjwy for <nfsv4@ietfc.amsl.com>; Mon, 11 Apr 2011 16:40:43 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id BF83CE06FD for <nfsv4@ietf.org>; Mon, 11 Apr 2011 16:40:42 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,193,1301900400"; d="scan'208";a="540674932"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 11 Apr 2011 16:40:42 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3BNegRh013634; Mon, 11 Apr 2011 16:40:42 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 11 Apr 2011 16:40:42 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 11 Apr 2011 19:40:40 -0400
Received: from ebc05-xp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 11 Apr 2011 19:40:39 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <41be156de393c5e2948b0222230aa6e6.squirrel@webmail.eisler.com>
Date: Mon, 11 Apr 2011 18:40:38 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <3D8ED82E-80F3-4B5B-8C71-088E344F47F2@netapp.com>
References: <B637DE01-CC65-4393-8F57-3C0422E4E6AA@netapp.com> <41be156de393c5e2948b0222230aa6e6.squirrel@webmail.eisler.com>
To: Mike Eisler <mre-ietf@eisler.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 11 Apr 2011 23:40:40.0109 (UTC) FILETIME=[DD942DD0:01CBF8A1]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] Patterns: INITIALIZE or WRITE_PLUS
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Apr 2011 23:40:44 -0000

On Apr 8, 2011, at 8:25 AM, Mike Eisler wrote:

> inline ...
>=20
> On Fri, April 8, 2011 12:41 am, Thomas Haynes wrote:
>>=20
>=20
> So change READ_PLUS to indicate that a pattern is being returned.


Yes. But first I wanted to see the requirements fleshed out a bit.


>=20
>>=20
>> [2] And if the application is expecting to see the contents described
>> above, then I don't
>> see how it can detect badness inside one of the blocks. Say a client =
reads
>> the above
>> 1000 blocks of data. Then assume it inadvertently dirties the 565th =
block,
>> but makes
>> no changes to the block.
>=20
> I don't understand how you can dirty something and not change it.

Bug?

Yeah, I struggled when trying to write that up. I'll finish it up below.

>=20
>>=20
>> The client flushes that back to the server, which will most likely =
cause a
>> client sized
>> page (pick either 2k or 4k) around that byte to be made into actual
>> content. The server splits
>> the metadata it has into two different holes described by the =
pattern.
>> There is also
>> a client sized page sitting on disk.
>=20
> Yes. What's the point?
>=20



Consider that you dirty the N'th word with something valid.=20

  500    0   0   0   0   0   0   0   1
  508    'D' 'e' 'a' 'd' 'B' 'e' 'e' 'f'
  516-699 zeroes
  700    'f' '4' 'c' 'e' '7' '1' '0' '4'
  708- 999 zeroes

It gets written back to the server.

Sometime later, the app rereads it from the server. How does the app
know whether or not a bogus writ has occurred where all of the zeros
are present?

Another approach would be to state that the pattern is to be repeated
across the rest of this application logical block:

  500    0   0   0   0   0   0   0   1
  508    'D' 'e' 'a' 'd' 'B' 'e' 'e' 'f'
  516-699  'D' 'e' 'a' 'd' 'B' 'e' 'e' 'f'
  700    'f' '4' 'c' 'e' '7' '1' '0' '4'
  708- 999  'D' 'e' 'a' 'd' 'B' 'e' 'e' 'f'

And if the pattern did not evenly go into the block size, it would be
truncated on the last occurrence.

And as both READ_PLUS and WRITE_PLUS would understand
this common pattern, it would be the client's responsibility to expand
the pattern.

Or to put it another way:

1) Pattern aware server, client uses READ, then server expands

2) Pattern aware server, client uses READ_PLUS, then client expands.


>=20
>>=20
>> I don't see the use case for why the block number needs to be encoded =
as
>> part of the
>> pattern and hence stored in the block. Further, I don't see the =
motivation
>> for why we
>> want to mess with recording anything about blocks at all.
>=20
> The authors have experience with data corruption caused by underyling =
file
> systems mapping data that was at logical offset X to logical offset Y.


Thank you for supplying the use case.

The following XDR uses the pattern data structure from the Enterprise =
Apps I-D=20
with READ_PLUS and WRITE_PLUS. Note that it has the complexity required =
to
support multiple holes.

struct hole_pattern4 {
        offset4         hp_offset;
        length4         hp_blocksize;
        length4         hp_blockcount;
        length4         hp_reloff_pattern;
        length4         hp_reloff_blocknum;
        opaque          hp_pattern<>;
};

struct READ_PLUS4args {
        /* CURRENT_FH: file */
        stateid4        rpa_stateid;
        offset4         rpa_offset;
        count4          rpa_count;
};=20

union read_plus_res4 switch (bool is_hole) {
case TRUE:
        hole_pattern4   rpr_hole;
case FALSE:
        opaque          rpr_data<>;
};=20

union READ_PLUS4res switch (nfsstat4 status) {
case NFS4_OK:
        read_plus_res4  resok4<>;
default:  =20
        void;     =20
};=20

struct write_plus_data4 {
        offset4         wpd_offset;
        opaque          wpd_data<>;
};

union write_plus_arg4 switch (bool is_hole) {
case TRUE:
        hole_pattern4           wpa_hole;
case FALSE:
        write_plus_data4        wpa_data;
};

struct WRITE_PLUS4args {
        /* CURRENT_FH: file */
        stateid4        wpa_stateid;
        stable_how4     wpa_stable;
        write_plus_arg4 wpa_data<>;
};

struct WRITE_PLUS4resok {
        count4          wpr_count;
        stable_how4     wpr_committed;
        verifier4       wpr_writeverf;
};

union WRITE_PLUS4res switch (nfsstat4 status) {
case NFS4_OK:
        WRITE_PLUS4resok    resok4;
default:
        void;
};









From dpquigl@davequigley.com  Mon Apr 11 19:25:19 2011
Return-Path: <dpquigl@davequigley.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id A4433E065F for <nfsv4@ietfc.amsl.com>; Mon, 11 Apr 2011 19:25:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iKBZWiRGi+8G for <nfsv4@ietfc.amsl.com>; Mon, 11 Apr 2011 19:25:19 -0700 (PDT)
Received: from countercultured.net (countercultured.net [IPv6:2001:470:0:c0d3::2]) by ietfc.amsl.com (Postfix) with SMTP id 0495DE0613 for <nfsv4@ietf.org>; Mon, 11 Apr 2011 19:25:18 -0700 (PDT)
Received: (qmail 6189 invoked from network); 12 Apr 2011 02:25:19 -0000
Received: from c-76-21-220-25.hsd1.md.comcast.net (HELO ?192.168.15.109?) (merlin@76.21.220.25) by countercultured.net with ESMTPA; 12 Apr 2011 02:25:19 -0000
Message-ID: <4DA3B816.7040906@davequigley.com>
Date: Mon, 11 Apr 2011 22:25:26 -0400
From: Dave Quigley <dpquigl@davequigley.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9
MIME-Version: 1.0
To: nfsv4@ietf.org
References: <BANLkTi=5do=bwCK_n6RbHBULefk-_gKk1w@mail.gmail.com>	<3F72BE21-A2E0-4948-93FE-26CB0CADDC84@netapp.com> <BANLkTikB9uZCq3-DAN0mvR0-MH5iO_JX0Q@mail.gmail.com>
In-Reply-To: <BANLkTikB9uZCq3-DAN0mvR0-MH5iO_JX0Q@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: [nfsv4] Status of RPCSEC_GSSv3
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Apr 2011 02:25:19 -0000

On 4/7/2011 6:06 PM, Nico Williams wrote:
> On Thu, Apr 7, 2011 at 4:00 PM, Thomas Haynes<thomas@netapp.com>  wrote:
>> On Apr 7, 2011, at 3:50 PM, Nico Williams wrote:
>>>   - Privileges list requires review by people familiar with fine-grained
>> privilege ("capabilities", in Linux speak) facilities of operating systems
>> other than Solaris.
>>
>> Do we know who to ask to do the review or do we need to get someone to find
>> out who to ask?
> Ideally we could get review of the privileges section from one or more
> participants with expertise in Linux, *BSD, and Windows.
>

A good person to ask about the Linux privileges/capabilities would be 
Serge Hallyn as he is the main person pushing capabilities in Linux. I 
will send him an email explaining the situation. Should I CC the list 
when I do? or should I ask him to participate on list and point him to 
this discussion?


From seattleplus@gmail.com  Tue Apr 12 10:23:12 2011
Return-Path: <seattleplus@gmail.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id C9832E0843 for <nfsv4@ietfc.amsl.com>; Tue, 12 Apr 2011 10:23:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p1N3Yeyjp7sr for <nfsv4@ietfc.amsl.com>; Tue, 12 Apr 2011 10:23:12 -0700 (PDT)
Received: from mail-pv0-f172.google.com (mail-pv0-f172.google.com [74.125.83.172]) by ietfc.amsl.com (Postfix) with ESMTP id CDF63E079E for <nfsv4@ietf.org>; Tue, 12 Apr 2011 10:23:11 -0700 (PDT)
Received: by pvh1 with SMTP id 1so3069169pvh.31 for <nfsv4@ietf.org>; Tue, 12 Apr 2011 10:23:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=csZn6jRcwoq02a6MJJuhGqG1IL9qNpbmQzX9Gz5fKiA=; b=tqwcIe9xpwAPe8mOF6rFICpxa5Ibrv5Qr2iZ+rY5Dxdc2J08inw1kzcHLRpwEQuPct MK9Tac4MmNVVvwbl4VTBxcskvr/YAHTzgGMO7F2mOlFTxI7oOi3JtAzYmgU3+9tXexK9 /fEG3uTvoBjKyf6wztpN8TKgpIg8yxCdVLelI=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=jUSE2XyHZEWHENjlCur/lvP3gL2vnqF10NrwIIbYI3jz6CnJvDQ3DSLZIuyI+SQvZf soYI5KVUIk5tgr7qG3MGngLMoEkKucVNF0IrdSjSuxuUCL0cHAE54R8eeQ8fa11Q1uE/ peZd08n+zm3XiNxeCvFUrAEqX94Ce3be0Wpic=
Received: by 10.143.153.7 with SMTP id f7mr6724736wfo.379.1302628991004; Tue, 12 Apr 2011 10:23:11 -0700 (PDT)
Received: from rockmac.ftrdhcpuser.net (pool-71-112-77-159.sttlwa.dsl-w.verizon.net [71.112.77.159]) by mx.google.com with ESMTPS id s39sm9939029wfc.4.2011.04.12.10.23.06 (version=SSLv3 cipher=OTHER); Tue, 12 Apr 2011 10:23:09 -0700 (PDT)
Message-ID: <4DA48A76.5080305@gmail.com>
Date: Tue, 12 Apr 2011 10:23:02 -0700
From: Dean <seattleplus@gmail.com>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9
MIME-Version: 1.0
To: nfsv4@ietf.org
References: <B637DE01-CC65-4393-8F57-3C0422E4E6AA@netapp.com>	<41be156de393c5e2948b0222230aa6e6.squirrel@webmail.eisler.com> <3D8ED82E-80F3-4B5B-8C71-088E344F47F2@netapp.com>
In-Reply-To: <3D8ED82E-80F3-4B5B-8C71-088E344F47F2@netapp.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: [nfsv4] Patterns: INITIALIZE or WRITE_PLUS
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Apr 2011 17:23:12 -0000

> The following XDR uses the pattern data structure from the Enterprise Apps I-D
> with READ_PLUS and WRITE_PLUS. Note that it has the complexity required to
> support multiple holes.
>
> struct hole_pattern4 {
>          offset4         hp_offset;
>          length4         hp_blocksize;
>          length4         hp_blockcount;
>          length4         hp_reloff_pattern;
>          length4         hp_reloff_blocknum;
>          opaque          hp_pattern<>;
> };

I don't think we should merge the zero and pattern responses, but create 
2 separate struct's.  With every field being 64bits, the standard sparse 
response just went from 128bits to 384bits.  A big waste for 99% of all 
use cases.
> struct READ_PLUS4args {
>          /* CURRENT_FH: file */
>          stateid4        rpa_stateid;
>          offset4         rpa_offset;
>          count4          rpa_count;
> };
>
> union read_plus_res4 switch (bool is_hole) {
> case TRUE:
>          hole_pattern4   rpr_hole;
> case FALSE:
>          opaque          rpr_data<>;
> };
>
> union READ_PLUS4res switch (nfsstat4 status) {
> case NFS4_OK:
>          read_plus_res4  resok4<>;
> default:
>          void;
> };

So the current online draft seems to be corrupted and has COPY_NOTIFY in 
place of READPLUS.  So I can't tell what you have merged into the 
current NFSv4.2 draft.

But what happened to eof?
Dean
> struct write_plus_data4 {
>          offset4         wpd_offset;
>          opaque          wpd_data<>;
> };
>
> union write_plus_arg4 switch (bool is_hole) {
> case TRUE:
>          hole_pattern4           wpa_hole;
> case FALSE:
>          write_plus_data4        wpa_data;
> };
>
> struct WRITE_PLUS4args {
>          /* CURRENT_FH: file */
>          stateid4        wpa_stateid;
>          stable_how4     wpa_stable;
>          write_plus_arg4 wpa_data<>;
> };
>
> struct WRITE_PLUS4resok {
>          count4          wpr_count;
>          stable_how4     wpr_committed;
>          verifier4       wpr_writeverf;
> };
>
> union WRITE_PLUS4res switch (nfsstat4 status) {
> case NFS4_OK:
>          WRITE_PLUS4resok    resok4;
> default:
>          void;
> };
>
>
>
>
>
>
>
>
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4

From seattleplus@gmail.com  Tue Apr 12 10:33:53 2011
Return-Path: <seattleplus@gmail.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 550D7E07D2 for <nfsv4@ietfc.amsl.com>; Tue, 12 Apr 2011 10:33:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[AWL=-0.001, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qw2C0OArdDR6 for <nfsv4@ietfc.amsl.com>; Tue, 12 Apr 2011 10:33:52 -0700 (PDT)
Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by ietfc.amsl.com (Postfix) with ESMTP id 7EC28E07E9 for <nfsv4@ietf.org>; Tue, 12 Apr 2011 10:33:52 -0700 (PDT)
Received: by pwi5 with SMTP id 5so3103152pwi.31 for <nfsv4@ietf.org>; Tue, 12 Apr 2011 10:33:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type; bh=y6RP6a1/KTDu+xA7nCKOhXCbPj06pAUFaNw8CRaN+CU=; b=DtYf+kMlv60z8ZJ0FoUnUmvtzRzybFEUMgphsfK8ZBkeq/x1qjtbvkBQ511nclavaV ZV1zGeg3GzvLgZmHjVqgptTin85249SAn+cH0ScOEgT9QnsMtFNlyDSSd7RKMcHcx0sw z/JUaS9x00soPoJ02z4AY5EjfMtwfJrBbDXTc=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; b=PqQcawHNBVfBE43tbcNYiD/pIeB8L+7M9EpIlEABoLVqFDLmRincJHqvpHXU0RjohD xPEIkBFtpwKrR+IwOolwUoqLbvPL35Oq7DN0YWHPnLWNBQMPCsAjuipec2z0jNMDrmxC aea0XtlWlzfj9lDL+8KZ4UhKG3VXLe6UkjRIA=
Received: by 10.142.120.40 with SMTP id s40mr6809157wfc.193.1302629631846; Tue, 12 Apr 2011 10:33:51 -0700 (PDT)
Received: from rockmac.ftrdhcpuser.net (pool-71-112-77-159.sttlwa.dsl-w.verizon.net [71.112.77.159]) by mx.google.com with ESMTPS id y2sm9948281wfd.8.2011.04.12.10.33.47 (version=SSLv3 cipher=OTHER); Tue, 12 Apr 2011 10:33:50 -0700 (PDT)
Message-ID: <4DA48CF9.80606@gmail.com>
Date: Tue, 12 Apr 2011 10:33:45 -0700
From: Dean <seattleplus@gmail.com>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9
MIME-Version: 1.0
To: Thomas Haynes <thomas@netapp.com>
References: <4D2B6320-D443-47A4-8AC5-6AF1C5F397F2@netapp.com> <238E2192-6AD7-4B31-91AC-A5ED8FBB9DB2@netapp.com> <4D9E36B2.1010706@gmail.com> <5240D1F3-D2ED-459B-A84B-6BA790CBF321@netapp.com> <E0BA7576-84C9-49AF-8DE9-8D04B3D052B8@netapp.com>
In-Reply-To: <E0BA7576-84C9-49AF-8DE9-8D04B3D052B8@netapp.com>
Content-Type: multipart/alternative; boundary="------------020701090002060800010508"
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] Holes and data
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Apr 2011 17:33:53 -0000

This is a multi-part message in MIME format.
--------------020701090002060800010508
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

>>
>
> An even more interesting observation is that you can easily have 
> adjacent holes:
>
>
>                         +-------------+--------------------+
>                         | Byte-Range  | Contents           |
>                         +-------------+--------------------+
>                         | 0-31999     | Data               |
>                         | 32K-255999  | Hole of "deadbeef" |
>                         | 256K-287999 | Data               |
>                         | 288K-353999 | Hole of "514y5407" |
>                         | 354K-417999 | Hole of "a1b2c3d4" |
>                         +-------------+--------------------+
>
>
While interesting, is this realistic?  Isn't the whole point here to 
have a consistent pattern throughout the file to be able to 
differentiate corruption from holes?  Is there a usecase for supporting 
multiple patterns in a single file?

I'm also wondering how applications would set and write this pattern 
using the standard file system APIs available today?

Dean

--------------020701090002060800010508
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    <blockquote
      cite="mid:E0BA7576-84C9-49AF-8DE9-8D04B3D052B8@netapp.com"
      type="cite">
      <div>
        <blockquote type="cite">
          <div style="word-wrap: break-word;"><br>
          </div>
        </blockquote>
        <br>
      </div>
      <div>An even more interesting observation is that you can easily
        have adjacent holes:</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <font class="Apple-style-span" face="Courier">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
        &nbsp; &nbsp;+-------------+--------------------+<br>
        &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| Byte-Range &nbsp;| Contents &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |<br>
        &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+-------------+--------------------+<br>
        &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| 0-31999 &nbsp; &nbsp; | Data &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |<br>
        &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| 32K-255999 &nbsp;| Hole of "deadbeef" |<br>
        &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| 256K-287999 | Data &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |<br>
        &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| 288K-353999 | Hole of "514y5407" |<br>
        &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| 354K-417999 | Hole of "a1b2c3d4" |<br>
        &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+-------------+--------------------+<br>
      </font><br>
      <br>
    </blockquote>
    While interesting, is this realistic?&nbsp; Isn't the whole point here to
    have a consistent pattern throughout the file to be able to
    differentiate corruption from holes?&nbsp; Is there a usecase for
    supporting multiple patterns in a single file?<br>
    <br>
    I'm also wondering how applications would set and write this pattern
    using the standard file system APIs available today?<br>
    <br>
    Dean<br>
  </body>
</html>

--------------020701090002060800010508--

From seattleplus@gmail.com  Tue Apr 12 10:40:07 2011
Return-Path: <seattleplus@gmail.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id C6E2EE07E9 for <nfsv4@ietfc.amsl.com>; Tue, 12 Apr 2011 10:40:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.598
X-Spam-Level: 
X-Spam-Status: No, score=-3.598 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YyL8acOmn30R for <nfsv4@ietfc.amsl.com>; Tue, 12 Apr 2011 10:40:06 -0700 (PDT)
Received: from mail-pv0-f172.google.com (mail-pv0-f172.google.com [74.125.83.172]) by ietfc.amsl.com (Postfix) with ESMTP id 79AFEE07AB for <nfsv4@ietf.org>; Tue, 12 Apr 2011 10:40:06 -0700 (PDT)
Received: by pvh1 with SMTP id 1so3075494pvh.31 for <nfsv4@ietf.org>; Tue, 12 Apr 2011 10:40:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type; bh=9oNP5Y2yLUXXp8O3rx2JHVIeuwvyXbFiLRmAP/Pug/8=; b=kTtMhh2qfCuRRMclwdDYoPhaylRBKvelpO6bShcBmVyg3gC8KkdnO2FfrAWCMR2kDH PIdBeP2+qlmlfa3Gn3H9BZW+8WZi0sTQr0lKoJ5L+QlqAk2LgvJa1Fs75X6/KyWZZzx/ LtG++fYujq8QpD6X4nzw+8sknKnLFO7pZvK58=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; b=N2uJzZNMLHiBcVo4XmkDoeO7Snyaih7+uwO0tVueO2kHHwEhj2BFnSZO0aY27OHAUe iOBb6L6rQaSOpuya+jKZKkfxZT8RhF0fTfr2ukBs/CZ2qDVYx75jejojoorljHjQ3XKB VPejlOxDtEUVPJisgGgqZ0T/QQMM+wbI0TIWE=
Received: by 10.143.20.17 with SMTP id x17mr6861463wfi.154.1302630005690; Tue, 12 Apr 2011 10:40:05 -0700 (PDT)
Received: from rockmac.ftrdhcpuser.net (pool-71-112-77-159.sttlwa.dsl-w.verizon.net [71.112.77.159]) by mx.google.com with ESMTPS id s39sm9954808wfc.4.2011.04.12.10.40.01 (version=SSLv3 cipher=OTHER); Tue, 12 Apr 2011 10:40:03 -0700 (PDT)
Message-ID: <4DA48E70.7000908@gmail.com>
Date: Tue, 12 Apr 2011 10:40:00 -0700
From: Dean <seattleplus@gmail.com>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9
MIME-Version: 1.0
To: Thomas Haynes <thomas@netapp.com>
References: <4D2B6320-D443-47A4-8AC5-6AF1C5F397F2@netapp.com>	<238E2192-6AD7-4B31-91AC-A5ED8FBB9DB2@netapp.com>	<4D9E36B2.1010706@gmail.com>	<5240D1F3-D2ED-459B-A84B-6BA790CBF321@netapp.com>	<7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF2A74@MX14A.corp.emc.com> <7E6D82D5-1BB1-4D6A-A79D-77B2C794B2A3@netapp.com>
In-Reply-To: <7E6D82D5-1BB1-4D6A-A79D-77B2C794B2A3@netapp.com>
Content-Type: multipart/alternative; boundary="------------030301080800050707020302"
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [NFSv4.2] Meeting Notes 04/07/2011
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Apr 2011 17:40:07 -0000

This is a multi-part message in MIME format.
--------------030301080800050707020302
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit



On 4/8/11 8:37 AM, Thomas Haynes wrote:
>
> On Apr 8, 2011, at 7:55 AM, <david.black@emc.com 
> <mailto:david.black@emc.com>> <david.black@emc.com 
> <mailto:david.black@emc.com>> wrote:
>
>> This feels excessive.  I’ve been through the corresponding exercise 
>> in SCSI, and that came down to:
>> - Add support to the protocol that allows a server to announce that 
>> reads of holes always return zeroes.
>> - Allow servers to get more creative (e.g., in the fashion that Tom 
>> describes below).
>> Do we actually need the latter in NFS?  IMHO, it’s simpler to leave 
>> it out because that functionality results in an “interesting” corner 
>> case – if the client specifies the pattern that reading the hole 
>> returns, but the server doesn’t support returning that pattern for a 
>> hole, the result of the attempt to punch a hole is a bulk write 
>> instead of a hole punch (see the SCSI WRITE SAME command, which has 
>> hole punch functionality specified), which may not be what the client 
>> wanted ;-).
>
> David,
>
> Let me try to address a point which you may be trying to make before I 
> address
> the real issue.
>
> With the new code, the server either supports holes with patterns or 
> no holes at all.
>
> If the client does:
>
> PUTFH WRITE_PLUS "f00dbarf"
>
> the server if it does not support holes, will return NFS4ERR_NOTSUPP.
>
> At that point, the client knows that it it wants to get a sparse file, 
> it either has to
> rely on something server-vendor specific or it is out of luck.
>
> I.e., it could then proceed with
>
> PUTFH WRITE "f00dbarff00dbarf....f00dbarf"
>
> But, the client is very aware of what is going on here.
>
>
>> If we don’t need the “creative” option, it’s simpler to require that 
>> reading a hole always returns zeroes.
>
>
> The real issue is that we are being asked by Oracle to provide a means to
> be creative here. All zeros might be acceptable if the Oracle DB was able
> to query the underlying client OS to determine whether the memory 
> corresponded
> to a hole. I.e., if it knows it is a hole, it SHOULD NOT care what 
> pattern is there.
>
> So is the creative approach more complex? Yes.
>
> But just like wanting to bring in the 64 bit array lengths that Mike 
> is proposing,
> I'd like us to take this chance to only redo READ and WRITE once.
>
> (Which means I think I can have the correct XDR in about 5 minutes. :-> )

I don't mind getting creative, but to reiterate a previous post
1) The specialized corner case of using patterns should not add or slow 
down the common 'zero' case
2) Maybe we can get creative but keep it simple, like single pattern per 
file, set the pattern once per file, etc

Dean
> Tom
>
>
>
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4

--------------030301080800050707020302
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    <br>
    <br>
    On 4/8/11 8:37 AM, Thomas Haynes wrote:
    <blockquote
      cite="mid:7E6D82D5-1BB1-4D6A-A79D-77B2C794B2A3@netapp.com"
      type="cite"><base href="x-msg://229/"><br>
      <div>
        <div>On Apr 8, 2011, at 7:55 AM, &lt;<a moz-do-not-send="true"
            href="mailto:david.black@emc.com">david.black@emc.com</a>&gt;
          &lt;<a moz-do-not-send="true"
            href="mailto:david.black@emc.com">david.black@emc.com</a>&gt;
          wrote:</div>
        <br class="Apple-interchange-newline">
        <blockquote type="cite"><span class="Apple-style-span"
            style="border-collapse: separate; font-family: Helvetica;
            font-style: normal; font-variant: normal; font-weight:
            normal; letter-spacing: normal; line-height: normal;
            orphans: 2; text-indent: 0px; text-transform: none;
            white-space: normal; widows: 2; word-spacing: 0px;
            font-size: medium;">
            <div link="blue" vlink="purple" style="word-wrap:
              break-word;" lang="EN-US">
              <div class="WordSection1" style="page: WordSection1;">
                <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                  font-family: 'Times New Roman',serif;"><span
                    style="font-size: 10pt; font-family: 'Courier New';
                    color: black;">This feels excessive.  I’ve been
                    through the corresponding exercise in SCSI, and that
                    came down to:<o:p></o:p></span></div>
                <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                  font-family: 'Times New Roman',serif;"><span
                    style="font-size: 10pt; font-family: 'Courier New';
                    color: black;">- Add support to the protocol that
                    allows a server to announce that reads of holes
                    always return zeroes.<br>
                    - Allow servers to get more creative (e.g., in the
                    fashion that Tom describes below).<o:p></o:p></span></div>
                <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                  font-family: 'Times New Roman',serif;"><span
                    style="font-size: 10pt; font-family: 'Courier New';
                    color: black;"><o:p> </o:p></span></div>
                <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                  font-family: 'Times New Roman',serif;"><span
                    style="font-size: 10pt; font-family: 'Courier New';
                    color: black;">Do we actually need the latter in
                    NFS?  IMHO, it’s simpler to leave it out because
                    that functionality results in an “interesting”
                    corner case – if the client specifies the pattern
                    that reading the hole returns, but the server
                    doesn’t support returning that pattern for a hole,
                    the result of the attempt to punch a hole is a bulk
                    write instead of a hole punch (see the SCSI WRITE
                    SAME command, which has hole punch functionality
                    specified), which may not be what the client wanted
                    ;-).</span></div>
              </div>
            </div>
          </span></blockquote>
        <div><br>
        </div>
        <div>David,</div>
        <div><br>
        </div>
        <div>Let me try to address a point which you may be trying to
          make before I address</div>
        <div>the real issue.</div>
        <div><br>
        </div>
        <div>With the new code, the server either supports holes with
          patterns or no holes at all.</div>
        <div><br>
        </div>
        <div>If the client does:</div>
        <div><br>
        </div>
        <div>PUTFH WRITE_PLUS "f00dbarf"</div>
        <div><br>
        </div>
        <div>the server if it does not support holes, will return
          NFS4ERR_NOTSUPP.</div>
        <div><br>
        </div>
        <div>At that point, the client knows that it it wants to get a
          sparse file, it either has to</div>
        <div>rely on something server-vendor specific or it is out of
          luck.</div>
        <div><br>
        </div>
        <div>I.e., it could then proceed with</div>
        <div><br>
        </div>
        <div>PUTFH WRITE "f00dbarff00dbarf....f00dbarf"</div>
        <div><br>
        </div>
        <div>But, the client is very aware of what is going on here.</div>
        <div><br>
        </div>
        <br>
        <blockquote type="cite"><span class="Apple-style-span"
            style="border-collapse: separate; font-family: Helvetica;
            font-style: normal; font-variant: normal; font-weight:
            normal; letter-spacing: normal; line-height: normal;
            orphans: 2; text-indent: 0px; text-transform: none;
            white-space: normal; widows: 2; word-spacing: 0px;
            font-size: medium;">
            <div link="blue" vlink="purple" style="word-wrap:
              break-word;" lang="EN-US">
              <div class="WordSection1" style="page: WordSection1;">
                <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                  font-family: 'Times New Roman',serif;"><span
                    style="font-size: 10pt; font-family: 'Courier New';
                    color: black;"><o:p></o:p></span></div>
                <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                  font-family: 'Times New Roman',serif;"><span
                    style="font-size: 10pt; font-family: 'Courier New';
                    color: black;"><o:p> </o:p></span></div>
                <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                  font-family: 'Times New Roman',serif;"><span
                    style="font-size: 10pt; font-family: 'Courier New';
                    color: black;">If we don’t need the “creative”
                    option, it’s simpler to require that reading a hole
                    always returns zeroes.</span></div>
              </div>
            </div>
          </span></blockquote>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>The real issue is that we are being asked by Oracle to
          provide a means to</div>
        <div>be creative here. All zeros might be acceptable if the
          Oracle DB was able</div>
        <div>to query the underlying client OS to determine whether the
          memory corresponded</div>
        <div>to a hole. I.e., if it knows it is a hole, it SHOULD NOT
          care what pattern is there.</div>
        <div><br>
        </div>
        <div>So is the creative approach more complex? Yes.</div>
        <div><br>
        </div>
        <div>But just like wanting to bring in the 64 bit array lengths
          that Mike is proposing,</div>
        <div>I'd like us to take this chance to only redo READ and WRITE
          once.</div>
        <div><br>
        </div>
        <div>(Which means I think I can have the correct XDR in about 5
          minutes. :-&gt; )</div>
      </div>
    </blockquote>
    <br>
    I don't mind getting creative, but to reiterate a previous post<br>
    1) The specialized corner case of using patterns should not add or
    slow down the common 'zero' case<br>
    2) Maybe we can get creative but keep it simple, like single pattern
    per file, set the pattern once per file, etc<br>
    <br>
    Dean<br>
    <blockquote
      cite="mid:7E6D82D5-1BB1-4D6A-A79D-77B2C794B2A3@netapp.com"
      type="cite">
      <div>
        <div>Tom</div>
        <div><br>
        </div>
      </div>
      <br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
nfsv4 mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nfsv4@ietf.org">nfsv4@ietf.org</a>
<a class="moz-txt-link-freetext" href="https://www.ietf.org/mailman/listinfo/nfsv4">https://www.ietf.org/mailman/listinfo/nfsv4</a>
</pre>
    </blockquote>
  </body>
</html>

--------------030301080800050707020302--

From seattleplus@gmail.com  Tue Apr 12 10:48:34 2011
Return-Path: <seattleplus@gmail.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 69426E07AF for <nfsv4@ietfc.amsl.com>; Tue, 12 Apr 2011 10:48:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.598
X-Spam-Level: 
X-Spam-Status: No, score=-3.598 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YBKtYKYcQjWc for <nfsv4@ietfc.amsl.com>; Tue, 12 Apr 2011 10:48:33 -0700 (PDT)
Received: from mail-pv0-f172.google.com (mail-pv0-f172.google.com [74.125.83.172]) by ietfc.amsl.com (Postfix) with ESMTP id CB978E072E for <nfsv4@ietf.org>; Tue, 12 Apr 2011 10:48:32 -0700 (PDT)
Received: by pvh1 with SMTP id 1so3078493pvh.31 for <nfsv4@ietf.org>; Tue, 12 Apr 2011 10:48:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type; bh=CQyqsSb4awwHHmmIJXwhLMDXv606N69FY89OVzjuegc=; b=J+oRvuo3qZnP2P3iTvKLcH2GBWVcbFDVPYGTR8QmxQrMPDF1eNG+D/XyoQqGcqF2qk 1rNqD6OkBhEuF+ZbKfAm/OrYTTgE/SGsc4Ul+EVIIJilm6tZJzR6j31+jXyZ6WI8QcQy p7siSQGTNTo2/RcnthBhf+Mp2JUuLew+JRNes=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; b=OmFMXxW2G4EPV1145XpKdT4cc89GhdaTNmE9XAv1gZk6ZvxCvlIRfoLjXd+QGD61hz y/6EeK1gvSmHCP+zTqYq5hT5gr9sdNDopt8JXC4EPDak4jv++9cFEx6U/iFFoCqOiWma dj9zeaZWMLxX2pGZsJhz9quZCMAOmGljmh830=
Received: by 10.142.199.12 with SMTP id w12mr6477600wff.259.1302630512182; Tue, 12 Apr 2011 10:48:32 -0700 (PDT)
Received: from rockmac.ftrdhcpuser.net (pool-71-112-77-159.sttlwa.dsl-w.verizon.net [71.112.77.159]) by mx.google.com with ESMTPS id 25sm9962325wfb.10.2011.04.12.10.48.28 (version=SSLv3 cipher=OTHER); Tue, 12 Apr 2011 10:48:30 -0700 (PDT)
Message-ID: <4DA4906A.3080009@gmail.com>
Date: Tue, 12 Apr 2011 10:48:26 -0700
From: Dean <seattleplus@gmail.com>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9
MIME-Version: 1.0
To: Thomas Haynes <thomas@netapp.com>
References: <4D2B6320-D443-47A4-8AC5-6AF1C5F397F2@netapp.com> <238E2192-6AD7-4B31-91AC-A5ED8FBB9DB2@netapp.com> <4D9E36B2.1010706@gmail.com> <1A78E6C5-8B77-46F1-9830-C93586A4E76A@netapp.com> <4D9F41FD.1080208@gmail.com> <61C09F78-ABB5-40FF-B4A9-DB2743BEB28C@netapp.com>
In-Reply-To: <61C09F78-ABB5-40FF-B4A9-DB2743BEB28C@netapp.com>
Content-Type: multipart/alternative; boundary="------------000703070502080807090805"
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [NFSv4.2] Meeting Notes 04/07/2011
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Apr 2011 17:48:34 -0000

This is a multi-part message in MIME format.
--------------000703070502080807090805
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit



>>>>> Write a pattern to a file - hole punch
>>>> Just to be clear, we should differentiate between a hole punch that 
>>>> deallocates blocks (which would be very useful) and a hole punch 
>>>> that writes a specified pattern.  Maybe we can support both?
>>>
>>>
>>> They are both the same thing.
>>>
>>> If you write a pattern, you always want to deallocate blocks. 
>>> Assuming of course
>>> you write at least a block of data.
>>
>> This is very much not the case.  There is a big difference between 
>> have a block of all zeroes and have no block at all.  Performance 
>> favours the former, thin-provisioning favours the latter.  VMWare 
>> give the users the option of creating thick and thin disk images for 
>> just this reason.
>>
>> So, I think we want to avoid the case where someone has intentionally 
>> created a *thick* file, and then we end up deallocating blocks within 
>> it, which will slow performance when those blocks are written again 
>> and could cause problems since they are no longer guaranteed to have 
>> space for those deallocated blocks.
>
>
> Wouldn't that be where space reservation would come into play?
>
> If I want to reduce a thick file, I turn off space reservation and 
> punch a hole.
>
> If I want to keep a file thick, I keep space reservation and punch a hole.
>
> That gives us both of the behaviors you want to see.
Ok, thanks.

I assume then that if space reservations are enabled, and the client 
punches a hole, the server has the following options:
a) Write a pattern to the byte range
b) De-allocate the blocks but do not free up the space, ensuring this 
file is always guaranteed its original space.

>
>
>>>
>>> Why are you updating your draft? This has now been pulled into the 
>>> NFSv4.2 document.
>>> All of the items pulled into the release are being tracked there. 
>>> This message has been
>>> consistently pushed on the WG alias and at the meetings.
>> Well, there was a clear request by Spencer and others at the end of 
>> the interim meeting for me to clean it up to only include what was 
>> discussed and add in several comments and issues.
>
>
> Ahh, you had several weeks to do that. :->
>
> We have an aggressive schedule and I'm trying to stay ahead of it. My 
> plan of record is
> to attack the controversial areas at first and then come back to work 
> on the other areas.
>
>
>>
>> Now that it has been pulled into the NFSv4.2 document, how do I make 
>> these changes (as described below, but there was also several more 
>> discussed at the meeting)?
>
>
> I'm not suggesting you not do the work. I am suggesting that keeping 
> the content in
> two places is less than optimal. Also, as time goes on, the format 
> used in the NFSv4.2
> document will not look like that in your I-D.
>
> I'm trying to settle with David Harrington and Spencer the final 
> repository for the 4.2 I-D.
> Right now it is on github.com <http://github.com> and I've yet to have 
> someone try to commit changes
> back. Other projects do it there, so I'm sure we can figure it out.
>
> At worst, you can mail me your changes to those files and I can pull 
> them in.

I've sent my changes/additions, please merge them when you have a moment.
Dean
>
>

--------------000703070502080807090805
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    <br>
    <br>
    <blockquote
      cite="mid:61C09F78-ABB5-40FF-B4A9-DB2743BEB28C@netapp.com"
      type="cite">
      <div>
        <blockquote type="cite">
          <div bgcolor="#ffffff" text="#000000">
            <blockquote
              cite="mid:1A78E6C5-8B77-46F1-9830-C93586A4E76A@netapp.com"
              type="cite">
              <div>
                <blockquote type="cite">
                  <div bgcolor="#ffffff" text="#000000">
                    <blockquote
                      cite="mid:238E2192-6AD7-4B31-91AC-A5ED8FBB9DB2@netapp.com"
                      type="cite">
                      <div>
                        <div>
                          <div style="word-wrap: break-word;">
                            <div>Write a pattern to a file - hole punch</div>
                          </div>
                        </div>
                      </div>
                    </blockquote>
                    Just to be clear, we should differentiate between a
                    hole punch that deallocates blocks (which would be
                    very useful) and a hole punch that writes a
                    specified pattern.&nbsp; Maybe we can support both?<br>
                  </div>
                </blockquote>
                <div><br>
                </div>
                <div><br>
                </div>
                <div>They are both the same thing.</div>
                <div><br>
                </div>
                <div>If you write a pattern, you always want to
                  deallocate blocks. Assuming of course</div>
                <div>you write at least a block&nbsp;of data.</div>
              </div>
            </blockquote>
            <br>
            This is very much not the case.&nbsp; There is a big difference
            between have a block of all zeroes and have no block at
            all.&nbsp; Performance favours the former, thin-provisioning
            favours the latter.&nbsp; VMWare give the users the option of
            creating thick and thin disk images for just this reason.<br>
            <br>
            So, I think we want to avoid the case where someone has
            intentionally created a *thick* file, and then we end up
            deallocating blocks within it, which will slow performance
            when those blocks are written again and could cause problems
            since they are no longer guaranteed to have space for those
            deallocated blocks.<br>
          </div>
        </blockquote>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Wouldn't that be where space reservation would come into
          play?</div>
        <div><br>
        </div>
        <div>If I want to reduce a thick file, I turn off space
          reservation and punch a hole.</div>
        <div><br>
        </div>
        <div>If I want to keep a file thick, I keep space reservation
          and punch a hole.</div>
        <div><br>
        </div>
        <div>That gives us both of the behaviors you want to see.</div>
      </div>
    </blockquote>
    Ok, thanks.<br>
    <br>
    I assume then that if space reservations are enabled, and the client
    punches a hole, the server has the following options:<br>
    a) Write a pattern to the byte range<br>
    b) De-allocate the blocks but do not free up the space, ensuring
    this file is always guaranteed its original space.<br>
    <br>
    <blockquote
      cite="mid:61C09F78-ABB5-40FF-B4A9-DB2743BEB28C@netapp.com"
      type="cite">
      <div>
        <div><br>
        </div>
        <div><br>
        </div>
        <blockquote type="cite">
          <div bgcolor="#ffffff" text="#000000">
            <blockquote
              cite="mid:1A78E6C5-8B77-46F1-9830-C93586A4E76A@netapp.com"
              type="cite">
              <div>
                <div><font class="Apple-style-span" color="#000000"><br>
                  </font> </div>
                <div>Why are you updating your draft? This has now been
                  pulled into the NFSv4.2 document.</div>
                <div>All of the items pulled into the release are being
                  tracked there. This message has been</div>
                <div>consistently pushed on the WG alias and at the
                  meetings.</div>
              </div>
            </blockquote>
            Well, there was a clear request by Spencer and others at the
            end of the interim meeting for me to clean it up to only
            include what was discussed and add in several comments and
            issues.<br>
          </div>
        </blockquote>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Ahh, you had several weeks to do that. :-&gt;</div>
        <div><br>
        </div>
        <div>We have an aggressive schedule and I'm trying to stay ahead
          of it. My plan of record is</div>
        <div>to attack the controversial areas at first and then come
          back to work on the other areas.</div>
        <div><br>
        </div>
        <br>
        <blockquote type="cite">
          <div bgcolor="#ffffff" text="#000000"> <br>
            Now that it has been pulled into the NFSv4.2 document, how
            do I make these changes (as described below, but there was
            also several more discussed at the meeting)?<br>
          </div>
        </blockquote>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>I'm not suggesting you not do the work. I am suggesting
          that keeping the content in</div>
        <div>two places is less than optimal. Also, as time goes on, the
          format used in the NFSv4.2</div>
        <div>document will not look like that in your I-D.</div>
        <div><br>
        </div>
        <div>I'm trying to settle with David Harrington and Spencer the
          final repository for the 4.2 I-D.</div>
        <div>Right now it is on <a moz-do-not-send="true"
            href="http://github.com">github.com</a> and I've yet to have
          someone try to commit changes</div>
        <div>back. Other projects do it there, so I'm sure we can figure
          it out.</div>
        <div><br>
        </div>
        <div>At worst, you can mail me your changes to those files and I
          can pull them in.</div>
      </div>
    </blockquote>
    <br>
    I've sent my changes/additions, please merge them when you have a
    moment.<br>
    Dean<br>
    <blockquote
      cite="mid:61C09F78-ABB5-40FF-B4A9-DB2743BEB28C@netapp.com"
      type="cite">
      <div>
        <div><br>
        </div>
      </div>
      <br>
    </blockquote>
  </body>
</html>

--------------000703070502080807090805--

From sshepler@microsoft.com  Tue Apr 12 11:00:46 2011
Return-Path: <sshepler@microsoft.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 76B4DE07AF for <nfsv4@ietfc.amsl.com>; Tue, 12 Apr 2011 11:00:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OfsMJkLVBUaf for <nfsv4@ietfc.amsl.com>; Tue, 12 Apr 2011 11:00:45 -0700 (PDT)
Received: from smtp.microsoft.com (smtp.microsoft.com [131.107.115.215]) by ietfc.amsl.com (Postfix) with ESMTP id B5E8BE067F for <nfsv4@ietf.org>; Tue, 12 Apr 2011 11:00:45 -0700 (PDT)
Received: from TK5EX14HUBC102.redmond.corp.microsoft.com (157.54.7.154) by TK5-EXGWY-E802.partners.extranet.microsoft.com (10.251.56.168) with Microsoft SMTP Server (TLS) id 8.2.176.0; Tue, 12 Apr 2011 11:00:44 -0700
Received: from TK5EX14MBXC124.redmond.corp.microsoft.com ([169.254.4.212]) by TK5EX14HUBC102.redmond.corp.microsoft.com ([157.54.7.154]) with mapi id 14.01.0289.008; Tue, 12 Apr 2011 11:00:44 -0700
From: Spencer Shepler <sshepler@microsoft.com>
To: "nfsv4@ietf.org" <nfsv4@ietf.org>
Thread-Topic: Last Call for RFC 3530 BIS (ending on May 3rd)
Thread-Index: Acv5OyXnJfnushaMRH6kD/A0FY6fUg==
Date: Tue, 12 Apr 2011 18:00:44 +0000
Message-ID: <E043D9D8EE3B5743B8B174A814FD584F0F0B327F@TK5EX14MBXC124.redmond.corp.microsoft.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.71]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: [nfsv4] Last Call for RFC 3530 BIS (ending on May 3rd)
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Apr 2011 18:00:46 -0000

The RFC 3530 BIS I-Ds are starting working group last call today
and will end on May 3rd.

The documents under review may be found here:

http://datatracker.ietf.org/doc/draft-ietf-nfsv4-rfc3530bis/
http://datatracker.ietf.org/doc/draft-ietf-nfsv4-rfc3530bis-dot-x/

Comments (positive or negative) should be directed to the WG alias.

Note that the above links provide document history in the=20
event that is helpful.

Thanks,
Spencer



From Tom.Haynes@netapp.com  Tue Apr 12 11:02:38 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 335D5E072E for <nfsv4@ietfc.amsl.com>; Tue, 12 Apr 2011 11:02:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.15
X-Spam-Level: 
X-Spam-Status: No, score=-10.15 tagged_above=-999 required=5 tests=[AWL=0.449,  BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gdJKiIle9NmH for <nfsv4@ietfc.amsl.com>; Tue, 12 Apr 2011 11:02:37 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id 5D2F1E067F for <nfsv4@ietf.org>; Tue, 12 Apr 2011 11:02:37 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,197,1301900400"; d="scan'208";a="540873193"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 12 Apr 2011 11:02:36 -0700
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3CI2a9I019073; Tue, 12 Apr 2011 11:02:36 -0700 (PDT)
Received: from rtprsexc2-prd.hq.netapp.com ([10.100.161.115]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 12 Apr 2011 11:02:35 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 12 Apr 2011 14:02:34 -0400
Received: from maute-lxp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 12 Apr 2011 14:02:33 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <4DA48A76.5080305@gmail.com>
Date: Tue, 12 Apr 2011 13:02:32 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <6624C382-401D-4243-BBBE-B4BE6C7D8C1F@netapp.com>
References: <B637DE01-CC65-4393-8F57-3C0422E4E6AA@netapp.com>	<41be156de393c5e2948b0222230aa6e6.squirrel@webmail.eisler.com> <3D8ED82E-80F3-4B5B-8C71-088E344F47F2@netapp.com> <4DA48A76.5080305@gmail.com>
To: Dean <seattleplus@gmail.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 12 Apr 2011 18:02:33.0975 (UTC) FILETIME=[CC838870:01CBF93B]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] Patterns: INITIALIZE or WRITE_PLUS
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Apr 2011 18:02:38 -0000

On Apr 12, 2011, at 12:23 PM, Dean wrote:

>=20
>> The following XDR uses the pattern data structure from the Enterprise =
Apps I-D
>> with READ_PLUS and WRITE_PLUS. Note that it has the complexity =
required to
>> support multiple holes.
>>=20
>> struct hole_pattern4 {
>>         offset4         hp_offset;
>>         length4         hp_blocksize;
>>         length4         hp_blockcount;
>>         length4         hp_reloff_pattern;
>>         length4         hp_reloff_blocknum;
>>         opaque          hp_pattern<>;
>> };
>=20
> I don't think we should merge the zero and pattern responses, but =
create 2 separate struct's.  With every field being 64bits, the standard =
sparse response just went from 128bits to 384bits.  A big waste for 99% =
of all use cases.

Okay, I think this is a valid point.

It turns out a pattern is more than a repeated string...


>> struct READ_PLUS4args {
>>         /* CURRENT_FH: file */
>>         stateid4        rpa_stateid;
>>         offset4         rpa_offset;
>>         count4          rpa_count;
>> };
>>=20
>> union read_plus_res4 switch (bool is_hole) {
>> case TRUE:
>>         hole_pattern4   rpr_hole;
>> case FALSE:
>>         opaque          rpr_data<>;
>> };
>>=20
>> union READ_PLUS4res switch (nfsstat4 status) {
>> case NFS4_OK:
>>         read_plus_res4  resok4<>;
>> default:
>>         void;
>> };
>=20
> So the current online draft seems to be corrupted and has COPY_NOTIFY =
in place of READPLUS.  So I can't tell what you have merged into the =
current NFSv4.2 draft.


I don't want to keep on spamming the IETF with every change. The git =
repository already
has this fix.


>=20
> But what happened to eof?

Ack!

Let me rewhack the XDR to include your point above.

> Dean
>> struct write_plus_data4 {
>>         offset4         wpd_offset;
>>         opaque          wpd_data<>;
>> };
>>=20
>> union write_plus_arg4 switch (bool is_hole) {
>> case TRUE:
>>         hole_pattern4           wpa_hole;
>> case FALSE:
>>         write_plus_data4        wpa_data;
>> };
>>=20
>> struct WRITE_PLUS4args {
>>         /* CURRENT_FH: file */
>>         stateid4        wpa_stateid;
>>         stable_how4     wpa_stable;
>>         write_plus_arg4 wpa_data<>;
>> };
>>=20
>> struct WRITE_PLUS4resok {
>>         count4          wpr_count;
>>         stable_how4     wpr_committed;
>>         verifier4       wpr_writeverf;
>> };
>>=20
>> union WRITE_PLUS4res switch (nfsstat4 status) {
>> case NFS4_OK:
>>         WRITE_PLUS4resok    resok4;
>> default:
>>         void;
>> };
>>=20
>>=20
>>=20
>>=20
>>=20
>>=20
>>=20
>>=20
>> _______________________________________________
>> nfsv4 mailing list
>> nfsv4@ietf.org
>> https://www.ietf.org/mailman/listinfo/nfsv4
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4


From Tom.Haynes@netapp.com  Tue Apr 12 11:06:26 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 4B5AFE0835 for <nfsv4@ietfc.amsl.com>; Tue, 12 Apr 2011 11:06:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.24
X-Spam-Level: 
X-Spam-Status: No, score=-10.24 tagged_above=-999 required=5 tests=[AWL=0.359,  BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ACN6oYkEYA4c for <nfsv4@ietfc.amsl.com>; Tue, 12 Apr 2011 11:06:25 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id 9E3DDE0822 for <nfsv4@ietf.org>; Tue, 12 Apr 2011 11:06:25 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,197,1301900400"; d="scan'208";a="540874341"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 12 Apr 2011 11:06:25 -0700
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3CI6ND2011807; Tue, 12 Apr 2011 11:06:24 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 12 Apr 2011 11:06:24 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 12 Apr 2011 14:06:21 -0400
Received: from maute-lxp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 12 Apr 2011 14:06:21 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <4DA48E70.7000908@gmail.com>
Date: Tue, 12 Apr 2011 13:06:19 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <658F379D-AC8D-4242-9222-B4433B7850A2@netapp.com>
References: <4D2B6320-D443-47A4-8AC5-6AF1C5F397F2@netapp.com>	<238E2192-6AD7-4B31-91AC-A5ED8FBB9DB2@netapp.com>	<4D9E36B2.1010706@gmail.com>	<5240D1F3-D2ED-459B-A84B-6BA790CBF321@netapp.com>	<7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF2A74@MX14A.corp.emc.com> <7E6D82D5-1BB1-4D6A-A79D-77B2C794B2A3@netapp.com> <4DA48E70.7000908@gmail.com>
To: Dean <seattleplus@gmail.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 12 Apr 2011 18:06:21.0319 (UTC) FILETIME=[54057970:01CBF93C]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [NFSv4.2] Meeting Notes 04/07/2011
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Apr 2011 18:06:26 -0000

On Apr 12, 2011, at 12:40 PM, Dean wrote:

>=20
>=20
> I don't mind getting creative, but to reiterate a previous post
> 1) The specialized corner case of using patterns should not add or =
slow down the common 'zero' case

Agreed.

> 2) Maybe we can get creative but keep it simple, like single pattern =
per file, set the pattern once per file, etc
>=20

I think that the majority of the uses will keep it simple. But with a =
low overhead
of getting the XDR right, we keep it open to allow the more complex =
cases.=

From Tom.Haynes@netapp.com  Tue Apr 12 11:23:27 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 3ACE3E0672 for <nfsv4@ietfc.amsl.com>; Tue, 12 Apr 2011 11:23:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.299
X-Spam-Level: 
X-Spam-Status: No, score=-10.299 tagged_above=-999 required=5 tests=[AWL=0.299, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dwOt48mqkEX1 for <nfsv4@ietfc.amsl.com>; Tue, 12 Apr 2011 11:23:26 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id DB968E065C for <nfsv4@ietf.org>; Tue, 12 Apr 2011 11:23:25 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,197,1301900400";  d="scan'208,217";a="540878587"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 12 Apr 2011 11:23:24 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3CINKD8001616; Tue, 12 Apr 2011 11:23:24 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 12 Apr 2011 11:23:21 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 12 Apr 2011 14:23:20 -0400
Received: from ebc05-xp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 12 Apr 2011 14:23:19 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: multipart/alternative; boundary=Apple-Mail-24-55366999
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <4DA48CF9.80606@gmail.com>
Date: Tue, 12 Apr 2011 13:23:17 -0500
Message-Id: <8333B2A1-B0D3-49D0-9505-C524561BC093@netapp.com>
References: <4D2B6320-D443-47A4-8AC5-6AF1C5F397F2@netapp.com> <238E2192-6AD7-4B31-91AC-A5ED8FBB9DB2@netapp.com> <4D9E36B2.1010706@gmail.com> <5240D1F3-D2ED-459B-A84B-6BA790CBF321@netapp.com> <E0BA7576-84C9-49AF-8DE9-8D04B3D052B8@netapp.com> <4DA48CF9.80606@gmail.com>
To: Dean <seattleplus@gmail.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 12 Apr 2011 18:23:19.0522 (UTC) FILETIME=[B2EAEC20:01CBF93E]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] Holes and data
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Apr 2011 18:23:27 -0000

--Apple-Mail-24-55366999
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


On Apr 12, 2011, at 12:33 PM, Dean wrote:

>>>=20
>>=20
>> An even more interesting observation is that you can easily have =
adjacent holes:
>>=20
>>=20
>>                         +-------------+--------------------+
>>                         | Byte-Range  | Contents           |
>>                         +-------------+--------------------+
>>                         | 0-31999     | Data               |
>>                         | 32K-255999  | Hole of "deadbeef" |
>>                         | 256K-287999 | Data               |
>>                         | 288K-353999 | Hole of "514y5407" |
>>                         | 354K-417999 | Hole of "a1b2c3d4" |
>>                         +-------------+--------------------+
>>=20
>>=20
> While interesting, is this realistic?  Isn't the whole point here to =
have a consistent pattern throughout the file to be able to =
differentiate corruption from holes?  Is there a usecase for supporting =
multiple patterns in a single file?
>=20


I can see the use case for multiple patterns:

0xdeadbeef means the data was initialized and never used.
0xfeed51a9 means the data was hole-punched.

I.e., think of the common ways that memory slab libraries
detect the various forms of corruption.

The flip side is do we want to mandate that the server
record the pattern and reject any WRITE_PLUS calls
which encode a different pattern?

I guess we could provide a SET_PATTERN operation
which set the only pattern allowed in a file. By default
it would be zeros. Then any INITIALIZE or HOLE_PUNCH
type of operation would not take a pattern, but when the
server responded to a READ, it would provide that set
pattern. Of course, then you have the issue if it is write
once or many.

Also, a server is not required to coalesce holes, is it?

So even with a set pattern, we could have:

                        +-------------+--------------------+
                        | Byte-Range  | Contents           |
                        +-------------+--------------------+
                        | 0-31999     | Data               |
                        | 32K-255999  | Hole of "deadbeef" |
                        | 256K-287999 | Data               |
                        | 288K-353999 | Hole of "deadbeef" |
                        | 354K-417999 | Hole of "deadbeef" |
                        +-------------+--------------------+

The READ_PLUS would have to handle that anyway, right?


> I'm also wondering how applications would set and write this pattern =
using the standard file system APIs available today?
>=20


The client doing dedup of dirty pages?

I'm not sure, but as application writers see the functionality, they'll =
push
for new APIs to utilize it. You can even imagine a read() system call
returning the fact that it got a hole/pattern back.






> Dean


--Apple-Mail-24-55366999
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><br><div><div>On Apr 12, 2011, at 12:33 PM, Dean wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite">
<div text=3D"#000000" bgcolor=3D"#ffffff">
    <blockquote =
cite=3D"mid:E0BA7576-84C9-49AF-8DE9-8D04B3D052B8@netapp.com" =
type=3D"cite">
      <div>
        <blockquote type=3D"cite">
          <div style=3D"word-wrap: break-word;"><br>
          </div>
        </blockquote>
        <br>
      </div>
      <div>An even more interesting observation is that you can easily
        have adjacent holes:</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <font class=3D"Apple-style-span" face=3D"Courier">&nbsp;&nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
        &nbsp; &nbsp;+-------------+--------------------+<br>
        &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp;| Byte-Range &nbsp;| Contents &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; |<br>
        &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp;+-------------+--------------------+<br>
        &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp;| 0-31999 &nbsp; &nbsp; | Data &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |<br>
        &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp;| 32K-255999 &nbsp;| Hole of "deadbeef" |<br>
        &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp;| 256K-287999 | Data &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; |<br>
        &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp;| 288K-353999 | Hole of "514y5407" |<br>
        &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp;| 354K-417999 | Hole of "a1b2c3d4" |<br>
        &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp;+-------------+--------------------+<br>
      </font><br>
      <br>
    </blockquote>
    While interesting, is this realistic?&nbsp; Isn't the whole point =
here to
    have a consistent pattern throughout the file to be able to
    differentiate corruption from holes?&nbsp; Is there a usecase for
    supporting multiple patterns in a single file?<br>
    <br></div></blockquote><div><br></div><div><br></div><div>I can see =
the use case for multiple patterns:</div><div><br></div><div>0xdeadbeef =
means the data was initialized and never used.</div><div>0xfeed51a9 =
means the data was hole-punched.</div><div><br></div><div>I.e., think of =
the common ways that memory slab libraries</div><div>detect the various =
forms of corruption.</div><div><br></div><div>The flip side is do we =
want to mandate that the server</div><div>record the pattern and reject =
any WRITE_PLUS calls</div><div>which encode a different =
pattern?</div><div><br></div><div>I guess we could provide a SET_PATTERN =
operation</div><div>which set the only pattern allowed in a file. By =
default</div><div>it would be zeros. Then any INITIALIZE or =
HOLE_PUNCH</div><div>type of operation would not take a pattern, but =
when the</div><div>server responded to a READ, it would provide that =
set</div><div>pattern. Of course, then you have the issue if it is =
write</div><div>once or many.</div><div><br></div><div>Also, a server is =
not required to coalesce holes, is it?</div><div><br></div><div>So even =
with a set pattern, we could have:</div><div><br></div><div><blockquote =
type=3D"cite"></blockquote><span class=3D"Apple-style-span" =
style=3D"font-family: Courier; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp;+-------------+--------------------+</span><br><blockquote =
type=3D"cite"></blockquote><span class=3D"Apple-style-span" =
style=3D"font-family: Courier; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| Byte-Range =
&nbsp;| Contents &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
|</span><br><blockquote type=3D"cite"></blockquote><span =
class=3D"Apple-style-span" style=3D"font-family: Courier; ">&nbsp;&nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp;+-------------+--------------------+</span><br><blockquote =
type=3D"cite"></blockquote><span class=3D"Apple-style-span" =
style=3D"font-family: Courier; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| 0-31999 &nbsp; =
&nbsp; | Data &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
|</span><br><blockquote type=3D"cite"></blockquote><span =
class=3D"Apple-style-span" style=3D"font-family: Courier; ">&nbsp;&nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp;| 32K-255999 &nbsp;| Hole of "deadbeef" |</span><br><blockquote =
type=3D"cite"></blockquote><span class=3D"Apple-style-span" =
style=3D"font-family: Courier; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| 256K-287999 | =
Data &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
|</span><br><blockquote type=3D"cite"></blockquote><span =
class=3D"Apple-style-span" style=3D"font-family: Courier; ">&nbsp;&nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp;| 288K-353999 | Hole of "deadbeef" |</span><br><blockquote =
type=3D"cite"></blockquote><span class=3D"Apple-style-span" =
style=3D"font-family: Courier; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| 354K-417999 | =
Hole of "deadbeef" |</span><br><div text=3D"#000000" =
bgcolor=3D"#ffffff"><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp;+-------------+--------------------+<br></font></div><div =
text=3D"#000000" bgcolor=3D"#ffffff"><font class=3D"Apple-style-span" =
face=3D"Courier"><br></font></div><div text=3D"#000000" =
bgcolor=3D"#ffffff"><font class=3D"Apple-style-span" face=3D"Courier">The =
READ_PLUS would have to handle that anyway, =
right?</font></div></div><div><br></div><br><blockquote type=3D"cite"><div=
 text=3D"#000000" bgcolor=3D"#ffffff">
    I'm also wondering how applications would set and write this pattern
    using the standard file system APIs available today?<br>
    <br></div></blockquote><div><br></div><div><br></div><div>The client =
doing dedup of dirty pages?</div><div><br></div><div>I'm not sure, but =
as application writers see the functionality, they'll push</div><div>for =
new APIs to utilize it. You can even imagine a read() system =
call</div><div>returning the fact that it got a hole/pattern =
back.</div><div><br></div><div><br></div><div><br></div><div><br></div><di=
v><br></div><br><blockquote type=3D"cite"><div text=3D"#000000" =
bgcolor=3D"#ffffff">
    Dean<br>
  </div>

</blockquote></div><br></body></html>=

--Apple-Mail-24-55366999--

From Trond.Myklebust@netapp.com  Tue Apr 12 12:34:46 2011
Return-Path: <Trond.Myklebust@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id C6470E08CE for <nfsv4@ietfc.amsl.com>; Tue, 12 Apr 2011 12:34:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H2ZpMg6geBk9 for <nfsv4@ietfc.amsl.com>; Tue, 12 Apr 2011 12:34:45 -0700 (PDT)
Received: from mx1.netapp.com (mx1.netapp.com [216.240.18.38]) by ietfc.amsl.com (Postfix) with ESMTP id 77673E0824 for <nfsv4@ietf.org>; Tue, 12 Apr 2011 12:34:45 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,198,1301900400"; d="scan'208";a="127808030"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx1-out.netapp.com with ESMTP; 12 Apr 2011 12:34:44 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3CJY3RJ020826; Tue, 12 Apr 2011 12:34:04 -0700 (PDT)
Received: from SACMVEXC2-PRD.hq.netapp.com ([10.99.115.17]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 12 Apr 2011 12:34:04 -0700
Received: from 10.58.56.186 ([10.58.56.186]) by SACMVEXC2-PRD.hq.netapp.com ([10.99.115.16]) with Microsoft Exchange Server HTTP-DAV ;  Tue, 12 Apr 2011 19:34:03 +0000
Received: from lade.trondhjem.org by SACMVEXC2-PRD.hq.netapp.com; 12 Apr 2011 15:34:03 -0400
From: Trond Myklebust <Trond.Myklebust@netapp.com>
To: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <3D8ED82E-80F3-4B5B-8C71-088E344F47F2@netapp.com>
References: <B637DE01-CC65-4393-8F57-3C0422E4E6AA@netapp.com> <41be156de393c5e2948b0222230aa6e6.squirrel@webmail.eisler.com> <3D8ED82E-80F3-4B5B-8C71-088E344F47F2@netapp.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Organization: NetApp Inc
Date: Tue, 12 Apr 2011 15:34:02 -0400
Message-ID: <1302636842.4801.71.camel@lade.trondhjem.org>
Mime-Version: 1.0
X-Mailer: Evolution 2.32.2 (2.32.2-1.fc14) 
X-OriginalArrivalTime: 12 Apr 2011 19:34:04.0068 (UTC) FILETIME=[94DD3E40:01CBF948]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] Patterns: INITIALIZE or WRITE_PLUS
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Apr 2011 19:34:46 -0000

On Mon, 2011-04-11 at 18:40 -0500, Thomas Haynes wrote:
> struct write_plus_data4 {
>         offset4         wpd_offset;
>         opaque          wpd_data<>;
> };
>=20
> union write_plus_arg4 switch (bool is_hole) {
> case TRUE:
>         hole_pattern4           wpa_hole;
> case FALSE:
>         write_plus_data4        wpa_data;
> };
>=20
> struct WRITE_PLUS4args {
>         /* CURRENT_FH: file */
>         stateid4        wpa_stateid;
>         stable_how4     wpa_stable;
>         write_plus_arg4 wpa_data<>;
> };
>=20
> struct WRITE_PLUS4resok {
>         count4          wpr_count;
>         stable_how4     wpr_committed;
>         verifier4       wpr_writeverf;
> };
>=20
> union WRITE_PLUS4res switch (nfsstat4 status) {
> case NFS4_OK:
>         WRITE_PLUS4resok    resok4;
> default:
>         void;
> };

How would any of this work in a pNFS-centric world (or have we replaced
the concept of "scale out" with "scale back")?

--=20
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@netapp.com
www.netapp.com


From Tom.Haynes@netapp.com  Tue Apr 12 12:40:53 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id E486BE08D7 for <nfsv4@ietfc.amsl.com>; Tue, 12 Apr 2011 12:40:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.342
X-Spam-Level: 
X-Spam-Status: No, score=-10.342 tagged_above=-999 required=5 tests=[AWL=0.257, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eyTq4IRgJwvq for <nfsv4@ietfc.amsl.com>; Tue, 12 Apr 2011 12:40:53 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id 4E02DE0824 for <nfsv4@ietf.org>; Tue, 12 Apr 2011 12:40:53 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,198,1301900400"; d="scan'208";a="540897579"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 12 Apr 2011 12:40:22 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3CJeLgU020624; Tue, 12 Apr 2011 12:40:22 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 12 Apr 2011 12:40:22 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 12 Apr 2011 15:40:17 -0400
Received: from maute-lxp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 12 Apr 2011 15:40:16 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <1302636842.4801.71.camel@lade.trondhjem.org>
Date: Tue, 12 Apr 2011 14:40:14 -0500
Content-Transfer-Encoding: 7bit
Message-Id: <931BCA8E-31ED-4879-8C35-3B128FFDA368@netapp.com>
References: <B637DE01-CC65-4393-8F57-3C0422E4E6AA@netapp.com> <41be156de393c5e2948b0222230aa6e6.squirrel@webmail.eisler.com> <3D8ED82E-80F3-4B5B-8C71-088E344F47F2@netapp.com> <1302636842.4801.71.camel@lade.trondhjem.org>
To: Trond Myklebust <Trond.Myklebust@netapp.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 12 Apr 2011 19:40:16.0600 (UTC) FILETIME=[72E91D80:01CBF949]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] Patterns: INITIALIZE or WRITE_PLUS
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Apr 2011 19:40:54 -0000

On Apr 12, 2011, at 2:34 PM, Trond Myklebust wrote:

>> 
> 
> How would any of this work in a pNFS-centric world (or have we replaced
> the concept of "scale out" with "scale back")?
> 


Is the question the fact that the INITIALIZE operation would go to the MDS
and the WRITE_PLUS will go to the DS?




From Trond.Myklebust@netapp.com  Tue Apr 12 13:55:17 2011
Return-Path: <Trond.Myklebust@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id EDBD0E0924 for <nfsv4@ietfc.amsl.com>; Tue, 12 Apr 2011 13:55:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BzPRjg+Jb-oT for <nfsv4@ietfc.amsl.com>; Tue, 12 Apr 2011 13:55:17 -0700 (PDT)
Received: from mx1.netapp.com (mx1.netapp.com [216.240.18.38]) by ietfc.amsl.com (Postfix) with ESMTP id 17393E08F6 for <nfsv4@ietf.org>; Tue, 12 Apr 2011 13:55:17 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,199,1301900400"; d="scan'208";a="127826564"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx1-out.netapp.com with ESMTP; 12 Apr 2011 13:55:16 -0700
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3CKsU1u002800; Tue, 12 Apr 2011 13:54:35 -0700 (PDT)
Received: from SACMVEXC2-PRD.hq.netapp.com ([10.99.115.17]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 12 Apr 2011 13:54:31 -0700
Received: from 10.58.56.186 ([10.58.56.186]) by SACMVEXC2-PRD.hq.netapp.com ([10.99.115.16]) with Microsoft Exchange Server HTTP-DAV ;  Tue, 12 Apr 2011 20:54:11 +0000
Received: from lade.trondhjem.org by SACMVEXC2-PRD.hq.netapp.com; 12 Apr 2011 16:54:11 -0400
From: Trond Myklebust <Trond.Myklebust@netapp.com>
To: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <931BCA8E-31ED-4879-8C35-3B128FFDA368@netapp.com>
References: <B637DE01-CC65-4393-8F57-3C0422E4E6AA@netapp.com> <41be156de393c5e2948b0222230aa6e6.squirrel@webmail.eisler.com> <3D8ED82E-80F3-4B5B-8C71-088E344F47F2@netapp.com> <1302636842.4801.71.camel@lade.trondhjem.org> <931BCA8E-31ED-4879-8C35-3B128FFDA368@netapp.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Organization: NetApp Inc
Date: Tue, 12 Apr 2011 16:54:11 -0400
Message-ID: <1302641651.4801.107.camel@lade.trondhjem.org>
Mime-Version: 1.0
X-Mailer: Evolution 2.32.2 (2.32.2-1.fc14) 
X-OriginalArrivalTime: 12 Apr 2011 20:54:31.0392 (UTC) FILETIME=[D22C6E00:01CBF953]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] Patterns: INITIALIZE or WRITE_PLUS
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Apr 2011 20:55:18 -0000

On Tue, 2011-04-12 at 14:40 -0500, Thomas Haynes wrote:
> On Apr 12, 2011, at 2:34 PM, Trond Myklebust wrote:
>=20
> >>=20
> >=20
> > How would any of this work in a pNFS-centric world (or have we replaced
> > the concept of "scale out" with "scale back")?
> >=20
>=20
>=20
> Is the question the fact that the INITIALIZE operation would go to the MD=
S
> and the WRITE_PLUS will go to the DS?

(First an aside: Why do we want to replace WRITE with something that
does WRITE and holes/patterned data? It sort of makes sense to replace
READ with READ_PLUS (although probably not in a pNFS striped world)
since the client doesn't know whether to expect a hole or data, but if
it is writing data, it definitely knows what kind of information it is
sending.
IOW: I can see a need for a WRITE_PATTERNED, which does holes and
patterned fill, but not WRITE_PLUS, which does holes, patterned fill and
ordinary writes.)

That said, if you are writing patterned data, how is that supposed to
work in a pNFS world? Do you have to send a WRITE_(PATTERNED|PLUS)|
INITIALIZE to all the data servers? If so, how do you implement the same
functionality for non-files layout types?
If you send it to the MDS, then how does that interact with pNFS? Does
it cause layouts to be recalled? Presumably it has to in the case of
blocks and objects, but what about files?

BTW: the fact that layouts are described in separate documents rather
than being part of the main protocol is going to make adding new NFSv4.x
features "interesting". If I add 'feature X' to the main protocol, and
someone invents a new layout type that may be affected by said feature X
(because it may require a layout recall, or layout commit, or...) then
who is responsible for describing what happens, and in which document?

--=20
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@netapp.com
www.netapp.com


From Tom.Haynes@netapp.com  Tue Apr 12 14:19:22 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 204B7E096E for <nfsv4@ietfc.amsl.com>; Tue, 12 Apr 2011 14:19:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.374
X-Spam-Level: 
X-Spam-Status: No, score=-10.374 tagged_above=-999 required=5 tests=[AWL=0.225, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EX6FWOE-PMTW for <nfsv4@ietfc.amsl.com>; Tue, 12 Apr 2011 14:19:21 -0700 (PDT)
Received: from mx12.netapp.com (mx12.netapp.com [216.240.18.77]) by ietfc.amsl.com (Postfix) with ESMTP id 2AC3CE096B for <nfsv4@ietf.org>; Tue, 12 Apr 2011 14:19:21 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,199,1301900400"; d="scan'208";a="237096745"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx12-out.netapp.com with ESMTP; 12 Apr 2011 14:19:20 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3CLIdTG009633; Tue, 12 Apr 2011 14:18:40 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 12 Apr 2011 14:18:39 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 12 Apr 2011 17:18:37 -0400
Received: from maute-lxp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 12 Apr 2011 17:18:35 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <1302641651.4801.107.camel@lade.trondhjem.org>
Date: Tue, 12 Apr 2011 16:18:33 -0500
Content-Transfer-Encoding: 7bit
Message-Id: <AC18F1C1-B31A-4D45-8851-2D7A1228B2C5@netapp.com>
References: <B637DE01-CC65-4393-8F57-3C0422E4E6AA@netapp.com> <41be156de393c5e2948b0222230aa6e6.squirrel@webmail.eisler.com> <3D8ED82E-80F3-4B5B-8C71-088E344F47F2@netapp.com> <1302636842.4801.71.camel@lade.trondhjem.org> <931BCA8E-31ED-4879-8C35-3B128FFDA368@netapp.com> <1302641651.4801.107.camel@lade.trondhjem.org>
To: Trond Myklebust <Trond.Myklebust@netapp.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 12 Apr 2011 21:18:36.0600 (UTC) FILETIME=[2F95AB80:01CBF957]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] Patterns: INITIALIZE or WRITE_PLUS
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Apr 2011 21:19:22 -0000

On Apr 12, 2011, at 3:54 PM, Trond Myklebust wrote:

> On Tue, 2011-04-12 at 14:40 -0500, Thomas Haynes wrote:
>> On Apr 12, 2011, at 2:34 PM, Trond Myklebust wrote:
>> 
>>>> 
>>> 
>>> How would any of this work in a pNFS-centric world (or have we replaced
>>> the concept of "scale out" with "scale back")?
>>> 
>> 
>> 
>> Is the question the fact that the INITIALIZE operation would go to the MDS
>> and the WRITE_PLUS will go to the DS?
> 
> (First an aside: Why do we want to replace WRITE with something that
> does WRITE and holes/patterned data? It sort of makes sense to replace
> READ with READ_PLUS (although probably not in a pNFS striped world)
> since the client doesn't know whether to expect a hole or data, but if
> it is writing data, it definitely knows what kind of information it is
> sending.
> IOW: I can see a need for a WRITE_PATTERNED, which does holes and
> patterned fill, but not WRITE_PLUS, which does holes, patterned fill and
> ordinary writes.)


The Enterprise Apps proposes 64 bit data lengths, which would cause a
new WRITE operation.


> 
> That said, if you are writing patterned data, how is that supposed to
> work in a pNFS world? Do you have to send a WRITE_(PATTERNED|PLUS)|
> INITIALIZE to all the data servers? If so, how do you implement the same
> functionality for non-files layout types?


Assuming we want the large data lengths and thinking off the top of my head:

WRITE_PLUS is for writing data, so it would go to the DSes.

WRITE_PATTERN is for writing patterns|holes, so it would go to the MDS.

And through the magic of the Control Protocol, the MDS would communicate
the pattern to the DSes.



> If you send it to the MDS, then how does that interact with pNFS? Does
> it cause layouts to be recalled? Presumably it has to in the case of
> blocks and objects, but what about files?


Doesn't 5661 already describe what happens if a client has a layout and
tries to perform I/O through the MDS?

Based on the way this discussion is going, I would expect us to follow those
rules.



> 
> BTW: the fact that layouts are described in separate documents rather
> than being part of the main protocol is going to make adding new NFSv4.x
> features "interesting". If I add 'feature X' to the main protocol, and
> someone invents a new layout type that may be affected by said feature X
> (because it may require a layout recall, or layout commit, or...) then
> who is responsible for describing what happens, and in which document?


The new layout type is responsible as far as I can tell. It is the one
deviating from the main protocol. Of course, with a new minor version
once per year, it might be easy to sync a change. <ducks />



> 
> -- 
> Trond Myklebust
> Linux NFS client maintainer
> 
> NetApp
> Trond.Myklebust@netapp.com
> www.netapp.com
> 


From Trond.Myklebust@netapp.com  Tue Apr 12 15:34:16 2011
Return-Path: <Trond.Myklebust@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 89EE6E0920 for <nfsv4@ietfc.amsl.com>; Tue, 12 Apr 2011 15:34:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id upgLbk5FFgZ6 for <nfsv4@ietfc.amsl.com>; Tue, 12 Apr 2011 15:34:15 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id 6EB5AE091B for <nfsv4@ietf.org>; Tue, 12 Apr 2011 15:34:14 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,200,1301900400"; d="scan'208";a="540925687"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 12 Apr 2011 15:33:59 -0700
Received: from svlrsexc1-prd.hq.netapp.com (svlrsexc1-prd.hq.netapp.com [10.57.115.30]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3CMXxWL024872; Tue, 12 Apr 2011 15:33:59 -0700 (PDT)
Received: from SACMVEXC2-PRD.hq.netapp.com ([10.99.115.17]) by svlrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 12 Apr 2011 15:34:00 -0700
Received: from 10.58.56.94 ([10.58.56.94]) by SACMVEXC2-PRD.hq.netapp.com ([10.99.115.16]) with Microsoft Exchange Server HTTP-DAV ;  Tue, 12 Apr 2011 22:33:58 +0000
Received: from lade.trondhjem.org by SACMVEXC2-PRD.hq.netapp.com; 12 Apr 2011 18:33:58 -0400
From: Trond Myklebust <Trond.Myklebust@netapp.com>
To: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <AC18F1C1-B31A-4D45-8851-2D7A1228B2C5@netapp.com>
References: <B637DE01-CC65-4393-8F57-3C0422E4E6AA@netapp.com> <41be156de393c5e2948b0222230aa6e6.squirrel@webmail.eisler.com> <3D8ED82E-80F3-4B5B-8C71-088E344F47F2@netapp.com> <1302636842.4801.71.camel@lade.trondhjem.org> <931BCA8E-31ED-4879-8C35-3B128FFDA368@netapp.com> <1302641651.4801.107.camel@lade.trondhjem.org> <AC18F1C1-B31A-4D45-8851-2D7A1228B2C5@netapp.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Organization: NetApp Inc
Date: Tue, 12 Apr 2011 18:33:58 -0400
Message-ID: <1302647638.25410.19.camel@lade.trondhjem.org>
Mime-Version: 1.0
X-Mailer: Evolution 2.32.2 (2.32.2-1.fc14) 
X-OriginalArrivalTime: 12 Apr 2011 22:34:00.0618 (UTC) FILETIME=[B81C08A0:01CBF961]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] Patterns: INITIALIZE or WRITE_PLUS
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Apr 2011 22:34:16 -0000

On Tue, 2011-04-12 at 16:18 -0500, Thomas Haynes wrote:
> On Apr 12, 2011, at 3:54 PM, Trond Myklebust wrote:
>=20
> > On Tue, 2011-04-12 at 14:40 -0500, Thomas Haynes wrote:
> >> On Apr 12, 2011, at 2:34 PM, Trond Myklebust wrote:
> >>=20
> >>>>=20
> >>>=20
> >>> How would any of this work in a pNFS-centric world (or have we replac=
ed
> >>> the concept of "scale out" with "scale back")?
> >>>=20
> >>=20
> >>=20
> >> Is the question the fact that the INITIALIZE operation would go to the=
 MDS
> >> and the WRITE_PLUS will go to the DS?
> >=20
> > (First an aside: Why do we want to replace WRITE with something that
> > does WRITE and holes/patterned data? It sort of makes sense to replace
> > READ with READ_PLUS (although probably not in a pNFS striped world)
> > since the client doesn't know whether to expect a hole or data, but if
> > it is writing data, it definitely knows what kind of information it is
> > sending.
> > IOW: I can see a need for a WRITE_PATTERNED, which does holes and
> > patterned fill, but not WRITE_PLUS, which does holes, patterned fill an=
d
> > ordinary writes.)
>=20
>=20
> The Enterprise Apps proposes 64 bit data lengths, which would cause a
> new WRITE operation.

Interesting... I'd be curious to see what the motivation is for that...
Are there any servers out there that actually support 4GB writes today?
What is the reason for wanting an atomic > 4GB write instead of just
splitting it up?

> > That said, if you are writing patterned data, how is that supposed to
> > work in a pNFS world? Do you have to send a WRITE_(PATTERNED|PLUS)|
> > INITIALIZE to all the data servers? If so, how do you implement the sam=
e
> > functionality for non-files layout types?
>=20
>=20
> Assuming we want the large data lengths and thinking off the top of my he=
ad:
>=20
> WRITE_PLUS is for writing data, so it would go to the DSes.
>=20
> WRITE_PATTERN is for writing patterns|holes, so it would go to the MDS.
>=20
> And through the magic of the Control Protocol, the MDS would communicate
> the pattern to the DSes.
>=20
>=20
>=20
> > If you send it to the MDS, then how does that interact with pNFS? Does
> > it cause layouts to be recalled? Presumably it has to in the case of
> > blocks and objects, but what about files?
>=20
>=20
> Doesn't 5661 already describe what happens if a client has a layout and
> tries to perform I/O through the MDS?

No. It punts even on basic information such as when it is appropriate or
not to recall a layout. If client developers want to to manage their I/O
efficiently, they do need to know this sort of thing.

> Based on the way this discussion is going, I would expect us to follow th=
ose
> rules.
>=20
>=20
>=20
> >=20
> > BTW: the fact that layouts are described in separate documents rather
> > than being part of the main protocol is going to make adding new NFSv4.=
x
> > features "interesting". If I add 'feature X' to the main protocol, and
> > someone invents a new layout type that may be affected by said feature =
X
> > (because it may require a layout recall, or layout commit, or...) then
> > who is responsible for describing what happens, and in which document?
>=20
>=20
> The new layout type is responsible as far as I can tell. It is the one
> deviating from the main protocol. Of course, with a new minor version
> once per year, it might be easy to sync a change. <ducks />

Does that mean that each layout type may need to be revisited and
revised every time we publish a new minor version? That would certainly
be an efficient way to get rid of all the deadwood.

--=20
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@netapp.com
www.netapp.com


From sfaibish@emc.com  Wed Apr 13 08:58:58 2011
Return-Path: <sfaibish@emc.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 45001E07CE for <nfsv4@ietfc.amsl.com>; Wed, 13 Apr 2011 08:58:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iwVHpm6RO9mi for <nfsv4@ietfc.amsl.com>; Wed, 13 Apr 2011 08:58:57 -0700 (PDT)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by ietfc.amsl.com (Postfix) with ESMTP id 63183E0782 for <nfsv4@ietf.org>; Wed, 13 Apr 2011 08:58:57 -0700 (PDT)
Received: from hop04-l1d11-si01.isus.emc.com (HOP04-L1D11-SI01.isus.emc.com [10.254.111.54]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3DFwtex015841 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Apr 2011 11:58:55 -0400
Received: from mailhub.lss.emc.com (mailhub.lss.emc.com [10.254.221.253]) by hop04-l1d11-si01.isus.emc.com (RSA Interceptor); Wed, 13 Apr 2011 11:58:39 -0400
Received: from usensfaibisl2e.eng.emc.com (USENSFAIBISL2E.eng.emc.com [10.238.121.4]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3DFtcWR009000; Wed, 13 Apr 2011 11:55:39 -0400
Date: Wed, 13 Apr 2011 11:55:38 -0400
To: "Thomas Haynes" <thomas@netapp.com>, nfsv4@ietf.org
From: sfaibish <sfaibish@emc.com>
Organization: EMC
Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15
MIME-Version: 1.0
References: <F1E26510-36B6-40AD-9A10-E04C5DBAF388@netapp.com>
Content-Transfer-Encoding: 8bit
Message-ID: <op.vtvvu01eunckof@usensfaibisl2e.eng.emc.com>
In-Reply-To: <F1E26510-36B6-40AD-9A10-E04C5DBAF388@netapp.com>
User-Agent: Opera Mail/9.10 (Win32)
X-EMM-MHVC: 1
Cc: Kathleen Moriarty <kathleen.moriarty@emc.com>
Subject: Re: [nfsv4] Labeled NFS - agenda bashing for the first meeting
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Apr 2011 15:58:58 -0000

On Mon, 11 Apr 2011 11:09:09 -0400, Thomas Haynes <thomas@netapp.com>  
wrote:

> I'm trying to bash out an agenda for the first meeting. At a high level,  
> I have:
>
> IETF Note Well Agreement
> Kathleen - use cases
> Nico - RPCSEC_GSSv3
>
> While the RPCSEC_GSSv3 stuff might make more sense in the NFSv4.2  
> meeting,
> most of the discussion for it is in the context of LNFS.
>
> The tone I'd like to set for the first couple of meetings is nailing  
> down the use
> cases to make sure our proposed design will work. Once we are convinced
> of that, I'd like us to start in on the deep dives we've seen on the  
> mailing lists.
>
> If you have proposed agenda items that fit with that vision (or want to  
> whack
> me on the head with a new vision), feel free to respond on the WG alias.

1. Discuss the usecases from Dan Walsh and Kathlyn. To be included in the
    I-D. (I will send preliminary definitions before the call)

2. Discuss the relation between RPCSEC_GSSv3 and LNFS related to:
- mount of NFS by MAC unaware clients on server supporting LNFS but not
   reinforcing MAC. (kerberos key manipulation)
- visibility of objects with no security label on servers supporting LNFS.
- minimum requirements for access to LNFS using default labels for unaware
   clients

There are additional items but I think this will be enough for first
call. Please comment on my proposed items if it doesn't make sense.

/Sorin

>
> ----
>
> PS:
>
>   Time: Thursdays 12:30-1:30 PM CST/1:30-2:30 PM EST/10:30-11:30 AM PST
> Dial-in: 1-888-765-3653 (us)
>          303-218-2659 (international)
>      Id: 2787108
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>



-- 
Best Regards

Sorin Faibish
Corporate Distinguished Engineer
Unified Storage Division
         EMC²
where information lives

Phone: 508-249-5745
Cellphone: 617-510-0422
Email : sfaibish@emc.com

From hdspvnr@gmail.com  Thu Apr 14 00:01:12 2011
Return-Path: <hdspvnr@gmail.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id B4BB2E085B for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 00:01:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.598
X-Spam-Level: 
X-Spam-Status: No, score=-3.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2DBX3ohY8MNw for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 00:01:12 -0700 (PDT)
Received: from mail-bw0-f44.google.com (mail-bw0-f44.google.com [209.85.214.44]) by ietfc.amsl.com (Postfix) with ESMTP id 9D2FBE085A for <nfsv4@ietf.org>; Thu, 14 Apr 2011 00:01:11 -0700 (PDT)
Received: by bwz13 with SMTP id 13so1319410bwz.31 for <nfsv4@ietf.org>; Thu, 14 Apr 2011 00:01:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=Uo6iLCDm4Rjabj7b3ud0dcmq7OIIXwJGorG+5ZrCSNk=; b=HPi7QeazZlrTLJN3kqtOrXgxbG86Ee0EZpF5G4igdH5zd/unDGLatOYCE22O4NXi1D 0fBMiNc9jfi8viIHdtE743PldCP6T8vGtfRoWEiUvw8lY2dSIZydF/gDyurIsOTc0F5W PvWbkhIp3i+rpK775ikHP4HXOlBZeVIb2e8To=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=awYRO5LUEY1ctMb2ho2oQEs33mT/AsjvV9c20hMSDiwdCeTdV/g7Qd/yQMV+ciGQoQ Sd9BFxMbGcqAPftjByGrMez9MLNmxyeAUpvk19b2VLb4sUJZvd761WO8jn6EpaQxw1/0 KW+qrGLbFRyuJQxb585Sks1rB/V72j/mL82sE=
MIME-Version: 1.0
Received: by 10.204.169.130 with SMTP id z2mr259680bky.137.1302764470586; Thu, 14 Apr 2011 00:01:10 -0700 (PDT)
Received: by 10.204.22.5 with HTTP; Thu, 14 Apr 2011 00:01:10 -0700 (PDT)
Date: Thu, 14 Apr 2011 12:31:10 +0530
Message-ID: <BANLkTikjjR-+NoXPhPOCgw0djfOpKR1EnA@mail.gmail.com>
From: PV NRAO <hdspvnr@gmail.com>
To: nfsv4@ietf.org
Content-Type: multipart/alternative; boundary=bcaec52e64f57ecc9b04a0db7ded
Subject: [nfsv4] need help on nfs.fop.read source code
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2011 07:01:12 -0000

--bcaec52e64f57ecc9b04a0db7ded
Content-Type: text/plain; charset=ISO-8859-1

Hi,

Is any one can help to find out the source code for nfs read function.

Thanks for your help.

PV.

--bcaec52e64f57ecc9b04a0db7ded
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div>Hi,</div>
<div>=A0</div>
<div>Is any one can help to find out the source code for nfs read function.=
</div>
<div>=A0</div>
<div>Thanks for your help.</div>
<div>=A0</div>
<div>PV.</div>

--bcaec52e64f57ecc9b04a0db7ded--

From sfaibish@emc.com  Thu Apr 14 05:14:51 2011
Return-Path: <sfaibish@emc.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 2EF85E08BA for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 05:14:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.299
X-Spam-Level: 
X-Spam-Status: No, score=-6.299 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, J_CHICKENPOX_83=0.6, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c4jMLJrkuBnE for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 05:14:50 -0700 (PDT)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by ietfc.amsl.com (Postfix) with ESMTP id 17317E08B9 for <nfsv4@ietf.org>; Thu, 14 Apr 2011 05:14:49 -0700 (PDT)
Received: from hop04-l1d11-si02.isus.emc.com (HOP04-L1D11-SI02.isus.emc.com [10.254.111.55]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3ECEnva030476 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 14 Apr 2011 08:14:49 -0400
Received: from mailhub.lss.emc.com (mailhubhoprd04.lss.emc.com [10.254.222.226]) by hop04-l1d11-si02.isus.emc.com (RSA Interceptor); Thu, 14 Apr 2011 08:14:40 -0400
Received: from sfaibish1.corp.emc.com (USCSARMSTPL2C.corp.emc.com [10.4.145.253]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3ECBE7S009813; Thu, 14 Apr 2011 08:11:15 -0400
Date: Thu, 14 Apr 2011 08:16:41 -0400
To: "Thomas Haynes" <thomas@netapp.com>, nfsv4@ietf.org
From: "Sorin Faibish" <sfaibish@emc.com>
Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15
MIME-Version: 1.0
References: <F1E26510-36B6-40AD-9A10-E04C5DBAF388@netapp.com>
Content-Transfer-Encoding: 8bit
Message-ID: <op.vtxgd3njrwwil4@sfaibish1.corp.emc.com>
In-Reply-To: <F1E26510-36B6-40AD-9A10-E04C5DBAF388@netapp.com>
User-Agent: Opera Mail/9.63 (Win32)
X-EMM-MHVC: 1
Cc: "dwalsh@redhat.com" <dwalsh@redhat.com>, Kathleen Moriarty <kathleen.moriarty@emc.com>
Subject: Re: [nfsv4] Labeled NFS - agenda bashing for the first meeting
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2011 12:14:51 -0000

On Mon, 11 Apr 2011 11:09:09 -0400, Thomas Haynes <thomas@netapp.com>  
wrote:

> I'm trying to bash out an agenda for the first meeting. At a high level,  
> I have:
>
> IETF Note Well Agreement
> Kathleen - use cases
One of my Action Items for this call was to get a more detailed description
of the usecases from Dan Walsh fromn RedHat. This is what Dan provided:

	"I think there are three use cases.

	1. Secure virtualization, to allow me to prevent one
	   virtual machine from attacking another virtual
	   machines image when stored on shared NFS storage.
	2. Sandboxing.  Allows me to isolate multiple
	   "namespaced" homedirs on my homedir.  If the
	   homedir is nfs.
	3. NFS homedir labeling to handle process separation.


	The way secure virtualization works:
	The libvirt daemon selects a label for a process and
	one or more labels for the images associated with the
	virtual machine. Their could be a rw label, ro label
	maybe others.  Then libvirt generates a random "MCS"
	label that it addes to all the Security label.
	libvirt then changes the extended attributes with
	these file labels and finally launches the virtual
	machine process with a label to match.

	These labels look like

	Process Label -> system_u:system_r:svirt_t:s0:c102,c423
	Image File Label -> system_u:object_r:svirt_image_t:s0:c102,c423

	Another virtual machine might look like:


	Process Label -> system_u:system_r:svirt_t:s0:c12,c375
	Image File Label -> system_u:object_r:svirt_image_t:s0:c12,c375

	Then the SELinux kernel ensures that
	system_u:system_r:svirt_t:s0:c12,c375 can NOT interface with process
	system_u:system_r:svirt_t:s0:c102,c423
	and image system_u:object_r:svirt_image_t:s0:c102,c423

	Currently since nfs does not support labeling we label all nfs shares
	the same by default

	system_u:object_r:nfs_t:s0

	This means we either allow or deny all svirt_t process labels full
	access to nfs_t or no access to nfs_t.  Meaning people who want to build
	virtualization/clouds using images shared over NFS either can not use
	NFS or do not get sVirt protection.

	The sandbox use case is similar.

	In the homedir use case we are getting more specific about labeling,for
	example we want to allow the apache process to only read ~/public_html.
	If we are using nfs we need to allow the apache process label httpd_t,
	full access to nfs_t.  Where as if we had labeling of nfs, we could
	label ~/ as user_home_dir_t and ~/public_html as httpd_sys_content_t.
	Then we could allow httpd_t to search through user_home_dir_t and read
	httpd_sys_content_t, just like we do when the homedir is on an ext file
	system or any file system that supports extended attributes.

	We realize in the future we will have to worry about enforcement of the
	labeling at both the server and client side, but for now we just want to
	get extended attributes support in nfs. This would allow us to do client
	enforcement.   If the server supports SELinux we could also do server
	side protections, against labels being put down that the kernel does not
	understand.

	The final advanced protocol that people like the NSA would like would be
	for the server to understand the label of the processes interacting with
	the file, so it could make a policy decision. But this is Far Far down
	the list of my priorities, and I hestitate to mention it since it
	derails my number one goal of just getting NFS to support Xtended
	attributes."


> Nico - RPCSEC_GSSv3
>
> While the RPCSEC_GSSv3 stuff might make more sense in the NFSv4.2  
> meeting,
> most of the discussion for it is in the context of LNFS.
>
> The tone I'd like to set for the first couple of meetings is nailing  
> down the use
> cases to make sure our proposed design will work. Once we are convinced
> of that, I'd like us to start in on the deep dives we've seen on the  
> mailing lists.
>
> If you have proposed agenda items that fit with that vision (or want to  
> whack
> me on the head with a new vision), feel free to respond on the WG alias.
>
> ----
>
> PS:
>
>   Time: Thursdays 12:30-1:30 PM CST/1:30-2:30 PM EST/10:30-11:30 AM PST
> Dial-in: 1-888-765-3653 (us)
>          303-218-2659 (international)
>      Id: 2787108
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>



-- 
Best Regards
Sorin Faibish
Corporate Distinguished Engineer
Unified Storage Division

        EMC²
where information lives

Phone: 508-435-1000 x 48545
Cellphone: 617-510-0422
Email : sfaibish@emc.com

From Tom.Haynes@netapp.com  Thu Apr 14 08:02:51 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id A53ADE073D for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 08:02:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.399
X-Spam-Level: 
X-Spam-Status: No, score=-10.399 tagged_above=-999 required=5 tests=[AWL=0.199, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pB011sOUCa+j for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 08:02:51 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id E1C71E06D7 for <nfsv4@ietf.org>; Thu, 14 Apr 2011 08:02:50 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,211,1301900400";  d="scan'208,217";a="541335966"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 14 Apr 2011 08:02:50 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3EF2nfA017327; Thu, 14 Apr 2011 08:02:50 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 14 Apr 2011 08:02:50 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.112]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 14 Apr 2011 11:02:47 -0400
Received: from maute-lxp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 14 Apr 2011 11:02:47 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: multipart/alternative; boundary=Apple-Mail-29-216117661
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <op.vtvvu01eunckof@usensfaibisl2e.eng.emc.com>
Date: Thu, 14 Apr 2011 10:02:28 -0500
Message-Id: <233C183E-BE3E-492C-9CE1-B555B728DF5C@netapp.com>
References: <F1E26510-36B6-40AD-9A10-E04C5DBAF388@netapp.com> <op.vtvvu01eunckof@usensfaibisl2e.eng.emc.com>
To: sfaibish <sfaibish@emc.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 14 Apr 2011 15:02:47.0381 (UTC) FILETIME=[04076850:01CBFAB5]
Cc: Kathleen Moriarty <kathleen.moriarty@emc.com>, nfsv4@ietf.org
Subject: Re: [nfsv4] Labeled NFS - agenda bashing for the first meeting
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2011 15:02:51 -0000

--Apple-Mail-29-216117661
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


On Apr 13, 2011, at 10:55 AM, sfaibish wrote:

> On Mon, 11 Apr 2011 11:09:09 -0400, Thomas Haynes <thomas@netapp.com> =
wrote:
>>=20
>> The tone I'd like to set for the first couple of meetings is nailing =
down the use
>> cases to make sure our proposed design will work. Once we are =
convinced
>> of that, I'd like us to start in on the deep dives we've seen on the =
mailing lists.
>>=20
>=20
> 2. Discuss the relation between RPCSEC_GSSv3 and LNFS related to:
> - mount of NFS by MAC unaware clients on server supporting LNFS but =
not
>  reinforcing MAC. (kerberos key manipulation)
> - visibility of objects with no security label on servers supporting =
LNFS.
> - minimum requirements for access to LNFS using default labels for =
unaware
>  clients



I'd still like to start at a high level on stuff.

I'll be sending out the final agenda soon.=

--Apple-Mail-29-216117661
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><br><div><div>On Apr 13, 2011, at 10:55 AM, sfaibish wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><div>On =
Mon, 11 Apr 2011 11:09:09 -0400, Thomas Haynes &lt;<a =
href=3D"mailto:thomas@netapp.com">thomas@netapp.com</a>&gt; =
wrote:<br><blockquote type=3D"cite"><font class=3D"Apple-style-span" =
color=3D"#144FAE"><br></font></blockquote><blockquote type=3D"cite">The =
tone I'd like to set for the first couple of meetings is nailing down =
the use<br></blockquote><blockquote type=3D"cite">cases to make sure our =
proposed design will work. Once we are =
convinced<br></blockquote><blockquote type=3D"cite">of that, I'd like us =
to start in on the deep dives we've seen on the mailing =
lists.<br></blockquote><blockquote type=3D"cite"><br></blockquote><br>2. =
Discuss the relation between RPCSEC_GSSv3 and LNFS related to:<br>- =
mount of NFS by MAC unaware clients on server supporting LNFS but =
not<br> &nbsp;reinforcing MAC. (kerberos key manipulation)<br>- =
visibility of objects with no security label on servers supporting =
LNFS.<br>- minimum requirements for access to LNFS using default labels =
for unaware<br> =
&nbsp;clients<br></div></blockquote></div><div><br></div><br><div>I'd =
still like to start at a high level on =
stuff.</div><div><br></div><div>I'll be sending out the final agenda =
soon.</div></body></html>=

--Apple-Mail-29-216117661--

From david.black@emc.com  Thu Apr 14 08:06:35 2011
Return-Path: <david.black@emc.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 96843E073D for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 08:06:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.599
X-Spam-Level: 
X-Spam-Status: No, score=-106.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KQb5S1wnICMU for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 08:06:34 -0700 (PDT)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by ietfc.amsl.com (Postfix) with ESMTP id 7FF67E065F for <nfsv4@ietf.org>; Thu, 14 Apr 2011 08:06:34 -0700 (PDT)
Received: from hop04-l1d11-si02.isus.emc.com (HOP04-L1D11-SI02.isus.emc.com [10.254.111.55]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3EF6UBT012468 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <nfsv4@ietf.org>; Thu, 14 Apr 2011 11:06:32 -0400
Received: from mailhub.lss.emc.com (mailhubhoprd04.lss.emc.com [10.254.222.226]) by hop04-l1d11-si02.isus.emc.com (RSA Interceptor) for <nfsv4@ietf.org>; Thu, 14 Apr 2011 11:06:20 -0400
Received: from mxhub01.corp.emc.com (mxhub01.corp.emc.com [10.254.141.103]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3EEuQB9031044 for <nfsv4@ietf.org>; Thu, 14 Apr 2011 10:56:26 -0400
Received: from mx14a.corp.emc.com ([169.254.1.209]) by mxhub01.corp.emc.com ([10.254.141.103]) with mapi; Thu, 14 Apr 2011 10:56:25 -0400
From: <david.black@emc.com>
To: <nfsv4@ietf.org>
Date: Thu, 14 Apr 2011 10:56:25 -0400
Thread-Topic: NFSv4 Label Use Cases
Thread-Index: Acv4MEeFjNGSF9kDQxytuADzaLEePwAALGJQAAlQxlAAlvISwA==
Message-ID: <7C4DFCE962635144B8FAE8CA11D0BF1E041721DDE0@MX14A.corp.emc.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-EMM-MHVC: 1
Cc: kathleen.moriarty@emc.com
Subject: [nfsv4] NFSv4 Label Use Cases
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2011 15:06:35 -0000

Here's the promised initial use case material from Kathleen with some editi=
ng by yours truly (i.e., credit Kathleen for most of the content, but blame=
 me for any mistakes that are found ...).  This is intended for further dis=
cussion on today's labeled NFS call.

ITAR Use Case
--------------
The International Traffic in Arms Regulations (ITAR) is put forth by the Un=
ited States Department of State, Directorate of Defense and Trade Controls.=
  ITAR places strict requirements on the export and thus access of defense =
articles and defense services.  Organizations that manage projects with art=
icles and services deemed as within the scope of ITAR must ensure the regul=
ations are met.  The regulations require an assurance that ITAR information=
 is accessed on a need-to-know basis, thus requiring strict, centrally mana=
ged access controls on items labeled as ITAR.  Additionally, organizations =
must be able to prove that the controls were adequately maintained and that=
 foreign nationals were not permitted access to these defense articles or s=
ervice.  ITAR control applicability may be dynamic; information may become =
subject to ITAR after creation (e.g., when the defense implications of tech=
nology are recognized).

Legal Hold/eDiscovery Use Case
------------------------------
Increased cases of legal holds on electronic sources of information (ESI) h=
ave resulted in organizations taking a pro-active approach to reduce the sc=
ope and thus costs associated with these activities.  ESI Data Maps are inc=
reasing in use and require support in operating systems to strictly manage =
access controls in the case of a legal hold.  The sizeable quantity of info=
rmation involved in a legal discovery request may preclude making a copy of=
 the information to a separate system that manages the legal hold on the co=
pies; this results in a need to enforce the legal hold on the original info=
rmation.

Organizations are taking steps to map out the sources of information that a=
re most likely to be placed under a legal hold, these efforts result in ESI=
 Data Maps.  ESI Data Maps specify the Electronic Source of Information and=
 the requirements for sensitivity and criticality.  In the case of a legal =
hold, the ESI data map and labels can be used to ensure the legal hold is p=
roperly enforced on the predetermined set of information.  An ESI data map =
narrows the scope of a legal hold to the predetermined ESI.  The informatio=
n must then be protected at a level of security of which the weight and adm=
issibility of that evidence may be proved in a court of law.  Current syste=
ms use application level controls and do not adequately meet the requiremen=
ts.  Labels may be used in advance when an ESI data map exercise is conduct=
ed with controls being applied at the time of a hold or labels may be appli=
ed to data sets during an eDiscovery exercise to ensure the data protection=
s are adequate during the legal hold period.

Note that this use case requires multi-attribute labels, as both informatio=
n sensitivity (e.g., to disclosure) and information criticality (e.g., to c=
ontinued business operations) need to be captured.=20

Courtesy of Google, here's an this example of information sensitivity and c=
riticality classifications:

	https://www.cu.edu/policies/policies/IT_IT-Sec_UnivOps_PROC.pdf

Thanks,
--David (for David and Kathleen)

----------------------------------------------------
David L. Black, Distinguished Engineer
EMC Corporation, 176 South St., Hopkinton, MA=A0 01748
+1 (508) 293-7953=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 FAX: +1 (508) 293-778=
6
david.black@emc.com=A0=A0=A0=A0=A0=A0=A0 Mobile: +1 (978) 394-7754
----------------------------------------------------

Kathleen M. Moriarty, CISSP | GRC Strategy | Office of the CTO | 617-851-58=
07 | Kathleen.Moriarty@emc.com  | EMC Corporation


From Tom.Haynes@netapp.com  Thu Apr 14 08:09:31 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 3F798E073D for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 08:09:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.419
X-Spam-Level: 
X-Spam-Status: No, score=-10.419 tagged_above=-999 required=5 tests=[AWL=0.180, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id guxYKNEb5ZQV for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 08:09:30 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id 9A3C9E0718 for <nfsv4@ietf.org>; Thu, 14 Apr 2011 08:09:30 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,211,1301900400"; d="scan'208";a="541338346"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 14 Apr 2011 08:09:30 -0700
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3EF9TdF022522; Thu, 14 Apr 2011 08:09:30 -0700 (PDT)
Received: from rtprsexc2-prd.hq.netapp.com ([10.100.161.115]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 14 Apr 2011 08:09:30 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.112]) by rtprsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 14 Apr 2011 11:09:28 -0400
Received: from maute-lxp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 14 Apr 2011 11:09:27 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <7C4DFCE962635144B8FAE8CA11D0BF1E041721DDE0@MX14A.corp.emc.com>
Date: Thu, 14 Apr 2011 10:09:26 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <412D8EAF-91F2-44A7-86F4-C3813AA25C5C@netapp.com>
References: <7C4DFCE962635144B8FAE8CA11D0BF1E041721DDE0@MX14A.corp.emc.com>
To: <david.black@emc.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 14 Apr 2011 15:09:28.0147 (UTC) FILETIME=[F2E77230:01CBFAB5]
Cc: kathleen.moriarty@emc.com, nfsv4@ietf.org
Subject: Re: [nfsv4] NFSv4 Label Use Cases
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2011 15:09:31 -0000

On Apr 14, 2011, at 9:56 AM, <david.black@emc.com> wrote:

>=20
>=20
> Note that this use case requires multi-attribute labels, as both =
information sensitivity (e.g., to disclosure) and information =
criticality (e.g., to continued business operations) need to be =
captured.=20


David,

Is requirement met by the current I-D?

Thanks,
Tom=

From Tom.Haynes@netapp.com  Thu Apr 14 08:15:18 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 3A0CFE0756 for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 08:15:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.435
X-Spam-Level: 
X-Spam-Status: No, score=-10.435 tagged_above=-999 required=5 tests=[AWL=0.163, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cxrTvKVVIekF for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 08:15:17 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id 1D884E06E4 for <nfsv4@ietf.org>; Thu, 14 Apr 2011 08:15:17 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,211,1301900400";  d="scan'208,217";a="541340012"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 14 Apr 2011 08:15:16 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3EFFGu9027480 for <nfsv4@ietf.org>; Thu, 14 Apr 2011 08:15:16 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 14 Apr 2011 08:15:16 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.112]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 14 Apr 2011 11:15:14 -0400
Received: from maute-lxp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 14 Apr 2011 11:15:11 -0400
From: Thomas Haynes <thomas@netapp.com>
Content-Type: multipart/alternative; boundary=Apple-Mail-30-216879763
Date: Thu, 14 Apr 2011 10:15:10 -0500
Message-Id: <B0194FC1-DA11-4768-9914-B4AAF714971D@netapp.com>
To: nfsv4@ietf.org
Mime-Version: 1.0 (Apple Message framework v1084)
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 14 Apr 2011 15:15:11.0928 (UTC) FILETIME=[BFD04380:01CBFAB6]
Subject: [nfsv4] [LNFS] Meeting Agenda 04/14/11
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2011 15:15:18 -0000

--Apple-Mail-30-216879763
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Today's proposed agenda is below. Please let me know if
you would like to add additional topics.

   Time: Thursdays 12:30-1:30 PM CST/1:30-2:30 PM EST/10:30-11:30 AM PST
Dial-in: 1-888-765-3653 (us)
         303-218-2659 (international)
     Id: 2787108

Proposed Agenda
---------------

+ IETF Note Well Agreement

 This is a reminder that our discussions are governed by the=20
 IETF Note Well Agreement. See:

   http://www.ietf.org/NOTEWELL.html

 We will start each week's meeting with this announcement.

+ Use cases

We have some additional use cases to go over.

Sorin Faibish will present the ones from Red Hat - see =
http://www.ietf.org/mail-archive/web/nfsv4/current/msg09347.html

David Black will present the ones that he and Kathleen Moriarty provided =
an overview to the list (link hasn't made the archives yet)

+ Dependency of LNFS on RPCSEC_GSSv3

RPCSEC_GSSv4 is running parallel to NFSv4.2 and will be optional to
implement in NFSv4.2.

If LNFS lands in NFSv4.2, it will also be optional.

As it is a security feature, we might want to make it as secure as =
possible.
To do that, we could require that if a system implements LNFS, then it
MUST do so over RPCSEC_GSSv3.

+ Administrivia

Source resides at: https://github.com/loghyr/LabeledNFS

+ All other business



--Apple-Mail-30-216879763
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><div>Today's proposed agenda is below. Please let me know =
if</div><div><div>you would like to add additional =
topics.</div><div><br></div><div>&nbsp;&nbsp; Time: Thursdays 12:30-1:30 =
PM CST/1:30-2:30 PM EST/10:30-11:30 AM PST<br>Dial-in: 1-888-765-3653 =
(us)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;303-218-2659=
 (international)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Id: =
2787108<br><br>Proposed Agenda<br>---------------<br><br>+ IETF Note =
Well Agreement<br><br>&nbsp;This is a reminder that our discussions are =
governed by the&nbsp;<br>&nbsp;IETF Note Well Agreement. =
See:<br><br>&nbsp;&nbsp;&nbsp;<a =
href=3D"http://www.ietf.org/NOTEWELL.html">http://www.ietf.org/NOTEWELL.ht=
ml</a><br><br>&nbsp;We will start each week's meeting with this =
announcement.</div></div><div><br></div><div>+ Use =
cases</div><div><br></div><div>We have some additional use cases to go =
over.</div><div><br></div><div>Sorin Faibish will present the ones from =
Red Hat - see&nbsp;<a =
href=3D"http://www.ietf.org/mail-archive/web/nfsv4/current/msg09347.html">=
http://www.ietf.org/mail-archive/web/nfsv4/current/msg09347.html</a></div>=
<div><br></div><div>David Black will present the ones that he and =
Kathleen&nbsp;Moriarty provided an overview to the list (link hasn't =
made the archives yet)</div><div><br></div><div>+ Dependency of LNFS on =
RPCSEC_GSSv3</div><div><br></div><div>RPCSEC_GSSv4 is running parallel =
to NFSv4.2 and will be optional to</div><div>implement in =
NFSv4.2.</div><div><br></div><div>If LNFS lands in NFSv4.2, it will also =
be optional.</div><div><br></div><div>As it is a security feature, we =
might want to make it as secure as possible.</div><div>To do that, we =
could require that if a system implements LNFS, then it</div><div>MUST =
do so over RPCSEC_GSSv3.</div><div><br></div><div>+ =
Administrivia</div><div><br></div><div>Source resides at:&nbsp;<a =
href=3D"https://github.com/loghyr/LabeledNFS">https://github.com/loghyr/La=
beledNFS</a></div><div><br></div><div>+ All other =
business</div><div><br></div><div><br></div></body></html>=

--Apple-Mail-30-216879763--

From dpquigl@davequigley.com  Thu Apr 14 08:16:17 2011
Return-Path: <dpquigl@davequigley.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 77B65E0766 for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 08:16:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F9KCi1KXKso7 for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 08:16:17 -0700 (PDT)
Received: from countercultured.net (countercultured.net [IPv6:2001:470:0:c0d3::2]) by ietfc.amsl.com (Postfix) with SMTP id CE0FDE0756 for <nfsv4@ietf.org>; Thu, 14 Apr 2011 08:16:16 -0700 (PDT)
Received: (qmail 2565 invoked from network); 14 Apr 2011 15:16:12 -0000
Received: from c-76-21-220-25.hsd1.md.comcast.net (HELO ?192.168.15.109?) (merlin@76.21.220.25) by countercultured.net with ESMTPA; 14 Apr 2011 15:16:12 -0000
Message-ID: <4DA70FB5.9060802@davequigley.com>
Date: Thu, 14 Apr 2011 11:16:05 -0400
From: Dave Quigley <dpquigl@davequigley.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9
MIME-Version: 1.0
To: nfsv4@ietf.org
References: <7C4DFCE962635144B8FAE8CA11D0BF1E041721DDE0@MX14A.corp.emc.com> <412D8EAF-91F2-44A7-86F4-C3813AA25C5C@netapp.com>
In-Reply-To: <412D8EAF-91F2-44A7-86F4-C3813AA25C5C@netapp.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: [nfsv4] NFSv4 Label Use Cases
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2011 15:16:17 -0000

On 4/14/2011 11:09 AM, Thomas Haynes wrote:
> On Apr 14, 2011, at 9:56 AM,<david.black@emc.com>  wrote:
>
>>
>> Note that this use case requires multi-attribute labels, as both information sensitivity (e.g., to disclosure) and information criticality (e.g., to continued business operations) need to be captured.
>
> David,
>
> Is requirement met by the current I-D?
>
> Thanks,
> Tom
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>
It should be. The label format isn't mandated by the NFS I-D. That is 
handled by creating a LFS for the label type you want. If they wanted to 
have a label which consisted of sensitivity and criticality they can 
make an LFS to do so. I'll be on the telecon at 1:30 EST today but I'll 
be out of contact for the next couple hours. We can talk more about it then.

Dave

From kathleen.moriarty@emc.com  Thu Apr 14 05:58:08 2011
Return-Path: <kathleen.moriarty@emc.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 0AD79E068E for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 05:58:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.999
X-Spam-Level: 
X-Spam-Status: No, score=-5.999 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_83=0.6, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cmWJhhd0z6Eo for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 05:58:07 -0700 (PDT)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by ietfc.amsl.com (Postfix) with ESMTP id DCC25E06FF for <nfsv4@ietf.org>; Thu, 14 Apr 2011 05:58:01 -0700 (PDT)
Received: from hop04-l1d11-si04.isus.emc.com (HOP04-L1D11-SI04.isus.emc.com [10.254.111.24]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3ECw1N5003067 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 14 Apr 2011 08:58:01 -0400
Received: from mailhub.lss.emc.com (mailhub.lss.emc.com [10.254.221.145]) by hop04-l1d11-si04.isus.emc.com (RSA Interceptor); Thu, 14 Apr 2011 08:57:53 -0400
Received: from mxhub26.corp.emc.com (mxhub26.corp.emc.com [10.254.110.182]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3ECkgZe008953; Thu, 14 Apr 2011 08:46:43 -0400
Received: from mx06a.corp.emc.com ([169.254.1.49]) by mxhub26.corp.emc.com ([10.254.110.182]) with mapi; Thu, 14 Apr 2011 08:46:42 -0400
From: <kathleen.moriarty@emc.com>
To: <sfaibish@popimap.lss.emc.com>, <thomas@netapp.com>, <nfsv4@ietf.org>
Date: Thu, 14 Apr 2011 08:46:40 -0400
Thread-Topic: [nfsv4] Labeled NFS - agenda bashing for the first meeting
Thread-Index: Acv6nZKMQg+vu71JS+yuqFMwgNAtiAABFHSw
Message-ID: <AE31510960917D478171C79369B660FA0DBA3D2FB9@MX06A.corp.emc.com>
References: <F1E26510-36B6-40AD-9A10-E04C5DBAF388@netapp.com> <op.vtxgd3njrwwil4@sfaibish1.corp.emc.com>
In-Reply-To: <op.vtxgd3njrwwil4@sfaibish1.corp.emc.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-EMM-MHVC: 1
X-Mailman-Approved-At: Thu, 14 Apr 2011 08:58:33 -0700
Cc: dwalsh@redhat.com
Subject: Re: [nfsv4] Labeled NFS - agenda bashing for the first meeting
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2011 12:58:08 -0000

David Black is editing the use cases I wrote up and will send them out.  I =
am at another conference this week.

Thank you,
Kathleen

-----Original Message-----
From: Sorin Faibish [mailto:sfaibish@emc.com]=20
Sent: Thursday, April 14, 2011 8:17 AM
To: Thomas Haynes; nfsv4@ietf.org
Cc: Moriarty, Kathleen; dwalsh@redhat.com
Subject: Re: [nfsv4] Labeled NFS - agenda bashing for the first meeting

On Mon, 11 Apr 2011 11:09:09 -0400, Thomas Haynes <thomas@netapp.com> =20
wrote:

> I'm trying to bash out an agenda for the first meeting. At a high level, =
=20
> I have:
>
> IETF Note Well Agreement
> Kathleen - use cases
One of my Action Items for this call was to get a more detailed description
of the usecases from Dan Walsh fromn RedHat. This is what Dan provided:

	"I think there are three use cases.

	1. Secure virtualization, to allow me to prevent one
	   virtual machine from attacking another virtual
	   machines image when stored on shared NFS storage.
	2. Sandboxing.  Allows me to isolate multiple
	   "namespaced" homedirs on my homedir.  If the
	   homedir is nfs.
	3. NFS homedir labeling to handle process separation.


	The way secure virtualization works:
	The libvirt daemon selects a label for a process and
	one or more labels for the images associated with the
	virtual machine. Their could be a rw label, ro label
	maybe others.  Then libvirt generates a random "MCS"
	label that it addes to all the Security label.
	libvirt then changes the extended attributes with
	these file labels and finally launches the virtual
	machine process with a label to match.

	These labels look like

	Process Label -> system_u:system_r:svirt_t:s0:c102,c423
	Image File Label -> system_u:object_r:svirt_image_t:s0:c102,c423

	Another virtual machine might look like:


	Process Label -> system_u:system_r:svirt_t:s0:c12,c375
	Image File Label -> system_u:object_r:svirt_image_t:s0:c12,c375

	Then the SELinux kernel ensures that
	system_u:system_r:svirt_t:s0:c12,c375 can NOT interface with process
	system_u:system_r:svirt_t:s0:c102,c423
	and image system_u:object_r:svirt_image_t:s0:c102,c423

	Currently since nfs does not support labeling we label all nfs shares
	the same by default

	system_u:object_r:nfs_t:s0

	This means we either allow or deny all svirt_t process labels full
	access to nfs_t or no access to nfs_t.  Meaning people who want to build
	virtualization/clouds using images shared over NFS either can not use
	NFS or do not get sVirt protection.

	The sandbox use case is similar.

	In the homedir use case we are getting more specific about labeling,for
	example we want to allow the apache process to only read ~/public_html.
	If we are using nfs we need to allow the apache process label httpd_t,
	full access to nfs_t.  Where as if we had labeling of nfs, we could
	label ~/ as user_home_dir_t and ~/public_html as httpd_sys_content_t.
	Then we could allow httpd_t to search through user_home_dir_t and read
	httpd_sys_content_t, just like we do when the homedir is on an ext file
	system or any file system that supports extended attributes.

	We realize in the future we will have to worry about enforcement of the
	labeling at both the server and client side, but for now we just want to
	get extended attributes support in nfs. This would allow us to do client
	enforcement.   If the server supports SELinux we could also do server
	side protections, against labels being put down that the kernel does not
	understand.

	The final advanced protocol that people like the NSA would like would be
	for the server to understand the label of the processes interacting with
	the file, so it could make a policy decision. But this is Far Far down
	the list of my priorities, and I hestitate to mention it since it
	derails my number one goal of just getting NFS to support Xtended
	attributes."


> Nico - RPCSEC_GSSv3
>
> While the RPCSEC_GSSv3 stuff might make more sense in the NFSv4.2 =20
> meeting,
> most of the discussion for it is in the context of LNFS.
>
> The tone I'd like to set for the first couple of meetings is nailing =20
> down the use
> cases to make sure our proposed design will work. Once we are convinced
> of that, I'd like us to start in on the deep dives we've seen on the =20
> mailing lists.
>
> If you have proposed agenda items that fit with that vision (or want to =
=20
> whack
> me on the head with a new vision), feel free to respond on the WG alias.
>
> ----
>
> PS:
>
>   Time: Thursdays 12:30-1:30 PM CST/1:30-2:30 PM EST/10:30-11:30 AM PST
> Dial-in: 1-888-765-3653 (us)
>          303-218-2659 (international)
>      Id: 2787108
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>



--=20
Best Regards
Sorin Faibish
Corporate Distinguished Engineer
Unified Storage Division

        EMC=B2
where information lives

Phone: 508-435-1000 x 48545
Cellphone: 617-510-0422
Email : sfaibish@emc.com

From kathleen.moriarty@emc.com  Thu Apr 14 09:06:13 2011
Return-Path: <kathleen.moriarty@emc.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id DAF7FE074B for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 09:06:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qOf3UDgJbd50 for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 09:06:13 -0700 (PDT)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by ietfc.amsl.com (Postfix) with ESMTP id A65A2E0895 for <nfsv4@ietf.org>; Thu, 14 Apr 2011 09:06:08 -0700 (PDT)
Received: from hop04-l1d11-si02.isus.emc.com (HOP04-L1D11-SI02.isus.emc.com [10.254.111.55]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3EG6781009172 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 14 Apr 2011 12:06:07 -0400
Received: from mailhub.lss.emc.com (mailhub.lss.emc.com [10.254.222.226]) by hop04-l1d11-si02.isus.emc.com (RSA Interceptor); Thu, 14 Apr 2011 12:06:03 -0400
Received: from mxhub06.corp.emc.com (mxhub06.corp.emc.com [128.221.46.114]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3EG3TQD016090; Thu, 14 Apr 2011 12:03:30 -0400
Received: from mx06a.corp.emc.com ([169.254.1.49]) by mxhub06.corp.emc.com ([128.221.46.114]) with mapi; Thu, 14 Apr 2011 12:03:29 -0400
From: <kathleen.moriarty@emc.com>
To: <thomas@netapp.com>, <david.black@emc.com>
Date: Thu, 14 Apr 2011 12:03:28 -0400
Thread-Topic: [nfsv4] NFSv4 Label Use Cases
Thread-Index: Acv6tl6n+14nX84/TO65RHTQoObw5AABwLTg
Message-ID: <AE31510960917D478171C79369B660FA0DBA3D30B7@MX06A.corp.emc.com>
References: <7C4DFCE962635144B8FAE8CA11D0BF1E041721DDE0@MX14A.corp.emc.com> <412D8EAF-91F2-44A7-86F4-C3813AA25C5C@netapp.com>
In-Reply-To: <412D8EAF-91F2-44A7-86F4-C3813AA25C5C@netapp.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-EMM-MHVC: 1
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] NFSv4 Label Use Cases
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2011 16:06:14 -0000

I am not sure if we need to have criticality included in this labeling sche=
me... eDiscovery does look at this as well for data maps, but for this effo=
rt, sensitivity may be enough.

-----Original Message-----
From: Thomas Haynes [mailto:thomas@netapp.com]=20
Sent: Thursday, April 14, 2011 11:09 AM
To: Black, David
Cc: nfsv4@ietf.org; Moriarty, Kathleen
Subject: Re: [nfsv4] NFSv4 Label Use Cases


On Apr 14, 2011, at 9:56 AM, <david.black@emc.com> wrote:

>=20
>=20
> Note that this use case requires multi-attribute labels, as both informat=
ion sensitivity (e.g., to disclosure) and information criticality (e.g., to=
 continued business operations) need to be captured.=20


David,

Is requirement met by the current I-D?

Thanks,
Tom

From david.black@emc.com  Thu Apr 14 09:21:09 2011
Return-Path: <david.black@emc.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 56BA0E079C for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 09:21:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.599
X-Spam-Level: 
X-Spam-Status: No, score=-106.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id inlMoG3fSX7s for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 09:21:08 -0700 (PDT)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by ietfc.amsl.com (Postfix) with ESMTP id 93F8AE0749 for <nfsv4@ietf.org>; Thu, 14 Apr 2011 09:21:05 -0700 (PDT)
Received: from hop04-l1d11-si03.isus.emc.com (HOP04-L1D11-SI03.isus.emc.com [10.254.111.23]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3EGL32s003737 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 14 Apr 2011 12:21:03 -0400
Received: from mailhub.lss.emc.com (mailhub.lss.emc.com [10.254.221.145]) by hop04-l1d11-si03.isus.emc.com (RSA Interceptor); Thu, 14 Apr 2011 12:20:45 -0400
Received: from mxhub09.corp.emc.com (mxhub09.corp.emc.com [10.254.92.104]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3EGJg8w003489; Thu, 14 Apr 2011 12:19:42 -0400
Received: from mx14a.corp.emc.com ([169.254.1.209]) by mxhub09.corp.emc.com ([10.254.92.104]) with mapi; Thu, 14 Apr 2011 12:19:41 -0400
From: <david.black@emc.com>
To: <dpquigl@davequigley.com>, <nfsv4@ietf.org>
Date: Thu, 14 Apr 2011 12:19:40 -0400
Thread-Topic: [nfsv4] NFSv4 Label Use Cases
Thread-Index: Acv6t5VKcmTpBYXCTEqOCHD06iAofAABz8Lw
Message-ID: <7C4DFCE962635144B8FAE8CA11D0BF1E041721DE63@MX14A.corp.emc.com>
References: <7C4DFCE962635144B8FAE8CA11D0BF1E041721DDE0@MX14A.corp.emc.com> <412D8EAF-91F2-44A7-86F4-C3813AA25C5C@netapp.com> <4DA70FB5.9060802@davequigley.com>
In-Reply-To: <4DA70FB5.9060802@davequigley.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-EMM-MHVC: 1
Subject: Re: [nfsv4] NFSv4 Label Use Cases
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2011 16:21:09 -0000

> It should be. The label format isn't mandated by the NFS I-D. That is
> handled by creating a LFS for the label type you want. If they wanted to
> have a label which consisted of sensitivity and criticality they can
> make an LFS to do so. I'll be on the telecon at 1:30 EST today but I'll
> be out of contact for the next couple hours. We can talk more about it th=
en.

+1, especially if the XDR doesn't have a fixed limit on label size.  The cu=
rrent draft has the following XDR, which looks ok:

       struct sec_label_attr_info =3D {
         labelformat_spec4   slai_lfs;
         opaque              slai_data<>;
       };

On the call, we should discuss implementation limits on label size and how =
a client discovers them (e.g., I can't imagine a 1MB label being reasonable=
 to support).  I could see the limit depending on the LFS (label format), i=
n which case it would need to be part of the specification for the LFS, alt=
hough server implementations are likely to have an upper bound that is LFS-=
independent.

Thanks,
--David


> -----Original Message-----
> From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On Behalf Of=
 Dave Quigley
> Sent: Thursday, April 14, 2011 11:16 AM
> To: nfsv4@ietf.org
> Subject: Re: [nfsv4] NFSv4 Label Use Cases
>=20
> On 4/14/2011 11:09 AM, Thomas Haynes wrote:
> > On Apr 14, 2011, at 9:56 AM,<david.black@emc.com>  wrote:
> >
> >>
> >> Note that this use case requires multi-attribute labels, as both infor=
mation sensitivity (e.g.,
> to disclosure) and information criticality (e.g., to continued business o=
perations) need to be
> captured.
> >
> > David,
> >
> > Is requirement met by the current I-D?
> >
> > Thanks,
> > Tom
> > _______________________________________________
> > nfsv4 mailing list
> > nfsv4@ietf.org
> > https://www.ietf.org/mailman/listinfo/nfsv4
> >
> It should be. The label format isn't mandated by the NFS I-D. That is
> handled by creating a LFS for the label type you want. If they wanted to
> have a label which consisted of sensitivity and criticality they can
> make an LFS to do so. I'll be on the telecon at 1:30 EST today but I'll
> be out of contact for the next couple hours. We can talk more about it th=
en.
>=20
> Dave
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4


From sfaibish@emc.com  Thu Apr 14 09:40:38 2011
Return-Path: <sfaibish@emc.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id C40DCE0663 for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 09:40:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.224
X-Spam-Level: 
X-Spam-Status: No, score=-6.224 tagged_above=-999 required=5 tests=[AWL=-0.225, BAYES_00=-2.599, J_CHICKENPOX_37=0.6, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jTLUxc+yP-lF for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 09:40:37 -0700 (PDT)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by ietfc.amsl.com (Postfix) with ESMTP id 2BBAFE0782 for <nfsv4@ietf.org>; Thu, 14 Apr 2011 09:40:36 -0700 (PDT)
Received: from hop04-l1d11-si03.isus.emc.com (HOP04-L1D11-SI03.isus.emc.com [10.254.111.23]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3EGeURb005426 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 14 Apr 2011 12:40:30 -0400
Received: from mailhub.lss.emc.com (mailhub.lss.emc.com [10.254.222.226]) by hop04-l1d11-si03.isus.emc.com (RSA Interceptor); Thu, 14 Apr 2011 12:40:24 -0400
Received: from usensfaibisl2e.eng.emc.com (USENSFAIBISL2E.eng.emc.com [10.238.121.4]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3EGeGpS010136; Thu, 14 Apr 2011 12:40:16 -0400
Date: Thu, 14 Apr 2011 12:40:16 -0400
To: "Rick Macklem" <rmacklem@uoguelph.ca>
From: sfaibish <sfaibish@emc.com>
Organization: EMC
Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15
MIME-Version: 1.0
References: <1854822108.1814471.1300746791730.JavaMail.root@erie.cs.uoguelph.ca>
Content-Transfer-Encoding: 8bit
Message-ID: <op.vtxsler9unckof@usensfaibisl2e.eng.emc.com>
In-Reply-To: <1854822108.1814471.1300746791730.JavaMail.root@erie.cs.uoguelph.ca>
User-Agent: Opera Mail/9.10 (Win32)
X-EMM-MHVC: 1
Cc: nfsv4 list <nfsv4@ietf.org>
Subject: Re: [nfsv4] Labeled NFS comments (resend)
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2011 16:40:38 -0000

Rick,

You might want to join the call of today on LNFS of nfsv4 list.

/Sorin

Dial-in: 1-888-765-3653 (us)
               303-218-2659 (international)
      Id: 2787108



On Mon, 21 Mar 2011 18:33:11 -0400, Rick Macklem <rmacklem@uoguelph.ca>  
wrote:

> [stuff snipped]
>> >>
>> >>    The MAC recommended attribute specification document describes
>> >>    the
>> >>    protocol changes to NFSv4 in the form of a new optional to
>> >>    implement
>> >>    recommended attribute. This document is currently published as
>> >>
>> >> I'd recommend changing this to state that it is optional in the
>> >> first
>> >> minorversion it debuts in,
>> >> but is intended to be required in the next minorversion.
>> This was what I thought we should do but it is still not included in
>> 4.2
>> unless somebody will pioneer it. I am trying to pick it up as I
>> believe
>> it is needed and we have a prototype server implementation.
>> I will leave Dave to answer the remaining.
>>
>> /Sorin
>>
>
> In case it is of interest, I think FreeBSD would like to implement
> a Mac label attribute at some point. Since work has just started on
> 4.1 implementation, that is a ways off.
>
> rick
>
>> >>
>> >> ----
>> >>
>> >> Section 4. Just state that this entire document addresses security
>> >> concerns.
>> >>
>> >> ----
>> >>
>> >> ===
>> >>
>> >>                   draft-quigley-nfsv4-sec-label-03.txt
>> >>
>> >>
>> >> ----
>> >>
>> >>
>> >>    People desire to use NFSv4 with these systems. A mechanism is
>> >>    required to provide security attribute information to NFSv4
>> >>    clients
>> >>    and servers. This mechanism has the following requirements:
>> >>
>> >>    o Clients must be able to convey to the server the security
>> >>       attribute of the subject making the access request. The
>> >>       server
>> >>       may provide a mechanism to enforce MAC policy based on the
>> >>       requesting subject's security attribute.
>> >>
>> >>    o Server must be able to store and retrieve the security
>> >>    attribute
>> >>       of exported files as requested by the client.
>> >>
>> >>    o Server must provide a mechanism for notifying clients of
>> >>    attribute
>> >>       changes of files on the server.
>> >>
>> >>    o Clients and Servers must be able to negotiate Label Formats
>> >>    and
>> >>       Domains of Interpretation (DOI) and provide a mechanism to
>> >>       translate between them as needed.
>> >>
>> >>    These four requirements are key to the system with only
>> >>    requirements
>> >>    two and three requiring changes to NFSv4.1.
>> >>
>> >> I never saw how the changes for 3 were to be done. (BTW - please
>> >> use
>> >> <list style='numbers'> here.)
>> >>
>> >>
>> >> ---
>> >>
>> >> Section 3:
>> >>
>> >> To this end the attribute number XXX:ATTRNUM is
>> >>    requested for the security_attribute recommended attribute.
>> >>
>> >> 3.1. Interpreting security_attribute
>> >>
>> >>    The security_attribute field contains two components the first
>> >>    component being an LFS.
>> >>
>> >> You need the XDR to be provided here.
>> I will try to come up with the xdr for next release.
>>
>> >>
>> >> ---
>> >>
>> >>
>> >>
>> >>    The second component is an opaque field which the actual
>> >>    security attribute data. To allow for various MAC models NFSv4
>> >>    should be used solely as a transport mechanism for the security
>> >>    attribute. It is the responsibility of the endpoints to consume
>> >>    the
>> >>    security attribute and make access decisions based on their
>> >>    respective models.
>> >>
>> >> Are there any guidelines here for the opaque field? I.e., are there
>> >> any
>> >> existing standards it
>> >> must adhere to?
>> >>
>> >> If the answer is that they are site dependent, what happens if
>> >> multiple
>> >> implementations try
>> >> to share the same server?
>> >>
>> >> I see this last is presented in
>> >> draft-quigley-nfsv4-sec-label-requirements-03.txt.
>> >>
>> >> ----
>> >>
>> >>
>> >>    The character '@' is
>> >>    reserved as a separator between the LFS and opaque section of
>> >>    the
>> >>    security attribute.
>> >>
>> >>
>> >> This is where the XDR would help. Why do we need the '@' symbol
>> >> when the
>> >> LFS and the opaque section would be better described as two fields.
>> >>
>> >> What is the size of the LFS and what is the size of the opaque
>> >> section?
>> >> If it
>> >> varies, what is the max size?
>> >>
>> >>
>> >> ----
>> >>
>> >>
>> >> 3.3 Permission Checking
>> >>
>> >>    This means
>> >>    that the NFSv4 client and servers can not be expected to
>> >>    directly
>> >>    make access control decisions based on the security attribute.
>> >>    Instead NFSv4 should defer permission checking on this attribute
>> >>    to
>> >>    the host system.
>> >>
>> >> I'm confused here, neither the client nor server can make a
>> >> decision.
>> >> So what is meant by the
>> >> "host system"?
>> >>
>> >>
>> >> ----
>> >>
>> >> ----
>> >>
>> >> ====
>> >>
>> >>            draft-quigley-nfsv4-sec-label-requirements-03.txt
>> >>
>> >> Section 2:
>> >>
>> >>    Without a method for providing per file-object labeling as
>> >>    described
>> >>    above existing MAC systems have fallen back to methods of
>> >>    handling
>> >>    file systems that lack labeling attributes. While this allows
>> >>    policy
>> >>    to provide coverage of NFSv4 file systems, there are several
>> >>    limitations, including:
>> >>
>> >> We need some references here and the approaches they took. I.e.,
>> >> while
>> >> the limitations are
>> >> mentioned, there is no coverage of the approach.
>> >>
>> >> ---------
>> >>
>> >> Section 3.2:
>> >>
>> >> If LNFS is not deployed, there should be no significant performance
>> >> impact.
>> >>
>> >> ---------
>> >>
>> >> Section 3.5:
>> >>
>> >> Different terms are used for Full Mode and Guest Mode in the
>> >> different
>> >> documents.
>> >> These need to be consistent.
>> >>
>> >> ----
>> >>
>> >> Section 3.8
>> >>
>> >> MLS is used and not defined:
>> >>
>> >>  This is a common requirement of MLS-enabled systems,
>> >>
>> >> ----
>> >>
>> >> Section 4:
>> >>
>> >>    When either the client or server is operating in guest mode it
>> >>    is
>> >>    important to realize that one side is not enforcing MAC
>> >>    protections.
>> >>
>> >>
>> >> We should be able to enumerate how a client and/or server can tell
>> >> the
>> >> other
>> >> is in guest mode. Is there a way for the client to convey it is
>> >> using
>> >> MAC
>> >> from the start? I.e., even before it sends an attribute?
>> >>    Alternate methods are being used to handle the lack of MAC
>> >>    support
>> >>    and care should be taken to identify and mitigate threats from
>> >>    possible tampering outside of these methods.
>> >>
>> >> I find this vague. We should enumerate the other methods and
>> >> recommend
>> >> that
>> >> they be deprecated.
>> >>
>> >> -----
>> >>
>> >> One thing I find missing here is a discussion of what the server
>> >> should
>> >> do if the
>> >> client makes NFSv2/v3 requests? Does it assume that the
>> >>    server may choose
>> >>    to assign the subject security attribute based on their
>> >>    authentication credentials and/or associated network attributes
>> >>    (e.g.
>> >>    IP address, network interface).
>> >>
>> >> And must it make this same choice if it has a MAC aware NFSv4
>> >> client
>> >> which
>> >> is also making NFSv3 requests?
>> >>
>> >> ----
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> _______________________________________________
>> >> nfsv4 mailing list
>> >> nfsv4@ietf.org
>> >> https://www.ietf.org/mailman/listinfo/nfsv4
>> >
>>
>>
>>
>> --
>> Best Regards
>>
>> Sorin Faibish
>> Corporate Distinguished Engineer
>> Unified Storage Division
>> EMC²
>> where information lives
>>
>> Phone: 508-249-5745
>> Cellphone: 617-510-0422
>> Email : sfaibish@emc.com
>> _______________________________________________
>> nfsv4 mailing list
>> nfsv4@ietf.org
>> https://www.ietf.org/mailman/listinfo/nfsv4
>
>



-- 
Best Regards

Sorin Faibish
Corporate Distinguished Engineer
Unified Storage Division
         EMC²
where information lives

Phone: 508-249-5745
Cellphone: 617-510-0422
Email : sfaibish@emc.com

From Trond.Myklebust@netapp.com  Thu Apr 14 11:26:16 2011
Return-Path: <Trond.Myklebust@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id DE28FE08AC for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 11:26:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7eLmAEcJNWxP for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 11:26:16 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id E1E18E0857 for <nfsv4@ietf.org>; Thu, 14 Apr 2011 11:26:15 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,212,1301900400"; d="scan'208";a="541411819"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 14 Apr 2011 11:26:15 -0700
Received: from svlrsexc1-prd.hq.netapp.com (svlrsexc1-prd.hq.netapp.com [10.57.115.30]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3EIQFxU013059; Thu, 14 Apr 2011 11:26:15 -0700 (PDT)
Received: from SACMVEXC2-PRD.hq.netapp.com ([10.99.115.17]) by svlrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 14 Apr 2011 11:26:15 -0700
Received: from 10.58.48.92 ([10.58.48.92]) by SACMVEXC2-PRD.hq.netapp.com ([10.99.115.16]) with Microsoft Exchange Server HTTP-DAV ;  Thu, 14 Apr 2011 18:26:13 +0000
Received: from lade.trondhjem.org by SACMVEXC2-PRD.hq.netapp.com; 14 Apr 2011 14:26:12 -0400
From: Trond Myklebust <Trond.Myklebust@netapp.com>
To: Sorin Faibish <sfaibish@emc.com>
In-Reply-To: <op.vtxgd3njrwwil4@sfaibish1.corp.emc.com>
References: <F1E26510-36B6-40AD-9A10-E04C5DBAF388@netapp.com> <op.vtxgd3njrwwil4@sfaibish1.corp.emc.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Organization: NetApp Inc
Date: Thu, 14 Apr 2011 14:26:12 -0400
Message-ID: <1302805572.24028.28.camel@lade.trondhjem.org>
Mime-Version: 1.0
X-Mailer: Evolution 2.32.2 (2.32.2-1.fc14) 
X-OriginalArrivalTime: 14 Apr 2011 18:26:15.0135 (UTC) FILETIME=[706AD6F0:01CBFAD1]
Cc: "dwalsh@redhat.com" <dwalsh@redhat.com>, Kathleen Moriarty <kathleen.moriarty@emc.com>, nfsv4@ietf.org
Subject: Re: [nfsv4] Labeled NFS - agenda bashing for the first meeting
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2011 18:26:17 -0000

On Thu, 2011-04-14 at 08:16 -0400, Sorin Faibish wrote:
> On Mon, 11 Apr 2011 11:09:09 -0400, Thomas Haynes <thomas@netapp.com> =
=20
> wrote:
>=20
> > I'm trying to bash out an agenda for the first meeting. At a high level=
, =20
> > I have:
> >
> > IETF Note Well Agreement
> > Kathleen - use cases
> One of my Action Items for this call was to get a more detailed descripti=
on
> of the usecases from Dan Walsh fromn RedHat. This is what Dan provided:
>=20
> 	"I think there are three use cases.
>=20
> 	1. Secure virtualization, to allow me to prevent one
> 	   virtual machine from attacking another virtual
> 	   machines image when stored on shared NFS storage.
> 	2. Sandboxing.  Allows me to isolate multiple
> 	   "namespaced" homedirs on my homedir.  If the
> 	   homedir is nfs.
> 	3. NFS homedir labeling to handle process separation.

I'd add

4. Diskless systems (i.e. nfsroot). Currently, I can take any virtually
any image from my favourite Linux distribution, and apply that to run
over nfsroot. Currently, that causes me to lose the rule set based
access controls that are supposed to constrain my privileged processes.

Cheers
  Trond
--=20
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@netapp.com
www.netapp.com


From nico@cryptonector.com  Thu Apr 14 12:02:13 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 34B61E074B for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 12:02:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.862
X-Spam-Level: 
X-Spam-Status: No, score=-1.862 tagged_above=-999 required=5 tests=[AWL=0.115,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rvz+I3PSWjBQ for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 12:02:12 -0700 (PDT)
Received: from homiemail-a32.g.dreamhost.com (caiajhbdcagg.dreamhost.com [208.97.132.66]) by ietfc.amsl.com (Postfix) with ESMTP id 76E4AE06CD for <nfsv4@ietf.org>; Thu, 14 Apr 2011 12:02:12 -0700 (PDT)
Received: from homiemail-a32.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a32.g.dreamhost.com (Postfix) with ESMTP id A919F584057 for <nfsv4@ietf.org>; Thu, 14 Apr 2011 12:02:11 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=lZ7MiBE7OZidWsTyDQqSo y8KTwmTDHatkRoFlcTRU31HOUxsg1ILbbDfmbiHGZQXjn/islR/CR1bJ0g4Ls19s FtAYQH+AUz9+TAAhjF24jjBBXwibzMIy2PTE9BplahDhtHqyKnCmCx8t+sJrytEp w9QIHS40Q3DJinb54NfD3k=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=Ho9F9o3VT06QporCl/Gv 3jgb2y4=; b=kGmWGch95tmyLuC7ZzZeV0y5xFvPvgf/PagohdEnrbjlhvbFkAVs VYmk5doEKb8A65ZGJsjODZHUUF0Q3SWh6WbRqXqyXnDQNly+b+NiBDYHEyoiMnz9 mKaWxUBRPxx30rpauae70q0kOrL9O4EDOqMjBIJi2/X6nCh1JTd+ngo=
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a32.g.dreamhost.com (Postfix) with ESMTPSA id 2BABC58407A for <nfsv4@ietf.org>; Thu, 14 Apr 2011 12:01:28 -0700 (PDT)
Received: by vws12 with SMTP id 12so1961613vws.31 for <nfsv4@ietf.org>; Thu, 14 Apr 2011 12:01:27 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.112.69 with SMTP id io5mr1601677vdb.94.1302807687264; Thu, 14 Apr 2011 12:01:27 -0700 (PDT)
Received: by 10.52.163.228 with HTTP; Thu, 14 Apr 2011 12:01:27 -0700 (PDT)
In-Reply-To: <1302805572.24028.28.camel@lade.trondhjem.org>
References: <F1E26510-36B6-40AD-9A10-E04C5DBAF388@netapp.com> <op.vtxgd3njrwwil4@sfaibish1.corp.emc.com> <1302805572.24028.28.camel@lade.trondhjem.org>
Date: Thu, 14 Apr 2011 14:01:27 -0500
Message-ID: <BANLkTinud7vUmM8+1=waJRmu4A-YCyScog@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Trond Myklebust <Trond.Myklebust@netapp.com>
Content-Type: text/plain; charset=UTF-8
Cc: Kathleen Moriarty <kathleen.moriarty@emc.com>, nfsv4@ietf.org, "dwalsh@redhat.com" <dwalsh@redhat.com>
Subject: Re: [nfsv4] Labeled NFS - agenda bashing for the first meeting
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2011 19:02:13 -0000

On Thu, Apr 14, 2011 at 1:26 PM, Trond Myklebust
<Trond.Myklebust@netapp.com> wrote:
> I'd add
>
> 4. Diskless systems (i.e. nfsroot). Currently, I can take any virtually
> any image from my favourite Linux distribution, and apply that to run
> over nfsroot. Currently, that causes me to lose the rule set based
> access controls that are supposed to constrain my privileged processes.

In diskless scenarios we want to say that the client fully owns all of
the relevant filesystems.  In diskless mode you want the client to
make all access control decisions except for the decision that the
client gets to do that, which the server ought to make instead.

Diskless can be done without labeling, including without RPCSEC_GSSv3.
 The only wrinkle is that the client needs to be able to set the
ownership and ACLs of all objects in the writable filesystems that it
owns, but the protocol already provides a way by which the client can
do this even when acting as "root" (I'm referring to ACL-on-create).
The client also needs to be able to set object labels in such
filesystems at will, subject only to server-side label range/set
constraints.

But yes, LNFS would help, even if marginally, in the diskless scenario.

Nico
--

From Tom.Haynes@netapp.com  Thu Apr 14 12:34:04 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 2A99DE07AD for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 12:34:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.449
X-Spam-Level: 
X-Spam-Status: No, score=-10.449 tagged_above=-999 required=5 tests=[AWL=0.150, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6VpdB+-yMfSr for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 12:34:03 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id EC1E1E07A8 for <nfsv4@ietf.org>; Thu, 14 Apr 2011 12:34:02 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,213,1301900400"; d="scan'208";a="541431450"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 14 Apr 2011 12:33:47 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3EJXlfN004944; Thu, 14 Apr 2011 12:33:47 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 14 Apr 2011 12:33:46 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.112]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 14 Apr 2011 15:33:45 -0400
Received: from ebc05-xp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 14 Apr 2011 15:33:45 -0400
From: Thomas Haynes <thomas@netapp.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Thu, 14 Apr 2011 14:33:43 -0500
Message-Id: <EBF8C6C0-65A5-4469-95B3-32EF6E7ABCC3@netapp.com>
To: nfsv4@ietf.org
Mime-Version: 1.0 (Apple Message framework v1084)
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 14 Apr 2011 19:33:45.0315 (UTC) FILETIME=[DE834330:01CBFADA]
Cc: Kathleen Moriarty <kathleen.moriarty@emc.com>
Subject: [nfsv4] [LNFS] Meeting Minutes 04/14/11
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2011 19:34:04 -0000

Attendees:
---------------

Tom Haynes (NetApp)
Dave Quigley (davequigley.com)
Dan Walsh (RedHat)
Jarrett Lu (Oracle)
Sorin Faibish (EMC)
Peter Staubach (EMC)
Trond Myklebust (NetApp)
Kathleen Moriarty (EMC)
David Black (EMC)
Nico Williams (cryptonector.com)

(Note, the line was choppy at first and it was pretty windy here.
So if I missed your participation, please send me an email and
I'll add you to the list.)

Agenda
-----------

+ IETF Note Well Agreement

+ Use Cases

Kathleen presented the ITAR and Legal Hold use cases (see=20
http://www.ietf.org/mail-archive/web/nfsv4/current/msg09349.html)

The consensus was that the current proposal is sufficient to support
these use cases.

We had a discussion about what goes in the label? Do we need
separate ones for Sensitivity and Criticality?

David Q pointed out that the current design allows anything to
go in the labels.

A major point also was that the security system decides on what
to use.

Sorin presented the Red Hat use cases (see
http://www.ietf.org/mail-archive/web/nfsv4/current/msg09347.html).

On list, Trond added another at =
http://www.ietf.org/mail-archive/web/nfsv4/current/msg09357.html

Again, the consensus was that the proposed implementation=20
was sufficient to support these use cases.

A key point is that all we are proposing is a transport mechanism
to provide labels for the object and then via RPCSEC_GSSv3, the
subject. The use cases might require more work in the security
system, but at our level, what we provide will work.

We then discussed the size of the label, i.e. given

      struct sec_label_attr_info =3D {
        labelformat_spec4   slai_lfs;
        opaque              slai_data<>;
      };

what is the upper limit on slai_data?

We did agree that we do not want a limit imposed at the XDR level.

The limit will be imposed by the LFS being used. The implication
here is that if a particular implementation specifies a maximum
size of X, then the client knows it can safely send a label of size
X to the server.

Nico mentioned that an implementation might not want to
set a maximum limit. Everyone else disagreed.

A point lost in the conversation was error handling for labels.
We probably want a specific error to state something was
wrong with the format of the label. I.e., server says max it
will store is X, client provides X+1.

+ Dependency of LNFS on RPCSEC_GSSv3

We finally discussed whether LNFS could mandate that RPCSEC_GSSv3
was required or optional.

Nico presented a nice overview of the scenarios:

Smart client, Dumb Server - no need, existing state of most =
implementations
Dumb client, Smart Server - no need, rules for the subject are inferred
Smart client, Smart Server - a requirement. And this is the interesting =
case we want to develop.

Also lost in the conversation was David B's desire to discuss
how the label for the subject was inferred. Dave Q did
mention this was discussed in on of the drafts.

=20





From nico@cryptonector.com  Thu Apr 14 12:41:01 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 621AAE0712 for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 12:41:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.866
X-Spam-Level: 
X-Spam-Status: No, score=-1.866 tagged_above=-999 required=5 tests=[AWL=0.111,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8kL6u7QYcLHa for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 12:41:00 -0700 (PDT)
Received: from homiemail-a70.g.dreamhost.com (caiajhbdccac.dreamhost.com [208.97.132.202]) by ietfc.amsl.com (Postfix) with ESMTP id EEDCFE0696 for <nfsv4@ietf.org>; Thu, 14 Apr 2011 12:40:59 -0700 (PDT)
Received: from homiemail-a70.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a70.g.dreamhost.com (Postfix) with ESMTP id 017EB76806B for <nfsv4@ietf.org>; Thu, 14 Apr 2011 12:40:59 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=IakdZd0RsQx9RMjz0MFhImxYbNcZzRRnwY9L64ALCxZY 7eT5f/5rHXamGwXMIZbRICulnRq6sBtwWKNwFbakR1f1VuJhVNKn+vP38cN+kvaB xKyuvg0ezMmBPcXu8w4XJZtoY5xeeCOEcCd8FxIX2ZYosOf5NCbnGn7lDJSdTxI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=w0FvYcVcSopkxQjH4JmokPVnnBw=; b=xDN6LqYlGnA Utis6u9TcbYla41DeuXnGVAKIXlshNDNrhsE9+uyNYW2OfQbYLeIpiUasOp85FZo zKJ6zbZ18DVgzoHlCYhexSiGP4FJnkQKi6G1yCFJnxY1qvKBh9oaReI3oya6IBBl PoitY0zKux6ex2w5by9ksrC9LvlNjxGk=
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a70.g.dreamhost.com (Postfix) with ESMTPSA id C925976805C for <nfsv4@ietf.org>; Thu, 14 Apr 2011 12:40:58 -0700 (PDT)
Received: by vxg33 with SMTP id 33so1986140vxg.31 for <nfsv4@ietf.org>; Thu, 14 Apr 2011 12:40:58 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.73.130 with SMTP id l2mr1766394vdv.14.1302810058224; Thu, 14 Apr 2011 12:40:58 -0700 (PDT)
Received: by 10.52.163.228 with HTTP; Thu, 14 Apr 2011 12:40:58 -0700 (PDT)
In-Reply-To: <EBF8C6C0-65A5-4469-95B3-32EF6E7ABCC3@netapp.com>
References: <EBF8C6C0-65A5-4469-95B3-32EF6E7ABCC3@netapp.com>
Date: Thu, 14 Apr 2011 14:40:58 -0500
Message-ID: <BANLkTin+vQ+h=3Boap20t4aPp=Oqcf_-Sw@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Thomas Haynes <thomas@netapp.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: Kathleen Moriarty <kathleen.moriarty@emc.com>, nfsv4@ietf.org
Subject: Re: [nfsv4] [LNFS] Meeting Minutes 04/14/11
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2011 19:41:01 -0000

On Thu, Apr 14, 2011 at 2:33 PM, Thomas Haynes <thomas@netapp.com> wrote:
> We then discussed the size of the label, i.e. given
>
> =C2=A0 =C2=A0 =C2=A0struct sec_label_attr_info =3D {
> =C2=A0 =C2=A0 =C2=A0 =C2=A0labelformat_spec4 =C2=A0 slai_lfs;
> =C2=A0 =C2=A0 =C2=A0 =C2=A0opaque =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0slai_data<>;
> =C2=A0 =C2=A0 =C2=A0};
>
> what is the upper limit on slai_data?
>
> We did agree that we do not want a limit imposed at the XDR level.
>
> The limit will be imposed by the LFS being used. The implication
> here is that if a particular implementation specifies a maximum
> size of X, then the client knows it can safely send a label of size
> X to the server.
>
> Nico mentioned that an implementation might not want to
> set a maximum limit. Everyone else disagreed.

I said something different: that it'd be OK with me that we say that
LFS specifications SHOULD specify a maximum label size instead of MUST
because I could imagine a labeling scheme where all labels are
manually configured and that in such schemes it'd be fine to leave max
label size to the administrator rather than the label spec.  It's
really not a big deal.

> A point lost in the conversation was error handling for labels.
> We probably want a specific error to state something was
> wrong with the format of the label. I.e., server says max it
> will store is X, client provides X+1.

We can't have LFS-specific error codes unless we specify error code
allocation rules for this.  But EINVAL is almost certainly good enough
for the set-object-label operation -- what else can it mean but that
the label is invalid?  The reasons that the label is invalid will vary
by label type and DOI.

Nico
--

From nico@cryptonector.com  Thu Apr 14 12:51:06 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 571A4E073C for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 12:51:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.87
X-Spam-Level: 
X-Spam-Status: No, score=-1.87 tagged_above=-999 required=5 tests=[AWL=0.107,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Kd+xKyM6qQoS for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 12:51:05 -0700 (PDT)
Received: from homiemail-a65.g.dreamhost.com (jankymail-mx1.g.dreamhost.com [208.97.132.126]) by ietfc.amsl.com (Postfix) with ESMTP id B31CCE067F for <nfsv4@ietf.org>; Thu, 14 Apr 2011 12:50:56 -0700 (PDT)
Received: from homiemail-a65.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a65.g.dreamhost.com (Postfix) with ESMTP id E03BC7E406F for <nfsv4@ietf.org>; Thu, 14 Apr 2011 12:50:55 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=po3vegZahy0o11S9/eysK 6GjMUlZ65ToqQZvcDsZD/zF2Vb3vbFIgsgudgG5P64gzfTBxrFrWIAo8aqJ4ZKZs 4pTmh6KDMgBXwU2i3V8v92XeSyKDy+u0F5O53BuVJE1SqhaWjaAF1mG1zTa8WzcP 1B2lvu/m9YjxcCr1h2S+DU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=9yJkHp3Cf81QkRPlJhiL J54F2dY=; b=dOBxLj+T+YS3ZI8nMugYcvwUmqgkU6XwwVbHPzCdikzI5ojfyZYI nw2bO1T4z6ToqIwk831AbeG92Cqydf5yaZIwwqyJ1zcZgSYzgmUbdldHIsQrFa9H gMi08kwzGp3wdlVvv6eQPstomElPqeaw0pXgSxk9b5Li5waU1lMWxNg=
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a65.g.dreamhost.com (Postfix) with ESMTPSA id B44DD7E4058 for <nfsv4@ietf.org>; Thu, 14 Apr 2011 12:50:55 -0700 (PDT)
Received: by vws12 with SMTP id 12so2008598vws.31 for <nfsv4@ietf.org>; Thu, 14 Apr 2011 12:50:55 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.188.230 with SMTP id gd6mr1661348vdc.294.1302810655129; Thu, 14 Apr 2011 12:50:55 -0700 (PDT)
Received: by 10.52.163.228 with HTTP; Thu, 14 Apr 2011 12:50:55 -0700 (PDT)
In-Reply-To: <BANLkTinud7vUmM8+1=waJRmu4A-YCyScog@mail.gmail.com>
References: <F1E26510-36B6-40AD-9A10-E04C5DBAF388@netapp.com> <op.vtxgd3njrwwil4@sfaibish1.corp.emc.com> <1302805572.24028.28.camel@lade.trondhjem.org> <BANLkTinud7vUmM8+1=waJRmu4A-YCyScog@mail.gmail.com>
Date: Thu, 14 Apr 2011 14:50:55 -0500
Message-ID: <BANLkTi=aGZX3adTJQLf_j5PVPR6Af+=Ppg@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Trond Myklebust <Trond.Myklebust@netapp.com>
Content-Type: text/plain; charset=UTF-8
Cc: Kathleen Moriarty <kathleen.moriarty@emc.com>, nfsv4@ietf.org, "dwalsh@redhat.com" <dwalsh@redhat.com>
Subject: Re: [nfsv4] Labeled NFS - agenda bashing for the first meeting
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2011 19:51:06 -0000

Also, the fundamental problem with diskless is that the client needs
to store user/group IDs that the server might not understand.
Stringified UIDs and GIDs will work when the server is willing to
store those, but this will work only for POSIX diskless clients (we
don't have any Windows NFS diskless clients yet, but who knows what
the future will bring).

My vision of NFSv4 diskless clients w/o labeling is as follows:

 - on the server you can set an owner client host principal name on
filesystems owned by that client
 - the server allows that principal full access to the filesystems it
owns, except for write access to read-only filesystems (of course)
 - on the client you store the client host principal name and
credentials somewhere locally
 - the client uses RPCSEC_GSSv1 when accessing the filesystems it
owns, and always with the client host principal as the client
principal
 - the client uses ACL-on-create whenever it creates objects on
filesystems it owns
 - the client uses stringified UIDs and GIDs when dealing with
filesystems it owns

Labels barely enter that picture, though the server could just map the
client principal name to a subject label and treat the entire
filesystem as having the same label, and the server could also enforce
per-object label policies.  It's just that LNFS is not an enabler for
diskless.

From Tom.Haynes@netapp.com  Thu Apr 14 12:54:53 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 37A1DE073C for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 12:54:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.461
X-Spam-Level: 
X-Spam-Status: No, score=-10.461 tagged_above=-999 required=5 tests=[AWL=0.138, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xly7txThlqxv for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 12:54:52 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id 55058E067F for <nfsv4@ietf.org>; Thu, 14 Apr 2011 12:54:52 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,213,1301900400"; d="scan'208";a="541436290"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 14 Apr 2011 12:54:50 -0700
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3EJsoi8028244; Thu, 14 Apr 2011 12:54:50 -0700 (PDT)
Received: from rtprsexc2-prd.hq.netapp.com ([10.100.161.115]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 14 Apr 2011 12:54:50 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.112]) by rtprsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 14 Apr 2011 15:54:49 -0400
Received: from maute-lxp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 14 Apr 2011 15:54:48 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <BANLkTin+vQ+h=3Boap20t4aPp=Oqcf_-Sw@mail.gmail.com>
Date: Thu, 14 Apr 2011 14:54:47 -0500
Content-Transfer-Encoding: 7bit
Message-Id: <56E51EDE-713C-44C3-A15E-B02250263DAD@netapp.com>
References: <EBF8C6C0-65A5-4469-95B3-32EF6E7ABCC3@netapp.com> <BANLkTin+vQ+h=3Boap20t4aPp=Oqcf_-Sw@mail.gmail.com>
To: Nico Williams <nico@cryptonector.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 14 Apr 2011 19:54:48.0862 (UTC) FILETIME=[CFA53BE0:01CBFADD]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [LNFS] Meeting Minutes 04/14/11
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2011 19:54:53 -0000

On Apr 14, 2011, at 2:40 PM, Nico Williams wrote:

> On Thu, Apr 14, 2011 at 2:33 PM, Thomas Haynes <thomas@netapp.com> wrote:
>> We then discussed the size of the label, i.e. given
>> 
>>      struct sec_label_attr_info = {
>>        labelformat_spec4   slai_lfs;
>>        opaque              slai_data<>;
>>      };
>> 
>> what is the upper limit on slai_data?
>> 
>> We did agree that we do not want a limit imposed at the XDR level.
>> 
>> The limit will be imposed by the LFS being used. The implication
>> here is that if a particular implementation specifies a maximum
>> size of X, then the client knows it can safely send a label of size
>> X to the server.
>> 
>> Nico mentioned that an implementation might not want to
>> set a maximum limit. Everyone else disagreed.
> 
> I said something different: that it'd be OK with me that we say that
> LFS specifications SHOULD specify a maximum label size instead of MUST
> because I could imagine a labeling scheme where all labels are
> manually configured and that in such schemes it'd be fine to leave max
> label size to the administrator rather than the label spec.  It's
> really not a big deal.

Ahh, a point I meant to bring up in the meeting, is it the administrator
setting up a max size or the author of the LFS specification?

I understood the point about having a fixed number of labels,
but I didn't understand why we would want to hand over control of
such a key configuration item to an admin.

The spec might specify that the max is 1k, but the site might
define at most a 400 byte max label.


> 
>> A point lost in the conversation was error handling for labels.
>> We probably want a specific error to state something was
>> wrong with the format of the label. I.e., server says max it
>> will store is X, client provides X+1.
> 
> We can't have LFS-specific error codes unless we specify error code
> allocation rules for this.  But EINVAL is almost certainly good enough
> for the set-object-label operation -- what else can it mean but that
> the label is invalid?  The reasons that the label is invalid will vary
> by label type and DOI.


I wanted a generic way to state that there was something wrong with
the mechanics of the label versus either the content or the enclosing
operation.



From nico@cryptonector.com  Thu Apr 14 13:48:19 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 743B0E073C for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 13:48:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.874
X-Spam-Level: 
X-Spam-Status: No, score=-1.874 tagged_above=-999 required=5 tests=[AWL=0.103,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZPAqqd-glVYb for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 13:48:18 -0700 (PDT)
Received: from homiemail-a25.g.dreamhost.com (caiajhbdcaid.dreamhost.com [208.97.132.83]) by ietfc.amsl.com (Postfix) with ESMTP id 7B415E08AC for <nfsv4@ietf.org>; Thu, 14 Apr 2011 13:48:15 -0700 (PDT)
Received: from homiemail-a25.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a25.g.dreamhost.com (Postfix) with ESMTP id 21834678057 for <nfsv4@ietf.org>; Thu, 14 Apr 2011 13:48:04 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=C+6HaslYfxsgD32Z+RxzqFIdLS1S4Ck3IcRB6S7/XjEg jNDCzjHycTJp1YOetaScTWLTEsAHBkD1HWqVnn7afHpmJWbIBHU5OovAxVSteuly FVhaLcSZ4/aExvNqUVar8QXuIzr8J8Rd9q5PcrcXcol5e7z1xy/gHN0TyeFiu2E=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=uzrIX+GW1GubRtk4DacvDC33kXo=; b=iNdkvcbNsDB eOhr9Nrryx6pHmqYSl+yM3L8D6JgwpLTWmYZzHGAxyMAzvwSJlZpp2UyuGOBBhl9 RC5BsstdsgSLmmdWMmHdMEBPx5cRqSYzTiJN+YYB+awMKqOgCWqntSofzoldUBYl fu1W3tAZO0I1qQ5ohNCisH7cfkYavebg=
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a25.g.dreamhost.com (Postfix) with ESMTPSA id 819D0678094 for <nfsv4@ietf.org>; Thu, 14 Apr 2011 13:47:39 -0700 (PDT)
Received: by vxg33 with SMTP id 33so2043419vxg.31 for <nfsv4@ietf.org>; Thu, 14 Apr 2011 13:47:38 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.112.69 with SMTP id io5mr1767091vdb.94.1302814058181; Thu, 14 Apr 2011 13:47:38 -0700 (PDT)
Received: by 10.52.163.228 with HTTP; Thu, 14 Apr 2011 13:47:38 -0700 (PDT)
In-Reply-To: <56E51EDE-713C-44C3-A15E-B02250263DAD@netapp.com>
References: <EBF8C6C0-65A5-4469-95B3-32EF6E7ABCC3@netapp.com> <BANLkTin+vQ+h=3Boap20t4aPp=Oqcf_-Sw@mail.gmail.com> <56E51EDE-713C-44C3-A15E-B02250263DAD@netapp.com>
Date: Thu, 14 Apr 2011 15:47:38 -0500
Message-ID: <BANLkTimP0J4JBKO145rV_KEm7d2AWeGMnw@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Thomas Haynes <thomas@netapp.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [LNFS] Meeting Minutes 04/14/11
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2011 20:48:19 -0000

On Thu, Apr 14, 2011 at 2:54 PM, Thomas Haynes <thomas@netapp.com> wrote:
> On Apr 14, 2011, at 2:40 PM, Nico Williams wrote:
>>> Nico mentioned that an implementation might not want to
>>> set a maximum limit. Everyone else disagreed.
>>
>> I said something different: that it'd be OK with me that we say that
>> LFS specifications SHOULD specify a maximum label size instead of MUST
>> because I could imagine a labeling scheme where all labels are
>> manually configured and that in such schemes it'd be fine to leave max
>> label size to the administrator rather than the label spec. =C2=A0It's
>> really not a big deal.
>
> Ahh, a point I meant to bring up in the meeting, is it the administrator
> setting up a max size or the author of the LFS specification?

David B. wants it to be the LFS.  I want it to be the LFS if it
specifies one, else the admin.  But this is really not much to argue
over.  I'll gladly settle for David's proposal.

> I understood the point about having a fixed number of labels,
> but I didn't understand why we would want to hand over control of
> such a key configuration item to an admin.
>
> The spec might specify that the max is 1k, but the site might
> define at most a 400 byte max label.

David's counter-argument would be that if the client can create new
labels then it's critical that the server not reject labels whose
length is within spec.  I agree with David on that.

>> We can't have LFS-specific error codes unless we specify error code
>> allocation rules for this. =C2=A0But EINVAL is almost certainly good eno=
ugh
>> for the set-object-label operation -- what else can it mean but that
>> the label is invalid? =C2=A0The reasons that the label is invalid will v=
ary
>> by label type and DOI.
>
> I wanted a generic way to state that there was something wrong with
> the mechanics of the label versus either the content or the enclosing
> operation.

But what else could EINVAL possibly mean?  It's not like the
set-object-label operation takes many inputs: just the current FH
(implied, and clearly valid if the PUTFH or other such op that set it
succeeded) and the label.  EINVAL here can only possibly mean that
there's a problem with the label.

From Tom.Haynes@netapp.com  Thu Apr 14 13:58:53 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 082F1E0829 for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 13:58:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.471
X-Spam-Level: 
X-Spam-Status: No, score=-10.471 tagged_above=-999 required=5 tests=[AWL=0.128, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TCa0ih92tX5X for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 13:58:52 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id EEF4DE080F for <nfsv4@ietf.org>; Thu, 14 Apr 2011 13:58:51 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,213,1301900400"; d="scan'208";a="541452772"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 14 Apr 2011 13:58:51 -0700
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3EKwpiH005507; Thu, 14 Apr 2011 13:58:51 -0700 (PDT)
Received: from rtprsexc2-prd.hq.netapp.com ([10.100.161.115]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 14 Apr 2011 13:58:51 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.112]) by rtprsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 14 Apr 2011 16:58:50 -0400
Received: from ebc05-xp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 14 Apr 2011 16:58:50 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <BANLkTimP0J4JBKO145rV_KEm7d2AWeGMnw@mail.gmail.com>
Date: Thu, 14 Apr 2011 15:58:48 -0500
Content-Transfer-Encoding: 7bit
Message-Id: <55BE7650-6D99-4454-8138-8BBE73146770@netapp.com>
References: <EBF8C6C0-65A5-4469-95B3-32EF6E7ABCC3@netapp.com> <BANLkTin+vQ+h=3Boap20t4aPp=Oqcf_-Sw@mail.gmail.com> <56E51EDE-713C-44C3-A15E-B02250263DAD@netapp.com> <BANLkTimP0J4JBKO145rV_KEm7d2AWeGMnw@mail.gmail.com>
To: Nico Williams <nico@cryptonector.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 14 Apr 2011 20:58:50.0191 (UTC) FILETIME=[C14185F0:01CBFAE6]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [LNFS] Meeting Minutes 04/14/11
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2011 20:58:53 -0000

On Apr 14, 2011, at 3:47 PM, Nico Williams wrote:

> On Thu, Apr 14, 2011 at 2:54 PM, Thomas Haynes <thomas@netapp.com> wrote:
>> On Apr 14, 2011, at 2:40 PM, Nico Williams wrote:
>>>> Nico mentioned that an implementation might not want to
>>>> set a maximum limit. Everyone else disagreed.
>>> 
>>> I said something different: that it'd be OK with me that we say that
>>> LFS specifications SHOULD specify a maximum label size instead of MUST
>>> because I could imagine a labeling scheme where all labels are
>>> manually configured and that in such schemes it'd be fine to leave max
>>> label size to the administrator rather than the label spec.  It's
>>> really not a big deal.
>> 
>> Ahh, a point I meant to bring up in the meeting, is it the administrator
>> setting up a max size or the author of the LFS specification?
> 
> David B. wants it to be the LFS.  I want it to be the LFS if it
> specifies one, else the admin.  But this is really not much to argue
> over.  I'll gladly settle for David's proposal.

I'll take that as settled.

> 
>> I understood the point about having a fixed number of labels,
>> but I didn't understand why we would want to hand over control of
>> such a key configuration item to an admin.
>> 
>> The spec might specify that the max is 1k, but the site might
>> define at most a 400 byte max label.
> 
> David's counter-argument would be that if the client can create new
> labels then it's critical that the server not reject labels whose
> length is within spec.  I agree with David on that.


 Good, I think we all agree.

> 
>>> We can't have LFS-specific error codes unless we specify error code
>>> allocation rules for this.  But EINVAL is almost certainly good enough
>>> for the set-object-label operation -- what else can it mean but that
>>> the label is invalid?  The reasons that the label is invalid will vary
>>> by label type and DOI.
>> 
>> I wanted a generic way to state that there was something wrong with
>> the mechanics of the label versus either the content or the enclosing
>> operation.
> 
> But what else could EINVAL possibly mean?  It's not like the
> set-object-label operation takes many inputs: just the current FH
> (implied, and clearly valid if the PUTFH or other such op that set it
> succeeded) and the label.  EINVAL here can only possibly mean that
> there's a problem with the label.

But it could be combined with other attributes being set.

I'm willing to let this drop, I only have a preference, not a strong
requirement.


From nico@cryptonector.com  Thu Apr 14 14:09:52 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id E9A2AE0801 for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 14:09:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.88
X-Spam-Level: 
X-Spam-Status: No, score=-1.88 tagged_above=-999 required=5 tests=[AWL=0.097,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id o3rQ3OwDXpG9 for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 14:09:52 -0700 (PDT)
Received: from homiemail-a70.g.dreamhost.com (caiajhbdcbbj.dreamhost.com [208.97.132.119]) by ietfc.amsl.com (Postfix) with ESMTP id 4D0AAE07FE for <nfsv4@ietf.org>; Thu, 14 Apr 2011 14:09:52 -0700 (PDT)
Received: from homiemail-a70.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a70.g.dreamhost.com (Postfix) with ESMTP id B672F76805C for <nfsv4@ietf.org>; Thu, 14 Apr 2011 14:09:51 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=LpIffHzuzFUoQzGLD1Qfushy8JaISNgkLBQF6bVoikHh SKBoKef4698W7wz1shohvySJ3nFAroChv2Fw+1caA3Ppfbnu7lxhd7XfI/LGMo9Q jUeS3YQV4BWmCYPUMcNm5BjGT7ZctE6rVP8WJayo66QLTKtg/P8/HU/tJZMjyDI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=Pptw5Mudctv1Cg6ddaXVKv1+PMk=; b=td/qf9aa3/1 r5NRVZL3YIWr4WAqwD8eoo0Iay3jaTQzTTCeXQsGDKBnYw9Gt3jWNo31X+/IvjwL sjytXdHue5BnR9kdBVWUaTCoAALd7NEvJ8KmSwJ3O9IoRVFFJ19jg3Plc9Te3sj1 Fcv5DJqRh2s4xNZOeexxtHEo+pRQZsio=
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a70.g.dreamhost.com (Postfix) with ESMTPSA id 84E85768057 for <nfsv4@ietf.org>; Thu, 14 Apr 2011 14:09:51 -0700 (PDT)
Received: by vxg33 with SMTP id 33so2061669vxg.31 for <nfsv4@ietf.org>; Thu, 14 Apr 2011 14:09:50 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.73.130 with SMTP id l2mr1902600vdv.14.1302815384842; Thu, 14 Apr 2011 14:09:44 -0700 (PDT)
Received: by 10.52.163.228 with HTTP; Thu, 14 Apr 2011 14:09:44 -0700 (PDT)
In-Reply-To: <55BE7650-6D99-4454-8138-8BBE73146770@netapp.com>
References: <EBF8C6C0-65A5-4469-95B3-32EF6E7ABCC3@netapp.com> <BANLkTin+vQ+h=3Boap20t4aPp=Oqcf_-Sw@mail.gmail.com> <56E51EDE-713C-44C3-A15E-B02250263DAD@netapp.com> <BANLkTimP0J4JBKO145rV_KEm7d2AWeGMnw@mail.gmail.com> <55BE7650-6D99-4454-8138-8BBE73146770@netapp.com>
Date: Thu, 14 Apr 2011 16:09:44 -0500
Message-ID: <BANLkTi=StSZQ+r=+qJgPy7k-566AWAv5VA@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Thomas Haynes <thomas@netapp.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [LNFS] Meeting Minutes 04/14/11
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2011 21:09:53 -0000

On Thu, Apr 14, 2011 at 3:58 PM, Thomas Haynes <thomas@netapp.com> wrote:
>> But what else could EINVAL possibly mean? =C2=A0It's not like the
>> set-object-label operation takes many inputs: just the current FH
>> (implied, and clearly valid if the PUTFH or other such op that set it
>> succeeded) and the label. =C2=A0EINVAL here can only possibly mean that
>> there's a problem with the label.
>
> But it could be combined with other attributes being set.

Oh, because label is an attribute...  Right!  Well...  Arguably
attributes whose values the server validates ought to have separate
error indications -- not separate error codes, mind you, but an error
code per-failed attribute.  The current SETATTR does that, sort of, by
sending a bitmask of attributes that were set in the result -- not
great in the case of labels, since the client can't know if the label
was not set because the server doesn't do labels or because there was
something wrong with the label.

Is that right?  If so, do we need a new flavor of SETATTR?

Nico
--

From Tom.Haynes@netapp.com  Thu Apr 14 14:38:57 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 84956E090D for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 14:38:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.479
X-Spam-Level: 
X-Spam-Status: No, score=-10.479 tagged_above=-999 required=5 tests=[AWL=0.119, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WLAaAeCEgCKr for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 14:38:56 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id C1B61E0705 for <nfsv4@ietf.org>; Thu, 14 Apr 2011 14:38:55 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,213,1301900400";  d="scan'208,217";a="541462292"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 14 Apr 2011 14:38:54 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3ELcsjq028418; Thu, 14 Apr 2011 14:38:54 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 14 Apr 2011 14:38:54 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.112]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 14 Apr 2011 17:38:53 -0400
Received: from maute-lxp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 14 Apr 2011 17:38:52 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: multipart/alternative; boundary=Apple-Mail-45-239899978
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <BANLkTi=StSZQ+r=+qJgPy7k-566AWAv5VA@mail.gmail.com>
Date: Thu, 14 Apr 2011 16:38:50 -0500
Message-Id: <0EC79E53-5F61-4EE5-A244-041412916AFB@netapp.com>
References: <EBF8C6C0-65A5-4469-95B3-32EF6E7ABCC3@netapp.com> <BANLkTin+vQ+h=3Boap20t4aPp=Oqcf_-Sw@mail.gmail.com> <56E51EDE-713C-44C3-A15E-B02250263DAD@netapp.com> <BANLkTimP0J4JBKO145rV_KEm7d2AWeGMnw@mail.gmail.com> <55BE7650-6D99-4454-8138-8BBE73146770@netapp.com> <BANLkTi=StSZQ+r=+qJgPy7k-566AWAv5VA@mail.gmail.com>
To: Nico Williams <nico@cryptonector.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 14 Apr 2011 21:38:52.0389 (UTC) FILETIME=[5913D950:01CBFAEC]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [LNFS] Meeting Minutes 04/14/11
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2011 21:38:57 -0000

--Apple-Mail-45-239899978
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


On Apr 14, 2011, at 4:09 PM, Nico Williams wrote:

> On Thu, Apr 14, 2011 at 3:58 PM, Thomas Haynes <thomas@netapp.com> =
wrote:
>>> But what else could EINVAL possibly mean?  It's not like the
>>> set-object-label operation takes many inputs: just the current FH
>>> (implied, and clearly valid if the PUTFH or other such op that set =
it
>>> succeeded) and the label.  EINVAL here can only possibly mean that
>>> there's a problem with the label.
>>=20
>> But it could be combined with other attributes being set.
>=20
> Oh, because label is an attribute...  Right!  Well...  Arguably
> attributes whose values the server validates ought to have separate
> error indications -- not separate error codes, mind you, but an error
> code per-failed attribute.  The current SETATTR does that, sort of, by
> sending a bitmask of attributes that were set in the result -- not
> great in the case of labels, since the client can't know if the label
> was not set because the server doesn't do labels or because there was
> something wrong with the label.
>=20
> Is that right?  If so, do we need a new flavor of SETATTR?
>=20
> Nico
> --



=46rom 5661:

5.2.  RECOMMENDED Attributes

   These attributes are understood well enough to warrant support in the
   NFSv4.1 protocol.  However, they may not be supported on all clients
   and servers.  A client may ask for any of these attributes to be
   returned by setting a bit in the GETATTR request but must handle the
   case where the server does not return them.  A client MAY ask for the
   set of attributes the server supports and SHOULD NOT request
   attributes the server does not support.  A server should be tolerant
   of requests for unsupported attributes and simply not return them
   rather than considering the request an error.  It is expected that
   servers will support all attributes they comfortably can and only
   fail to support attributes that are difficult to support in their
   operating environments.  A server should provide attributes whenever
   they don't have to "tell lies" to the client.  For example, a file
   modification time should be either an accurate time or should not be
   supported by the server.  At times this will be difficult for
   clients, but a client is better positioned to decide whether and how
   to fabricate or construct an attribute or whether to do without the
   attribute.

So if the client sets the FATTR4_SEC_LABEL bit in the SETATTR request, =
then if
the server does not support LNFS, it will return NFS4_OKAY and that bit =
will be off
in the returned bitmask.

If there was an issue with some attribute other than the label, then a =
partial bitmask
will be returned. It may be the case that the FATTR4_SEC_LABEL bit is =
set or not.

If there is an issue with it, then it will be off in the result bitmask.

To make things easier, we might define that a compound with PUTROOTFH, =
GETATTR {FATTR4_SEC_LABEL}
always succeeds if the server supports LNFS. The specific LFS would be =
responsible for
the contents of that object label.=20




--Apple-Mail-45-239899978
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><br><div><div>On Apr 14, 2011, at 4:09 PM, Nico Williams =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><div>On Thu, Apr 14, 2011 at 3:58 PM, Thomas Haynes &lt;<a =
href=3D"mailto:thomas@netapp.com">thomas@netapp.com</a>&gt; =
wrote:<br><blockquote type=3D"cite"><blockquote type=3D"cite">But what =
else could EINVAL possibly mean? &nbsp;It's not like =
the<br></blockquote></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite">set-object-label operation takes many inputs: just the =
current FH<br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite">(implied, and clearly valid if =
the PUTFH or other such op that set =
it<br></blockquote></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite">succeeded) and the label. &nbsp;EINVAL here can only =
possibly mean that<br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite">there's a problem with the =
label.<br></blockquote></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite">But it could be =
combined with other attributes being set.<br></blockquote><br>Oh, =
because label is an attribute... &nbsp;Right! &nbsp;Well... =
&nbsp;Arguably<br>attributes whose values the server validates ought to =
have separate<br>error indications -- not separate error codes, mind =
you, but an error<br>code per-failed attribute. &nbsp;The current =
SETATTR does that, sort of, by<br>sending a bitmask of attributes that =
were set in the result -- not<br>great in the case of labels, since the =
client can't know if the label<br>was not set because the server doesn't =
do labels or because there was<br>something wrong with the =
label.<br><br>Is that right? &nbsp;If so, do we need a new flavor of =
SETATTR?<br><br>Nico<br>--<br></div></blockquote></div><div><br></div><div=
><br></div><div>=46rom 5661:</div><div><br></div><blockquote =
class=3D"webkit-indent-blockquote" style=3D"margin: 0 0 0 40px; border: =
none; padding: 0px;"><blockquote class=3D"webkit-indent-blockquote" =
style=3D"margin: 0 0 0 40px; border: none; padding: 0px;"><div>5.2. =
&nbsp;RECOMMENDED Attributes</div></blockquote><blockquote =
class=3D"webkit-indent-blockquote" style=3D"margin: 0 0 0 40px; border: =
none; padding: 0px;"><div><br></div></blockquote><blockquote =
class=3D"webkit-indent-blockquote" style=3D"margin: 0 0 0 40px; border: =
none; padding: 0px;"><div>&nbsp;&nbsp; These attributes are understood =
well enough to warrant support in the</div></blockquote><blockquote =
class=3D"webkit-indent-blockquote" style=3D"margin: 0 0 0 40px; border: =
none; padding: 0px;"><div>&nbsp;&nbsp; NFSv4.1 protocol. &nbsp;However, =
they may not be supported on all clients</div></blockquote><blockquote =
class=3D"webkit-indent-blockquote" style=3D"margin: 0 0 0 40px; border: =
none; padding: 0px;"><div>&nbsp;&nbsp; and servers. &nbsp;A client may =
ask for any of these attributes to be</div></blockquote><blockquote =
class=3D"webkit-indent-blockquote" style=3D"margin: 0 0 0 40px; border: =
none; padding: 0px;"><div>&nbsp;&nbsp; returned by setting a bit in the =
GETATTR request but must handle the</div></blockquote><blockquote =
class=3D"webkit-indent-blockquote" style=3D"margin: 0 0 0 40px; border: =
none; padding: 0px;"><div>&nbsp;&nbsp; case where the server does not =
return them. &nbsp;A client MAY ask for =
the</div></blockquote><blockquote class=3D"webkit-indent-blockquote" =
style=3D"margin: 0 0 0 40px; border: none; padding: =
0px;"><div>&nbsp;&nbsp; set of attributes the server supports and SHOULD =
NOT request</div></blockquote><blockquote =
class=3D"webkit-indent-blockquote" style=3D"margin: 0 0 0 40px; border: =
none; padding: 0px;"><div>&nbsp;&nbsp; attributes the server does not =
support. &nbsp;A server should be tolerant</div></blockquote><blockquote =
class=3D"webkit-indent-blockquote" style=3D"margin: 0 0 0 40px; border: =
none; padding: 0px;"><div>&nbsp;&nbsp; of requests for unsupported =
attributes and simply not return them</div></blockquote><blockquote =
class=3D"webkit-indent-blockquote" style=3D"margin: 0 0 0 40px; border: =
none; padding: 0px;"><div>&nbsp;&nbsp; rather than considering the =
request an error. &nbsp;It is expected =
that</div></blockquote><blockquote class=3D"webkit-indent-blockquote" =
style=3D"margin: 0 0 0 40px; border: none; padding: =
0px;"><div>&nbsp;&nbsp; servers will support all attributes they =
comfortably can and only</div></blockquote><blockquote =
class=3D"webkit-indent-blockquote" style=3D"margin: 0 0 0 40px; border: =
none; padding: 0px;"><div>&nbsp;&nbsp; fail to support attributes that =
are difficult to support in their</div></blockquote><blockquote =
class=3D"webkit-indent-blockquote" style=3D"margin: 0 0 0 40px; border: =
none; padding: 0px;"><div>&nbsp;&nbsp; operating environments. &nbsp;A =
server should provide attributes whenever</div></blockquote><blockquote =
class=3D"webkit-indent-blockquote" style=3D"margin: 0 0 0 40px; border: =
none; padding: 0px;"><div>&nbsp;&nbsp; they don't have to "tell lies" to =
the client. &nbsp;For example, a file</div></blockquote><blockquote =
class=3D"webkit-indent-blockquote" style=3D"margin: 0 0 0 40px; border: =
none; padding: 0px;"><div>&nbsp;&nbsp; modification time should be =
either an accurate time or should not be</div></blockquote><blockquote =
class=3D"webkit-indent-blockquote" style=3D"margin: 0 0 0 40px; border: =
none; padding: 0px;"><div>&nbsp;&nbsp; supported by the server. &nbsp;At =
times this will be difficult for</div></blockquote><blockquote =
class=3D"webkit-indent-blockquote" style=3D"margin: 0 0 0 40px; border: =
none; padding: 0px;"><div>&nbsp;&nbsp; clients, but a client is better =
positioned to decide whether and how</div></blockquote><blockquote =
class=3D"webkit-indent-blockquote" style=3D"margin: 0 0 0 40px; border: =
none; padding: 0px;"><div>&nbsp;&nbsp; to fabricate or construct an =
attribute or whether to do without the</div></blockquote><blockquote =
class=3D"webkit-indent-blockquote" style=3D"margin: 0 0 0 40px; border: =
none; padding: 0px;"><div>&nbsp;&nbsp; =
attribute.</div></blockquote></blockquote><div><br></div><div>So if the =
client sets the&nbsp;FATTR4_SEC_LABEL bit in the SETATTR request, then =
if</div><div>the server does not support LNFS, it will return NFS4_OKAY =
and that bit will be off</div><div>in the returned =
bitmask.</div><div><br></div><div>If there was an issue with some =
attribute other than the label, then a partial bitmask</div><div>will be =
returned. It may be the case that the&nbsp;FATTR4_SEC_LABEL bit is set =
or not.</div><div><br></div><div>If there is an issue with it, then it =
will be off in the result bitmask.</div><div><br></div><div>To make =
things easier, we might define that a compound with PUTROOTFH, GETATTR =
{FATTR4_SEC_LABEL}</div><div>always succeeds if the server supports =
LNFS. The specific LFS would be responsible for</div><div>the contents =
of that object =
label.&nbsp;</div><div><br></div><div><br></div><div><br></div></body></ht=
ml>=

--Apple-Mail-45-239899978--

From sfaibish@emc.com  Thu Apr 14 15:00:59 2011
Return-Path: <sfaibish@emc.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 69F15E07AB for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 15:00:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.479
X-Spam-Level: 
X-Spam-Status: No, score=-6.479 tagged_above=-999 required=5 tests=[AWL=0.120,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CQkSL2KEDX5U for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 15:00:58 -0700 (PDT)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by ietfc.amsl.com (Postfix) with ESMTP id D7C7BE0796 for <nfsv4@ietf.org>; Thu, 14 Apr 2011 15:00:56 -0700 (PDT)
Received: from hop04-l1d11-si02.isus.emc.com (HOP04-L1D11-SI02.isus.emc.com [10.254.111.55]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3EM0rZT030409 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 14 Apr 2011 18:00:54 -0400
Received: from mailhub.lss.emc.com (mailhubhoprd04.lss.emc.com [10.254.222.226]) by hop04-l1d11-si02.isus.emc.com (RSA Interceptor); Thu, 14 Apr 2011 18:00:40 -0400
Received: from usensfaibisl2e.eng.emc.com (USENSFAIBISL2E.eng.emc.com [10.238.121.4]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3ELrnUF001763; Thu, 14 Apr 2011 17:53:49 -0400
Date: Thu, 14 Apr 2011 17:53:49 -0400
To: "Thomas Haynes" <thomas@netapp.com>, nfsv4@ietf.org
From: sfaibish <sfaibish@emc.com>
Organization: EMC
Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15
MIME-Version: 1.0
References: <EBF8C6C0-65A5-4469-95B3-32EF6E7ABCC3@netapp.com>
Content-Transfer-Encoding: 8bit
Message-ID: <op.vtx63znjunckof@usensfaibisl2e.eng.emc.com>
In-Reply-To: <EBF8C6C0-65A5-4469-95B3-32EF6E7ABCC3@netapp.com>
User-Agent: Opera Mail/9.10 (Win32)
X-EMM-MHVC: 1
Cc: Kathleen Moriarty <kathleen.moriarty@emc.com>
Subject: Re: [nfsv4] [LNFS] Meeting Minutes 04/14/11
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2011 22:00:59 -0000

On Thu, 14 Apr 2011 15:33:43 -0400, Thomas Haynes <thomas@netapp.com>  
wrote:

> Attendees:
> ---------------
>
> Tom Haynes (NetApp)
> Dave Quigley (davequigley.com)
> Dan Walsh (RedHat)
> Jarrett Lu (Oracle)
> Sorin Faibish (EMC)
> Peter Staubach (EMC)
> Trond Myklebust (NetApp)
> Kathleen Moriarty (EMC)
> David Black (EMC)
> Nico Williams (cryptonector.com)
>
> (Note, the line was choppy at first and it was pretty windy here.
> So if I missed your participation, please send me an email and
> I'll add you to the list.)
>
> Agenda
> -----------
>
> + IETF Note Well Agreement
>
> + Use Cases
>
> Kathleen presented the ITAR and Legal Hold use cases (see
> http://www.ietf.org/mail-archive/web/nfsv4/current/msg09349.html)
>
> The consensus was that the current proposal is sufficient to support
> these use cases.
>
> We had a discussion about what goes in the label? Do we need
> separate ones for Sensitivity and Criticality?
>
> David Q pointed out that the current design allows anything to
> go in the labels.
>
> A major point also was that the security system decides on what
> to use.
>
> Sorin presented the Red Hat use cases (see
> http://www.ietf.org/mail-archive/web/nfsv4/current/msg09347.html).
>
> On list, Trond added another at  
> http://www.ietf.org/mail-archive/web/nfsv4/current/msg09357.html
>
> Again, the consensus was that the proposed implementation
> was sufficient to support these use cases.
>
> A key point is that all we are proposing is a transport mechanism
> to provide labels for the object and then via RPCSEC_GSSv3, the
> subject. The use cases might require more work in the security
> system, but at our level, what we provide will work.
>
> We then discussed the size of the label, i.e. given
>
>       struct sec_label_attr_info = {
>         labelformat_spec4   slai_lfs;
>         opaque              slai_data<>;
>       };
>
> what is the upper limit on slai_data?
>
> We did agree that we do not want a limit imposed at the XDR level.
>
> The limit will be imposed by the LFS being used. The implication
> here is that if a particular implementation specifies a maximum
> size of X, then the client knows it can safely send a label of size
> X to the server.
>
> Nico mentioned that an implementation might not want to
> set a maximum limit. Everyone else disagreed.
>
> A point lost in the conversation was error handling for labels.
> We probably want a specific error to state something was
> wrong with the format of the label. I.e., server says max it
> will store is X, client provides X+1.
>
> + Dependency of LNFS on RPCSEC_GSSv3
>
> We finally discussed whether LNFS could mandate that RPCSEC_GSSv3
> was required or optional.
>
> Nico presented a nice overview of the scenarios:
>
> Smart client, Dumb Server - no need, existing state of most  
> implementations
> Dumb client, Smart Server - no need, rules for the subject are inferred
> Smart client, Smart Server - a requirement. And this is the interesting  
> case we want to develop.
We agreed also that there is no need for an additional document/draft to
extend this case. I also proposed to include some text in the RPCSEC_GSSv3
mentioniong LNFS for this last case. Also if I am not mistaking we agreed
that for the first 2 use of RPCSEC_GSSv2 should be enough and only for the
last case v3 SHOULD be used. I might mis-spelled so Nico please correct me.

>
> Also lost in the conversation was David B's desire to discuss
> how the label for the subject was inferred. Dave Q did
> mention this was discussed in on of the drafts.
>
>
>
>
>
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>



-- 
Best Regards

Sorin Faibish
Corporate Distinguished Engineer
Unified Storage Division
         EMC²
where information lives

Phone: 508-249-5745
Cellphone: 617-510-0422
Email : sfaibish@emc.com

From Trond.Myklebust@netapp.com  Thu Apr 14 15:11:13 2011
Return-Path: <Trond.Myklebust@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 9B638E0688 for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 15:11:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id C9jN6xiKjFTS for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 15:11:12 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id 85469E0860 for <nfsv4@ietf.org>; Thu, 14 Apr 2011 15:11:12 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,213,1301900400"; d="scan'208";a="541468282"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 14 Apr 2011 15:11:11 -0700
Received: from svlrsexc2-prd.hq.netapp.com (svlrsexc2-prd.hq.netapp.com [10.57.115.31]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3EMBBKg003876; Thu, 14 Apr 2011 15:11:11 -0700 (PDT)
Received: from SACMVEXC2-PRD.hq.netapp.com ([10.99.115.17]) by svlrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 14 Apr 2011 15:11:11 -0700
Received: from 10.58.48.92 ([10.58.48.92]) by SACMVEXC2-PRD.hq.netapp.com ([10.99.115.16]) with Microsoft Exchange Server HTTP-DAV ;  Thu, 14 Apr 2011 22:11:10 +0000
Received: from lade.trondhjem.org by SACMVEXC2-PRD.hq.netapp.com; 14 Apr 2011 18:11:10 -0400
From: Trond Myklebust <Trond.Myklebust@netapp.com>
To: Nico Williams <nico@cryptonector.com>
In-Reply-To: <BANLkTi=aGZX3adTJQLf_j5PVPR6Af+=Ppg@mail.gmail.com>
References: <F1E26510-36B6-40AD-9A10-E04C5DBAF388@netapp.com> <op.vtxgd3njrwwil4@sfaibish1.corp.emc.com> <1302805572.24028.28.camel@lade.trondhjem.org> <BANLkTinud7vUmM8+1=waJRmu4A-YCyScog@mail.gmail.com> <BANLkTi=aGZX3adTJQLf_j5PVPR6Af+=Ppg@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Organization: NetApp Inc
Date: Thu, 14 Apr 2011 18:11:10 -0400
Message-ID: <1302819070.24028.122.camel@lade.trondhjem.org>
Mime-Version: 1.0
X-Mailer: Evolution 2.32.2 (2.32.2-1.fc14) 
X-OriginalArrivalTime: 14 Apr 2011 22:11:11.0641 (UTC) FILETIME=[DCF63890:01CBFAF0]
Cc: Kathleen Moriarty <kathleen.moriarty@emc.com>, nfsv4@ietf.org, "dwalsh@redhat.com" <dwalsh@redhat.com>
Subject: Re: [nfsv4] Labeled NFS - agenda bashing for the first meeting
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2011 22:11:13 -0000

On Thu, 2011-04-14 at 14:50 -0500, Nico Williams wrote:
> Also, the fundamental problem with diskless is that the client needs
> to store user/group IDs that the server might not understand.
> Stringified UIDs and GIDs will work when the server is willing to
> store those, but this will work only for POSIX diskless clients (we
> don't have any Windows NFS diskless clients yet, but who knows what
> the future will bring).

I'm expecting most diskless NFSv4 clients to use AUTH_SYS and hence
stringified numerical uids/gids. That's exactly why we clarified that
point in RFC3530bis.

> My vision of NFSv4 diskless clients w/o labeling is as follows:
>=20
>  - on the server you can set an owner client host principal name on
> filesystems owned by that client
>  - the server allows that principal full access to the filesystems it
> owns, except for write access to read-only filesystems (of course)
>  - on the client you store the client host principal name and
> credentials somewhere locally
>  - the client uses RPCSEC_GSSv1 when accessing the filesystems it
> owns, and always with the client host principal as the client
> principal
>  - the client uses ACL-on-create whenever it creates objects on
> filesystems it owns
>  - the client uses stringified UIDs and GIDs when dealing with
> filesystems it owns
>=20
> Labels barely enter that picture, though the server could just map the
> client principal name to a subject label and treat the entire
> filesystem as having the same label, and the server could also enforce
> per-object label policies.  It's just that LNFS is not an enabler for
> diskless.

I didn't say it was an enabler for diskless. I said it is an enabler for
diskless with selinux.

Even if you are running NFS using AUTH_SYS on your local network, a case
can be made for role based access control in order to contain the damage
that can be done by a privileged process which needs to talk to the
outside world through your firewall (e.g. sendmail, ntp, ...) and that
can therefore be subject to attack.

ACLs don't solve that problem nearly as well, because they only work to
allow/disallow access to a file or directory.
Role based security models like selinux and smack go much further in
that you can define a policy that disallows access to specific
operations that your role does not require (e.g. creating a new socket
and/or attaching to a particular port, forking new processes, calling
setuid, ...).

Feel free to envision something different, but the fact that Red Hat and
Fedora have seen enough value to invest in doing  all this work for
disk-based Linux systems seems to me to be a powerful argument for
enabling it for the diskless systems too.

--=20
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@netapp.com
www.netapp.com


From nico@cryptonector.com  Thu Apr 14 15:25:33 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 0CCE8E0721 for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 15:25:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.886
X-Spam-Level: 
X-Spam-Status: No, score=-1.886 tagged_above=-999 required=5 tests=[AWL=0.091,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HuOZ2j8Q+vOr for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 15:25:31 -0700 (PDT)
Received: from homiemail-a26.g.dreamhost.com (caiajhbdcbhh.dreamhost.com [208.97.132.177]) by ietfc.amsl.com (Postfix) with ESMTP id 69BBFE072D for <nfsv4@ietf.org>; Thu, 14 Apr 2011 15:25:31 -0700 (PDT)
Received: from homiemail-a26.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a26.g.dreamhost.com (Postfix) with ESMTP id BEF24B8072 for <nfsv4@ietf.org>; Thu, 14 Apr 2011 15:25:30 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=e0nGRs01yoybRaCAgMM6O2ZoJ9LFGbn5yXvctcE2zumP iIQQDEGpgnnVp6i+SfJ/q9JSzyNLBV5a56Kok7XWsEUVBYL9xMJd/J9e5tNfxDo0 NnngokJztjIZgI0M8PyAR5aqeD2L1lFIRHlOpIZL9QIts4b7KCiqIrJkXx3EdEo=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=1FnLCq0v+9JB9tQnUUI7hdZVoEM=; b=dYeLTshjX7l B7rz9i7uKAkk/EGg3Mc8U43UYKYXGjvdfnuostIpWKaqimmv+Ud7o6eJp17w0hRb xdkmyD/HlTyMmV3q15TxqBqE98p44aHfVbElNosZ9gXQXJxWwJ4TkRGz1zC2Iw1s fG1BaYIkKHW0J91oJXV2XmjJmIMcpaOk=
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a26.g.dreamhost.com (Postfix) with ESMTPSA id 91051B806D for <nfsv4@ietf.org>; Thu, 14 Apr 2011 15:25:30 -0700 (PDT)
Received: by vws12 with SMTP id 12so2127675vws.31 for <nfsv4@ietf.org>; Thu, 14 Apr 2011 15:25:29 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.73.130 with SMTP id l2mr2004312vdv.14.1302819929842; Thu, 14 Apr 2011 15:25:29 -0700 (PDT)
Received: by 10.52.163.228 with HTTP; Thu, 14 Apr 2011 15:25:29 -0700 (PDT)
In-Reply-To: <0EC79E53-5F61-4EE5-A244-041412916AFB@netapp.com>
References: <EBF8C6C0-65A5-4469-95B3-32EF6E7ABCC3@netapp.com> <BANLkTin+vQ+h=3Boap20t4aPp=Oqcf_-Sw@mail.gmail.com> <56E51EDE-713C-44C3-A15E-B02250263DAD@netapp.com> <BANLkTimP0J4JBKO145rV_KEm7d2AWeGMnw@mail.gmail.com> <55BE7650-6D99-4454-8138-8BBE73146770@netapp.com> <BANLkTi=StSZQ+r=+qJgPy7k-566AWAv5VA@mail.gmail.com> <0EC79E53-5F61-4EE5-A244-041412916AFB@netapp.com>
Date: Thu, 14 Apr 2011 17:25:29 -0500
Message-ID: <BANLkTimgsuJvgAwz_ipo2rD-0g_2B7SpQg@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Thomas Haynes <thomas@netapp.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [LNFS] Meeting Minutes 04/14/11
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2011 22:25:33 -0000

On Thu, Apr 14, 2011 at 4:38 PM, Thomas Haynes <thomas@netapp.com> wrote:
> From 5661:
>
>
> So if the client sets the=C2=A0FATTR4_SEC_LABEL bit in the SETATTR reques=
t, then
> if the server does not support LNFS, it will return NFS4_OKAY and that bi=
t will
> be off in the returned bitmask.
> If there was an issue with some attribute other than the label, then a pa=
rtial bitmask
> will be returned. It may be the case that the=C2=A0FATTR4_SEC_LABEL bit i=
s set or not.
> If there is an issue with it, then it will be off in the result bitmask.

And the client can determine if the server supports LNFS by checking
the label attr in supported_attrs?  OK, then we probably don't need a
new error code.  But we might want or need a new error code to use
instead of NFS4ERR_ACCESS for the server to indicate denied by MAC
policy.

Nico
--

From Tom.Haynes@netapp.com  Thu Apr 14 15:51:09 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id A375EE06AC for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 15:51:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.84
X-Spam-Level: 
X-Spam-Status: No, score=-9.84 tagged_above=-999 required=5 tests=[AWL=-0.534,  BAYES_00=-2.599, HTML_MESSAGE=0.001, MISSING_HEADERS=1.292, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RpKadSv5yXbW for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 15:51:09 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id C76F0E06B6 for <nfsv4@ietf.org>; Thu, 14 Apr 2011 15:51:08 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,214,1301900400";  d="scan'208,217";a="541475323"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 14 Apr 2011 15:51:08 -0700
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3EMp77R028457; Thu, 14 Apr 2011 15:51:08 -0700 (PDT)
Received: from rtprsexc2-prd.hq.netapp.com ([10.100.161.115]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 14 Apr 2011 15:51:08 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.112]) by rtprsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 14 Apr 2011 18:51:06 -0400
Received: from maute-lxp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 14 Apr 2011 18:51:05 -0400
From: Thomas Haynes <thomas@netapp.com>
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: multipart/alternative; boundary=Apple-Mail-46-244233779
Date: Thu, 14 Apr 2011 17:51:04 -0500
In-Reply-To: <op.vtx63znjunckof@usensfaibisl2e.eng.emc.com>
References: <EBF8C6C0-65A5-4469-95B3-32EF6E7ABCC3@netapp.com> <op.vtx63znjunckof@usensfaibisl2e.eng.emc.com>
Message-Id: <38067929-7DD2-4E1A-A6D2-D718F23E2B44@netapp.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 14 Apr 2011 22:51:06.0155 (UTC) FILETIME=[70340FB0:01CBFAF6]
Cc: Kathleen Moriarty <kathleen.moriarty@emc.com>, nfsv4@ietf.org
Subject: Re: [nfsv4] [LNFS] Meeting Minutes 04/14/11
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2011 22:51:09 -0000

--Apple-Mail-46-244233779
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


On Apr 14, 2011, at 4:53 PM, sfaibish wrote:

> On Thu, 14 Apr 2011 15:33:43 -0400, Thomas Haynes <thomas@netapp.com> =
wrote:
>>=20
>> A major point also was that the security system decides on what
>> to use.
>>=20
>> Sorin presented the Red Hat use cases (see
>> http://www.ietf.org/mail-archive/web/nfsv4/current/msg09347.html).
>>=20



I did forget that Sorin mentioned the multiple tenancy issue as well. =
I.e., we don't
want Ford and Chevy to rent space somewhere on the cloud and be able to =
spy
on each other's data.=

--Apple-Mail-46-244233779
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><br><div><div>On Apr 14, 2011, at 4:53 PM, sfaibish wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><div>On =
Thu, 14 Apr 2011 15:33:43 -0400, Thomas Haynes &lt;<a =
href=3D"mailto:thomas@netapp.com">thomas@netapp.com</a>&gt; =
wrote:<br><blockquote type=3D"cite"><font class=3D"Apple-style-span" =
color=3D"#144FAE"><br></font></blockquote><blockquote type=3D"cite">A =
major point also was that the security system decides on =
what<br></blockquote><blockquote type=3D"cite">to =
use.<br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite">Sorin presented =
the Red Hat use cases (see<br></blockquote><blockquote type=3D"cite"><a =
href=3D"http://www.ietf.org/mail-archive/web/nfsv4/current/msg09347.html">=
http://www.ietf.org/mail-archive/web/nfsv4/current/msg09347.html</a>).<br>=
</blockquote><blockquote =
type=3D"cite"><br></blockquote></div></blockquote></div><div><br></div><br=
><div>I did forget that Sorin mentioned the multiple tenancy issue as =
well. I.e., we don't</div><div>want Ford and Chevy to rent space =
somewhere on the cloud and be able to spy</div><div>on each other's =
data.</div></body></html>=

--Apple-Mail-46-244233779--

From bfields@fieldses.org  Thu Apr 14 16:14:01 2011
Return-Path: <bfields@fieldses.org>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id ADB49E069C for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 16:14:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V2-S3amCn1Q8 for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 16:13:57 -0700 (PDT)
Received: from fieldses.org (fieldses.org [174.143.236.118]) by ietfc.amsl.com (Postfix) with ESMTP id 1BF1DE0681 for <nfsv4@ietf.org>; Thu, 14 Apr 2011 16:13:57 -0700 (PDT)
Received: from bfields by fieldses.org with local (Exim 4.72) (envelope-from <bfields@fieldses.org>) id 1QAVjX-0001cg-Aj; Thu, 14 Apr 2011 19:13:55 -0400
Date: Thu, 14 Apr 2011 19:13:55 -0400
To: Thomas Haynes <thomas@netapp.com>
Message-ID: <20110414231355.GA6068@fieldses.org>
References: <EBF8C6C0-65A5-4469-95B3-32EF6E7ABCC3@netapp.com> <BANLkTin+vQ+h=3Boap20t4aPp=Oqcf_-Sw@mail.gmail.com> <56E51EDE-713C-44C3-A15E-B02250263DAD@netapp.com> <BANLkTimP0J4JBKO145rV_KEm7d2AWeGMnw@mail.gmail.com> <55BE7650-6D99-4454-8138-8BBE73146770@netapp.com> <BANLkTi=StSZQ+r=+qJgPy7k-566AWAv5VA@mail.gmail.com> <0EC79E53-5F61-4EE5-A244-041412916AFB@netapp.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <0EC79E53-5F61-4EE5-A244-041412916AFB@netapp.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
From: "J. Bruce Fields" <bfields@fieldses.org>
Cc: Nico Williams <nico@cryptonector.com>, nfsv4@ietf.org
Subject: Re: [nfsv4] [LNFS] Meeting Minutes 04/14/11
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2011 23:14:01 -0000

On Thu, Apr 14, 2011 at 04:38:50PM -0500, Thomas Haynes wrote:
> From 5661:
> 
> 5.2.  RECOMMENDED Attributes
> 
>    These attributes are understood well enough to warrant support in the
>    NFSv4.1 protocol.  However, they may not be supported on all clients
>    and servers.  A client may ask for any of these attributes to be
>    returned by setting a bit in the GETATTR request but must handle the
>    case where the server does not return them.  A client MAY ask for the
>    set of attributes the server supports and SHOULD NOT request
>    attributes the server does not support.  A server should be tolerant
>    of requests for unsupported attributes and simply not return them
>    rather than considering the request an error.  It is expected that
>    servers will support all attributes they comfortably can and only
>    fail to support attributes that are difficult to support in their
>    operating environments.  A server should provide attributes whenever
>    they don't have to "tell lies" to the client.  For example, a file
>    modification time should be either an accurate time or should not be
>    supported by the server.  At times this will be difficult for
>    clients, but a client is better positioned to decide whether and how
>    to fabricate or construct an attribute or whether to do without the
>    attribute.
> 
> So if the client sets the FATTR4_SEC_LABEL bit in the SETATTR request, then if
> the server does not support LNFS, it will return NFS4_OKAY and that bit will be off
> in the returned bitmask.

Actually I think that you're correct for GETATTR, but that the part
about the NFS4_OKAY return is not true for SETATTR.  (From the SETATTR
text: "If the server does not support an attribute as requested by the
client, the server SHOULD return NFS4ERR_ATTRNOTSUPP.")

(But that's a nitpick, I don't think it affects the argument.)

--b.

From Tom.Haynes@netapp.com  Thu Apr 14 16:16:44 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id C242EE0734 for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 16:16:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.455
X-Spam-Level: 
X-Spam-Status: No, score=-10.455 tagged_above=-999 required=5 tests=[AWL=0.144, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q2uhNYfE2j2I for <nfsv4@ietfc.amsl.com>; Thu, 14 Apr 2011 16:16:44 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id EF09DE0681 for <nfsv4@ietf.org>; Thu, 14 Apr 2011 16:16:43 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,214,1301900400"; d="scan'208";a="541479060"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 14 Apr 2011 16:16:43 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3ENGhiK014147; Thu, 14 Apr 2011 16:16:43 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 14 Apr 2011 16:16:43 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.112]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 14 Apr 2011 19:16:41 -0400
Received: from ebc05-xp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 14 Apr 2011 19:16:41 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <20110414231355.GA6068@fieldses.org>
Date: Thu, 14 Apr 2011 18:16:39 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <AFC44B75-064B-4621-B9F8-EBB51CAD93FD@netapp.com>
References: <EBF8C6C0-65A5-4469-95B3-32EF6E7ABCC3@netapp.com> <BANLkTin+vQ+h=3Boap20t4aPp=Oqcf_-Sw@mail.gmail.com> <56E51EDE-713C-44C3-A15E-B02250263DAD@netapp.com> <BANLkTimP0J4JBKO145rV_KEm7d2AWeGMnw@mail.gmail.com> <55BE7650-6D99-4454-8138-8BBE73146770@netapp.com> <BANLkTi=StSZQ+r=+qJgPy7k-566AWAv5VA@mail.gmail.com> <0EC79E53-5F61-4EE5-A244-041412916AFB@netapp.com> <20110414231355.GA6068@fieldses.org>
To: "J. Bruce Fields" <bfields@fieldses.org>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 14 Apr 2011 23:16:41.0690 (UTC) FILETIME=[03741BA0:01CBFAFA]
Cc: Nico Williams <nico@cryptonector.com>, nfsv4@ietf.org
Subject: Re: [nfsv4] [LNFS] Meeting Minutes 04/14/11
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2011 23:16:44 -0000

On Apr 14, 2011, at 6:13 PM, J. Bruce Fields wrote:

> On Thu, Apr 14, 2011 at 04:38:50PM -0500, Thomas Haynes wrote:
>> =46rom 5661:
>>=20
>> 5.2.  RECOMMENDED Attributes
>>=20
>>   These attributes are understood well enough to warrant support in =
the
>>   NFSv4.1 protocol.  However, they may not be supported on all =
clients
>>   and servers.  A client may ask for any of these attributes to be
>>   returned by setting a bit in the GETATTR request but must handle =
the
>>   case where the server does not return them.  A client MAY ask for =
the
>>   set of attributes the server supports and SHOULD NOT request
>>   attributes the server does not support.  A server should be =
tolerant
>>   of requests for unsupported attributes and simply not return them
>>   rather than considering the request an error.  It is expected that
>>   servers will support all attributes they comfortably can and only
>>   fail to support attributes that are difficult to support in their
>>   operating environments.  A server should provide attributes =
whenever
>>   they don't have to "tell lies" to the client.  For example, a file
>>   modification time should be either an accurate time or should not =
be
>>   supported by the server.  At times this will be difficult for
>>   clients, but a client is better positioned to decide whether and =
how
>>   to fabricate or construct an attribute or whether to do without the
>>   attribute.
>>=20
>> So if the client sets the FATTR4_SEC_LABEL bit in the SETATTR =
request, then if
>> the server does not support LNFS, it will return NFS4_OKAY and that =
bit will be off
>> in the returned bitmask.
>=20
> Actually I think that you're correct for GETATTR, but that the part
> about the NFS4_OKAY return is not true for SETATTR.  (=46rom the =
SETATTR
> text: "If the server does not support an attribute as requested by the
> client, the server SHOULD return NFS4ERR_ATTRNOTSUPP.")
>=20
> (But that's a nitpick, I don't think it affects the argument.)
>=20
> --b.

Agreed and thanks for pointing this out. It was bugging me a bit when I =
wrote
this, but not enough to track it down fully.=

From Tom.Haynes@netapp.com  Fri Apr 15 07:48:29 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 89ADDE0796 for <nfsv4@ietfc.amsl.com>; Fri, 15 Apr 2011 07:48:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.463
X-Spam-Level: 
X-Spam-Status: No, score=-10.463 tagged_above=-999 required=5 tests=[AWL=0.136, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a4OrNVW3lspK for <nfsv4@ietfc.amsl.com>; Fri, 15 Apr 2011 07:48:29 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id C84DBE06C6 for <nfsv4@ietf.org>; Fri, 15 Apr 2011 07:48:28 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,219,1301900400"; d="scan'208";a="541604059"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 15 Apr 2011 07:48:13 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3FEmCQb024818; Fri, 15 Apr 2011 07:48:13 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 15 Apr 2011 07:48:12 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.112]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 15 Apr 2011 10:48:11 -0400
Received: from ebc05-xp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 15 Apr 2011 10:48:10 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <BANLkTimgsuJvgAwz_ipo2rD-0g_2B7SpQg@mail.gmail.com>
Date: Fri, 15 Apr 2011 09:48:09 -0500
Content-Transfer-Encoding: 7bit
Message-Id: <66FCB745-4A4D-4207-8165-428EF44AE2BB@netapp.com>
References: <EBF8C6C0-65A5-4469-95B3-32EF6E7ABCC3@netapp.com> <BANLkTin+vQ+h=3Boap20t4aPp=Oqcf_-Sw@mail.gmail.com> <56E51EDE-713C-44C3-A15E-B02250263DAD@netapp.com> <BANLkTimP0J4JBKO145rV_KEm7d2AWeGMnw@mail.gmail.com> <55BE7650-6D99-4454-8138-8BBE73146770@netapp.com> <BANLkTi=StSZQ+r=+qJgPy7k-566AWAv5VA@mail.gmail.com> <0EC79E53-5F61-4EE5-A244-041412916AFB@netapp.com> <BANLkTimgsuJvgAwz_ipo2rD-0g_2B7SpQg@mail.gmail.com>
To: Nico Williams <nico@cryptonector.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 15 Apr 2011 14:48:11.0132 (UTC) FILETIME=[24282BC0:01CBFB7C]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [LNFS] Meeting Minutes 04/14/11
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Apr 2011 14:48:29 -0000

On Apr 14, 2011, at 5:25 PM, Nico Williams wrote:

> 
> And the client can determine if the server supports LNFS by checking
> the label attr in supported_attrs?  OK, then we probably don't need a
> new error code.  But we might want or need a new error code to use
> instead of NFS4ERR_ACCESS for the server to indicate denied by MAC
> policy.
> 

Does returning NFS4ERR_ACCESS (for DAC) or NFS4ERR_MAC_ACCESS
(for MAC) provide a confirmation to a malicious client that the object
exists?


From Tom.Haynes@netapp.com  Fri Apr 15 07:54:03 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 5F3F7E0848 for <nfsv4@ietfc.amsl.com>; Fri, 15 Apr 2011 07:54:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.772
X-Spam-Level: 
X-Spam-Status: No, score=-9.772 tagged_above=-999 required=5 tests=[AWL=-0.570, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jyBjYGiYNXT2 for <nfsv4@ietfc.amsl.com>; Fri, 15 Apr 2011 07:54:02 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id DB242E0796 for <nfsv4@ietf.org>; Fri, 15 Apr 2011 07:54:01 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,219,1301900400";  d="scan'208,217";a="541605625"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 15 Apr 2011 07:54:01 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3FEs1xH028246 for <nfsv4@ietf.org>; Fri, 15 Apr 2011 07:54:01 -0700 (PDT)
Received: from rtprsexc2-prd.hq.netapp.com ([10.100.161.115]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 15 Apr 2011 07:54:01 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.112]) by rtprsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 15 Apr 2011 10:54:00 -0400
Received: from ebc05-xp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 15 Apr 2011 10:53:59 -0400
From: Thomas Haynes <thomas@netapp.com>
Content-Type: multipart/alternative; boundary=Apple-Mail-49-302006966
Date: Fri, 15 Apr 2011 09:53:57 -0500
Message-Id: <26D34DF9-0165-46EF-87AC-82E17EA2193D@netapp.com>
To: nfsv4@ietf.org
Mime-Version: 1.0 (Apple Message framework v1084)
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 15 Apr 2011 14:53:59.0304 (UTC) FILETIME=[F3AF0080:01CBFB7C]
Subject: [nfsv4] [lnfs] MAC Security NFS Modes of Operation
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Apr 2011 14:54:03 -0000

--Apple-Mail-49-302006966
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

We seem to have a lot of energy behind discussions about whether we will
support Smart Server Mode (aka dumb client mode) or Smart Client Mode
(aka dumb server model). A variant of this is what we will do with =
NFSv2,
NFSv3. NFSv4.0, NFSv4.1, NFSv4.2 without LNFS, and NFSv4.2 without =
RPCSEC_GSSv3.

While interesting, I think the whole area is one big rat hole we want to
avoid. We are designing a transport mechanism for labels and it is
up to the security system put in place to decide what to do with the
content or the lack thereof.

LNFS provides a transport mechanism to set and get the object label.

RPCSEC_GSSv3 provides a transport mechanism to provide the subject label
to the server from the client.

LNFS Server:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Lets consider the LNFS Server that gets a request from one of the =
following
types of client: NFSv2, NFSv3. NFSv4.0, NFSv4.1, NFSv4.2 without LNFS,
and NFSv4.2 without RPCSEC_GSSv3. As far as that server is concerned,
each of those cases result in selecting a default subject label for that
client. And the decision for that label is entirely the provenance of =
the security
system. It may be based on user, IP, netgroup, phase of the moon, etc. =
The
point is that as the transport mechanism, we don't care.

The other interesting cases here are the wrong LFS identifier and the =
NFSv4.2
without RPCSEC_GSSv3 accessing object labels. The first can either =
result
in a NFS4ERR_WRONG_LFS or the assignment of a default subject label.  =
And
again, that is up to the security system to decide. In the second case, =
if the
security system decides that the applied subject label has MAC =
permissions,
then the request to access/modify/set the object label will proceed and
can flow across the network.

Finally, we consider the sweet spot, the LNFS aware client that is using =
RPCSEC_GSSv3.
It can provide a subject label and process an object label.

LNFS Client:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

A much simpler scenario - the client decides if it wants to use =
RPCSEC_GSSv3 (or
if the server doesn't support it, fall back).  BTW - it cannot make any =
determination
as to whether the server provides LNFS support based on the support for =
RPCSEC_GSSv3.

The client can then determine whether the server supports LNFS or not =
with a simple
compound: PUTROOTFH, GETATTR {FATTR4_SEC_LABEL}.  Based on the error
code set, the client is able to determine:

NFS4_OKAY - the server supports LNFS. Further, by examining the LFS of =
the=20
FATTR4_SEC_LABEL, the client can easily tell if they are in the same =
DOI. BTW:
they can be in a different DOI and the server's security system knows =
how to map
the client's DOI to it's DOI. The client security system will need to =
decide if it can also
do the mapping.

NFS4ERR_NOTSUPP - the server does not support LNFS.

NFS4ERR_WRONG_LFS - the server supports LNFS and has decided the client
is presenting a different DOI than it handles.

NFS4ERR_MAC_ACCESS - the server supports LNFS and has decided the client
does not have a subject label that will grant access.

Once the client has this information, the security system on it can =
decide how to
interact with the server in case it does not support LNFS. I.e., if it =
does not access
object labels, the security system can determine which to apply to an =
object.

Conclusion:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

We will support the infrastructure for all Modes of Operation. We are =
the transport
authority. It is up to the security system to decide what to do when a =
label is
present and what to do when it is not present. We do not create any =
default labels,
it does.



--Apple-Mail-49-302006966
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; "><div>We seem to have a lot of =
energy behind discussions about whether we will</div><div>support Smart =
Server Mode (aka dumb client mode) or Smart Client Mode</div><div>(aka =
dumb server model). A variant of this is what we will do with =
NFSv2,</div><div>NFSv3. NFSv4.0, NFSv4.1, NFSv4.2 without LNFS, and =
NFSv4.2 without RPCSEC_GSSv3.</div><div><br></div><div>While =
interesting, I think the whole area is one big rat hole we want =
to</div><div>avoid. We are designing a transport mechanism for labels =
and it is</div><div>up to the security system put in place to decide =
what to do with the</div><div>content or the lack =
thereof.</div><div><br></div><blockquote =
class=3D"webkit-indent-blockquote" style=3D"margin: 0 0 0 40px; border: =
none; padding: 0px;"><div>LNFS provides a transport mechanism to set and =
get the object label.</div><div><br></div><div>RPCSEC_GSSv3 provides a =
transport mechanism to provide the subject label</div><div>to the server =
from the client.</div></blockquote><div><br></div><div>LNFS =
Server:</div><div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</div><div><br></div><d=
iv>Lets consider the LNFS Server that gets a request from one of the =
following</div><div>types of client:&nbsp;NFSv2,&nbsp;NFSv3. NFSv4.0, =
NFSv4.1, NFSv4.2 without LNFS,</div><div>and NFSv4.2 without =
RPCSEC_GSSv3. As far as that server is concerned,</div><div>each of =
those cases result in selecting a default subject label for =
that</div><div>client. And the decision for that label is entirely the =
provenance of the security</div><div>system. It may be based on user, =
IP, netgroup, phase of the moon, etc. The</div><div>point is that as the =
transport mechanism, we don't care.</div><div><br></div><div>The other =
interesting cases here are the wrong LFS identifier and the =
NFSv4.2</div><div>without RPCSEC_GSSv3 accessing object labels. The =
first can either result</div><div>in a NFS4ERR_WRONG_LFS or the =
assignment of a default subject label. &nbsp;And</div><div>again, that =
is up to the security system to decide. In the second case, if =
the</div><div>security system decides that the applied subject label has =
MAC permissions,</div><div>then the request to access/modify/set the =
object label will proceed and</div><div>can flow across the =
network.</div><div><br></div><div>Finally, we consider the sweet spot, =
the LNFS aware client that is using RPCSEC_GSSv3.</div><div>It can =
provide a subject label and process an object =
label.</div><div><br></div><div>LNFS =
Client:</div><div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</div><div><br></div><d=
iv>A much simpler scenario - the client decides if it wants to use =
RPCSEC_GSSv3 (or</div><div>if the server doesn't support it, fall back). =
&nbsp;BTW - it cannot make any determination</div><div>as to whether the =
server provides LNFS support based on the support for =
RPCSEC_GSSv3.</div><div><br></div><div>The client can then determine =
whether the server supports LNFS or not with a =
simple</div><div>compound:&nbsp;PUTROOTFH, GETATTR {FATTR4_SEC_LABEL}. =
&nbsp;Based on the error</div><div>code set, the client is able to =
determine:</div><div><br></div><div>NFS4_OKAY - the server supports =
LNFS. Further, by examining the LFS of =
the&nbsp;</div><div>FATTR4_SEC_LABEL, the client can easily tell if they =
are in the same DOI. BTW:</div><div>they can be in a different DOI and =
the server's security system knows how to map</div><div>the =
client's&nbsp;DOI to it's DOI. The client security system will need to =
decide if it can also</div><div>do the =
mapping.</div><div><br></div><div>NFS4ERR_NOTSUPP - the server does not =
support LNFS.</div><div><br></div><div>NFS4ERR_WRONG_LFS - the server =
supports LNFS and has decided the client</div><div>is presenting a =
different DOI than it =
handles.</div><div><br></div><div>NFS4ERR_MAC_ACCESS - the server =
supports LNFS and has decided the client</div><div>does not have a =
subject label that will grant access.</div><div><br></div><div>Once the =
client has this information, the security system on it can decide how =
to</div><div>interact with the server in case it does not support LNFS. =
I.e., if it does not access</div><div>object labels, the security system =
can determine which to apply to an =
object.</div><div><br></div><div>Conclusion:</div><div>=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D</div><div><br></div><div>We will support the infrastructure =
for all Modes of Operation. We are the transport</div><div>authority. It =
is up to the security system to decide what to do when a label =
is</div><div>present and what to do when it is not present. We do not =
create any default labels,</div><div>it =
does.</div><div><br></div><div><br></div></body></html>=

--Apple-Mail-49-302006966--

From sfaibish@emc.com  Fri Apr 15 08:10:15 2011
Return-Path: <sfaibish@emc.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 7075BE070B for <nfsv4@ietfc.amsl.com>; Fri, 15 Apr 2011 08:10:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.499
X-Spam-Level: 
X-Spam-Status: No, score=-6.499 tagged_above=-999 required=5 tests=[AWL=0.100,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KDuV5eMOLyu8 for <nfsv4@ietfc.amsl.com>; Fri, 15 Apr 2011 08:10:11 -0700 (PDT)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by ietfc.amsl.com (Postfix) with ESMTP id 47B56E066B for <nfsv4@ietf.org>; Fri, 15 Apr 2011 08:10:11 -0700 (PDT)
Received: from hop04-l1d11-si01.isus.emc.com (HOP04-L1D11-SI01.isus.emc.com [10.254.111.54]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3FFA6tH026899 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 15 Apr 2011 11:10:07 -0400
Received: from mailhub.lss.emc.com (mailhub.lss.emc.com [10.254.222.226]) by hop04-l1d11-si01.isus.emc.com (RSA Interceptor); Fri, 15 Apr 2011 11:10:02 -0400
Received: from usensfaibisl2e.eng.emc.com (USENSFAIBISL2E.eng.emc.com [10.238.121.4]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3FF1trZ017148; Fri, 15 Apr 2011 11:01:55 -0400
Date: Fri, 15 Apr 2011 11:01:55 -0400
To: "Thomas Haynes" <thomas@netapp.com>, "Nico Williams" <nico@cryptonector.com>
From: sfaibish <sfaibish@emc.com>
Organization: EMC
Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15
MIME-Version: 1.0
References: <EBF8C6C0-65A5-4469-95B3-32EF6E7ABCC3@netapp.com> <BANLkTin+vQ+h=3Boap20t4aPp=Oqcf_-Sw@mail.gmail.com> <56E51EDE-713C-44C3-A15E-B02250263DAD@netapp.com> <BANLkTimP0J4JBKO145rV_KEm7d2AWeGMnw@mail.gmail.com> <55BE7650-6D99-4454-8138-8BBE73146770@netapp.com> <BANLkTi=StSZQ+r=+qJgPy7k-566AWAv5VA@mail.gmail.com> <0EC79E53-5F61-4EE5-A244-041412916AFB@netapp.com> <BANLkTimgsuJvgAwz_ipo2rD-0g_2B7SpQg@mail.gmail.com> <66FCB745-4A4D-4207-8165-428EF44AE2BB@netapp.com>
Content-Transfer-Encoding: 8bit
Message-ID: <op.vtziphfbunckof@usensfaibisl2e.eng.emc.com>
In-Reply-To: <66FCB745-4A4D-4207-8165-428EF44AE2BB@netapp.com>
User-Agent: Opera Mail/9.10 (Win32)
X-EMM-MHVC: 1
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [LNFS] Meeting Minutes 04/14/11
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Apr 2011 15:10:15 -0000

On Fri, 15 Apr 2011 10:48:09 -0400, Thomas Haynes <thomas@netapp.com>  
wrote:

>
> On Apr 14, 2011, at 5:25 PM, Nico Williams wrote:
>
>>
>> And the client can determine if the server supports LNFS by checking
>> the label attr in supported_attrs?  OK, then we probably don't need a
>> new error code.  But we might want or need a new error code to use
>> instead of NFS4ERR_ACCESS for the server to indicate denied by MAC
>> policy.
>>
>
> Does returning NFS4ERR_ACCESS (for DAC) or NFS4ERR_MAC_ACCESS
> (for MAC) provide a confirmation to a malicious client that the object
> exists?
Moreover, does it provide confirmation for a malicious user/application
operating on the client? I assume that the client reinforce MAC on behalf
of the user but what if the user try to access directly not via the
client using the credentials?

>
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>



-- 
Best Regards

Sorin Faibish
Corporate Distinguished Engineer
Unified Storage Division
         EMC²
where information lives

Phone: 508-249-5745
Cellphone: 617-510-0422
Email : sfaibish@emc.com

From nico@cryptonector.com  Fri Apr 15 08:36:20 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 1BACFE069F for <nfsv4@ietfc.amsl.com>; Fri, 15 Apr 2011 08:36:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.889
X-Spam-Level: 
X-Spam-Status: No, score=-1.889 tagged_above=-999 required=5 tests=[AWL=0.088,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U20D-8sbdldL for <nfsv4@ietfc.amsl.com>; Fri, 15 Apr 2011 08:36:16 -0700 (PDT)
Received: from homiemail-a64.g.dreamhost.com (caiajhbdcbef.dreamhost.com [208.97.132.145]) by ietfc.amsl.com (Postfix) with ESMTP id E1A5EE070B for <nfsv4@ietf.org>; Fri, 15 Apr 2011 08:36:15 -0700 (PDT)
Received: from homiemail-a64.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a64.g.dreamhost.com (Postfix) with ESMTP id 181B743806C for <nfsv4@ietf.org>; Fri, 15 Apr 2011 08:36:15 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=k+yhDGh3/CYsSx+IvPMMS/bu1H/zfji//obskwPtWTKn Tk44RiqdrNKjnYf96K0TE+BPfc6N2UdarE+pG2APZvLmsGkvgauk3N4/mBmSsi17 HJJfM6iFbqWdL67iaMi2/oeqSEN1gffmNpI+FKAXzG76bbQP2z9VPehFkl88K78=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=S39PVC2K2D+AeRfxrt9cu5LaOaE=; b=Jr5o8T33c5i dSvVRPy0dX0ah4RcG4+URDOVrql9ASDwk5SIZ7AOlhAHT66mp2bBZjk7CV4jMiJs V0b7f2LzOLzTP5jr72RAFPsOD+SDlsb3dxX5Rh9eYlKh5TinlCgYlo4igQSY1h19 Px10lIxqDpiEVs7By6zSPPyVxZ8AHMH8=
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a64.g.dreamhost.com (Postfix) with ESMTPSA id DA7AB438014 for <nfsv4@ietf.org>; Fri, 15 Apr 2011 08:36:14 -0700 (PDT)
Received: by vws12 with SMTP id 12so2740553vws.31 for <nfsv4@ietf.org>; Fri, 15 Apr 2011 08:36:14 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.98.225 with SMTP id el1mr3022766vdb.174.1302881549570; Fri, 15 Apr 2011 08:32:29 -0700 (PDT)
Received: by 10.52.163.228 with HTTP; Fri, 15 Apr 2011 08:32:29 -0700 (PDT)
In-Reply-To: <66FCB745-4A4D-4207-8165-428EF44AE2BB@netapp.com>
References: <EBF8C6C0-65A5-4469-95B3-32EF6E7ABCC3@netapp.com> <BANLkTin+vQ+h=3Boap20t4aPp=Oqcf_-Sw@mail.gmail.com> <56E51EDE-713C-44C3-A15E-B02250263DAD@netapp.com> <BANLkTimP0J4JBKO145rV_KEm7d2AWeGMnw@mail.gmail.com> <55BE7650-6D99-4454-8138-8BBE73146770@netapp.com> <BANLkTi=StSZQ+r=+qJgPy7k-566AWAv5VA@mail.gmail.com> <0EC79E53-5F61-4EE5-A244-041412916AFB@netapp.com> <BANLkTimgsuJvgAwz_ipo2rD-0g_2B7SpQg@mail.gmail.com> <66FCB745-4A4D-4207-8165-428EF44AE2BB@netapp.com>
Date: Fri, 15 Apr 2011 10:32:29 -0500
Message-ID: <BANLkTinzRewU7pmWfwgwBunHdVDiKecSTg@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Thomas Haynes <thomas@netapp.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [LNFS] Meeting Minutes 04/14/11
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Apr 2011 15:36:20 -0000

On Fri, Apr 15, 2011 at 9:48 AM, Thomas Haynes <thomas@netapp.com> wrote:
> On Apr 14, 2011, at 5:25 PM, Nico Williams wrote:
>> And the client can determine if the server supports LNFS by checking
>> the label attr in supported_attrs? =C2=A0OK, then we probably don't need=
 a
>> new error code. =C2=A0But we might want or need a new error code to use
>> instead of NFS4ERR_ACCESS for the server to indicate denied by MAC
>> policy.
>
> Does returning NFS4ERR_ACCESS (for DAC) or NFS4ERR_MAC_ACCESS
> (for MAC) provide a confirmation to a malicious client that the object
> exists?

Yes, but that is only a reason for the server not to return the new
error, not a reason to not define it.  I know, that sounds weird, but
bear with me :)

The principle is that it should be possible to send detailed error
information for debugging purposes, yet also to send minimal error
information outside debugging scenarios.  It should also be possible
to choose to always send detailed error information -- the
convenience/security trade-off needs to be in the hands of the
sysadmin if minimal errors result in extreme inconvenience, though
hopefully extreme inconvenience will not happen.

Nico
--

From nico@cryptonector.com  Fri Apr 15 08:44:30 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id CD5C5E070B for <nfsv4@ietfc.amsl.com>; Fri, 15 Apr 2011 08:44:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.891
X-Spam-Level: 
X-Spam-Status: No, score=-1.891 tagged_above=-999 required=5 tests=[AWL=0.086,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pIqYcZq9Wy3Z for <nfsv4@ietfc.amsl.com>; Fri, 15 Apr 2011 08:44:26 -0700 (PDT)
Received: from homiemail-a74.g.dreamhost.com (caiajhbdcahe.dreamhost.com [208.97.132.74]) by ietfc.amsl.com (Postfix) with ESMTP id 8A69DE069F for <nfsv4@ietf.org>; Fri, 15 Apr 2011 08:44:26 -0700 (PDT)
Received: from homiemail-a74.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a74.g.dreamhost.com (Postfix) with ESMTP id C4BDF67C06E for <nfsv4@ietf.org>; Fri, 15 Apr 2011 08:44:25 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=XFnx0ddCloEAK6HcIAN71 t2uBT8cCx5cZNye+YSIylpvngPm6CaNLKdmjH9KaJ8/K+aROQRiuUJNUg2sjwb4L gshuLv9NtbTLFCwDooL06QeiTRdaUM2MmP+Rme2EZcyzfwbColpk578QhCnp68+k 7XVWb2Q3b80/YscOh82luA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=cJcONCsjFYXXNdruapkN mi20qxs=; b=KY+7yfu3sErhjIn0O4aqnGhmkyVFJuUr6AGKsuI+FpoQTE2iDv33 zE7HDS2HGHh2txCwjrVSIBKgSdSy3mrOOprXr2Q+ru/mhZkzqUGQkYzp5u+azihz 08Hf2ePm0Uzda0Gyptu09WAFioLvluv6tn4nk+P8YIlhl4eS9D2FIVA=
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a74.g.dreamhost.com (Postfix) with ESMTPSA id A1D3767C069 for <nfsv4@ietf.org>; Fri, 15 Apr 2011 08:44:25 -0700 (PDT)
Received: by vws12 with SMTP id 12so2747932vws.31 for <nfsv4@ietf.org>; Fri, 15 Apr 2011 08:44:24 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.98.40 with SMTP id ef8mr872899vdb.54.1302882264594; Fri, 15 Apr 2011 08:44:24 -0700 (PDT)
Received: by 10.52.163.228 with HTTP; Fri, 15 Apr 2011 08:44:24 -0700 (PDT)
In-Reply-To: <op.vtziphfbunckof@usensfaibisl2e.eng.emc.com>
References: <EBF8C6C0-65A5-4469-95B3-32EF6E7ABCC3@netapp.com> <BANLkTin+vQ+h=3Boap20t4aPp=Oqcf_-Sw@mail.gmail.com> <56E51EDE-713C-44C3-A15E-B02250263DAD@netapp.com> <BANLkTimP0J4JBKO145rV_KEm7d2AWeGMnw@mail.gmail.com> <55BE7650-6D99-4454-8138-8BBE73146770@netapp.com> <BANLkTi=StSZQ+r=+qJgPy7k-566AWAv5VA@mail.gmail.com> <0EC79E53-5F61-4EE5-A244-041412916AFB@netapp.com> <BANLkTimgsuJvgAwz_ipo2rD-0g_2B7SpQg@mail.gmail.com> <66FCB745-4A4D-4207-8165-428EF44AE2BB@netapp.com> <op.vtziphfbunckof@usensfaibisl2e.eng.emc.com>
Date: Fri, 15 Apr 2011 10:44:24 -0500
Message-ID: <BANLkTi=yb0nktD3rTXn3RnF272H-pTasbQ@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: sfaibish <sfaibish@emc.com>
Content-Type: text/plain; charset=UTF-8
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [LNFS] Meeting Minutes 04/14/11
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Apr 2011 15:44:31 -0000

On Fri, Apr 15, 2011 at 10:01 AM, sfaibish <sfaibish@emc.com> wrote:
> On Fri, 15 Apr 2011 10:48:09 -0400, Thomas Haynes <thomas@netapp.com> wrote:
>> Does returning NFS4ERR_ACCESS (for DAC) or NFS4ERR_MAC_ACCESS
>> (for MAC) provide a confirmation to a malicious client that the object
>> exists?
>
> Moreover, does it provide confirmation for a malicious user/application
> operating on the client? I assume that the client reinforce MAC on behalf
> of the user but what if the user try to access directly not via the
> client using the credentials?

The user should have no "direct" access -- only access via systems
that enforce MAC.

In a smart client / dumb server environment, security will depend on
the network (either physical security or using IPsec), which is the
great weakness of the smart client / dumb server combo.  If network
security is not airtight then the user might be able to side-step MAC,
but a NFS4ERR_MAC_ACCESS error code isn't going to help them do that
-- they'll side-step MAC whether they get a detailed error or not.

Similarly for a dumb client / smart server environment.

As for a smart client / smart server environment, the user should not
be able to skip MAC without compromising the client.  How, then, does
a NFS4ERR_MAC_ACCESS error code help the user attack the system?  For
that matter, how does a NFS4ERR_MAC_ACCESS error code help a
compromised smart client attack the a smart server?  A malicious smart
client should just be able to assert whichever label will get it
access that the server will accept (and the server will impose
restrictions on what labels a given {client host principal, user
principal} can assert) -- distinguishing between a DAC and MAC form of
EACCES will at most speed up the client's search for an appropriate
label to assert, and since the client will know that this is a MAC
environment, and will be able to locally evaluate DAC (i.e., read
objects' ACLs), it really gets no information from distinguishing the
two possible access failures.

Quite aside from that, see my reply to Tom.  We should allow for
detailed error codes even if production servers wouldn't use them,
because they can help debug problems.

Nico
--

From david.black@emc.com  Fri Apr 15 08:51:52 2011
Return-Path: <david.black@emc.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 06E2913000D for <nfsv4@ietfc.amsl.com>; Fri, 15 Apr 2011 08:51:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.599
X-Spam-Level: 
X-Spam-Status: No, score=-106.599 tagged_above=-999 required=5 tests=[AWL=-0.001, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pzy1wwSeTozX for <nfsv4@ietfc.amsl.com>; Fri, 15 Apr 2011 08:51:45 -0700 (PDT)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by ietfc.amsl.com (Postfix) with ESMTP id 521B9E08DC for <nfsv4@ietf.org>; Fri, 15 Apr 2011 08:51:43 -0700 (PDT)
Received: from hop04-l1d11-si04.isus.emc.com (HOP04-L1D11-SI04.isus.emc.com [10.254.111.24]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3FFpgw0006154 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 15 Apr 2011 11:51:42 -0400
Received: from mailhub.lss.emc.com (mailhub.lss.emc.com [10.254.221.251]) by hop04-l1d11-si04.isus.emc.com (RSA Interceptor); Fri, 15 Apr 2011 11:51:37 -0400
Received: from mxhub07.corp.emc.com (mxhub07.corp.emc.com [128.221.46.115]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3FFov9C019434; Fri, 15 Apr 2011 11:50:57 -0400
Received: from mx14a.corp.emc.com ([169.254.1.209]) by mxhub07.corp.emc.com ([128.221.46.115]) with mapi; Fri, 15 Apr 2011 11:50:57 -0400
From: <david.black@emc.com>
To: <thomas@netapp.com>, <nfsv4@ietf.org>
Date: Fri, 15 Apr 2011 11:50:56 -0400
Thread-Topic: [nfsv4] [lnfs] MAC Security NFS Modes of Operation
Thread-Index: Acv7fmPVLu8UAFHOTre8TS3JLycFJwABBTeA
Message-ID: <7C4DFCE962635144B8FAE8CA11D0BF1E041721E119@MX14A.corp.emc.com>
References: <26D34DF9-0165-46EF-87AC-82E17EA2193D@netapp.com>
In-Reply-To: <26D34DF9-0165-46EF-87AC-82E17EA2193D@netapp.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_7C4DFCE962635144B8FAE8CA11D0BF1E041721E119MX14Acorpemcc_"
MIME-Version: 1.0
X-EMM-MHVC: 1
Subject: Re: [nfsv4] [lnfs] MAC Security NFS Modes of Operation
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Apr 2011 15:51:52 -0000

--_000_7C4DFCE962635144B8FAE8CA11D0BF1E041721E119MX14Acorpemcc_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Tom,

I have one additional piece of functionality to suggest.

> The other interesting cases here are the wrong LFS identifier and the NFS=
v4.2
> without RPCSEC_GSSv3 accessing object labels. The first can either result
> in a NFS4ERR_WRONG_LFS or the assignment of a default subject label.  And
> again, that is up to the security system to decide. In the second case, i=
f the
> security system decides that the applied subject label has MAC permission=
s,
> then the request to access/modify/set the object label will proceed and
> can flow across the network.

I think we can do better for the NFSv4.2 without RPCSEC_GSSv3 case.  I'll s=
tart by agreeing that for NFSv4.2, RPCSEC_GSSv3 adds significant functional=
ity.  My interest is in Smart Client + Smart Server for a s there's no RPCS=
EC_GSSv3 support.  In that scenario, I think we can provide a useful assist=
 to the server's selection of the subject label for the client.

In this case, the Smart Client has a single label and knows what that label=
 is (in contrast to dumb clients for which the only possible approach is su=
bject label assignment by the server w/o client awareness).  The ability fo=
r a Smart Client to communicate its subject label to the server allows the =
server to check that both the client is using an appropriate subject label =
(if not, something is wrong, and the server may need to refuse access to th=
e client).  This sort of cross-check can be very useful in practice to catc=
h misconfiguration issues before they do actual damage.

Thanks,
--David

From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On Behalf Of T=
homas Haynes
Sent: Friday, April 15, 2011 10:54 AM
To: nfsv4@ietf.org
Subject: [nfsv4] [lnfs] MAC Security NFS Modes of Operation

We seem to have a lot of energy behind discussions about whether we will
support Smart Server Mode (aka dumb client mode) or Smart Client Mode
(aka dumb server model). A variant of this is what we will do with NFSv2,
NFSv3. NFSv4.0, NFSv4.1, NFSv4.2 without LNFS, and NFSv4.2 without RPCSEC_G=
SSv3.

While interesting, I think the whole area is one big rat hole we want to
avoid. We are designing a transport mechanism for labels and it is
up to the security system put in place to decide what to do with the
content or the lack thereof.

LNFS provides a transport mechanism to set and get the object label.

RPCSEC_GSSv3 provides a transport mechanism to provide the subject label
to the server from the client.

LNFS Server:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Lets consider the LNFS Server that gets a request from one of the following
types of client: NFSv2, NFSv3. NFSv4.0, NFSv4.1, NFSv4.2 without LNFS,
and NFSv4.2 without RPCSEC_GSSv3. As far as that server is concerned,
each of those cases result in selecting a default subject label for that
client. And the decision for that label is entirely the provenance of the s=
ecurity
system. It may be based on user, IP, netgroup, phase of the moon, etc. The
point is that as the transport mechanism, we don't care.

The other interesting cases here are the wrong LFS identifier and the NFSv4=
.2
without RPCSEC_GSSv3 accessing object labels. The first can either result
in a NFS4ERR_WRONG_LFS or the assignment of a default subject label.  And
again, that is up to the security system to decide. In the second case, if =
the
security system decides that the applied subject label has MAC permissions,
then the request to access/modify/set the object label will proceed and
can flow across the network.

Finally, we consider the sweet spot, the LNFS aware client that is using RP=
CSEC_GSSv3.
It can provide a subject label and process an object label.

LNFS Client:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

A much simpler scenario - the client decides if it wants to use RPCSEC_GSSv=
3 (or
if the server doesn't support it, fall back).  BTW - it cannot make any det=
ermination
as to whether the server provides LNFS support based on the support for RPC=
SEC_GSSv3.

The client can then determine whether the server supports LNFS or not with =
a simple
compound: PUTROOTFH, GETATTR {FATTR4_SEC_LABEL}.  Based on the error
code set, the client is able to determine:

NFS4_OKAY - the server supports LNFS. Further, by examining the LFS of the
FATTR4_SEC_LABEL, the client can easily tell if they are in the same DOI. B=
TW:
they can be in a different DOI and the server's security system knows how t=
o map
the client's DOI to it's DOI. The client security system will need to decid=
e if it can also
do the mapping.

NFS4ERR_NOTSUPP - the server does not support LNFS.

NFS4ERR_WRONG_LFS - the server supports LNFS and has decided the client
is presenting a different DOI than it handles.

NFS4ERR_MAC_ACCESS - the server supports LNFS and has decided the client
does not have a subject label that will grant access.

Once the client has this information, the security system on it can decide =
how to
interact with the server in case it does not support LNFS. I.e., if it does=
 not access
object labels, the security system can determine which to apply to an objec=
t.

Conclusion:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

We will support the infrastructure for all Modes of Operation. We are the t=
ransport
authority. It is up to the security system to decide what to do when a labe=
l is
present and what to do when it is not present. We do not create any default=
 labels,
it does.



--_000_7C4DFCE962635144B8FAE8CA11D0BF1E041721E119MX14Acorpemcc_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40"><head><meta http-equiv=3DContent-Type content=
=3D"text/html; charset=3Dus-ascii"><meta name=3DGenerator content=3D"Micros=
oft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Courier New";
	color:black;
	font-weight:normal;
	font-style:normal;
	text-decoration:none none;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue vli=
nk=3Dpurple style=3D'word-wrap: break-word;-webkit-nbsp-mode: space;-webkit=
-line-break: after-white-space'><div class=3DWordSection1><p class=3DMsoNor=
mal><span style=3D'font-size:10.0pt;font-family:"Courier New";color:black'>=
Tom,<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.=
0pt;font-family:"Courier New";color:black'><o:p>&nbsp;</o:p></span></p><p c=
lass=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier New";=
color:black'>I have one additional piece of functionality to suggest.<o:p><=
/o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-f=
amily:"Courier New";color:black'><o:p>&nbsp;</o:p></span></p><p class=3DMso=
Normal>&gt; The other interesting cases here are the wrong LFS identifier a=
nd the NFSv4.2<o:p></o:p></p><p class=3DMsoNormal>&gt; without RPCSEC_GSSv3=
 accessing object labels. The first can either result<o:p></o:p></p><p clas=
s=3DMsoNormal>&gt; in a NFS4ERR_WRONG_LFS or the assignment of a default su=
bject label. &nbsp;And<o:p></o:p></p><p class=3DMsoNormal>&gt; again, that =
is up to the security system to decide. In the second case, if the<o:p></o:=
p></p><p class=3DMsoNormal>&gt; security system decides that the applied su=
bject label has MAC permissions,<o:p></o:p></p><p class=3DMsoNormal>&gt; th=
en the request to access/modify/set the object label will proceed and<o:p><=
/o:p></p><p class=3DMsoNormal>&gt; can flow across the network.<o:p></o:p><=
/p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courie=
r New";color:black'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Courier New";color:black'>I think we=
 can do better for the NFSv4.2 without RPCSEC_GSSv3 case.&nbsp; I&#8217;ll =
start by agreeing that for NFSv4.2, RPCSEC_GSSv3 adds significant functiona=
lity.&nbsp; My interest is in Smart Client + Smart Server for a s there&#82=
17;s no RPCSEC_GSSv3 support.&nbsp; In that scenario, I think we can provid=
e a useful assist to the server&#8217;s selection of the subject label for =
the client.<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-s=
ize:10.0pt;font-family:"Courier New";color:black'><o:p>&nbsp;</o:p></span><=
/p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courie=
r New";color:black'>In this case, the Smart Client has a single label and k=
nows what that label is (in contrast to dumb clients for which the only pos=
sible approach is subject label assignment by the server w/o client awarene=
ss).&nbsp; The ability for a Smart Client to communicate its subject label =
to the server allows the server to check that both the client is using an a=
ppropriate subject label (if not, something is wrong, and the server may ne=
ed to refuse access to the client).&nbsp; This sort of cross-check can be v=
ery useful in practice to catch misconfiguration issues before they do actu=
al damage.<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-si=
ze:10.0pt;font-family:"Courier New";color:black'><o:p>&nbsp;</o:p></span></=
p><div><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Co=
urier New";color:black'>Thanks,<br>--David</span><span style=3D'font-size:1=
1.0pt;font-family:"Courier New";color:black'><o:p></o:p></span></p></div><p=
 class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier New=
";color:black'><o:p>&nbsp;</o:p></span></p><div style=3D'border:none;border=
-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'><div><div style=3D'border=
:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=3D=
MsoNormal><b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-ser=
if"'>From:</span></b><span style=3D'font-size:10.0pt;font-family:"Tahoma","=
sans-serif"'> nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] <b>On =
Behalf Of </b>Thomas Haynes<br><b>Sent:</b> Friday, April 15, 2011 10:54 AM=
<br><b>To:</b> nfsv4@ietf.org<br><b>Subject:</b> [nfsv4] [lnfs] MAC Securit=
y NFS Modes of Operation<o:p></o:p></span></p></div></div><p class=3DMsoNor=
mal><o:p>&nbsp;</o:p></p><div><p class=3DMsoNormal>We seem to have a lot of=
 energy behind discussions about whether we will<o:p></o:p></p></div><div><=
p class=3DMsoNormal>support Smart Server Mode (aka dumb client mode) or Sma=
rt Client Mode<o:p></o:p></p></div><div><p class=3DMsoNormal>(aka dumb serv=
er model). A variant of this is what we will do with NFSv2,<o:p></o:p></p><=
/div><div><p class=3DMsoNormal>NFSv3. NFSv4.0, NFSv4.1, NFSv4.2 without LNF=
S, and NFSv4.2 without RPCSEC_GSSv3.<o:p></o:p></p></div><div><p class=3DMs=
oNormal><o:p>&nbsp;</o:p></p></div><div><p class=3DMsoNormal>While interest=
ing, I think the whole area is one big rat hole we want to<o:p></o:p></p></=
div><div><p class=3DMsoNormal>avoid. We are designing a transport mechanism=
 for labels and it is<o:p></o:p></p></div><div><p class=3DMsoNormal>up to t=
he security system put in place to decide what to do with the<o:p></o:p></p=
></div><div><p class=3DMsoNormal>content or the lack thereof.<o:p></o:p></p=
></div><div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><blockquote sty=
le=3D'margin-left:30.0pt;margin-right:0in'><div><p class=3DMsoNormal>LNFS p=
rovides a transport mechanism to set and get the object label.<o:p></o:p></=
p></div><div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=
=3DMsoNormal>RPCSEC_GSSv3 provides a transport mechanism to provide the sub=
ject label<o:p></o:p></p></div><div><p class=3DMsoNormal>to the server from=
 the client.<o:p></o:p></p></div></blockquote><div><p class=3DMsoNormal><o:=
p>&nbsp;</o:p></p></div><div><p class=3DMsoNormal>LNFS Server:<o:p></o:p></=
p></div><div><p class=3DMsoNormal>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<o:p></o=
:p></p></div><div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p c=
lass=3DMsoNormal>Lets consider the LNFS Server that gets a request from one=
 of the following<o:p></o:p></p></div><div><p class=3DMsoNormal>types of cl=
ient:&nbsp;NFSv2,&nbsp;NFSv3. NFSv4.0, NFSv4.1, NFSv4.2 without LNFS,<o:p><=
/o:p></p></div><div><p class=3DMsoNormal>and NFSv4.2 without RPCSEC_GSSv3. =
As far as that server is concerned,<o:p></o:p></p></div><div><p class=3DMso=
Normal>each of those cases result in selecting a default subject label for =
that<o:p></o:p></p></div><div><p class=3DMsoNormal>client. And the decision=
 for that label is entirely the provenance of the security<o:p></o:p></p></=
div><div><p class=3DMsoNormal>system. It may be based on user, IP, netgroup=
, phase of the moon, etc. The<o:p></o:p></p></div><div><p class=3DMsoNormal=
>point is that as the transport mechanism, we don't care.<o:p></o:p></p></d=
iv><div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=3DMso=
Normal>The other interesting cases here are the wrong LFS identifier and th=
e NFSv4.2<o:p></o:p></p></div><div><p class=3DMsoNormal>without RPCSEC_GSSv=
3 accessing object labels. The first can either result<o:p></o:p></p></div>=
<div><p class=3DMsoNormal>in a NFS4ERR_WRONG_LFS or the assignment of a def=
ault subject label. &nbsp;And<o:p></o:p></p></div><div><p class=3DMsoNormal=
>again, that is up to the security system to decide. In the second case, if=
 the<o:p></o:p></p></div><div><p class=3DMsoNormal>security system decides =
that the applied subject label has MAC permissions,<o:p></o:p></p></div><di=
v><p class=3DMsoNormal>then the request to access/modify/set the object lab=
el will proceed and<o:p></o:p></p></div><div><p class=3DMsoNormal>can flow =
across the network.<o:p></o:p></p></div><div><p class=3DMsoNormal><o:p>&nbs=
p;</o:p></p></div><div><p class=3DMsoNormal>Finally, we consider the sweet =
spot, the LNFS aware client that is using RPCSEC_GSSv3.<o:p></o:p></p></div=
><div><p class=3DMsoNormal>It can provide a subject label and process an ob=
ject label.<o:p></o:p></p></div><div><p class=3DMsoNormal><o:p>&nbsp;</o:p>=
</p></div><div><p class=3DMsoNormal>LNFS Client:<o:p></o:p></p></div><div><=
p class=3DMsoNormal>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<o:p></o:p></p></div><=
div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=3DMsoNorm=
al>A much simpler scenario - the client decides if it wants to use RPCSEC_G=
SSv3 (or<o:p></o:p></p></div><div><p class=3DMsoNormal>if the server doesn'=
t support it, fall back). &nbsp;BTW - it cannot make any determination<o:p>=
</o:p></p></div><div><p class=3DMsoNormal>as to whether the server provides=
 LNFS support based on the support for RPCSEC_GSSv3.<o:p></o:p></p></div><d=
iv><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=3DMsoNorma=
l>The client can then determine whether the server supports LNFS or not wit=
h a simple<o:p></o:p></p></div><div><p class=3DMsoNormal>compound:&nbsp;PUT=
ROOTFH, GETATTR {FATTR4_SEC_LABEL}. &nbsp;Based on the error<o:p></o:p></p>=
</div><div><p class=3DMsoNormal>code set, the client is able to determine:<=
o:p></o:p></p></div><div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><d=
iv><p class=3DMsoNormal>NFS4_OKAY - the server supports LNFS. Further, by e=
xamining the LFS of the&nbsp;<o:p></o:p></p></div><div><p class=3DMsoNormal=
>FATTR4_SEC_LABEL, the client can easily tell if they are in the same DOI. =
BTW:<o:p></o:p></p></div><div><p class=3DMsoNormal>they can be in a differe=
nt DOI and the server's security system knows how to map<o:p></o:p></p></di=
v><div><p class=3DMsoNormal>the client's&nbsp;DOI to it's DOI. The client s=
ecurity system will need to decide if it can also<o:p></o:p></p></div><div>=
<p class=3DMsoNormal>do the mapping.<o:p></o:p></p></div><div><p class=3DMs=
oNormal><o:p>&nbsp;</o:p></p></div><div><p class=3DMsoNormal>NFS4ERR_NOTSUP=
P - the server does not support LNFS.<o:p></o:p></p></div><div><p class=3DM=
soNormal><o:p>&nbsp;</o:p></p></div><div><p class=3DMsoNormal>NFS4ERR_WRONG=
_LFS - the server supports LNFS and has decided the client<o:p></o:p></p></=
div><div><p class=3DMsoNormal>is presenting a different DOI than it handles=
.<o:p></o:p></p></div><div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div>=
<div><p class=3DMsoNormal>NFS4ERR_MAC_ACCESS - the server supports LNFS and=
 has decided the client<o:p></o:p></p></div><div><p class=3DMsoNormal>does =
not have a subject label that will grant access.<o:p></o:p></p></div><div><=
p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=3DMsoNormal>On=
ce the client has this information, the security system on it can decide ho=
w to<o:p></o:p></p></div><div><p class=3DMsoNormal>interact with the server=
 in case it does not support LNFS. I.e., if it does not access<o:p></o:p></=
p></div><div><p class=3DMsoNormal>object labels, the security system can de=
termine which to apply to an object.<o:p></o:p></p></div><div><p class=3DMs=
oNormal><o:p>&nbsp;</o:p></p></div><div><p class=3DMsoNormal>Conclusion:<o:=
p></o:p></p></div><div><p class=3DMsoNormal>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<=
o:p></o:p></p></div><div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><d=
iv><p class=3DMsoNormal>We will support the infrastructure for all Modes of=
 Operation. We are the transport<o:p></o:p></p></div><div><p class=3DMsoNor=
mal>authority. It is up to the security system to decide what to do when a =
label is<o:p></o:p></p></div><div><p class=3DMsoNormal>present and what to =
do when it is not present. We do not create any default labels,<o:p></o:p><=
/p></div><div><p class=3DMsoNormal>it does.<o:p></o:p></p></div><div><p cla=
ss=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=3DMsoNormal><o:p>&n=
bsp;</o:p></p></div></div></div></body></html>=

--_000_7C4DFCE962635144B8FAE8CA11D0BF1E041721E119MX14Acorpemcc_--

From nico@cryptonector.com  Fri Apr 15 09:20:27 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 93AAB13000A for <nfsv4@ietfc.amsl.com>; Fri, 15 Apr 2011 09:20:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.894
X-Spam-Level: 
X-Spam-Status: No, score=-1.894 tagged_above=-999 required=5 tests=[AWL=0.083,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NRVEErg9On53 for <nfsv4@ietfc.amsl.com>; Fri, 15 Apr 2011 09:20:23 -0700 (PDT)
Received: from homiemail-a70.g.dreamhost.com (caiajhbdcbhh.dreamhost.com [208.97.132.177]) by ietfc.amsl.com (Postfix) with ESMTP id 52B8BE0699 for <nfsv4@ietf.org>; Fri, 15 Apr 2011 09:20:23 -0700 (PDT)
Received: from homiemail-a70.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a70.g.dreamhost.com (Postfix) with ESMTP id 80A5976805C for <nfsv4@ietf.org>; Fri, 15 Apr 2011 09:20:22 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=QrQtpe5EIm8Pbv43o8Fj4ZZxStBR6eGl0BcTyFUrcEjK CFqRqDug5Xvwcx4m9Sr2MYxP43vsbe1u0sHWiiV1VXSUFGTaN5oL7H854Rkn7FOC BII7jkcbzXz7ekOnoHmDEmXiAC0X5EZIq2UlvIGA/d3weLnn27t3IQSutfAEJeA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=tMlAV8sv++Ra7tbOiRMqbIBkq/Q=; b=gV66Bl6LFpE zaQHrtyVq3YI96CoYKhHhyfOVFwZCIDlg1gOA8LKSE/VrnBVZZ7nrAwe6Yu2suel pq4yI48u1Xg1Q+2VZgNxkLvioXMQN4ZD6S7NukEkbS2E4P+CJn+vdV/0XlICWleT T0E4tYLJBUm7mgVvqrBVF7wz7DMCXE5s=
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a70.g.dreamhost.com (Postfix) with ESMTPSA id 5D540768057 for <nfsv4@ietf.org>; Fri, 15 Apr 2011 09:20:22 -0700 (PDT)
Received: by vxg33 with SMTP id 33so2761504vxg.31 for <nfsv4@ietf.org>; Fri, 15 Apr 2011 09:20:21 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.110.135 with SMTP id ia7mr925416vdb.294.1302884421791; Fri, 15 Apr 2011 09:20:21 -0700 (PDT)
Received: by 10.52.163.228 with HTTP; Fri, 15 Apr 2011 09:20:21 -0700 (PDT)
In-Reply-To: <7C4DFCE962635144B8FAE8CA11D0BF1E041721E119@MX14A.corp.emc.com>
References: <26D34DF9-0165-46EF-87AC-82E17EA2193D@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E041721E119@MX14A.corp.emc.com>
Date: Fri, 15 Apr 2011 11:20:21 -0500
Message-ID: <BANLkTinLJDA2zk7gyPM2hgNT05ti64LVxg@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: david.black@emc.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [lnfs] MAC Security NFS Modes of Operation
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Apr 2011 16:20:27 -0000

On Fri, Apr 15, 2011 at 10:50 AM,  <david.black@emc.com> wrote:
> I think we can do better for the NFSv4.2 without RPCSEC_GSSv3 case.=C2=A0=
 I=E2=80=99ll
> start by agreeing that for NFSv4.2, RPCSEC_GSSv3 adds significant
> functionality.=C2=A0 My interest is in Smart Client + Smart Server for a =
s
> there=E2=80=99s no RPCSEC_GSSv3 support.=C2=A0 In that scenario, I think =
we can provide a
> useful assist to the server=E2=80=99s selection of the subject label for =
the client.
>
> In this case, the Smart Client has a single label and knows what that lab=
el
> is (in contrast to dumb clients for which the only possible approach is
> subject label assignment by the server w/o client awareness).=C2=A0 The a=
bility

I don't see what the smart client really gets from knowing that the
server _probably_ thinks the client's operating at some label that the
client knows...

> for a Smart Client to communicate its subject label to the server allows =
the
> server to check that both the client is using an appropriate subject labe=
l
> (if not, something is wrong, and the server may need to refuse access to =
the
> client).=C2=A0 This sort of cross-check can be very useful in practice to=
 catch
> misconfiguration issues before they do actual damage.

RPCSEC_GSSv3 allows the client to assert a label while also doing
compound authentication, which then allows the server to decide
whether to allow that label or pick a more appropriate one for the
{client host principal, user principal} combined entity.  The server
should do that by looking up label ranges/sets for the client host and
user principals, then intersecting them, then checking if the asserted
label falls within that intersection.

That's what RPCSEC_GSSv3 buys us here.  Without it we have various
issues, and serious limits to what a smart client and server could do,
even if we had an operation to set the subject label early in a
compound RPC.  At best we could use IPsec to authenticate the client
and RPCSEC_GSSv1/2 to authenticate the user, and pretend that's good
enough combined authentication, but in terms of implementation, that's
a lot of work to get right, and even to get it wrong it's non-trivial.

In other words, I don't really see much, if any, benefit to a smart
client / smart server / no RPCSEC_GSSv3 combination over dumb client /
smart server.

Nico
--

From Tom.Haynes@netapp.com  Fri Apr 15 10:15:56 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 73EC3130067 for <nfsv4@ietfc.amsl.com>; Fri, 15 Apr 2011 10:15:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.441
X-Spam-Level: 
X-Spam-Status: No, score=-10.441 tagged_above=-999 required=5 tests=[AWL=0.157, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PLyDYJquP4K9 for <nfsv4@ietfc.amsl.com>; Fri, 15 Apr 2011 10:15:55 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id 4143F13002E for <nfsv4@ietf.org>; Fri, 15 Apr 2011 10:15:54 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,220,1301900400";  d="scan'208,217";a="541650206"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 15 Apr 2011 10:15:54 -0700
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3FHFr23001251; Fri, 15 Apr 2011 10:15:54 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 15 Apr 2011 10:15:54 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.112]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 15 Apr 2011 13:15:52 -0400
Received: from ebc05-xp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 15 Apr 2011 13:15:51 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: multipart/alternative; boundary=Apple-Mail-51-310519158
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <7C4DFCE962635144B8FAE8CA11D0BF1E041721E119@MX14A.corp.emc.com>
Date: Fri, 15 Apr 2011 12:15:49 -0500
Message-Id: <6A6ED16C-7519-4AEB-93D0-0543172BD5E8@netapp.com>
References: <26D34DF9-0165-46EF-87AC-82E17EA2193D@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E041721E119@MX14A.corp.emc.com>
To: "<david.black@emc.com>" <david.black@emc.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 15 Apr 2011 17:15:51.0716 (UTC) FILETIME=[C579FE40:01CBFB90]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [lnfs] MAC Security NFS Modes of Operation
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Apr 2011 17:15:56 -0000

--Apple-Mail-51-310519158
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252


On Apr 15, 2011, at 10:50 AM, <david.black@emc.com> =
<david.black@emc.com> wrote:

> Tom,
> =20
> I have one additional piece of functionality to suggest.
> =20
> > The other interesting cases here are the wrong LFS identifier and =
the NFSv4.2
> > without RPCSEC_GSSv3 accessing object labels. The first can either =
result
> > in a NFS4ERR_WRONG_LFS or the assignment of a default subject label. =
 And
> > again, that is up to the security system to decide. In the second =
case, if the
> > security system decides that the applied subject label has MAC =
permissions,
> > then the request to access/modify/set the object label will proceed =
and
> > can flow across the network.
> =20
> I think we can do better for the NFSv4.2 without RPCSEC_GSSv3 case.  =
I=92ll start by agreeing that for NFSv4.2, RPCSEC_GSSv3 adds significant =
functionality.  My interest is in Smart Client + Smart Server for a s =
there=92s no RPCSEC_GSSv3 support.  In that scenario, I think we can =
provide a useful assist to the server=92s selection of the subject label =
for the client.
> =20
> In this case, the Smart Client has a single label and knows what that =
label is (in contrast to dumb clients for which the only possible =
approach is subject label assignment by the server w/o client =
awareness).  The ability for a Smart Client to communicate its subject =
label to the server allows the server to check that both the client is =
using an appropriate subject label (if not, something is wrong, and the =
server may need to refuse access to the client).  This sort of =
cross-check can be very useful in practice to catch misconfiguration =
issues before they do actual damage.
> =20
> Thanks,
> --David
> =20


David,

How does the client convey its subject label without RPCSEC_GSSv3?=20

What am I not getting about your proposal?

Thanks,
Tom


--Apple-Mail-51-310519158
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1252

<html><head><base href=3D"x-msg://1109/"></head><body style=3D"word-wrap: =
break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space; "><br><div><div>On Apr 15, 2011, at 10:50 AM, &lt;<a =
href=3D"mailto:david.black@emc.com">david.black@emc.com</a>&gt; &lt;<a =
href=3D"mailto:david.black@emc.com">david.black@emc.com</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><span class=3D"Apple-style-span" style=3D"border-collapse: =
separate; font-family: Helvetica; font-style: normal; font-variant: =
normal; font-weight: normal; letter-spacing: normal; line-height: =
normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: =
normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: =
0px; -webkit-border-vertical-spacing: 0px; =
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
lang=3D"EN-US" link=3D"blue" vlink=3D"purple" style=3D"word-wrap: =
break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space; "><div class=3D"WordSection1" style=3D"page: =
WordSection1; "><div style=3D"margin-top: 0in; margin-right: 0in; =
margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: =
'Times New Roman', serif; "><span style=3D"font-size: 10pt; font-family: =
'Courier New'; color: black; ">Tom,<o:p></o:p></span></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; =
margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', =
serif; "><span style=3D"font-size: 10pt; font-family: 'Courier New'; =
color: black; "><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: =
0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; =
font-size: 12pt; font-family: 'Times New Roman', serif; "><span =
style=3D"font-size: 10pt; font-family: 'Courier New'; color: black; ">I =
have one additional piece of functionality to =
suggest.<o:p></o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: =
12pt; font-family: 'Times New Roman', serif; "><span style=3D"font-size: =
10pt; font-family: 'Courier New'; color: black; =
"><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: =
12pt; font-family: 'Times New Roman', serif; ">&gt; The other =
interesting cases here are the wrong LFS identifier and the =
NFSv4.2<o:p></o:p></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; =
font-family: 'Times New Roman', serif; ">&gt; without RPCSEC_GSSv3 =
accessing object labels. The first can either =
result<o:p></o:p></div><div style=3D"margin-top: 0in; margin-right: 0in; =
margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: =
'Times New Roman', serif; ">&gt; in a NFS4ERR_WRONG_LFS or the =
assignment of a default subject label. &nbsp;And<o:p></o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; =
margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', =
serif; ">&gt; again, that is up to the security system to decide. In the =
second case, if the<o:p></o:p></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: =
12pt; font-family: 'Times New Roman', serif; ">&gt; security system =
decides that the applied subject label has MAC =
permissions,<o:p></o:p></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: =
12pt; font-family: 'Times New Roman', serif; ">&gt; then the request to =
access/modify/set the object label will proceed and<o:p></o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; =
margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', =
serif; ">&gt; can flow across the network.<o:p></o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; =
margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', =
serif; "><span style=3D"font-size: 10pt; font-family: 'Courier New'; =
color: black; "><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: =
0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; =
font-size: 12pt; font-family: 'Times New Roman', serif; "><span =
style=3D"font-size: 10pt; font-family: 'Courier New'; color: black; ">I =
think we can do better for the NFSv4.2 without RPCSEC_GSSv3 case.&nbsp; =
I=92ll start by agreeing that for NFSv4.2, RPCSEC_GSSv3 adds significant =
functionality.&nbsp; My interest is in Smart Client + Smart Server for a =
s there=92s no RPCSEC_GSSv3 support.&nbsp; In that scenario, I think we =
can provide a useful assist to the server=92s selection of the subject =
label for the client.<o:p></o:p></span></div><div style=3D"margin-top: =
0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; =
font-size: 12pt; font-family: 'Times New Roman', serif; "><span =
style=3D"font-size: 10pt; font-family: 'Courier New'; color: black; =
"><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: =
12pt; font-family: 'Times New Roman', serif; "><span style=3D"font-size: =
10pt; font-family: 'Courier New'; color: black; ">In this case, the =
Smart Client has a single label and knows what that label is (in =
contrast to dumb clients for which the only possible approach is subject =
label assignment by the server w/o client awareness).&nbsp; The ability =
for a Smart Client to communicate its subject label to the server allows =
the server to check that both the client is using an appropriate subject =
label (if not, something is wrong, and the server may need to refuse =
access to the client).&nbsp; This sort of cross-check can be very useful =
in practice to catch misconfiguration issues before they do actual =
damage.<o:p></o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: =
12pt; font-family: 'Times New Roman', serif; "><span style=3D"font-size: =
10pt; font-family: 'Courier New'; color: black; =
"><o:p>&nbsp;</o:p></span></div><div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: =
12pt; font-family: 'Times New Roman', serif; "><span style=3D"font-size: =
10pt; font-family: 'Courier New'; color: black; =
">Thanks,<br>--David</span><span style=3D"font-size: 11pt; font-family: =
'Courier New'; color: black; "><o:p></o:p></span></div></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; =
margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', =
serif; "><span style=3D"font-size: 10pt; font-family: 'Courier New'; =
color: black; =
"><o:p>&nbsp;</o:p></span></div></div></div></span></blockquote><br></div>=
<div><br></div><div>David,</div><div><br></div><div>How does the client =
convey its subject label without =
RPCSEC_GSSv3?&nbsp;</div><div><br></div><div>What am I not getting about =
your =
proposal?</div><div><br></div><div>Thanks,</div><div>Tom</div><br></body><=
/html>=

--Apple-Mail-51-310519158--

From Matthew.Dodd@cobham.com  Fri Apr 15 10:37:55 2011
Return-Path: <Matthew.Dodd@cobham.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 8D6E9E067E for <nfsv4@ietfc.amsl.com>; Fri, 15 Apr 2011 10:37:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U03h-wdcHtyq for <nfsv4@ietfc.amsl.com>; Fri, 15 Apr 2011 10:37:54 -0700 (PDT)
Received: from M4.sparta.com (M4.sparta.com [157.185.61.2]) by ietfc.amsl.com (Postfix) with ESMTP id 7B26EE0678 for <nfsv4@ietf.org>; Fri, 15 Apr 2011 10:37:54 -0700 (PDT)
Received: from Beta5.sparta.com (beta5.sparta.com [157.185.63.21]) by M4.sparta.com (8.13.5/8.13.5) with ESMTP id p3FHbrhH015735 for <nfsv4@ietf.org>; Fri, 15 Apr 2011 12:37:53 -0500
Received: from mailbin2.ads.sparta.com (mailbin.sparta.com [157.185.85.6]) by Beta5.sparta.com (8.13.8/8.13.8) with ESMTP id p3FHbr1W010607 for <nfsv4@ietf.org>; Fri, 15 Apr 2011 12:37:53 -0500
Received: from mbp.local ([70.88.158.91]) by mailbin2.ads.sparta.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675);  Fri, 15 Apr 2011 13:37:53 -0400
Message-ID: <4DA88270.9090202@cobham.com>
Date: Fri, 15 Apr 2011 13:37:52 -0400
From: "Matthew N. Dodd" <Matthew.Dodd@cobham.com>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9
MIME-Version: 1.0
To: nfsv4@ietf.org
References: <26D34DF9-0165-46EF-87AC-82E17EA2193D@netapp.com>	<7C4DFCE962635144B8FAE8CA11D0BF1E041721E119@MX14A.corp.emc.com> <6A6ED16C-7519-4AEB-93D0-0543172BD5E8@netapp.com>
In-Reply-To: <6A6ED16C-7519-4AEB-93D0-0543172BD5E8@netapp.com>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 8bit
X-OriginalArrivalTime: 15 Apr 2011 17:37:53.0660 (UTC) FILETIME=[D96AA3C0:01CBFB93]
Subject: Re: [nfsv4] [lnfs] MAC Security NFS Modes of Operation
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Apr 2011 17:37:55 -0000

On 4/15/11 13:15 PM, Thomas Haynes wrote:
> 
> On Apr 15, 2011, at 10:50 AM, <david.black@emc.com>
> <david.black@emc.com> wrote:
> 
>> Tom,
>> 
>> I have one additional piece of functionality to suggest.
>> 
>>> The other interesting cases here are the wrong LFS identifier and
>>> the NFSv4.2 without RPCSEC_GSSv3 accessing object labels. The
>>> first can either result in a NFS4ERR_WRONG_LFS or the assignment
>>> of a default subject label.  And again, that is up to the
>>> security system to decide. In the second case, if the security
>>> system decides that the applied subject label has MAC
>>> permissions, then the request to access/modify/set the object
>>> label will proceed and can flow across the network.
>> 
>> I think we can do better for the NFSv4.2 without RPCSEC_GSSv3 case.
>> I’ll start by agreeing that for NFSv4.2, RPCSEC_GSSv3 adds
>> significant functionality.  My interest is in Smart Client + Smart
>> Server for a s there’s no RPCSEC_GSSv3 support.  In that scenario,
>> I think we can provide a useful assist to the server’s selection of
>> the subject label for the client.
>> 
>> In this case, the Smart Client has a single label and knows what
>> that label is (in contrast to dumb clients for which the only
>> possible approach is subject label assignment by the server w/o
>> client awareness).  The ability for a Smart Client to communicate
>> its subject label to the server allows the server to check that
>> both the client is using an appropriate subject label (if not,
>> something is wrong, and the server may need to refuse access to the
>> client).  This sort of cross-check can be very useful in practice
>> to catch misconfiguration issues before they do actual damage.
> 
> David,
> 
> How does the client convey its subject label without RPCSEC_GSSv3?

I can't answer for David but I will say that conveying the client
process label in a compound operation (OP_PUTCLIENTLABEL) was something
that was investigated back in 2008.

It was fine from the protocol level but introduced a number of intrusive
changes in the implementation and was deemed unlikely to be accepted.

From david.black@emc.com  Fri Apr 15 10:38:07 2011
Return-Path: <david.black@emc.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id E422BE067E for <nfsv4@ietfc.amsl.com>; Fri, 15 Apr 2011 10:38:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.599
X-Spam-Level: 
X-Spam-Status: No, score=-106.599 tagged_above=-999 required=5 tests=[AWL=-0.001, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KZKv1DK6oACN for <nfsv4@ietfc.amsl.com>; Fri, 15 Apr 2011 10:38:05 -0700 (PDT)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by ietfc.amsl.com (Postfix) with ESMTP id 1DD02E0678 for <nfsv4@ietf.org>; Fri, 15 Apr 2011 10:38:05 -0700 (PDT)
Received: from hop04-l1d11-si02.isus.emc.com (HOP04-L1D11-SI02.isus.emc.com [10.254.111.55]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3FHc3wX014529 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 15 Apr 2011 13:38:03 -0400
Received: from mailhub.lss.emc.com (mailhub.lss.emc.com [10.254.221.253]) by hop04-l1d11-si02.isus.emc.com (RSA Interceptor); Fri, 15 Apr 2011 13:37:54 -0400
Received: from mxhub09.corp.emc.com (mxhub09.corp.emc.com [10.254.92.104]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3FHU14T003940; Fri, 15 Apr 2011 13:30:01 -0400
Received: from mx14a.corp.emc.com ([169.254.1.209]) by mxhub09.corp.emc.com ([10.254.92.104]) with mapi; Fri, 15 Apr 2011 13:30:01 -0400
From: <david.black@emc.com>
To: <thomas@netapp.com>
Date: Fri, 15 Apr 2011 13:29:59 -0400
Thread-Topic: [nfsv4] [lnfs] MAC Security NFS Modes of Operation
Thread-Index: Acv7kYOPFRxPzcdzT+eDk3EVIiji0QAAP7hw
Message-ID: <7C4DFCE962635144B8FAE8CA11D0BF1E0417371B6F@MX14A.corp.emc.com>
References: <26D34DF9-0165-46EF-87AC-82E17EA2193D@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E041721E119@MX14A.corp.emc.com> <6A6ED16C-7519-4AEB-93D0-0543172BD5E8@netapp.com>
In-Reply-To: <6A6ED16C-7519-4AEB-93D0-0543172BD5E8@netapp.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_7C4DFCE962635144B8FAE8CA11D0BF1E0417371B6FMX14Acorpemcc_"
MIME-Version: 1.0
X-EMM-MHVC: 1
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [lnfs] MAC Security NFS Modes of Operation
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Apr 2011 17:38:08 -0000

--_000_7C4DFCE962635144B8FAE8CA11D0BF1E0417371B6FMX14Acorpemcc_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

> How does the client convey its subject label without RPCSEC_GSSv3?
>
> What am I not getting about your proposal?

I haven't (yet) proposed protocol details for how the client conveys its su=
bject label.  I'd like to get through the discussion of whether its useful =
before embarking on the details of how to do it.

Thanks,
--David

From: Thomas Haynes [mailto:thomas@netapp.com]
Sent: Friday, April 15, 2011 1:16 PM
To: Black, David
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [lnfs] MAC Security NFS Modes of Operation


On Apr 15, 2011, at 10:50 AM, <david.black@emc.com<mailto:david.black@emc.c=
om>> <david.black@emc.com<mailto:david.black@emc.com>> wrote:


Tom,

I have one additional piece of functionality to suggest.

> The other interesting cases here are the wrong LFS identifier and the NFS=
v4.2
> without RPCSEC_GSSv3 accessing object labels. The first can either result
> in a NFS4ERR_WRONG_LFS or the assignment of a default subject label.  And
> again, that is up to the security system to decide. In the second case, i=
f the
> security system decides that the applied subject label has MAC permission=
s,
> then the request to access/modify/set the object label will proceed and
> can flow across the network.

I think we can do better for the NFSv4.2 without RPCSEC_GSSv3 case.  I'll s=
tart by agreeing that for NFSv4.2, RPCSEC_GSSv3 adds significant functional=
ity.  My interest is in Smart Client + Smart Server for a s there's no RPCS=
EC_GSSv3 support.  In that scenario, I think we can provide a useful assist=
 to the server's selection of the subject label for the client.

In this case, the Smart Client has a single label and knows what that label=
 is (in contrast to dumb clients for which the only possible approach is su=
bject label assignment by the server w/o client awareness).  The ability fo=
r a Smart Client to communicate its subject label to the server allows the =
server to check that both the client is using an appropriate subject label =
(if not, something is wrong, and the server may need to refuse access to th=
e client).  This sort of cross-check can be very useful in practice to catc=
h misconfiguration issues before they do actual damage.

Thanks,
--David



David,

How does the client convey its subject label without RPCSEC_GSSv3?

What am I not getting about your proposal?

Thanks,
Tom


--_000_7C4DFCE962635144B8FAE8CA11D0BF1E0417371B6FMX14Acorpemcc_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:x=3D"urn:schemas-microsoft-com:office:excel" xmlns:p=3D"urn:schemas-m=
icrosoft-com:office:powerpoint" xmlns:a=3D"urn:schemas-microsoft-com:office=
:access" xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s=3D"=
uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs=3D"urn:schemas-microsof=
t-com:rowset" xmlns:z=3D"#RowsetSchema" xmlns:b=3D"urn:schemas-microsoft-co=
m:office:publisher" xmlns:ss=3D"urn:schemas-microsoft-com:office:spreadshee=
t" xmlns:c=3D"urn:schemas-microsoft-com:office:component:spreadsheet" xmlns=
:odc=3D"urn:schemas-microsoft-com:office:odc" xmlns:oa=3D"urn:schemas-micro=
soft-com:office:activation" xmlns:html=3D"http://www.w3.org/TR/REC-html40" =
xmlns:q=3D"http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc=3D"http://m=
icrosoft.com/officenet/conferencing" xmlns:D=3D"DAV:" xmlns:Repl=3D"http://=
schemas.microsoft.com/repl/" xmlns:mt=3D"http://schemas.microsoft.com/share=
point/soap/meetings/" xmlns:x2=3D"http://schemas.microsoft.com/office/excel=
/2003/xml" xmlns:ppda=3D"http://www.passport.com/NameSpace.xsd" xmlns:ois=
=3D"http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir=3D"http://=
schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds=3D"http://www.w3=
.org/2000/09/xmldsig#" xmlns:dsp=3D"http://schemas.microsoft.com/sharepoint=
/dsp" xmlns:udc=3D"http://schemas.microsoft.com/data/udc" xmlns:xsd=3D"http=
://www.w3.org/2001/XMLSchema" xmlns:sub=3D"http://schemas.microsoft.com/sha=
repoint/soap/2002/1/alerts/" xmlns:ec=3D"http://www.w3.org/2001/04/xmlenc#"=
 xmlns:sp=3D"http://schemas.microsoft.com/sharepoint/" xmlns:sps=3D"http://=
schemas.microsoft.com/sharepoint/soap/" xmlns:xsi=3D"http://www.w3.org/2001=
/XMLSchema-instance" xmlns:udcs=3D"http://schemas.microsoft.com/data/udc/so=
ap" xmlns:udcxf=3D"http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udc=
p2p=3D"http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf=3D"http:/=
/schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss=3D"http://sche=
mas.microsoft.com/office/2006/digsig-setup" xmlns:dssi=3D"http://schemas.mi=
crosoft.com/office/2006/digsig" xmlns:mdssi=3D"http://schemas.openxmlformat=
s.org/package/2006/digital-signature" xmlns:mver=3D"http://schemas.openxmlf=
ormats.org/markup-compatibility/2006" xmlns:m=3D"http://schemas.microsoft.c=
om/office/2004/12/omml" xmlns:mrels=3D"http://schemas.openxmlformats.org/pa=
ckage/2006/relationships" xmlns:spwp=3D"http://microsoft.com/sharepoint/web=
partpages" xmlns:ex12t=3D"http://schemas.microsoft.com/exchange/services/20=
06/types" xmlns:ex12m=3D"http://schemas.microsoft.com/exchange/services/200=
6/messages" xmlns:pptsl=3D"http://schemas.microsoft.com/sharepoint/soap/Sli=
deLibrary/" xmlns:spsl=3D"http://microsoft.com/webservices/SharePointPortal=
Server/PublishedLinksService" xmlns:Z=3D"urn:schemas-microsoft-com:" xmlns:=
st=3D"&#1;" xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta http-equi=
v=3DContent-Type content=3D"text/html; charset=3Dus-ascii"><meta name=3DGen=
erator content=3D"Microsoft Word 12 (filtered medium)"><base href=3D"x-msg:=
//1109/"><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.apple-style-span
	{mso-style-name:apple-style-span;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Courier New";
	color:black;
	font-weight:normal;
	font-style:normal;
	text-decoration:none none;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue vli=
nk=3Dpurple style=3D'word-wrap: break-word;-webkit-nbsp-mode: space;-webkit=
-line-break: after-white-space'><div class=3DWordSection1><p class=3DMsoNor=
mal>&gt; How does the client convey its subject label without RPCSEC_GSSv3?=
&nbsp;<o:p></o:p></p><p class=3DMsoNormal>&gt; <o:p></o:p></p><p class=3DMs=
oNormal>&gt; What am I not getting about your proposal?<o:p></o:p></p><p cl=
ass=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>I haven&#8217;t (=
yet) proposed protocol details for how the client conveys its subject label=
.&nbsp; I&#8217;d like to get through the discussion of whether its useful =
before embarking on the details of how to do it.<span style=3D'font-size:10=
.0pt;font-family:"Courier New";color:black'><o:p></o:p></span></p><p class=
=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier New";colo=
r:black'><o:p>&nbsp;</o:p></span></p><div><p class=3DMsoNormal><span style=
=3D'font-size:10.0pt;font-family:"Courier New";color:black'>Thanks,<br>--Da=
vid</span><span style=3D'font-size:11.0pt;font-family:"Courier New";color:b=
lack'><o:p></o:p></span></p></div><p class=3DMsoNormal><span style=3D'font-=
size:10.0pt;font-family:"Courier New";color:black'><o:p>&nbsp;</o:p></span>=
</p><div style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in =
0in 4.0pt'><div><div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;pa=
dding:3.0pt 0in 0in 0in'><p class=3DMsoNormal><b><span style=3D'font-size:1=
0.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style=3D'fon=
t-size:10.0pt;font-family:"Tahoma","sans-serif"'> Thomas Haynes [mailto:tho=
mas@netapp.com] <br><b>Sent:</b> Friday, April 15, 2011 1:16 PM<br><b>To:</=
b> Black, David<br><b>Cc:</b> nfsv4@ietf.org<br><b>Subject:</b> Re: [nfsv4]=
 [lnfs] MAC Security NFS Modes of Operation<o:p></o:p></span></p></div></di=
v><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><o:p>&nbsp=
;</o:p></p><div><div><p class=3DMsoNormal>On Apr 15, 2011, at 10:50 AM, &lt=
;<a href=3D"mailto:david.black@emc.com">david.black@emc.com</a>&gt; &lt;<a =
href=3D"mailto:david.black@emc.com">david.black@emc.com</a>&gt; wrote:<o:p>=
</o:p></p></div><p class=3DMsoNormal><br><br><o:p></o:p></p><div><div><p cl=
ass=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier New";c=
olor:black'>Tom,</span><o:p></o:p></p></div><div><p class=3DMsoNormal><span=
 style=3D'font-size:10.0pt;font-family:"Courier New";color:black'>&nbsp;</s=
pan><o:p></o:p></p></div><div><p class=3DMsoNormal><span style=3D'font-size=
:10.0pt;font-family:"Courier New";color:black'>I have one additional piece =
of functionality to suggest.</span><o:p></o:p></p></div><div><p class=3DMso=
Normal><span style=3D'font-size:10.0pt;font-family:"Courier New";color:blac=
k'>&nbsp;</span><o:p></o:p></p></div><div><p class=3DMsoNormal>&gt; The oth=
er interesting cases here are the wrong LFS identifier and the NFSv4.2<o:p>=
</o:p></p></div><div><p class=3DMsoNormal>&gt; without RPCSEC_GSSv3 accessi=
ng object labels. The first can either result<o:p></o:p></p></div><div><p c=
lass=3DMsoNormal>&gt; in a NFS4ERR_WRONG_LFS or the assignment of a default=
 subject label. &nbsp;And<o:p></o:p></p></div><div><p class=3DMsoNormal>&gt=
; again, that is up to the security system to decide. In the second case, i=
f the<o:p></o:p></p></div><div><p class=3DMsoNormal>&gt; security system de=
cides that the applied subject label has MAC permissions,<o:p></o:p></p></d=
iv><div><p class=3DMsoNormal>&gt; then the request to access/modify/set the=
 object label will proceed and<o:p></o:p></p></div><div><p class=3DMsoNorma=
l>&gt; can flow across the network.<o:p></o:p></p></div><div><p class=3DMso=
Normal><span style=3D'font-size:10.0pt;font-family:"Courier New";color:blac=
k'>&nbsp;</span><o:p></o:p></p></div><div><p class=3DMsoNormal><span style=
=3D'font-size:10.0pt;font-family:"Courier New";color:black'>I think we can =
do better for the NFSv4.2 without RPCSEC_GSSv3 case.&nbsp; I&#8217;ll start=
 by agreeing that for NFSv4.2, RPCSEC_GSSv3 adds significant functionality.=
&nbsp; My interest is in Smart Client + Smart Server for a s there&#8217;s =
no RPCSEC_GSSv3 support.&nbsp; In that scenario, I think we can provide a u=
seful assist to the server&#8217;s selection of the subject label for the c=
lient.</span><o:p></o:p></p></div><div><p class=3DMsoNormal><span style=3D'=
font-size:10.0pt;font-family:"Courier New";color:black'>&nbsp;</span><o:p><=
/o:p></p></div><div><p class=3DMsoNormal><span style=3D'font-size:10.0pt;fo=
nt-family:"Courier New";color:black'>In this case, the Smart Client has a s=
ingle label and knows what that label is (in contrast to dumb clients for w=
hich the only possible approach is subject label assignment by the server w=
/o client awareness).&nbsp; The ability for a Smart Client to communicate i=
ts subject label to the server allows the server to check that both the cli=
ent is using an appropriate subject label (if not, something is wrong, and =
the server may need to refuse access to the client).&nbsp; This sort of cro=
ss-check can be very useful in practice to catch misconfiguration issues be=
fore they do actual damage.</span><o:p></o:p></p></div><div><p class=3DMsoN=
ormal><span style=3D'font-size:10.0pt;font-family:"Courier New";color:black=
'>&nbsp;</span><o:p></o:p></p></div><div><div><p class=3DMsoNormal><span st=
yle=3D'font-size:10.0pt;font-family:"Courier New";color:black'>Thanks,<br>-=
-David</span><o:p></o:p></p></div></div><div><p class=3DMsoNormal><span sty=
le=3D'font-size:10.0pt;font-family:"Courier New";color:black'>&nbsp;</span>=
<o:p></o:p></p></div></div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div>=
<div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=3DMsoNor=
mal>David,<o:p></o:p></p></div><div><p class=3DMsoNormal><o:p>&nbsp;</o:p><=
/p></div><div><p class=3DMsoNormal>How does the client convey its subject l=
abel without RPCSEC_GSSv3?&nbsp;<o:p></o:p></p></div><div><p class=3DMsoNor=
mal><o:p>&nbsp;</o:p></p></div><div><p class=3DMsoNormal>What am I not gett=
ing about your proposal?<o:p></o:p></p></div><div><p class=3DMsoNormal><o:p=
>&nbsp;</o:p></p></div><div><p class=3DMsoNormal>Thanks,<o:p></o:p></p></di=
v><div><p class=3DMsoNormal>Tom<o:p></o:p></p></div><p class=3DMsoNormal><o=
:p>&nbsp;</o:p></p></div></div></body></html>=

--_000_7C4DFCE962635144B8FAE8CA11D0BF1E0417371B6FMX14Acorpemcc_--

From david.black@emc.com  Fri Apr 15 10:45:39 2011
Return-Path: <david.black@emc.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 64376E0801 for <nfsv4@ietfc.amsl.com>; Fri, 15 Apr 2011 10:45:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.599
X-Spam-Level: 
X-Spam-Status: No, score=-106.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HEDM8lB1401A for <nfsv4@ietfc.amsl.com>; Fri, 15 Apr 2011 10:45:38 -0700 (PDT)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by ietfc.amsl.com (Postfix) with ESMTP id 59D58E07EE for <nfsv4@ietf.org>; Fri, 15 Apr 2011 10:45:38 -0700 (PDT)
Received: from hop04-l1d11-si02.isus.emc.com (HOP04-L1D11-SI02.isus.emc.com [10.254.111.55]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3FHjXJI020725 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 15 Apr 2011 13:45:33 -0400
Received: from mailhub.lss.emc.com (mailhub.lss.emc.com [10.254.221.145]) by hop04-l1d11-si02.isus.emc.com (RSA Interceptor); Fri, 15 Apr 2011 13:45:24 -0400
Received: from mxhub14.corp.emc.com (mxhub14.corp.emc.com [128.221.56.103]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3FHiOPg016110; Fri, 15 Apr 2011 13:44:24 -0400
Received: from mx14a.corp.emc.com ([169.254.1.209]) by mxhub14.corp.emc.com ([128.221.56.103]) with mapi; Fri, 15 Apr 2011 13:44:23 -0400
From: <david.black@emc.com>
To: <nico@cryptonector.com>
Date: Fri, 15 Apr 2011 13:44:22 -0400
Thread-Topic: [nfsv4] [lnfs] MAC Security NFS Modes of Operation
Thread-Index: Acv7iaqx6yIrx0vARmSVtLDRc5uWiQACRe9A
Message-ID: <7C4DFCE962635144B8FAE8CA11D0BF1E0417371B80@MX14A.corp.emc.com>
References: <26D34DF9-0165-46EF-87AC-82E17EA2193D@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E041721E119@MX14A.corp.emc.com> <BANLkTinLJDA2zk7gyPM2hgNT05ti64LVxg@mail.gmail.com>
In-Reply-To: <BANLkTinLJDA2zk7gyPM2hgNT05ti64LVxg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-EMM-MHVC: 1
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [lnfs] MAC Security NFS Modes of Operation
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/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vdXMNCj4gaXNzdWVzLCBhbmQg
c2VyaW91cyBsaW1pdHMgdG8gd2hhdCBhIHNtYXJ0IGNsaWVudCBhbmQgc2VydmVyIGNvdWxkIGRv
LA0KPiBldmVuIGlmIHdlIGhhZCBhbiBvcGVyYXRpb24gdG8gc2V0IHRoZSBzdWJqZWN0IGxhYmVs
IGVhcmx5IGluIGENCj4gY29tcG91bmQgUlBDLiAgQXQgYmVzdCB3ZSBjb3VsZCB1c2UgSVBzZWMg
dG8gYXV0aGVudGljYXRlIHRoZSBjbGllbnQNCj4gYW5kIFJQQ1NFQ19HU1N2MS8yIHRvIGF1dGhl
bnRpY2F0ZSB0aGUgdXNlciwgYW5kIHByZXRlbmQgdGhhdCdzIGdvb2QNCj4gZW5vdWdoIGNvbWJp
bmVkIGF1dGhlbnRpY2F0aW9uLCBidXQgaW4gdGVybXMgb2YgaW1wbGVtZW50YXRpb24sIHRoYXQn
cw0KPiBhIGxvdCBvZiB3b3JrIHRvIGdldCByaWdodCwgYW5kIGV2ZW4gdG8gZ2V0IGl0IHdyb25n
IGl0J3Mgbm9uLXRyaXZpYWwuDQo+IA0KPiBJbiBvdGhlciB3b3JkcywgSSBkb24ndCByZWFsbHkg
c2VlIG11Y2gsIGlmIGFueSwgYmVuZWZpdCB0byBhIHNtYXJ0DQo+IGNsaWVudCAvIHNtYXJ0IHNl
cnZlciAvIG5vIFJQQ1NFQ19HU1N2MyBjb21iaW5hdGlvbiBvdmVyIGR1bWIgY2xpZW50IC8NCj4g
c21hcnQgc2VydmVyLg0KPiANCj4gTmljbw0KPiAtLQ0KDQo=

From nico@cryptonector.com  Fri Apr 15 10:49:36 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id DDEADE0870 for <nfsv4@ietfc.amsl.com>; Fri, 15 Apr 2011 10:49:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level: 
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[AWL=0.081,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZTlmeI+Gpj4w for <nfsv4@ietfc.amsl.com>; Fri, 15 Apr 2011 10:49:32 -0700 (PDT)
Received: from homiemail-a30.g.dreamhost.com (caiajhbdccah.dreamhost.com [208.97.132.207]) by ietfc.amsl.com (Postfix) with ESMTP id B2B58E0840 for <nfsv4@ietf.org>; Fri, 15 Apr 2011 10:49:32 -0700 (PDT)
Received: from homiemail-a30.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a30.g.dreamhost.com (Postfix) with ESMTP id EC8DF21DE71 for <nfsv4@ietf.org>; Fri, 15 Apr 2011 10:49:31 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=uuDlsfpa+lNxzUZccCOma DL5g4g7YnADyDXv3KjEqcbMo4x6VuAm4WjkeKSzWpZRKy78ovqgMTKKfOxpz4RKa aSG40+/Kvg7a1sFm+HQ2RKDF3oHPmeflPQrUf7fybu33wcSFdYleeUwBQ7fN1nyW ELG8yh8Qun6SqleTo99qJY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=Y8Vn8mT2W7sfKLkxPx3T /KLu9BE=; b=N3yn+RPvMOMx0KUk/JARz/Xnn1A62q4YROIq0BqSxgFJxtd1IQxR tqAksUly10rbMJ7O8KSD3DraJv0ylNdAf+wpYs1wbIoerP0EuNju1aLq+nauP1w2 g5j2EMAHqiSuChc+VUNOawUvTCivPDaUh0mvcYyTUE/9kQzEy+3kbmw=
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a30.g.dreamhost.com (Postfix) with ESMTPSA id A5FE821DE59 for <nfsv4@ietf.org>; Fri, 15 Apr 2011 10:49:31 -0700 (PDT)
Received: by vxg33 with SMTP id 33so2830578vxg.31 for <nfsv4@ietf.org>; Fri, 15 Apr 2011 10:49:31 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.184.8 with SMTP id eq8mr3249660vdc.214.1302889771114; Fri, 15 Apr 2011 10:49:31 -0700 (PDT)
Received: by 10.52.163.228 with HTTP; Fri, 15 Apr 2011 10:49:31 -0700 (PDT)
In-Reply-To: <4DA88270.9090202@cobham.com>
References: <26D34DF9-0165-46EF-87AC-82E17EA2193D@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E041721E119@MX14A.corp.emc.com> <6A6ED16C-7519-4AEB-93D0-0543172BD5E8@netapp.com> <4DA88270.9090202@cobham.com>
Date: Fri, 15 Apr 2011 12:49:31 -0500
Message-ID: <BANLkTi=v+1J39GG-09nR2rOs6-SdTDfF0w@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: "Matthew N. Dodd" <Matthew.Dodd@cobham.com>
Content-Type: text/plain; charset=UTF-8
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [lnfs] MAC Security NFS Modes of Operation
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Apr 2011 17:49:37 -0000

On Fri, Apr 15, 2011 at 12:37 PM, Matthew N. Dodd
<Matthew.Dodd@cobham.com> wrote:
> On 4/15/11 13:15 PM, Thomas Haynes wrote:
>> How does the client convey its subject label without RPCSEC_GSSv3?
>
> I can't answer for David but I will say that conveying the client
> process label in a compound operation (OP_PUTCLIENTLABEL) was something
> that was investigated back in 2008.

I figured that's what the idea was.

But there's a number of problems with it.  For example, if the GSS
security mechanism is Kerberos and IPsec is not used, then the user
knows or can work out the session key, which means that the user can
bypass the client altogether.  Worse, the user can impersonate the
server to the client and poison the client's cache (this is the real
reason for the RPCSEC_GSSv3 compound authentication feature, though it
also happens to be incredibly helpful for LNFS).  But also, the server
can't really know what client the user is coming from (except via
inspecting the client's IP address), which means that the server can't
do any of the interesting things I described in the RPCSEC_GSSv3 case.

What is the allure of avoiding RPCSEC_GSSv3 though??

> It was fine from the protocol level but introduced a number of intrusive
> changes in the implementation and was deemed unlikely to be accepted.

And there's that too.  Without this the local credentials are derived
from the RPC security layer.  With this operation you now have to
construct a new credential when you see this operation, and then
substitute it for the old one.  Many such hacks add up to an ugly,
unmaintainable mess.  Moving the problem to the RPC security layer
-where it always belonged- solves the problem in an architecturally
clean way.

Nico
--

From nico@cryptonector.com  Fri Apr 15 10:56:36 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id B8C4DE086D for <nfsv4@ietfc.amsl.com>; Fri, 15 Apr 2011 10:56:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level: 
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[AWL=0.079,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uesVqooEtPdf for <nfsv4@ietfc.amsl.com>; Fri, 15 Apr 2011 10:56:32 -0700 (PDT)
Received: from homiemail-a65.g.dreamhost.com (jankymail-mx1.g.dreamhost.com [208.97.132.126]) by ietfc.amsl.com (Postfix) with ESMTP id 7A0DBE0663 for <nfsv4@ietf.org>; Fri, 15 Apr 2011 10:56:32 -0700 (PDT)
Received: from homiemail-a65.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a65.g.dreamhost.com (Postfix) with ESMTP id D73C67E4065 for <nfsv4@ietf.org>; Fri, 15 Apr 2011 10:56:31 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=ZcZGRLKwJ5mM1rTLLH8GtZA4Ff99TAMwW26LN5nRWbCF VtMx8d3+fr/Fv/Z8jAIHhJ85bR80Y++mK5SMQlK1PjsJZnDmXrcErc4se0TwA7Eq 8sRKNDVML3IYAYgISi2YdFLq6CvgyLbR44VtgzwYSIoAQdLz0HNB2eh9j5LU0KA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=vTcnO+zMi4VqvhQ7ErwAjGvNn2Q=; b=Q/RUOSPS9QP Yrar5659pR4ghB8cOgA+oq3yowWxLufb6aHeuI48MnpsJAW9fbh2Sku8zBxp0L20 QWBU8jvdT9ocj/evs42Jcy+TuNtUQOPMo7LnjNIXd27x5Md3K/U+/+cG8ovqIY5L R87OBR6d18valYv80NMY2IbZ2ChmhwLg=
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a65.g.dreamhost.com (Postfix) with ESMTPSA id B30707E4062 for <nfsv4@ietf.org>; Fri, 15 Apr 2011 10:56:31 -0700 (PDT)
Received: by vws12 with SMTP id 12so2849215vws.31 for <nfsv4@ietf.org>; Fri, 15 Apr 2011 10:56:31 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.74.36 with SMTP id q4mr2052708vdv.134.1302890191156; Fri, 15 Apr 2011 10:56:31 -0700 (PDT)
Received: by 10.52.163.228 with HTTP; Fri, 15 Apr 2011 10:56:31 -0700 (PDT)
In-Reply-To: <7C4DFCE962635144B8FAE8CA11D0BF1E0417371B80@MX14A.corp.emc.com>
References: <26D34DF9-0165-46EF-87AC-82E17EA2193D@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E041721E119@MX14A.corp.emc.com> <BANLkTinLJDA2zk7gyPM2hgNT05ti64LVxg@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E0417371B80@MX14A.corp.emc.com>
Date: Fri, 15 Apr 2011 12:56:31 -0500
Message-ID: <BANLkTi=+fugh2YOpofqTYP8d_XpyGNCBeg@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: david.black@emc.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [lnfs] MAC Security NFS Modes of Operation
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Apr 2011 17:56:36 -0000

On Fri, Apr 15, 2011 at 12:44 PM,  <david.black@emc.com> wrote:
>> I don't see what the smart client really gets from knowing that the
>> server _probably_ thinks the client's operating at some label that the
>> client knows...
>
> IMHO, this is looking in the proverbial "wrong place" because it's not th=
e smart client that gains.

I don't get that comment, but OK.

> The gains are for the security administrator who is responsible for both =
the smart client and the smart server; she gains assurance that both the sm=
art client and the smart server are applying MAC to the same information in=
 the same fashion because they are using the same subject label for the cli=
ent. =C2=A0As should be clear from what follows, there are limits here beca=
use the single client subject label prevents the server from enforcing proc=
ess/user distinctions within the client.

What, because the client happens to claim to be?  You don't need an
NFS op for this.

IOW, smart client / smart server / no RPCSEC_GSSv3 works the same
whether you add an NFS set-subject-label op or not IF you constrain
the client to a single label.

Also, dumb client refers to the inability to speak the new protocol,
not to the inability to apply MAC locally.  A dumb client can still
apply MAC locally.  If the server authenticates the client (whether
strongly with, say, IPsec, or weakly, with, say IP address checks)
then the server knows it can trust the client to apply MAC policy
locally.  But without RPCSEC_GSSv3 the server has to see the client at
a single label.

> I agree that there are "serious limits" - in particular, I'm prepared to =
accept the limitation that in the absence of RPCSEC_GSSv3, a smart client h=
as to use a single subject label for all of its activity for reasons that i=
nclude:
>
>> At best we could use IPsec to authenticate the client
>> and RPCSEC_GSSv1/2 to authenticate the user, and pretend that's good
>> enough combined authentication, but in terms of implementation, that's
>> a lot of work to get right, and even to get it wrong it's non-trivial.
>
> That's a "strawman demolition" exercise. =C2=A0I'm not particularly inter=
ested in authenticating the user - the client has to enforce MAC distinctio=
ns among its users in this scenario because the client has a single subject=
 label in the absence of RPCSEC_GSSv3. =C2=A0I want to communicate that one=
-and-only client subject label to the server when the client first contacts=
 the server, so that the client and server can check that the same label is=
 in use. =C2=A0I do not see a good reason to communicate the client's subje=
ct label after that initial check.

Why communicate the one-and-only subject label when you can just look
it up in the same way as in the dumb client / smart server?  It's not
like you can trust an unauthenticated client to assert just any label
-- you have to apply constraints, and since the constraint must yield
a single label, what's the point of the client asserting it??  What am
I missing?

Nico
--

From Tom.Haynes@netapp.com  Fri Apr 15 12:23:05 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 71976E08D2 for <nfsv4@ietfc.amsl.com>; Fri, 15 Apr 2011 12:23:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.449
X-Spam-Level: 
X-Spam-Status: No, score=-10.449 tagged_above=-999 required=5 tests=[AWL=0.149, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f8Cp0hrfDj5B for <nfsv4@ietfc.amsl.com>; Fri, 15 Apr 2011 12:23:04 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id 4ACC6E083C for <nfsv4@ietf.org>; Fri, 15 Apr 2011 12:23:03 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,220,1301900400";  d="scan'208,217";a="541682067"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 15 Apr 2011 12:22:48 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3FJMm2e019176; Fri, 15 Apr 2011 12:22:48 -0700 (PDT)
Received: from rtprsexc2-prd.hq.netapp.com ([10.100.161.115]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 15 Apr 2011 12:22:48 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.112]) by rtprsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 15 Apr 2011 15:22:46 -0400
Received: from ebc05-xp.hq.netapp.com ([10.58.57.65]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 15 Apr 2011 15:22:46 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: multipart/alternative; boundary=Apple-Mail-55-318133713
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <7C4DFCE962635144B8FAE8CA11D0BF1E041721E119@MX14A.corp.emc.com>
Date: Fri, 15 Apr 2011 14:22:44 -0500
Message-Id: <137CACD0-2583-49D0-BDDD-7EB63FB44D11@netapp.com>
References: <26D34DF9-0165-46EF-87AC-82E17EA2193D@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E041721E119@MX14A.corp.emc.com>
To: "<david.black@emc.com>" <david.black@emc.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 15 Apr 2011 19:22:46.0232 (UTC) FILETIME=[8014ED80:01CBFBA2]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [lnfs] MAC Security NFS Modes of Operation
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Apr 2011 19:23:05 -0000

--Apple-Mail-55-318133713
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252


On Apr 15, 2011, at 10:50 AM, <david.black@emc.com> =
<david.black@emc.com> wrote:

> =20
> I think we can do better for the NFSv4.2 without RPCSEC_GSSv3 case.  =
I=92ll start by agreeing that for NFSv4.2, RPCSEC_GSSv3 adds significant =
functionality.  My interest is in Smart Client + Smart Server for a s =
there=92s no RPCSEC_GSSv3 support.  In that scenario, I think we can =
provide a useful assist to the server=92s selection of the subject label =
for the client.
> =20

I'd have to question why someone would go to all of the trouble
of implementing LNFS on the client and server, setting up a DOI,
and then not using RPCSEC_GSSv3.

It implies to me either that RPCSEC_GSSv3 is too heavy and hard
to implement or that there is a fundamental issue with
RPCSEC_GSSv3.

I'd really like to know why someone would not want RPCSEC_GSSv3
before I'd want to consider alternate methods of communicating the
subject label.

Also, if the client could have one-and-only one subject label, then
I don't see why it would be needed to be communicated via LNFS.
That falls into the provenance of the security system determining
the subject label. Unless of course the aim is to only have port 2049
open in a firewall and there is no other way for the client to
convey that information to the server.=

--Apple-Mail-55-318133713
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1252

<html><head><base href=3D"x-msg://1142/"></head><body style=3D"word-wrap: =
break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space; "><br><div><div>On Apr 15, 2011, at 10:50 AM, &lt;<a =
href=3D"mailto:david.black@emc.com">david.black@emc.com</a>&gt; &lt;<a =
href=3D"mailto:david.black@emc.com">david.black@emc.com</a>&gt; =
wrote:</div><br><blockquote type=3D"cite"><span class=3D"Apple-style-span"=
 style=3D"border-collapse: separate; font-family: Helvetica; font-style: =
normal; font-variant: normal; font-weight: normal; letter-spacing: =
normal; line-height: normal; orphans: 2; text-indent: 0px; =
text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
lang=3D"EN-US" link=3D"blue" vlink=3D"purple" style=3D"word-wrap: =
break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space; "><div class=3D"WordSection1" style=3D"page: =
WordSection1; "><div style=3D"margin-top: 0in; margin-right: 0in; =
margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: =
'Times New Roman', serif; "><span style=3D"font-size: 10pt; font-family: =
'Courier New'; color: black; "><o:p>&nbsp;</o:p></span></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; =
margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', =
serif; "><span style=3D"font-size: 10pt; font-family: 'Courier New'; =
color: black; ">I think we can do better for the NFSv4.2 without =
RPCSEC_GSSv3 case.&nbsp; I=92ll start by agreeing that for NFSv4.2, =
RPCSEC_GSSv3 adds significant functionality.&nbsp; My interest is in =
Smart Client + Smart Server for a s there=92s no RPCSEC_GSSv3 =
support.&nbsp; In that scenario, I think we can provide a useful assist =
to the server=92s selection of the subject label for the =
client.<o:p></o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: =
12pt; font-family: 'Times New Roman', serif; "><span style=3D"font-size: =
10pt; font-family: 'Courier New'; color: black; =
"><o:p>&nbsp;</o:p></span></div></div></div></span></blockquote></div><br>=
<div>I'd have to question why someone would go to all of the =
trouble</div><div>of implementing LNFS on the client and server, setting =
up a DOI,</div><div>and then not using =
RPCSEC_GSSv3.</div><div><br></div><div>It implies to me either that =
RPCSEC_GSSv3 is too heavy and hard</div><div>to implement or that there =
is a fundamental issue =
with</div><div>RPCSEC_GSSv3.</div><div><br></div><div>I'd really like to =
know why someone would not want RPCSEC_GSSv3</div><div>before I'd want =
to consider alternate methods of communicating the</div><div>subject =
label.</div><div><br></div><div>Also, if the client could have =
one-and-only one subject label, then</div><div>I don't see why it would =
be needed to be communicated via LNFS.</div><div>That falls into the =
provenance of the security system determining</div><div>the subject =
label. Unless of course the aim is to only have port 2049</div><div>open =
in a firewall and there is no other way for the client =
to</div><div>convey that information to the server.</div></body></html>=

--Apple-Mail-55-318133713--

From nico@cryptonector.com  Fri Apr 15 12:24:50 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 351D9E083C for <nfsv4@ietfc.amsl.com>; Fri, 15 Apr 2011 12:24:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level: 
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[AWL=0.075,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BrNdCnZmVxVb for <nfsv4@ietfc.amsl.com>; Fri, 15 Apr 2011 12:24:46 -0700 (PDT)
Received: from homiemail-a65.g.dreamhost.com (jankymail-mx1.g.dreamhost.com [208.97.132.126]) by ietfc.amsl.com (Postfix) with ESMTP id 130C6E07DA for <nfsv4@ietf.org>; Fri, 15 Apr 2011 12:24:46 -0700 (PDT)
Received: from homiemail-a65.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a65.g.dreamhost.com (Postfix) with ESMTP id 8A8017E4071 for <nfsv4@ietf.org>; Fri, 15 Apr 2011 12:24:45 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=ZF9/6wMpUF5o/woNYpyDJ qnCgvC5EazPOUNfR5v88Yut7a0fZIUL7VvYqqWKH4ZJ5S1F57oyPIdDexb5Yegjz BF6ktGcEWglL3jljobHijymOzGpUGOdlqnX8UTx8m0kAuA2VprUozciN0GEQpsIZ bwyMLGP7+fo+R2d1HxeKpo=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=Hfdzo7C2wAS+xVllv89G VLSD0uk=; b=emTabAxvlTor1D4yOG3esetsUQM4vRJmt2b3SPay04eueFgZZxwF m6uTYNDbTQmAHC2NjEeaBtYDb2Xfu4e8Hlv4vXioYaUEYBPPXcOJlnn+zDArkqPX j3KDIrsBebJvMJU+jQ8bj9jGZWlZniV8T74Sm/csZTSYeOkWZTs4n3I=
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a65.g.dreamhost.com (Postfix) with ESMTPSA id 5CF517E406F for <nfsv4@ietf.org>; Fri, 15 Apr 2011 12:24:45 -0700 (PDT)
Received: by vws12 with SMTP id 12so2912043vws.31 for <nfsv4@ietf.org>; Fri, 15 Apr 2011 12:24:44 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.175.129 with SMTP id ca1mr1455240vdc.254.1302895484736; Fri, 15 Apr 2011 12:24:44 -0700 (PDT)
Received: by 10.52.163.228 with HTTP; Fri, 15 Apr 2011 12:24:44 -0700 (PDT)
In-Reply-To: <137CACD0-2583-49D0-BDDD-7EB63FB44D11@netapp.com>
References: <26D34DF9-0165-46EF-87AC-82E17EA2193D@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E041721E119@MX14A.corp.emc.com> <137CACD0-2583-49D0-BDDD-7EB63FB44D11@netapp.com>
Date: Fri, 15 Apr 2011 14:24:44 -0500
Message-ID: <BANLkTi=+jMfcQBmBEroet_T7NVv8bFJz0Q@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Thomas Haynes <thomas@netapp.com>
Content-Type: text/plain; charset=UTF-8
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [lnfs] MAC Security NFS Modes of Operation
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Apr 2011 19:24:50 -0000

On Fri, Apr 15, 2011 at 2:22 PM, Thomas Haynes <thomas@netapp.com> wrote:
> I'd have to question why someone would go to all of the trouble
> of implementing LNFS on the client and server, setting up a DOI,
> and then not using RPCSEC_GSSv3.
> It implies to me either that RPCSEC_GSSv3 is too heavy and hard
> to implement or that there is a fundamental issue with
> RPCSEC_GSSv3.
> I'd really like to know why someone would not want RPCSEC_GSSv3
> before I'd want to consider alternate methods of communicating the
> subject label.
> Also, if the client could have one-and-only one subject label, then
> I don't see why it would be needed to be communicated via LNFS.
> That falls into the provenance of the security system determining
> the subject label. Unless of course the aim is to only have port 2049
> open in a firewall and there is no other way for the client to
> convey that information to the server.

+1

From david.black@emc.com  Fri Apr 15 12:52:58 2011
Return-Path: <david.black@emc.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 771EEE06C2 for <nfsv4@ietfc.amsl.com>; Fri, 15 Apr 2011 12:52:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.599
X-Spam-Level: 
X-Spam-Status: No, score=-106.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MALZ+eJZNvuk for <nfsv4@ietfc.amsl.com>; Fri, 15 Apr 2011 12:52:57 -0700 (PDT)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by ietfc.amsl.com (Postfix) with ESMTP id 68712E06A4 for <nfsv4@ietf.org>; Fri, 15 Apr 2011 12:52:57 -0700 (PDT)
Received: from hop04-l1d11-si02.isus.emc.com (HOP04-L1D11-SI02.isus.emc.com [10.254.111.55]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3FJqsaK025854 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 15 Apr 2011 15:52:54 -0400
Received: from mailhub.lss.emc.com (mailhubhoprd01.lss.emc.com [10.254.221.251]) by hop04-l1d11-si02.isus.emc.com (RSA Interceptor); Fri, 15 Apr 2011 15:52:47 -0400
Received: from mxhub15.corp.emc.com (mxhub15.corp.emc.com [128.221.56.104]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3FJpHu4008883; Fri, 15 Apr 2011 15:51:18 -0400
Received: from mx14a.corp.emc.com ([169.254.1.209]) by mxhub15.corp.emc.com ([128.221.56.104]) with mapi; Fri, 15 Apr 2011 15:51:17 -0400
From: <david.black@emc.com>
To: <nico@cryptonector.com>
Date: Fri, 15 Apr 2011 15:51:16 -0400
Thread-Topic: [nfsv4] [lnfs] MAC Security NFS Modes of Operation
Thread-Index: Acv7lvawO4Pa5BjbR0mKY2k3SZMiCwADKfIw
Message-ID: <7C4DFCE962635144B8FAE8CA11D0BF1E0417371C34@MX14A.corp.emc.com>
References: <26D34DF9-0165-46EF-87AC-82E17EA2193D@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E041721E119@MX14A.corp.emc.com> <BANLkTinLJDA2zk7gyPM2hgNT05ti64LVxg@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E0417371B80@MX14A.corp.emc.com> <BANLkTi=+fugh2YOpofqTYP8d_XpyGNCBeg@mail.gmail.com>
In-Reply-To: <BANLkTi=+fugh2YOpofqTYP8d_XpyGNCBeg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-EMM-MHVC: 1
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [lnfs] MAC Security NFS Modes of Operation
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Apr 2011 19:52:58 -0000

TmljbyB3cml0ZXM6DQoNCj4gV2h5IGNvbW11bmljYXRlIHRoZSBvbmUtYW5kLW9ubHkgc3ViamVj
dCBsYWJlbCB3aGVuIHlvdSBjYW4ganVzdCBsb29rDQo+IGl0IHVwIGluIHRoZSBzYW1lIHdheSBh
cyBpbiB0aGUgZHVtYiBjbGllbnQgLyBzbWFydCBzZXJ2ZXI/ICBJdCdzIG5vdA0KPiBsaWtlIHlv
dSBjYW4gdHJ1c3QgYW4gdW5hdXRoZW50aWNhdGVkIGNsaWVudCB0byBhc3NlcnQganVzdCBhbnkg
bGFiZWwNCj4gLS0geW91IGhhdmUgdG8gYXBwbHkgY29uc3RyYWludHMsIGFuZCBzaW5jZSB0aGUg
Y29uc3RyYWludCBtdXN0IHlpZWxkDQo+IGEgc2luZ2xlIGxhYmVsLCB3aGF0J3MgdGhlIHBvaW50
IG9mIHRoZSBjbGllbn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vdCBzZWUgYSBnb29kIHJlYXNvbiB0bw0KPiBjb21tdW5pY2F0ZSB0
aGUgY2xpZW50J3Mgc3ViamVjdCBsYWJlbCBhZnRlciB0aGF0IGluaXRpYWwgY2hlY2suDQo+IA0K
PiBXaHkgY29tbXVuaWNhdGUgdGhlIG9uZS1hbmQtb25seSBzdWJqZWN0IGxhYmVsIHdoZW4geW91
IGNhbiBqdXN0IGxvb2sNCj4gaXQgdXAgaW4gdGhlIHNhbWUgd2F5IGFzIGluIHRoZSBkdW1iIGNs
aWVudCAvIHNtYXJ0IHNlcnZlcj8gIEl0J3Mgbm90DQo+IGxpa2UgeW91IGNhbiB0cnVzdCBhbiB1
bmF1dGhlbnRpY2F0ZWQgY2xpZW50IHRvIGFzc2VydCBqdXN0IGFueSBsYWJlbA0KPiAtLSB5b3Ug
aGF2ZSB0byBhcHBseSBjb25zdHJhaW50cywgYW5kIHNpbmNlIHRoZSBjb25zdHJhaW50IG11c3Qg
eWllbGQNCj4gYSBzaW5nbGUgbGFiZWwsIHdoYXQncyB0aGUgcG9pbnQgb2YgdGhlIGNsaWVudCBh
c3NlcnRpbmcgaXQ/PyAgV2hhdCBhbQ0KPiBJIG1pc3Npbmc/DQo+IA0KPiBOaWNvDQo+IC0tDQoN
Cg==

From Tom.Haynes@netapp.com  Mon Apr 18 11:31:28 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 74DDBE0827 for <nfsv4@ietfc.amsl.com>; Mon, 18 Apr 2011 11:31:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.456
X-Spam-Level: 
X-Spam-Status: No, score=-10.456 tagged_above=-999 required=5 tests=[AWL=0.143, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zhC1v4ULGMkH for <nfsv4@ietfc.amsl.com>; Mon, 18 Apr 2011 11:31:27 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id B80D9E070A for <nfsv4@ietf.org>; Mon, 18 Apr 2011 11:31:27 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,233,1301900400"; d="scan'208";a="542143472"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 18 Apr 2011 11:31:27 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3IIVRNO001107; Mon, 18 Apr 2011 11:31:27 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 18 Apr 2011 11:31:26 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.112]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 18 Apr 2011 14:31:24 -0400
Received: from jackc1-lxp.hq.netapp.com ([10.58.63.4]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 18 Apr 2011 14:31:23 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <4DA48A76.5080305@gmail.com>
Date: Mon, 18 Apr 2011 13:31:21 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <D9ECA635-BD66-4369-915F-747AE70B4EEE@netapp.com>
References: <B637DE01-CC65-4393-8F57-3C0422E4E6AA@netapp.com>	<41be156de393c5e2948b0222230aa6e6.squirrel@webmail.eisler.com> <3D8ED82E-80F3-4B5B-8C71-088E344F47F2@netapp.com> <4DA48A76.5080305@gmail.com>
To: Dean <seattleplus@gmail.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 18 Apr 2011 18:31:24.0049 (UTC) FILETIME=[D2326010:01CBFDF6]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] Patterns: INITIALIZE or WRITE_PLUS
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Apr 2011 18:31:28 -0000

On Apr 12, 2011, at 12:23 PM, Dean wrote:

>=20
>> The following XDR uses the pattern data structure from the Enterprise =
Apps I-D
>> with READ_PLUS and WRITE_PLUS. Note that it has the complexity =
required to
>> support multiple holes.
>>=20
>> struct hole_pattern4 {
>>         offset4         hp_offset;
>>         length4         hp_blocksize;
>>         length4         hp_blockcount;
>>         length4         hp_reloff_pattern;
>>         length4         hp_reloff_blocknum;
>>         opaque          hp_pattern<>;
>> };
>=20
> I don't think we should merge the zero and pattern responses, but =
create 2 separate struct's.  With every field being 64bits, the standard =
sparse response just went from 128bits to 384bits.  A big waste for 99% =
of all use cases.



Dean,

I have some observations on that statement.

If a hole or a pattern replaces a 32K chunk of data, does it matter if =
it is 128 bits or 384 bits?

And how many holes/patterns do we expect in relationship to data?

I.e., if holes/patterns are rare, then 99% is just as rare. Is =
optimizing for
~260 bits that important?

Also, if we allow for holes, patterns, and data, is it possible for =
someone
to implement holes and not patterns?

Thanks,
Tom=

From Tom.Haynes@netapp.com  Mon Apr 18 11:39:40 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 24DB5E0869 for <nfsv4@ietfc.amsl.com>; Mon, 18 Apr 2011 11:39:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.462
X-Spam-Level: 
X-Spam-Status: No, score=-10.462 tagged_above=-999 required=5 tests=[AWL=0.136, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id S64R1Pez5vKv for <nfsv4@ietfc.amsl.com>; Mon, 18 Apr 2011 11:39:39 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id C5717E070A for <nfsv4@ietf.org>; Mon, 18 Apr 2011 11:39:38 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,233,1301900400";  d="scan'208,217";a="542145822"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 18 Apr 2011 11:39:38 -0700
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3IIdcvm023820; Mon, 18 Apr 2011 11:39:38 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 18 Apr 2011 11:39:38 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.112]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 18 Apr 2011 14:39:36 -0400
Received: from jackc1-lxp.hq.netapp.com ([10.58.63.4]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 18 Apr 2011 14:39:35 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: multipart/alternative; boundary=Apple-Mail-59-574742993
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <1302647638.25410.19.camel@lade.trondhjem.org>
Date: Mon, 18 Apr 2011 13:39:33 -0500
Message-Id: <9A5E94B5-1FD2-459C-9957-A3E97453D669@netapp.com>
References: <B637DE01-CC65-4393-8F57-3C0422E4E6AA@netapp.com> <41be156de393c5e2948b0222230aa6e6.squirrel@webmail.eisler.com> <3D8ED82E-80F3-4B5B-8C71-088E344F47F2@netapp.com> <1302636842.4801.71.camel@lade.trondhjem.org> <931BCA8E-31ED-4879-8C35-3B128FFDA368@netapp.com> <1302641651.4801.107.camel@lade.trondhjem.org> <AC18F1C1-B31A-4D45-8851-2D7A1228B2C5@netapp.com> <1302647638.25410.19.camel@lade.trondhjem.org>
To: Trond Myklebust <Trond.Myklebust@netapp.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 18 Apr 2011 18:39:35.0533 (UTC) FILETIME=[F724E1D0:01CBFDF7]
Cc: nfsv4@ietf.org
Subject: [nfsv4] Large reads and writes
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Apr 2011 18:39:40 -0000

--Apple-Mail-59-574742993
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


On Apr 12, 2011, at 5:33 PM, Trond Myklebust wrote:

> On Tue, 2011-04-12 at 16:18 -0500, Thomas Haynes wrote:
>> On Apr 12, 2011, at 3:54 PM, Trond Myklebust wrote:
>>=20
>>> On Tue, 2011-04-12 at 14:40 -0500, Thomas Haynes wrote:
>>>> On Apr 12, 2011, at 2:34 PM, Trond Myklebust wrote:
>>>>=20
>>>>>>=20
>>>>>=20
>>>>> How would any of this work in a pNFS-centric world (or have we =
replaced
>>>>> the concept of "scale out" with "scale back")?
>>>>>=20
>>>>=20
>>>>=20
>>>> Is the question the fact that the INITIALIZE operation would go to =
the MDS
>>>> and the WRITE_PLUS will go to the DS?
>>>=20
>>> (First an aside: Why do we want to replace WRITE with something that
>>> does WRITE and holes/patterned data? It sort of makes sense to =
replace
>>> READ with READ_PLUS (although probably not in a pNFS striped world)
>>> since the client doesn't know whether to expect a hole or data, but =
if
>>> it is writing data, it definitely knows what kind of information it =
is
>>> sending.
>>> IOW: I can see a need for a WRITE_PATTERNED, which does holes and
>>> patterned fill, but not WRITE_PLUS, which does holes, patterned fill =
and
>>> ordinary writes.)
>>=20
>>=20
>> The Enterprise Apps proposes 64 bit data lengths, which would cause a
>> new WRITE operation.
>=20
> Interesting... I'd be curious to see what the motivation is for =
that...
> Are there any servers out there that actually support 4GB writes =
today?
> What is the reason for wanting an atomic > 4GB write instead of just
> splitting it up?
>=20

I'm pretty sure that there are not. The Enterprise Apps I-D points to =
10G
ethernet and the future.

I wanted to pull this in simply to avoid having READ_PLUS_PLUS in
the next couple of years.


--Apple-Mail-59-574742993
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><br><div><div>On Apr 12, 2011, at 5:33 PM, Trond Myklebust =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><div>On Tue, 2011-04-12 at 16:18 -0500, Thomas Haynes =
wrote:<br><blockquote type=3D"cite">On Apr 12, 2011, at 3:54 PM, Trond =
Myklebust wrote:<br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite">On Tue, 2011-04-12 at 14:40 -0500, Thomas Haynes =
wrote:<br></blockquote></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite"><blockquote type=3D"cite">On Apr 12, 2011, at 2:34 PM, =
Trond Myklebust =
wrote:<br></blockquote></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite"><blockquote =
type=3D"cite"><br></blockquote></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite"><blockquote =
type=3D"cite"><blockquote type=3D"cite"><blockquote =
type=3D"cite"><br></blockquote></blockquote></blockquote></blockquote></bl=
ockquote><blockquote type=3D"cite"><blockquote type=3D"cite"><blockquote =
type=3D"cite"><blockquote =
type=3D"cite"><br></blockquote></blockquote></blockquote></blockquote><blo=
ckquote type=3D"cite"><blockquote type=3D"cite"><blockquote =
type=3D"cite"><blockquote type=3D"cite">How would any of this work in a =
pNFS-centric world (or have we =
replaced<br></blockquote></blockquote></blockquote></blockquote><blockquot=
e type=3D"cite"><blockquote type=3D"cite"><blockquote =
type=3D"cite"><blockquote type=3D"cite">the concept of "scale out" with =
"scale =
back")?<br></blockquote></blockquote></blockquote></blockquote><blockquote=
 type=3D"cite"><blockquote type=3D"cite"><blockquote =
type=3D"cite"><blockquote =
type=3D"cite"><br></blockquote></blockquote></blockquote></blockquote><blo=
ckquote type=3D"cite"><blockquote type=3D"cite"><blockquote =
type=3D"cite"><br></blockquote></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite"><blockquote =
type=3D"cite"><br></blockquote></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite"><blockquote type=3D"cite">Is the =
question the fact that the INITIALIZE operation would go to the =
MDS<br></blockquote></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite"><blockquote type=3D"cite">and =
the WRITE_PLUS will go to the =
DS?<br></blockquote></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote =
type=3D"cite"><br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite">(First an aside: Why do we want =
to replace WRITE with something =
that<br></blockquote></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite">does WRITE and holes/patterned data? It sort of makes =
sense to replace<br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite">READ with READ_PLUS (although =
probably not in a pNFS striped =
world)<br></blockquote></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite">since the client doesn't know whether to expect a hole or =
data, but if<br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite">it is writing data, it =
definitely knows what kind of information it =
is<br></blockquote></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite">sending.<br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite">IOW: I can see a need for a =
WRITE_PATTERNED, which does holes =
and<br></blockquote></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite">patterned fill, but not WRITE_PLUS, which does holes, =
patterned fill and<br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite">ordinary =
writes.)<br></blockquote></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite">The Enterprise =
Apps proposes 64 bit data lengths, which would cause =
a<br></blockquote><blockquote type=3D"cite">new WRITE =
operation.<br></blockquote><br>Interesting... I'd be curious to see what =
the motivation is for that...<br>Are there any servers out there that =
actually support 4GB writes today?<br>What is the reason for wanting an =
atomic &gt; 4GB write instead of just<br>splitting it up?<br><font =
class=3D"Apple-style-span" =
color=3D"#540000"><br></font></div></blockquote><br></div><div>I'm =
pretty sure that there are not. The Enterprise Apps I-D points to =
10G</div><div>ethernet and the future.</div><div><br></div><div>I wanted =
to pull this in simply to avoid having READ_PLUS_PLUS in</div><div>the =
next couple of years.</div><br></body></html>=

--Apple-Mail-59-574742993--

From Tom.Haynes@netapp.com  Mon Apr 18 11:57:24 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 064EAE086F for <nfsv4@ietfc.amsl.com>; Mon, 18 Apr 2011 11:57:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.468
X-Spam-Level: 
X-Spam-Status: No, score=-10.468 tagged_above=-999 required=5 tests=[AWL=0.131, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SVVsVJDQJ0UW for <nfsv4@ietfc.amsl.com>; Mon, 18 Apr 2011 11:57:23 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id 1A900E0867 for <nfsv4@ietf.org>; Mon, 18 Apr 2011 11:57:23 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,234,1301900400"; d="scan'208";a="542150761"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 18 Apr 2011 11:57:21 -0700
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3IIvLx7007983 for <nfsv4@ietf.org>; Mon, 18 Apr 2011 11:57:21 -0700 (PDT)
Received: from rtprsexc2-prd.hq.netapp.com ([10.100.161.115]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 18 Apr 2011 11:57:21 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.112]) by rtprsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 18 Apr 2011 14:57:19 -0400
Received: from niraj-lxp.hq.netapp.com ([10.58.63.4]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 18 Apr 2011 14:57:19 -0400
From: Thomas Haynes <thomas@netapp.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Date: Mon, 18 Apr 2011 13:57:17 -0500
Message-Id: <5B1D4C4C-5279-421A-9DC4-E2C9E8B2724F@netapp.com>
To: nfsv4@ietf.org
Mime-Version: 1.0 (Apple Message framework v1084)
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 18 Apr 2011 18:57:19.0564 (UTC) FILETIME=[715B20C0:01CBFDFA]
Subject: [nfsv4] Some discussion items for the sparse I/O in NFSv4.2 I-D
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Apr 2011 18:57:24 -0000

In the Thursday meeting, I'm going to want to settle these open issues:

Assumptions:
------------

1) Creating a pattern is a rare occurrence.

2) Pattern punching is a rare occurrence.

Issues:
-------

1) Do we want to be able to set/get an array of patterns/holes?

We can return a short read whenever we have a transition from
pattern to data.

If we store multiple patterns, then we change this to state
we also return a short read when we transition from pattern
A to pattern B.

NOTE: I think I am the only proponent of the array idea.
Both Dean (in his I-D) and David Black have expressed
the short read approach.

2) If a pattern extends past the requested read size, do we
return all of the pattern or just up to the requested size?

In this case, it might be of benefit to return to the client
that the pattern extends much farther.

3) Likewise, if a read starts after the beginning of the
pattern, do we return the start of the pattern or the
start of the request?

Note that with a repeating pattern (i.e., without the
enterprise app logical blocks), this is easy to
accomplish. With the logical blocks, we either have to
align on those blocks or mandate that the client has to
handle getting back a pattern which can start before
the requested range.

4) Do we want to limit a file to a single pattern?

We would have to add complexity to enforce this within
the protocol. And as the server needs to already be
prepared to store multiple patterns per file, it
already encompasses the complexity needed to store
multiple patterns.

5) Do we want to discuss minimum pattern size?

I.e., "Hole Threshold" in the current draft.

This sounds like a server implementation issue.

What needs to happen is that we stress that all writes
are advisory and the server decides whether to store
a pattern as a pattern or as data. The client should never
expect a read to return a pattern instead of data.

6) We've had a proposal to have the union represent
patterns, holes, and data.

We can handle the complexity in the XDR, but does this
open the door for an implementation
to not handle all 3 cases?

7) Does the pattern only occur once in the block or
at every location?

Every location.

8) In the pNFS case, do the pattern writes go to the
DS or the MDS?

The patterns are metadata information.

If we state that WRITE_PATTERN goes to the MDS, then
we avoid the issue of the DS having to communicate
patterns back to the MDS. We are still in the situation
that the MDS needs to communicate holes to the DSes.

8A) If the writes go to the MDS, should this cause
layouts to be recalled? I.e., is this a subset of
async I/O to the MDS?

8B) Are there race conditions between the MDS getting
pattern writes and the DS getting data writes?

9) Do we want to allow a PATTERN_MAP operation which
would allow a client to see where patterns occur versus
data?

Note: If we supply this functionality, it becomes
trivial for the DSes to call a similar function on
the Control Protocol. But then again, this is an
implementation consideration. :->

10) We need to explicitly call out what happens if
a NFSv4.x, NFSv3, or NFSv2 READ encounters a pattern.

I.e., data is returned.

If the client wants a shot at getting the pattern, it
needs to invoke READ_PLUS.

11) Do we want to support large reads and writes?


From Tom.Haynes@netapp.com  Mon Apr 18 14:31:42 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id C77BCE0786 for <nfsv4@ietfc.amsl.com>; Mon, 18 Apr 2011 14:31:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.473
X-Spam-Level: 
X-Spam-Status: No, score=-10.473 tagged_above=-999 required=5 tests=[AWL=0.125, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qq3CgDs2BhmZ for <nfsv4@ietfc.amsl.com>; Mon, 18 Apr 2011 14:31:41 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id 34F2EE07B0 for <nfsv4@ietf.org>; Mon, 18 Apr 2011 14:31:41 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,235,1301900400";  d="scan'208,217";a="542183273"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 18 Apr 2011 14:05:19 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3IL5IHm014560; Mon, 18 Apr 2011 14:05:19 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 18 Apr 2011 14:05:19 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.112]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 18 Apr 2011 17:05:17 -0400
Received: from jackc1-lxp.hq.netapp.com ([10.58.63.4]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 18 Apr 2011 17:05:16 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: multipart/alternative; boundary=Apple-Mail-65-583484777
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <7C4DFCE962635144B8FAE8CA11D0BF1E0417371C34@MX14A.corp.emc.com>
Date: Mon, 18 Apr 2011 16:05:15 -0500
Message-Id: <2861E5A6-5BA2-4201-984E-D6377DB9B0A0@netapp.com>
References: <26D34DF9-0165-46EF-87AC-82E17EA2193D@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E041721E119@MX14A.corp.emc.com> <BANLkTinLJDA2zk7gyPM2hgNT05ti64LVxg@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E0417371B80@MX14A.corp.emc.com> <BANLkTi=+fugh2YOpofqTYP8d_XpyGNCBeg@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E0417371C34@MX14A.corp.emc.com>
To: "<david.black@emc.com>" <david.black@emc.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 18 Apr 2011 21:05:16.0611 (UTC) FILETIME=[513B8930:01CBFE0C]
Cc: nico@cryptonector.com, nfsv4@ietf.org
Subject: Re: [nfsv4] [lnfs] MAC Security NFS Modes of Operation
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Apr 2011 21:31:42 -0000

--Apple-Mail-65-583484777
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


On Apr 15, 2011, at 2:51 PM, <david.black@emc.com> <david.black@emc.com> =
wrote:

> Nico writes:
>=20
>> Why communicate the one-and-only subject label when you can just look
>> it up in the same way as in the dumb client / smart server?  It's not
>> like you can trust an unauthenticated client to assert just any label
>> -- you have to apply constraints, and since the constraint must yield
>> a single label, what's the point of the client asserting it??  What =
am
>> I missing?
>=20
> Suppose server lookup yields label A for the client, but the client =
asserts
> label B.  That's not a good situation to ignore - something is wrong =
that
> needs the security admin's attention (and security policy could =
prohibit
> that client's access until this situation is corrected, as opposed to =
allowing
> that client access with subject label A).  The difference here is that =
the
> dumb client can't do anything MAC-aware, whereas the smart client can, =
and
> inconsistent application of MAC is not good.
>=20


By smart client, you mean one which has implemented the security system
for the DOI and can speak LNFS. In this case, if the client asserts =
label
B, it can just as easily convey that information to the process which
hands out the information in the dumb client/smart server approach.

I think we need to be very careful here in realizing we are a transport
mechanism and not part of the security system. If the server has a
security policy in place to disallow clients who yield a different label
than their own lookup, then that policy should trump our decision.

Isn't it a maxim in security that when in doubt, deny access?

As a matter of fact, we make no MAC decisions at all, that is all
passed into the security layer.

BTW - what would happen in the case that a smart client asserted label
B by this mechanism, but was also using RPCSEC_GSSv3 and it
asserted label C?

We can avoid all of these issues if we stay with the very simple
requirement that if the smart client wants to provide a subject label, =
it
does so through RPCSEC_GSSv3.


> While the security admin is supposed to be careful to get the MAC =
policy
> configured correctly and consistently everywhere, to err is human,
> and this extra check can help catch a config mismatch.


I think someone who can't access data will be a very good extra
check for a config mismatch and will quickly inform the server
admin.

The argument being presented here has a precedent in the
export model most servers implement. If I deploy a new client,
I don't look to it to see if it is allowed access. If it is not allowed
access via an export policy, it does not get access. And users
on that client will be very diligent in filing a helpdesk ticket to
get the policy corrected.


>=20
> The "unauthenticated" statement is correct - one can't just trust the
> subject label.  This is a configuration check - if the client's not
> doing what it's supposed to be doing (based on subject label), go
> get (admin) help.  In addition, there will be other restrictions - if
> the network is not otherwise secured against man-in-the-middle =
attacks,
> this could be a denial-of-service vector that requires something else
> (e.g., IPsec, older version of RPCSEC_GSS) to protect it.


Why require an older version of RPCSEC_GSS and not the one designed
to provide a secure subject label?



>=20
> Beyond that (at the risk of opening a Pandora's box), I believe Sorin
> has mentioned the notion of a server "reinforcing" smart client MAC -
> this could take the form of a partially smart server (e.g., that =
enforces
> coarser grain MAC policy/controls by comparison to the finer grain
> complete MAC policy/controls on the clients).


Again, I think we need to separate designing the transport layer from
designing a security system.

Subject label is provided via RPCSEC_GSSv3.
Object label is provided via LNFS.

All defaults are handled by the implementation of the security system.



>=20
> Tom writes:
>=20
>> It implies to me either that RPCSEC_GSSv3 is too heavy and hard to
>> implement or that there is a fundamental issue with RPCSEC_GSSv3.
>=20
> The former - I'm anticipating implementation concerns.
>=20


Then we address them.

I would rather we focus on making RPCSEC_GSSv3 a good design
that people will want to implement rather than to compromise the
design for LNFS.


> Thanks,
> --David
>=20


--Apple-Mail-65-583484777
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><br><div><div>On Apr 15, 2011, at 2:51 PM, &lt;<a =
href=3D"mailto:david.black@emc.com">david.black@emc.com</a>&gt; &lt;<a =
href=3D"mailto:david.black@emc.com">david.black@emc.com</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><div>Nico writes:<br><br><blockquote type=3D"cite">Why =
communicate the one-and-only subject label when you can just =
look<br></blockquote><blockquote type=3D"cite">it up in the same way as =
in the dumb client / smart server? &nbsp;It's =
not<br></blockquote><blockquote type=3D"cite">like you can trust an =
unauthenticated client to assert just any =
label<br></blockquote><blockquote type=3D"cite">-- you have to apply =
constraints, and since the constraint must =
yield<br></blockquote><blockquote type=3D"cite">a single label, what's =
the point of the client asserting it?? &nbsp;What =
am<br></blockquote><blockquote type=3D"cite">I =
missing?<br></blockquote><br>Suppose server lookup yields label A for =
the client, but the client asserts<br>label B. &nbsp;That's not a good =
situation to ignore - something is wrong that<br>needs the security =
admin's attention (and security policy could prohibit<br>that client's =
access until this situation is corrected, as opposed to allowing<br>that =
client access with subject label A). &nbsp;The difference here is that =
the<br>dumb client can't do anything MAC-aware, whereas the smart client =
can, and<br>inconsistent application of MAC is not =
good.<br><br></div></blockquote><div><br></div><div><br></div><div>By =
smart client, you mean one which has implemented the security =
system</div><div>for the DOI and can speak LNFS. In this case, if the =
client asserts label</div><div>B, it can just as easily convey that =
information to the process which</div><div>hands out the information in =
the dumb client/smart server approach.</div><div><br></div><div>I think =
we need to be very careful here in realizing we are a =
transport</div><div>mechanism and not part of the security system. If =
the server has a</div><div>security policy in place to disallow clients =
who yield a different label</div><div>than their own lookup, then that =
policy should trump our decision.</div><div><br></div><div>Isn't it a =
maxim in security that when in doubt, deny =
access?</div><div><br></div><div>As a matter of fact, we make no MAC =
decisions at all, that is all</div><div>passed into the security =
layer.</div><div><br></div><div>BTW - what would happen in the case that =
a smart client asserted label</div><div>B by this mechanism, but was =
also using RPCSEC_GSSv3 and it</div><div>asserted label =
C?</div><div><br></div><div>We can avoid all of these issues if we stay =
with the very simple</div><div>requirement that if the smart client =
wants to provide a subject label, it</div><div>does so =
through&nbsp;RPCSEC_GSSv3.</div><div><br></div><br><blockquote =
type=3D"cite"><div>While the security admin is supposed to be careful to =
get the MAC policy<br>configured correctly and consistently everywhere, =
to err is human,<br>and this extra check can help catch a config =
mismatch.<br></div></blockquote><div><br></div><div><br></div><div>I =
think someone who can't access data will be a very good =
extra</div><div>check for a config mismatch and will quickly inform the =
server</div><div>admin.</div><div><br></div><div>The argument being =
presented here has a precedent in the</div><div>export model most =
servers implement. If I deploy a new client,</div><div>I don't look to =
it to see if it is allowed access. If it is not allowed</div><div>access =
via an export policy, it does not get access. And users</div><div>on =
that client will be very diligent in filing a helpdesk ticket =
to</div><div>get the policy =
corrected.</div><div><br></div><br><blockquote type=3D"cite"><div><br>The =
"unauthenticated" statement is correct - one can't just trust =
the<br>subject label. &nbsp;This is a configuration check - if the =
client's not<br>doing what it's supposed to be doing (based on subject =
label), go<br>get (admin) help. &nbsp;In addition, there will be other =
restrictions - if<br>the network is not otherwise secured against =
man-in-the-middle attacks,<br>this could be a denial-of-service vector =
that requires something else<br>(e.g., IPsec, older version of =
RPCSEC_GSS) to protect =
it.<br></div></blockquote><div><br></div><div><br></div><div>Why require =
an older version of RPCSEC_GSS and not the one designed</div><div>to =
provide a secure subject =
label?</div><div><br></div><div><br></div><br><blockquote =
type=3D"cite"><div><br>Beyond that (at the risk of opening a Pandora's =
box), I believe Sorin<br>has mentioned the notion of a server =
"reinforcing" smart client MAC -<br>this could take the form of a =
partially smart server (e.g., that enforces<br>coarser grain MAC =
policy/controls by comparison to the finer grain<br>complete MAC =
policy/controls on the =
clients).<br></div></blockquote><div><br></div><div><br></div><div>Again, =
I think we need to separate designing the transport layer =
from</div><div>designing a security =
system.</div><div><br></div><div>Subject label is provided via =
RPCSEC_GSSv3.</div><div>Object label is provided via =
LNFS.</div><div><br></div><div>All defaults are handled by the =
implementation of the security =
system.</div><div><br></div><div><br></div><br><blockquote =
type=3D"cite"><div><br>Tom writes:<br><br><blockquote type=3D"cite">It =
implies to me either that RPCSEC_GSSv3 is too heavy and hard =
to<br></blockquote><blockquote type=3D"cite">implement or that there is =
a fundamental issue with RPCSEC_GSSv3.<br></blockquote><br>The former - =
I'm anticipating implementation =
concerns.<br><br></div></blockquote><div><br></div><div><br></div><div>The=
n we address them.</div><div><br></div></div><div><div>I would rather we =
focus on making RPCSEC_GSSv3 a good design</div><div>that people will =
want to implement rather&nbsp;than to compromise the</div><div>design =
for LNFS.</div><div><br></div><br><blockquote =
type=3D"cite"><div>Thanks,<br>--David<br><font class=3D"Apple-style-span" =
color=3D"#006312"><br></font></div></blockquote></div><br></body></html>=

--Apple-Mail-65-583484777--

From Tom.Haynes@netapp.com  Mon Apr 18 15:09:59 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 8FBAAE06E3 for <nfsv4@ietfc.amsl.com>; Mon, 18 Apr 2011 15:09:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.477
X-Spam-Level: 
X-Spam-Status: No, score=-10.477 tagged_above=-999 required=5 tests=[AWL=0.121, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Oz5oeVoeZKRz for <nfsv4@ietfc.amsl.com>; Mon, 18 Apr 2011 15:09:59 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id A66D2E06A4 for <nfsv4@ietf.org>; Mon, 18 Apr 2011 15:09:58 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,235,1301900400";  d="scan'208,217";a="542197400"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 18 Apr 2011 15:09:58 -0700
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3IM9wO4013101 for <nfsv4@ietf.org>; Mon, 18 Apr 2011 15:09:58 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 18 Apr 2011 15:09:57 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.112]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 18 Apr 2011 18:09:56 -0400
Received: from niraj-lxp.hq.netapp.com ([10.58.63.4]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 18 Apr 2011 18:09:56 -0400
From: Thomas Haynes <thomas@netapp.com>
Content-Type: multipart/alternative; boundary=Apple-Mail-66-587363936
Date: Mon, 18 Apr 2011 17:09:54 -0500
References: <20110418220503.956B8E0862@ietfc.amsl.com>
To: nfsv4@ietf.org
Message-Id: <CAE2A71D-2573-4107-A82D-94F00D662A0A@netapp.com>
Mime-Version: 1.0 (Apple Message framework v1084)
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 18 Apr 2011 22:09:56.0533 (UTC) FILETIME=[59D8A650:01CBFE15]
Subject: [nfsv4] Fwd: New Version Notification for draft-haynes-nfsv4-minorversion2-01
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Apr 2011 22:09:59 -0000

--Apple-Mail-66-587363936
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

This version incorporates the changes to the LAYOUT_RETURN error =
handling
for files, and potentially blocks. It also has the sparse file changes =
per Dean.


Begin forwarded message:

> From: IETF I-D Submission Tool <idsubmission@ietf.org>
> Date: April 18, 2011 5:05:03 PM CDT
> To: thomas@netapp.com
> Subject: New Version Notification for =
draft-haynes-nfsv4-minorversion2-01=20
>=20
>=20
> A new version of I-D, draft-haynes-nfsv4-minorversion2-01.txt has been =
successfully submitted by Thomas Haynes and posted to the IETF =
repository.
>=20
> Filename:	 draft-haynes-nfsv4-minorversion2
> Revision:	 01
> Title:		 NFS Version 4 Minor Version 2
> Creation_date:	 2011-04-18
> WG ID:		 Independent Submission
> Number_of_pages: 63
>=20
> Abstract:
> This Internet-Draft describes NFS version 4 minor version two,
> focusing mainly on the protocol extensions made from NFS version 4
> minor version 0 and NFS version 4 minor version 1.  Major extensions
> introduced in NFS version 4 minor version two include: Server-side
> Copy, Space Reservations, and Support for Sparse Files.
>=20
>=20
>=20
> The IETF Secretariat.
>=20
>=20


--Apple-Mail-66-587363936
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">This =
version incorporates the changes to the LAYOUT_RETURN error =
handling<div>for files, and potentially blocks. It also has the sparse =
file changes per Dean.</div><div><br><div><br><div>Begin forwarded =
message:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px;"><span =
style=3D"font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, =
1);"><b>From: </b></span><span style=3D"font-family:'Helvetica'; =
font-size:medium;">IETF I-D Submission Tool &lt;<a =
href=3D"mailto:idsubmission@ietf.org">idsubmission@ietf.org</a>&gt;<br></s=
pan></div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px;"><span =
style=3D"font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, =
1);"><b>Date: </b></span><span style=3D"font-family:'Helvetica'; =
font-size:medium;">April 18, 2011 5:05:03 PM CDT<br></span></div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px;"><span style=3D"font-family:'Helvetica'; =
font-size:medium; color:rgba(0, 0, 0, 1);"><b>To: </b></span><span =
style=3D"font-family:'Helvetica'; font-size:medium;"><a =
href=3D"mailto:thomas@netapp.com">thomas@netapp.com</a><br></span></div><d=
iv style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px;"><span style=3D"font-family:'Helvetica'; =
font-size:medium; color:rgba(0, 0, 0, 1);"><b>Subject: </b></span><span =
style=3D"font-family:'Helvetica'; font-size:medium;"><b>New Version =
Notification for draft-haynes-nfsv4-minorversion2-01 =
</b><br></span></div><br><div><br>A new version of I-D, =
draft-haynes-nfsv4-minorversion2-01.txt has been successfully submitted =
by Thomas Haynes and posted to the IETF =
repository.<br><br>Filename:<span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span> =
draft-haynes-nfsv4-minorversion2<br>Revision:<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	</span> =
01<br>Title:<span class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span><span class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span> NFS Version 4 Minor Version 2<br>Creation_date:<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	</span> =
2011-04-18<br>WG ID:<span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span><span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span> Independent =
Submission<br>Number_of_pages: 63<br><br>Abstract:<br>This =
Internet-Draft describes NFS version 4 minor version two,<br>focusing =
mainly on the protocol extensions made from NFS version 4<br>minor =
version 0 and NFS version 4 minor version 1. &nbsp;Major =
extensions<br>introduced in NFS version 4 minor version two include: =
Server-side<br>Copy, Space Reservations, and Support for Sparse =
Files.<br><br><br><br>The IETF =
Secretariat.<br><br><br></div></blockquote></div><br></div></body></html>=

--Apple-Mail-66-587363936--

From seattleplus@gmail.com  Mon Apr 18 23:35:54 2011
Return-Path: <seattleplus@gmail.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id C15B4E0680 for <nfsv4@ietfc.amsl.com>; Mon, 18 Apr 2011 23:35:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rgzI6SHFsmRq for <nfsv4@ietfc.amsl.com>; Mon, 18 Apr 2011 23:35:54 -0700 (PDT)
Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.212.182]) by ietfc.amsl.com (Postfix) with ESMTP id 0667FE0665 for <nfsv4@ietf.org>; Mon, 18 Apr 2011 23:35:53 -0700 (PDT)
Received: by pxi20 with SMTP id 20so3860622pxi.27 for <nfsv4@ietf.org>; Mon, 18 Apr 2011 23:35:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=T/3BTi63JefptjGjf7Y78zdhZ1XePqKjWFJMZrOHPBQ=; b=yHXOnjPqnd/dmyYj2TSqBNP+AQ+10v7SaNUCR6sdma/l9RjdpqgaVv/GyVv9jmZwIA YSbl0WhbeIr4AQbwf/w+/y79MjSwZq4L3kuCULf9Xf/BZKlrfyHGA0RGvM/Eock2qSzA UtLvsQLHUeiMjAjKBmxGP16/FEoEpE/n/bLGE=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=AM+NizvIE2+Sub7/TCaAou5ar1ft7eXFSwbUmr79mXpPb/hQk3f0dRuxIx85SDath2 V3QRnTz9R7k3DZZOaAlLhSMjks4lQiAmn/+461eZcMfOD/nuR3D53s6Xm2CrfLXbHJEy R3zAaP5WKs2N0WMZz3sBT4GvLsAXDYcNNOmks=
Received: by 10.142.55.16 with SMTP id d16mr1699355wfa.27.1303194953470; Mon, 18 Apr 2011 23:35:53 -0700 (PDT)
Received: from rockmac.ftrdhcpuser.net (pool-71-112-77-159.sttlwa.dsl-w.verizon.net [71.112.77.159]) by mx.google.com with ESMTPS id z10sm8522884wfj.12.2011.04.18.23.35.48 (version=SSLv3 cipher=OTHER); Mon, 18 Apr 2011 23:35:52 -0700 (PDT)
Message-ID: <4DAD2D3F.6030107@gmail.com>
Date: Mon, 18 Apr 2011 23:35:43 -0700
From: Dean <seattleplus@gmail.com>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9
MIME-Version: 1.0
To: Thomas Haynes <thomas@netapp.com>
References: <B637DE01-CC65-4393-8F57-3C0422E4E6AA@netapp.com>	<41be156de393c5e2948b0222230aa6e6.squirrel@webmail.eisler.com> <3D8ED82E-80F3-4B5B-8C71-088E344F47F2@netapp.com> <4DA48A76.5080305@gmail.com> <D9ECA635-BD66-4369-915F-747AE70B4EEE@netapp.com>
In-Reply-To: <D9ECA635-BD66-4369-915F-747AE70B4EEE@netapp.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] Patterns: INITIALIZE or WRITE_PLUS
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Apr 2011 06:35:54 -0000

On 4/18/11 11:31 AM, Thomas Haynes wrote:
> On Apr 12, 2011, at 12:23 PM, Dean wrote:
>
>>> The following XDR uses the pattern data structure from the Enterprise Apps I-D
>>> with READ_PLUS and WRITE_PLUS. Note that it has the complexity required to
>>> support multiple holes.
>>>
>>> struct hole_pattern4 {
>>>          offset4         hp_offset;
>>>          length4         hp_blocksize;
>>>          length4         hp_blockcount;
>>>          length4         hp_reloff_pattern;
>>>          length4         hp_reloff_blocknum;
>>>          opaque          hp_pattern<>;
>>> };
>> I don't think we should merge the zero and pattern responses, but create 2 separate struct's.  With every field being 64bits, the standard sparse response just went from 128bits to 384bits.  A big waste for 99% of all use cases.
>
>
> Dean,
>
> I have some observations on that statement.
>
> If a hole or a pattern replaces a 32K chunk of data, does it matter if it is 128 bits or 384 bits?
Its a good point, but it is still tripling the amount of data that could 
have been sent in the zero sparse case.
> And how many holes/patterns do we expect in relationship to data?
Well, I guess every sparse file is unique in its own way.  For VMs for 
example, it is dependent on how much data is in the image and the file 
system's allocation algorithm, but VMWare claims that customers regain 
up to 40% of their disk space when they switch to thin provisioned disk 
images.  So I guess a 2:3 ratio of hole to data is not unreasonable.
> I.e., if holes/patterns are rare, then 99% is just as rare. Is optimizing for
> ~260 bits that important?
Not sure if you are saying that sparse files are rare or if the number 
of holes in a sparse file are few?  If the latter, in one OS disk image 
we analyzed, it had over 10000 holes in its first 12GBs (can't remember 
the min size, at least 4K).
> Also, if we allow for holes, patterns, and data, is it possible for someone
> to implement holes and not patterns?
I'll let the community decide this one.
Dean
> Thanks,
> Tom

From Tom.Haynes@netapp.com  Tue Apr 19 08:53:47 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 30CECE06BE for <nfsv4@ietfc.amsl.com>; Tue, 19 Apr 2011 08:53:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.482
X-Spam-Level: 
X-Spam-Status: No, score=-10.482 tagged_above=-999 required=5 tests=[AWL=0.117, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c-oIL0gphrG0 for <nfsv4@ietfc.amsl.com>; Tue, 19 Apr 2011 08:53:46 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id 1BE42E0691 for <nfsv4@ietf.org>; Tue, 19 Apr 2011 08:53:45 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,240,1301900400"; d="scan'208";a="542363493"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 19 Apr 2011 08:53:30 -0700
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3JFrULV011420; Tue, 19 Apr 2011 08:53:30 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 19 Apr 2011 08:53:30 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.112]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 19 Apr 2011 11:53:29 -0400
Received: from niraj-lxp.hq.netapp.com ([10.58.63.4]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 19 Apr 2011 11:53:28 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <4DAD2D3F.6030107@gmail.com>
Date: Tue, 19 Apr 2011 10:53:26 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <16CC3EFE-A0EC-48D1-B46C-47D25EAFDF59@netapp.com>
References: <B637DE01-CC65-4393-8F57-3C0422E4E6AA@netapp.com>	<41be156de393c5e2948b0222230aa6e6.squirrel@webmail.eisler.com> <3D8ED82E-80F3-4B5B-8C71-088E344F47F2@netapp.com> <4DA48A76.5080305@gmail.com> <D9ECA635-BD66-4369-915F-747AE70B4EEE@netapp.com> <4DAD2D3F.6030107@gmail.com>
To: Dean <seattleplus@gmail.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 19 Apr 2011 15:53:28.0798 (UTC) FILETIME=[ECEB8FE0:01CBFEA9]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] Patterns: INITIALIZE or WRITE_PLUS
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Apr 2011 15:53:47 -0000

On Apr 19, 2011, at 1:35 AM, Dean wrote:

>=20
>=20
> On 4/18/11 11:31 AM, Thomas Haynes wrote:
>> On Apr 12, 2011, at 12:23 PM, Dean wrote:
>>=20
>>>> The following XDR uses the pattern data structure from the =
Enterprise Apps I-D
>>>> with READ_PLUS and WRITE_PLUS. Note that it has the complexity =
required to
>>>> support multiple holes.
>>>>=20
>>>> struct hole_pattern4 {
>>>>         offset4         hp_offset;
>>>>         length4         hp_blocksize;
>>>>         length4         hp_blockcount;
>>>>         length4         hp_reloff_pattern;
>>>>         length4         hp_reloff_blocknum;
>>>>         opaque          hp_pattern<>;
>>>> };
>>> I don't think we should merge the zero and pattern responses, but =
create 2 separate struct's.  With every field being 64bits, the standard =
sparse response just went from 128bits to 384bits.  A big waste for 99% =
of all use cases.
>>=20
>>=20
>> Dean,
>>=20
>> I have some observations on that statement.
>>=20
>> If a hole or a pattern replaces a 32K chunk of data, does it matter =
if it is 128 bits or 384 bits?
> Its a good point, but it is still tripling the amount of data that =
could have been sent in the zero sparse case.
>> And how many holes/patterns do we expect in relationship to data?
> Well, I guess every sparse file is unique in its own way.  For VMs for =
example, it is dependent on how much data is in the image and the file =
system's allocation algorithm, but VMWare claims that customers regain =
up to 40% of their disk space when they switch to thin provisioned disk =
images.  So I guess a 2:3 ratio of hole to data is not unreasonable.
>> I.e., if holes/patterns are rare, then 99% is just as rare. Is =
optimizing for
>> ~260 bits that important?
> Not sure if you are saying that sparse files are rare or if the number =
of holes in a sparse file are few? =20


I would have been stating that holes per file are rare.


> If the latter, in one OS disk image we analyzed, it had over 10000 =
holes in its first 12GBs (can't remember the min size, at least 4K).

Thanks for the data.

What OS and how did they represent data?



>> Also, if we allow for holes, patterns, and data, is it possible for =
someone
>> to implement holes and not patterns?
> I'll let the community decide this one.


And that would be a non-compliant NFSv4.2 implementation.



> Dean
>> Thanks,
>> Tom


From david.black@emc.com  Tue Apr 19 09:13:58 2011
Return-Path: <david.black@emc.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 9E3C4E07B0 for <nfsv4@ietfc.amsl.com>; Tue, 19 Apr 2011 09:13:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.599
X-Spam-Level: 
X-Spam-Status: No, score=-106.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ac+HC4NttmDj for <nfsv4@ietfc.amsl.com>; Tue, 19 Apr 2011 09:13:58 -0700 (PDT)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by ietfc.amsl.com (Postfix) with ESMTP id EE189E07B9 for <nfsv4@ietf.org>; Tue, 19 Apr 2011 09:13:47 -0700 (PDT)
Received: from hop04-l1d11-si03.isus.emc.com (HOP04-L1D11-SI03.isus.emc.com [10.254.111.23]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3JGDl6x010512 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 19 Apr 2011 12:13:47 -0400
Received: from mailhub.lss.emc.com (mailhubhoprd03.lss.emc.com [10.254.221.145]) by hop04-l1d11-si03.isus.emc.com (RSA Interceptor); Tue, 19 Apr 2011 12:13:39 -0400
Received: from mxhub19.corp.emc.com (mxhub19.corp.emc.com [10.254.93.48]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3JGBhpH028186; Tue, 19 Apr 2011 12:11:43 -0400
Received: from mx14a.corp.emc.com ([169.254.1.209]) by mxhub19.corp.emc.com ([10.254.93.48]) with mapi; Tue, 19 Apr 2011 12:11:43 -0400
From: <david.black@emc.com>
To: <bhalevy@panasas.com>
Date: Tue, 19 Apr 2011 12:11:42 -0400
Thread-Topic: [nfsv4] LAYOUTCOMMIT byte range
Thread-Index: Acvy5oTZLBaaAcm6Q3eYB6mabNQj1QLxXOXg
Message-ID: <7C4DFCE962635144B8FAE8CA11D0BF1E0417372082@MX14A.corp.emc.com>
References: <4D9360FB.3080500@panasas.com> <1CA7A4FB0210BC4BAD393DB029071C0F089B45AA62@us-ex-mbx1.terastack.bluearc.com> <AANLkTimFYZu1ppxONL+5JTAsEHmEcxuxeq0u1sF-s6Jz@mail.gmail.com> <1CA7A4FB0210BC4BAD393DB029071C0F089B45AA7C@us-ex-mbx1.terastack.bluearc.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DD5@MX14A.corp.emc.com> <4D99F357.6000100@panasas.com>
In-Reply-To: <4D99F357.6000100@panasas.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-EMM-MHVC: 1
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] LAYOUTCOMMIT byte range
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Apr 2011 16:13:58 -0000

Based on this message, it looks like the right way forward is to deprecate =
loca_offset and loca_length in the LAYOUTCOMMIT arguments, because:

- loca_last_write_offset will remain to handle EOF update.
- The file and object layouts commit the entire file or object.
- The block layout passes the ranges to commit in its layout-dependent argu=
ments.

Thanks,
--David

> -----Original Message-----
> From: Benny Halevy [mailto:bhalevy@panasas.com]
> Sent: Monday, April 04, 2011 12:36 PM
> To: Black, David
> Cc: skaura@bluearc.com; iisaman@citi.umich.edu; nfsv4@ietf.org
> Subject: Re: [nfsv4] LAYOUTCOMMIT byte range
>=20
> On 2011-04-04 08:41, david.black@emc.com wrote:
> >>> Also note that Benny is talking about deprecating loca_offset and
> >>> loca_length, the thing you seem to care about is
> >>> loca_last_write_offset, which is not affected
> >>
> >> Sounds okay but would like to understand the details prior to
> >> commenting on this part.
> >>
> >> Questions: Will the client send LAYOUTCOMMIT to servers supporting
> >> file layout in the current errata?
> >
> > Yes - There should be no change to the carefully worked out
> > requirements in the current errata for when LAYOUTCOMMIT has to be
> > used with the pNFS file layout.
> >
> >> I think if we deprecate loca_offset and loca_length the checks for,
> >> loca_last_write_offset MUST overlap the range described by
> >> loca_offset and loca_length need to be removed. There is more text
> >> in rfc 5661 pertaining to mentioned fields up for deprecation.
> >
> > Yes, it would be necessary to remove/rewrite all text referring to
> > deprecated fields as part of deprecating them.  Removing those checks
> > is one of the things I like about Benny's suggestion.
> >
>=20
> In addition, since loca_last_write_offset is currently optional we may
> want to mandate it when client wrote to the file via pNFS and did not
> get FILE_SYNC (with the file layout).
>=20
> loca_offset, loca_length were never meant to be used for determining
> the file length.
>=20
> > The overall result would be that for the pNFS block layout, the
> > server iterates through the layout-specific extents to figure out
> > what to do, but both the pNFS file and object layouts effectively do
> > LAYOUTCOMMIT on the entire file.
>=20
> Agreed,
>=20
> Benny
>=20
> >
> > Thanks, --David
> >


From sshepler@microsoft.com  Tue Apr 19 09:40:52 2011
Return-Path: <sshepler@microsoft.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 1E75DE0793 for <nfsv4@ietfc.amsl.com>; Tue, 19 Apr 2011 09:40:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Y58eE-NFDpCN for <nfsv4@ietfc.amsl.com>; Tue, 19 Apr 2011 09:40:51 -0700 (PDT)
Received: from smtp.microsoft.com (mailc.microsoft.com [131.107.115.214]) by ietfc.amsl.com (Postfix) with ESMTP id 1A1C2E0691 for <nfsv4@ietf.org>; Tue, 19 Apr 2011 09:40:51 -0700 (PDT)
Received: from TK5EX14HUBC107.redmond.corp.microsoft.com (157.54.80.67) by TK5-EXGWY-E803.partners.extranet.microsoft.com (10.251.56.169) with Microsoft SMTP Server (TLS) id 8.2.176.0; Tue, 19 Apr 2011 09:40:50 -0700
Received: from TK5EX14MBXC124.redmond.corp.microsoft.com ([169.254.4.212]) by TK5EX14HUBC107.redmond.corp.microsoft.com ([157.54.80.67]) with mapi id 14.01.0289.008; Tue, 19 Apr 2011 09:40:50 -0700
From: Spencer Shepler <sshepler@microsoft.com>
To: "david.black@emc.com" <david.black@emc.com>
Thread-Topic: [nfsv4] LAYOUTCOMMIT byte range
Thread-Index: AQHL7vutizf+QNsub06226JlGw/xuJRGtkiAgAAD24CAASRzAIAGdnAAgAAPAICAF4xMAP//kpBA
Date: Tue, 19 Apr 2011 16:40:49 +0000
Message-ID: <E043D9D8EE3B5743B8B174A814FD584F0F0B82D7@TK5EX14MBXC124.redmond.corp.microsoft.com>
References: <4D9360FB.3080500@panasas.com> <1CA7A4FB0210BC4BAD393DB029071C0F089B45AA62@us-ex-mbx1.terastack.bluearc.com> <AANLkTimFYZu1ppxONL+5JTAsEHmEcxuxeq0u1sF-s6Jz@mail.gmail.com> <1CA7A4FB0210BC4BAD393DB029071C0F089B45AA7C@us-ex-mbx1.terastack.bluearc.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DD5@MX14A.corp.emc.com> <4D99F357.6000100@panasas.com> <7C4DFCE962635144B8FAE8CA11D0BF1E0417372082@MX14A.corp.emc.com>
In-Reply-To: <7C4DFCE962635144B8FAE8CA11D0BF1E0417372082@MX14A.corp.emc.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.74]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "nfsv4@ietf.org" <nfsv4@ietf.org>
Subject: Re: [nfsv4] LAYOUTCOMMIT byte range
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Apr 2011 16:40:52 -0000

With this, were are we with including block/object issues to the LAYOUTCOMM=
IT
errata that is outstanding?

Are there other comments/issues from anyone?

Spencer

> -----Original Message-----
> From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On Behalf Of
> david.black@emc.com
> Sent: Tuesday, April 19, 2011 9:12 AM
> To: bhalevy@panasas.com
> Cc: nfsv4@ietf.org
> Subject: Re: [nfsv4] LAYOUTCOMMIT byte range
>=20
> Based on this message, it looks like the right way forward is to deprecat=
e
> loca_offset and loca_length in the LAYOUTCOMMIT arguments, because:
>=20
> - loca_last_write_offset will remain to handle EOF update.
> - The file and object layouts commit the entire file or object.
> - The block layout passes the ranges to commit in its layout-dependent
> arguments.
>=20
> Thanks,
> --David
>=20
> > -----Original Message-----
> > From: Benny Halevy [mailto:bhalevy@panasas.com]
> > Sent: Monday, April 04, 2011 12:36 PM
> > To: Black, David
> > Cc: skaura@bluearc.com; iisaman@citi.umich.edu; nfsv4@ietf.org
> > Subject: Re: [nfsv4] LAYOUTCOMMIT byte range
> >
> > On 2011-04-04 08:41, david.black@emc.com wrote:
> > >>> Also note that Benny is talking about deprecating loca_offset and
> > >>> loca_length, the thing you seem to care about is
> > >>> loca_last_write_offset, which is not affected
> > >>
> > >> Sounds okay but would like to understand the details prior to
> > >> commenting on this part.
> > >>
> > >> Questions: Will the client send LAYOUTCOMMIT to servers supporting
> > >> file layout in the current errata?
> > >
> > > Yes - There should be no change to the carefully worked out
> > > requirements in the current errata for when LAYOUTCOMMIT has to be
> > > used with the pNFS file layout.
> > >
> > >> I think if we deprecate loca_offset and loca_length the checks for,
> > >> loca_last_write_offset MUST overlap the range described by
> > >> loca_offset and loca_length need to be removed. There is more text
> > >> in rfc 5661 pertaining to mentioned fields up for deprecation.
> > >
> > > Yes, it would be necessary to remove/rewrite all text referring to
> > > deprecated fields as part of deprecating them.  Removing those
> > > checks is one of the things I like about Benny's suggestion.
> > >
> >
> > In addition, since loca_last_write_offset is currently optional we may
> > want to mandate it when client wrote to the file via pNFS and did not
> > get FILE_SYNC (with the file layout).
> >
> > loca_offset, loca_length were never meant to be used for determining
> > the file length.
> >
> > > The overall result would be that for the pNFS block layout, the
> > > server iterates through the layout-specific extents to figure out
> > > what to do, but both the pNFS file and object layouts effectively do
> > > LAYOUTCOMMIT on the entire file.
> >
> > Agreed,
> >
> > Benny
> >
> > >
> > > Thanks, --David
> > >
>=20
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4


From seattleplus@gmail.com  Tue Apr 19 09:41:59 2011
Return-Path: <seattleplus@gmail.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id C78ABE0793 for <nfsv4@ietfc.amsl.com>; Tue, 19 Apr 2011 09:41:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PWe9E7Xpv88Y for <nfsv4@ietfc.amsl.com>; Tue, 19 Apr 2011 09:41:59 -0700 (PDT)
Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.212.182]) by ietfc.amsl.com (Postfix) with ESMTP id 0FCF7E0712 for <nfsv4@ietf.org>; Tue, 19 Apr 2011 09:41:58 -0700 (PDT)
Received: by pxi20 with SMTP id 20so4208372pxi.27 for <nfsv4@ietf.org>; Tue, 19 Apr 2011 09:41:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=NKwJQN9q6O8sC5DJQtSucv+rxKcb9+4/kupdX8XwNws=; b=vUaFKkPbVaGpfZ8gQkWWzVGPWHm5zipOr4uI4r9m4w2vw4B1Is8uvU00/gvcX8lcnm 5U4bNyvZa0Z3CiBT0UtPiFP9U/p0SIL/KHKLCpdZbikz0Ds7ebNj2pEf0ZwxHN25Vrf4 4YeDgSe+BHpGlV1ZfVyvLDwF/xfKG4+abvokY=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=G0T/UGz1pJfdQIph4GpS7+xt6pf4nI8TG5xoVNllw8NgNc02EGDF6CURmur2SxWUEN NR+disFrhUFAJArx8LGOcIb6exOFoGHiYudytgq+gqVNz+eXHjByxNHGdSQgDsEHyqCT 0toozLYnp/XpxU3P3i1gntTCqq/LH7g1iJEyk=
Received: by 10.142.158.13 with SMTP id g13mr3722908wfe.308.1303231318504; Tue, 19 Apr 2011 09:41:58 -0700 (PDT)
Received: from rockmac.ftrdhcpuser.net (50-47-255-159.evrt.wa.frontiernet.net [50.47.255.159]) by mx.google.com with ESMTPS id w11sm74677wfh.6.2011.04.19.09.41.55 (version=SSLv3 cipher=OTHER); Tue, 19 Apr 2011 09:41:56 -0700 (PDT)
Message-ID: <4DADBB52.3050703@gmail.com>
Date: Tue, 19 Apr 2011 09:41:54 -0700
From: Dean <seattleplus@gmail.com>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9
MIME-Version: 1.0
To: Thomas Haynes <thomas@netapp.com>
References: <B637DE01-CC65-4393-8F57-3C0422E4E6AA@netapp.com>	<41be156de393c5e2948b0222230aa6e6.squirrel@webmail.eisler.com> <3D8ED82E-80F3-4B5B-8C71-088E344F47F2@netapp.com> <4DA48A76.5080305@gmail.com> <D9ECA635-BD66-4369-915F-747AE70B4EEE@netapp.com> <4DAD2D3F.6030107@gmail.com> <16CC3EFE-A0EC-48D1-B46C-47D25EAFDF59@netapp.com>
In-Reply-To: <16CC3EFE-A0EC-48D1-B46C-47D25EAFDF59@netapp.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] Patterns: INITIALIZE or WRITE_PLUS
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Apr 2011 16:41:59 -0000

>>> And how many holes/patterns do we expect in relationship to data?
>> Well, I guess every sparse file is unique in its own way.  For VMs for example, it is dependent on how much data is in the image and the file system's allocation algorithm, but VMWare claims that customers regain up to 40% of their disk space when they switch to thin provisioned disk images.  So I guess a 2:3 ratio of hole to data is not unreasonable.
>>> I.e., if holes/patterns are rare, then 99% is just as rare. Is optimizing for
>>> ~260 bits that important?
>> Not sure if you are saying that sparse files are rare or if the number of holes in a sparse file are few?
>
> I would have been stating that holes per file are rare.
Many holes per file, or sparse files in general?  I think we all agree 
that sparse files are not rare, which is why we are adding sparse 
support to the spec.  Regarding the number of holes, I only have limited 
data.
>
>> If the latter, in one OS disk image we analyzed, it had over 10000 holes in its first 12GBs (can't remember the min size, at least 4K).
> Thanks for the data.
>
> What OS and how did they represent data?
This was just a rhel5 OS with ext3 and some iometer test files.
>
>
>>> Also, if we allow for holes, patterns, and data, is it possible for someone
>>> to implement holes and not patterns?
>> I'll let the community decide this one.
>
> And that would be a non-compliant NFSv4.2 implementation.
I don't understand this statement either.  Are you asking whether 
implementers can support holes and not patterns or are you just stating 
that you don't want this to happen?
Dean
>
>
>> Dean
>>> Thanks,
>>> Tom

From david.black@emc.com  Tue Apr 19 14:21:38 2011
Return-Path: <david.black@emc.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id B8948E0895 for <nfsv4@ietfc.amsl.com>; Tue, 19 Apr 2011 14:21:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.598
X-Spam-Level: 
X-Spam-Status: No, score=-106.598 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QUFLfi076asG for <nfsv4@ietfc.amsl.com>; Tue, 19 Apr 2011 14:21:33 -0700 (PDT)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by ietfc.amsl.com (Postfix) with ESMTP id 409E7E086D for <nfsv4@ietf.org>; Tue, 19 Apr 2011 14:21:33 -0700 (PDT)
Received: from hop04-l1d11-si03.isus.emc.com (HOP04-L1D11-SI03.isus.emc.com [10.254.111.23]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3JLLU49002133 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 19 Apr 2011 17:21:30 -0400
Received: from mailhub.lss.emc.com (mailhubhoprd01.lss.emc.com [10.254.221.251]) by hop04-l1d11-si03.isus.emc.com (RSA Interceptor); Tue, 19 Apr 2011 17:21:27 -0400
Received: from mxhub30.corp.emc.com (mxhub30.corp.emc.com [128.221.47.159]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3JL5QCY017798; Tue, 19 Apr 2011 17:05:26 -0400
Received: from mx14a.corp.emc.com ([169.254.1.209]) by mxhub30.corp.emc.com ([128.221.47.159]) with mapi; Tue, 19 Apr 2011 17:04:57 -0400
From: <david.black@emc.com>
To: <thomas@netapp.com>
Date: Tue, 19 Apr 2011 17:05:24 -0400
Thread-Topic: [nfsv4] [lnfs] MAC Security NFS Modes of Operation
Thread-Index: Acv+DSPvoX36tSVCS8mCkz51aDScagAxeWpw
Message-ID: <7C4DFCE962635144B8FAE8CA11D0BF1E04173721BC@MX14A.corp.emc.com>
References: <26D34DF9-0165-46EF-87AC-82E17EA2193D@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E041721E119@MX14A.corp.emc.com> <BANLkTinLJDA2zk7gyPM2hgNT05ti64LVxg@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E0417371B80@MX14A.corp.emc.com> <BANLkTi=+fugh2YOpofqTYP8d_XpyGNCBeg@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E0417371C34@MX14A.corp.emc.com> <2861E5A6-5BA2-4201-984E-D6377DB9B0A0@netapp.com>
In-Reply-To: <2861E5A6-5BA2-4201-984E-D6377DB9B0A0@netapp.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_7C4DFCE962635144B8FAE8CA11D0BF1E04173721BCMX14Acorpemcc_"
MIME-Version: 1.0
X-EMM-MHVC: 1
Cc: nico@cryptonector.com, nfsv4@ietf.org
Subject: Re: [nfsv4] [lnfs] MAC Security NFS Modes of Operation
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Apr 2011 21:21:38 -0000

--_000_7C4DFCE962635144B8FAE8CA11D0BF1E04173721BCMX14Acorpemcc_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Tom,

I think it comes down to this:

>>> It implies to me either that RPCSEC_GSSv3 is too heavy and hard to
>>> implement or that there is a fundamental issue with RPCSEC_GSSv3.

>> The former - I'm anticipating implementation concerns.
> Then we address them.

> I would rather we focus on making RPCSEC_GSSv3 a good design
> that people will want to implement rather than to compromise the
> design for LNFS.

If we can define a minimum subset/profile of RPCSEC_GSSv3 that communicates=
 the label with reasonably low implementation impact (some of the usual sec=
urity services may not be implemented), then that provides a cleaner soluti=
on than going outside of RPCSEC_GSSv3.  I'm ok with putting this topic on h=
old for now, and pick it up in the context of the implementation requiremen=
ts for RPCSEC_GSSv3.

Thanks,
--David

From: Thomas Haynes [mailto:thomas@netapp.com]
Sent: Monday, April 18, 2011 5:05 PM
To: Black, David
Cc: nico@cryptonector.com; nfsv4@ietf.org
Subject: Re: [nfsv4] [lnfs] MAC Security NFS Modes of Operation


On Apr 15, 2011, at 2:51 PM, <david.black@emc.com<mailto:david.black@emc.co=
m>> <david.black@emc.com<mailto:david.black@emc.com>> wrote:


Nico writes:


Why communicate the one-and-only subject label when you can just look
it up in the same way as in the dumb client / smart server?  It's not
like you can trust an unauthenticated client to assert just any label
-- you have to apply constraints, and since the constraint must yield
a single label, what's the point of the client asserting it??  What am
I missing?

Suppose server lookup yields label A for the client, but the client asserts
label B.  That's not a good situation to ignore - something is wrong that
needs the security admin's attention (and security policy could prohibit
that client's access until this situation is corrected, as opposed to allow=
ing
that client access with subject label A).  The difference here is that the
dumb client can't do anything MAC-aware, whereas the smart client can, and
inconsistent application of MAC is not good.


By smart client, you mean one which has implemented the security system
for the DOI and can speak LNFS. In this case, if the client asserts label
B, it can just as easily convey that information to the process which
hands out the information in the dumb client/smart server approach.

I think we need to be very careful here in realizing we are a transport
mechanism and not part of the security system. If the server has a
security policy in place to disallow clients who yield a different label
than their own lookup, then that policy should trump our decision.

Isn't it a maxim in security that when in doubt, deny access?

As a matter of fact, we make no MAC decisions at all, that is all
passed into the security layer.

BTW - what would happen in the case that a smart client asserted label
B by this mechanism, but was also using RPCSEC_GSSv3 and it
asserted label C?

We can avoid all of these issues if we stay with the very simple
requirement that if the smart client wants to provide a subject label, it
does so through RPCSEC_GSSv3.



While the security admin is supposed to be careful to get the MAC policy
configured correctly and consistently everywhere, to err is human,
and this extra check can help catch a config mismatch.


I think someone who can't access data will be a very good extra
check for a config mismatch and will quickly inform the server
admin.

The argument being presented here has a precedent in the
export model most servers implement. If I deploy a new client,
I don't look to it to see if it is allowed access. If it is not allowed
access via an export policy, it does not get access. And users
on that client will be very diligent in filing a helpdesk ticket to
get the policy corrected.




The "unauthenticated" statement is correct - one can't just trust the
subject label.  This is a configuration check - if the client's not
doing what it's supposed to be doing (based on subject label), go
get (admin) help.  In addition, there will be other restrictions - if
the network is not otherwise secured against man-in-the-middle attacks,
this could be a denial-of-service vector that requires something else
(e.g., IPsec, older version of RPCSEC_GSS) to protect it.


Why require an older version of RPCSEC_GSS and not the one designed
to provide a secure subject label?





Beyond that (at the risk of opening a Pandora's box), I believe Sorin
has mentioned the notion of a server "reinforcing" smart client MAC -
this could take the form of a partially smart server (e.g., that enforces
coarser grain MAC policy/controls by comparison to the finer grain
complete MAC policy/controls on the clients).


Again, I think we need to separate designing the transport layer from
designing a security system.

Subject label is provided via RPCSEC_GSSv3.
Object label is provided via LNFS.

All defaults are handled by the implementation of the security system.





Tom writes:


It implies to me either that RPCSEC_GSSv3 is too heavy and hard to
implement or that there is a fundamental issue with RPCSEC_GSSv3.

The former - I'm anticipating implementation concerns.


Then we address them.

I would rather we focus on making RPCSEC_GSSv3 a good design
that people will want to implement rather than to compromise the
design for LNFS.



Thanks,
--David


--_000_7C4DFCE962635144B8FAE8CA11D0BF1E04173721BCMX14Acorpemcc_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40"><head><meta http-equiv=3DContent-Type content=
=3D"text/html; charset=3Dus-ascii"><meta name=3DGenerator content=3D"Micros=
oft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Courier New";
	color:black;
	font-weight:normal;
	font-style:normal;
	text-decoration:none none;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue vli=
nk=3Dpurple style=3D'word-wrap: break-word;-webkit-nbsp-mode: space;-webkit=
-line-break: after-white-space'><div class=3DWordSection1><p class=3DMsoNor=
mal><span style=3D'font-size:10.0pt;font-family:"Courier New";color:black'>=
Tom,<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.=
0pt;font-family:"Courier New";color:black'><o:p>&nbsp;</o:p></span></p><p c=
lass=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier New";=
color:black'>I think it comes down to this:<o:p></o:p></span></p><p class=
=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier New";colo=
r:black'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal>&gt;&gt;&gt; It i=
mplies to me either that RPCSEC_GSSv3 is too heavy and hard to<o:p></o:p></=
p><p class=3DMsoNormal>&gt;&gt;&gt; implement or that there is a fundamenta=
l issue with RPCSEC_GSSv3.<o:p></o:p></p><p class=3DMsoNormal style=3D'marg=
in-bottom:12.0pt'><br>&gt;&gt; The former - I'm anticipating implementation=
 concerns.<o:p></o:p></p><p class=3DMsoNormal>&gt; Then we address them.<o:=
p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>=
&gt; I would rather we focus on making RPCSEC_GSSv3 a good design<o:p></o:p=
></p><p class=3DMsoNormal>&gt; that people will want to implement rather&nb=
sp;than to compromise the<o:p></o:p></p><p class=3DMsoNormal>&gt; design fo=
r LNFS.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3D=
MsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier New";color:b=
lack'>If we can define a minimum subset/profile of RPCSEC_GSSv3 that commun=
icates the label with reasonably low implementation impact (some of the usu=
al security services may not be implemented), then that provides a cleaner =
solution than going outside of RPCSEC_GSSv3.&nbsp; I&#8217;m ok with puttin=
g this topic on hold for now, and pick it up in the context of the implemen=
tation requirements for RPCSEC_GSSv3.<o:p></o:p></span></p><p class=3DMsoNo=
rmal><span style=3D'font-size:10.0pt;font-family:"Courier New";color:black'=
><o:p>&nbsp;</o:p></span></p><div><p class=3DMsoNormal><span style=3D'font-=
size:10.0pt;font-family:"Courier New";color:black'>Thanks,<br>--David</span=
><span style=3D'font-size:11.0pt;font-family:"Courier New";color:black'><o:=
p></o:p></span></p></div><p class=3DMsoNormal><span style=3D'font-size:10.0=
pt;font-family:"Courier New";color:black'><o:p>&nbsp;</o:p></span></p><div =
style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt=
'><div><div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0=
pt 0in 0in 0in'><p class=3DMsoNormal><b><span style=3D'font-size:10.0pt;fon=
t-family:"Tahoma","sans-serif"'>From:</span></b><span style=3D'font-size:10=
.0pt;font-family:"Tahoma","sans-serif"'> Thomas Haynes [mailto:thomas@netap=
p.com] <br><b>Sent:</b> Monday, April 18, 2011 5:05 PM<br><b>To:</b> Black,=
 David<br><b>Cc:</b> nico@cryptonector.com; nfsv4@ietf.org<br><b>Subject:</=
b> Re: [nfsv4] [lnfs] MAC Security NFS Modes of Operation<o:p></o:p></span>=
</p></div></div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNor=
mal><o:p>&nbsp;</o:p></p><div><div><p class=3DMsoNormal>On Apr 15, 2011, at=
 2:51 PM, &lt;<a href=3D"mailto:david.black@emc.com">david.black@emc.com</a=
>&gt; &lt;<a href=3D"mailto:david.black@emc.com">david.black@emc.com</a>&gt=
; wrote:<o:p></o:p></p></div><p class=3DMsoNormal><br><br><o:p></o:p></p><d=
iv><p class=3DMsoNormal>Nico writes:<br><br><br><o:p></o:p></p><p class=3DM=
soNormal>Why communicate the one-and-only subject label when you can just l=
ook<o:p></o:p></p><blockquote style=3D'margin-top:5.0pt;margin-bottom:5.0pt=
'><p class=3DMsoNormal>it up in the same way as in the dumb client / smart =
server? &nbsp;It's not<o:p></o:p></p></blockquote><blockquote style=3D'marg=
in-top:5.0pt;margin-bottom:5.0pt'><p class=3DMsoNormal>like you can trust a=
n unauthenticated client to assert just any label<o:p></o:p></p></blockquot=
e><blockquote style=3D'margin-top:5.0pt;margin-bottom:5.0pt'><p class=3DMso=
Normal>-- you have to apply constraints, and since the constraint must yiel=
d<o:p></o:p></p></blockquote><blockquote style=3D'margin-top:5.0pt;margin-b=
ottom:5.0pt'><p class=3DMsoNormal>a single label, what's the point of the c=
lient asserting it?? &nbsp;What am<o:p></o:p></p></blockquote><blockquote s=
tyle=3D'margin-top:5.0pt;margin-bottom:5.0pt'><p class=3DMsoNormal>I missin=
g?<o:p></o:p></p></blockquote><p class=3DMsoNormal style=3D'margin-bottom:1=
2.0pt'><br>Suppose server lookup yields label A for the client, but the cli=
ent asserts<br>label B. &nbsp;That's not a good situation to ignore - somet=
hing is wrong that<br>needs the security admin's attention (and security po=
licy could prohibit<br>that client's access until this situation is correct=
ed, as opposed to allowing<br>that client access with subject label A). &nb=
sp;The difference here is that the<br>dumb client can't do anything MAC-awa=
re, whereas the smart client can, and<br>inconsistent application of MAC is=
 not good.<o:p></o:p></p></div><div><p class=3DMsoNormal><o:p>&nbsp;</o:p><=
/p></div><div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=
=3DMsoNormal>By smart client, you mean one which has implemented the securi=
ty system<o:p></o:p></p></div><div><p class=3DMsoNormal>for the DOI and can=
 speak LNFS. In this case, if the client asserts label<o:p></o:p></p></div>=
<div><p class=3DMsoNormal>B, it can just as easily convey that information =
to the process which<o:p></o:p></p></div><div><p class=3DMsoNormal>hands ou=
t the information in the dumb client/smart server approach.<o:p></o:p></p><=
/div><div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=3DM=
soNormal>I think we need to be very careful here in realizing we are a tran=
sport<o:p></o:p></p></div><div><p class=3DMsoNormal>mechanism and not part =
of the security system. If the server has a<o:p></o:p></p></div><div><p cla=
ss=3DMsoNormal>security policy in place to disallow clients who yield a dif=
ferent label<o:p></o:p></p></div><div><p class=3DMsoNormal>than their own l=
ookup, then that policy should trump our decision.<o:p></o:p></p></div><div=
><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=3DMsoNormal>=
Isn't it a maxim in security that when in doubt, deny access?<o:p></o:p></p=
></div><div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=
=3DMsoNormal>As a matter of fact, we make no MAC decisions at all, that is =
all<o:p></o:p></p></div><div><p class=3DMsoNormal>passed into the security =
layer.<o:p></o:p></p></div><div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><=
/div><div><p class=3DMsoNormal>BTW - what would happen in the case that a s=
mart client asserted label<o:p></o:p></p></div><div><p class=3DMsoNormal>B =
by this mechanism, but was also using RPCSEC_GSSv3 and it<o:p></o:p></p></d=
iv><div><p class=3DMsoNormal>asserted label C?<o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=3DMsoNormal>We c=
an avoid all of these issues if we stay with the very simple<o:p></o:p></p>=
</div><div><p class=3DMsoNormal>requirement that if the smart client wants =
to provide a subject label, it<o:p></o:p></p></div><div><p class=3DMsoNorma=
l>does so through&nbsp;RPCSEC_GSSv3.<o:p></o:p></p></div><div><p class=3DMs=
oNormal><o:p>&nbsp;</o:p></p></div><p class=3DMsoNormal><br><br><o:p></o:p>=
</p><div><p class=3DMsoNormal>While the security admin is supposed to be ca=
reful to get the MAC policy<br>configured correctly and consistently everyw=
here, to err is human,<br>and this extra check can help catch a config mism=
atch.<o:p></o:p></p></div><div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></=
div><div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=3DMs=
oNormal>I think someone who can't access data will be a very good extra<o:p=
></o:p></p></div><div><p class=3DMsoNormal>check for a config mismatch and =
will quickly inform the server<o:p></o:p></p></div><div><p class=3DMsoNorma=
l>admin.<o:p></o:p></p></div><div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p=
></div><div><p class=3DMsoNormal>The argument being presented here has a pr=
ecedent in the<o:p></o:p></p></div><div><p class=3DMsoNormal>export model m=
ost servers implement. If I deploy a new client,<o:p></o:p></p></div><div><=
p class=3DMsoNormal>I don't look to it to see if it is allowed access. If i=
t is not allowed<o:p></o:p></p></div><div><p class=3DMsoNormal>access via a=
n export policy, it does not get access. And users<o:p></o:p></p></div><div=
><p class=3DMsoNormal>on that client will be very diligent in filing a help=
desk ticket to<o:p></o:p></p></div><div><p class=3DMsoNormal>get the policy=
 corrected.<o:p></o:p></p></div><div><p class=3DMsoNormal><o:p>&nbsp;</o:p>=
</p></div><p class=3DMsoNormal><br><br><o:p></o:p></p><div><p class=3DMsoNo=
rmal><br>The &quot;unauthenticated&quot; statement is correct - one can't j=
ust trust the<br>subject label. &nbsp;This is a configuration check - if th=
e client's not<br>doing what it's supposed to be doing (based on subject la=
bel), go<br>get (admin) help. &nbsp;In addition, there will be other restri=
ctions - if<br>the network is not otherwise secured against man-in-the-midd=
le attacks,<br>this could be a denial-of-service vector that requires somet=
hing else<br>(e.g., IPsec, older version of RPCSEC_GSS) to protect it.<o:p>=
</o:p></p></div><div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><=
p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=3DMsoNormal>Wh=
y require an older version of RPCSEC_GSS and not the one designed<o:p></o:p=
></p></div><div><p class=3DMsoNormal>to provide a secure subject label?<o:p=
></o:p></p></div><div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div>=
<p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><p class=3DMsoNormal><br><b=
r><o:p></o:p></p><div><p class=3DMsoNormal><br>Beyond that (at the risk of =
opening a Pandora's box), I believe Sorin<br>has mentioned the notion of a =
server &quot;reinforcing&quot; smart client MAC -<br>this could take the fo=
rm of a partially smart server (e.g., that enforces<br>coarser grain MAC po=
licy/controls by comparison to the finer grain<br>complete MAC policy/contr=
ols on the clients).<o:p></o:p></p></div><div><p class=3DMsoNormal><o:p>&nb=
sp;</o:p></p></div><div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><di=
v><p class=3DMsoNormal>Again, I think we need to separate designing the tra=
nsport layer from<o:p></o:p></p></div><div><p class=3DMsoNormal>designing a=
 security system.<o:p></o:p></p></div><div><p class=3DMsoNormal><o:p>&nbsp;=
</o:p></p></div><div><p class=3DMsoNormal>Subject label is provided via RPC=
SEC_GSSv3.<o:p></o:p></p></div><div><p class=3DMsoNormal>Object label is pr=
ovided via LNFS.<o:p></o:p></p></div><div><p class=3DMsoNormal><o:p>&nbsp;<=
/o:p></p></div><div><p class=3DMsoNormal>All defaults are handled by the im=
plementation of the security system.<o:p></o:p></p></div><div><p class=3DMs=
oNormal><o:p>&nbsp;</o:p></p></div><div><p class=3DMsoNormal><o:p>&nbsp;</o=
:p></p></div><p class=3DMsoNormal><br><br><o:p></o:p></p><div><p class=3DMs=
oNormal><br>Tom writes:<br><br><br><o:p></o:p></p><p class=3DMsoNormal>It i=
mplies to me either that RPCSEC_GSSv3 is too heavy and hard to<o:p></o:p></=
p><blockquote style=3D'margin-top:5.0pt;margin-bottom:5.0pt'><p class=3DMso=
Normal>implement or that there is a fundamental issue with RPCSEC_GSSv3.<o:=
p></o:p></p></blockquote><p class=3DMsoNormal style=3D'margin-bottom:12.0pt=
'><br>The former - I'm anticipating implementation concerns.<o:p></o:p></p>=
</div><div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=3D=
MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=3DMsoNormal>Then we addr=
ess them.<o:p></o:p></p></div><div><p class=3DMsoNormal><o:p>&nbsp;</o:p></=
p></div></div><div><div><p class=3DMsoNormal>I would rather we focus on mak=
ing RPCSEC_GSSv3 a good design<o:p></o:p></p></div><div><p class=3DMsoNorma=
l>that people will want to implement rather&nbsp;than to compromise the<o:p=
></o:p></p></div><div><p class=3DMsoNormal>design for LNFS.<o:p></o:p></p><=
/div><div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><p class=3DMsoNor=
mal><br><br><o:p></o:p></p><div><p class=3DMsoNormal style=3D'margin-bottom=
:12.0pt'>Thanks,<br>--David<o:p></o:p></p></div></div><p class=3DMsoNormal>=
<o:p>&nbsp;</o:p></p></div></div></body></html>=

--_000_7C4DFCE962635144B8FAE8CA11D0BF1E04173721BCMX14Acorpemcc_--

From mre-ietf@eisler.com  Tue Apr 19 14:28:30 2011
Return-Path: <mre-ietf@eisler.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id AFF8EE0767 for <nfsv4@ietfc.amsl.com>; Tue, 19 Apr 2011 14:28:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jjixUR5bJtU5 for <nfsv4@ietfc.amsl.com>; Tue, 19 Apr 2011 14:28:29 -0700 (PDT)
Received: from homiemail-a79.g.dreamhost.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) by ietfc.amsl.com (Postfix) with ESMTP id 93A7BE06DE for <nfsv4@ietf.org>; Tue, 19 Apr 2011 14:28:29 -0700 (PDT)
Received: from homiemail-a79.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a79.g.dreamhost.com (Postfix) with ESMTP id 8EDB27D4059 for <nfsv4@ietf.org>; Tue, 19 Apr 2011 14:28:28 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=eisler.com; h=message-id :in-reply-to:references:date:subject:from:to:mime-version :content-type:content-transfer-encoding; q=dns; s=eisler.com; b= LDxTaeby49ZYzPq4F+IgL5FedE77QgG7EEoozVOxvyzgoFC9KL19fvBAVfPStGfJ aH05tPDtMqTnyxbtoyRaUV8d4ZR5XsX4kgPGwu2B+p+BBi79hEwHajv9Wn2xOXdc XsJVNzGcd9XisF269v/ESNiZm6rMey4y63Z4ymKbm0w=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=eisler.com; h=message-id :in-reply-to:references:date:subject:from:to:mime-version :content-type:content-transfer-encoding; s=eisler.com; bh=1X5U0s d+ZAgbhjmTmCleGHCLPM4=; b=aAbg6wE6DXwgFH4zMTFkbZgWkMIMifm8FCMTox I2EnfKztehs5nYWpdyP1ddNs4MgX+SXUdX8uPtKAATSP/CzXIYKAbSvVVYb2sS/d MnldBnlIjfFKxfQHi3NlNCCen90ugTeTCrYoxkgzLLkYtW8BxEJoL6TvVR1jgfSB jrE+U=
Received: from webmail.eisler.com (ahfbbjcaiaae.dreamhost.com [75.119.208.4]) (Authenticated sender: mre-ietf@eisler.com) by homiemail-a79.g.dreamhost.com (Postfix) with ESMTPA id 3EE897D4057 for <nfsv4@ietf.org>; Tue, 19 Apr 2011 14:28:28 -0700 (PDT)
Received: from 198.95.226.230 (proxying for 198.95.226.230) (SquirrelMail authenticated user mre-ietf@eisler.com) by webmail.eisler.com with HTTP; Tue, 19 Apr 2011 14:28:28 -0700
Message-ID: <9987c84e8502b72afacc688c5198c0f8.squirrel@webmail.eisler.com>
In-Reply-To: <4DADBB52.3050703@gmail.com>
References: <B637DE01-CC65-4393-8F57-3C0422E4E6AA@netapp.com> <41be156de393c5e2948b0222230aa6e6.squirrel@webmail.eisler.com> <3D8ED82E-80F3-4B5B-8C71-088E344F47F2@netapp.com> <4DA48A76.5080305@gmail.com> <D9ECA635-BD66-4369-915F-747AE70B4EEE@netapp.com> <4DAD2D3F.6030107@gmail.com> <16CC3EFE-A0EC-48D1-B46C-47D25EAFDF59@netapp.com> <4DADBB52.3050703@gmail.com>
Date: Tue, 19 Apr 2011 14:28:28 -0700
From: "Mike Eisler" <mre-ietf@eisler.com>
To: nfsv4@ietf.org
User-Agent: SquirrelMail/1.4.21
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Subject: Re: [nfsv4] Patterns: INITIALIZE or WRITE_PLUS
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Apr 2011 21:28:30 -0000

inline ...
On Tue, April 19, 2011 9:41 am, Dean wrote:

>>>> Also, if we allow for holes, patterns, and data, is it possible for
>>>> someone
>>>> to implement holes and not patterns?

This distinguishing of patterns and holes seems incorrect to me. A hole i=
s
a deallocated space. In most file systems, its value is zero. We are
finding that that is not generally useful.

A suggestion: We should (re?)-define some terminology.

Pattern: fixed sized unit of data consisting of a region of zeroes
overlayed with an optional fixed string, and an optional variable 64 bit
unsigned integer that represents of the iteration of the pattern.

Trivial pattern: a pattern with no fixed string or pattern iteration, i.e=
.
all zeroes.

Hole: a region of data in a file that has contents that are equal to a
pattern. In the interest of space efficiency underlying file system
implementation can optimizing its allocation algorithm to store a pattern
just once and assigned to each hole a pattern identifier. However, this
does not preclude the use of the space_reserved attribute to ensure that
when/if a hole or part of a hole is over written with a a non-pattern tha=
t
that the over write is successful.



--=20
Mike Eisler, Senior Technical Director, NetApp, 719 599 9026,
http://blogs.netapp.com/eislers_nfs_blog/




From mre-ietf@eisler.com  Tue Apr 19 14:41:32 2011
Return-Path: <mre-ietf@eisler.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 804BCE0813 for <nfsv4@ietfc.amsl.com>; Tue, 19 Apr 2011 14:41:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pxR8NmnbCaPE for <nfsv4@ietfc.amsl.com>; Tue, 19 Apr 2011 14:41:31 -0700 (PDT)
Received: from homiemail-a42.g.dreamhost.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) by ietfc.amsl.com (Postfix) with ESMTP id E7430E07A4 for <nfsv4@ietf.org>; Tue, 19 Apr 2011 14:41:30 -0700 (PDT)
Received: from homiemail-a42.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a42.g.dreamhost.com (Postfix) with ESMTP id 32DD568C065 for <nfsv4@ietf.org>; Tue, 19 Apr 2011 14:41:30 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=eisler.com; h=message-id :in-reply-to:references:date:subject:from:to:mime-version :content-type:content-transfer-encoding; q=dns; s=eisler.com; b= Zok7Y0ekDn+GVzhKEejrEUuuhRX9TxYJ/BPvbb2BLzesSq3y/0u/Y2T4F6Xvq8Jm GW8lZ0Yz6tQCSHY9VJ4ZVor8FuJp19kHgiafUp0a0V9/jUA6NSdaB3G3ahHsKHxG ikRh9LYHW8HKfu9lBYsJtLrjjM+2zZFQKn8ctiH2QL4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=eisler.com; h=message-id :in-reply-to:references:date:subject:from:to:mime-version :content-type:content-transfer-encoding; s=eisler.com; bh=mJgK/E pKEGmNlErdeE+srS578zI=; b=D16LtcXzfEDtGrOilF3bgJq8bcirElbeK2PNgT P/HpphtU8XKbbv9QBrHq1Dfd5KoXcyixo2nH5J+QedtGhtKr6NsD/DjUhEP3Rp5k KQVXe94TpqWqpjMsqKD774HsMvk/PROzo7UX/1eou0sr4qStmaZonHKl3f4d4PJN TTe5s=
Received: from webmail.eisler.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) (Authenticated sender: mre-ietf@eisler.com) by homiemail-a42.g.dreamhost.com (Postfix) with ESMTPA id DCE3868C05B for <nfsv4@ietf.org>; Tue, 19 Apr 2011 14:41:29 -0700 (PDT)
Received: from 198.95.226.230 (proxying for 198.95.226.230) (SquirrelMail authenticated user mre-ietf@eisler.com) by webmail.eisler.com with HTTP; Tue, 19 Apr 2011 14:41:30 -0700
Message-ID: <0c12a7f04de79895d74cf9e7283e9b36.squirrel@webmail.eisler.com>
In-Reply-To: <E043D9D8EE3B5743B8B174A814FD584F0F0B82D7@TK5EX14MBXC124.redmond.corp.microsoft.com>
References: <4D9360FB.3080500@panasas.com> <1CA7A4FB0210BC4BAD393DB029071C0F089B45AA62@us-ex-mbx1.terastack.bluearc.com> <AANLkTimFYZu1ppxONL+5JTAsEHmEcxuxeq0u1sF-s6Jz@mail.gmail.com> <1CA7A4FB0210BC4BAD393DB029071C0F089B45AA7C@us-ex-mbx1.terastack.bluearc.com> <7C4DFCE962635144B8FAE8CA11D0BF1E03E5EF1DD5@MX14A.corp.emc.com> <4D99F357.6000100@panasas.com> <7C4DFCE962635144B8FAE8CA11D0BF1E0417372082@MX14A.corp.emc.com> <E043D9D8EE3B5743B8B174A814FD584F0F0B82D7@TK5EX14MBXC124.redmond.corp.microsoft.com>
Date: Tue, 19 Apr 2011 14:41:30 -0700
From: "Mike Eisler" <mre-ietf@eisler.com>
To: nfsv4@ietf.org
User-Agent: SquirrelMail/1.4.21
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Subject: Re: [nfsv4] LAYOUTCOMMIT byte range
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Apr 2011 21:41:32 -0000

This is a major and welcome simplification. The more we chip away at
LAYOUTCOMMIT the better. Maybe by NFSv4.3 we will have the utopian
LAYOUTCOMMIT_MINUS, with LAYOUTCOMMIT in NFSv4.4 being REQUIRED to not
implement.

On Tue, April 19, 2011 9:40 am, Spencer Shepler wrote:
>
> With this, were are we with including block/object issues to the
> LAYOUTCOMMIT
> errata that is outstanding?
>
> Are there other comments/issues from anyone?
>
> Spencer
>
>> -----Original Message-----
>> From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On Behalf
>> Of
>> david.black@emc.com
>> Sent: Tuesday, April 19, 2011 9:12 AM
>> To: bhalevy@panasas.com
>> Cc: nfsv4@ietf.org
>> Subject: Re: [nfsv4] LAYOUTCOMMIT byte range
>>
>> Based on this message, it looks like the right way forward is to
>> deprecate
>> loca_offset and loca_length in the LAYOUTCOMMIT arguments, because:
>>
>> - loca_last_write_offset will remain to handle EOF update.
>> - The file and object layouts commit the entire file or object.
>> - The block layout passes the ranges to commit in its layout-dependent
>> arguments.
>>
>> Thanks,
>> --David
>>
>> > -----Original Message-----
>> > From: Benny Halevy [mailto:bhalevy@panasas.com]
>> > Sent: Monday, April 04, 2011 12:36 PM
>> > To: Black, David
>> > Cc: skaura@bluearc.com; iisaman@citi.umich.edu; nfsv4@ietf.org
>> > Subject: Re: [nfsv4] LAYOUTCOMMIT byte range
>> >
>> > On 2011-04-04 08:41, david.black@emc.com wrote:
>> > >>> Also note that Benny is talking about deprecating loca_offset an=
d
>> > >>> loca_length, the thing you seem to care about is
>> > >>> loca_last_write_offset, which is not affected
>> > >>
>> > >> Sounds okay but would like to understand the details prior to
>> > >> commenting on this part.
>> > >>
>> > >> Questions: Will the client send LAYOUTCOMMIT to servers supportin=
g
>> > >> file layout in the current errata?
>> > >
>> > > Yes - There should be no change to the carefully worked out
>> > > requirements in the current errata for when LAYOUTCOMMIT has to be
>> > > used with the pNFS file layout.
>> > >
>> > >> I think if we deprecate loca_offset and loca_length the checks fo=
r,
>> > >> loca_last_write_offset MUST overlap the range described by
>> > >> loca_offset and loca_length need to be removed. There is more tex=
t
>> > >> in rfc 5661 pertaining to mentioned fields up for deprecation.
>> > >
>> > > Yes, it would be necessary to remove/rewrite all text referring to
>> > > deprecated fields as part of deprecating them.  Removing those
>> > > checks is one of the things I like about Benny's suggestion.
>> > >
>> >
>> > In addition, since loca_last_write_offset is currently optional we m=
ay
>> > want to mandate it when client wrote to the file via pNFS and did no=
t
>> > get FILE_SYNC (with the file layout).
>> >
>> > loca_offset, loca_length were never meant to be used for determining
>> > the file length.
>> >
>> > > The overall result would be that for the pNFS block layout, the
>> > > server iterates through the layout-specific extents to figure out
>> > > what to do, but both the pNFS file and object layouts effectively =
do
>> > > LAYOUTCOMMIT on the entire file.
>> >
>> > Agreed,
>> >
>> > Benny
>> >
>> > >
>> > > Thanks, --David
>> > >
>>
>> _______________________________________________
>> nfsv4 mailing list
>> nfsv4@ietf.org
>> https://www.ietf.org/mailman/listinfo/nfsv4
>
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>


--=20
Mike Eisler, Senior Technical Director, NetApp, 719 599 9026,
http://blogs.netapp.com/eislers_nfs_blog/




From Tom.Haynes@netapp.com  Tue Apr 19 15:01:11 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id ECC1DE08C1 for <nfsv4@ietfc.amsl.com>; Tue, 19 Apr 2011 15:01:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.34
X-Spam-Level: 
X-Spam-Status: No, score=-9.34 tagged_above=-999 required=5 tests=[AWL=-1.042,  BAYES_00=-2.599, MANGLED_BEEF=2.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zxR2rypT6Z+4 for <nfsv4@ietfc.amsl.com>; Tue, 19 Apr 2011 15:01:11 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id 3706AE06C7 for <nfsv4@ietf.org>; Tue, 19 Apr 2011 15:01:11 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,241,1301900400"; d="scan'208";a="542472967"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 19 Apr 2011 15:01:10 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3JM18u7021895; Tue, 19 Apr 2011 15:01:10 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 19 Apr 2011 15:01:01 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.112]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 19 Apr 2011 18:01:00 -0400
Received: from [10.58.49.232] ([10.58.49.232]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 19 Apr 2011 18:00:59 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <9987c84e8502b72afacc688c5198c0f8.squirrel@webmail.eisler.com>
Date: Tue, 19 Apr 2011 17:00:58 -0500
Content-Transfer-Encoding: 7bit
Message-Id: <0B17B345-A600-4BDD-AB61-30A627D735D6@netapp.com>
References: <B637DE01-CC65-4393-8F57-3C0422E4E6AA@netapp.com> <41be156de393c5e2948b0222230aa6e6.squirrel@webmail.eisler.com> <3D8ED82E-80F3-4B5B-8C71-088E344F47F2@netapp.com> <4DA48A76.5080305@gmail.com> <D9ECA635-BD66-4369-915F-747AE70B4EEE@netapp.com> <4DAD2D3F.6030107@gmail.com> <16CC3EFE-A0EC-48D1-B46C-47D25EAFDF59@netapp.com> <4DADBB52.3050703@gmail.com> <9987c84e8502b72afacc688c5198c0f8.squirrel@webmail.eisler.com>
To: Mike Eisler <mre-ietf@eisler.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 19 Apr 2011 22:00:59.0986 (UTC) FILETIME=[4473D320:01CBFEDD]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] Patterns: INITIALIZE or WRITE_PLUS
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Apr 2011 22:01:12 -0000

On Apr 19, 2011, at 4:28 PM, Mike Eisler wrote:

> inline ...
> On Tue, April 19, 2011 9:41 am, Dean wrote:
> 
>>>>> Also, if we allow for holes, patterns, and data, is it possible for
>>>>> someone
>>>>> to implement holes and not patterns?
> 
> This distinguishing of patterns and holes seems incorrect to me. A hole is
> a deallocated space. In most file systems, its value is zero. We are
> finding that that is not generally useful.
> 
> A suggestion: We should (re?)-define some terminology.
> 
> Pattern: fixed sized unit of data consisting of a region of zeroes
> overlayed with an optional fixed string, and an optional variable 64 bit
> unsigned integer that represents of the iteration of the pattern.


Yes, I think this definition of pattern is key to understanding it. A pattern
is not taking a hole and stating the string is something other than
zeros.

I.e., you can't take a hole of '00 00 00 00' and say it is now a hole of
'de ad be ef'. That is not a pattern.

I would state a trivial pattern as being a pattern in which every byte
is the same.

From nico@cryptonector.com  Tue Apr 19 15:21:45 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 2A199E069D for <nfsv4@ietfc.amsl.com>; Tue, 19 Apr 2011 15:21:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.907
X-Spam-Level: 
X-Spam-Status: No, score=-1.907 tagged_above=-999 required=5 tests=[AWL=0.070,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hUQ4B6-39xLH for <nfsv4@ietfc.amsl.com>; Tue, 19 Apr 2011 15:21:13 -0700 (PDT)
Received: from homiemail-a33.g.dreamhost.com (caiajhbdcbhh.dreamhost.com [208.97.132.177]) by ietfc.amsl.com (Postfix) with ESMTP id 9D260E074A for <nfsv4@ietf.org>; Tue, 19 Apr 2011 15:21:13 -0700 (PDT)
Received: from homiemail-a33.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a33.g.dreamhost.com (Postfix) with ESMTP id 00AE959406B for <nfsv4@ietf.org>; Tue, 19 Apr 2011 15:21:12 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=kG1faX4jtfIuA5Xb2lTnzfuBrVVK9lI8PMAfKQNn67/F L+8Ol7My2x/cpxHypNqOzSCn4xUyNaxz2DA9fJYDBCgVRYkrmgwL7muBxa8BhVqJ q+qHx/fu/Mhv9gwXWj3VEeil1Wgz2522CLkvOPE/I2XuT3ncxZlWrwxmoKlU+QE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=fweXV1SYsDHNd0dj7i/6J5BCtJI=; b=VDjjFkZM9iX 8ukH2Fu4WLFkt+5k2R4Qd+1FhO6MZ2t2j7g4g2nQJ4Lh9ez/dhNmP0EJmpuBnfVL 03QTX5OPaF9+6BKEGHjC9XbDyp5z/rSrpEDxQLu9ZkMvK+DGL6aWMKN+15UDpEnL JAUmTNwRCmxdcm8I6h4cnMMdGWCRuoQs=
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a33.g.dreamhost.com (Postfix) with ESMTPSA id D205C594069 for <nfsv4@ietf.org>; Tue, 19 Apr 2011 15:21:11 -0700 (PDT)
Received: by vxg33 with SMTP id 33so147090vxg.31 for <nfsv4@ietf.org>; Tue, 19 Apr 2011 15:21:11 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.73.130 with SMTP id l2mr140873vdv.14.1303251671098; Tue, 19 Apr 2011 15:21:11 -0700 (PDT)
Received: by 10.52.167.103 with HTTP; Tue, 19 Apr 2011 15:21:11 -0700 (PDT)
In-Reply-To: <7C4DFCE962635144B8FAE8CA11D0BF1E04173721BC@MX14A.corp.emc.com>
References: <26D34DF9-0165-46EF-87AC-82E17EA2193D@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E041721E119@MX14A.corp.emc.com> <BANLkTinLJDA2zk7gyPM2hgNT05ti64LVxg@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E0417371B80@MX14A.corp.emc.com> <BANLkTi=+fugh2YOpofqTYP8d_XpyGNCBeg@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E0417371C34@MX14A.corp.emc.com> <2861E5A6-5BA2-4201-984E-D6377DB9B0A0@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E04173721BC@MX14A.corp.emc.com>
Date: Tue, 19 Apr 2011 17:21:11 -0500
Message-ID: <BANLkTi=RcBAxtu7reR5y=05BQgtkjj560Q@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: david.black@emc.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [lnfs] MAC Security NFS Modes of Operation
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Apr 2011 22:21:45 -0000

On Tue, Apr 19, 2011 at 4:05 PM,  <david.black@emc.com> wrote:
> I think it comes down to this:
>
>>>> It implies to me either that RPCSEC_GSSv3 is too heavy and hard to
>>>> implement or that there is a fundamental issue with RPCSEC_GSSv3.
>>> The former - I'm anticipating implementation concerns.
>
>> Then we address them.

David,

Before speculating that RPCSEC_GSSv3 is difficult to implement, could
you... review the I-D and give us some feedback?

Also, since we have an implementor, maybe we could ask them for
feedback (as I've suggested earlier).  Indeed, we do have some
feedback, but not along the lines of "wow that was difficult" nor "wow
that was easy", nor anything in between.

I mean, is it the case that any new is presumed to be difficult to
implement?  Or is it anything new with "SEC" in its name?  Or anything
new in ONC RPC security?  Is it that the RPCSEC_GSSv3 I-D deals in
things other than subject labels?  Is it that anything new authored by
yours truly is presumed to be difficult?

I don't appreciate argument by FUD.  Especially when an argument by
FUD would have us violating abstraction layers -- an extraordinary
requirement that ought to require extraordinary justification.  Have
you stopped to consider that a trivial operation that violates
abstraction layers may not be trivial to implement?  (I don't think
that's the case, but we ought to discuss that too, shouldn't we, since
simple but wrong ought not be presumed to be simple.)

>> I would rather we focus on making RPCSEC_GSSv3 a good design
>> that people will want to implement rather=C2=A0than to compromise the
>> design for LNFS.

+1

> If we can define a minimum subset/profile of RPCSEC_GSSv3 that communicat=
es
> the label with reasonably low implementation impact (some of the usual
> security services may not be implemented), then that provides a cleaner
> solution than going outside of RPCSEC_GSSv3.=C2=A0 I=E2=80=99m ok with pu=
tting this topic
> on hold for now, and pick it up in the context of the implementation
> requirements for RPCSEC_GSSv3.

I have already explained that I'm happy to add "profiling", though
since all feature use is up to the _client_ it is already the case
that RPCSEC_GSSv3 is trivially profiled, thus profiling it is a mere
matter of adding text (not XDR) to the effect that implementors are
free to omit features they wouldn't use -- but... that should be
obvius.

What I'm NOT willing to do is go along with your presumption that
until we've added such trivial text then RPCSEC_GSSv3 is too
difficult.  I will oppose the addition of any "set process label"
operation to NFSv4.2 until you make a convincing argument for it.  I
imagine from his comments that Thomas' position is similar to mine.

Nico
--

From mre-ietf@eisler.com  Tue Apr 19 15:51:38 2011
Return-Path: <mre-ietf@eisler.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 11F28E07C3 for <nfsv4@ietfc.amsl.com>; Tue, 19 Apr 2011 15:51:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bkp4o9hGdjiC for <nfsv4@ietfc.amsl.com>; Tue, 19 Apr 2011 15:51:36 -0700 (PDT)
Received: from homiemail-a79.g.dreamhost.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) by ietfc.amsl.com (Postfix) with ESMTP id 90434E0660 for <nfsv4@ietf.org>; Tue, 19 Apr 2011 15:51:36 -0700 (PDT)
Received: from homiemail-a79.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a79.g.dreamhost.com (Postfix) with ESMTP id DF4277D4061 for <nfsv4@ietf.org>; Tue, 19 Apr 2011 15:51:35 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=eisler.com; h=message-id :in-reply-to:references:date:subject:from:to:mime-version :content-type:content-transfer-encoding; q=dns; s=eisler.com; b= rpYKWzGKa8a19x8Lw/SApNdbQ7mlC7CJyiqufvpk1g6WQsp37oT87jhz05oi1uoO IdMFFJMKlYPk2KJUovy7NZJ7r4pCCUQh7IOjakx+yB2YVzxO+EVo5x//+O6qHU6p YOWFOUk+wCjkxjOAKfnbPVPMCeuzvjFRjKqQAsOXO1M=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=eisler.com; h=message-id :in-reply-to:references:date:subject:from:to:mime-version :content-type:content-transfer-encoding; s=eisler.com; bh=EoG8Af VDNHNPGpBxBFH/WaamD/c=; b=PYEhJK6QgVObYs4pYfEa3zN5RzsxGQaA8zA0nZ a5L/EzcIre57w4U9cBx1TI3P5i2WZCpQfvm+c0W7rfU98xTpQb2e6fdFzZs271eU 8JPzSIeDS4YctqmDzFYb+QIqV/a/z/jwi0Bp9l6J2lmdxsyozcpfLm2PnynHonIu 8xwHI=
Received: from webmail.eisler.com (ahfbbjcaiaae.dreamhost.com [75.119.208.4]) (Authenticated sender: mre-ietf@eisler.com) by homiemail-a79.g.dreamhost.com (Postfix) with ESMTPA id 8D8247D4059 for <nfsv4@ietf.org>; Tue, 19 Apr 2011 15:51:35 -0700 (PDT)
Received: from 198.95.226.230 (proxying for 198.95.226.230) (SquirrelMail authenticated user mre-ietf@eisler.com) by webmail.eisler.com with HTTP; Tue, 19 Apr 2011 15:51:35 -0700
Message-ID: <151bead1f456e1dd20da813437eb61eb.squirrel@webmail.eisler.com>
In-Reply-To: <BANLkTi=RcBAxtu7reR5y=05BQgtkjj560Q@mail.gmail.com>
References: <26D34DF9-0165-46EF-87AC-82E17EA2193D@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E041721E119@MX14A.corp.emc.com> <BANLkTinLJDA2zk7gyPM2hgNT05ti64LVxg@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E0417371B80@MX14A.corp.emc.com> <BANLkTi=+fugh2YOpofqTYP8d_XpyGNCBeg@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E0417371C34@MX14A.corp.emc.com> <2861E5A6-5BA2-4201-984E-D6377DB9B0A0@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E04173721BC@MX14A.corp.emc.com> <BANLkTi=RcBAxtu7reR5y=05BQgtkjj560Q@mail.gmail.com>
Date: Tue, 19 Apr 2011 15:51:35 -0700
From: "Mike Eisler" <mre-ietf@eisler.com>
To: nfsv4@ietf.org
User-Agent: SquirrelMail/1.4.21
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Subject: Re: [nfsv4] [lnfs] MAC Security NFS Modes of Operation
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Apr 2011 22:51:38 -0000

I agree with Nico that RPCSEC_GSSv3 won't be difficult to implement.
If you have implemented RPCSEC_GSSv1 (and AFAIK, every NFSv4.0
implementation shipped for commercial sale [including Linux from
distributors like RedHAt and Novell] has RPCSEC_GSSv1 support).

I suspect the issue is deployment of the underlying security mechanism
that makes RPCSEC_GSS real, i.e., Kerberos V5. Outside of Windows,
Kerberos V5 deployments are non-trivial.

At some point, this has to be fixed. The worm that exploits AUTH_SYS and
reads and or deletes every byte of data stored on NFS servers has yet to
be written, but it will be written and deployed. It's too glorious a hack
for a Black Hat to not enjoy.

On Tue, April 19, 2011 3:21 pm, Nico Williams wrote:
> On Tue, Apr 19, 2011 at 4:05 PM,  <david.black@emc.com> wrote:
>> I think it comes down to this:
>>
>>>>> It implies to me either that RPCSEC_GSSv3 is too heavy and hard to
>>>>> implement or that there is a fundamental issue with RPCSEC_GSSv3.
>>>> The former - I'm anticipating implementation concerns.
>>
>>> Then we address them.
>
> David,
>
> Before speculating that RPCSEC_GSSv3 is difficult to implement, could
> you... review the I-D and give us some feedback?

--=20
Mike Eisler, Senior Technical Director, NetApp, 719 599 9026,
http://blogs.netapp.com/eislers_nfs_blog/




From Tom.Haynes@netapp.com  Tue Apr 19 16:14:37 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 564BFE085A for <nfsv4@ietfc.amsl.com>; Tue, 19 Apr 2011 16:14:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.456
X-Spam-Level: 
X-Spam-Status: No, score=-10.456 tagged_above=-999 required=5 tests=[AWL=0.143, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eSHdLk5N0BgK for <nfsv4@ietfc.amsl.com>; Tue, 19 Apr 2011 16:14:36 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id 75AF5E0855 for <nfsv4@ietf.org>; Tue, 19 Apr 2011 16:14:36 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,242,1301900400"; d="scan'208";a="542485955"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 19 Apr 2011 16:14:36 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3JNEZV0007025; Tue, 19 Apr 2011 16:14:35 -0700 (PDT)
Received: from rtprsexc2-prd.hq.netapp.com ([10.100.161.115]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 19 Apr 2011 16:14:35 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.112]) by rtprsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 19 Apr 2011 19:14:34 -0400
Received: from [10.58.49.232] ([10.58.49.232]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 19 Apr 2011 19:14:33 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <151bead1f456e1dd20da813437eb61eb.squirrel@webmail.eisler.com>
Date: Tue, 19 Apr 2011 18:14:32 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <E8B53363-2919-4046-ACE8-81E7F91E66F2@netapp.com>
References: <26D34DF9-0165-46EF-87AC-82E17EA2193D@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E041721E119@MX14A.corp.emc.com> <BANLkTinLJDA2zk7gyPM2hgNT05ti64LVxg@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E0417371B80@MX14A.corp.emc.com> <BANLkTi=+fugh2YOpofqTYP8d_XpyGNCBeg@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E0417371C34@MX14A.corp.emc.com> <2861E5A6-5BA2-4201-984E-D6377DB9B0A0@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E04173721BC@MX14A.corp.emc.com> <BANLkTi=RcBAxtu7reR5y=05BQgtkjj560Q@mail.gmail.com> <151bead1f456e1dd20da813437eb61eb.squirrel@webmail.eisler.com>
To: Mike Eisler <mre-ietf@eisler.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 19 Apr 2011 23:14:34.0142 (UTC) FILETIME=[8B7E93E0:01CBFEE7]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [lnfs] MAC Security NFS Modes of Operation
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Apr 2011 23:14:37 -0000

On Apr 19, 2011, at 5:51 PM, Mike Eisler wrote:

> I agree with Nico that RPCSEC_GSSv3 won't be difficult to implement.
> If you have implemented RPCSEC_GSSv1 (and AFAIK, every NFSv4.0
> implementation shipped for commercial sale [including Linux from
> distributors like RedHAt and Novell] has RPCSEC_GSSv1 support).
>=20
> I suspect the issue is deployment of the underlying security mechanism
> that makes RPCSEC_GSS real, i.e., Kerberos V5. Outside of Windows,
> Kerberos V5 deployments are non-trivial.
>=20
> At some point, this has to be fixed. The worm that exploits AUTH_SYS =
and
> reads and or deletes every byte of data stored on NFS servers has yet =
to
> be written, but it will be written and deployed. It's too glorious a =
hack
> for a Black Hat to not enjoy.
>=20


So you are saying we have a hard shell protecting a medium core?

I.e., a data center is secured by Firewalls, other security, or even a
lack of external access. The clients and servers are protected via
a security system which controls MAC label checking.

But the transport layer is not protected?

This is a somewhat similar issue as to how we authenticate server side
copy if RPCSEC_GSSv3 is not deployed.

I still see this as an issue for the security system in constructing =
default
subject labels. If a subject label is constructed via RPCSEC_GSSv3, then
it is taken to be authoritative. If the client is using AUTH_SYS, then =
we
are able to present to the security system the client IP (network, =
subdomain,
netgroup, yada yada), the user UID, and the user GID(s).

The security system can then decide if "Bob Smith" from 192.168.12.13 =
has
'Top Secret' or 'Secret' classification. It may decide that either by =
static rules
encoded on the server or it may consult some external authority. If it =
is
a static ruleset, then the burden is on the admin to get the rules =
correct.

If it is some external authority, then the client can register a label =
with it.
I.e., this is the proposed new feature op, just taken out of LNFS and =
into
the control of the security system.



From nico@cryptonector.com  Tue Apr 19 16:28:41 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 6C1C7E075C for <nfsv4@ietfc.amsl.com>; Tue, 19 Apr 2011 16:28:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.908
X-Spam-Level: 
X-Spam-Status: No, score=-1.908 tagged_above=-999 required=5 tests=[AWL=0.068,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hxthQD35-ZlB for <nfsv4@ietfc.amsl.com>; Tue, 19 Apr 2011 16:28:40 -0700 (PDT)
Received: from homiemail-a30.g.dreamhost.com (caiajhbdcahe.dreamhost.com [208.97.132.74]) by ietfc.amsl.com (Postfix) with ESMTP id C0244E06E2 for <nfsv4@ietf.org>; Tue, 19 Apr 2011 16:28:40 -0700 (PDT)
Received: from homiemail-a30.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a30.g.dreamhost.com (Postfix) with ESMTP id E6BDB21DE6F for <nfsv4@ietf.org>; Tue, 19 Apr 2011 16:28:39 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=ncgYaJRkGnR+yE3oK5ftQ ejEG13aV9WJQTCObWF846/cBQHgsTRNH2NIxEq4oSUMhEIUmS1UAnN+orfuM0N/n W++GjqKgYrv4xPmCxMsk1NsjwEv7T5PgvCAQ58BkNFnG+ZVe2vqx5cuzB1dtizn3 zJS4hoZMsvNT8IJUPGpZaU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=Ub7DukIeyiR+Mu7JkoTa eSnMu2w=; b=FngMOVZISP/xJnBSgW58BCNPSTCOCKnsb0FdjwttvSHmT2Ki6fSw B9ohA/blnQ6HQ9jxQGRC83CKgSdySQdcZXr2S1IcAtN6jEISL2kTvGvP7FWv6uno qSHIH49OPrM5Jm5yldhIo+Oiey9pDRIOYbRJBtfyThnXKf6LwnMDZBs=
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a30.g.dreamhost.com (Postfix) with ESMTPSA id A65CA21DE6A for <nfsv4@ietf.org>; Tue, 19 Apr 2011 16:28:39 -0700 (PDT)
Received: by vws12 with SMTP id 12so185798vws.31 for <nfsv4@ietf.org>; Tue, 19 Apr 2011 16:28:38 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.112.69 with SMTP id io5mr6178908vdb.94.1303255718936; Tue, 19 Apr 2011 16:28:38 -0700 (PDT)
Received: by 10.52.167.103 with HTTP; Tue, 19 Apr 2011 16:28:38 -0700 (PDT)
Received: by 10.52.167.103 with HTTP; Tue, 19 Apr 2011 16:28:38 -0700 (PDT)
In-Reply-To: <151bead1f456e1dd20da813437eb61eb.squirrel@webmail.eisler.com>
References: <26D34DF9-0165-46EF-87AC-82E17EA2193D@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E041721E119@MX14A.corp.emc.com> <BANLkTinLJDA2zk7gyPM2hgNT05ti64LVxg@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E0417371B80@MX14A.corp.emc.com> <BANLkTi=+fugh2YOpofqTYP8d_XpyGNCBeg@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E0417371C34@MX14A.corp.emc.com> <2861E5A6-5BA2-4201-984E-D6377DB9B0A0@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E04173721BC@MX14A.corp.emc.com> <BANLkTi=RcBAxtu7reR5y=05BQgtkjj560Q@mail.gmail.com> <151bead1f456e1dd20da813437eb61eb.squirrel@webmail.eisler.com>
Date: Tue, 19 Apr 2011 18:28:38 -0500
Message-ID: <BANLkTi=dPSuvHAKx4OjNTqmcxpxPynPQSg@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Mike Eisler <mre-ietf@eisler.com>
Content-Type: multipart/alternative; boundary=bcaec548a9f12dc06d04a14ddeb5
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [lnfs] MAC Security NFS Modes of Operation
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Apr 2011 23:28:41 -0000

--bcaec548a9f12dc06d04a14ddeb5
Content-Type: text/plain; charset=UTF-8

Regarding the difficulty of deploying infrastructures and credentials for
security mechanisms: if you need or want to do labeling and can afford it,
then you can afford to deploy security mechanisms :/

Nico
--

--bcaec548a9f12dc06d04a14ddeb5
Content-Type: text/html; charset=UTF-8

<p>Regarding the difficulty of deploying infrastructures and credentials for security mechanisms: if you need or want to do labeling and can afford it, then you can afford to deploy security mechanisms :/</p>
<p>Nico<br>
-- </p>

--bcaec548a9f12dc06d04a14ddeb5--

From david.black@emc.com  Tue Apr 19 16:33:52 2011
Return-Path: <david.black@emc.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id DF709E06CB for <nfsv4@ietfc.amsl.com>; Tue, 19 Apr 2011 16:33:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.599
X-Spam-Level: 
X-Spam-Status: No, score=-106.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TdBgGyqPl0H5 for <nfsv4@ietfc.amsl.com>; Tue, 19 Apr 2011 16:33:52 -0700 (PDT)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by ietfc.amsl.com (Postfix) with ESMTP id EE04DE069D for <nfsv4@ietf.org>; Tue, 19 Apr 2011 16:33:51 -0700 (PDT)
Received: from hop04-l1d11-si03.isus.emc.com (HOP04-L1D11-SI03.isus.emc.com [10.254.111.23]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3JNXmYc022411 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 19 Apr 2011 19:33:49 -0400
Received: from mailhub.lss.emc.com (mailhub.lss.emc.com [10.254.221.145]) by hop04-l1d11-si03.isus.emc.com (RSA Interceptor); Tue, 19 Apr 2011 19:33:38 -0400
Received: from mxhub18.corp.emc.com (mxhub18.corp.emc.com [10.254.93.47]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3JNU7Nd019061; Tue, 19 Apr 2011 19:30:08 -0400
Received: from mx14a.corp.emc.com ([169.254.1.209]) by mxhub18.corp.emc.com ([10.254.93.47]) with mapi; Tue, 19 Apr 2011 19:29:27 -0400
From: <david.black@emc.com>
To: <nico@cryptonector.com>
Date: Tue, 19 Apr 2011 19:30:06 -0400
Thread-Topic: [nfsv4] [lnfs] MAC Security NFS Modes of Operation
Thread-Index: Acv+4Y7jj9q4RhPERtyWlQTCUjt0dgABEEXg
Message-ID: <7C4DFCE962635144B8FAE8CA11D0BF1E04173721F5@MX14A.corp.emc.com>
References: <26D34DF9-0165-46EF-87AC-82E17EA2193D@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E041721E119@MX14A.corp.emc.com> <BANLkTinLJDA2zk7gyPM2hgNT05ti64LVxg@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E0417371B80@MX14A.corp.emc.com> <BANLkTi=+fugh2YOpofqTYP8d_XpyGNCBeg@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E0417371C34@MX14A.corp.emc.com> <2861E5A6-5BA2-4201-984E-D6377DB9B0A0@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E04173721BC@MX14A.corp.emc.com> <BANLkTi=RcBAxtu7reR5y=05BQgtkjj560Q@mail.gmail.com>
In-Reply-To: <BANLkTi=RcBAxtu7reR5y=05BQgtkjj560Q@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-EMM-MHVC: 1
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [lnfs] MAC Security NFS Modes of Operation
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Apr 2011 23:33:53 -0000

TmljbywNCg0KPiBJIG1lYW4sIGlzIGl0IHRoZSBjYXNlIHRoYXQgYW55IG5ldyBpcyBwcmVzdW1l
ZCB0byBiZSBkaWZmaWN1bHQgdG8NCj4gaW1wbGVtZW50PyAgT3IgaXMgaXQgYW55dGhpbmcgbmV3
IHdpdGggIlNFQyIgaW4gaXRzIG5hbWU/ICBPciBhbnl0aGluZw0KPiBuZXcgaW4gT05DIFJQQyBz
ZWN1cml0eT8gIElzIGl0IHRoYXQgdGhlIFJQQ1NFQ19HU1N2MyBJLUQgZGVhbHMgaW4NCj4gdGhp
bmdzIG90aGVyIHRoYW4gc3ViamVjdCBsYWJlbHM/ICBJcyBpdCB0aGF0IGFueXRoaW5nIG5ldyBh
dXRob3JlZCBieQ0KPiB5b3VycyB0cnVseSBpcyBwcmVzdW1lZCB0byBiZSBkaWZmaWN1bHQ/DQoN
CkdpdmUgbWUgYSBicmVhayAtIHRoaXMgaXMgZ2V0dGluZyBzaWxseSAuLi4gcGFydGljdWxhcmx5
IHRoZSBsYXN0IHF1ZXN0aW9uLg0KDQo+ID4gSWYgd2UgY2FuIGRlZmluZSBhIG1pbmltdW0gc3Vi
c2V0L3Byb2ZpbGUgb2YgUlBDU0VDX0dTU3YzIHRoYXQgY29tbXVuaWNhdGVzDQo+ID4gdGhlIGxh
YmVsIHdpdGggcmVhc29uYWJseSBsb3cgaW1wbGVtZW50YXRpb24gaW1wYWN0IChzb21lIG9mIHRo
ZSB1c3Vhb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V0IHByb2Nlc3MgbGFiZWwiDQo+IG9wZXJhdGlvbiB0byBORlN2
NC4yIHVudGlsIHlvdSBtYWtlIGEgY29udmluY2luZyBhcmd1bWVudCBmb3IgaXQuICBJDQo+IGlt
YWdpbmUgZnJvbSBoaXMgY29tbWVudHMgdGhhdCBUaG9tYXMnIHBvc2l0aW9uIGlzIHNpbWlsYXIg
dG8gbWluZS4NCj4gDQo+IE5pY28NCj4gLS0NCg0K

From dpquigl@davequigley.com  Tue Apr 19 18:30:07 2011
Return-Path: <dpquigl@davequigley.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 304D5E0832 for <nfsv4@ietfc.amsl.com>; Tue, 19 Apr 2011 18:30:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level: 
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TDTPnASHp6Pq for <nfsv4@ietfc.amsl.com>; Tue, 19 Apr 2011 18:30:06 -0700 (PDT)
Received: from countercultured.net (countercultured.net [IPv6:2001:470:0:c0d3::2]) by ietfc.amsl.com (Postfix) with SMTP id 08C22E0826 for <nfsv4@ietf.org>; Tue, 19 Apr 2011 18:30:05 -0700 (PDT)
Received: (qmail 16020 invoked from network); 20 Apr 2011 01:30:06 -0000
Received: from countercultured.net (HELO webmail.countercultured.net) (209.51.175.25) by countercultured.net with SMTP; 20 Apr 2011 01:30:06 -0000
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="=_ff80a9ae3a4b8bd4b5aeb84a6b8612ad"
Date: Tue, 19 Apr 2011 21:30:06 -0400
From: David Quigley <dpquigl@davequigley.com>
To: <nfsv4@ietf.org>
In-Reply-To: <E8B53363-2919-4046-ACE8-81E7F91E66F2@netapp.com>
References: <26D34DF9-0165-46EF-87AC-82E17EA2193D@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E041721E119@MX14A.corp.emc.com> <BANLkTinLJDA2zk7gyPM2hgNT05ti64LVxg@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E0417371B80@MX14A.corp.emc.com> <BANLkTi=+fugh2YOpofqTYP8d_XpyGNCBeg@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E0417371C34@MX14A.corp.emc.com> <2861E5A6-5BA2-4201-984E-D6377DB9B0A0@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E04173721BC@MX14A.corp.emc.com> <BANLkTi=RcBAxtu7reR5y=05BQgtkjj560Q@mail.gmail.com> <151bead1f456e1dd20da813437eb61eb.squirrel@webmail.eisler.com> <E8B53363-2919-4046-ACE8-81E7F91E66F2@netapp.com>
Message-ID: <c7dff5187da14342b8a9058d31f1ffbe@countercultured.net>
X-Sender: dpquigl@davequigley.com
User-Agent: RoundCube Webmail/0.5-trunk
Subject: Re: [nfsv4] [lnfs] MAC Security NFS Modes of Operation
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Apr 2011 01:30:07 -0000

--=_ff80a9ae3a4b8bd4b5aeb84a6b8612ad
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=UTF-8



On Tue, 19 Apr 2011 18:14:32 -0500, Thomas Haynes wrote: 

> On Apr
19, 2011, at 5:51 PM, Mike Eisler wrote:
> 
>> I agree with Nico that
RPCSEC_GSSv3 won't be difficult to implement. If you have implemented
RPCSEC_GSSv1 (and AFAIK, every NFSv4.0 implementation shipped for
commercial sale [including Linux from distributors like RedHAt and
Novell] has RPCSEC_GSSv1 support). I suspect the issue is deployment of
the underlying security mechanism that makes RPCSEC_GSS real, i.e.,
Kerberos V5. Outside of Windows, Kerberos V5 deployments are
non-trivial. At some point, this has to be fixed. The worm that exploits
AUTH_SYS and reads and or deletes every byte of data stored on NFS
servers has yet to be written, but it will be written and deployed. It's
too glorious a hack for a Black Hat to not enjoy.
> So you are saying we
have a hard shell protecting a medium core? I.e., a data center is
secured by Firewalls, other security, or even a lack of external access.
The clients and servers are protected via a security system which
controls MAC label checking. But the transport layer is not protected?
This is a somewhat similar issue as to how we authenticate server side
copy if RPCSEC_GSSv3 is not deployed. I still see this as an issue for
the security system in constructing default subject labels. If a subject
label is constructed via RPCSEC_GSSv3, then it is taken to be
authoritative. If the client is using AUTH_SYS, then we are able to
present to the security system the client IP (network, subdomain,
netgroup, yada yada), the user UID, and the user GID(s). The security
system can then decide if "Bob Smith" from 192.168.12.13 has 'Top
Secret' or 'Secret' classification. It may decide that either by static
rules encoded on the server or it may consult some external authority.
If it is a static ruleset, then the burden is on the admin to get the
rules correct. If it is some external authority, then the client can
register a label with it. I.e., this is the proposed new feature op,
just taken out of LNFS and into the control of the security system.
_______________________________________________ nfsv4 mailing list
nfsv4@ietf.org [1] https://www.ietf.org/mailman/listinfo/nfsv4 [2]

I
agree with what Tom is proposing here. I think that is the most flexible
way of handling this. We should strongly encourage people to implement
RPCSEC_GSSv3 along with the label transport mechanism because it
provides the best capability for developing a coherent security policy
but falling back to subject labeling based on other criteria in its
absence is probably the best that we can do. 

Dave

Links:
------
[1]
mailto:nfsv4@ietf.org
[2] https://www.ietf.org/mailman/listinfo/nfsv4

--=_ff80a9ae3a4b8bd4b5aeb84a6b8612ad
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8

<p>On Tue, 19 Apr 2011 18:14:32 -0500, Thomas Haynes wrote:</p>
<blockquote type=3D"cite" style=3D"padding-left:5px; border-left:#1010ff 2p=
x solid; margin-left:5px; width:100%"><!-- html ignored --><!-- head ignore=
d --><!-- meta ignored -->
<pre>On Apr 19, 2011, at 5:51 PM, Mike Eisler wrote:

<blockquote type=3D"cite" style=3D"padding-left:5px; border-left:#1010ff 2p=
x solid; margin-left:5px; width:100%">I agree with Nico that RPCSEC_GSSv3 w=
on't be difficult to implement.
If you have implemented RPCSEC_GSSv1 (and AFAIK, every NFSv4.0
implementation shipped for commercial sale [including Linux from
distributors like RedHAt and Novell] has RPCSEC_GSSv1 support).

I suspect the issue is deployment of the underlying security mechanism
that makes RPCSEC_GSS real, i.e., Kerberos V5. Outside of Windows,
Kerberos V5 deployments are non-trivial.

At some point, this has to be fixed. The worm that exploits AUTH_SYS and
reads and or deletes every byte of data stored on NFS servers has yet to
be written, but it will be written and deployed. It's too glorious a hack
for a Black Hat to not enjoy.

</blockquote>

So you are saying we have a hard shell protecting a medium core?

I.e., a data center is secured by Firewalls, other security, or even a
lack of external access. The clients and servers are protected via
a security system which controls MAC label checking.

But the transport layer is not protected?

This is a somewhat similar issue as to how we authenticate server side
copy if RPCSEC_GSSv3 is not deployed.

I still see this as an issue for the security system in constructing defaul=
t
subject labels. If a subject label is constructed via RPCSEC_GSSv3, then
it is taken to be authoritative. If the client is using AUTH_SYS, then we
are able to present to the security system the client IP (network, subdomai=
n,
netgroup, yada yada), the user UID, and the user GID(s).

The security system can then decide if "Bob Smith" from 192.168.12.13 has
'Top Secret' or 'Secret' classification. It may decide that either by stati=
c rules
encoded on the server or it may consult some external authority. If it is
a static ruleset, then the burden is on the admin to get the rules correct=
=2E

If it is some external authority, then the client can register a label with=
 it.
I.e., this is the proposed new feature op, just taken out of LNFS and into
the control of the security system.


_______________________________________________
nfsv4 mailing list
<a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</a>
<a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4">https://www.ietf.or=
g/mailman/listinfo/nfsv4</a>

</pre>
</blockquote>
<p>I agree with what Tom is proposing here. I think that is the most  flexi=
ble way of handling this. We should strongly encourage people to  implement=
 RPCSEC_GSSv3 along with the label transport mechanism because  it provides=
 the best capability for developing a coherent security  policy but falling=
 back to subject labeling based on other criteria in  its absence is probab=
ly the best that we can do.</p>
<p>&nbsp;</p>
<p>Dave</p>
--=_ff80a9ae3a4b8bd4b5aeb84a6b8612ad--


From Matthew.Dodd@cobham.com  Tue Apr 19 18:37:37 2011
Return-Path: <Matthew.Dodd@cobham.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id D7C22E0720 for <nfsv4@ietfc.amsl.com>; Tue, 19 Apr 2011 18:37:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TgYY79ZCo8Br for <nfsv4@ietfc.amsl.com>; Tue, 19 Apr 2011 18:37:37 -0700 (PDT)
Received: from M4.sparta.com (M4.sparta.com [157.185.61.2]) by ietfc.amsl.com (Postfix) with ESMTP id 313A7E0670 for <nfsv4@ietf.org>; Tue, 19 Apr 2011 18:37:37 -0700 (PDT)
Received: from Beta5.sparta.com (beta5.sparta.com [157.185.63.21]) by M4.sparta.com (8.13.5/8.13.5) with ESMTP id p3K1baEU003771 for <nfsv4@ietf.org>; Tue, 19 Apr 2011 20:37:36 -0500
Received: from mailbin2.ads.sparta.com (mailbin.sparta.com [157.185.85.6]) by Beta5.sparta.com (8.13.8/8.13.8) with ESMTP id p3K1ba1J030308 for <nfsv4@ietf.org>; Tue, 19 Apr 2011 20:37:36 -0500
Received: from mbp.local ([70.88.158.91]) by mailbin2.ads.sparta.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675);  Tue, 19 Apr 2011 21:37:36 -0400
Message-ID: <4DAE38DC.9040702@cobham.com>
Date: Tue, 19 Apr 2011 21:37:32 -0400
From: "Matthew N. Dodd" <Matthew.Dodd@cobham.com>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9
MIME-Version: 1.0
To: nfsv4@ietf.org
References: <26D34DF9-0165-46EF-87AC-82E17EA2193D@netapp.com>	<7C4DFCE962635144B8FAE8CA11D0BF1E041721E119@MX14A.corp.emc.com>	<BANLkTinLJDA2zk7gyPM2hgNT05ti64LVxg@mail.gmail.com>	<7C4DFCE962635144B8FAE8CA11D0BF1E0417371B80@MX14A.corp.emc.com>	<BANLkTi=+fugh2YOpofqTYP8d_XpyGNCBeg@mail.gmail.com>	<7C4DFCE962635144B8FAE8CA11D0BF1E0417371C34@MX14A.corp.emc.com>	<2861E5A6-5BA2-4201-984E-D6377DB9B0A0@netapp.com>	<7C4DFCE962635144B8FAE8CA11D0BF1E04173721BC@MX14A.corp.emc.com> <BANLkTi=RcBAxtu7reR5y=05BQgtkjj560Q@mail.gmail.com>
In-Reply-To: <BANLkTi=RcBAxtu7reR5y=05BQgtkjj560Q@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 20 Apr 2011 01:37:36.0191 (UTC) FILETIME=[86CB54F0:01CBFEFB]
Subject: Re: [nfsv4] [lnfs] MAC Security NFS Modes of Operation
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Apr 2011 01:37:38 -0000

On 4/19/11 18:21 PM, Nico Williams wrote:
> Also, since we have an implementor, maybe we could ask them for
> feedback (as I've suggested earlier).  Indeed, we do have some
> feedback, but not along the lines of "wow that was difficult" nor "wow
> that was easy", nor anything in between.

FWIW the GSSv3 stuff hasn't been a big issue.  It's interfacing with the
existing GSSv1 implementation that has consumed the most time.  I'd be
more than happy to discuss this in detail but it's not really cogent to
the standards discussion.

From nico@cryptonector.com  Tue Apr 19 19:48:45 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 7616EE0670 for <nfsv4@ietfc.amsl.com>; Tue, 19 Apr 2011 19:48:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.232
X-Spam-Level: 
X-Spam-Status: No, score=-0.232 tagged_above=-999 required=5 tests=[AWL=-1.612, BAYES_00=-2.599, FB_NOT_CREDIT=3.357, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9m0V-xOS2Uib for <nfsv4@ietfc.amsl.com>; Tue, 19 Apr 2011 19:48:44 -0700 (PDT)
Received: from homiemail-a70.g.dreamhost.com (caiajhbdccah.dreamhost.com [208.97.132.207]) by ietfc.amsl.com (Postfix) with ESMTP id DF2C0E0690 for <nfsv4@ietf.org>; Tue, 19 Apr 2011 19:48:43 -0700 (PDT)
Received: from homiemail-a70.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a70.g.dreamhost.com (Postfix) with ESMTP id 08C19768059 for <nfsv4@ietf.org>; Tue, 19 Apr 2011 19:48:43 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=dFVpKZSS+af119mAQ/r+H3ohbsbSn/8L/nYR1/X7L6iW Ra7UmJqj0cEsDIKpYkTJBhS2W1BxcdW1F2+scroI7FgTcSD1Zpgu23Ggg3IAr3JW zO7I2vvHihjdV0V7DTgSdZ7exhqpLwfLfzM7js1MWc4MI+InnCVFMJ4UaXanNno=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=60hB5hLGtvpMdJlqyOBdSQd5IsE=; b=DsVoMGVzwSC 8+GijT4N6LSb7fdRxaBhk+k71BOakBBCX+FbuBNFk+iBn/rDE/nQY8sEN8YI6nFK jTYIzHNLvIZgE5z1avUDG9GrlHtFa9vlwhzJuikMLHZiWbH1caWUAUCK4KNqT8nW zJlDWXbrL7wJhBzFc2M/5x1ru7VUPS2U=
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a70.g.dreamhost.com (Postfix) with ESMTPSA id C4A87768057 for <nfsv4@ietf.org>; Tue, 19 Apr 2011 19:48:42 -0700 (PDT)
Received: by vxg33 with SMTP id 33so280781vxg.31 for <nfsv4@ietf.org>; Tue, 19 Apr 2011 19:48:42 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.98.225 with SMTP id el1mr6706494vdb.174.1303267722198; Tue, 19 Apr 2011 19:48:42 -0700 (PDT)
Received: by 10.52.167.103 with HTTP; Tue, 19 Apr 2011 19:48:42 -0700 (PDT)
In-Reply-To: <7C4DFCE962635144B8FAE8CA11D0BF1E04173721F5@MX14A.corp.emc.com>
References: <26D34DF9-0165-46EF-87AC-82E17EA2193D@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E041721E119@MX14A.corp.emc.com> <BANLkTinLJDA2zk7gyPM2hgNT05ti64LVxg@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E0417371B80@MX14A.corp.emc.com> <BANLkTi=+fugh2YOpofqTYP8d_XpyGNCBeg@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E0417371C34@MX14A.corp.emc.com> <2861E5A6-5BA2-4201-984E-D6377DB9B0A0@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E04173721BC@MX14A.corp.emc.com> <BANLkTi=RcBAxtu7reR5y=05BQgtkjj560Q@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E04173721F5@MX14A.corp.emc.com>
Date: Tue, 19 Apr 2011 21:48:42 -0500
Message-ID: <BANLkTimAwGoSABOTrjALY+oGQ1kUmBK+9w@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: david.black@emc.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [lnfs] MAC Security NFS Modes of Operation
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Apr 2011 02:48:45 -0000

On Tue, Apr 19, 2011 at 6:30 PM,  <david.black@emc.com> wrote:
> Nico,
>
>> I mean, is it the case that any new is presumed to be difficult to
>> implement? =C2=A0Or is it anything new with "SEC" in its name? =C2=A0Or =
anything
>> new in ONC RPC security? =C2=A0Is it that the RPCSEC_GSSv3 I-D deals in
>> things other than subject labels? =C2=A0Is it that anything new authored=
 by
>> yours truly is presumed to be difficult?
>
> Give me a break - this is getting silly ... particularly the last questio=
n.

You're right, of course, that was over the top.  I was frustrated at
the lack of substance coupled with an alternative that seems like a
cop out (and I needed dinner).

So let me try a different approach: doing the review that I wanted to
see from you, using your point of view that as much of RPCSEC_GSSv3
should be optional as possible.  Additionally, I'm going to make
explicit something that needs to be: reasonable client behavior vs.
server-side optionality.  Finally, we'll keep security in mind.

> My concern is server-side, and I may well take up that "profiling"
> offer at some point in the future. =C2=A0If both clients and servers are =
free
> to pick and choose among what features to implement, interoperability
> becomes interesting.

Yes, and because this is a security mechanism we must also not lose
track of what is critical and what is optional.

RPCSEC_GSSv3 adds only these three features over v1: a) compound
authentication, b) channel binding, c) assertions.

(a) is necessary for a number of reasons that I will not cover here --
we'll leave it at compound authentication being REQUIRED in the real
world and, therefore, that we have no good reason not to make it
REQUIRED in RPCSEC_GSSv3.

(b) is and should be REQUIRED to implement, and it's really trivial to
do so.  NOTE: it's NOT trivial to implement IPsec CB, but that's a
matter for the IPsec layer, not for the RPCSEC layer, and implementing
CB in the RPCSEC layer is quite simple.  If there's no channel to bind
to, then CB is not used, and if there is a channel to bind to it's
much better bind to it than not.

(c) is where client choices of criticality versus optionality matter.
And here it's likely that we need to at least provide more guidance to
client implementors.  (c) is also where identify, privileges and
labeling come in.

Therefore (c) is what's interesting to cover here, from your point of
view.  Though I suppose you might reasonably disagree with my
characterization of (b), but before you disagree regarding (a) wait
for a subsequent message explaining why (a) is so important.

So what kinds of assertions might a client want to make critically vs.
optional?  I think:

 - all assertions that, if accepted, would result in more access for
the subject should be optional;
 - all assertions that, if accepted, would result in *less* access for
the subject should be critical.

For identify and privileges the critical assertions would be those
where the subject's client-side process credentials are reduced
relative to the user's initial process credentials (think of running
processes with reduced privileges (Least Privilege) and or fewer
supplementary groups), as well as process credentials where the user
ID and/or primary group ID are different from the user's but
nonetheless the process credentials somehow share the user's GSS-API
credentials (think of AFS PAGs, which is a way to associate network
credentials with _groups of processes_).

For labels, the client should make critical assertions in general.
It's not critical that the server use the client's asserted process
label because the server might want to map it to another, but it's
critical that the server _understand_ the client's asserted process
label.

Now, RPCSEC_GSSv3 does allow critical and optional assertions, and it
allows many assertions, including multiple assertions of the same sort
(i.e., identity, privilege, label).  Which does mean that the server
can fail to implement assertions that will typically be optional --
and this is the key: we must minimize critical assertions if we want
any of the three assertion types to be optional-to-implement on the
server-side, otherwise the pressure to implement them will be very
high and therefore those assertion types will be de facto
required-to-implement.

So how does a client minimize the need to make critical assertions?
Good question!!  There's an answer, but it really needed to be thought
of.  Here's my answer: clients must distinguish between "process
credentials for user logon" from reduced credentials for the same
logon.  Which means, in terms of client kernel architecture (for
Windows, Linux, *BSD, and Solaris) that the process token/cred_t must
have a reference to the initial, unadulterated token/cred_t for the
user so that the client can determine in what ways a process
credential differs from the initial process credentials for a given
login session.  If a process credential is strictly a super-set of an
initial one, then no critical assertions need be made (even process
label could be obtained by the server in the same way as by the
client, using the user's GSS credentials).  If a process credential is
in any way (identity, privileges, or label) a sub-set of the user's,
then the client must make corresponding critical assertions and be
prepared to deal with the server's rejection of any or all of those.

I'm expecting that typically reduced privilege processes of a user
will either a) not be reduced w.r.t. filesystem privileges, and/or b)
wont try to access files over NFS.  So reduced privilege processes
will not often cause critical assertions to be needed in RPCSEC_GSSv3.
 In the disk-less case critical privilege assertions will be needed
quite often, but where specific support from the server will also be
desired, thus making critical privilege assertions a non-issue in that
case.

I'm also expecting that reduced privilege via reduced supplementary
group lists will also be an infrequent use case for critical
assertions.

Critical assertions where a process' user ID and/or primary group ID
differ from the user's whose network credentials the process uses for
NFS will also probably be infrequent, mostly because the user will
typically not be accessing NFS resources in those cases (see above
regarding disk-less-ness though).  And where such processes do try to
access NFS resources, failure presumably will not be fatal.  If I'm
wrong about the frequency of such events, however, pressure to add
server-side support for critical identity assertions will go up, of
course.

Note that _today_ clients rarely need to make critical assertions
about identity and privileges for these reasons -- otherwise we'd have
seen a lot of market pressure for something like RPCSEC_GSSv3 much
earlier.  I.e., today clients either do not use a user's network
credentials on behalf of reduced privilege processes of or related to
that user, or else the do use those credentials and the attendant
security problem is simply considered acceptable and that's that.

This leaves process (subject) label assertions.  These will only
differ from the user's initial subject label in multi-label capable
clients, and only when the client's and/or user's label set/range
permit it (for a properly functioning client anyways).  And
multi-label clients will probably login users with processes running
at a variety of labels, with most user processes probably defaulting
to least-dominant labels.  Such clients will surely, then, need to
make frequent critical process label assertions.  Servers,
nonetheless, need not support labeling at all -- such servers can only
be used in the smart client / dumb server label model.

Aha!  We probably need a way for clients and servers to use
RPCSEC_GSSv3 even when the server doesn't support labeling at all (or
not for a DOI requested by the client).

Alright, so there's at least one change we need to make to the
protocol then, plus text changes to cover all of what I've written
here, and whatever else you and others contribute.

Note also that I proposed a change earlier to the XDR: that we remove
the new enum auth_stat values -- RPCSEC_GSSv3 should always succeed,
even in cases where critical assertions are rejected or not supported,
and the client should see what the server rejected and decide whether
to continue or abort.  This change too helps obtain optionality of
feature support.

All that said, I think server implementors will want to implement all
three assertion types.  Critical assertions, then, will typically fail
only because of mapping problems or for policy reasons (e.g., the
client asserted a privilege not understood by the server, or maybe
made a negative assertion about a basic privilege not understood by
the server, or made a critical identity assertion for an identity that
the server cannot understand or locally represent, or perhaps a
critical assertion was rejected by policy because the client and/or
user are not allowed to make such an assertion, and so on).

Also, server implementors kinda have to (and often do) handle at least
subject identity in a fine-grained way, and easily could (and some do
or very easily could) handle privileges in a fine-grained way (there's
relatively few filesystem-related process privileges, even with all
the additions over Solaris' that I found in Linux, TrustedBSD, and
Windows).  This leaves process labels as the one area where server
support is likely to be brand new, and even then probably not really,
since quite a few operating systems exist that have label support for
one or more label systems.

Does this about cover it for you?

Now's your turn to berate me for having failed to make such a detailed
analysis earlier.  It's only fair, after my previous message :(

Nico
--

From nico@cryptonector.com  Tue Apr 19 21:46:53 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id DB68DE06FC for <nfsv4@ietfc.amsl.com>; Tue, 19 Apr 2011 21:46:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.875
X-Spam-Level: 
X-Spam-Status: No, score=-1.875 tagged_above=-999 required=5 tests=[AWL=0.102,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 75UQYuQKY2-D for <nfsv4@ietfc.amsl.com>; Tue, 19 Apr 2011 21:46:53 -0700 (PDT)
Received: from homiemail-a73.g.dreamhost.com (caiajhbdcbhh.dreamhost.com [208.97.132.177]) by ietfc.amsl.com (Postfix) with ESMTP id C750EE06A6 for <nfsv4@ietf.org>; Tue, 19 Apr 2011 21:46:52 -0700 (PDT)
Received: from homiemail-a73.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a73.g.dreamhost.com (Postfix) with ESMTP id B65321F0081 for <nfsv4@ietf.org>; Tue, 19 Apr 2011 21:46:51 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=W8WkQ0vcXr8PUru7/Npi8 0NHKXEDOFPxHqAI8MohxExn33yTreeH0QHhcvNU8W6iAUgTDiXseXcGSNgRVRHX/ LHYPfse/kvRjccoBDk2gD/PV+bITESBRsnpKrve2xWi1OM2MfHMuJg8KIWWltX3m zQHkuAlT1JYTqx5omDjwBQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=EYYYbfDw6ZfkGNGlJhKr nHbcDsA=; b=Y5983yHc3lBQaU2Cng9HKu2ywgf+xew0lg7nzitVfeBlh1bK4S6r TsgmW8sOpdeUt2XTWN++DhMKlbNkR47YN64JRiF0h8QXoN+z1VMSneuku3kjcLOO 7re5nTi1VcsPfCPvUtJWJZtHFifvmDFX7uI17YRtbiU9xmTyd5kTkL0=
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a73.g.dreamhost.com (Postfix) with ESMTPSA id 6E8161F007C for <nfsv4@ietf.org>; Tue, 19 Apr 2011 21:46:51 -0700 (PDT)
Received: by vws12 with SMTP id 12so338971vws.31 for <nfsv4@ietf.org>; Tue, 19 Apr 2011 21:46:50 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.110.135 with SMTP id ia7mr767224vdb.294.1303274810721; Tue, 19 Apr 2011 21:46:50 -0700 (PDT)
Received: by 10.52.167.103 with HTTP; Tue, 19 Apr 2011 21:46:50 -0700 (PDT)
In-Reply-To: <BANLkTimAwGoSABOTrjALY+oGQ1kUmBK+9w@mail.gmail.com>
References: <26D34DF9-0165-46EF-87AC-82E17EA2193D@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E041721E119@MX14A.corp.emc.com> <BANLkTinLJDA2zk7gyPM2hgNT05ti64LVxg@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E0417371B80@MX14A.corp.emc.com> <BANLkTi=+fugh2YOpofqTYP8d_XpyGNCBeg@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E0417371C34@MX14A.corp.emc.com> <2861E5A6-5BA2-4201-984E-D6377DB9B0A0@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E04173721BC@MX14A.corp.emc.com> <BANLkTi=RcBAxtu7reR5y=05BQgtkjj560Q@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E04173721F5@MX14A.corp.emc.com> <BANLkTimAwGoSABOTrjALY+oGQ1kUmBK+9w@mail.gmail.com>
Date: Tue, 19 Apr 2011 23:46:50 -0500
Message-ID: <BANLkTimTJ5vnNsA1gdNL0ZueW=FBBEexPg@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: david.black@emc.com
Content-Type: text/plain; charset=UTF-8
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [lnfs] MAC Security NFS Modes of Operation
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Apr 2011 04:46:54 -0000

On Tue, Apr 19, 2011 at 9:48 PM, Nico Williams <nico@cryptonector.com> wrote:
> RPCSEC_GSSv3 adds only these three features over v1: a) compound
> authentication, b) channel binding, c) assertions.
>
> (a) is necessary for a number of reasons that I will not cover here --
> we'll leave it at compound authentication being REQUIRED in the real
> world and, therefore, that we have no good reason not to make it
> REQUIRED in RPCSEC_GSSv3.

Reasons why (a) is necessary:

1) The client is a proxy for its users, and it is typically a
multi-user client, and the server does need to trust it to operate
correctly.  Ergo, it does seem clear that the server should want to
authenticate BOTH, the client and the user(s) on that client.  It's
also clear that clients and users have different credentials from each
other since clients could act on the own behalf instead of on behalf
of any users, and also since each user must be authenticated
distinctly from other users.

2) The server can make more interesting decisions about what a
client-side subject process' credentials will be on the server based
on a combination of constraints on assertions allowed to the client
and user separately.  For example, the server might allow the client
to assert privileges that a user lacks when the server trusts the
client to operate correctly (and has authenticated the client) and
also has authenticated the user and knows the user's max privileges --
here the server might compute the set union of the client's and user's
max privileges and then intersect with the asserted privileges to
obtain a set of actual privileges.  Clearly this requires the server
to know the authenticated identities of both, the client and user,
which in turn requires authenticating both.  Sure, RPCSEC_GSSv1 can
authenticate both, but not at the same time -- a security context that
authenticates the user cannot authenticate the client, leaving the
server to, at best, do IP address-based client "authentication", which
is to say: not really.

3) Some GSS-API mechanisms work in such a way that a user can recover
the session keys for GSS security contexts where the user is the
initiator principal.  This means that with such mechanisms the user
can impersonate the server to client and poison the client's cache
unless the client takes such steps as would render such an attack
impossible.  One obvious fix is to do channel binding to a channel
whose session keys the user cannot recover -- but there won't always
be a channel to bind to, and for now there won't be any anyways.
Another fix is to authenticate the client and the user separately and
then use the client's security contexts for itself to protect the
exchanges where it acts on behalf of a user.  The latter is quite
simple, thus the obvious strategy to pursue here (though CB is also
desirable for independent reasons, thus also thrown in, just not to
solve this problem).

There's probably other reasons, but any one of the above ought to more
than suffice to make (a) REQUIRED to implement.  I hope I've convinced
you that (a) is critically important to us.

(b) is trivial to implement in RPCSEC_GSSv3, and will be useful, thus
there's no reason to oppose it being REQUIRED to implement.  (As
opposed to IPsec, where one must first implement RFC5660, which likely
no one has done yet -only two implementations that I know of coming
close to it- but that doesn't mean that one should not implement CB in
RPCSEC_GSSv3).

We need only figure out the negotiability/optionality/criticality of assertions.

Nico
--

From nico@cryptonector.com  Tue Apr 19 21:53:52 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 1E5C3E066C for <nfsv4@ietfc.amsl.com>; Tue, 19 Apr 2011 21:53:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.877
X-Spam-Level: 
X-Spam-Status: No, score=-1.877 tagged_above=-999 required=5 tests=[AWL=0.100,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Xdx0RP+jGjJT for <nfsv4@ietfc.amsl.com>; Tue, 19 Apr 2011 21:53:51 -0700 (PDT)
Received: from homiemail-a71.g.dreamhost.com (caiajhbdccac.dreamhost.com [208.97.132.202]) by ietfc.amsl.com (Postfix) with ESMTP id 5830EE0611 for <nfsv4@ietf.org>; Tue, 19 Apr 2011 21:53:51 -0700 (PDT)
Received: from homiemail-a71.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a71.g.dreamhost.com (Postfix) with ESMTP id 7F116428075 for <nfsv4@ietf.org>; Tue, 19 Apr 2011 21:53:50 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=doVFWwqPPwnrPpIAcu/Lg uEUc7V6m9RPaOnoIJklSX4wLKlISlo5BHgzvffBGTpEDp96Mmfpf9asLvzUgnjCP Z3ZyG3/ypQOH5wNUnYIyjCqV13fE8ExMud4OB24uMogUueo+6Qxva1VqpNY+U4/X 8e+2aCRIA3qeS/+GxJ4MKc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=EhrVuyoOo0eqm3EdXJYT 6MjAKvI=; b=FlscvspcVjJUS9RPXpd1wk4li8YtSbmjAzt0WP0S2DJHi+Bjt7Wy XPeQVfKvzWVtyBgo8Pjac9dK5msDdfj6zCbDAX05mocaBtaWo6sYWwsFHwSh2z7Q wTqW85XV0PutXLPl4mP1nVH9C/2s9vTGgElWBBI55VF/1mKrzMPCbdM=
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a71.g.dreamhost.com (Postfix) with ESMTPSA id 5270642806E for <nfsv4@ietf.org>; Tue, 19 Apr 2011 21:53:50 -0700 (PDT)
Received: by vws12 with SMTP id 12so342117vws.31 for <nfsv4@ietf.org>; Tue, 19 Apr 2011 21:53:49 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.112.69 with SMTP id io5mr6513973vdb.94.1303275229774; Tue, 19 Apr 2011 21:53:49 -0700 (PDT)
Received: by 10.52.167.103 with HTTP; Tue, 19 Apr 2011 21:53:49 -0700 (PDT)
In-Reply-To: <BANLkTimAwGoSABOTrjALY+oGQ1kUmBK+9w@mail.gmail.com>
References: <26D34DF9-0165-46EF-87AC-82E17EA2193D@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E041721E119@MX14A.corp.emc.com> <BANLkTinLJDA2zk7gyPM2hgNT05ti64LVxg@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E0417371B80@MX14A.corp.emc.com> <BANLkTi=+fugh2YOpofqTYP8d_XpyGNCBeg@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E0417371C34@MX14A.corp.emc.com> <2861E5A6-5BA2-4201-984E-D6377DB9B0A0@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E04173721BC@MX14A.corp.emc.com> <BANLkTi=RcBAxtu7reR5y=05BQgtkjj560Q@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E04173721F5@MX14A.corp.emc.com> <BANLkTimAwGoSABOTrjALY+oGQ1kUmBK+9w@mail.gmail.com>
Date: Tue, 19 Apr 2011 23:53:49 -0500
Message-ID: <BANLkTinB8hzbo8hgkEZWKYOXq2=YqEQNDA@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: david.black@emc.com
Content-Type: text/plain; charset=UTF-8
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [lnfs] MAC Security NFS Modes of Operation
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Apr 2011 04:53:52 -0000

To summarize, we should:

 - Add much text explaining when assertions should be critical.
 - Point out the fact that in order to determine when an assertion
should be critical the client needs to keep track of a model,
unadulterated (e.g., by local policy) process credential for a user to
compare related process credentials to, the comparison yielding such
assertions (critical or not) that must be made on the wire.  This is
an architectural change for most clients.  To put it in Unix terms, a
new system call may well  be needed by which PAM (or PAM applications)
may mark a process' credentials as the "model" for a user's
credentials.
 - Integrate the previous change I proposed in response to Matthew's
implementation comments.
 - We may need to add a mechanism by which the client can decide to
continue talking to a server that doesn't support labeling or a the
client's specific LFS/DOI.  Comments on this one?  Please refer to the
I-D text!

Any other changes?

Nico
--

From nico@cryptonector.com  Wed Apr 20 07:26:12 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 2F775E065C for <nfsv4@ietfc.amsl.com>; Wed, 20 Apr 2011 07:26:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fS+zznV7TlpK for <nfsv4@ietfc.amsl.com>; Wed, 20 Apr 2011 07:26:11 -0700 (PDT)
Received: from homiemail-a29.g.dreamhost.com (caiajhbdcahe.dreamhost.com [208.97.132.74]) by ietfc.amsl.com (Postfix) with ESMTP id 47162E0613 for <nfsv4@ietf.org>; Wed, 20 Apr 2011 07:26:10 -0700 (PDT)
Received: from homiemail-a29.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a29.g.dreamhost.com (Postfix) with ESMTP id 16CF067407C for <nfsv4@ietf.org>; Wed, 20 Apr 2011 07:26:10 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=VVQXnA0mR1B1viCvU6dhbFM5r0b0Fx3ClsuWINNppN+C Pfb+EfMT0+glrVP8KolF8Pb2HGilNhuvS2YeNWwS0YgES+YlFCnOdU/OKsNYJYra zjKow0vQsoursqwUp7WOuDVnvQLZI2MEtHtdoz8R8VEyoVWk7m5AOXCX5hdfr+U=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=uxnSLSzrVgTWF0NEaZ9uKPDhcDw=; b=EXACA8IzA3k KDxidSE35Upd2wFF3aCIW+UeRDeqXpZZZtDgZbmT1AtbdZSrm/aAl6fXWBet8zcu Sen+EFXRIXIKMyZJJAuWHPdI3UljvKBLIvPQcD9ZbvriHb9/zWJ9ApHWsU/wndvv ioip57gIJddTiTPthfdvWdK0PFFPDIsI=
Received: from mail-wy0-f172.google.com (mail-wy0-f172.google.com [74.125.82.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a29.g.dreamhost.com (Postfix) with ESMTPSA id B496A67407B for <nfsv4@ietf.org>; Wed, 20 Apr 2011 07:26:09 -0700 (PDT)
Received: by wyb29 with SMTP id 29so740194wyb.31 for <nfsv4@ietf.org>; Wed, 20 Apr 2011 07:26:08 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.216.59.81 with SMTP id r59mr1042382wec.40.1303309568332; Wed, 20 Apr 2011 07:26:08 -0700 (PDT)
Received: by 10.216.64.74 with HTTP; Wed, 20 Apr 2011 07:26:07 -0700 (PDT)
In-Reply-To: <BANLkTinB8hzbo8hgkEZWKYOXq2=YqEQNDA@mail.gmail.com>
References: <26D34DF9-0165-46EF-87AC-82E17EA2193D@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E041721E119@MX14A.corp.emc.com> <BANLkTinLJDA2zk7gyPM2hgNT05ti64LVxg@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E0417371B80@MX14A.corp.emc.com> <BANLkTi=+fugh2YOpofqTYP8d_XpyGNCBeg@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E0417371C34@MX14A.corp.emc.com> <2861E5A6-5BA2-4201-984E-D6377DB9B0A0@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E04173721BC@MX14A.corp.emc.com> <BANLkTi=RcBAxtu7reR5y=05BQgtkjj560Q@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E04173721F5@MX14A.corp.emc.com> <BANLkTimAwGoSABOTrjALY+oGQ1kUmBK+9w@mail.gmail.com> <BANLkTinB8hzbo8hgkEZWKYOXq2=YqEQNDA@mail.gmail.com>
Date: Wed, 20 Apr 2011 09:26:07 -0500
Message-ID: <BANLkTino4bmKkxTn5XkV8_-r0D_y7h1GTA@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: david.black@emc.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [lnfs] MAC Security NFS Modes of Operation
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Apr 2011 14:26:12 -0000

On Tue, Apr 19, 2011 at 11:53 PM, Nico Williams <nico@cryptonector.com> wro=
te:
> =C2=A0- Point out the fact that in order to determine when an assertion
> should be critical the client needs to keep track of a model,
> unadulterated (e.g., by local policy) process credential for a user to
> compare related process credentials to, the comparison yielding such
> assertions (critical or not) that must be made on the wire. =C2=A0This is
> an architectural change for most clients. =C2=A0To put it in Unix terms, =
a
> new system call may well =C2=A0be needed by which PAM (or PAM application=
s)
> may mark a process' credentials as the "model" for a user's
> credentials.

Also, note that lacking the ability to do this the client has to
choose between making all its assertions optional or all critical (or
label critical and all others optional).  Making all of its assertions
optional will interop best but be least secure, while making all its
assertions critical will only interop well with servers that support
all three assertion types well, but will have the best security.  I
expect most clients to do one of these at first.

Nico
--

From Tom.Haynes@netapp.com  Wed Apr 20 17:02:11 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id F1555E0721 for <nfsv4@ietfc.amsl.com>; Wed, 20 Apr 2011 17:02:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.464
X-Spam-Level: 
X-Spam-Status: No, score=-10.464 tagged_above=-999 required=5 tests=[AWL=0.134, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Sm3gUXyBSXWU for <nfsv4@ietfc.amsl.com>; Wed, 20 Apr 2011 17:02:10 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id B4D22E069D for <nfsv4@ietf.org>; Wed, 20 Apr 2011 17:02:09 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,248,1301900400";  d="scan'208,217";a="542762334"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 20 Apr 2011 17:02:08 -0700
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3L027ou029442 for <nfsv4@ietf.org>; Wed, 20 Apr 2011 17:02:08 -0700 (PDT)
Received: from rtprsexc2-prd.hq.netapp.com ([10.100.161.115]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 20 Apr 2011 17:02:07 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.112]) by rtprsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 20 Apr 2011 20:02:06 -0400
Received: from [10.58.49.232] ([10.58.49.232]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 20 Apr 2011 20:02:05 -0400
From: Thomas Haynes <thomas@netapp.com>
Content-Type: multipart/alternative; boundary=Apple-Mail-6-766893576
Date: Wed, 20 Apr 2011 19:02:04 -0500
Message-Id: <6B8A0A4E-36CF-4B29-A35F-02BFEE3B18BE@netapp.com>
To: nfsv4@ietf.org
Mime-Version: 1.0 (Apple Message framework v1084)
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 21 Apr 2011 00:02:05.0802 (UTC) FILETIME=[59A11CA0:01CBFFB7]
Subject: [nfsv4] [NFSv4.2] Meeting Agenda for 4/21/11
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Apr 2011 00:02:11 -0000

--Apple-Mail-6-766893576
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Tommorow's proposed agenda is below. Please let me know if
you would like to add additional topics.

   Time: Thursdays 12:30-1:30 PM CST/1:30-2:30 PM EST/10:30-11:30 AM PST
Dial-in: 1-888-765-3653 (us)
         303-218-2659 (international)
     Id: 2787108

Proposed Agenda
---------------

+ IETF Note Well Agreement

 This is a reminder that our discussions are governed by the=20
 IETF Note Well Agreement. See:

   http://www.ietf.org/NOTEWELL.html

 We will start each week's meeting with this announcement.

+ Unstable file creation

Trond presented a new feature request in Prague that would deserialize
file creation (think untar).=20

+ New I/O ops

++ Do we want to support large reads and writes?

The pro of doing so is that we change read and write ops once in 4.2. =
The
con is that support is not there yet.

++ Do we want to have an union which does holes/patterns/data?

Holes of zeros are a reality now and patterns are a proposal in part =
from a major=20
database vendor.

We should expect to see the same sparse file savings
with patterns as we do with holes.=20

We do not yet know the ratio of how often holes appear versus patterns.

Pro: Reduces wire footprint for zero holes.
Con: Introduces complexity in the XDR.

++ Do we want short reads or arrays of holes/patterns/data?

++ WRITE_PATTERN will do pattern initialization and hole punching.

Server implementations may return NFS4ERR_NOTSUPP for this
functionality. But even if they do not support sparse files, they may
chose to support minimizing traffic across the wire. I.e., they
may chose to write disk blocks with the pattern.

As this might be a long running operation (think of initializing your
VM's disk image when you create a new VM), do we either
want to leverage the proposed COPY mechanism or use a
CB to inform the client when the storage has been created?

++ For pNFS:

READ_PLUS goes to the DS (and MDS for Asynch I/O)

This would be for data and patterns. Potentially large I/O.

WRITE[_PLUS] goes to the DS (and MDS for Asynch I/O)

This would be for data only. If we do large I/O, then it will be called =
WRITE_PLUS.

WRITE_PATTERN goes to the MDS

Questions:

1) Does it force layouts to be recalled?



--Apple-Mail-6-766893576
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><div>Tommorow's proposed agenda is below. Please let me know =
if</div><div><div>you would like to add additional =
topics.</div><div><br></div><div>&nbsp;&nbsp; Time: Thursdays 12:30-1:30 =
PM CST/1:30-2:30 PM EST/10:30-11:30 AM PST<br>Dial-in: 1-888-765-3653 =
(us)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;303-218-2659=
 (international)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Id: =
2787108<br><br>Proposed Agenda<br>---------------<br><br>+ IETF Note =
Well Agreement<br><br>&nbsp;This is a reminder that our discussions are =
governed by the&nbsp;<br>&nbsp;IETF Note Well Agreement. =
See:<br><br>&nbsp;&nbsp;&nbsp;<a =
href=3D"http://www.ietf.org/NOTEWELL.html">http://www.ietf.org/NOTEWELL.ht=
ml</a><br><br>&nbsp;We will start each week's meeting with this =
announcement.</div></div><div><br></div><div>+&nbsp;Unstable file =
creation</div><div><br></div><div>Trond presented a new feature request =
in Prague that would deserialize</div><div>file creation (think =
untar).&nbsp;</div><div><br></div><div>+ New I/O =
ops</div><div><br></div><div>++ Do we want to support large reads and =
writes?</div><div><br></div><div>The pro of doing so is that we change =
read and write ops once in 4.2. The</div><div>con is that support is not =
there yet.</div><div><br></div><div>++ Do we want to have an union which =
does holes/patterns/data?</div><div><br></div><div>Holes of zeros are a =
reality now and patterns are a proposal in part from a =
major&nbsp;</div><div>database vendor.</div><div><br></div><div>We =
should expect to see the same sparse file savings</div><div>with =
patterns as we do with holes.&nbsp;</div><div><br></div><div>We do not =
yet know the ratio of how often holes appear versus =
patterns.</div><div><br></div><div>Pro: Reduces wire footprint for zero =
holes.</div><div>Con: Introduces complexity in the =
XDR.</div><div><br></div><div>++ Do we want short reads or arrays of =
holes/patterns/data?</div><div><br></div><div>++ WRITE_PATTERN will do =
pattern initialization and hole =
punching.</div><div><br></div><div>Server implementations may return =
NFS4ERR_NOTSUPP for this</div><div>functionality. But even if they do =
not support sparse files, they may</div><div>chose to support minimizing =
traffic across the wire. I.e., they</div><div>may chose to write disk =
blocks with the pattern.</div><div><br></div><div>As this might be a =
long running operation (think of initializing your</div><div>VM's disk =
image when you create a new VM), do we either</div><div>want to leverage =
the proposed COPY mechanism or use a</div><div>CB to inform the client =
when the storage has been created?</div><div><br></div><div>++ For =
pNFS:</div><div><br></div><div>READ_PLUS goes to the DS (and MDS for =
Asynch I/O)</div><div><br></div><div>This would be for data and =
patterns. Potentially large I/O.</div><div><br></div><div>WRITE[_PLUS] =
goes to the DS (and MDS for Asynch I/O)</div><div><br></div><div>This =
would be for data only. If we do large I/O, then it will be called =
WRITE_PLUS.</div><div><br></div><div>WRITE_PATTERN goes to the =
MDS</div><div><br></div><div>Questions:</div><div><br></div><div>1) Does =
it force layouts to be =
recalled?</div><div><br></div><div><br></div></body></html>=

--Apple-Mail-6-766893576--

From Internet-Drafts@ietf.org  Wed Apr 20 17:15:04 2011
Return-Path: <Internet-Drafts@ietf.org>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 557D5E0770; Wed, 20 Apr 2011 17:15:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.753
X-Spam-Level: 
X-Spam-Status: No, score=-102.753 tagged_above=-999 required=5 tests=[AWL=-0.154, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ov6Fd51UhKML; Wed, 20 Apr 2011 17:15:03 -0700 (PDT)
Received: from ietfc.amsl.com (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 7E9E0E07DD; Wed, 20 Apr 2011 17:15:03 -0700 (PDT)
MIME-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 3.52
Message-ID: <20110421001503.8642.94728.idtracker@ietfc.amsl.com>
Date: Wed, 20 Apr 2011 17:15:03 -0700
Cc: nfsv4@ietf.org
Subject: [nfsv4] I-D Action:draft-ietf-nfsv4-minorversion2-dot-x-00.txt
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Apr 2011 00:15:04 -0000

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Network File System Version 4 Working Group of the IETF.


	Title           : NFSv4 Minor Version 2 Protocol External Data Representation Standard (XDR) Description
	Author(s)       : T. Haynes
	Filename        : draft-ietf-nfsv4-minorversion2-dot-x-00.txt
	Pages           : 72
	Date            : 2011-04-20

This Internet-Draft provides the XDR description for NFSv4 minor
version two.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-nfsv4-minorversion2-dot-x-00.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-nfsv4-minorversion2-dot-x-00.txt";
	site="ftp.ietf.org"; access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID: <2011-04-20170627.I-D@ietf.org>


--NextPart--

From Internet-Drafts@ietf.org  Wed Apr 20 17:15:04 2011
Return-Path: <Internet-Drafts@ietf.org>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 7C033E07DD; Wed, 20 Apr 2011 17:15:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.751
X-Spam-Level: 
X-Spam-Status: No, score=-102.751 tagged_above=-999 required=5 tests=[AWL=-0.152, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ibrOXuKa-pQ6; Wed, 20 Apr 2011 17:15:03 -0700 (PDT)
Received: from ietfc.amsl.com (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 6040EE069D; Wed, 20 Apr 2011 17:15:03 -0700 (PDT)
MIME-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 3.52
Message-ID: <20110421001503.8642.70662.idtracker@ietfc.amsl.com>
Date: Wed, 20 Apr 2011 17:15:03 -0700
Cc: nfsv4@ietf.org
Subject: [nfsv4] I-D Action:draft-ietf-nfsv4-minorversion2-00.txt
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Apr 2011 00:15:04 -0000

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Network File System Version 4 Working Group of the IETF.


	Title           : NFS Version 4 Minor Version 2
	Author(s)       : T. Haynes
	Filename        : draft-ietf-nfsv4-minorversion2-00.txt
	Pages           : 64
	Date            : 2011-04-20

This Internet-Draft describes NFS version 4 minor version two,
focusing mainly on the protocol extensions made from NFS version 4
minor version 0 and NFS version 4 minor version 1.  Major extensions
introduced in NFS version 4 minor version two include: Server-side
Copy, Space Reservations, and Support for Sparse Files.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-nfsv4-minorversion2-00.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-nfsv4-minorversion2-00.txt";
	site="ftp.ietf.org"; access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID: <2011-04-20170600.I-D@ietf.org>


--NextPart--

From mas.mitun@gmail.com  Thu Apr 21 01:28:32 2011
Return-Path: <mas.mitun@gmail.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id C6440E0698 for <nfsv4@ietfc.amsl.com>; Thu, 21 Apr 2011 01:28:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.598
X-Spam-Level: 
X-Spam-Status: No, score=-3.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0bD166oHbSD8 for <nfsv4@ietfc.amsl.com>; Thu, 21 Apr 2011 01:28:31 -0700 (PDT)
Received: from mail-qw0-f44.google.com (mail-qw0-f44.google.com [209.85.216.44]) by ietfc.amsl.com (Postfix) with ESMTP id 88D3DE0696 for <nfsv4@ietf.org>; Thu, 21 Apr 2011 01:28:31 -0700 (PDT)
Received: by qwc23 with SMTP id 23so955166qwc.31 for <nfsv4@ietf.org>; Thu, 21 Apr 2011 01:28:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=WK0X8tJDAPxrk7SwcIXjh0GwVDpnJ3b0VRAm2wtaxWs=; b=SZkR9YRZVz+MaPvnTNR91TshWI+O7A8Igx7Kd5ryUshb9Fwy1a7R2i2+0PX0GPJD2S WYZ8hIXpr2YbliuZ63lc8sG6BQCEr41qJo1CThzQzkjxAvgKjiPAAjd7qkoq//i97d8n ZlN4NOKLucDNZ4yDQ3B7yWk+FFyfvpgtspJzI=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=uO0JdMVYA4kvlGxa5YD6PO+zluJJ6ui9dbKGukJfsfVgYNHtayv/gaGgSupRZvvbmw A2P+49kiKi5Rsp15L1yCnVTDww1T0GEx/9LYRVVCrJPJON72f0/2JoQhS3TG6qy9D/KH r0z8lb4G3eam7zmsJ0EjJNvVxOeKkNM1zfINI=
MIME-Version: 1.0
Received: by 10.229.7.2 with SMTP id b2mr2057951qcb.179.1303374511215; Thu, 21 Apr 2011 01:28:31 -0700 (PDT)
Received: by 10.229.189.17 with HTTP; Thu, 21 Apr 2011 01:28:31 -0700 (PDT)
Date: Thu, 21 Apr 2011 15:28:31 +0700
Message-ID: <BANLkTikRqedtxPY9YcnRNnt_AJW3QXH8=A@mail.gmail.com>
From: mee thun <mas.mitun@gmail.com>
To: nfsv4@ietf.org
Content-Type: multipart/alternative; boundary=0015175cb9f6c0190204a1698677
Subject: [nfsv4] NFS with ipv6
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Apr 2011 08:33:00 -0000

--0015175cb9f6c0190204a1698677
Content-Type: text/plain; charset=ISO-8859-1

Hello

I am makhsun. I am a new member in this milist. I have a problem about NFS.
I was configure nfs with ipv6. In server side, no problem with configure
nfs. But
in client side, I have a problem when I mounting directory nfs. This message
is :

mount.nfs: Failed to resolve server 2001:470:1f05:6bf::209: Name or service
not known

Can I help me to solve this problem? I need help. Thank You

Regards
Makhsun

--0015175cb9f6c0190204a1698677
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hello<br><br>I am makhsun. I am a new member in this milist. I have a probl=
em about NFS.<br>I was configure nfs with ipv6. In server side, no problem =
with configure nfs. But <br>in client side, I have a problem when I mountin=
g directory nfs. This message is : <br>
<br>mount.nfs: Failed to resolve server 2001:470:1f05:6bf::209: Name or ser=
vice not known<br><br>Can I help me to solve this problem? I need help. Tha=
nk You<br><br>Regards<br>Makhsun<br><br><br>

--0015175cb9f6c0190204a1698677--

From chuck.lever@oracle.com  Thu Apr 21 06:25:23 2011
Return-Path: <chuck.lever@oracle.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id D9A2BE0665 for <nfsv4@ietfc.amsl.com>; Thu, 21 Apr 2011 06:25:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.598
X-Spam-Level: 
X-Spam-Status: No, score=-6.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qhpXiVBMHdMX for <nfsv4@ietfc.amsl.com>; Thu, 21 Apr 2011 06:25:23 -0700 (PDT)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by ietfc.amsl.com (Postfix) with ESMTP id 59435E0655 for <nfsv4@ietf.org>; Thu, 21 Apr 2011 06:25:23 -0700 (PDT)
Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p3LDPH2k003795 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 21 Apr 2011 13:25:21 GMT
Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p3LDPHpM009638 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 21 Apr 2011 13:25:17 GMT
Received: from abhmt004.oracle.com (abhmt004.oracle.com [141.146.116.13]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p3LDPBau002193; Thu, 21 Apr 2011 08:25:12 -0500
Received: from moret.1015granger.net (/99.26.161.222) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 21 Apr 2011 06:25:11 -0700
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Chuck Lever <chuck.lever@oracle.com>
In-Reply-To: <BANLkTikRqedtxPY9YcnRNnt_AJW3QXH8=A@mail.gmail.com>
Date: Thu, 21 Apr 2011 09:25:10 -0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <4B26B072-DED2-4343-B8F9-C43CEE43B967@oracle.com>
References: <BANLkTikRqedtxPY9YcnRNnt_AJW3QXH8=A@mail.gmail.com>
To: mee thun <mas.mitun@gmail.com>
X-Mailer: Apple Mail (2.1084)
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] NFS with ipv6
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Apr 2011 13:25:24 -0000

On Apr 21, 2011, at 4:28 AM, mee thun wrote:

> Hello
>=20
> I am makhsun. I am a new member in this milist. I have a problem about =
NFS.
> I was configure nfs with ipv6. In server side, no problem with =
configure nfs. But=20
> in client side, I have a problem when I mounting directory nfs. This =
message is :=20
>=20
> mount.nfs: Failed to resolve server 2001:470:1f05:6bf::209: Name or =
service not known

That typically means your client wasn't built with IPv6 support.

--=20
Chuck Lever
chuck[dot]lever[at]oracle[dot]com





From bhalevy@panasas.com  Thu Apr 21 08:03:11 2011
Return-Path: <bhalevy@panasas.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 4FC89E065A for <nfsv4@ietfc.amsl.com>; Thu, 21 Apr 2011 08:03:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.707
X-Spam-Level: 
X-Spam-Status: No, score=-3.707 tagged_above=-999 required=5 tests=[AWL=-1.442, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J3Z1FI3UW4mL for <nfsv4@ietfc.amsl.com>; Thu, 21 Apr 2011 08:03:10 -0700 (PDT)
Received: from daytona.panasas.com (daytona.panasas.com [67.152.220.89]) by ietfc.amsl.com (Postfix) with ESMTP id 64A0DE0655 for <nfsv4@ietf.org>; Thu, 21 Apr 2011 08:03:10 -0700 (PDT)
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Date: Thu, 21 Apr 2011 11:00:43 -0400
Message-ID: <7225594ED4A1304C9E43D030A886D221F4CACA@daytona.int.panasas.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [nfsv4] I-D Action:draft-ietf-nfsv4-minorversion2-00.txt
Thread-Index: Acv/uarWeOg9KtkCRiGYR2pGVHHsmwAezf/4
References: <20110421001503.8642.70662.idtracker@ietfc.amsl.com>
From: "Halevy, Benny" <bhalevy@panasas.com>
To: <thomas@netapp.com>
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] I-D Action:draft-ietf-nfsv4-minorversion2-00.txt
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Apr 2011 15:03:11 -0000

Tom,

Quickly browsing through the document I say that 6.5.1. and 6.5.2 -
READPLUS args and res contain stuff from COPY_NOTIFY...

Benny

-----Original Message-----
From: nfsv4-bounces@ietf.org on behalf of Internet-Drafts@ietf.org
Sent: Thu 2011-04-21 03:15
To: i-d-announce@ietf.org
Cc: nfsv4@ietf.org
Subject: [nfsv4] I-D Action:draft-ietf-nfsv4-minorversion2-00.txt
=20
A New Internet-Draft is available from the on-line Internet-Drafts =
directories.
This draft is a work item of the Network File System Version 4 Working =
Group of the IETF.


	Title           : NFS Version 4 Minor Version 2
	Author(s)       : T. Haynes
	Filename        : draft-ietf-nfsv4-minorversion2-00.txt
	Pages           : 64
	Date            : 2011-04-20

This Internet-Draft describes NFS version 4 minor version two,
focusing mainly on the protocol extensions made from NFS version 4
minor version 0 and NFS version 4 minor version 1.  Major extensions
introduced in NFS version 4 minor version two include: Server-side
Copy, Space Reservations, and Support for Sparse Files.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-nfsv4-minorversion2-00.txt=


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.




From Tom.Haynes@netapp.com  Thu Apr 21 08:19:35 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 58576E07AB for <nfsv4@ietfc.amsl.com>; Thu, 21 Apr 2011 08:19:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.469
X-Spam-Level: 
X-Spam-Status: No, score=-10.469 tagged_above=-999 required=5 tests=[AWL=0.130, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VHqxgQFWX3qx for <nfsv4@ietfc.amsl.com>; Thu, 21 Apr 2011 08:19:30 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id 033CCE079D for <nfsv4@ietf.org>; Thu, 21 Apr 2011 08:19:29 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,252,1301900400"; d="scan'208";a="542895338"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 21 Apr 2011 08:19:13 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3LFJD87019212; Thu, 21 Apr 2011 08:19:13 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 21 Apr 2011 08:19:13 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.112]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 21 Apr 2011 11:19:12 -0400
Received: from [10.58.49.232] ([10.58.49.232]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 21 Apr 2011 11:19:11 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <7225594ED4A1304C9E43D030A886D221F4CACA@daytona.int.panasas.com>
Date: Thu, 21 Apr 2011 10:19:10 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <AE387469-DF98-46AD-9F96-D626011DDF2B@netapp.com>
References: <20110421001503.8642.70662.idtracker@ietfc.amsl.com> <7225594ED4A1304C9E43D030A886D221F4CACA@daytona.int.panasas.com>
To: "Halevy, Benny" <bhalevy@panasas.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 21 Apr 2011 15:19:12.0059 (UTC) FILETIME=[77D598B0:01CC0037]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] I-D Action:draft-ietf-nfsv4-minorversion2-00.txt
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Apr 2011 15:19:35 -0000

On Apr 21, 2011, at 10:00 AM, Halevy, Benny wrote:

> Tom,
>=20
> Quickly browsing through the document I say that 6.5.1. and 6.5.2 -
> READPLUS args and res contain stuff from COPY_NOTIFY...
>=20


Yes, I resubmitted everything to get a known baseline for historical
purposes. The main intent with the first submission was to get the
XDR matching 5661.

I've got a fixed second version ready to go, but I've been having
issues with the IETF tools site accepting it.

I'll try again from a different machine.


> Benny
>=20
> -----Original Message-----
> From: nfsv4-bounces@ietf.org on behalf of Internet-Drafts@ietf.org
> Sent: Thu 2011-04-21 03:15
> To: i-d-announce@ietf.org
> Cc: nfsv4@ietf.org
> Subject: [nfsv4] I-D Action:draft-ietf-nfsv4-minorversion2-00.txt
>=20
> A New Internet-Draft is available from the on-line Internet-Drafts =
directories.
> This draft is a work item of the Network File System Version 4 Working =
Group of the IETF.
>=20
>=20
> 	Title           : NFS Version 4 Minor Version 2
> 	Author(s)       : T. Haynes
> 	Filename        : draft-ietf-nfsv4-minorversion2-00.txt
> 	Pages           : 64
> 	Date            : 2011-04-20
>=20
> This Internet-Draft describes NFS version 4 minor version two,
> focusing mainly on the protocol extensions made from NFS version 4
> minor version 0 and NFS version 4 minor version 1.  Major extensions
> introduced in NFS version 4 minor version two include: Server-side
> Copy, Space Reservations, and Support for Sparse Files.
>=20
> A URL for this Internet-Draft is:
> =
http://www.ietf.org/internet-drafts/draft-ietf-nfsv4-minorversion2-00.txt
>=20
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
>=20
> Below is the data which will enable a MIME compliant mail reader
> implementation to automatically retrieve the ASCII version of the
> Internet-Draft.
>=20
>=20
>=20


From Tom.Haynes@netapp.com  Thu Apr 21 10:18:21 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 22BCDE07B5 for <nfsv4@ietfc.amsl.com>; Thu, 21 Apr 2011 10:18:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.472
X-Spam-Level: 
X-Spam-Status: No, score=-10.472 tagged_above=-999 required=5 tests=[AWL=0.126, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PPrEabMdxx71 for <nfsv4@ietfc.amsl.com>; Thu, 21 Apr 2011 10:18:20 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id 5B31BE0788 for <nfsv4@ietf.org>; Thu, 21 Apr 2011 10:18:20 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,252,1301900400";  d="scan'208,217";a="542934512"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 21 Apr 2011 10:18:19 -0700
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3LHIJH3006388 for <nfsv4@ietf.org>; Thu, 21 Apr 2011 10:18:19 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 21 Apr 2011 10:18:19 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.112]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 21 Apr 2011 13:18:17 -0400
Received: from [10.58.49.232] ([10.58.49.232]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 21 Apr 2011 13:18:17 -0400
From: Thomas Haynes <thomas@netapp.com>
Content-Type: multipart/alternative; boundary=Apple-Mail-10-829065055
Date: Thu, 21 Apr 2011 12:18:15 -0500
Message-Id: <E3A26628-022E-484B-B713-363785E601D1@netapp.com>
To: nfsv4@ietf.org
Mime-Version: 1.0 (Apple Message framework v1084)
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 21 Apr 2011 17:18:17.0200 (UTC) FILETIME=[1AAB9700:01CC0048]
Subject: [nfsv4] NFSv4 unstable file creation
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Apr 2011 17:18:21 -0000

--Apple-Mail-10-829065055
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=us-ascii

Trond,

I'm looking at the I-D and I had a question.

Say a client creates a file with a stable_state attribute of
NFS4_UNSTABLE_METADATA. The server agrees and returns
NFS4_UNSTABLE_METADATA for the OPEN.

At some point, another client does either a LOOKUP or a READDIR
on that file. The server then commits the initial metadata to
persistant storage.

Does the server need to communicate this change to the original
client with the write delegation?

Or is the client required to query the stable_state attribute to
determine this? I.e., is there a benefit to not writing the metadata
information twice? Or is there always a write necessary as timestamps
may have changed?

Also, does the following make sense:

   const NFS4_UNSTABLE_PERSISTENT = 0x00000000;
   const NFS4_UNSTABLE_METADATA   = 0x00000001;
   const NFS4_UNSTABLE_DATA       = 0x00000002;
   const NFS4_UNSTABLE_PNFS       = 0x00000004;

To indicate the client wants persistent storage or that the server
has used persistent storage?

Thanks,
Tom
--Apple-Mail-10-829065055
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
">Trond,<div><br></div><div>I'm looking at the I-D and I had a =
question.</div><div><br></div><div>Say a client creates a file with a =
stable_state attribute of</div><div>NFS4_UNSTABLE_METADATA. =
The&nbsp;server agrees and returns</div><div>NFS4_UNSTABLE_METADATA =
for&nbsp;the OPEN.</div><div><br></div><div>At some point, another =
client does either a LOOKUP or a READDIR</div><div>on that file. The =
server then commits the initial metadata to</div><div>persistant =
storage.</div><div><br></div><div>Does the server need to communicate =
this change to the original</div><div>client with&nbsp;the write =
delegation?</div><div><br></div><div>Or is the client required to query =
the stable_state attribute to</div><div>determine this? I.e., is there a =
benefit to not writing the metadata</div><div>information twice? Or is =
there always a write necessary as timestamps</div><div>may have =
changed?</div><div><br></div><div>Also, does the following make =
sense:</div><div><br></div><div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; const NFS4_UNSTABLE_PERSISTENT =3D =
0x00000000;</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; const NFS4_UNSTABLE_METADATA &nbsp; =3D =
0x00000001;</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; const NFS4_UNSTABLE_DATA &nbsp; &nbsp; =
&nbsp; =3D 0x00000002;</font></div><div><font class=3D"Apple-style-span" =
face=3D"Courier">&nbsp;&nbsp; const NFS4_UNSTABLE_PNFS &nbsp; &nbsp; =
&nbsp; =3D 0x00000004;</font></div><div><br></div></div><div>To indicate =
the client wants persistent storage or that the server</div><div>has =
used persistent =
storage?</div><div><br></div><div>Thanks,</div><div>Tom</div></body></html=
>=

--Apple-Mail-10-829065055--

From Tom.Haynes@netapp.com  Thu Apr 21 11:59:14 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 861FEE0613 for <nfsv4@ietfc.amsl.com>; Thu, 21 Apr 2011 11:59:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.476
X-Spam-Level: 
X-Spam-Status: No, score=-10.476 tagged_above=-999 required=5 tests=[AWL=0.122, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mM2b3GlBw8YD for <nfsv4@ietfc.amsl.com>; Thu, 21 Apr 2011 11:59:13 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id 1DB34E0677 for <nfsv4@ietf.org>; Thu, 21 Apr 2011 11:59:13 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,252,1301900400";  d="scan'208,217";a="542964596"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 21 Apr 2011 11:58:57 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3LIwvFH017436 for <nfsv4@ietf.org>; Thu, 21 Apr 2011 11:58:57 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 21 Apr 2011 11:58:57 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.112]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 21 Apr 2011 14:58:56 -0400
Received: from [10.58.49.232] ([10.58.49.232]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 21 Apr 2011 14:58:55 -0400
From: Thomas Haynes <thomas@netapp.com>
Content-Type: multipart/alternative; boundary=Apple-Mail-11-835103522
Date: Thu, 21 Apr 2011 13:58:54 -0500
Message-Id: <439B7AAB-7E06-4A6B-8A16-C8249BA6E3D8@netapp.com>
To: nfsv4@ietf.org
Mime-Version: 1.0 (Apple Message framework v1084)
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 21 Apr 2011 18:58:55.0731 (UTC) FILETIME=[29EA4C30:01CC0056]
Subject: [nfsv4] [NFSv4.2] Meeting Notes 04/21/2011
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Apr 2011 18:59:14 -0000

--Apple-Mail-11-835103522
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Attendees:

Tom Haynes (NetApp)
Fred Isaman (NetApp)
Sorin Faibish (EMC)
Peter Staubach (EMC)
Dean Hildebrand (IBM)
Andy Adamson (NetApp)
Bruce Fields (Red Hat)

+ IETF Note Well Agreement

   http://www.ietf.org/NOTEWELL.html

+ Unstable file creation

Trond wants to get this into NFSv4.2.

Peter mentioned that he had a discussion with Trond on recovery race =
conditions.
He will dig that up.

Tom wondered about how NFS4_UNSTABLE_PNFS interacts with the
recent discussions of LAYOUT_COMMIT?

+ New I/O ops

++ Do we want to support large reads and writes?

We decided not to do so at this time.

++ Do we want to have an union which does holes/patterns/data?

This turned into a discussion of how are patterns meant to be used.

The common understanding was that the pattern was to be repeated
inside the block to detect corruption.

If it is not to be repeated and the information of concern is the
block number and guard pattern, then is it sufficient for the zero
blocks to be utilized? I.e., couldn't the application detect that
a hole was present and then fill in the required block number
(at the expected offset) and guard pattern?

[[-->
Some issues thought of post call:

1) Dumb applications like tar or dd might be used to copy the
file. In which case the disk blocks would be expanded. When the
file was written, dedup would be necessary to regain the
sparseness.

If dedup is present, having zero filled holes is optimal. I.e.,
if the patterns were applied during the expansion, then each
disk block would be unique because of the block number.
The dedup would thus have to be application aware to
shrink the actual storage.

2) Either the block size or guard pattern might be different
based on the expected use of the application data block.
In such a case, that information would need to be stored
with the file and not in the application.
<--]]

Bruce mentioned that the Enterprise Apps I-D did not
provide sufficient justification for why we would want to
consider doing patterns.

Andy wondered if Oracle could provide us with examples of
how corruption was detected.

Dean asked about how likely it was for Oracle to implement this
in the NFSv4.2 timeframe.

++ Do we want short reads or arrays of holes/patterns/data?

We decided to support both.

A server is always allowed to return a short read.

Using the array allows for fewer RPC calls.

++ WRITE_PATTERN will do pattern initialization and hole punching.

If the server does not supports sparse files, then it may return =
NFS4ERR_NOTSUPP
to the client upon such a request. However, to avoid sending a lot
of data across the wire, it may decide to modify the disk blocks
based on the given information.

Peter mentioned that Windows might have this issue. There was some issue
with 2G writes. Tom will try to track down people with implementation =
experience
with this wall.

Peter mentioned that the server might want to inform the client as to =
whether
a hole was created or blocks written.

Another point that came up, is the client willing to wait for the server =
to create
the disk blocks or to hole punch? I.e., if the client is not willing to =
wait, then
it will be responsible for driving the modifications.

The server may decide to not create a hole/pattern which is less than 1 =
disk
block. In this case, it will initialize the requested bytes.

++ For pNFS:

We tabled this item.=

--Apple-Mail-11-835103522
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><div>Attendees:</div><div><br></div><div>Tom Haynes =
(NetApp)</div><div><div>Fred Isaman (NetApp)</div><div>Sorin Faibish =
(EMC)</div><div>Peter Staubach (EMC)</div><div>Dean Hildebrand =
(IBM)</div><div>Andy Adamson (NetApp)</div></div><div>Bruce Fields (Red =
Hat)</div><div><br></div><div><div style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><div><div>+ IETF Note Well Agreement<br><br>&nbsp;&nbsp;&nbsp;<a =
href=3D"http://www.ietf.org/NOTEWELL.html">http://www.ietf.org/NOTEWELL.ht=
ml</a><br></div></div><div><br></div><div><div>+&nbsp;Unstable file =
creation</div><div><br></div><div>Trond wants to get this into =
NFSv4.2.</div><div><br></div><div>Peter mentioned that he had a =
discussion with Trond on recovery race conditions.</div><div>He will dig =
that up.</div><div><br></div><div>Tom wondered about =
how&nbsp;NFS4_UNSTABLE_PNFS interacts with the</div><div>recent =
discussions of LAYOUT_COMMIT?</div><div><br></div><div>+ New I/O =
ops</div><div><br></div><div>++ Do we want to support large reads and =
writes?</div><div><br></div><div>We decided not to do so at this =
time.</div><div><br></div><div>++ Do we want to have an union which does =
holes/patterns/data?</div><div><br></div><div>This turned into a =
discussion of how are patterns meant to be =
used.</div><div><br></div><div>The common understanding was that the =
pattern was to be repeated</div><div>inside the block to detect =
corruption.</div><div><br></div><div>If it is not to be repeated and the =
information of concern is the</div><div>block number and guard pattern, =
then is it sufficient for the zero</div><div>blocks to be utilized? =
I.e., couldn't the application detect that</div><div>a hole was present =
and then fill in the required block number</div><div>(at the expected =
offset) and guard =
pattern?</div><div><br></div><div>[[--&gt;</div><div>Some issues thought =
of post call:</div><div><br></div><div>1) Dumb applications like tar or =
dd might be used to copy the</div><div>file. In which case the disk =
blocks would be expanded. When the</div><div>file was written, dedup =
would be necessary to regain =
the</div><div>sparseness.</div><div><br></div><div>If dedup is present, =
having zero filled holes is optimal. I.e.,</div><div>if the patterns =
were applied during the expansion, then each</div><div>disk block would =
be unique because of the block number.</div><div>The dedup would thus =
have to be application aware to</div><div>shrink the actual =
storage.</div><div><br></div><div>2) Either the block size or guard =
pattern might be different</div><div>based on the expected use of the =
application data block.</div><div>In such a case, that information would =
need to be stored</div><div>with the file and not in the =
application.</div><div>&lt;--]]</div><div><br></div><div>Bruce mentioned =
that the Enterprise Apps I-D did not</div><div>provide sufficient =
justification for why we would want to</div><div>consider doing =
patterns.</div><div><br></div><div>Andy wondered if Oracle could provide =
us with examples of</div><div>how corruption was =
detected.</div><div><br></div><div>Dean asked about how likely it was =
for Oracle to implement this</div><div>in the NFSv4.2 =
timeframe.</div><div><br></div><div>++ Do we want short reads or arrays =
of holes/patterns/data?</div><div><br></div><div>We decided to support =
both.</div><div><br></div><div>A server is always allowed to return a =
short read.</div><div><br></div><div>Using the array allows for fewer =
RPC calls.</div><div><br></div><div>++ WRITE_PATTERN will do pattern =
initialization and hole punching.</div><div><br></div><div>If the server =
does not supports sparse files, then it may return =
NFS4ERR_NOTSUPP</div><div>to the client upon such a request. However, to =
avoid sending a lot</div><div>of data across the wire, it may decide to =
modify the disk blocks</div><div>based on the given =
information.</div><div><br></div><div>Peter mentioned that Windows might =
have this issue. There was some issue</div><div>with 2G writes. Tom will =
try to track down people with implementation experience</div><div>with =
this wall.</div><div><br></div><div>Peter mentioned that the server =
might want to inform the client as to whether</div><div>a hole was =
created or blocks written.</div><div><br></div><div>Another point that =
came up, is the client willing to wait for the server to =
create</div><div>the disk blocks or to hole punch? I.e., if the client =
is not willing to wait, then</div><div>it will be responsible for =
driving the modifications.</div><div><br></div><div>The server may =
decide to not create a hole/pattern which is less than 1 =
disk</div><div>block. In this case, it will initialize the requested =
bytes.</div><div><br></div><div>++ For pNFS:</div><div><br></div><div>We =
tabled this item.</div></div></div></div></body></html>=

--Apple-Mail-11-835103522--

From chuck.lever@oracle.com  Thu Apr 21 12:23:43 2011
Return-Path: <chuck.lever@oracle.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 3B399E06EA for <nfsv4@ietfc.amsl.com>; Thu, 21 Apr 2011 12:23:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.598
X-Spam-Level: 
X-Spam-Status: No, score=-6.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TDUGxTQSnTEY for <nfsv4@ietfc.amsl.com>; Thu, 21 Apr 2011 12:23:42 -0700 (PDT)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by ietfc.amsl.com (Postfix) with ESMTP id 734D9E00BE for <nfsv4@ietf.org>; Thu, 21 Apr 2011 12:23:42 -0700 (PDT)
Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p3LJNeRo032333 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 21 Apr 2011 19:23:41 GMT
Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p3LJNdi2019764 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 21 Apr 2011 19:23:40 GMT
Received: from abhmt008.oracle.com (abhmt008.oracle.com [141.146.116.17]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p3LJNdTY015218; Thu, 21 Apr 2011 14:23:39 -0500
Received: from moret.1015granger.net (/99.26.161.222) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 21 Apr 2011 12:23:39 -0700
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Chuck Lever <chuck.lever@oracle.com>
In-Reply-To: <439B7AAB-7E06-4A6B-8A16-C8249BA6E3D8@netapp.com>
Date: Thu, 21 Apr 2011 15:23:38 -0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <8313A059-3DCA-49E3-96F8-FEF0DE2B7C40@oracle.com>
References: <439B7AAB-7E06-4A6B-8A16-C8249BA6E3D8@netapp.com>
To: Thomas Haynes <thomas@netapp.com>
X-Mailer: Apple Mail (2.1084)
X-Source-IP: rcsinet13.oracle.com [148.87.113.125]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090204.4DB0843E.0001:SCFMA4539811,ss=1,fgs=0
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [NFSv4.2] Meeting Notes 04/21/2011
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Apr 2011 19:23:43 -0000

On Apr 21, 2011, at 2:58 PM, Thomas Haynes wrote:

> Attendees:
>=20
> Tom Haynes (NetApp)
> Fred Isaman (NetApp)
> Sorin Faibish (EMC)
> Peter Staubach (EMC)
> Dean Hildebrand (IBM)
> Andy Adamson (NetApp)
> Bruce Fields (Red Hat)

  [ ... snipped ... ]

> Bruce mentioned that the Enterprise Apps I-D did not
> provide sufficient justification for why we would want to
> consider doing patterns.
>=20
> Andy wondered if Oracle could provide us with examples of
> how corruption was detected.
>=20
> Dean asked about how likely it was for Oracle to implement this
> in the NFSv4.2 timeframe.

I don't see the Enterprise Apps I-D under =
http://datatracker.ietf.org/wg/nfsv4/ .  Doesn't that make it a personal =
draft?  Thus members of the working group would be better off directing =
comments specifically to the authors of the Enterprise Apps draft.  =
IIRC, the authors of the Enterprise Apps I-D are Mike Eisler (NetApp) =
and Margaret Susairaj (Oracle).

--=20
Chuck Lever
chuck[dot]lever[at]oracle[dot]com





From Tom.Haynes@netapp.com  Thu Apr 21 12:42:19 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 07AAAE082A for <nfsv4@ietfc.amsl.com>; Thu, 21 Apr 2011 12:42:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.48
X-Spam-Level: 
X-Spam-Status: No, score=-10.48 tagged_above=-999 required=5 tests=[AWL=0.119,  BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id j+RRrCoZttHN for <nfsv4@ietfc.amsl.com>; Thu, 21 Apr 2011 12:42:18 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id 367BBE0754 for <nfsv4@ietf.org>; Thu, 21 Apr 2011 12:42:18 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,252,1301900400"; d="scan'208";a="542976613"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 21 Apr 2011 12:42:17 -0700
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3LJgHHL011278; Thu, 21 Apr 2011 12:42:17 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 21 Apr 2011 12:42:17 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.112]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 21 Apr 2011 15:42:16 -0400
Received: from [10.58.49.232] ([10.58.49.232]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 21 Apr 2011 15:42:15 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <8313A059-3DCA-49E3-96F8-FEF0DE2B7C40@oracle.com>
Date: Thu, 21 Apr 2011 14:42:14 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <4E13A77E-CF49-4B47-AFFB-1F20E0FD246A@netapp.com>
References: <439B7AAB-7E06-4A6B-8A16-C8249BA6E3D8@netapp.com> <8313A059-3DCA-49E3-96F8-FEF0DE2B7C40@oracle.com>
To: Chuck Lever <chuck.lever@oracle.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 21 Apr 2011 19:42:15.0903 (UTC) FILETIME=[37BD0EF0:01CC005C]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [NFSv4.2] Meeting Notes 04/21/2011
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Apr 2011 19:42:19 -0000

On Apr 21, 2011, at 2:23 PM, Chuck Lever wrote:

>=20
> On Apr 21, 2011, at 2:58 PM, Thomas Haynes wrote:
>=20
>> Attendees:
>>=20
>> Tom Haynes (NetApp)
>> Fred Isaman (NetApp)
>> Sorin Faibish (EMC)
>> Peter Staubach (EMC)
>> Dean Hildebrand (IBM)
>> Andy Adamson (NetApp)
>> Bruce Fields (Red Hat)
>=20
>  [ ... snipped ... ]
>=20
>> Bruce mentioned that the Enterprise Apps I-D did not
>> provide sufficient justification for why we would want to
>> consider doing patterns.
>>=20
>> Andy wondered if Oracle could provide us with examples of
>> how corruption was detected.
>>=20
>> Dean asked about how likely it was for Oracle to implement this
>> in the NFSv4.2 timeframe.
>=20
> I don't see the Enterprise Apps I-D under =
http://datatracker.ietf.org/wg/nfsv4/ .  Doesn't that make it a personal =
draft?

It has expired.


>  Thus members of the working group would be better off directing =
comments specifically to the authors of the Enterprise Apps draft.  =
IIRC, the authors of the Enterprise Apps I-D are Mike Eisler (NetApp) =
and Margaret Susairaj (Oracle).


The disconnect here Chuck is that we are trying to pull that into the =
NFSv4.2 I-D. The
authors are both aware of this effort.

What was presented in the Meeting Notes are just that, notes of what =
went on. Under the
IETF Note Well Agreement, it is all open.

I guess I could have added AIs that I will take to contact the authors =
to ask for clarifications
of these comments, but I assumed those were apparent given my role as =
editor.




>=20
> --=20
> Chuck Lever
> chuck[dot]lever[at]oracle[dot]com
>=20
>=20
>=20
>=20


From chuck.lever@oracle.com  Thu Apr 21 12:51:45 2011
Return-Path: <chuck.lever@oracle.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id BE122E0837 for <nfsv4@ietfc.amsl.com>; Thu, 21 Apr 2011 12:51:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.598
X-Spam-Level: 
X-Spam-Status: No, score=-6.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 304HoxZ3mvG1 for <nfsv4@ietfc.amsl.com>; Thu, 21 Apr 2011 12:51:44 -0700 (PDT)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by ietfc.amsl.com (Postfix) with ESMTP id 96B00E07D6 for <nfsv4@ietf.org>; Thu, 21 Apr 2011 12:51:44 -0700 (PDT)
Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p3LJpfwM021596 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 21 Apr 2011 19:51:43 GMT
Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p3LJpfI7032515 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 21 Apr 2011 19:51:41 GMT
Received: from abhmt003.oracle.com (abhmt003.oracle.com [141.146.116.12]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p3LJpeeR015842; Thu, 21 Apr 2011 14:51:40 -0500
Received: from moret.1015granger.net (/99.26.161.222) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 21 Apr 2011 12:51:40 -0700
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Chuck Lever <chuck.lever@oracle.com>
In-Reply-To: <4E13A77E-CF49-4B47-AFFB-1F20E0FD246A@netapp.com>
Date: Thu, 21 Apr 2011 15:51:39 -0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <96449F11-0FA5-40A3-AB74-597EE0684890@oracle.com>
References: <439B7AAB-7E06-4A6B-8A16-C8249BA6E3D8@netapp.com> <8313A059-3DCA-49E3-96F8-FEF0DE2B7C40@oracle.com> <4E13A77E-CF49-4B47-AFFB-1F20E0FD246A@netapp.com>
To: Thomas Haynes <thomas@netapp.com>
X-Mailer: Apple Mail (2.1084)
X-Source-IP: rcsinet15.oracle.com [148.87.113.117]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090203.4DB08ACF.0073:SCFMA4539811,ss=1,fgs=0
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [NFSv4.2] Meeting Notes 04/21/2011
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Apr 2011 19:51:45 -0000

On Apr 21, 2011, at 3:42 PM, Thomas Haynes wrote:

>=20
> On Apr 21, 2011, at 2:23 PM, Chuck Lever wrote:
>=20
>>=20
>> On Apr 21, 2011, at 2:58 PM, Thomas Haynes wrote:
>>=20
>>> Attendees:
>>>=20
>>> Tom Haynes (NetApp)
>>> Fred Isaman (NetApp)
>>> Sorin Faibish (EMC)
>>> Peter Staubach (EMC)
>>> Dean Hildebrand (IBM)
>>> Andy Adamson (NetApp)
>>> Bruce Fields (Red Hat)
>>=20
>> [ ... snipped ... ]
>>=20
>>> Bruce mentioned that the Enterprise Apps I-D did not
>>> provide sufficient justification for why we would want to
>>> consider doing patterns.
>>>=20
>>> Andy wondered if Oracle could provide us with examples of
>>> how corruption was detected.
>>>=20
>>> Dean asked about how likely it was for Oracle to implement this
>>> in the NFSv4.2 timeframe.
>>=20
>> I don't see the Enterprise Apps I-D under =
http://datatracker.ietf.org/wg/nfsv4/ .  Doesn't that make it a personal =
draft?
>=20
> It has expired.
>=20
>=20
>> Thus members of the working group would be better off directing =
comments specifically to the authors of the Enterprise Apps draft.  =
IIRC, the authors of the Enterprise Apps I-D are Mike Eisler (NetApp) =
and Margaret Susairaj (Oracle).
>=20
>=20
> The disconnect here Chuck is that we are trying to pull that into the =
NFSv4.2 I-D. The
> authors are both aware of this effort.

I didn't want the working group's v4.2 effort to stall waiting for =
participation, or a response, from the wrong party.  Just saying "I =
wonder if Oracle..." doesn't seem actionable to me.

However, I'm satisfied as long as the working group is aware that =
"Oracle" is a very large company and isn't about to respond unless a =
specific request is made to the specific people responsible for that =
material.

Thanks for clarifying, Tom.

--=20
Chuck Lever
chuck[dot]lever[at]oracle[dot]com





From sshepler@microsoft.com  Thu Apr 21 13:08:28 2011
Return-Path: <sshepler@microsoft.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id B1EE3E0781 for <nfsv4@ietfc.amsl.com>; Thu, 21 Apr 2011 13:08:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4wBthL9YuqeY for <nfsv4@ietfc.amsl.com>; Thu, 21 Apr 2011 13:08:28 -0700 (PDT)
Received: from smtp.microsoft.com (smtp.microsoft.com [131.107.115.215]) by ietfc.amsl.com (Postfix) with ESMTP id C5CE9E073E for <nfsv4@ietf.org>; Thu, 21 Apr 2011 13:08:27 -0700 (PDT)
Received: from TK5EX14MLTC101.redmond.corp.microsoft.com (157.54.79.178) by TK5-EXGWY-E802.partners.extranet.microsoft.com (10.251.56.168) with Microsoft SMTP Server (TLS) id 8.2.176.0; Thu, 21 Apr 2011 13:08:27 -0700
Received: from TK5EX14MBXC131.redmond.corp.microsoft.com ([169.254.10.119]) by TK5EX14MLTC101.redmond.corp.microsoft.com ([157.54.79.178]) with mapi id 14.01.0289.008; Thu, 21 Apr 2011 13:08:27 -0700
From: Spencer Shepler <sshepler@microsoft.com>
To: Chuck Lever <chuck.lever@oracle.com>, Thomas Haynes <thomas@netapp.com>, Margaret Susairaj <Margaret.Susairaj@oracle.com>, Mike Eisler <mike@eisler.com>
Thread-Topic: Question about Enterprise I-D...
Thread-Index: AcwAX9+Gb34cMQZyR6GBj40xTrkeFg==
Date: Thu, 21 Apr 2011 20:08:26 +0000
Message-ID: <E043D9D8EE3B5743B8B174A814FD584F0F0C5B74@TK5EX14MBXC131.redmond.corp.microsoft.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.70]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "nfsv4@ietf.org" <nfsv4@ietf.org>
Subject: [nfsv4] Question about Enterprise I-D...
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Apr 2011 20:08:28 -0000

[Did everyone's cut/paste functionality break?]

Margaret and Mike,

You have a question outstanding on your NFSv4 Enterprise Apps I-D.
in today's concall meeting notes (which can be found here:
http://www.ietf.org/mail-archive/web/nfsv4/current/msg09422.html)

Spencer

> -----Original Message-----
> From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On Behalf Of
> Chuck Lever
> Sent: Thursday, April 21, 2011 12:52 PM
> To: Thomas Haynes
> Cc: nfsv4@ietf.org
> Subject: Re: [nfsv4] [NFSv4.2] Meeting Notes 04/21/2011
>=20
>=20
> On Apr 21, 2011, at 3:42 PM, Thomas Haynes wrote:
>=20
> >
> > On Apr 21, 2011, at 2:23 PM, Chuck Lever wrote:
> >
> >>
> >> On Apr 21, 2011, at 2:58 PM, Thomas Haynes wrote:
> >>
> >>> Attendees:
> >>>
> >>> Tom Haynes (NetApp)
> >>> Fred Isaman (NetApp)
> >>> Sorin Faibish (EMC)
> >>> Peter Staubach (EMC)
> >>> Dean Hildebrand (IBM)
> >>> Andy Adamson (NetApp)
> >>> Bruce Fields (Red Hat)
> >>
> >> [ ... snipped ... ]
> >>
> >>> Bruce mentioned that the Enterprise Apps I-D did not provide
> >>> sufficient justification for why we would want to consider doing
> >>> patterns.
> >>>
> >>> Andy wondered if Oracle could provide us with examples of how
> >>> corruption was detected.
> >>>
> >>> Dean asked about how likely it was for Oracle to implement this in
> >>> the NFSv4.2 timeframe.
> >>
> >> I don't see the Enterprise Apps I-D under
> http://datatracker.ietf.org/wg/nfsv4/ .  Doesn't that make it a personal
> draft?
> >
> > It has expired.
> >
> >
> >> Thus members of the working group would be better off directing
> comments specifically to the authors of the Enterprise Apps draft.  IIRC,
> the authors of the Enterprise Apps I-D are Mike Eisler (NetApp) and
> Margaret Susairaj (Oracle).
> >
> >
> > The disconnect here Chuck is that we are trying to pull that into the
> > NFSv4.2 I-D. The authors are both aware of this effort.
>=20
> I didn't want the working group's v4.2 effort to stall waiting for
> participation, or a response, from the wrong party.  Just saying "I wonde=
r
> if Oracle..." doesn't seem actionable to me.
>=20
> However, I'm satisfied as long as the working group is aware that "Oracle=
"
> is a very large company and isn't about to respond unless a specific
> request is made to the specific people responsible for that material.
>=20
> Thanks for clarifying, Tom.
>=20
> --
> Chuck Lever
> chuck[dot]lever[at]oracle[dot]com
>=20
>=20
>=20
>=20
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4


From mre-ietf@eisler.com  Thu Apr 21 14:00:52 2011
Return-Path: <mre-ietf@eisler.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id C6C1AE0746 for <nfsv4@ietfc.amsl.com>; Thu, 21 Apr 2011 14:00:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.149
X-Spam-Level: 
X-Spam-Status: No, score=-1.149 tagged_above=-999 required=5 tests=[AWL=-1.450, BAYES_00=-2.599, J_CHICKENPOX_102=0.6, MANGLED_BEEF=2.3]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LVgx0eXaCSNv for <nfsv4@ietfc.amsl.com>; Thu, 21 Apr 2011 14:00:51 -0700 (PDT)
Received: from homiemail-a80.g.dreamhost.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) by ietfc.amsl.com (Postfix) with ESMTP id 7717DE0760 for <nfsv4@ietf.org>; Thu, 21 Apr 2011 14:00:51 -0700 (PDT)
Received: from homiemail-a80.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a80.g.dreamhost.com (Postfix) with ESMTP id 8980F37A06B; Thu, 21 Apr 2011 14:00:26 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=eisler.com; h=message-id :in-reply-to:references:date:subject:from:to:mime-version :content-type:content-transfer-encoding; q=dns; s=eisler.com; b= fZ+6sMmDzKVDzwzTRDJofBgeKW/6S7KlL3k01YhlvFuozk98YnzNkwf0W9//wzof x0aPQzWboVm5VCTtK/8gnxduOjmkgztmOP//5hQT2CsGBLV4/mLrOiqPz93sg7V3 3OPVl9Uf9201zSJIcFDujwZmgUlP3y5ujFAm2/UwGlM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=eisler.com; h=message-id :in-reply-to:references:date:subject:from:to:mime-version :content-type:content-transfer-encoding; s=eisler.com; bh=kwgBsg z0Ok1QJzeChjAr9w2nlPE=; b=dAH40iYdVxwAxC9wkSPYqF9c2+sf35VYWQtRZC ckI5N6ODvUZALYJVFlBFS23d73kDCXasH1kG67ALr7xOkgHLNbb61uKqJS7ACP9S pfzB7VCQUgVGK1ObVbtL7q1eji9I0eKndA0veGEs62aEyYCHeHX1EsqPJwD9Cdnx 2V75w=
Received: from webmail.eisler.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) (Authenticated sender: mre-ietf@eisler.com) by homiemail-a80.g.dreamhost.com (Postfix) with ESMTPA id 39D3937A065;  Thu, 21 Apr 2011 14:00:26 -0700 (PDT)
Received: from 198.95.226.230 (proxying for 198.95.226.230) (SquirrelMail authenticated user mre-ietf@eisler.com) by webmail.eisler.com with HTTP; Thu, 21 Apr 2011 14:00:50 -0700
Message-ID: <5f00e87cc6ca5b0e9bba8b8f4e27e3d4.squirrel@webmail.eisler.com>
In-Reply-To: <439B7AAB-7E06-4A6B-8A16-C8249BA6E3D8@netapp.com>
References: <439B7AAB-7E06-4A6B-8A16-C8249BA6E3D8@netapp.com>
Date: Thu, 21 Apr 2011 14:00:50 -0700
From: "Mike Eisler" <mre-ietf@eisler.com>
To: Margaret.Susairaj@oracle.com, nfsv4@ietf.org
User-Agent: SquirrelMail/1.4.21
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Subject: Re: [nfsv4] [NFSv4.2] Meeting Notes 04/21/2011
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Apr 2011 21:00:52 -0000

Regretfully I was triple booked at this time. I do appreciate the
consideration being give to patterns.

Comments inline ...

On Thu, April 21, 2011 11:58 am, Thomas Haynes wrote:

> + New I/O ops
>
> ++ Do we want to support large reads and writes?

> We decided not to do so at this time.

Fair enough.
>

> ++ Do we want to have an union which does holes/patterns/data?

Note that a hole is an unallocated region of a file. A pattern is
how the hole is represented.

A union of a pattern/data on the write side is unnecessarily complex. Thi=
s
should be two operations.

A union a pattern/data on the read side is unavoidable.


>
> This turned into a discussion of how are patterns meant to be used.
>
> The common understanding was that the pattern was to be repeated
> inside the block to detect corruption.

No.

http://tools.ietf.org/html/draft-eisler-nfsv4-enterprise-apps-01#section-=
2.4

"An example will illustrate how the client uses INITIALIZE.  Suppose
   the arguments (except for ia_stateid) are: { 0, 500, 1000, 8, 0,
   "DeadBeef" }.  Then starting with offset zero, the content of the
   file will have these contents.

   offset value (decimal or ASCII)
   0      0   0   0   0   0   0   0   0
   8      'D' 'e' 'a' 'd' 'B' 'e' 'e' 'f'
   16-499 zeroes

   500    0   0   0   0   0   0   0   1
   508    'D' 'e' 'a' 'd' 'B' 'e' 'e' 'f'
   516-999 zeroes

   ...

   499500  0   0   0   0   0   0   3   231
   499508  'D' 'e' 'a' 'd' 'B' 'e' 'e' 'f'
   499516-499999 zeroes

"


> If it is not to be repeated and the information of concern is the
> block number and guard pattern, then is it sufficient for the zero
> blocks to be utilized? I.e., couldn't the application detect that
> a hole was present and then fill in the required block number
> (at the expected offset) and guard pattern?

No, because the presence of a zero could mean data corruption.

>
> [[-->
> Some issues thought of post call:
>
> 1) Dumb applications like tar or dd might be used to copy the
> file. In which case the disk blocks would be expanded. When the
> file was written, dedup would be necessary to regain the
> sparseness.

Yes. This is not the 1970s any more. Storage has advanced. New APIs
are needed.

> If dedup is present, having zero filled holes is optimal. I.e.,
> if the patterns were applied during the expansion, then each
> disk block would be unique because of the block number.
> The dedup would thus have to be application aware to
> shrink the actual storage.

Storage is often application aware today. It does not strike me as
difficult for storage to detect the repeating "guard pattern" (ia_pattern=
)
and the increasing pattern iteration number to de-dupe. This could
conceivably be done  inline and or in the background. Since This would be
part of an official standard, namely NFSv4.2, storage vendors might be
motivated to add this to their de-dupe subsystems.

IOW, if you have made the investment in your storage implementation
to be sophisticated enough to do de-dupe, surely extending it to detect
patterns is a small incremental engineering effort.

>
> 2) Either the block size or guard pattern might be different
> based on the expected use of the application data block.
> In such a case, that information would need to be stored
> with the file and not in the application.
> <--]]

Or you detect it heuristically.

>
> Bruce mentioned that the Enterprise Apps I-D did not
> provide sufficient justification for why we would want to
> consider doing patterns.

Because zeroes often indicate data corruption in addition to
uninitialized data. I suspect that one of the most frequently called
APIs in random O/S hardware is bzero() or memset(). Bzero() of a
block of memory that the caller thinks it owns but doesn't really is
pretty common bug. Or perhaps in 31 years of doing this stuff, it just
seems like I've fixed that bug a lot.

>
> Andy wondered if Oracle could provide us with examples of
> how corruption was detected.

As I understand it, there are three states a block can be in:
- corrupt
- initialized
- allocated

Corrupt is anything not in the initialized and allocated states, and that
includes a block of all zeroes which is a common form of data corruption.

Initialized is as per the i-d from Oracle and NetApp.

Allocated means that there is real (i.e. valuable) data written on
the block. There will be a different ia_pattern value. There will also
be a checksum.

The model is that the app invokes initialize(fd, ...) on the file.

Then each time the database app wants to write to a block in the file, it
first reads the block to verify that it is in the expected initialized or
allocated state. If not, there is corruption, and recovery ensures.
Otherwise, the database app's block write includes:
- a new ia_pattern<> to indicate an allocated state
- the same block number
- the data
- a checksum of the entire block

A read of the database verifies the ia_pattern and block number, and
if applicable, verifies the checksum. If the verification fails,
the database is corrupt and recovery ensues.

As one can see, a block of zeroes will always be interpreted as
corruption. For that matter, so would a block of all ones. Indeed,
by crafting the ia_pattern<> string correctly (large prime numbers
look interesting to me), many common forms of
data corruption can be trivially filtered out.
>
> Dean asked about how likely it was for Oracle to implement this
> in the NFSv4.2 timeframe.

Are we now requiring implementation experience as condition to join the
train?

Regardless, understanding is that this is likely. Keep in mind that Oracl=
e
does a lot of these mechanics today, except that instead of sending
a single INTIALIZE operation, Oracle has to send a lot of WRITE operation=
s,
which impede provisioning of databases, and waste storage.

> Using the array allows for fewer RPC calls.
>
> ++ WRITE_PATTERN will do pattern initialization and hole punching.

Within Netapp we had a discussion about what if the NFS server's storage
does not support de-allocated regions within a file? The server might
still want to perform the writes local to its storage. Therefore levergin=
g
the
COPY infrastructure for asynchronous and synchronous INITIALIZE might
be useful. As a NetApp employee I don't actually care since NetApp's
file system supports de-allocated regions.

> Peter mentioned that the server might want to inform the client as to
> whether
> a hole was created or blocks written.

Maybe. What's the use case?

As long as the client creates the file with the space_reserved attribute,
it is golden. If it doesn't, then why does it care?

--=20
Mike Eisler, Senior Technical Director, NetApp, 719 599 9026,
http://blogs.netapp.com/eislers_nfs_blog/




From mre-ietf@eisler.com  Thu Apr 21 14:02:26 2011
Return-Path: <mre-ietf@eisler.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id B43D7E0746 for <nfsv4@ietfc.amsl.com>; Thu, 21 Apr 2011 14:02:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.874
X-Spam-Level: 
X-Spam-Status: No, score=-1.874 tagged_above=-999 required=5 tests=[AWL=0.725,  BAYES_00=-2.599]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mR+wK9YV5+UE for <nfsv4@ietfc.amsl.com>; Thu, 21 Apr 2011 14:02:25 -0700 (PDT)
Received: from homiemail-a80.g.dreamhost.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) by ietfc.amsl.com (Postfix) with ESMTP id C1AF8E0702 for <nfsv4@ietf.org>; Thu, 21 Apr 2011 14:02:25 -0700 (PDT)
Received: from homiemail-a80.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a80.g.dreamhost.com (Postfix) with ESMTP id 7531F37A06B; Thu, 21 Apr 2011 14:02:01 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=eisler.com; h=message-id :in-reply-to:references:date:subject:from:to:cc:mime-version :content-type:content-transfer-encoding; q=dns; s=eisler.com; b= toDs7QZwUd3rvlE+iB/P9UintDL3yxVcjpuEmyGYH8R8aAyN7Z5H16a+PfE9wNeq KV2YxW2Ue06rUvro2jUrPMtF3JKcQeMMXX/COhEQfYq8GzFogzA2nxaWw16SnYpt 2Wn9RpFxiDUIa1LDRKmTnSqqsEgpBZHGGppC2Oaajoo=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=eisler.com; h=message-id :in-reply-to:references:date:subject:from:to:cc:mime-version :content-type:content-transfer-encoding; s=eisler.com; bh=qGYHXD RH9b+KrxBJwbsSLnUYnog=; b=sgmw1q/tC0NnXyRZrAQwzPeysWgf1dQv3civ3D lj9y5Lr9PmEc/2PzyWaTjXfWlfFCDDOxHxJW9m7a2fAdWQvxsagawM0sEmZt+EwV ICsm82gwyM1R+dv/pYXJ5owEgi2Q7WySuAuYlQVn3YpHALpKHeV7wgPlCGTrXhRE Hpcsc=
Received: from webmail.eisler.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) (Authenticated sender: mre-ietf@eisler.com) by homiemail-a80.g.dreamhost.com (Postfix) with ESMTPA id C853337A065;  Thu, 21 Apr 2011 14:02:00 -0700 (PDT)
Received: from 198.95.226.230 (proxying for 198.95.226.230) (SquirrelMail authenticated user mre-ietf@eisler.com) by webmail.eisler.com with HTTP; Thu, 21 Apr 2011 14:02:25 -0700
Message-ID: <4e01755e3ed4e160a6061449e44bfbbb.squirrel@webmail.eisler.com>
In-Reply-To: <E043D9D8EE3B5743B8B174A814FD584F0F0C5B74@TK5EX14MBXC131.redmond.corp.microsoft.com>
References: <E043D9D8EE3B5743B8B174A814FD584F0F0C5B74@TK5EX14MBXC131.redmond.corp.microsoft.com>
Date: Thu, 21 Apr 2011 14:02:25 -0700
From: "Mike Eisler" <mre-ietf@eisler.com>
To: "Spencer Shepler" <sshepler@microsoft.com>
User-Agent: SquirrelMail/1.4.21
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: Margaret Susairaj <margaret.susairaj@oracle.com>, Mike Eisler <mike@eisler.com>, "nfsv4@ietf.org" <nfsv4@ietf.org>
Subject: Re: [nfsv4] Question about Enterprise I-D...
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Apr 2011 21:02:26 -0000

I've replied in the thread that has the notes posted.

I will refresh the I-D.

On Thu, April 21, 2011 1:08 pm, Spencer Shepler wrote:
>
> [Did everyone's cut/paste functionality break?]
>
> Margaret and Mike,
>
> You have a question outstanding on your NFSv4 Enterprise Apps I-D.
> in today's concall meeting notes (which can be found here:
> http://www.ietf.org/mail-archive/web/nfsv4/current/msg09422.html)
>
> Spencer
>
>> -----Original Message-----
>> From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On Behalf
>> Of
>> Chuck Lever
>> Sent: Thursday, April 21, 2011 12:52 PM
>> To: Thomas Haynes
>> Cc: nfsv4@ietf.org
>> Subject: Re: [nfsv4] [NFSv4.2] Meeting Notes 04/21/2011
>>
>>
>> On Apr 21, 2011, at 3:42 PM, Thomas Haynes wrote:
>>
>> >
>> > On Apr 21, 2011, at 2:23 PM, Chuck Lever wrote:
>> >
>> >>
>> >> On Apr 21, 2011, at 2:58 PM, Thomas Haynes wrote:
>> >>
>> >>> Attendees:
>> >>>
>> >>> Tom Haynes (NetApp)
>> >>> Fred Isaman (NetApp)
>> >>> Sorin Faibish (EMC)
>> >>> Peter Staubach (EMC)
>> >>> Dean Hildebrand (IBM)
>> >>> Andy Adamson (NetApp)
>> >>> Bruce Fields (Red Hat)
>> >>
>> >> [ ... snipped ... ]
>> >>
>> >>> Bruce mentioned that the Enterprise Apps I-D did not provide
>> >>> sufficient justification for why we would want to consider doing
>> >>> patterns.
>> >>>
>> >>> Andy wondered if Oracle could provide us with examples of how
>> >>> corruption was detected.
>> >>>
>> >>> Dean asked about how likely it was for Oracle to implement this in
>> >>> the NFSv4.2 timeframe.
>> >>
>> >> I don't see the Enterprise Apps I-D under
>> http://datatracker.ietf.org/wg/nfsv4/ .  Doesn't that make it a person=
al
>> draft?
>> >
>> > It has expired.
>> >
>> >
>> >> Thus members of the working group would be better off directing
>> comments specifically to the authors of the Enterprise Apps draft.
>> IIRC,
>> the authors of the Enterprise Apps I-D are Mike Eisler (NetApp) and
>> Margaret Susairaj (Oracle).
>> >
>> >
>> > The disconnect here Chuck is that we are trying to pull that into th=
e
>> > NFSv4.2 I-D. The authors are both aware of this effort.
>>
>> I didn't want the working group's v4.2 effort to stall waiting for
>> participation, or a response, from the wrong party.  Just saying "I
>> wonder
>> if Oracle..." doesn't seem actionable to me.
>>
>> However, I'm satisfied as long as the working group is aware that
>> "Oracle"
>> is a very large company and isn't about to respond unless a specific
>> request is made to the specific people responsible for that material.
>>
>> Thanks for clarifying, Tom.
>>
>> --
>> Chuck Lever
>> chuck[dot]lever[at]oracle[dot]com
>>
>>
>>
>>
>> _______________________________________________
>> nfsv4 mailing list
>> nfsv4@ietf.org
>> https://www.ietf.org/mailman/listinfo/nfsv4
>
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>


--=20
Mike Eisler, Senior Technical Director, NetApp, 719 599 9026,
http://blogs.netapp.com/eislers_nfs_blog/




From seattleplus@gmail.com  Thu Apr 21 14:40:15 2011
Return-Path: <seattleplus@gmail.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 51E6BE07F0 for <nfsv4@ietfc.amsl.com>; Thu, 21 Apr 2011 14:40:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.149
X-Spam-Level: 
X-Spam-Status: No, score=-2.149 tagged_above=-999 required=5 tests=[AWL=-1.450, BAYES_00=-2.599, J_CHICKENPOX_102=0.6, MANGLED_BEEF=2.3, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fmA+7AHVSFVe for <nfsv4@ietfc.amsl.com>; Thu, 21 Apr 2011 14:40:14 -0700 (PDT)
Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by ietfc.amsl.com (Postfix) with ESMTP id 0B48AE07E0 for <nfsv4@ietf.org>; Thu, 21 Apr 2011 14:40:13 -0700 (PDT)
Received: by pwi5 with SMTP id 5so97403pwi.31 for <nfsv4@ietf.org>; Thu, 21 Apr 2011 14:40:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=EFjyxPamoK/0HyYofNTYge3n0h9pjTacSxGpZ3H4+PA=; b=vsQUFMIU21W5TQu7N/u5vvi3rHuxHVNBR/jvXYMv6Yw8Da4TL8yWjCA/O2ZA2plwuh qOpcaq8/P02YzVkRNGa7vYwdNrJAMrmFpLf4gJPWxB8f8n0XuqasQ07UnCBt9qM14GMO SPFvstO39dPM9AmOdR73ZWlmkAgt0Ulqngh28=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=Gtg30gsIY0gx2+GNp0uOiUsArJ16kNtYRojrkX0xbzolgmaPh5ehdsJR58dXpLrdiX R+unTqDHGhr0L5vw4jhWkBknuzMfpnju5oY03dYPz+mascsmYiDHTx7EsQDCobI7hxEr W7R9hxgOVQPEZQ7dqdpMHgZhcJUAa+1jP6U0A=
Received: by 10.142.148.16 with SMTP id v16mr218837wfd.447.1303422013363; Thu, 21 Apr 2011 14:40:13 -0700 (PDT)
Received: from rockmac.ftrdhcpuser.net (50-47-255-159.evrt.wa.frontiernet.net [50.47.255.159]) by mx.google.com with ESMTPS id w14sm2167140wfh.8.2011.04.21.14.40.07 (version=SSLv3 cipher=OTHER); Thu, 21 Apr 2011 14:40:11 -0700 (PDT)
Message-ID: <4DB0A433.4000905@gmail.com>
Date: Thu, 21 Apr 2011 14:40:03 -0700
From: Dean <seattleplus@gmail.com>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9
MIME-Version: 1.0
To: nfsv4@ietf.org
References: <439B7AAB-7E06-4A6B-8A16-C8249BA6E3D8@netapp.com> <5f00e87cc6ca5b0e9bba8b8f4e27e3d4.squirrel@webmail.eisler.com>
In-Reply-To: <5f00e87cc6ca5b0e9bba8b8f4e27e3d4.squirrel@webmail.eisler.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: [nfsv4] [NFSv4.2] Meeting Notes 04/21/2011
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Apr 2011 21:40:15 -0000

>> ++ Do we want to have an union which does holes/patterns/data?
> Note that a hole is an unallocated region of a file. A pattern is
> how the hole is represented.
>
> A union of a pattern/data on the write side is unnecessarily complex. This
> should be two operations.
>
> A union a pattern/data on the read side is unavoidable.
One idea is to have something like a pattern type field.  If it is 1, 
then no pattern is needed and it is assumed to be zeroes, if it is some 
other value, then a pattern is needed.  This would reduce the data 
transferred for the more common zero case.
>
>> This turned into a discussion of how are patterns meant to be used.
>>
>> The common understanding was that the pattern was to be repeated
>> inside the block to detect corruption.
> No.
>
> http://tools.ietf.org/html/draft-eisler-nfsv4-enterprise-apps-01#section-2.4
>
> "An example will illustrate how the client uses INITIALIZE.  Suppose
>     the arguments (except for ia_stateid) are: { 0, 500, 1000, 8, 0,
>     "DeadBeef" }.  Then starting with offset zero, the content of the
>     file will have these contents.
>
>     offset value (decimal or ASCII)
>     0      0   0   0   0   0   0   0   0
>     8      'D' 'e' 'a' 'd' 'B' 'e' 'e' 'f'
>     16-499 zeroes
>
>     500    0   0   0   0   0   0   0   1
>     508    'D' 'e' 'a' 'd' 'B' 'e' 'e' 'f'
>     516-999 zeroes
>
>     ...
>
>     499500  0   0   0   0   0   0   3   231
>     499508  'D' 'e' 'a' 'd' 'B' 'e' 'e' 'f'
>     499516-499999 zeroes
>
> "
>
>
>> If it is not to be repeated and the information of concern is the
>> block number and guard pattern, then is it sufficient for the zero
>> blocks to be utilized? I.e., couldn't the application detect that
>> a hole was present and then fill in the required block number
>> (at the expected offset) and guard pattern?
> No, because the presence of a zero could mean data corruption.
What is the expected block size?  If it closer to 500 or 4K or 1M, i.e., 
is it expected to be smaller than the file system block size or the NFS 
rsize?  The reason I ask is that if the sections of zeroes are large 
enough, then supporting just zeroes should be sufficient to reduce the 
data transferred.

Also, couldn't a file attr/xattr be used to implement store the 
pattern?  This would mean that future read requests would not need have 
a pattern included with every read operation.  Instead the server could 
just look at the pattern attribute and figure out patterns on the fly.
>> [[-->
>> Some issues thought of post call:
>>
>> 1) Dumb applications like tar or dd might be used to copy the
>> file. In which case the disk blocks would be expanded. When the
>> file was written, dedup would be necessary to regain the
>> sparseness.
> Yes. This is not the 1970s any more. Storage has advanced. New APIs
> are needed.
I think this it the advantage of having the 'alloc' flag on the 
READ_PLUS response, which would allow smarter applications/clients to 
reproduce the file as close as possible to the original.
>> If dedup is present, having zero filled holes is optimal. I.e.,
>> if the patterns were applied during the expansion, then each
>> disk block would be unique because of the block number.
>> The dedup would thus have to be application aware to
>> shrink the actual storage.
> Storage is often application aware today. It does not strike me as
> difficult for storage to detect the repeating "guard pattern" (ia_pattern)
> and the increasing pattern iteration number to de-dupe. This could
> conceivably be done  inline and or in the background. Since This would be
> part of an official standard, namely NFSv4.2, storage vendors might be
> motivated to add this to their de-dupe subsystems.
>
> IOW, if you have made the investment in your storage implementation
> to be sophisticated enough to do de-dupe, surely extending it to detect
> patterns is a small incremental engineering effort.
>
>> 2) Either the block size or guard pattern might be different
>> based on the expected use of the application data block.
>> In such a case, that information would need to be stored
>> with the file and not in the application.
>> <--]]
> Or you detect it heuristically.
>
>> Bruce mentioned that the Enterprise Apps I-D did not
>> provide sufficient justification for why we would want to
>> consider doing patterns.
> Because zeroes often indicate data corruption in addition to
> uninitialized data. I suspect that one of the most frequently called
> APIs in random O/S hardware is bzero() or memset(). Bzero() of a
> block of memory that the caller thinks it owns but doesn't really is
> pretty common bug. Or perhaps in 31 years of doing this stuff, it just
> seems like I've fixed that bug a lot.
>
>> Andy wondered if Oracle could provide us with examples of
>> how corruption was detected.
> As I understand it, there are three states a block can be in:
> - corrupt
> - initialized
> - allocated
>
> Corrupt is anything not in the initialized and allocated states, and that
> includes a block of all zeroes which is a common form of data corruption.
>
> Initialized is as per the i-d from Oracle and NetApp.
>
> Allocated means that there is real (i.e. valuable) data written on
> the block. There will be a different ia_pattern value. There will also
> be a checksum.
>
> The model is that the app invokes initialize(fd, ...) on the file.
>
> Then each time the database app wants to write to a block in the file, it
> first reads the block to verify that it is in the expected initialized or
> allocated state. If not, there is corruption, and recovery ensures.
> Otherwise, the database app's block write includes:
> - a new ia_pattern<>  to indicate an allocated state
> - the same block number
> - the data
> - a checksum of the entire block
>
> A read of the database verifies the ia_pattern and block number, and
> if applicable, verifies the checksum. If the verification fails,
> the database is corrupt and recovery ensues.
>
> As one can see, a block of zeroes will always be interpreted as
> corruption. For that matter, so would a block of all ones. Indeed,
> by crafting the ia_pattern<>  string correctly (large prime numbers
> look interesting to me), many common forms of
> data corruption can be trivially filtered out.
>> Dean asked about how likely it was for Oracle to implement this
>> in the NFSv4.2 timeframe.
> Are we now requiring implementation experience as condition to join the
> train?
>
> Regardless, understanding is that this is likely. Keep in mind that Oracle
> does a lot of these mechanics today, except that instead of sending
> a single INTIALIZE operation, Oracle has to send a lot of WRITE operations,
> which impede provisioning of databases, and waste storage.
At the meeting it was unclear whether Oracle supports the pattern 
concept presently, as it would seem silly to add a proposed product 
feature to the protocol.  If Oracle already supports this and is their 
defacto standard for detecting corruption, then my question is of less 
importance.

Dean

>> Using the array allows for fewer RPC calls.
>>
>> ++ WRITE_PATTERN will do pattern initialization and hole punching.
> Within Netapp we had a discussion about what if the NFS server's storage
> does not support de-allocated regions within a file? The server might
> still want to perform the writes local to its storage. Therefore leverging
> the
> COPY infrastructure for asynchronous and synchronous INITIALIZE might
> be useful. As a NetApp employee I don't actually care since NetApp's
> file system supports de-allocated regions.
>
>> Peter mentioned that the server might want to inform the client as to
>> whether
>> a hole was created or blocks written.
> Maybe. What's the use case?
>
> As long as the client creates the file with the space_reserved attribute,
> it is golden. If it doesn't, then why does it care?
>

From Tom.Haynes@netapp.com  Fri Apr 22 09:00:41 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 9CCE6E07BF for <nfsv4@ietfc.amsl.com>; Fri, 22 Apr 2011 09:00:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.483
X-Spam-Level: 
X-Spam-Status: No, score=-10.483 tagged_above=-999 required=5 tests=[AWL=0.116, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2ghuI8SMRhmW for <nfsv4@ietfc.amsl.com>; Fri, 22 Apr 2011 09:00:40 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id 27B66E065A for <nfsv4@ietf.org>; Fri, 22 Apr 2011 09:00:39 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,254,1301900400"; d="scan'208";a="543131621"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 22 Apr 2011 09:00:39 -0700
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3MG0dLi027959; Fri, 22 Apr 2011 09:00:39 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 22 Apr 2011 09:00:39 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.112]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 22 Apr 2011 12:00:37 -0400
Received: from [10.58.49.232] ([10.58.49.232]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 22 Apr 2011 12:00:36 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <4DB0A433.4000905@gmail.com>
Date: Fri, 22 Apr 2011 11:00:35 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <617F1080-9B71-4749-AC12-31EC30CC9FFA@netapp.com>
References: <439B7AAB-7E06-4A6B-8A16-C8249BA6E3D8@netapp.com> <5f00e87cc6ca5b0e9bba8b8f4e27e3d4.squirrel@webmail.eisler.com> <4DB0A433.4000905@gmail.com>
To: Dean <seattleplus@gmail.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 22 Apr 2011 16:00:37.0032 (UTC) FILETIME=[6B682280:01CC0106]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [NFSv4.2] Meeting Notes 04/21/2011
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Apr 2011 16:00:41 -0000

On Apr 21, 2011, at 4:40 PM, Dean wrote:

>>=20
>>=20
>>> If it is not to be repeated and the information of concern is the
>>> block number and guard pattern, then is it sufficient for the zero
>>> blocks to be utilized? I.e., couldn't the application detect that
>>> a hole was present and then fill in the required block number
>>> (at the expected offset) and guard pattern?
>> No, because the presence of a zero could mean data corruption.
> What is the expected block size?  If it closer to 500 or 4K or 1M, =
i.e., is it expected to be smaller than the file system block size or =
the NFS rsize?  The reason I ask is that if the sections of zeroes are =
large enough, then supporting just zeroes should be sufficient to reduce =
the data transferred.
>=20
> Also, couldn't a file attr/xattr be used to implement store the =
pattern?  This would mean that future read requests would not need have =
a pattern included with every read operation.  Instead the server could =
just look at the pattern attribute and figure out patterns on the fly.




The intent all along has been for the server to store the pattern as =
metadata. Whether this
is in an extended inode or something else is implementation specific.

It is not sufficient for just the application to know the pattern. It =
has to be transferred to the
server. Any application (including dd, tar, cp, etc) that access the =
file over any protocol,
including NFSv3, NFSv4, NFSv4.1, NFSv4.2's READ operation, CIFS, etc, =
must get
the application data blocks with the ADBN and guard pattern set.

Furthermore, Mike's explanation of how an application might utilize =
these pieces of information
shows that the guard pattern is also a state indicator for an ADB.  =
I.e., initialized versus
allocated. It is easy enough to envision other states such as =
deallocated, which would
allow an application to detect in essence a dangling pointer.

As I've tried to indicate before, this approach being taken is very much =
like the memory
corruption detection used in OSes (see [1] and [2] for example).  One =
technique is to
write a guard pattern both before and after the payload data. By looking =
at the expected
state of the memory and the guard pattern, we can tell if there is a =
state mismatch or
if an over or under write has occurred.

We might want to consider adding a second guard to the ADBN - the cost =
is another
piece of information on the wire. The reason we don't have to do so with =
the scenario Mike presented
is that a checksum is present. If it is overwritten, corruption is =
detected. If the rest of
the block has a corruption, including where a second guard pattern would =
go, corruption
is detected. BTW - Oracle does currently use the checksum for detecting =
corruption [3].

Actually, I think a second guard can be handled by the application, just =
like the
checksum mentioned by Mike. In the definition of the initialized state, =
the only
things set are the ADBN and the guard pattern. If the application were =
to find
any other but set, it is corruption. In the transition to allocated, the =
application
now owns the contents and can set additional detection bytes, such as a =
checksum
or an end guard pattern.

Finally, as to whether Oracle is implementing this now or in the future =
seems like
a moot point. We are trying to drive up the adoption of NFSv4.x. The =
majority of
the new features targeted* to NFSv4.2 are geared towards that goal. =
Server-side copy
reduces network load, sparse files reduce both network load and disk =
consumption,
sparse files guarantee storage for an application, LNFS allows us entry =
to
a wide variety of use cases we are shut out of, deserialized file =
creation can be
a huge performance win.

Introducing this subset of the Enterprise App I-D will appeal to a =
variety of application
vendors. For example, I can easily see a VM application using this =
technique to manage
detection of corruption in their disk blocks.


Terms:

ADB - application data block
ADBN - ADB number - which block

Notes:

* I.e., ones we are seriously considering but which are not necessarily =
committed to being
on the train.


References:

[1] R. Hastings and B. Joyce. Purify: Fast detection of memory leaks and =
access errors. In Winter USENIX, 1992.

[2] http://dlc.sun.com/osol/docs/content/MODDEBUG/casestudy-26.html

[3] =
http://download.oracle.com/docs/cd/B28359_01/server.111/b28320/initparams0=
46.htm=

From Tom.Haynes@netapp.com  Fri Apr 22 15:06:32 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 49D66E0613 for <nfsv4@ietfc.amsl.com>; Fri, 22 Apr 2011 15:06:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.486
X-Spam-Level: 
X-Spam-Status: No, score=-10.486 tagged_above=-999 required=5 tests=[AWL=0.113, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QSeqFagxJvHZ for <nfsv4@ietfc.amsl.com>; Fri, 22 Apr 2011 15:06:31 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id 8107EE0611 for <nfsv4@ietf.org>; Fri, 22 Apr 2011 15:06:31 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,256,1301900400"; d="scan'208";a="543206539"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 22 Apr 2011 15:06:30 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3MM6UQk025679 for <nfsv4@ietf.org>; Fri, 22 Apr 2011 15:06:30 -0700 (PDT)
Received: from rtprsexc2-prd.hq.netapp.com ([10.100.161.115]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 22 Apr 2011 15:06:30 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.112]) by rtprsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 22 Apr 2011 18:06:28 -0400
Received: from [10.58.49.232] ([10.58.49.232]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 22 Apr 2011 18:06:28 -0400
From: Thomas Haynes <thomas@netapp.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Date: Fri, 22 Apr 2011 17:06:26 -0500
Message-Id: <A01DB044-4130-490D-A2CC-B4CB16757894@netapp.com>
To: nfsv4@ietf.org
Mime-Version: 1.0 (Apple Message framework v1084)
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 22 Apr 2011 22:06:28.0334 (UTC) FILETIME=[876700E0:01CC0139]
Subject: [nfsv4] [LNFS] Discussion items for the next meeting
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Apr 2011 22:06:32 -0000

1) One of the agenda items I'd like to discuss next week is
how the server is going to notify the client that there
has been an object label change.

If the client does not have a file opened, then the server
is not responsible for notifying the client. The client
might have its hands on the label, say via a READDIR,
but the client should be able to handle this like
any other stale attribute.

If the client does have a file opened, then if the object
label changes, the server needs to inform the client
that a change has occurred.

A question I have is how often does an object label change?

If it is not often (as I suspect) then we should be able to
simply use the CB support to inform the client.

Nico has a second proposal, which involves volatile FHs,
but I have a concern that not enough implementations
have VFH support.

2) The second item I want to discuss is how does LNFS
work with pNFS?

I view the object label as being metadata and argue it
can only be checked by the MDS. We have precedent in that
to check whether a client has either access rights or
permissions to a file, the DS is responsible for validating
the stateid with the MDS. So along with sending the
fh and stateid to the MDS, the DS could also send the
subject label.

Note that if a default label needs to be constructed, the
security systems on each DS SHOULD have the same
heuristics as the MDS.

Nico also has a different proposal, again involving
VFHs. I'll leave it to him to bring it up.

From tbeglin@us.ibm.com  Fri Apr 22 15:20:57 2011
Return-Path: <tbeglin@us.ibm.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 17238E0757 for <nfsv4@ietfc.amsl.com>; Fri, 22 Apr 2011 15:20:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.598
X-Spam-Level: 
X-Spam-Status: No, score=-6.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FGDXJZ7-8mwS for <nfsv4@ietfc.amsl.com>; Fri, 22 Apr 2011 15:20:56 -0700 (PDT)
Received: from e39.co.us.ibm.com (e39.co.us.ibm.com [32.97.110.160]) by ietfc.amsl.com (Postfix) with ESMTP id 7D6FEE0685 for <nfsv4@ietf.org>; Fri, 22 Apr 2011 15:20:56 -0700 (PDT)
Received: from d03relay01.boulder.ibm.com (d03relay01.boulder.ibm.com [9.17.195.226]) by e39.co.us.ibm.com (8.14.4/8.13.1) with ESMTP id p3MM7Iuh017283 for <nfsv4@ietf.org>; Fri, 22 Apr 2011 16:07:18 -0600
Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169]) by d03relay01.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p3MMKjpa102362 for <nfsv4@ietf.org>; Fri, 22 Apr 2011 16:20:46 -0600
Received: from d03av03.boulder.ibm.com (loopback [127.0.0.1]) by d03av03.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p3MMKjqQ011653 for <nfsv4@ietf.org>; Fri, 22 Apr 2011 16:20:45 -0600
Received: from d03nm115.boulder.ibm.com (d03nm115.boulder.ibm.com [9.17.195.141]) by d03av03.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id p3MMKjkd011650 for <nfsv4@ietf.org>; Fri, 22 Apr 2011 16:20:45 -0600
Auto-Submitted: auto-generated
From: Tom Beglin <tbeglin@us.ibm.com>
To: nfsv4@ietf.org
Message-ID: <OF4D332CA9.53E5F55F-ON8725787A.007ABFB2-8725787A.007ABFB2@us.ibm.com>
Date: Fri, 22 Apr 2011 16:20:44 -0600
X-MIMETrack: Serialize by Router on D03NM115/03/M/IBM(Release 8.5.1FP4|July 25, 2010) at 04/22/2011 16:20:45
MIME-Version: 1.0
Content-type: multipart/alternative;  Boundary="0__=08BBF2E9DFE939228f9e8a93df938690918c08BBF2E9DFE93922"
Content-Disposition: inline
Subject: [nfsv4] AUTO: Tom Beglin/Tucson/IBM is out of the office. (returning 04/25/2011)
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Apr 2011 22:20:57 -0000

--0__=08BBF2E9DFE939228f9e8a93df938690918c08BBF2E9DFE93922
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: quoted-printable



I am out of the office until 04/25/2011.




Note: This is an automated response to your message  "nfsv4 Digest, Vol=
 84,
Issue 55" sent on 4/22/11 13:00:02.

This is the only notification you will receive while this person is awa=
y.=

--0__=08BBF2E9DFE939228f9e8a93df938690918c08BBF2E9DFE93922
Content-type: text/html; charset=US-ASCII
Content-Disposition: inline
Content-transfer-encoding: quoted-printable

<html><body>
<p><font size=3D"2">I am out of the office until 04/25/2011.<br>
</font><font size=3D"2"><br>
</font><font size=3D"2"><br>
</font><font size=3D"2"><br>
</font><font size=3D"2"><br>
</font><font size=3D"2" color=3D"#808080">Note: This is an automated re=
sponse to your message  &quot;</font><b><font size=3D"2">nfsv4 Digest, =
Vol 84, Issue 55&quot;</font></b><font size=3D"2" color=3D"#808080"> se=
nt on </font><b><font size=3D"2">4/22/11 13:00:02</font></b><font size=3D=
"2" color=3D"#808080">. <br>
</font><font size=3D"2" color=3D"#808080"><br>
</font><font size=3D"2" color=3D"#808080">This is the only notification=
 you will receive while this person is away.</font></body></html>=

--0__=08BBF2E9DFE939228f9e8a93df938690918c08BBF2E9DFE93922--


From nico@cryptonector.com  Fri Apr 22 15:52:39 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 4BC46E067B for <nfsv4@ietfc.amsl.com>; Fri, 22 Apr 2011 15:52:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.88
X-Spam-Level: 
X-Spam-Status: No, score=-1.88 tagged_above=-999 required=5 tests=[AWL=0.097,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YAImOMTCTgCm for <nfsv4@ietfc.amsl.com>; Fri, 22 Apr 2011 15:52:38 -0700 (PDT)
Received: from homiemail-a35.g.dreamhost.com (caiajhbdccac.dreamhost.com [208.97.132.202]) by ietfc.amsl.com (Postfix) with ESMTP id 3665FE065F for <nfsv4@ietf.org>; Fri, 22 Apr 2011 15:52:38 -0700 (PDT)
Received: from homiemail-a35.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a35.g.dreamhost.com (Postfix) with ESMTP id 4A69F5406F for <nfsv4@ietf.org>; Fri, 22 Apr 2011 15:52:37 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=f3c7WeJ7KhXnLdYvWMT/r 1D6twz9r2RJj2ItrPKYoN0aYFWfZjKkECA1Nx7pBjXNAE3laFnCS3MLKjftEFVel CaDbtLwllGCrjnLolAN6jCBpymtyTUwm078WhVauFt+e83leCgkAL5PbYWIEdo8U cp8E3qU2cel3usWgZ3Smpk=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=ntB1C9Ozj0UePG9onw46 n5PZdfE=; b=O1NIwVIfx7HOM1X7JIml/osTvaXY3ZthEmrXlk+NFWR+4iZzbSDV ufWcP8GMIlOtXiklF19XI5giLwnJwXcqqGlXjiGsryfza/iJF2XxaRmcV/ViZFlf PDRtLN3wau9bJrQCGjoJowq4mJ5K37QeiqmQjWXhrjZWv1Ef4K2nsfQ=
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a35.g.dreamhost.com (Postfix) with ESMTPSA id 16EC95405B for <nfsv4@ietf.org>; Fri, 22 Apr 2011 15:52:37 -0700 (PDT)
Received: by vws12 with SMTP id 12so863001vws.31 for <nfsv4@ietf.org>; Fri, 22 Apr 2011 15:52:36 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.107.129 with SMTP id hc1mr2403773vdb.289.1303512756300; Fri, 22 Apr 2011 15:52:36 -0700 (PDT)
Received: by 10.52.163.71 with HTTP; Fri, 22 Apr 2011 15:52:36 -0700 (PDT)
In-Reply-To: <A01DB044-4130-490D-A2CC-B4CB16757894@netapp.com>
References: <A01DB044-4130-490D-A2CC-B4CB16757894@netapp.com>
Date: Fri, 22 Apr 2011 17:52:36 -0500
Message-ID: <BANLkTimbC0ZqPkpz2Kq9bcdYdhdC9Wt74Q@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Thomas Haynes <thomas@netapp.com>
Content-Type: text/plain; charset=UTF-8
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [LNFS] Discussion items for the next meeting
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Apr 2011 22:52:39 -0000

On Fri, Apr 22, 2011 at 5:06 PM, Thomas Haynes <thomas@netapp.com> wrote:
> 1) One of the agenda items I'd like to discuss next week is
> how the server is going to notify the client that there
> has been an object label change.
>
> If the client does not have a file opened, then the server
> is not responsible for notifying the client. The client
> might have its hands on the label, say via a READDIR,
> but the client should be able to handle this like
> any other stale attribute.
>
> If the client does have a file opened, then if the object
> label changes, the server needs to inform the client
> that a change has occurred.
>
> A question I have is how often does an object label change?
>
> If it is not often (as I suspect) then we should be able to
> simply use the CB support to inform the client.
>
> Nico has a second proposal, which involves volatile FHs,
> but I have a concern that not enough implementations
> have VFH support.

My proposal isn't quite volatile FHs.  It is superficially similar,
but NOT the same.  Specifically, in my proposal there's no "re-open by
path", nor any re-open at all -- that is, none of what makes volatile
FHs painful applies to my proposal.

The only thing in common between volatile FHs and my proposal is the
fact that the client has to recover from an FH becoming stale.  Not
even the actual error code need be the same as in volatile FHs, though
keeping it the same helps.

My proposal is to have a very simple recovery: the client asks the
server to give it a new FH that is semantically equivalent to the old
one in every way except for: it's not stale.  The server can say no,
if MAC policy by then prohibits the client/user from accessing that
file in that way.

This _does_ imply a cryptographic capability being embedded in the FH.
 We could make the capability explicit, and the FH would stay the same
as it ever was.  I'd be happy either way.

So, to summarize, I propose either:

a) an implicit cryptographic capability buried in the FH, with a
single new operation to refresh stale FHs,

or

b) an explicit cryptographic capability (still with server-defined
format) and a PUTCAPABILITY/GETCAPABILITY pair of operations (to match
PUTFH/GETFH).

Pretty simple.  Also: not Earth shaking.  Folks, cryptographic
capabilities in filesystems are nothing new, much less scary.  PLEASE
do not confuse any of this with volatile FHs any longer as that does
you and the WG a tremendous disservice (since you might then ignore an
obviously good solution for want of avoiding an unrelated
non-solution).

> 2) The second item I want to discuss is how does LNFS
> work with pNFS?
>
> I view the object label as being metadata and argue it
> can only be checked by the MDS. We have precedent in that
> to check whether a client has either access rights or
> permissions to a file, the DS is responsible for validating
> the stateid with the MDS. So along with sending the
> fh and stateid to the MDS, the DS could also send the
> subject label.

This is very, very, very much related to (1).  It is NOT separate.  A
cryptographic capability approach solves (2), though the MDS still has
to talk to the DSes to tell them about revoked capabilities.  Of
course, we don't want to store copies of ACLs on DSes because that's a
pain, but doing that for labels may be sufficiently easier that we
wouldn't mind that -- something to consider.

> Note that if a default label needs to be constructed, the
> security systems on each DS SHOULD have the same
> heuristics as the MDS.

If you use capabilities + revocation only then the DSes don't need to
know jack about the LFS nor DOIs.  Of course, as long as DS
implementations are closely tied to MDS implementations because of
matters left specifically unspecified, then this is a minor advantage.
 But I'm certain that some implementors will want to be able to pursue
a capability-based approach, probably all of them will.

> Nico also has a different proposal, again involving
> VFHs. I'll leave it to him to bring it up.

Arghhhhh. Please don't ever say it involves VFHs again, I beg, I beg!
:)  (It really doesn't...)

Nico
--

From Tom.Haynes@netapp.com  Fri Apr 22 16:27:48 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 3C699E06A4 for <nfsv4@ietfc.amsl.com>; Fri, 22 Apr 2011 16:27:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.489
X-Spam-Level: 
X-Spam-Status: No, score=-10.489 tagged_above=-999 required=5 tests=[AWL=0.110, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9q+K0wXsawqL for <nfsv4@ietfc.amsl.com>; Fri, 22 Apr 2011 16:27:45 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id 80D89E065F for <nfsv4@ietf.org>; Fri, 22 Apr 2011 16:27:45 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,256,1301900400"; d="scan'208";a="543216587"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 22 Apr 2011 16:27:44 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3MNRiTQ026124; Fri, 22 Apr 2011 16:27:44 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 22 Apr 2011 16:27:44 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.112]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 22 Apr 2011 19:27:43 -0400
Received: from [10.58.49.232] ([10.58.49.232]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 22 Apr 2011 19:27:42 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <BANLkTimbC0ZqPkpz2Kq9bcdYdhdC9Wt74Q@mail.gmail.com>
Date: Fri, 22 Apr 2011 18:27:41 -0500
Content-Transfer-Encoding: 7bit
Message-Id: <30F15750-1949-4044-86C3-A796E0AF3391@netapp.com>
References: <A01DB044-4130-490D-A2CC-B4CB16757894@netapp.com> <BANLkTimbC0ZqPkpz2Kq9bcdYdhdC9Wt74Q@mail.gmail.com>
To: Nico Williams <nico@cryptonector.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 22 Apr 2011 23:27:42.0865 (UTC) FILETIME=[E0D96810:01CC0144]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [LNFS] Discussion items for the next meeting
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Apr 2011 23:27:48 -0000

On Apr 22, 2011, at 5:52 PM, Nico Williams wrote:

> On Fri, Apr 22, 2011 at 5:06 PM, Thomas Haynes <thomas@netapp.com> wrote:
>> 1) One of the agenda items I'd like to discuss next week is
>> how the server is going to notify the client that there
>> has been an object label change.
>> 
>> If the client does not have a file opened, then the server
>> is not responsible for notifying the client. The client
>> might have its hands on the label, say via a READDIR,
>> but the client should be able to handle this like
>> any other stale attribute.
>> 
>> If the client does have a file opened, then if the object
>> label changes, the server needs to inform the client
>> that a change has occurred.
>> 
>> A question I have is how often does an object label change?
>> 
>> If it is not often (as I suspect) then we should be able to
>> simply use the CB support to inform the client.
>> 
>> Nico has a second proposal, which involves volatile FHs,
>> but I have a concern that not enough implementations
>> have VFH support.
> 
> My proposal isn't quite volatile FHs.  It is superficially similar,
> but NOT the same.  Specifically, in my proposal there's no "re-open by
> path", nor any re-open at all -- that is, none of what makes volatile
> FHs painful applies to my proposal.
> 
> The only thing in common between volatile FHs and my proposal is the
> fact that the client has to recover from an FH becoming stale.  Not
> even the actual error code need be the same as in volatile FHs, though
> keeping it the same helps.


Nico,

I don't understand why the FH has to become stale. Does the
fact that the object label has changed make this stale?

Also, what issues if any are there if the server reboots and
a client presents one of your FHs?




> 
> My proposal is to have a very simple recovery: the client asks the
> server to give it a new FH that is semantically equivalent to the old
> one in every way except for: it's not stale.  The server can say no,
> if MAC policy by then prohibits the client/user from accessing that
> file in that way.
> 
> This _does_ imply a cryptographic capability being embedded in the FH.


I really do not want to be in the business of dictating the format
of the FH to the servers. How much space is needed by this capability?


> We could make the capability explicit, and the FH would stay the same
> as it ever was.  I'd be happy either way.
> 
> So, to summarize, I propose either:
> 
> a) an implicit cryptographic capability buried in the FH, with a
> single new operation to refresh stale FHs,
> 
> or
> 
> b) an explicit cryptographic capability (still with server-defined
> format) and a PUTCAPABILITY/GETCAPABILITY pair of operations (to match
> PUTFH/GETFH).


I'm assuming that the client would do a GETCAPABILITY with the MDS and
then present it to the DS with a PUTCAPABILITY?

If implicit capabilities can be built by the server (remember that the
FH is opaque and the client cannot use it) and explicit capabilities
are not passed around in the FH, why can we not have implicit
capabilities which are not passed in the FH?

Or in other words, the MDS creates an implicit capability. It has
a tuple of <client, FH, stateid, capability>. If the DS wants to know
the capability, it can query the MDS by passing in the <client, FH, stateid>.

Also, in this case, there is no cost to encrypt the capabilities.


> 
> Pretty simple.  Also: not Earth shaking.  Folks, cryptographic
> capabilities in filesystems are nothing new, much less scary.  


This is not my issue. Quite simply, we already have a working
approach to solve the second item for DAC and it is easy enough to
extend for MAC. As for the first item, it also falls into well understood
approaches we've already solved.

A tangent is whether there are other uses for capabilities?

And please provide a good reference on capabilities.


From nico@cryptonector.com  Fri Apr 22 17:51:03 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 7376FE0694 for <nfsv4@ietfc.amsl.com>; Fri, 22 Apr 2011 17:51:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.881
X-Spam-Level: 
X-Spam-Status: No, score=-1.881 tagged_above=-999 required=5 tests=[AWL=0.095,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EwsVEdUIoAQy for <nfsv4@ietfc.amsl.com>; Fri, 22 Apr 2011 17:51:02 -0700 (PDT)
Received: from homiemail-a66.g.dreamhost.com (caiajhbdccah.dreamhost.com [208.97.132.207]) by ietfc.amsl.com (Postfix) with ESMTP id 1CF12E066B for <nfsv4@ietf.org>; Fri, 22 Apr 2011 17:51:01 -0700 (PDT)
Received: from homiemail-a66.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a66.g.dreamhost.com (Postfix) with ESMTP id BBE3935005B for <nfsv4@ietf.org>; Fri, 22 Apr 2011 17:51:00 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=RzHQbZQFx/asg0+xvU7dO vPMAmePsjL5tOYzEMxJzfnrjwvvy9hqc7Tmxtqx43bk5/YgeaUemRTrQbbzXF+U7 5XpiNhKV2UEEpzIm95meKWsn81BkJycxKv+/G1RiPtQbZTbeyeS7IRpVqYvrvZa/ zESQAQMo42eVHtafdY5krI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=FtDiHEGH8IUcu2UTfp/B TSeSznU=; b=wCibj1iFr0otUfTXcdFVL0mefy1A644DLUvvAVEPoXm8+RhkvWDY lobiPJkO3qRmi1F7LY7XnhH3H57EEazjnFAi6P2fxL0P/zHdaLZ9TNU2AaE1KjwA RB0WkW0ukooRSssu4IPUfzaK0anoe9yIAxMLZS6SSxrQAYtlZHbv3eM=
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a66.g.dreamhost.com (Postfix) with ESMTPSA id 88E4F350056 for <nfsv4@ietf.org>; Fri, 22 Apr 2011 17:51:00 -0700 (PDT)
Received: by vxg33 with SMTP id 33so918896vxg.31 for <nfsv4@ietf.org>; Fri, 22 Apr 2011 17:50:59 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.73.164 with SMTP id m4mr2533584vdv.169.1303519859743; Fri, 22 Apr 2011 17:50:59 -0700 (PDT)
Received: by 10.52.163.71 with HTTP; Fri, 22 Apr 2011 17:50:59 -0700 (PDT)
Received: by 10.52.163.71 with HTTP; Fri, 22 Apr 2011 17:50:59 -0700 (PDT)
In-Reply-To: <30F15750-1949-4044-86C3-A796E0AF3391@netapp.com>
References: <A01DB044-4130-490D-A2CC-B4CB16757894@netapp.com> <BANLkTimbC0ZqPkpz2Kq9bcdYdhdC9Wt74Q@mail.gmail.com> <30F15750-1949-4044-86C3-A796E0AF3391@netapp.com>
Date: Fri, 22 Apr 2011 19:50:59 -0500
Message-ID: <BANLkTinZYPqKXQm9QyXOqd_uSxLaSUm3aA@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Thomas Haynes <thomas@netapp.com>
Content-Type: multipart/alternative; boundary=bcaec501666f329b2704a18b5e3c
Cc: Nico Williams <nico@cryptonector.com>, nfsv4@ietf.org
Subject: Re: [nfsv4] [LNFS] Discussion items for the next meeting
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 23 Apr 2011 00:51:03 -0000

--bcaec501666f329b2704a18b5e3c
Content-Type: text/plain; charset=UTF-8

On Apr 22, 2011 7:27 PM, "Thomas Haynes" <thomas@netapp.com> wrote:
> On Apr 22, 2011, at 5:52 PM, Nico Williams wrote:
> Nico,
>
> I don't understand why the FH has to become stale. Does the
> fact that the object label has changed make this stale?

My proposal is for cryptographic capabilities, either embedded in the FH or
explicit.

When the label changes, which is to say: when access is *revoked* (this is
key, see below), the access capability (token, if it helps you) becomes
stale or otherwise no longer capable of granting access.

> Also, what issues if any are there if the server reboots and
> a client presents one of your FHs?

Implementation-specific.  Quite possibly none (that is, you can easily make
it none).

> > My proposal is to have a very simple recovery: the client asks the
> > server to give it a new FH that is semantically equivalent to the old
> > one in every way except for: it's not stale.  The server can say no,
> > if MAC policy by then prohibits the client/user from accessing that
> > file in that way.
> >
> > This _does_ imply a cryptographic capability being embedded in the FH.
>
>
> I really do not want to be in the business of dictating the format
> of the FH to the servers. How much space is needed by this capability?

The format wouldn't get dictated.  See Spencer's earlier reply to you on
this matter.

> > We could make the capability explicit, and the FH would stay the same
> > as it ever was.  I'd be happy either way.
> >
> > So, to summarize, I propose either:
> >
> > a) an implicit cryptographic capability buried in the FH, with a
> > single new operation to refresh stale FHs,
> >
> > or
> >
> > b) an explicit cryptographic capability (still with server-defined
> > format) and a PUTCAPABILITY/GETCAPABILITY pair of operations (to match
> > PUTFH/GETFH).
>
>
> I'm assuming that the client would do a GETCAPABILITY with the MDS and
> then present it to the DS with a PUTCAPABILITY?

Correct!  Though the client also could use the capabilities at the MDS.

> If implicit capabilities can be built by the server (remember that the
> FH is opaque and the client cannot use it) and explicit capabilities
> are not passed around in the FH, why can we not have implicit
> capabilities which are not passed in the FH?

The client *never* interprets the contents of FHs, and I do not propose
changing this, nor do I imply it.  Explicit capabilities by definition are
not _in_ the FH (I hadn't said that, er, explicitly, but I thought it'd be
clear that an explicit capability is not embedded in an FH but used in
parallel PUTCAPABILITY ops).

> Or in other words, the MDS creates an implicit capability. It has
> a tuple of <client, FH, stateid, capability>. If the DS wants to know
> the capability, it can query the MDS by passing in the <client, FH,
stateid>.

No stateid, none, no, never, no, categorically no :)  Not in the
capability.  In the post where I described a possible implementation choice
I had no stateid in there, and never did I even imply that one should put
one there.

> Also, in this case, there is no cost to encrypt the capabilities.

I don't follow.

> > Pretty simple.  Also: not Earth shaking.  Folks, cryptographic
> > capabilities in filesystems are nothing new, much less scary.
>
>
> This is not my issue. Quite simply, we already have a working
> approach to solve the second item for DAC and it is easy enough to
> extend for MAC. As for the first item, it also falls into well understood
> approaches we've already solved.

You don't have revocation in the DAC case because POSIX semantics have an
anti-requirement regarding revocation.  MAC is different in this respect.
If there's no need for revocation then there's no need for refreshing
capabilities.  This be the crux of the matter.

> A tangent is whether there are other uses for capabilities?

Quite.  It's how pNFS should have worked from the word go.  But no one
listened or noticed when I proposed it back then.  Or maybe capabilities
make no sense or introduce undesirable complexity, but at least now we will
have a good debate on this.

> And please provide a good reference on capabilities.

Later.  I'm posting from my phone... :)  A search for "cryptographic
capabity filesystem", ignoring uses of the word capability in the sense of
"ability", yields results.

Nico
--

--bcaec501666f329b2704a18b5e3c
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p>On Apr 22, 2011 7:27 PM, &quot;Thomas Haynes&quot; &lt;<a href=3D"mailto=
:thomas@netapp.com">thomas@netapp.com</a>&gt; wrote:<br>
&gt; On Apr 22, 2011, at 5:52 PM, Nico Williams wrote:<br>
&gt; Nico,<br>
&gt;<br>
&gt; I don&#39;t understand why the FH has to become stale. Does the<br>
&gt; fact that the object label has changed make this stale?</p>
<p>My proposal is for cryptographic capabilities, either embedded in the FH=
 or explicit.</p>
<p>When the label changes, which is to say: when access is *revoked* (this =
is key, see below), the access capability (token, if it helps you) becomes =
stale or otherwise no longer capable of granting access.</p>
<p>&gt; Also, what issues if any are there if the server reboots and<br>
&gt; a client presents one of your FHs?</p>
<p>Implementation-specific.=C2=A0 Quite possibly none (that is, you can eas=
ily make it none).</p>
<p>&gt; &gt; My proposal is to have a very simple recovery: the client asks=
 the<br>
&gt; &gt; server to give it a new FH that is semantically equivalent to the=
 old<br>
&gt; &gt; one in every way except for: it&#39;s not stale. =C2=A0The server=
 can say no,<br>
&gt; &gt; if MAC policy by then prohibits the client/user from accessing th=
at<br>
&gt; &gt; file in that way.<br>
&gt; &gt;<br>
&gt; &gt; This _does_ imply a cryptographic capability being embedded in th=
e FH.<br>
&gt;<br>
&gt;<br>
&gt; I really do not want to be in the business of dictating the format<br>
&gt; of the FH to the servers. How much space is needed by this capability?=
</p>
<p>The format wouldn&#39;t get dictated.=C2=A0 See Spencer&#39;s earlier re=
ply to you on this matter.</p>
<p>&gt; &gt; We could make the capability explicit, and the FH would stay t=
he same<br>
&gt; &gt; as it ever was. =C2=A0I&#39;d be happy either way.<br>
&gt; &gt;<br>
&gt; &gt; So, to summarize, I propose either:<br>
&gt; &gt;<br>
&gt; &gt; a) an implicit cryptographic capability buried in the FH, with a<=
br>
&gt; &gt; single new operation to refresh stale FHs,<br>
&gt; &gt;<br>
&gt; &gt; or<br>
&gt; &gt;<br>
&gt; &gt; b) an explicit cryptographic capability (still with server-define=
d<br>
&gt; &gt; format) and a PUTCAPABILITY/GETCAPABILITY pair of operations (to =
match<br>
&gt; &gt; PUTFH/GETFH).<br>
&gt;<br>
&gt;<br>
&gt; I&#39;m assuming that the client would do a GETCAPABILITY with the MDS=
 and<br>
&gt; then present it to the DS with a PUTCAPABILITY?</p>
<p>Correct!=C2=A0 Though the client also could use the capabilities at the =
MDS.</p>
<p>&gt; If implicit capabilities can be built by the server (remember that =
the<br>
&gt; FH is opaque and the client cannot use it) and explicit capabilities<b=
r>
&gt; are not passed around in the FH, why can we not have implicit<br>
&gt; capabilities which are not passed in the FH?</p>
<p>The client *never* interprets the contents of FHs, and I do not propose =
changing this, nor do I imply it.=C2=A0 Explicit capabilities by definition=
 are not _in_ the FH (I hadn&#39;t said that, er, explicitly, but I thought=
 it&#39;d be clear that an explicit capability is not embedded in an FH but=
 used in parallel PUTCAPABILITY ops).</p>

<p>&gt; Or in other words, the MDS creates an implicit capability. It has<b=
r>
&gt; a tuple of &lt;client, FH, stateid, capability&gt;. If the DS wants to=
 know<br>
&gt; the capability, it can query the MDS by passing in the &lt;client, FH,=
 stateid&gt;.</p>
<p>No stateid, none, no, never, no, categorically no :)=C2=A0 Not in the ca=
pability.=C2=A0 In the post where I described a possible implementation cho=
ice I had no stateid in there, and never did I even imply that one should p=
ut one there.</p>

<p>&gt; Also, in this case, there is no cost to encrypt the capabilities.</=
p>
<p>I don&#39;t follow.</p>
<p>&gt; &gt; Pretty simple. =C2=A0Also: not Earth shaking. =C2=A0Folks, cry=
ptographic<br>
&gt; &gt; capabilities in filesystems are nothing new, much less scary.<br>
&gt;<br>
&gt;<br>
&gt; This is not my issue. Quite simply, we already have a working<br>
&gt; approach to solve the second item for DAC and it is easy enough to<br>
&gt; extend for MAC. As for the first item, it also falls into well underst=
ood<br>
&gt; approaches we&#39;ve already solved.</p>
<p>You don&#39;t have revocation in the DAC case because POSIX semantics ha=
ve an anti-requirement regarding revocation.=C2=A0 MAC is different in this=
 respect.=C2=A0 If there&#39;s no need for revocation then there&#39;s no n=
eed for refreshing capabilities.=C2=A0 This be the crux of the matter.</p>

<p>&gt; A tangent is whether there are other uses for capabilities?</p>
<p>Quite.=C2=A0 It&#39;s how pNFS should have worked from the word go.=C2=
=A0 But no one listened or noticed when I proposed it back then.=C2=A0 Or m=
aybe capabilities make no sense or introduce undesirable complexity, but at=
 least now we will have a good debate on this.</p>

<p>&gt; And please provide a good reference on capabilities.</p>
<p>Later.=C2=A0 I&#39;m posting from my phone... :)=C2=A0 A search for &quo=
t;cryptographic capabity filesystem&quot;, ignoring uses of the word capabi=
lity in the sense of &quot;ability&quot;, yields results.</p>
<p>Nico<br>
-- </p>

--bcaec501666f329b2704a18b5e3c--

From Trond.Myklebust@netapp.com  Sat Apr 23 12:05:46 2011
Return-Path: <Trond.Myklebust@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id CAD39E0733 for <nfsv4@ietfc.amsl.com>; Sat, 23 Apr 2011 12:05:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id chTrblthKELr for <nfsv4@ietfc.amsl.com>; Sat, 23 Apr 2011 12:05:45 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id 848D5E0732 for <nfsv4@ietf.org>; Sat, 23 Apr 2011 12:05:45 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,259,1301900400"; d="scan'208";a="543300415"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 23 Apr 2011 12:05:29 -0700
Received: from svlrsexc1-prd.hq.netapp.com (svlrsexc1-prd.hq.netapp.com [10.57.115.30]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3NJ5TCf011079 for <nfsv4@ietf.org>; Sat, 23 Apr 2011 12:05:29 -0700 (PDT)
Received: from SACMVEXC2-PRD.hq.netapp.com ([10.99.115.18]) by svlrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Sat, 23 Apr 2011 12:04:55 -0700
Received: from 10.58.52.105 ([10.58.52.105]) by SACMVEXC2-PRD.hq.netapp.com ([10.99.115.16]) with Microsoft Exchange Server HTTP-DAV ;  Sat, 23 Apr 2011 19:04:54 +0000
Received: from lade.trondhjem.org by SACMVEXC2-PRD.hq.netapp.com; 23 Apr 2011 15:04:54 -0400
From: Trond Myklebust <Trond.Myklebust@netapp.com>
To: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <E3A26628-022E-484B-B713-363785E601D1@netapp.com>
References: <E3A26628-022E-484B-B713-363785E601D1@netapp.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Organization: NetApp Inc
Date: Sat, 23 Apr 2011 15:04:54 -0400
Message-ID: <1303585494.3052.12.camel@lade.trondhjem.org>
Mime-Version: 1.0
X-Mailer: Evolution 2.32.2 (2.32.2-1.fc14) 
X-OriginalArrivalTime: 23 Apr 2011 19:04:55.0235 (UTC) FILETIME=[5505C130:01CC01E9]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] NFSv4 unstable file creation
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 23 Apr 2011 19:05:47 -0000

On Thu, 2011-04-21 at 12:18 -0500, Thomas Haynes wrote:
> Trond,
>=20
>=20
> I'm looking at the I-D and I had a question.
>=20
>=20
> Say a client creates a file with a stable_state attribute of
> NFS4_UNSTABLE_METADATA. The server agrees and returns
> NFS4_UNSTABLE_METADATA for the OPEN.
>=20
>=20
> At some point, another client does either a LOOKUP or a READDIR
> on that file. The server then commits the initial metadata to
> persistant storage.
>=20
>=20
> Does the server need to communicate this change to the original
> client with the write delegation?

No. A LOOKUP or READDIR should never cause a delegation recall, and I
see no reason why the client should need to be notified whether or not
the server has synced something to disk. This isn't exactly something
that we do today with ordinary data WRITEs, and I don't see how does
adding metadata to the equation changes that.

> Or is the client required to query the stable_state attribute to
> determine this? I.e., is there a benefit to not writing the metadata
> information twice? Or is there always a write necessary as timestamps
> may have changed?

COMMIT doesn't change any timestamps today, and shouldn't do so in the
future either. That would be like having fsync() timestamp a file and
that's just wrong according to POSIX.

> Also, does the following make sense:
>=20
>=20
>    const NFS4_UNSTABLE_PERSISTENT =3D 0x00000000;
>    const NFS4_UNSTABLE_METADATA   =3D 0x00000001;
>    const NFS4_UNSTABLE_DATA       =3D 0x00000002;
>    const NFS4_UNSTABLE_PNFS       =3D 0x00000004;
>=20
>=20
> To indicate the client wants persistent storage or that the server
> has used persistent storage?

I don't know that we need that. The 'stable_state' attribute is a
bitmask, where if a particular bit is unset, then that means that the
corresponding data or metadata is known to be stable on disk. If the bit
is set, then the data may not yet be written to disk, and so either a
LAYOUTCOMMIT and/or a COMMIT may be needed to sync it do disk.

Cheers
  Trond
--=20
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@netapp.com
www.netapp.com


From Trond.Myklebust@netapp.com  Sat Apr 23 12:19:19 2011
Return-Path: <Trond.Myklebust@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id B5E9EE072A for <nfsv4@ietfc.amsl.com>; Sat, 23 Apr 2011 12:19:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qZwf0-JdCfaX for <nfsv4@ietfc.amsl.com>; Sat, 23 Apr 2011 12:19:18 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id C0C7CE0668 for <nfsv4@ietf.org>; Sat, 23 Apr 2011 12:19:18 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,259,1301900400"; d="scan'208";a="543301166"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 23 Apr 2011 12:19:18 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3NJJIob015018 for <nfsv4@ietf.org>; Sat, 23 Apr 2011 12:19:18 -0700 (PDT)
Received: from SACMVEXC2-PRD.hq.netapp.com ([10.99.115.18]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Sat, 23 Apr 2011 12:19:18 -0700
Received: from 10.58.52.105 ([10.58.52.105]) by SACMVEXC2-PRD.hq.netapp.com ([10.99.115.16]) with Microsoft Exchange Server HTTP-DAV ;  Sat, 23 Apr 2011 19:19:17 +0000
Received: from lade.trondhjem.org by SACMVEXC2-PRD.hq.netapp.com; 23 Apr 2011 15:19:17 -0400
From: Trond Myklebust <Trond.Myklebust@netapp.com>
To: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <439B7AAB-7E06-4A6B-8A16-C8249BA6E3D8@netapp.com>
References: <439B7AAB-7E06-4A6B-8A16-C8249BA6E3D8@netapp.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Organization: NetApp Inc
Date: Sat, 23 Apr 2011 15:19:17 -0400
Message-ID: <1303586357.3052.24.camel@lade.trondhjem.org>
Mime-Version: 1.0
X-Mailer: Evolution 2.32.2 (2.32.2-1.fc14) 
X-OriginalArrivalTime: 23 Apr 2011 19:19:18.0520 (UTC) FILETIME=[57949780:01CC01EB]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [NFSv4.2] Meeting Notes 04/21/2011
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 23 Apr 2011 19:19:19 -0000

On Thu, 2011-04-21 at 13:58 -0500, Thomas Haynes wrote:
> Attendees:
>=20
>=20
> Tom Haynes (NetApp)
> Fred Isaman (NetApp)
> Sorin Faibish (EMC)
> Peter Staubach (EMC)
> Dean Hildebrand (IBM)
> Andy Adamson (NetApp)
> Bruce Fields (Red Hat)
>=20
>=20
> + IETF Note Well Agreement
>=20
>    http://www.ietf.org/NOTEWELL.html
>=20
>=20
>=20
> + Unstable file creation
>=20
>=20
> Trond wants to get this into NFSv4.2.
>=20
>=20
> Peter mentioned that he had a discussion with Trond on recovery race
> conditions.
> He will dig that up.

I'm hoping that the discussion that was added in section 2.1.4 in draft
01 addresses Peter's concerns.

> Tom wondered about how NFS4_UNSTABLE_PNFS interacts with the
> recent discussions of LAYOUT_COMMIT?

You mean for the NFS files case, or in general?

For 'files', the only case that we need to care about is when
commit_to_mds is not set, and the DS is not setting the FILE_SYNC flag
on write. In that case, the MDS may want to set the 'NFS4_UNSTABLE_PNFS'
bit in 'stable_state' in order to indicate that it does not know if
there is any outstanding data that needs to be committed on the DSes.

In the case of an outstanding write layout in the 'objects' and 'blocks'
case too, the server may not know if the client has written any new data
to the DSes, and so again it uses the 'NFS4_UNSTABLE_PNFS' flag to
indicate that.

However, at all times it MUST know whether or not the ordinary metadata
(i.e. the basic inode metadata) has been committed to disk, since it is
responsible for doing so. So the lack of a NFS4_UNSTABLE_METADATA bit
should be interpreted as meaning that the filehandle is stable on disk,
the basic directory and inode information is stable on disk, and only
stuff that might be affected by the NFS4_UNSTABLE_METADATA and/or
NFS4_UNSTABLE_DATA (i.e. data + file size + change attribute +
ctime/mtime timestamps) bits being set are not guaranteed to be on disk
yet.

--=20
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@netapp.com
www.netapp.com


From nico@cryptonector.com  Sun Apr 24 19:05:44 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id CAD28E067D for <nfsv4@ietfc.amsl.com>; Sun, 24 Apr 2011 19:05:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.883
X-Spam-Level: 
X-Spam-Status: No, score=-1.883 tagged_above=-999 required=5 tests=[AWL=0.094,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DA-n6kd9-z31 for <nfsv4@ietfc.amsl.com>; Sun, 24 Apr 2011 19:05:43 -0700 (PDT)
Received: from homiemail-a70.g.dreamhost.com (caiajhbdcbhh.dreamhost.com [208.97.132.177]) by ietfc.amsl.com (Postfix) with ESMTP id C1462E0611 for <nfsv4@ietf.org>; Sun, 24 Apr 2011 19:05:43 -0700 (PDT)
Received: from homiemail-a70.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a70.g.dreamhost.com (Postfix) with ESMTP id 882D9768064 for <nfsv4@ietf.org>; Sun, 24 Apr 2011 19:05:42 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=CIqTj2VpSkrL66Ey93yVpiLaeZGizrknPiCXeDlmIGyH 7zHw+wTO2vyvb9Ck3RGtjCd3J5zT99k8sIf+tdGbTtncBjaOcdna+b+6+VL0smD6 rjP4VJOlMdkWwWhYFblnY/NHle8XmpSLMmDchT/PxoIoJcirxJSNC1NevlIYUGU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=yxVSE1HPv83YPB9JhhroL9FVPZ8=; b=wq8YBL+uSeQ oGu6m9fzW/IhQpiUAulc2j6tdMU6KpKYABwiqH9QmUZqCGnlGAh0MdoOvGPErQxB UrEWVfw5bZB3lbKf6cUObgPGZ4Xph1pYI6cuiIN77eJY1LREV4Vae3E0SAasuXVd Qed07MgVai3r06/7RGaa/g0QRqsJMbWQ=
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a70.g.dreamhost.com (Postfix) with ESMTPSA id 53DD176805C for <nfsv4@ietf.org>; Sun, 24 Apr 2011 19:05:42 -0700 (PDT)
Received: by vxg33 with SMTP id 33so1871421vxg.31 for <nfsv4@ietf.org>; Sun, 24 Apr 2011 19:05:41 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.108.233 with SMTP id hn9mr5473373vdb.249.1303697141650; Sun, 24 Apr 2011 19:05:41 -0700 (PDT)
Received: by 10.52.163.71 with HTTP; Sun, 24 Apr 2011 19:05:41 -0700 (PDT)
In-Reply-To: <BANLkTino4bmKkxTn5XkV8_-r0D_y7h1GTA@mail.gmail.com>
References: <26D34DF9-0165-46EF-87AC-82E17EA2193D@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E041721E119@MX14A.corp.emc.com> <BANLkTinLJDA2zk7gyPM2hgNT05ti64LVxg@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E0417371B80@MX14A.corp.emc.com> <BANLkTi=+fugh2YOpofqTYP8d_XpyGNCBeg@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E0417371C34@MX14A.corp.emc.com> <2861E5A6-5BA2-4201-984E-D6377DB9B0A0@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E04173721BC@MX14A.corp.emc.com> <BANLkTi=RcBAxtu7reR5y=05BQgtkjj560Q@mail.gmail.com> <7C4DFCE962635144B8FAE8CA11D0BF1E04173721F5@MX14A.corp.emc.com> <BANLkTimAwGoSABOTrjALY+oGQ1kUmBK+9w@mail.gmail.com> <BANLkTinB8hzbo8hgkEZWKYOXq2=YqEQNDA@mail.gmail.com> <BANLkTino4bmKkxTn5XkV8_-r0D_y7h1GTA@mail.gmail.com>
Date: Sun, 24 Apr 2011 21:05:41 -0500
Message-ID: <BANLkTimqCVHApzS5GBCchLrzRXzExomKvA@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: david.black@emc.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [lnfs] MAC Security NFS Modes of Operation
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Apr 2011 02:05:44 -0000

On Wed, Apr 20, 2011 at 9:26 AM, Nico Williams <nico@cryptonector.com> wrot=
e:
> On Tue, Apr 19, 2011 at 11:53 PM, Nico Williams <nico@cryptonector.com> w=
rote:
>> =C2=A0- Point out the fact that in order to determine when an assertion
>> should be critical the client needs to keep track of a model,
>> unadulterated (e.g., by local policy) process credential for a user to
>> compare related process credentials to, the comparison yielding such
>> assertions (critical or not) that must be made on the wire. =C2=A0This i=
s
>> an architectural change for most clients. =C2=A0To put it in Unix terms,=
 a
>> new system call may well =C2=A0be needed by which PAM (or PAM applicatio=
ns)
>> may mark a process' credentials as the "model" for a user's
>> credentials.
>
> Also, note that lacking the ability to do this the client has to
> choose between making all its assertions optional or all critical (or
> label critical and all others optional). =C2=A0Making all of its assertio=
ns
> optional will interop best but be least secure, while making all its
> assertions critical will only interop well with servers that support
> all three assertion types well, but will have the best security. =C2=A0I
> expect most clients to do one of these at first.

I think then one can make the argument that server implementors will
really want to implement all three assertion types (IDs, privs,
labels).  The first is easy -- clients and servers already have to
deal with identities in ACLs and what not.  The second is also easy
since there's a fairly small set of imaginable process privileges
relating to filesystems -- at most a few more privs than there are
NFSv4 ops, and actually many fewer -- and most general purpose
operating systems already support a fine-grained privilege model
including methods for splitting existing privileges into more
fine-grained ones.

That leaves the third assertion (labels) type as potentially difficult
to implement.  And labeling is going to be by far the most difficult
assertion type to implement because that's where we have a fairly
large amount of variation (MLS, SELinux, Smack, ...) and the need for
for extensive policy replication/distribution (e.g., in the cases of
SELinux and Smack).

IOW, we really need not worry about the implementation complexity of
the non-labeling aspects of RPCSEC_GSSv3 -- labeling is the hardest
aspect of it, and that's just inherent in labeling.  There's little
point in being concerned about the difficulty of implementing the
remainder of RPCSEC_GSSv3.

Given this I'd be quite happy to make all of RPCSEC_GSSv3 REQUIRED to
implement on the server side.  I'd also be happy to not do that.

Nico
--

From nico@cryptonector.com  Sun Apr 24 19:56:29 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 0CA93E0670 for <nfsv4@ietfc.amsl.com>; Sun, 24 Apr 2011 19:56:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.385
X-Spam-Level: 
X-Spam-Status: No, score=-1.385 tagged_above=-999 required=5 tests=[AWL=-0.408, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, J_BACKHAIR_32=1]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ii4Poo3eF3Vy for <nfsv4@ietfc.amsl.com>; Sun, 24 Apr 2011 19:56:27 -0700 (PDT)
Received: from homiemail-a63.g.dreamhost.com (caiajhbdccah.dreamhost.com [208.97.132.207]) by ietfc.amsl.com (Postfix) with ESMTP id 9BE90E00BE for <nfsv4@ietf.org>; Sun, 24 Apr 2011 19:56:27 -0700 (PDT)
Received: from homiemail-a63.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a63.g.dreamhost.com (Postfix) with ESMTP id A32BC2F4060 for <nfsv4@ietf.org>; Sun, 24 Apr 2011 19:56:26 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=RLiP3YkqJNslQv2avr1due3kj+icP7RSYejKNwhsI0CU 294ZKNZy+HO9HvwVQkIpMiFcfLou3xrNSa086lXYr7wkT8TbRB7KU65x66cGBvLZ tio6BeSvSnfzQbCi+JO4UpPwfMaH4AwkVUW4lmUIBDK6r/Q2JN5oq+e7ave/3pA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=dT033MXY7wtb3ZM+8V85ZJPdbYk=; b=LB8XAg+wE+3 HYO44RlKvKIvizkJofszU3c5X6PUxBEJLBw+jzcfbxf45aHdGsxydV5c89hdxPKA uXPNsYNu+GO9yjGxde17qXBYwZpwPYJ5rkmhiEm44gtp1jN9kecMPOHBV1t6dGF1 8Res0mKHMKLacyCBlIyRx9CzfjlDE5WI=
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a63.g.dreamhost.com (Postfix) with ESMTPSA id 704D62F4059 for <nfsv4@ietf.org>; Sun, 24 Apr 2011 19:56:26 -0700 (PDT)
Received: by vxg33 with SMTP id 33so1893410vxg.31 for <nfsv4@ietf.org>; Sun, 24 Apr 2011 19:56:25 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.176.101 with SMTP id ch5mr5587501vdc.129.1303700185789; Sun, 24 Apr 2011 19:56:25 -0700 (PDT)
Received: by 10.52.163.71 with HTTP; Sun, 24 Apr 2011 19:56:25 -0700 (PDT)
In-Reply-To: <BANLkTinZYPqKXQm9QyXOqd_uSxLaSUm3aA@mail.gmail.com>
References: <A01DB044-4130-490D-A2CC-B4CB16757894@netapp.com> <BANLkTimbC0ZqPkpz2Kq9bcdYdhdC9Wt74Q@mail.gmail.com> <30F15750-1949-4044-86C3-A796E0AF3391@netapp.com> <BANLkTinZYPqKXQm9QyXOqd_uSxLaSUm3aA@mail.gmail.com>
Date: Sun, 24 Apr 2011 21:56:25 -0500
Message-ID: <BANLkTi=z1Tgr2DdiqvLKirgV00Mut2WtgA@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Thomas Haynes <thomas@netapp.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [LNFS] Discussion items for the next meeting
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Apr 2011 02:56:29 -0000

On Fri, Apr 22, 2011 at 7:50 PM, Nico Williams <nico@cryptonector.com> wrot=
e:
> On Apr 22, 2011 7:27 PM, "Thomas Haynes" <thomas@netapp.com> wrote:
>> And please provide a good reference on capabilities.
>
> Later.=C2=A0 I'm posting from my phone... :)=C2=A0 A search for "cryptogr=
aphic
> capabity filesystem", ignoring uses of the word capability in the sense o=
f
> "ability", yields results.

As promised...

Searching for comp. sci. authors famous in the 80s finds various
things.  For example, a search for "capability tanenbaum" finds things
like:

Tanenbaum, Mullender, and van Renesse, Using Sparse Capabilities in a
Distributed Operating System.
http://www.google.com/url?sa=3Dt&source=3Dweb&cd=3D1&ved=3D0CBUQFjAA&url=3D=
http%3A%2F%2Fciteseerx.ist.psu.edu%2Fviewdoc%2Fdownload%3Fdoi%3D10.1.1.56.3=
350%26rep%3Drep1%26type%3Dpdf&rct=3Dj&q=3Dcapability%20tanenbaum&ei=3D4Nq0T=
YXsKoKctwelkZTqDg&usg=3DAFQjCNGElWWOLzOgE4bO38qlnxM5g0KH8A&cad=3Drja

Tanenbaum and Mullender, The Design of a Capability-Based Distributed
Operating System. 1986
http://comjnl.oxfordjournals.org/content/29/4/289.abstract

There's much more in that vein.

A search for '"cryptographic capability" (but note that capabilities
need not be cryptographic, as explained below) distributed filesystem'
turns up quite a few much more recent papers on the subject:

Gobioff, Gibson, and Tygar. Security for network attached storage devices
http://citeseer.ist.psu.edu/viewdoc/summary?doi=3D10.1.1.123.5060

Gobioff, H.B., Security for a High Performance Commodity
Storage Subsystem. 1999, Carnegie Mellon University.
http://www.pdl.cmu.edu/PDL-FTP/NASD/hbg_thesis.pdf

Leung, A.W. and E.L. Miller. Scalable security for large,
high performance storage systems ACM Workshop on
Storage Security and Survivability. 2006

Sivathanu and Zaki, Flexible Security for theWiND Filesystem.
http://citeseerx.ist.psu.edu/viewdoc/download?doi=3D10.1.1.131.5991&rep=3Dr=
ep1&type=3Dpdf

Also, there's the Tahoe Least Authority Filesystem:

http://tahoe-lafs.org/~zooko/lafs.pdf
http://en.wikipedia.org/wiki/Tahoe_Least-Authority_Filesystem
http://sourceforge.net/projects/tahoelafs/

If you spend enough time researching this I think you'll find that the
subject goes back to at least the  early 80s, and probably earlier.
There's two distinct veins, roughly:

  - Operating system capabilities (NOT to be confused with what Linux
very, very, very annoyingly calls "capabilities").  Here 'capability'
refers to a kind of token the possession of which (in the virtual
memory address space of a process, say) indicates that the subject has
access to some resource.  For example, in Unix a file descriptor is a
simplistic sort of capability, simplistic because it's just an index
into a kernel-mode table, as compared with a cryptographic capability
as used in other systems.

 - Distributed operating system capabilities -- the same concept as in
operating system capabilities, really, and, indeed, an outgrowth of OS
capabilities as applied to distributed operating systems.  Filesystems
are just a related subject -- the primary sub-subject of distributed
operating systems that has made the big-time.

In a capability system we have subjects, objects, authorities (issuers
of capabilities), relying parties, and capabilities (I'm simplifying
and using terminology more likely to be recognized in our context).  A
capability is a token, an octet blob, whose purpose is to indicate to
relying parties that the subject presenting it has access to some
object or objects, and which is issued by an authority.  Here, in
pNFS, the relying parties are the data servers, the authorities are
the meta-data servers, and the subjects are the clients.

A capability has to be protected from spoofing or guessing by
subjects.  There are several methods of accomplishing this, not all of
them requiring the use of cryptography.

Note that my proposal (either variant, with capabilities embedded in
FHs or as separate from FHs) does NOT dictate whether capabilities are
cryptographic, pre-shared (via a private MDS->DS channel), or to be
validated (via a private DS->MDS channel).  It was only my own
preference for the use of crypto here that led me to use crypto in an
earlier example.

Nor does my proposal dictate the format of FHs.

As for the FH/capability refresh/renew operation in my proposal, it is
desirable for a number of reasons, such as to support revocation, to
support key rollover (if the capabilities are cryptographically
protected), and probably other reasons.

The current pNFS protocol does support capabilities, just not
cryptographic ones, but ones validated or pre-shared via private
MDS<->DS protocols.  All that's missing is a capability refresh
operation, then cryptographic capabilities will be feasible.  pNFS
requires or allows for various unspecified (therefore
non-interoperable) MDS<->DS protocols, and I imagine that some
implementors might want to use cryptographic capabilities, as those
might well, for them, have desirable benefits over the alternatives,
but they may not for the necessary refresh operation is missing from
the protocol.  Is there _any_ good technical reason not to include
such an operation in 4.2??

Cheers,

Nico
--

From mas.mitun@gmail.com  Mon Apr 25 03:40:09 2011
Return-Path: <mas.mitun@gmail.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 3B5E1E071F for <nfsv4@ietfc.amsl.com>; Mon, 25 Apr 2011 03:40:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.541
X-Spam-Level: 
X-Spam-Status: No, score=-3.541 tagged_above=-999 required=5 tests=[AWL=0.057,  BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2aM9xpr6eTmf for <nfsv4@ietfc.amsl.com>; Mon, 25 Apr 2011 03:40:08 -0700 (PDT)
Received: from mail-qy0-f172.google.com (mail-qy0-f172.google.com [209.85.216.172]) by ietfc.amsl.com (Postfix) with ESMTP id B9CD5E0693 for <nfsv4@ietf.org>; Mon, 25 Apr 2011 03:40:08 -0700 (PDT)
Received: by qyk29 with SMTP id 29so696606qyk.10 for <nfsv4@ietf.org>; Mon, 25 Apr 2011 03:40:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=E6x91TTaTapuvjfvYxDv/bS+espmmfz2ot369R6smU0=; b=gwFpRwG7oTPj3VFVCwqbiTESrBZmJp7M64IGdjfe2L2Uuwv/LIdWxh37QGnALdw+q0 la2w9wgZszhFi8V9sUz7qXLV+hQGrAn6ORbTkY8wV29ky2XuMm4Xr7ns4SjYvWezMvRM 908zy9K2wpqOiiJaqlErpc197Xcl0caI19AUQ=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=liEPGo2+G9mdd9A6vdWkjMSWAs7LMgXGEbZxyhDP8uOJ/mZs7JUXQRvumxqS6hkBVC NqhVdybH181MpOP4oSqYMgHFZtlgPEIURJSQ6ULCAutjY6iE/sZAJcJxR7NHLmjSLSFr FG0YMYCwdQlAPLAVEphbda7aJpgfy95fO4baM=
MIME-Version: 1.0
Received: by 10.229.136.1 with SMTP id p1mr2656524qct.218.1303728008150; Mon, 25 Apr 2011 03:40:08 -0700 (PDT)
Received: by 10.229.250.12 with HTTP; Mon, 25 Apr 2011 03:40:08 -0700 (PDT)
Date: Mon, 25 Apr 2011 17:40:08 +0700
Message-ID: <BANLkTi=r=jH5TXMOfcmV3G0xEXDNBMTJYQ@mail.gmail.com>
From: mee thun <mas.mitun@gmail.com>
To: nfsv4@ietf.org
Content-Type: multipart/alternative; boundary=00248c70feb5cf405a04a1bbd4e6
Subject: [nfsv4] nfs on debian squeeze
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Apr 2011 10:40:09 -0000

--00248c70feb5cf405a04a1bbd4e6
Content-Type: text/plain; charset=ISO-8859-1

Hello

What nfs on debian squeeze does not support ipv6?
I have installed the nfs-kernel-server and nfs-common and run the service
both, but after check with netstat -nlptu only tcp running.
maybe anyone can help me?

Thank You
Regards
Makhsun

--00248c70feb5cf405a04a1bbd4e6
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hello<br><br>What nfs on debian squeeze does not support ipv6?<br><span id=
=3D"result_box" class=3D"" lang=3D"en"><span title=3D"Klik untuk terjemahan=
 alternatif" class=3D"hps">I</span> <span title=3D"Klik untuk terjemahan al=
ternatif" class=3D"hps">have</span> <span title=3D"Klik untuk terjemahan al=
ternatif" class=3D"hps">installed the</span> <span title=3D"Klik untuk terj=
emahan alternatif" class=3D"hps">nfs</span><span title=3D"Klik untuk terjem=
ahan alternatif" class=3D"atn">-</span><span title=3D"Klik untuk terjemahan=
 alternatif">kernel</span><span title=3D"Klik untuk terjemahan alternatif" =
class=3D"atn">-</span><span title=3D"Klik untuk terjemahan alternatif">serv=
er</span> <span title=3D"Klik untuk terjemahan alternatif" class=3D"hps">an=
d</span> <span title=3D"Klik untuk terjemahan alternatif" class=3D"hps">nfs=
</span><span title=3D"Klik untuk terjemahan alternatif">-common</span> <spa=
n title=3D"Klik untuk terjemahan alternatif" class=3D"hps">and</span> <span=
 title=3D"Klik untuk terjemahan alternatif" class=3D"hps">run</span> <span =
title=3D"Klik untuk terjemahan alternatif" class=3D"hps">the service</span>=
 <span title=3D"Klik untuk terjemahan alternatif" class=3D"hps">both</span>=
<span title=3D"Klik untuk terjemahan alternatif">,</span> <span title=3D"Kl=
ik untuk terjemahan alternatif" class=3D"hps">but</span> <span title=3D"Kli=
k untuk terjemahan alternatif" class=3D"hps">after</span> <span title=3D"Kl=
ik untuk terjemahan alternatif" class=3D"hps">check</span> <span title=3D"K=
lik untuk terjemahan alternatif" class=3D"hps">with</span> <span title=3D"K=
lik untuk terjemahan alternatif" class=3D"hps">netstat</span><span title=3D=
"Klik untuk terjemahan alternatif" class=3D"atn"> -nlptu only tcp running</=
span><span title=3D"Klik untuk terjemahan alternatif" class=3D"hps"></span>=
<span title=3D"Klik untuk terjemahan alternatif">.</span><br>
 <span title=3D"Klik untuk terjemahan alternatif" class=3D"hps">maybe</span=
> <span title=3D"Klik untuk terjemahan alternatif" class=3D"hps">anyone can=
</span> <span title=3D"Klik untuk terjemahan alternatif" class=3D"hps">help=
</span> <span title=3D"Klik untuk terjemahan alternatif" class=3D"hps">me</=
span><span class=3D"" title=3D"Klik untuk terjemahan alternatif">?</span></=
span><br>
<br>Thank You<br>Regards<br>Makhsun<br>

--00248c70feb5cf405a04a1bbd4e6--

From rees@umich.edu  Mon Apr 25 04:52:56 2011
Return-Path: <rees@umich.edu>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 72504E06A4 for <nfsv4@ietfc.amsl.com>; Mon, 25 Apr 2011 04:52:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aumgf6+Pjwri for <nfsv4@ietfc.amsl.com>; Mon, 25 Apr 2011 04:52:55 -0700 (PDT)
Received: from int-mailstore01.merit.edu (int-mailstore01.merit.edu [207.75.116.232]) by ietfc.amsl.com (Postfix) with ESMTP id D50EDE0693 for <nfsv4@ietf.org>; Mon, 25 Apr 2011 04:52:55 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by int-mailstore01.merit.edu (Postfix) with ESMTP id 1C06E3055F96; Mon, 25 Apr 2011 07:52:54 -0400 (EDT)
X-Virus-Scanned: amavisd-new at int-mailstore01.merit.edu
Received: from int-mailstore01.merit.edu ([127.0.0.1]) by localhost (int-mailstore01.merit.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VrxO0VH2t3si; Mon, 25 Apr 2011 07:52:53 -0400 (EDT)
Received: from merit.edu (74-126-0-171.static.123.net [74.126.0.171]) by int-mailstore01.merit.edu (Postfix) with ESMTPSA id D23383055F93; Mon, 25 Apr 2011 07:52:49 -0400 (EDT)
Date: Mon, 25 Apr 2011 07:52:47 -0400
From: Jim Rees <rees@umich.edu>
To: Nico Williams <nico@cryptonector.com>
Message-ID: <20110425115247.GA5324@merit.edu>
References: <A01DB044-4130-490D-A2CC-B4CB16757894@netapp.com> <BANLkTimbC0ZqPkpz2Kq9bcdYdhdC9Wt74Q@mail.gmail.com> <30F15750-1949-4044-86C3-A796E0AF3391@netapp.com> <BANLkTinZYPqKXQm9QyXOqd_uSxLaSUm3aA@mail.gmail.com> <BANLkTi=z1Tgr2DdiqvLKirgV00Mut2WtgA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <BANLkTi=z1Tgr2DdiqvLKirgV00Mut2WtgA@mail.gmail.com>
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [LNFS] Discussion items for the next meeting
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Apr 2011 11:52:56 -0000

Nico Williams wrote:

  On Fri, Apr 22, 2011 at 7:50 PM, Nico Williams <nico@cryptonector.com> wrote:
  > On Apr 22, 2011 7:27 PM, "Thomas Haynes" <thomas@netapp.com> wrote:
  >> And please provide a good reference on capabilities.
  >
  > Later.  I'm posting from my phone... :)  A search for "cryptographic
  > capabity filesystem", ignoring uses of the word capability in the sense of
  > "ability", yields results.
  
  If you spend enough time researching this I think you'll find that the
  subject goes back to at least the  early 80s, and probably earlier.

I worked on one such system at the University of Washington in the early
1980s, the Eden system:

http://portal.acm.org/citation.cfm?id=800216.806603

They were quite fashionable at the time.

From cary.gray@wheaton.edu  Mon Apr 25 06:13:27 2011
Return-Path: <cary.gray@wheaton.edu>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 80397E06F5 for <nfsv4@ietfc.amsl.com>; Mon, 25 Apr 2011 06:13:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level: 
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bL00KQrUdxcj for <nfsv4@ietfc.amsl.com>; Mon, 25 Apr 2011 06:13:26 -0700 (PDT)
Received: from bay0-omc3-s21.bay0.hotmail.com (bay0-omc3-s21.bay0.hotmail.com [65.54.190.159]) by ietfc.amsl.com (Postfix) with ESMTP id ADADCE070A for <nfsv4@ietf.org>; Mon, 25 Apr 2011 06:13:26 -0700 (PDT)
Received: from SN1PRD0202HT015.namprd02.prod.outlook.com ([65.54.190.189]) by bay0-omc3-s21.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 25 Apr 2011 06:13:25 -0700
Received: from SN1PRD0202MB042.namprd02.prod.outlook.com ([169.254.10.47]) by SN1PRD0202HT015.namprd02.prod.outlook.com ([10.14.149.38]) with mapi; Mon, 25 Apr 2011 13:13:21 +0000
From: Cary Gray <cary.gray@wheaton.edu>
To: "nfsv4@ietf.org" <nfsv4@ietf.org>
Thread-Topic: [nfsv4] [LNFS] Discussion items for the next meeting
Thread-Index: AQHMATmQrTLNfoGMuUCui9CnG93Mh5RqfX4AgAAJzoCAABdGgIADR7WAgACsXIA=
Date: Mon, 25 Apr 2011 13:13:19 +0000
Message-ID: <F798936B-F8B6-42E4-97B7-0B09FED69C31@wheaton.edu>
References: <A01DB044-4130-490D-A2CC-B4CB16757894@netapp.com> <BANLkTimbC0ZqPkpz2Kq9bcdYdhdC9Wt74Q@mail.gmail.com> <30F15750-1949-4044-86C3-A796E0AF3391@netapp.com> <BANLkTinZYPqKXQm9QyXOqd_uSxLaSUm3aA@mail.gmail.com> <BANLkTi=z1Tgr2DdiqvLKirgV00Mut2WtgA@mail.gmail.com>
In-Reply-To: <BANLkTi=z1Tgr2DdiqvLKirgV00Mut2WtgA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-rules-loop: 0
Content-Type: multipart/alternative; boundary="_000_F798936BF8B642E497B70B09FED69C31wheatonedu_"
MIME-Version: 1.0
X-OriginalArrivalTime: 25 Apr 2011 13:13:25.0871 (UTC) FILETIME=[8F9BAFF0:01CC034A]
Cc: Nico Williams <nico@cryptonector.com>
Subject: Re: [nfsv4] [LNFS] Discussion items for the next meeting
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Apr 2011 13:13:27 -0000

--_000_F798936BF8B642E497B70B09FED69C31wheatonedu_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

The classic definition of "capability" should be found in any decent first-=
semester OS textbook, in the context of slicing the authorization matrix in=
to either access control lists or capability lists.  The classic reference =
is

Jerome H. Saltzer and Michael D. Schroeder. The protection of information i=
n computer systems. Proceedings of the IEEE 63,9 (September 1975), 1278-130=
8.

If you want something more recent, see chapter 11 of Saltzer and Kaashoek's=
 _Principles of Computer System Design_, Morgan Kaufmann, 2009.  Actually, =
ch 11 is in the online supplement, which can be found at
  http://ocw.mit.edu/Saltzer-Kaashoek

(The idea and vocabulary pre-date the paper; in the early 70s there were a =
number of efforts at treating hardware addresses as capabilities.)

Cary

On Apr 24, 2011, at 9:56 PM, Nico Williams wrote:

On Fri, Apr 22, 2011 at 7:50 PM, Nico Williams <nico@cryptonector.com<mailt=
o:nico@cryptonector.com>> wrote:
On Apr 22, 2011 7:27 PM, "Thomas Haynes" <thomas@netapp.com<mailto:thomas@n=
etapp.com>> wrote:
And please provide a good reference on capabilities.

Later.  I'm posting from my phone... :)  A search for "cryptographic
capabity filesystem", ignoring uses of the word capability in the sense of
"ability", yields results.
... later references elided.

--_000_F798936BF8B642E497B70B09FED69C31wheatonedu_
Content-Type: text/html; charset="us-ascii"
Content-ID: <c290bf86-5a4a-4512-85aa-386b0e8cac3d>
Content-Transfer-Encoding: quoted-printable

<html><head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -we=
bkit-line-break: after-white-space; "><div>The classic definition of &quot;=
capability&quot; should be found in any decent first-semester OS textbook, =
in the context of slicing the authorization matrix into either access contr=
ol lists or capability lists. &nbsp;The classic reference is</div><blockquo=
te class=3D"webkit-indent-blockquote" style=3D"margin: 0 0 0 40px; border: =
none; padding: 0px;"><div><br></div><div>Jerome H. Saltzer and Michael D. S=
chroeder. The protection of information in computer systems. Proceedings of=
 the IEEE 63,9 (September 1975), 1278-1308.</div></blockquote><div><br></di=
v><div>If you want something more recent, see chapter 11 of&nbsp;Saltzer an=
d Kaashoek's _Principles of Computer System Design_, Morgan Kaufmann, 2009.=
 &nbsp;Actually, ch 11 is in the online supplement, which can be found at</=
div><div>&nbsp;&nbsp;<a href=3D"http://ocw.mit.edu/Saltzer-Kaashoek">http:/=
/ocw.mit.edu/Saltzer-Kaashoek</a></div><div><br></div><div>(The idea and vo=
cabulary pre-date the paper; in the early 70s there were a number of effort=
s at treating hardware addresses as capabilities.)</div><div><br></div><div=
><span class=3D"Apple-tab-span" style=3D"white-space:pre">	</span>Cary</div=
><div><br></div><div><div>On Apr 24, 2011, at 9:56 PM, Nico Williams wrote:=
</div><br class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><di=
v>On Fri, Apr 22, 2011 at 7:50 PM, Nico Williams &lt;<a href=3D"mailto:nico=
@cryptonector.com">nico@cryptonector.com</a>&gt; wrote:<br><blockquote type=
=3D"cite">On Apr 22, 2011 7:27 PM, &quot;Thomas Haynes&quot; &lt;<a href=3D=
"mailto:thomas@netapp.com">thomas@netapp.com</a>&gt; wrote:<br></blockquote=
><blockquote type=3D"cite"><blockquote type=3D"cite">And please provide a g=
ood reference on capabilities.<br></blockquote></blockquote><blockquote typ=
e=3D"cite"><br></blockquote><blockquote type=3D"cite">Later.&nbsp; I'm post=
ing from my phone... :)&nbsp; A search for &quot;cryptographic<br></blockqu=
ote><blockquote type=3D"cite">capabity filesystem&quot;, ignoring uses of t=
he word capability in the sense of<br></blockquote><blockquote type=3D"cite=
">&quot;ability&quot;, yields results.</blockquote></div></blockquote>... l=
ater references elided.</div></body></html>=

--_000_F798936BF8B642E497B70B09FED69C31wheatonedu_--

From nico@cryptonector.com  Mon Apr 25 09:23:14 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 38484E075E for <nfsv4@ietfc.amsl.com>; Mon, 25 Apr 2011 09:23:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.477
X-Spam-Level: 
X-Spam-Status: No, score=-1.477 tagged_above=-999 required=5 tests=[AWL=-0.500, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, J_BACKHAIR_32=1]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZmDaupcg9c-r for <nfsv4@ietfc.amsl.com>; Mon, 25 Apr 2011 09:23:13 -0700 (PDT)
Received: from homiemail-a66.g.dreamhost.com (caiajhbdcahe.dreamhost.com [208.97.132.74]) by ietfc.amsl.com (Postfix) with ESMTP id 81C81E0758 for <nfsv4@ietf.org>; Mon, 25 Apr 2011 09:23:13 -0700 (PDT)
Received: from homiemail-a66.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a66.g.dreamhost.com (Postfix) with ESMTP id 3DFC535005B for <nfsv4@ietf.org>; Mon, 25 Apr 2011 09:23:12 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=LdHN3blPjdN+ge31XJFwYWoxdAGdEqsCF3neHfQOeMrJ KJgdrmbRSUkEqrRNIXH5bFoLfcPgXwoDNR6Fv/PknyKxAPs3c1GDQrB9m/Vz2xD9 6zcziFo4xjK1j3rhbae7EAOHu7NC499t+abkXQ+jZXxlzw/cCNrwhndsWHg66Ww=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=iFbuMk/cVEca3JFja6tM+cG+c38=; b=FUKtnfF7dR3 MGgcez7HSnOx1tNBFKLZDBx2pBSvKlnj0dMP2feauh7rqARlGQyDUgLyGrCqPxlI bZemzxgbpPlMzNaX8WD3T4MLECoYQK5nzN49unWdBQIx4dg0a4iCOvDYLtqNbyyk SK/EQQygrViHoop97stJ5Be33DqJoLek=
Received: from mail-wy0-f172.google.com (mail-wy0-f172.google.com [74.125.82.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a66.g.dreamhost.com (Postfix) with ESMTPSA id DA874350058 for <nfsv4@ietf.org>; Mon, 25 Apr 2011 09:23:11 -0700 (PDT)
Received: by wyb29 with SMTP id 29so1946135wyb.31 for <nfsv4@ietf.org>; Mon, 25 Apr 2011 09:23:10 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.216.59.81 with SMTP id r59mr3992705wec.40.1303748590405; Mon, 25 Apr 2011 09:23:10 -0700 (PDT)
Received: by 10.216.36.9 with HTTP; Mon, 25 Apr 2011 09:23:10 -0700 (PDT)
In-Reply-To: <F798936B-F8B6-42E4-97B7-0B09FED69C31@wheaton.edu>
References: <A01DB044-4130-490D-A2CC-B4CB16757894@netapp.com> <BANLkTimbC0ZqPkpz2Kq9bcdYdhdC9Wt74Q@mail.gmail.com> <30F15750-1949-4044-86C3-A796E0AF3391@netapp.com> <BANLkTinZYPqKXQm9QyXOqd_uSxLaSUm3aA@mail.gmail.com> <BANLkTi=z1Tgr2DdiqvLKirgV00Mut2WtgA@mail.gmail.com> <F798936B-F8B6-42E4-97B7-0B09FED69C31@wheaton.edu>
Date: Mon, 25 Apr 2011 11:23:10 -0500
Message-ID: <BANLkTi=yrZrMOMS+ejRDqNYx5SfgVtb_YQ@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Cary Gray <cary.gray@wheaton.edu>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: "nfsv4@ietf.org" <nfsv4@ietf.org>
Subject: Re: [nfsv4] [LNFS] Discussion items for the next meeting
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Apr 2011 16:23:14 -0000

On Mon, Apr 25, 2011 at 8:13 AM, Cary Gray <cary.gray@wheaton.edu> wrote:
> The classic definition of "capability" should be found in any decent
> first-semester OS textbook, in the context of slicing the authorization
> matrix into either access control lists or capability lists. =C2=A0The cl=
assic
> reference is

Yes, that's what I had in mind.  But I couldn't find the relevant
textbook (it's been a while!).

Thanks to you and Jim Rees for the additional references.  I dare say
we have more than enough for the WG to properly consider an option for
capabilities.  The key trade-off to make regarding
non-capability-based approaches is a {latency and/or complexity of
MDS<->DS comms} versus {crypto complexity and MDS<->DS comms to handle
keying}.  Given how much of MDS<->DS communications is left to
implementors, I think NFSv4.2 ought to give implementors the option of
using capabilities.

> (The idea and vocabulary pre-date the paper; in the early 70s there were =
a
> number of efforts at treating hardware addresses as capabilities.)

I thought as much, but I didn't put enough effort into my research to
reach that far back :)  Thanks!

Nico
--

From Tom.Haynes@netapp.com  Mon Apr 25 10:36:24 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 2D6ACE0775 for <nfsv4@ietfc.amsl.com>; Mon, 25 Apr 2011 10:36:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.491
X-Spam-Level: 
X-Spam-Status: No, score=-10.491 tagged_above=-999 required=5 tests=[AWL=0.107, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cHErnqp5S72V for <nfsv4@ietfc.amsl.com>; Mon, 25 Apr 2011 10:36:23 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id 7E53BE0773 for <nfsv4@ietf.org>; Mon, 25 Apr 2011 10:36:23 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,265,1301900400";  d="scan'208,217";a="543572999"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 25 Apr 2011 10:36:07 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3PHa7TI005936; Mon, 25 Apr 2011 10:36:07 -0700 (PDT)
Received: from rtprsexc2-prd.hq.netapp.com ([10.100.161.115]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 25 Apr 2011 10:36:08 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 25 Apr 2011 13:36:06 -0400
Received: from jlee49103.hq.netapp.com ([10.58.56.226]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 25 Apr 2011 13:36:06 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: multipart/alternative; boundary=Apple-Mail-30--971749747
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <BANLkTinZYPqKXQm9QyXOqd_uSxLaSUm3aA@mail.gmail.com>
Date: Mon, 25 Apr 2011 12:36:04 -0500
Message-Id: <A2322728-19D0-4BD1-B0AB-54C5A24DA78F@netapp.com>
References: <A01DB044-4130-490D-A2CC-B4CB16757894@netapp.com> <BANLkTimbC0ZqPkpz2Kq9bcdYdhdC9Wt74Q@mail.gmail.com> <30F15750-1949-4044-86C3-A796E0AF3391@netapp.com> <BANLkTinZYPqKXQm9QyXOqd_uSxLaSUm3aA@mail.gmail.com>
To: Nico Williams <nico@cryptonector.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 25 Apr 2011 17:36:06.0475 (UTC) FILETIME=[41A901B0:01CC036F]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [LNFS] Discussion items for the next meeting
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Apr 2011 17:36:24 -0000

--Apple-Mail-30--971749747
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


On Apr 22, 2011, at 7:50 PM, Nico Williams wrote:

> On Apr 22, 2011 7:27 PM, "Thomas Haynes" <thomas@netapp.com> wrote:
>=20
>=20
> > Also, what issues if any are there if the server reboots and
> > a client presents one of your FHs?
>=20
> Implementation-specific.  Quite possibly none (that is, you can easily =
make it none).
>=20

Currently, it is well understood what the server needs to do if =
presented
with either a persistent or variable FH. I'd hate to lose that property.=

--Apple-Mail-30--971749747
Content-Transfer-Encoding: 7bit
Content-Type: text/html;
	charset=us-ascii

<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Apr 22, 2011, at 7:50 PM, Nico Williams wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><p>On Apr 22, 2011 7:27 PM, "Thomas Haynes" &lt;<a href="mailto:thomas@netapp.com">thomas@netapp.com</a>&gt; wrote:<br><br></p><p>&gt; Also, what issues if any are there if the server reboots and<br>
&gt; a client presents one of your FHs?</p><p>Implementation-specific.&nbsp; Quite possibly none (that is, you can easily make it none).</p></blockquote></div><br><div>Currently, it is well understood what the server needs to do if presented</div><div>with either a persistent or variable FH. I'd hate to lose that property.</div></body></html>
--Apple-Mail-30--971749747--

From nico@cryptonector.com  Mon Apr 25 10:44:55 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 40296E0760 for <nfsv4@ietfc.amsl.com>; Mon, 25 Apr 2011 10:44:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.852
X-Spam-Level: 
X-Spam-Status: No, score=-1.852 tagged_above=-999 required=5 tests=[AWL=0.125,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rmzYtW3AgEjA for <nfsv4@ietfc.amsl.com>; Mon, 25 Apr 2011 10:44:54 -0700 (PDT)
Received: from homiemail-a63.g.dreamhost.com (caiajhbdcahe.dreamhost.com [208.97.132.74]) by ietfc.amsl.com (Postfix) with ESMTP id 93129E06E1 for <nfsv4@ietf.org>; Mon, 25 Apr 2011 10:44:53 -0700 (PDT)
Received: from homiemail-a63.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a63.g.dreamhost.com (Postfix) with ESMTP id 549D42F406D for <nfsv4@ietf.org>; Mon, 25 Apr 2011 10:44:53 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=R42dbTELmY0Zwnp1zmpay8bFNxwItm5v/GWsFkEJsRDv hmbWqvTyt08FI6h0N1ZZ6qYN/40zBQxPr6lH9BvDUiZDWf8jKMn/8fD8okwSLHk0 pIBxqKeQp4S0IqcIqm61VjYiVu7p6elXjf11aH42oktSb3SxkIW6prJCrxFyZEo=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=I0/W+lXC3MN4S6+FjRzNfiRcDpk=; b=NAsaFA01kbk lPazSzRVhBY62ltHSnEurh+//0m7NCWxHdHO2LsPIb9p91KUz2bsDyBXV/XEOk0M w0Xg7qaUJ3aYCjAsfX1ikVyLtZCcdSmqhs1+F+3GWmUZeG6R6YBVR53Qp1BLchSA DKICj7KnKk49cZibrOOKK9WDFxhbjrk0=
Received: from mail-ww0-f44.google.com (mail-ww0-f44.google.com [74.125.82.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a63.g.dreamhost.com (Postfix) with ESMTPSA id DDCB72F4059 for <nfsv4@ietf.org>; Mon, 25 Apr 2011 10:44:52 -0700 (PDT)
Received: by wwa36 with SMTP id 36so1713984wwa.13 for <nfsv4@ietf.org>; Mon, 25 Apr 2011 10:44:51 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.216.141.225 with SMTP id g75mr4089182wej.10.1303753491595; Mon, 25 Apr 2011 10:44:51 -0700 (PDT)
Received: by 10.216.36.9 with HTTP; Mon, 25 Apr 2011 10:44:51 -0700 (PDT)
In-Reply-To: <A2322728-19D0-4BD1-B0AB-54C5A24DA78F@netapp.com>
References: <A01DB044-4130-490D-A2CC-B4CB16757894@netapp.com> <BANLkTimbC0ZqPkpz2Kq9bcdYdhdC9Wt74Q@mail.gmail.com> <30F15750-1949-4044-86C3-A796E0AF3391@netapp.com> <BANLkTinZYPqKXQm9QyXOqd_uSxLaSUm3aA@mail.gmail.com> <A2322728-19D0-4BD1-B0AB-54C5A24DA78F@netapp.com>
Date: Mon, 25 Apr 2011 12:44:51 -0500
Message-ID: <BANLkTi=-MMO+X=hqGvuOAi1YWF065yDzEg@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Thomas Haynes <thomas@netapp.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [LNFS] Discussion items for the next meeting
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Apr 2011 17:44:55 -0000

On Mon, Apr 25, 2011 at 12:36 PM, Thomas Haynes <thomas@netapp.com> wrote:
> On Apr 22, 2011, at 7:50 PM, Nico Williams wrote:
> On Apr 22, 2011 7:27 PM, "Thomas Haynes" <thomas@netapp.com> wrote:
>
>> Also, what issues if any are there if the server reboots and
>> a client presents one of your FHs?
>
> Implementation-specific.=C2=A0 Quite possibly none (that is, you can easi=
ly make
> it none).
>
> Currently, it is well understood what the server needs to do if presented
> with either a persistent or variable FH. I'd hate to lose that property.

Clearly it'd be in the server's implementor's interest to make it so
that clients can trivially recover from server reboots, either because
the capabilities just work or because the client can refresh them
without issue.

Clearly, too, it should be quite easy for implementors to achieve
this, since it's just a matter of constructing capabilities such that
they can be used across reboots, which, in the case of cryptographic
capabilities, only requires retaining the relevant cryptographic key
material in persistent storage.  (Whereas for non-cryptographic
capabilities there'd be much more material to store persistently,
which would not be realistic, thus you see one major benefit of
applying cryptography here.)

Nico
--

From Tom.Haynes@netapp.com  Mon Apr 25 10:50:37 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id DB2B2E06E1 for <nfsv4@ietfc.amsl.com>; Mon, 25 Apr 2011 10:50:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.994
X-Spam-Level: 
X-Spam-Status: No, score=-9.994 tagged_above=-999 required=5 tests=[AWL=-0.395, BAYES_00=-2.599, J_BACKHAIR_32=1, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U-Q-ckzRrucA for <nfsv4@ietfc.amsl.com>; Mon, 25 Apr 2011 10:50:37 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id 2CA6DE06A7 for <nfsv4@ietf.org>; Mon, 25 Apr 2011 10:50:37 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,265,1301900400"; d="scan'208";a="543576526"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 25 Apr 2011 10:50:36 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3PHoaMt028942; Mon, 25 Apr 2011 10:50:36 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 25 Apr 2011 10:50:36 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 25 Apr 2011 13:50:35 -0400
Received: from alex3-lxp.hq.netapp.com ([10.58.56.226]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 25 Apr 2011 13:50:35 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <BANLkTi=yrZrMOMS+ejRDqNYx5SfgVtb_YQ@mail.gmail.com>
Date: Mon, 25 Apr 2011 12:50:32 -0500
Content-Transfer-Encoding: 7bit
Message-Id: <B018907C-657D-4D28-96B2-D677013B0986@netapp.com>
References: <A01DB044-4130-490D-A2CC-B4CB16757894@netapp.com> <BANLkTimbC0ZqPkpz2Kq9bcdYdhdC9Wt74Q@mail.gmail.com> <30F15750-1949-4044-86C3-A796E0AF3391@netapp.com> <BANLkTinZYPqKXQm9QyXOqd_uSxLaSUm3aA@mail.gmail.com> <BANLkTi=z1Tgr2DdiqvLKirgV00Mut2WtgA@mail.gmail.com> <F798936B-F8B6-42E4-97B7-0B09FED69C31@wheaton.edu> <BANLkTi=yrZrMOMS+ejRDqNYx5SfgVtb_YQ@mail.gmail.com>
To: Nico Williams <nico@cryptonector.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 25 Apr 2011 17:50:35.0220 (UTC) FILETIME=[4778F940:01CC0371]
Cc: "nfsv4@ietf.org" <nfsv4@ietf.org>
Subject: Re: [nfsv4] [LNFS] Discussion items for the next meeting
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Apr 2011 17:50:38 -0000

On Apr 25, 2011, at 11:23 AM, Nico Williams wrote:

> 
> Thanks to you and Jim Rees for the additional references.  I dare say
> we have more than enough for the WG to properly consider an option for
> capabilities.  

I don't have an issue with us considering adding capabilities. But I'd rather
we have an I-D that provides that motivation.

I'm not convinced that adding it as a specific solution in this context is
a sufficient scoping of all of the issues we would encounter.


> The key trade-off to make regarding
> non-capability-based approaches is a {latency and/or complexity of
> MDS<->DS comms} versus {crypto complexity and MDS<->DS comms to handle
> keying}.  Given how much of MDS<->DS communications is left to
> implementors, I think NFSv4.2 ought to give implementors the option of
> using capabilities.


Nothing prevents an implementation from using capabilities in MDS<->DS
communication.

Nothing prevents an implementation from embedding capabilities into
a volatile FH (in full acknowledgement that this different from what you
propose) and using that framework to handle revoking a client access.




From nico@cryptonector.com  Mon Apr 25 12:17:14 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 8156FE079A for <nfsv4@ietfc.amsl.com>; Mon, 25 Apr 2011 12:17:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.377
X-Spam-Level: 
X-Spam-Status: No, score=-1.377 tagged_above=-999 required=5 tests=[AWL=-0.400, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, J_BACKHAIR_32=1]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6fUbNwu+qm2v for <nfsv4@ietfc.amsl.com>; Mon, 25 Apr 2011 12:17:13 -0700 (PDT)
Received: from homiemail-a33.g.dreamhost.com (caiajhbdcagg.dreamhost.com [208.97.132.66]) by ietfc.amsl.com (Postfix) with ESMTP id 89CA1E0794 for <nfsv4@ietf.org>; Mon, 25 Apr 2011 12:17:13 -0700 (PDT)
Received: from homiemail-a33.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a33.g.dreamhost.com (Postfix) with ESMTP id 3F25A594061 for <nfsv4@ietf.org>; Mon, 25 Apr 2011 12:17:12 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=hClJE0qQQX/tD6kNs9NMHEA+NLexHmeqEC1DPgL/MSC8 jQs93hkpi9W5+L4bpuYu480eoGWasBUO2HJHP7dENiBHFH+ww410dhi3UvEC71SO o0Q1W/pO1cJb/F5IbAbvk4jSbVM6z7di4p27ci7IAWy76+jM79gaQC3k9WUaPb0=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=iTToFji0axVfYajnCh+iJJe49UM=; b=Tr+PzN/ztlH HIfrUzB9idHo9wfrNe1u/ryh54bj4ROaxCJPftQOoUVs2pnpFuKYJHo5ajQQIUd2 kXLTfBa/8BCUZSLea0TjiL8/jeTFrayc9n+47hfD79n4b4ke7OfJlHFzM0ad/8BG rFXNmDTKLhO5WVNwwm6UELlCcYFxgCGs=
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a33.g.dreamhost.com (Postfix) with ESMTPSA id 16371594059 for <nfsv4@ietf.org>; Mon, 25 Apr 2011 12:17:12 -0700 (PDT)
Received: by vxg33 with SMTP id 33so2458375vxg.31 for <nfsv4@ietf.org>; Mon, 25 Apr 2011 12:17:11 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.107.129 with SMTP id hc1mr6808128vdb.289.1303759031171; Mon, 25 Apr 2011 12:17:11 -0700 (PDT)
Received: by 10.52.163.71 with HTTP; Mon, 25 Apr 2011 12:17:11 -0700 (PDT)
In-Reply-To: <B018907C-657D-4D28-96B2-D677013B0986@netapp.com>
References: <A01DB044-4130-490D-A2CC-B4CB16757894@netapp.com> <BANLkTimbC0ZqPkpz2Kq9bcdYdhdC9Wt74Q@mail.gmail.com> <30F15750-1949-4044-86C3-A796E0AF3391@netapp.com> <BANLkTinZYPqKXQm9QyXOqd_uSxLaSUm3aA@mail.gmail.com> <BANLkTi=z1Tgr2DdiqvLKirgV00Mut2WtgA@mail.gmail.com> <F798936B-F8B6-42E4-97B7-0B09FED69C31@wheaton.edu> <BANLkTi=yrZrMOMS+ejRDqNYx5SfgVtb_YQ@mail.gmail.com> <B018907C-657D-4D28-96B2-D677013B0986@netapp.com>
Date: Mon, 25 Apr 2011 14:17:11 -0500
Message-ID: <BANLkTi=_TnTU61Th_c2D5H2PqXJR_8p=aA@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Thomas Haynes <thomas@netapp.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: "nfsv4@ietf.org" <nfsv4@ietf.org>
Subject: Re: [nfsv4] [LNFS] Discussion items for the next meeting
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Apr 2011 19:17:14 -0000

On Mon, Apr 25, 2011 at 12:50 PM, Thomas Haynes <thomas@netapp.com> wrote:
> On Apr 25, 2011, at 11:23 AM, Nico Williams wrote:
> I don't have an issue with us considering adding capabilities. But I'd ra=
ther
> we have an I-D that provides that motivation.

I'm a volunteer.  The WG is already getting free labor from me in the
form of RPCSEC_GSSv3.  What I proposed regarding capabilities is so
bloody trivial that publishing an I-D just to get text folded into 4.2
would be overkill.  The most I'll do is furnish some text for you to
edit into 4.2.  If the WG doesn't like that, then forget it, and so
will I.

> I'm not convinced that adding it as a specific solution in this context i=
s
> a sufficient scoping of all of the issues we would encounter.

I'm not trying to convince _you_.  On Thursday we'll see if I can
convince the participants I'm aiming to convince.  If not, well, that
will mean less volunteer work for me to do.

>> The key trade-off to make regarding
>> non-capability-based approaches is a {latency and/or complexity of
>> MDS<->DS comms} versus {crypto complexity and MDS<->DS comms to handle
>> keying}. =C2=A0Given how much of MDS<->DS communications is left to
>> implementors, I think NFSv4.2 ought to give implementors the option of
>> using capabilities.
>
> Nothing prevents an implementation from using capabilities in MDS<->DS
> communication.

How many times must I explain why there is something missing from the
protocol regarding capabilities?  That something missing is: an
operation to refresh capabilities based on something other than
rebuilding open file state by path (i.e., something other than
volatile FHs).

> Nothing prevents an implementation from embedding capabilities into
> a volatile FH (in full acknowledgement that this different from what you
> propose) and using that framework to handle revoking a client access.

VFH is a disaster that exists only to cope with filesystems that don't
index filesystem objects by anything other than name (i.e.,
filesystems that lack anything remotely like an inode number).  No
server implementor should be happy to use VFHs to approximate
capabilities.  You know this, and IIRC you've said as much at some
point in one of these threads (no, I won't go find a quote because
there's too much chaff to wade through just to find it and life is
just too short).

Nico
--

From Tom.Haynes@netapp.com  Mon Apr 25 12:33:26 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfc.amsl.com
Delivered-To: nfsv4@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id D90DAE0691 for <nfsv4@ietfc.amsl.com>; Mon, 25 Apr 2011 12:33:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.484
X-Spam-Level: 
X-Spam-Status: No, score=-10.484 tagged_above=-999 required=5 tests=[AWL=0.114, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EZzp3pbvvRiW for <nfsv4@ietfc.amsl.com>; Mon, 25 Apr 2011 12:33:25 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfc.amsl.com (Postfix) with ESMTP id 978BCE067C for <nfsv4@ietf.org>; Mon, 25 Apr 2011 12:33:24 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,266,1301900400";  d="scan'208,217";a="543604666"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 25 Apr 2011 12:33:24 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3PJXO2R021131; Mon, 25 Apr 2011 12:33:24 -0700 (PDT)
Received: from rtprsexc2-prd.hq.netapp.com ([10.100.161.115]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 25 Apr 2011 12:33:23 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 25 Apr 2011 15:33:23 -0400
Received: from sscott1-lxp.hq.netapp.com ([10.58.56.226]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 25 Apr 2011 15:33:22 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: multipart/alternative; boundary=Apple-Mail-32--964713663
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <BANLkTinZYPqKXQm9QyXOqd_uSxLaSUm3aA@mail.gmail.com>
Date: Mon, 25 Apr 2011 14:33:20 -0500
Message-Id: <AB0F4347-1A92-4F61-8381-D67B104DA4DF@netapp.com>
References: <A01DB044-4130-490D-A2CC-B4CB16757894@netapp.com> <BANLkTimbC0ZqPkpz2Kq9bcdYdhdC9Wt74Q@mail.gmail.com> <30F15750-1949-4044-86C3-A796E0AF3391@netapp.com> <BANLkTinZYPqKXQm9QyXOqd_uSxLaSUm3aA@mail.gmail.com>
To: Nico Williams <nico@cryptonector.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 25 Apr 2011 19:33:22.0727 (UTC) FILETIME=[A397DB70:01CC037F]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [LNFS] Discussion items for the next meeting
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Apr 2011 19:33:27 -0000

--Apple-Mail-32--964713663
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


On Apr 22, 2011, at 7:50 PM, Nico Williams wrote:

> On Apr 22, 2011 7:27 PM, "Thomas Haynes" <thomas@netapp.com> wrote:
> > On Apr 22, 2011, at 5:52 PM, Nico Williams wrote:
> > Nico,
> >
> > I don't understand why the FH has to become stale. Does the
> > fact that the object label has changed make this stale?
>=20
> My proposal is for cryptographic capabilities, either embedded in the =
FH or explicit.
>=20
> When the label changes, which is to say: when access is *revoked* =
(this is key, see below), the access capability (token, if it helps you) =
becomes stale or otherwise no longer capable of granting access.
>=20
> > Also, what issues if any are there if the server reboots and
> > a client presents one of your FHs?
>=20
> Implementation-specific.  Quite possibly none (that is, you can easily =
make it none).
>=20
> > > My proposal is to have a very simple recovery: the client asks the
> > > server to give it a new FH that is semantically equivalent to the =
old
> > > one in every way except for: it's not stale.  The server can say =
no,
> > > if MAC policy by then prohibits the client/user from accessing =
that
> > > file in that way.
> > >
> > > This _does_ imply a cryptographic capability being embedded in the =
FH.
> >
> >
> > I really do not want to be in the business of dictating the format
> > of the FH to the servers. How much space is needed by this =
capability?
>=20
> The format wouldn't get dictated.  See Spencer's earlier reply to you =
on this matter.
>=20
>=20


If you add capabilities to a FH for LNFS, then you are dictating that =
FHs have
capabilities. You may not be dictating where in the FH, but it is a =
requirement
that they have them present.

Implementations might have existing limits to how much information that =
they
can embed in a FH. Adding capabilities might bump them over that limit.

Another issue is that when LNFS is enabled on a server, it might have
clients accessing files with the old filehandles. How does the server
detect a client presenting the old filehandles?=20

By the way, what happens if a filesystem is migrated? Is there a =
requirement
that the FHs are still honored?

Is there also a restriction about whether or not we can migrate a =
filesystem
from a LNFS aware server to a non-LNFS aware server?


A key concern I have here is not the addition of capabilities, but why =
we need
to expose them to the client, whether implicitly across the FH or =
explicitly
with the new ops. A new mechanism is being proposed for the flow of
information between the MDS and DS and I don't see sufficient rational
for why we should abandon the old method.

If the capabilities are stored on the MDS, then we avoid a host of =
issues
(i.e., the questions I have raised about how this new FH type survives
reboot, migration, etc).

> > If implicit capabilities can be built by the server (remember that =
the
>=20
> > FH is opaque and the client cannot use it) and explicit capabilities
> > are not passed around in the FH, why can we not have implicit
> > capabilities which are not passed in the FH?
>=20
> The client *never* interprets the contents of FHs, and I do not =
propose changing this, nor do I imply it.  Explicit capabilities by =
definition are not _in_ the FH (I hadn't said that, er, explicitly, but =
I thought it'd be clear that an explicit capability is not embedded in =
an FH but used in parallel PUTCAPABILITY ops).
>=20
>=20


The issue isn't whether or not the client interprets the contents of
the FH, but rather whether the capabilities ever need to be presented
to the client to pass from the MDS to the DS?



> > Or in other words, the MDS creates an implicit capability. It has
> > a tuple of <client, FH, stateid, capability>. If the DS wants to =
know
> > the capability, it can query the MDS by passing in the <client, FH, =
stateid>.
>=20
> No stateid, none, no, never, no, categorically no :)  Not in the =
capability.  In the post where I described a possible implementation =
choice I had no stateid in there, and never did I even imply that one =
should put one there.
>=20
>=20


This is something completely different than your possible implementation
choice and not embedded in the filehandle. In your proposal, the stateid
is being explicitly carried by the READ or WRITE ops that are going to
the DS.

What I am trying to do is restate the discussion in 13.11 of RFC 5661:

   Fencing works as follows.  As described in Section 13.1, in COMPOUND
   procedure requests to the data server, the data filehandle provided
   by the PUTFH operation and the stateid in the READ or WRITE operation
   are used to ensure that the client has a valid layout for the I/O
   being performed; if it does not, the I/O is rejected with
   NFS4ERR_PNFS_NO_LAYOUT.  The server can simply check the stateid and,
   additionally, make the data filehandle stale if the layout specified
   a data filehandle that is different from the metadata server's
   filehandle for the file (see the nfl_fh_list description in
   Section 13.3).


In order to validate a client's requests, we need to know the client,
the FH, and the stateid. Given those three pieces of information, we
can uniquely identify the capabilities assigned to a client for a file.

But really, this is exactly my proposal. The DS sees a request from
the client. It already has to query the MDS for the following:

1) A valid layout
2) DAC permissions
3) Export level access

At this point, it could also query for MAC permissions.



> > Also, in this case, there is no cost to encrypt the capabilities.
>=20
> I don't follow.
>=20
>=20


If the MDS and DS are communicating directly, then capabilities
do not need to be sent on the wire. Either an index will suffice or
the subject label can be transmitted. Therefore you remove the
cost to encrypt.


> > > Pretty simple.  Also: not Earth shaking.  Folks, cryptographic
> > > capabilities in filesystems are nothing new, much less scary.
> >
> >
> > This is not my issue. Quite simply, we already have a working
> > approach to solve the second item for DAC and it is easy enough to
> > extend for MAC. As for the first item, it also falls into well =
understood
> > approaches we've already solved.
>=20
> You don't have revocation in the DAC case because POSIX semantics have =
an anti-requirement regarding revocation.  MAC is different in this =
respect.  If there's no need for revocation then there's no need for =
refreshing capabilities.  This be the crux of the matter.
>=20
>=20


But you do have revocation either because the export policy changed
on the MDS or the MDS fenced the client off.  See above.




> > A tangent is whether there are other uses for capabilities?
>=20
> Quite.  It's how pNFS should have worked from the word go.  But no one =
listened or noticed when I proposed it back then.  Or maybe capabilities =
make no sense or introduce undesirable complexity, but at least now we =
will have a good debate on this.
>=20
>=20



--Apple-Mail-32--964713663
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><br><div><div>On Apr 22, 2011, at 7:50 PM, Nico Williams =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><p>On Apr 22, 2011 7:27 PM, "Thomas Haynes" &lt;<a =
href=3D"mailto:thomas@netapp.com">thomas@netapp.com</a>&gt; wrote:<br>
&gt; On Apr 22, 2011, at 5:52 PM, Nico Williams wrote:<br>
&gt; Nico,<br>
&gt;<br>
&gt; I don't understand why the FH has to become stale. Does the<br>
&gt; fact that the object label has changed make this stale?</p><p>My =
proposal is for cryptographic capabilities, either embedded in the FH or =
explicit.</p><p>When the label changes, which is to say: when access is =
*revoked* (this is key, see below), the access capability (token, if it =
helps you) becomes stale or otherwise no longer capable of granting =
access.</p><p>&gt; Also, what issues if any are there if the server =
reboots and<br>
&gt; a client presents one of your =
FHs?</p><p>Implementation-specific.&nbsp; Quite possibly none (that is, =
you can easily make it none).</p><p>&gt; &gt; My proposal is to have a =
very simple recovery: the client asks the<br>
&gt; &gt; server to give it a new FH that is semantically equivalent to =
the old<br>
&gt; &gt; one in every way except for: it's not stale. &nbsp;The server =
can say no,<br>
&gt; &gt; if MAC policy by then prohibits the client/user from accessing =
that<br>
&gt; &gt; file in that way.<br>
&gt; &gt;<br>
&gt; &gt; This _does_ imply a cryptographic capability being embedded in =
the FH.<br>
&gt;<br>
&gt;<br>
&gt; I really do not want to be in the business of dictating the =
format<br>
&gt; of the FH to the servers. How much space is needed by this =
capability?</p><p>The format wouldn't get dictated.&nbsp; See Spencer's =
earlier reply to you on this =
matter.</p><div><br></div></blockquote><div><br></div><div><br></div><div>=
If you add capabilities to a FH for LNFS, then you are dictating that =
FHs have</div><div>capabilities. You may not be dictating where in the =
FH, but it is a requirement</div><div>that they have them =
present.</div><div><br></div><div>Implementations might have existing =
limits to how much information that they</div><div>can embed in a FH. =
Adding capabilities might bump them over that =
limit.</div><div><br></div><div>Another issue is that when LNFS is =
enabled on a server, it might have</div><div>clients accessing files =
with the old filehandles. How does the server</div><div>detect a client =
presenting the old filehandles?&nbsp;</div><div><br></div><div>By the =
way, what happens if a filesystem is migrated? Is there a =
requirement</div><div>that the FHs are still =
honored?</div><div><br></div><div>Is there also a restriction about =
whether or not we can migrate a filesystem</div><div>from a LNFS aware =
server to a non-LNFS aware =
server?</div><div><br></div><div><br></div><div>A key concern I have =
here is not the addition of capabilities, but why we need</div><div>to =
expose them to the client, whether implicitly across the FH or =
explicitly</div><div>with the new ops. A new mechanism is being proposed =
for the flow of</div><div>information between the MDS and DS and I don't =
see sufficient rational</div><div>for why we should abandon the old =
method.</div><div><br></div><div>If the capabilities are stored on the =
MDS, then we avoid a host of issues</div><div>(i.e., the questions I =
have raised about how this new FH type survives</div><div>reboot, =
migration, etc).</div><br><blockquote type=3D"cite"><p>&gt; If implicit =
capabilities can be built by the server (remember that the</p><p>
&gt; FH is opaque and the client cannot use it) and explicit =
capabilities<br>
&gt; are not passed around in the FH, why can we not have implicit<br>
&gt; capabilities which are not passed in the FH?</p><p>The client =
*never* interprets the contents of FHs, and I do not propose changing =
this, nor do I imply it.&nbsp; Explicit capabilities by definition are =
not _in_ the FH (I hadn't said that, er, explicitly, but I thought it'd =
be clear that an explicit capability is not embedded in an FH but used =
in parallel PUTCAPABILITY =
ops).</p><div><br></div></blockquote><div><br></div><div><br></div>The =
issue isn't whether or not the client interprets the contents =
of</div><div>the FH, but rather whether the capabilities ever need to be =
presented</div><div>to the client to pass from the MDS to the =
DS?</div><div><br></div><div><br></div><div><br></div><div><blockquote =
type=3D"cite"><p>&gt; Or in other words, the MDS creates an implicit =
capability. It has<br>
&gt; a tuple of &lt;client, FH, stateid, capability&gt;. If the DS wants =
to know<br>
&gt; the capability, it can query the MDS by passing in the &lt;client, =
FH, stateid&gt;.</p><p>No stateid, none, no, never, no, categorically no =
:)&nbsp; Not in the capability.&nbsp; In the post where I described a =
possible implementation choice I had no stateid in there, and never did =
I even imply that one should put one =
there.</p><div><br></div></blockquote><div><br></div><div><br></div><div>T=
his is something completely different than your possible =
implementation</div><div>choice and not embedded in the filehandle. In =
your proposal, the stateid</div><div>is being explicitly carried by the =
READ or WRITE ops that are going to</div><div>the =
DS.</div><div><br></div><div>What I am trying to do is restate the =
discussion in&nbsp;13.11 of RFC =
5661:</div><div><br></div></div><blockquote =
class=3D"webkit-indent-blockquote" style=3D"margin: 0 0 0 40px; border: =
none; padding: 0px;"><div><div><div>&nbsp;&nbsp; Fencing works as =
follows. &nbsp;As described in Section 13.1, in =
COMPOUND</div></div></div><div><div><div>&nbsp;&nbsp; procedure requests =
to the data server, the data filehandle =
provided</div></div></div><div><div><div>&nbsp;&nbsp; by the PUTFH =
operation and the stateid in the READ or WRITE =
operation</div></div></div><div><div><div>&nbsp;&nbsp; are used to =
ensure that the client has a valid layout for the =
I/O</div></div></div><div><div><div>&nbsp;&nbsp; being performed; if it =
does not, the I/O is rejected =
with</div></div></div><div><div><div>&nbsp;&nbsp; =
NFS4ERR_PNFS_NO_LAYOUT. &nbsp;The server can simply check the stateid =
and,</div></div></div><div><div><div>&nbsp;&nbsp; additionally, make the =
data filehandle stale if the layout =
specified</div></div></div><div><div><div>&nbsp;&nbsp; a data filehandle =
that is different from the metadata =
server's</div></div></div><div><div><div>&nbsp;&nbsp; filehandle for the =
file (see the nfl_fh_list description =
in</div></div></div><div><div><div>&nbsp;&nbsp; Section =
13.3).</div></div></div></blockquote><div><div><div><br></div></div><div><=
br></div><div>In order to validate a client's requests, we need to know =
the client,</div><div>the FH, and the stateid. Given those three pieces =
of information, we</div><div>can uniquely identify the capabilities =
assigned to a client for a file.</div><div><br></div><div>But really, =
this is exactly my proposal. The DS sees a request from</div><div>the =
client. It already has to query the MDS for the =
following:</div><div><br></div><div>1) A valid layout</div><div>2) DAC =
permissions</div><div>3) Export level access</div><div><br></div><div>At =
this point, it could also query for MAC =
permissions.</div><div><br></div><div><br></div><br><blockquote =
type=3D"cite"><p>&gt; Also, in this case, there is no cost to encrypt =
the capabilities.</p><p>I don't =
follow.</p><div><br></div></blockquote><div><br></div><div><br></div><div>=
If the MDS and DS are communicating directly, then =
capabilities</div><div>do not need to be sent on the wire. Either an =
index will suffice or</div><div>the subject label can be transmitted. =
Therefore you remove the</div><div>cost to =
encrypt.</div><div><br></div><br><blockquote type=3D"cite"><p>&gt; &gt; =
Pretty simple. &nbsp;Also: not Earth shaking. &nbsp;Folks, =
cryptographic<br>
&gt; &gt; capabilities in filesystems are nothing new, much less =
scary.<br>
&gt;<br>
&gt;<br>
&gt; This is not my issue. Quite simply, we already have a working<br>
&gt; approach to solve the second item for DAC and it is easy enough =
to<br>
&gt; extend for MAC. As for the first item, it also falls into well =
understood<br>
&gt; approaches we've already solved.</p><p>You don't have revocation in =
the DAC case because POSIX semantics have an anti-requirement regarding =
revocation.&nbsp; MAC is different in this respect.&nbsp; If there's no =
need for revocation then there's no need for refreshing =
capabilities.&nbsp; This be the crux of the =
matter.</p><div><br></div></blockquote><div><br></div><div><br></div><div>=
But you do have revocation either because the export policy =
changed</div><div>on the MDS or the MDS fenced the client off. &nbsp;See =
above.</div><div><br></div><div><br></div><div><br></div><br><blockquote =
type=3D"cite"><p>&gt; A tangent is whether there are other uses for =
capabilities?</p><p>Quite.&nbsp; It's how pNFS should have worked from =
the word go.&nbsp; But no one listened or noticed when I proposed it =
back then.&nbsp; Or maybe capabilities make no sense or introduce =
undesirable complexity, but at least now we will have a good debate on =
this.</p><div><br></div></blockquote><br></div><br></body></html>=

--Apple-Mail-32--964713663--

From david.black@emc.com  Mon Apr 25 15:20:18 2011
Return-Path: <david.black@emc.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1D386E0688 for <nfsv4@ietfa.amsl.com>; Mon, 25 Apr 2011 15:20:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.449
X-Spam-Level: 
X-Spam-Status: No, score=-105.449 tagged_above=-999 required=5 tests=[AWL=-1.150, BAYES_00=-2.599, MANGLED_BEEF=2.3, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lCFqDSkDkuAf for <nfsv4@ietfa.amsl.com>; Mon, 25 Apr 2011 15:20:17 -0700 (PDT)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by ietfa.amsl.com (Postfix) with ESMTP id 50532E066F for <nfsv4@ietf.org>; Mon, 25 Apr 2011 15:20:14 -0700 (PDT)
Received: from hop04-l1d11-si04.isus.emc.com (HOP04-L1D11-SI04.isus.emc.com [10.254.111.24]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3PKDGuu019544 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 25 Apr 2011 16:13:17 -0400
Received: from mailhub.lss.emc.com (mailhubhoprd03.lss.emc.com [10.254.221.145]) by hop04-l1d11-si04.isus.emc.com (RSA Interceptor); Mon, 25 Apr 2011 16:13:09 -0400
Received: from mxhub25.corp.emc.com (mxhub25.corp.emc.com [10.254.110.181]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3PKD5cs006633; Mon, 25 Apr 2011 16:13:05 -0400
Received: from mx14a.corp.emc.com ([169.254.1.209]) by mxhub25.corp.emc.com ([10.254.110.181]) with mapi; Mon, 25 Apr 2011 16:13:05 -0400
From: <david.black@emc.com>
To: <thomas@netapp.com>
Date: Mon, 25 Apr 2011 16:13:04 -0400
Thread-Topic: [nfsv4] Patterns: INITIALIZE or WRITE_PLUS
Thread-Index: Acv+3hTVBP5K5w34Tg6AuH+S8i/fYQEpXmTw
Message-ID: <7C4DFCE962635144B8FAE8CA11D0BF1E0417416F75@MX14A.corp.emc.com>
References: <B637DE01-CC65-4393-8F57-3C0422E4E6AA@netapp.com> <41be156de393c5e2948b0222230aa6e6.squirrel@webmail.eisler.com> <3D8ED82E-80F3-4B5B-8C71-088E344F47F2@netapp.com> <4DA48A76.5080305@gmail.com> <D9ECA635-BD66-4369-915F-747AE70B4EEE@netapp.com> <4DAD2D3F.6030107@gmail.com> <16CC3EFE-A0EC-48D1-B46C-47D25EAFDF59@netapp.com> <4DADBB52.3050703@gmail.com> <9987c84e8502b72afacc688c5198c0f8.squirrel@webmail.eisler.com> <0B17B345-A600-4BDD-AB61-30A627D735D6@netapp.com>
In-Reply-To: <0B17B345-A600-4BDD-AB61-30A627D735D6@netapp.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-EMM-MHVC: 1
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] Patterns: INITIALIZE or WRITE_PLUS
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Apr 2011 22:20:18 -0000

Returning to the pNFS question, pattern support almost certainly varies by =
layout type.

The block layout is simple, because block device interfaces (e.g., SCSI) ha=
ve no support for patterns.  The block range covered by the pattern is neve=
r granted in a layout, causing the pNFS client to read from the MDS, which =
in turn causes the proverbial "right thing" to happen (server returns space=
-optimized version of pattern that client expands into data to return to ap=
plication).

For the file layout, the file data servers will have to be part of the patt=
ern support for that to work as intended, but it should be ok if they have =
the support (modulo some block numbering interaction with striping).

For the object layout, I have no idea - Benny?

Thanks,
--David


> -----Original Message-----
> From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On Behalf Of=
 Thomas Haynes
> Sent: Tuesday, April 19, 2011 6:01 PM
> To: Mike Eisler
> Cc: nfsv4@ietf.org
> Subject: Re: [nfsv4] Patterns: INITIALIZE or WRITE_PLUS
>=20
>=20
> On Apr 19, 2011, at 4:28 PM, Mike Eisler wrote:
>=20
> > inline ...
> > On Tue, April 19, 2011 9:41 am, Dean wrote:
> >
> >>>>> Also, if we allow for holes, patterns, and data, is it possible for
> >>>>> someone
> >>>>> to implement holes and not patterns?
> >
> > This distinguishing of patterns and holes seems incorrect to me. A hole=
 is
> > a deallocated space. In most file systems, its value is zero. We are
> > finding that that is not generally useful.
> >
> > A suggestion: We should (re?)-define some terminology.
> >
> > Pattern: fixed sized unit of data consisting of a region of zeroes
> > overlayed with an optional fixed string, and an optional variable 64 bi=
t
> > unsigned integer that represents of the iteration of the pattern.
>=20
>=20
> Yes, I think this definition of pattern is key to understanding it. A pat=
tern
> is not taking a hole and stating the string is something other than
> zeros.
>=20
> I.e., you can't take a hole of '00 00 00 00' and say it is now a hole of
> 'de ad be ef'. That is not a pattern.
>=20
> I would state a trivial pattern as being a pattern in which every byte
> is the same.
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4


From Tom.Haynes@netapp.com  Mon Apr 25 15:23:14 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CBE64E06B2 for <nfsv4@ietfa.amsl.com>; Mon, 25 Apr 2011 15:23:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.976
X-Spam-Level: 
X-Spam-Status: No, score=-9.976 tagged_above=-999 required=5 tests=[AWL=0.023,  BAYES_00=-2.599, J_CHICKENPOX_34=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qy4GfQRK9FRA for <nfsv4@ietfa.amsl.com>; Mon, 25 Apr 2011 15:23:14 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfa.amsl.com (Postfix) with ESMTP id 3B3E6E06A9 for <nfsv4@ietf.org>; Mon, 25 Apr 2011 15:23:14 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,266,1301900400"; d="scan'208";a="543624641"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 25 Apr 2011 13:55:36 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3PKta8W007953; Mon, 25 Apr 2011 13:55:36 -0700 (PDT)
Received: from rtprsexc2-prd.hq.netapp.com ([10.100.161.115]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 25 Apr 2011 13:55:36 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 25 Apr 2011 16:55:35 -0400
Received: from alex3-lxp.hq.netapp.com ([10.58.56.226]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 25 Apr 2011 16:55:34 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <7C4DFCE962635144B8FAE8CA11D0BF1E0417416F75@MX14A.corp.emc.com>
Date: Mon, 25 Apr 2011 15:55:32 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <9723EA95-A955-4969-B116-48B2AC55A476@netapp.com>
References: <B637DE01-CC65-4393-8F57-3C0422E4E6AA@netapp.com> <41be156de393c5e2948b0222230aa6e6.squirrel@webmail.eisler.com> <3D8ED82E-80F3-4B5B-8C71-088E344F47F2@netapp.com> <4DA48A76.5080305@gmail.com> <D9ECA635-BD66-4369-915F-747AE70B4EEE@netapp.com> <4DAD2D3F.6030107@gmail.com> <16CC3EFE-A0EC-48D1-B46C-47D25EAFDF59@netapp.com> <4DADBB52.3050703@gmail.com> <9987c84e8502b72afacc688c5198c0f8.squirrel@webmail.eisler.com> <0B17B345-A600-4BDD-AB61-30A627D735D6@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E0417416F75@MX14A.corp.emc.com>
To: "<david.black@emc.com>" <david.black@emc.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 25 Apr 2011 20:55:34.0527 (UTC) FILETIME=[1F2CD0F0:01CC038B]
Cc: nfsv4@ietf.org
Subject: [nfsv4] What does NFS4ERR_NOTSUPP mean?
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Apr 2011 22:23:14 -0000

On Apr 25, 2011, at 3:13 PM, <david.black@emc.com> <david.black@emc.com> =
wrote:

> Returning to the pNFS question, pattern support almost certainly =
varies by layout type.

Ahh, the question was different:

If we allow both a pattern and a hole to be represented in the =
INITIALIZE and READ_PLUS
operations, is it conceivable that someone implements holes, but not =
patterns?

And that actually raises a far more interesting, and generic question, =
given the minor
versioning rules of NFSv4.x, is it possible to return NFS4ERR_NOTSUPP =
for one
variant of an operation, but not another?

Look at rule 3 of the Minor Versioning Rules:

   3.   Minor versions must not modify the structure of an existing
        operation's arguments or results.

        Again, the complexity of handling multiple structure definitions
        for a single operation is too burdensome.  New operations should
        be added instead of modifying existing structures for a minor
        version.

        This rule does not preclude the following adaptations in a minor
        version:

        *  adding bits to flag fields, such as new attributes to
           GETATTR's bitmap4 data type, and providing corresponding
           variants of opaque arrays, such as a notify4 used together
           with such bitmaps

        *  adding bits to existing attributes like ACLs that have flag
           words

        *  extending enumerated types (including NFS4ERR_*) with new
           values

        *  adding cases to a switched union

So if we define FOO thusly in NFSv4.2 and make it optional:

enum foo_enum {
  FOO_READ_NORMAL =3D 0
};

struct foo_reader {
       offset_t  fr_start;
};

union foo_content switch (foo_enum bar) {
case FOO_READ_NORMAL:
       foo_reader       fc_normal;
default:
        void;
};

struct FOO4args {
        foo_content     fa_content;
};

And if further, we redefine FOO in NFSv4.3 to include a new variant:

const NFS4_TWO_GB            =3D 0x80000000;

typedef opaque twoGB_byte_array4[NFS4_INT32_MAX];

struct fourGB_buffer4 {
     twoGB_byte_array4[2];
}

struct large_buffer4 {
        fourGB_buffer4 lb_big_buffers<>;
        opaque         lb_small_buffer<>;
}

struct foo_large_reader {
        large_buffer4        rwar_data;
};

enum foo_enum {
  FOO_READ_NORMAL =3D 0,
  FOO_READ_LARGE =3D 1
};

struct foo_reader {
       offset_t  fr_start;
};

union foo_content switch (foo_enum bar) {
case FOO_READ_NORMAL:
       foo_reader       fc_normal;
case FOO_READ_LARGE:
       foo_large_reader fc_large;
default:
        void;
};

struct FOO4args {
        foo_content     fa_content;
};

I.e., I've come up with a way to add large file support to new READ and =
WRITE operations without
having to form yet more operations.

An implementation may decide to ship NFSv4.3 without large file support, =
but with normal file
support for FOO.

I would argue that if it got:

PUTFH FOO {FOO_READ_LARGE} ...

it could return NFS4ERR_NOTSUPP for FOO, but that only means it is not =
supported for the given
value of the foo_enum.

I.e., if given

PUTFH FOO {FOO_READ_NORMAL}, then it would never return NFS4ERR_NOTSUPP. =
(Especially
if we made FOO mandatory in NFSv4.3.)



From Tom.Haynes@netapp.com  Mon Apr 25 16:38:21 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AD63EE0681 for <nfsv4@ietfa.amsl.com>; Mon, 25 Apr 2011 16:38:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.284
X-Spam-Level: 
X-Spam-Status: No, score=-10.284 tagged_above=-999 required=5 tests=[AWL=0.316, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id C09WRb7wnzOc for <nfsv4@ietfa.amsl.com>; Mon, 25 Apr 2011 16:38:21 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfa.amsl.com (Postfix) with ESMTP id 363BCE064A for <nfsv4@ietf.org>; Mon, 25 Apr 2011 16:38:21 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,267,1301900400"; d="scan'208";a="543654159"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 25 Apr 2011 16:38:05 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3PNc5kC022896; Mon, 25 Apr 2011 16:38:05 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 25 Apr 2011 16:38:05 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 25 Apr 2011 19:38:04 -0400
Received: from alex3-lxp.hq.netapp.com ([10.58.56.226]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 25 Apr 2011 19:38:03 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <BANLkTi=ZNwf3azZSUtvCqCTAdQGZ3j_tVw@mail.gmail.com>
Date: Mon, 25 Apr 2011 18:38:02 -0500
Content-Transfer-Encoding: 7bit
Message-Id: <F6923169-2D10-487E-B38C-7853F1553323@netapp.com>
References: <A01DB044-4130-490D-A2CC-B4CB16757894@netapp.com> <BANLkTimbC0ZqPkpz2Kq9bcdYdhdC9Wt74Q@mail.gmail.com> <30F15750-1949-4044-86C3-A796E0AF3391@netapp.com> <BANLkTinZYPqKXQm9QyXOqd_uSxLaSUm3aA@mail.gmail.com> <AB0F4347-1A92-4F61-8381-D67B104DA4DF@netapp.com> <BANLkTi=ZNwf3azZSUtvCqCTAdQGZ3j_tVw@mail.gmail.com>
To: Nico Williams <nico@cryptonector.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 25 Apr 2011 23:38:04.0074 (UTC) FILETIME=[D25BA0A0:01CC03A1]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [LNFS] Discussion items for the next meeting
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Apr 2011 23:38:21 -0000

On Apr 25, 2011, at 2:51 PM, Nico Williams wrote:

> On Mon, Apr 25, 2011 at 2:33 PM, Thomas Haynes <thomas@netapp.com> wrote:
>> If you add capabilities to a FH for LNFS, then you are dictating that FHs
>> have
>> capabilities. You may not be dictating where in the FH, but it is a
>> requirement
>> that they have them present.
> 
> Your continuing failure to understand relatively simple matters, and
> your willingness to subsequently make wild assertions based on your
> misunderstandings, in this thread is nothing short of astounding.


You've pulled out part of what I replied and left off the key point.

While the NFSv4.x specification does not cap the length of a file
handle, some server implementations might do so. What I pointed
out was the requirements to add an unbounded (in so far as I
have seen no proposal to limit the size) capability to the FH
might cause it to become too large.


From nico@cryptonector.com  Mon Apr 25 16:40:37 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A8751E0670 for <nfsv4@ietfa.amsl.com>; Mon, 25 Apr 2011 16:40:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Dg-Qs96Yeljr for <nfsv4@ietfa.amsl.com>; Mon, 25 Apr 2011 16:40:37 -0700 (PDT)
Received: from hapkido.dreamhost.com (hapkido.dreamhost.com [66.33.216.122]) by ietfa.amsl.com (Postfix) with ESMTP id 16D74E064A for <nfsv4@ietf.org>; Mon, 25 Apr 2011 16:40:37 -0700 (PDT)
Received: from homiemail-a25.g.dreamhost.com (caiajhbdcbbj.dreamhost.com [208.97.132.119]) by hapkido.dreamhost.com (Postfix) with ESMTP id 7FB5318459B for <nfsv4@ietf.org>; Mon, 25 Apr 2011 12:51:23 -0700 (PDT)
Received: from homiemail-a25.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a25.g.dreamhost.com (Postfix) with ESMTP id 71B38678062 for <nfsv4@ietf.org>; Mon, 25 Apr 2011 12:51:22 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=caiM7tdA7Ibh5C3OuZoA6 FZJULiKSbOnSy4ZwkXyCfyR1mRrQAh7/aNoKMyAF9C+JrTOSOm9P6qWhObRJWym1 SEVV62lbtsb20t7g3eWdLl2FYVQZRkyw6adX09K9YtGFZPsm0um3Vr3y4wQRHEG4 J45uyQUlxW46N8wZT9zv3Y=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=B0ul98yT5InxzhOfK1Jj iAp+Kfw=; b=ikZOsE56lIj6aI7CbJ2CZkkt2toheysiHTy8AhzncyjWA/QdJZJf fTdsrVO33gZAheJZg2sgSpbE9whOCWp+NlDwoHp+FD4ItbFzJlS3YFcCdAsH/pgX noNgGDxqZjvZV3/LCN8LT4On4+3mPOAYWigqFVT8Qc72uJ3wtBY3Xvo=
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a25.g.dreamhost.com (Postfix) with ESMTPSA id 4585D678056 for <nfsv4@ietf.org>; Mon, 25 Apr 2011 12:51:22 -0700 (PDT)
Received: by vxg33 with SMTP id 33so2488299vxg.31 for <nfsv4@ietf.org>; Mon, 25 Apr 2011 12:51:21 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.108.233 with SMTP id hn9mr6866642vdb.249.1303761081687; Mon, 25 Apr 2011 12:51:21 -0700 (PDT)
Received: by 10.52.163.71 with HTTP; Mon, 25 Apr 2011 12:51:21 -0700 (PDT)
In-Reply-To: <AB0F4347-1A92-4F61-8381-D67B104DA4DF@netapp.com>
References: <A01DB044-4130-490D-A2CC-B4CB16757894@netapp.com> <BANLkTimbC0ZqPkpz2Kq9bcdYdhdC9Wt74Q@mail.gmail.com> <30F15750-1949-4044-86C3-A796E0AF3391@netapp.com> <BANLkTinZYPqKXQm9QyXOqd_uSxLaSUm3aA@mail.gmail.com> <AB0F4347-1A92-4F61-8381-D67B104DA4DF@netapp.com>
Date: Mon, 25 Apr 2011 14:51:21 -0500
Message-ID: <BANLkTi=ZNwf3azZSUtvCqCTAdQGZ3j_tVw@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Thomas Haynes <thomas@netapp.com>
Content-Type: text/plain; charset=UTF-8
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [LNFS] Discussion items for the next meeting
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Apr 2011 23:40:37 -0000

On Mon, Apr 25, 2011 at 2:33 PM, Thomas Haynes <thomas@netapp.com> wrote:
> If you add capabilities to a FH for LNFS, then you are dictating that FHs
> have
> capabilities. You may not be dictating where in the FH, but it is a
> requirement
> that they have them present.

Your continuing failure to understand relatively simple matters, and
your willingness to subsequently make wild assertions based on your
misunderstandings, in this thread is nothing short of astounding.  If
you were trying to find the point at which my patience runs out, well,
congratulations, you have found it.  I don't understand what led you
to make the above assertion, but you've misunderstood so much that I
won't try to understand why.  Others will have to tell me if the
problem lies in my being unable to communicate clearly -- if the fault
lies with me then I might be unable to realize that myself, in which
case consider this a preemptive apology from me.

Nico
--

From Tom.Haynes@netapp.com  Mon Apr 25 16:54:10 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4B0A8E064A for <nfsv4@ietfa.amsl.com>; Mon, 25 Apr 2011 16:54:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.862
X-Spam-Level: 
X-Spam-Status: No, score=-9.862 tagged_above=-999 required=5 tests=[AWL=-0.263, BAYES_00=-2.599, J_BACKHAIR_32=1, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Y6uV2yocYyuW for <nfsv4@ietfa.amsl.com>; Mon, 25 Apr 2011 16:54:09 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfa.amsl.com (Postfix) with ESMTP id 5F9DDE062A for <nfsv4@ietf.org>; Mon, 25 Apr 2011 16:54:09 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,267,1301900400"; d="scan'208";a="543657137"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 25 Apr 2011 16:54:09 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3PNs9in028855; Mon, 25 Apr 2011 16:54:09 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 25 Apr 2011 16:54:09 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 25 Apr 2011 19:54:07 -0400
Received: from alex3-lxp.hq.netapp.com ([10.58.56.226]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 25 Apr 2011 19:54:07 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <BANLkTi=_TnTU61Th_c2D5H2PqXJR_8p=aA@mail.gmail.com>
Date: Mon, 25 Apr 2011 18:54:06 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <B9797012-466C-460B-8E54-DCFF4C0334EC@netapp.com>
References: <A01DB044-4130-490D-A2CC-B4CB16757894@netapp.com> <BANLkTimbC0ZqPkpz2Kq9bcdYdhdC9Wt74Q@mail.gmail.com> <30F15750-1949-4044-86C3-A796E0AF3391@netapp.com> <BANLkTinZYPqKXQm9QyXOqd_uSxLaSUm3aA@mail.gmail.com> <BANLkTi=z1Tgr2DdiqvLKirgV00Mut2WtgA@mail.gmail.com> <F798936B-F8B6-42E4-97B7-0B09FED69C31@wheaton.edu> <BANLkTi=yrZrMOMS+ejRDqNYx5SfgVtb_YQ@mail.gmail.com> <B018907C-657D-4D28-96B2-D677013B0986@netapp.com> <BANLkTi=_TnTU61Th_c2D5H2PqXJR_8p=aA@mail.gmail.com>
To: Nico Williams <nico@cryptonector.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 25 Apr 2011 23:54:07.0868 (UTC) FILETIME=[10D2EBC0:01CC03A4]
Cc: "nfsv4@ietf.org" <nfsv4@ietf.org>
Subject: Re: [nfsv4] [LNFS] Discussion items for the next meeting
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Apr 2011 23:54:10 -0000

On Apr 25, 2011, at 2:17 PM, Nico Williams wrote:

> On Mon, Apr 25, 2011 at 12:50 PM, Thomas Haynes <thomas@netapp.com> =
wrote:
>> On Apr 25, 2011, at 11:23 AM, Nico Williams wrote:
>> I don't have an issue with us considering adding capabilities. But =
I'd rather
>> we have an I-D that provides that motivation.
>=20
> I'm a volunteer.  The WG is already getting free labor from me in the
> form of RPCSEC_GSSv3.


I'm not asking that you be the author. I'll do it if it turns out we =
need the
new feature.

What I was trying to drive towards is that even though the concept might
be easy to understand, there are plenty of open issues with regards to
deploying them in terms of the protocol.  What I am asking for here is =
that
we scope out those ramifications before we commit to doing capabilities.



>  What I proposed regarding capabilities is so
> bloody trivial that publishing an I-D just to get text folded into 4.2
> would be overkill.  The most I'll do is furnish some text for you to
> edit into 4.2.  If the WG doesn't like that, then forget it, and so
> will I.


The issues at hand are:

1) A DS verifying that a client has an appropriate subject label to =
access the
object label of the file being accessed.

2) If a server modifies the object label for a file that a client has =
open, then
the server needs to communicate that back to the client.

Both of these issues can be solved without adding capabilities.

Why then should we add capabilities? Why should we add complexity
when a simpler approach, which extends what we currently do, solves
the problem?



>=20
>> I'm not convinced that adding it as a specific solution in this =
context is
>> a sufficient scoping of all of the issues we would encounter.
>=20
> I'm not trying to convince _you_.  On Thursday we'll see if I can
> convince the participants I'm aiming to convince.  If not, well, that
> will mean less volunteer work for me to do.
>=20
>>> The key trade-off to make regarding
>>> non-capability-based approaches is a {latency and/or complexity of
>>> MDS<->DS comms} versus {crypto complexity and MDS<->DS comms to =
handle
>>> keying}.  Given how much of MDS<->DS communications is left to
>>> implementors, I think NFSv4.2 ought to give implementors the option =
of
>>> using capabilities.
>>=20
>> Nothing prevents an implementation from using capabilities in =
MDS<->DS
>> communication.
>=20
> How many times must I explain why there is something missing from the
> protocol regarding capabilities?  That something missing is: an
> operation to refresh capabilities based on something other than
> rebuilding open file state by path (i.e., something other than
> volatile FHs).

You have misunderstood my proposal here, which has nothing to do with
the NFSv4.x protocol and everything to do with the Control Protocol. And
that is totally undefined by the WG.

What I did present here was an approach by which the MDS and DS could
share capabilities without any modifications to the protocol.

Let me ask the question again, if the MDS knows the capabilities for=20
a client to access an open file, why does the MDS have to communicate =
that
back to the client such that the client can then communicate those
capabilities to the DS?

Cannot the MDS and DS cut out the middle man?

If the capabilities are cryptographically secured, how is the client =
anything
but a middle man in this scenario?


>=20
>> Nothing prevents an implementation from embedding capabilities into
>> a volatile FH (in full acknowledgement that this different from what =
you
>> propose) and using that framework to handle revoking a client access.
>=20
> VFH is a disaster that exists only to cope with filesystems that don't
> index filesystem objects by anything other than name (i.e.,
> filesystems that lack anything remotely like an inode number).  No
> server implementor should be happy to use VFHs to approximate
> capabilities.  You know this, and IIRC you've said as much at some
> point in one of these threads (no, I won't go find a quote because
> there's too much chaff to wade through just to find it and life is
> just too short).


With the current definitions of persistent versus volatile FH, the =
approach
of embedding capabilities falls under the definition of a volatile FH =
(see
section 4.2.2 and 4.2.3 of RFC 5661).

We would have to add a new enumerated value, probably =
FH4_VOL_MAC_CHANGE.


From Tom.Haynes@netapp.com  Mon Apr 25 17:11:39 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DC41AE06A4 for <nfsv4@ietfa.amsl.com>; Mon, 25 Apr 2011 17:11:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.31
X-Spam-Level: 
X-Spam-Status: No, score=-10.31 tagged_above=-999 required=5 tests=[AWL=0.289,  BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jG325WYjbioL for <nfsv4@ietfa.amsl.com>; Mon, 25 Apr 2011 17:11:39 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfa.amsl.com (Postfix) with ESMTP id 69F18E0696 for <nfsv4@ietf.org>; Mon, 25 Apr 2011 17:11:39 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,267,1301900400"; d="scan'208";a="543659339"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 25 Apr 2011 17:11:12 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3Q0BCPW027616 for <nfsv4@ietf.org>; Mon, 25 Apr 2011 17:11:12 -0700 (PDT)
Received: from rtprsexc2-prd.hq.netapp.com ([10.100.161.115]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 25 Apr 2011 17:11:12 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 25 Apr 2011 20:11:10 -0400
Received: from t01-vt-70319lg.hq.netapp.com ([10.58.56.226]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 25 Apr 2011 20:11:10 -0400
From: Thomas Haynes <thomas@netapp.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Date: Mon, 25 Apr 2011 19:11:09 -0500
Message-Id: <EB017A89-2685-4327-B6E1-14F17A88538C@netapp.com>
To: nfsv4@ietf.org
Mime-Version: 1.0 (Apple Message framework v1084)
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 26 Apr 2011 00:11:10.0693 (UTC) FILETIME=[7279A150:01CC03A6]
Subject: [nfsv4] [LNFS] Need to reschedule Thursday meeting
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Apr 2011 00:11:40 -0000

I have a family obligation all day Thursday.

But I still want to have a LNFS meeting this week and I want to participate.

I can host the meeting either Wednesday or Friday at the same time.

Please respond directly to me if you have a preference or if you cannot
meet other than at the scheduled time.

From nico@cryptonector.com  Mon Apr 25 17:52:12 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 24BDCE0663 for <nfsv4@ietfa.amsl.com>; Mon, 25 Apr 2011 17:52:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.477
X-Spam-Level: 
X-Spam-Status: No, score=-1.477 tagged_above=-999 required=5 tests=[AWL=-0.500, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, J_BACKHAIR_32=1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oLV0cbb7KKR0 for <nfsv4@ietfa.amsl.com>; Mon, 25 Apr 2011 17:52:11 -0700 (PDT)
Received: from homiemail-a66.g.dreamhost.com (caiajhbdccac.dreamhost.com [208.97.132.202]) by ietfa.amsl.com (Postfix) with ESMTP id 6C86BE062A for <nfsv4@ietf.org>; Mon, 25 Apr 2011 17:52:11 -0700 (PDT)
Received: from homiemail-a66.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a66.g.dreamhost.com (Postfix) with ESMTP id 2E8EF350072 for <nfsv4@ietf.org>; Mon, 25 Apr 2011 17:52:11 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=Q+rtEw3aWe0pRC1uBXDVa RgCPYe8PCS9u1nCVZreZoNxeqsJWJ0vwk35godKKSRXKs+abEmMZzYfYP7VR/bRV csHXzO4YNi6gEILXPDmyJGkD8C24zFVD746Lfgv2i+lRXBzzlLURrxH3udrL7qsn xuMuKAbYpkCgu257vdtKcU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=MKnlVFzHGIT2Ou3kZ8gx PQPpNZ8=; b=QUH6RBJ7dhJdm1+yA408Hr4IfuQU5BXiFE4Encsw9x9x3EF6zM7r urMhvlAPMHgh71Em12sKaQWZKgidu3BfgnS0aWUMdQqiGGb3oica0dzOflLI4WUG zeXriclAD87F3+3IvxIZKs1Ms5u0kjngjQqYTXx8JRprFTKFPJUC7oA=
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a66.g.dreamhost.com (Postfix) with ESMTPSA id F0A9F350063 for <nfsv4@ietf.org>; Mon, 25 Apr 2011 17:52:10 -0700 (PDT)
Received: by vws12 with SMTP id 12so123587vws.31 for <nfsv4@ietf.org>; Mon, 25 Apr 2011 17:52:10 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.186.104 with SMTP id fj8mr171753vdc.209.1303779130343; Mon, 25 Apr 2011 17:52:10 -0700 (PDT)
Received: by 10.52.163.71 with HTTP; Mon, 25 Apr 2011 17:52:10 -0700 (PDT)
In-Reply-To: <F6923169-2D10-487E-B38C-7853F1553323@netapp.com>
References: <A01DB044-4130-490D-A2CC-B4CB16757894@netapp.com> <BANLkTimbC0ZqPkpz2Kq9bcdYdhdC9Wt74Q@mail.gmail.com> <30F15750-1949-4044-86C3-A796E0AF3391@netapp.com> <BANLkTinZYPqKXQm9QyXOqd_uSxLaSUm3aA@mail.gmail.com> <AB0F4347-1A92-4F61-8381-D67B104DA4DF@netapp.com> <BANLkTi=ZNwf3azZSUtvCqCTAdQGZ3j_tVw@mail.gmail.com> <F6923169-2D10-487E-B38C-7853F1553323@netapp.com>
Date: Mon, 25 Apr 2011 19:52:10 -0500
Message-ID: <BANLkTin14ZXDa-z2ckFFE0POKn5KJq-SZg@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Thomas Haynes <thomas@netapp.com>
Content-Type: text/plain; charset=UTF-8
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [LNFS] Discussion items for the next meeting
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Apr 2011 00:52:12 -0000

On Mon, Apr 25, 2011 at 6:38 PM, Thomas Haynes <thomas@netapp.com> wrote:
> You've pulled out part of what I replied and left off the key point.
>
> While the NFSv4.x specification does not cap the length of a file
> handle, some server implementations might do so. What I pointed
> out was the requirements to add an unbounded (in so far as I
> have seen no proposal to limit the size) capability to the FH
> might cause it to become too large.

You continue to make misrepresentations.  Rather than take the time to
understand, you jump to conclusions.  How do you reach the conclusion
that capabilities are unbounded in size?  If they necessarily had to
so be then they'd have failed as an idea in Computer Science not long
after being first conceived of.  This subject goes back to the 70s.
Cryptographic capabilities go back at least to the late 80s.

Nor ahouls anything I wrote here have led you to think that
capabilities must be unbounded in size.

As I've explained more than once by now, nothing that I've proposed
implies or forces any particular FH or capability
format/layout/contents.  Nothing.  You don't show how anything I wrote
might so imply; you simply assert that what I've written so implies.
I do not appreciate argument by assertion.

And because pNFS leaves MDS<->DS protocols unspecified, it would be
inappropriate for me to try to specify what the format of an FH or
capability ought to be.  I can only discuss possible implementation
choices so as to demonstrate that the protocol changes are workable.
Indeed, I had an example, and nothing in that example should have led
you to conclude that capabilities are of unbounded size.

Let's make a few things super-clear.  First, capabilities would be
optional.  Second, capabilities need not add that much to the length
of an FH: a key version number and a MAC, if using group key sharing,
or a key version number and a small-ish elliptic curve crypto
signature; the key version number could be a single bytes, and the MAC
could be truncated to 64- or 96-bits -- hardly Earth shaking stuff
here.  An implementor might want to add more information.  And we
might need a way to allow implementors to be able to issue
per-{client, user} capabilities as well (to prevent sharing without
having the MDS make access control decisions), in which case
capabilities would _sign_, and _possibly_ bear the names of the client
and user, but this is most certainly bounded if just signed, and
hardly unbounded if carried, not just signed in the capability.
Third, there are a lot of _implementation_ choices here, most, if not
all reasonable such choices resulting in BOUNDED additions to the
length of the FH (or external capability).

Nico
--

From sfaibish@emc.com  Tue Apr 26 06:31:05 2011
Return-Path: <sfaibish@emc.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5C01BE0799 for <nfsv4@ietfa.amsl.com>; Tue, 26 Apr 2011 06:31:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hSP6cnH6vWX4 for <nfsv4@ietfa.amsl.com>; Tue, 26 Apr 2011 06:31:04 -0700 (PDT)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by ietfa.amsl.com (Postfix) with ESMTP id 7CB74E0795 for <nfsv4@ietf.org>; Tue, 26 Apr 2011 06:31:04 -0700 (PDT)
Received: from hop04-l1d11-si04.isus.emc.com (HOP04-L1D11-SI04.isus.emc.com [10.254.111.24]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3QDV2nW007925 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 26 Apr 2011 09:31:02 -0400
Received: from mailhub.lss.emc.com (mailhub.lss.emc.com [10.254.221.145]) by hop04-l1d11-si04.isus.emc.com (RSA Interceptor); Tue, 26 Apr 2011 09:30:50 -0400
Received: from usensfaibisl2e.eng.emc.com (USENSFAIBISL2E.eng.emc.com [10.238.112.121]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3QDUNLP001652; Tue, 26 Apr 2011 09:30:23 -0400
To: "Thomas Haynes" <thomas@netapp.com>, nfsv4@ietf.org
From: sfaibish <sfaibish@emc.com>
Organization: EMC
Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15
MIME-Version: 1.0
References: <EB017A89-2685-4327-B6E1-14F17A88538C@netapp.com>
Content-Transfer-Encoding: 8bit
Date: Tue, 26 Apr 2011 09:30:23 -0400
Message-ID: <op.vujrsxa7unckof@usensfaibisl2e.eng.emc.com>
In-Reply-To: <EB017A89-2685-4327-B6E1-14F17A88538C@netapp.com>
User-Agent: Opera Mail/9.10 (Win32)
X-EMM-MHVC: 1
Subject: Re: [nfsv4] [LNFS] Need to reschedule Thursday meeting
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Apr 2011 13:31:05 -0000

How about Wednesday 04/27 4-5PM EST? This was the spot for the LNFS
meetings before.

/Sorin

On Mon, 25 Apr 2011 20:11:09 -0400, Thomas Haynes <thomas@netapp.com>  
wrote:

> I have a family obligation all day Thursday.
>
> But I still want to have a LNFS meeting this week and I want to  
> participate.
>
> I can host the meeting either Wednesday or Friday at the same time.
>
> Please respond directly to me if you have a preference or if you cannot
> meet other than at the scheduled time.
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>



-- 
Best Regards

Sorin Faibish
Corporate Distinguished Engineer
Unified Storage Division
         EMC²
where information lives

Phone: 508-249-5745
Cellphone: 617-510-0422
Email : sfaibish@emc.com

From david.black@emc.com  Tue Apr 26 12:08:37 2011
Return-Path: <david.black@emc.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3CA09E064A for <nfsv4@ietfa.amsl.com>; Tue, 26 Apr 2011 12:08:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.024
X-Spam-Level: 
X-Spam-Status: No, score=-106.024 tagged_above=-999 required=5 tests=[AWL=0.575, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8BrGdbdQxEnf for <nfsv4@ietfa.amsl.com>; Tue, 26 Apr 2011 12:08:36 -0700 (PDT)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by ietfa.amsl.com (Postfix) with ESMTP id 93233E062B for <nfsv4@ietf.org>; Tue, 26 Apr 2011 12:08:36 -0700 (PDT)
Received: from hop04-l1d11-si01.isus.emc.com (HOP04-L1D11-SI01.isus.emc.com [10.254.111.54]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3QJ8Y6D025907 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 26 Apr 2011 15:08:34 -0400
Received: from mailhub.lss.emc.com (mailhub.lss.emc.com [10.254.221.253]) by hop04-l1d11-si01.isus.emc.com (RSA Interceptor); Tue, 26 Apr 2011 15:08:22 -0400
Received: from mxhub10.corp.emc.com (mxhub10.corp.emc.com [10.254.92.105]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3QJ7rFZ019544; Tue, 26 Apr 2011 15:07:53 -0400
Received: from mx14a.corp.emc.com ([169.254.1.209]) by mxhub10.corp.emc.com ([10.254.92.105]) with mapi; Tue, 26 Apr 2011 15:07:53 -0400
From: <david.black@emc.com>
To: <thomas@netapp.com>, <nfsv4@ietf.org>
Date: Tue, 26 Apr 2011 15:07:51 -0400
Thread-Topic: [nfsv4] [LNFS] Need to reschedule Thursday meeting
Thread-Index: AcwDpsRHOS7D8hiiTK+qSbUtNptHkQAnleiQ
Message-ID: <7C4DFCE962635144B8FAE8CA11D0BF1E0417417233@MX14A.corp.emc.com>
References: <EB017A89-2685-4327-B6E1-14F17A88538C@netapp.com>
In-Reply-To: <EB017A89-2685-4327-B6E1-14F17A88538C@netapp.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-EMM-MHVC: 1
Subject: Re: [nfsv4] [LNFS] Need to reschedule Thursday meeting
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Apr 2011 19:08:37 -0000

Same time (1:30p) is a problem both days, but half an hour later (2p-3p) to=
morrow (Wed) will work for me.

Thanks,
--David


> -----Original Message-----
> From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On Behalf Of=
 Thomas Haynes
> Sent: Monday, April 25, 2011 8:11 PM
> To: nfsv4@ietf.org
> Subject: [nfsv4] [LNFS] Need to reschedule Thursday meeting
>=20
> I have a family obligation all day Thursday.
>=20
> But I still want to have a LNFS meeting this week and I want to participa=
te.
>=20
> I can host the meeting either Wednesday or Friday at the same time.
>=20
> Please respond directly to me if you have a preference or if you cannot
> meet other than at the scheduled time.
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4


From Tom.Haynes@netapp.com  Tue Apr 26 12:24:04 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A4E59E064A for <nfsv4@ietfa.amsl.com>; Tue, 26 Apr 2011 12:24:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.358
X-Spam-Level: 
X-Spam-Status: No, score=-10.358 tagged_above=-999 required=5 tests=[AWL=0.241, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id i8b34V4TtS2z for <nfsv4@ietfa.amsl.com>; Tue, 26 Apr 2011 12:24:04 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfa.amsl.com (Postfix) with ESMTP id 2EDA3E07BB for <nfsv4@ietf.org>; Tue, 26 Apr 2011 12:24:03 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,270,1301900400"; d="scan'208";a="543857733"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 26 Apr 2011 12:24:03 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3QJO3po021440; Tue, 26 Apr 2011 12:24:03 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 26 Apr 2011 12:24:03 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 26 Apr 2011 15:24:01 -0400
Received: from saucedo02-lxp.hq.netapp.com ([10.58.57.113]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 26 Apr 2011 15:24:01 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <7C4DFCE962635144B8FAE8CA11D0BF1E0417417233@MX14A.corp.emc.com>
Date: Tue, 26 Apr 2011 14:23:59 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <2634ACC1-37B4-47D4-AA65-16F7B157DA03@netapp.com>
References: <EB017A89-2685-4327-B6E1-14F17A88538C@netapp.com> <7C4DFCE962635144B8FAE8CA11D0BF1E0417417233@MX14A.corp.emc.com>
To: "<david.black@emc.com>" <david.black@emc.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 26 Apr 2011 19:24:01.0414 (UTC) FILETIME=[7F700A60:01CC0447]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [LNFS] Need to reschedule Thursday meeting
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Apr 2011 19:24:04 -0000

2-3 PM Eastern time it is then.

I'll send out the agenda later today.

On Apr 26, 2011, at 2:07 PM, <david.black@emc.com> <david.black@emc.com> =
wrote:

> Same time (1:30p) is a problem both days, but half an hour later =
(2p-3p) tomorrow (Wed) will work for me.
>=20
> Thanks,
> --David
>=20
>=20
>> -----Original Message-----
>> From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On =
Behalf Of Thomas Haynes
>> Sent: Monday, April 25, 2011 8:11 PM
>> To: nfsv4@ietf.org
>> Subject: [nfsv4] [LNFS] Need to reschedule Thursday meeting
>>=20
>> I have a family obligation all day Thursday.
>>=20
>> But I still want to have a LNFS meeting this week and I want to =
participate.
>>=20
>> I can host the meeting either Wednesday or Friday at the same time.
>>=20
>> Please respond directly to me if you have a preference or if you =
cannot
>> meet other than at the scheduled time.
>> _______________________________________________
>> nfsv4 mailing list
>> nfsv4@ietf.org
>> https://www.ietf.org/mailman/listinfo/nfsv4
>=20


From Tom.Haynes@netapp.com  Tue Apr 26 16:04:48 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 618AEE06B5 for <nfsv4@ietfa.amsl.com>; Tue, 26 Apr 2011 16:04:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.392
X-Spam-Level: 
X-Spam-Status: No, score=-10.392 tagged_above=-999 required=5 tests=[AWL=0.206, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xu99QHo2XbFL for <nfsv4@ietfa.amsl.com>; Tue, 26 Apr 2011 16:04:47 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfa.amsl.com (Postfix) with ESMTP id 95E39E06AA for <nfsv4@ietf.org>; Tue, 26 Apr 2011 16:04:47 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,271,1301900400";  d="scan'208,217";a="543908983"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 26 Apr 2011 16:04:47 -0700
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3QN4lYs025029 for <nfsv4@ietf.org>; Tue, 26 Apr 2011 16:04:47 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 26 Apr 2011 16:04:47 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 26 Apr 2011 19:04:45 -0400
Received: from milan.hq.netapp.com ([10.58.57.113]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 26 Apr 2011 19:04:45 -0400
From: Thomas Haynes <thomas@netapp.com>
Content-Type: multipart/alternative; boundary=Apple-Mail-61--865630475
Date: Tue, 26 Apr 2011 18:04:43 -0500
Message-Id: <7C6843F5-B83C-4ED9-B03A-696EE662E43C@netapp.com>
To: nfsv4@ietf.org
Mime-Version: 1.0 (Apple Message framework v1084)
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 26 Apr 2011 23:04:45.0655 (UTC) FILETIME=[559ED670:01CC0466]
Subject: [nfsv4] [LNFS] Meeting Agenda 04/2911 - Moved to Friday!
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Apr 2011 23:04:48 -0000

--Apple-Mail-61--865630475
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=us-ascii

Please note the day and time change - this is a one time special event.

Friday's proposed agenda is below. Please let me know if
you would like to add additional topics.

   Time: Friday 1:00-2:00 PM CST/2:00-3:00 PM EST/11:00-12:00 PM PST
Dial-in: 1-888-765-3653 (us)
         303-218-2659 (international)
     Id: 2787108

Proposed Agenda
---------------

+ IETF Note Well Agreement

 This is a reminder that our discussions are governed by the 
 IETF Note Well Agreement. See:

   http://www.ietf.org/NOTEWELL.html

 We will start each week's meeting with this announcement.

+ Use cases

We have these wrapped up.

+ RPCSEC_GSSv3

Nico will provide an update

+ Capabilities

+ Object label changes, server needs to notify client

++ Solved by capabilities
++ Solved by a CB mechanism

+ DS is presented with I/O from a client and wants to verify
the MDS accepts the subject label

++ Solved by capabilities
++ Solved by current mechanism for DS to check validity
of stateid and file handle

+ Recalling a layout when an object label changes

Spencer pointed this one out to me. When the object
label is modified and made more restrictive than what
was used for an open file, the MDS may want to immediately
recall the layout. I.e., the security system on the MDS no
longer wants the client to be aware of where the file
is stored.

+ Delegation support
--Apple-Mail-61--865630475
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><div>Please note the day and time change - this is a one time special =
event.</div><div><br></div><div>Friday's proposed agenda is below. =
Please let me know if</div><div><div>you would like to add additional =
topics.</div><div><br></div><div>&nbsp;&nbsp; Time: Friday 1:00-2:00 PM =
CST/2:00-3:00 PM EST/11:00-12:00 PM PST<br>Dial-in: 1-888-765-3653 =
(us)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;303-218-2659=
 (international)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Id: =
2787108<br><br>Proposed Agenda<br>---------------<br><br>+ IETF Note =
Well Agreement<br><br>&nbsp;This is a reminder that our discussions are =
governed by the&nbsp;<br>&nbsp;IETF Note Well Agreement. =
See:<br><br>&nbsp;&nbsp;&nbsp;<a =
href=3D"http://www.ietf.org/NOTEWELL.html">http://www.ietf.org/NOTEWELL.ht=
ml</a><br><br>&nbsp;We will start each week's meeting with this =
announcement.</div></div><div><br></div><div>+ Use =
cases</div><div><br></div><div>We have these wrapped =
up.</div><div><br></div><div>+ =
RPCSEC_GSSv3</div><div><br></div><div>Nico will provide an =
update</div><div><br></div><div>+ =
Capabilities</div><div><br></div><div>+ Object label changes, server =
needs to notify client</div><div><br></div><div>++ Solved by =
capabilities</div><div>++ Solved by a CB =
mechanism</div><div><br></div><div>+ DS is presented with I/O from a =
client and wants to verify</div><div>the MDS accepts the subject =
label</div><div><br></div><div>++ Solved by capabilities</div><div>++ =
Solved by current mechanism for DS to check validity</div><div>of =
stateid and file handle</div><div><br></div><div>+ Recalling a layout =
when an object label changes</div><div><br></div><div>Spencer pointed =
this one out to me. When the object</div><div>label is modified and made =
more restrictive than what</div><div>was used for an open file, the MDS =
may want to immediately</div><div>recall the layout. I.e., the security =
system on the MDS no</div><div>longer wants the client to be aware of =
where the file</div><div>is stored.</div><div><br></div><div>+ =
Delegation support</div></body></html>=

--Apple-Mail-61--865630475--

From bharrosh@panasas.com  Fri Apr 29 03:15:04 2011
Return-Path: <bharrosh@panasas.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 21748E0686 for <nfsv4@ietfa.amsl.com>; Fri, 29 Apr 2011 03:15:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.269
X-Spam-Level: 
X-Spam-Status: No, score=0.269 tagged_above=-999 required=5 tests=[AWL=0.122,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, J_CHICKENPOX_31=0.6, SARE_SPEC_REPLICA_OBFU=1.812]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q7PkNuFtmvWE for <nfsv4@ietfa.amsl.com>; Fri, 29 Apr 2011 03:14:59 -0700 (PDT)
Received: from daytona.panasas.com (daytona.panasas.com [67.152.220.89]) by ietfa.amsl.com (Postfix) with ESMTP id D014DE067E for <nfsv4@ietf.org>; Fri, 29 Apr 2011 03:14:58 -0700 (PDT)
Received: from fs2.bhalevy.com ([172.17.33.165]) by daytona.panasas.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 29 Apr 2011 06:14:57 -0400
Message-ID: <4DBA8F87.3010101@panasas.com>
Date: Fri, 29 Apr 2011 13:14:31 +0300
From: Boaz Harrosh <bharrosh@panasas.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Fedora/3.0.10-1.fc12 Thunderbird/3.0.10
MIME-Version: 1.0
To: Benny Halevy <bhalevy@panasas.com>, Brent Welch <bwelch@panasas.com>,  open-osd <osd-dev@open-osd.org>, nfsv4 list <nfsv4@ietf.org>
References: <4DBA8ECC.3050002@panasas.com>
In-Reply-To: <4DBA8ECC.3050002@panasas.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 29 Apr 2011 10:14:57.0267 (UTC) FILETIME=[4A6F6430:01CC0656]
Cc: Rich Andros <randros@panasas.com>
Subject: [nfsv4] [VER 01] draft-ietf-nfsv4-rfc5664bis 00=>01 diff
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Apr 2011 10:15:04 -0000

git diff --stat -p -M master -- draft-ietf-nfsv4-rfc5664bis.txt
 draft-ietf-nfsv4-rfc5664bis.txt |  586 +++++++++++++++++++++++----------------
 1 files changed, 349 insertions(+), 237 deletions(-)

diff --git a/draft-ietf-nfsv4-rfc5664bis.txt b/draft-ietf-nfsv4-rfc5664bis.txt
index 1a8c1f3..658acae 100644
--- a/draft-ietf-nfsv4-rfc5664bis.txt
+++ b/draft-ietf-nfsv4-rfc5664bis.txt
@@ -4,12 +4,12 @@
 NFSv4                                                          B. Halevy
 Internet-Draft                                                B. Harrosh
 Intended status: Standards Track                                B. Welch
-Expires: May 21, 2011                                            Panasas
-                                                       November 17, 2010
+Expires: October 31, 2011                                        Panasas
+                                                          April 29, 2011
 
 
               Object-Based Parallel NFS (pNFS) Operations
-                     draft-ietf-nfsv4-rfc5664bis-00
+                     draft-ietf-nfsv4-rfc5664bis-01
 
 Status of this Memo
 
@@ -32,11 +32,11 @@ Status of this Memo
    The list of Internet-Draft Shadow Directories can be accessed at
    http://www.ietf.org/shadow.html.
 
-   This Internet-Draft will expire on May 21, 2011.
+   This Internet-Draft will expire on October 31, 2011.
 
 Copyright Notice
 
-   Copyright (c) 2010 IETF Trust and the persons identified as the
+   Copyright (c) 2011 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
@@ -52,9 +52,9 @@ Abstract
 
 
 
-Halevy, et al.            Expires May 21, 2011                  [Page 1]
+Halevy, et al.          Expires October 31, 2011                [Page 1]
 
-Internet-Draft                pnfs objects                 November 2010
+Internet-Draft                pnfs objects                    April 2011
 
 
    allow clients to directly access file data on the storage used by the
@@ -92,48 +92,48 @@ Table of Contents
      5.3.  Data Mapping Schemes . . . . . . . . . . . . . . . . . . . 15
        5.3.1.  Simple Striping  . . . . . . . . . . . . . . . . . . . 15
        5.3.2.  Nested Striping  . . . . . . . . . . . . . . . . . . . 16
-       5.3.3.  Mirroring  . . . . . . . . . . . . . . . . . . . . . . 17
-     5.4.  RAID Algorithms  . . . . . . . . . . . . . . . . . . . . . 18
-       5.4.1.  PNFS_OSD_RAID_0  . . . . . . . . . . . . . . . . . . . 18
-       5.4.2.  PNFS_OSD_RAID_4  . . . . . . . . . . . . . . . . . . . 18
-       5.4.3.  PNFS_OSD_RAID_5  . . . . . . . . . . . . . . . . . . . 19
-       5.4.4.  PNFS_OSD_RAID_PQ . . . . . . . . . . . . . . . . . . . 19
-       5.4.5.  RAID Usage and Implementation Notes  . . . . . . . . . 20
-   6.  Object-Based Layout Update . . . . . . . . . . . . . . . . . . 20
-     6.1.  pnfs_osd_deltaspaceused4 . . . . . . . . . . . . . . . . . 21
-     6.2.  pnfs_osd_layoutupdate4 . . . . . . . . . . . . . . . . . . 21
-   7.  Recovering from Client I/O Errors  . . . . . . . . . . . . . . 22
-   8.  Object-Based Layout Return . . . . . . . . . . . . . . . . . . 22
-     8.1.  pnfs_osd_errno4  . . . . . . . . . . . . . . . . . . . . . 23
-
-
-
-Halevy, et al.            Expires May 21, 2011                  [Page 2]
+       5.3.3.  Mirroring  . . . . . . . . . . . . . . . . . . . . . . 18
+     5.4.  RAID Algorithms  . . . . . . . . . . . . . . . . . . . . . 19
+       5.4.1.  PNFS_OSD_RAID_0  . . . . . . . . . . . . . . . . . . . 19
+       5.4.2.  PNFS_OSD_RAID_4  . . . . . . . . . . . . . . . . . . . 19
+       5.4.3.  PNFS_OSD_RAID_5  . . . . . . . . . . . . . . . . . . . 20
+       5.4.4.  PNFS_OSD_RAID_PQ . . . . . . . . . . . . . . . . . . . 21
+       5.4.5.  RAID Usage and Implementation Notes  . . . . . . . . . 22
+   6.  Object-Based Layout Update . . . . . . . . . . . . . . . . . . 22
+     6.1.  pnfs_osd_deltaspaceused4 . . . . . . . . . . . . . . . . . 23
+     6.2.  pnfs_osd_layoutupdate4 . . . . . . . . . . . . . . . . . . 23
+   7.  Recovering from Client I/O Errors  . . . . . . . . . . . . . . 24
+   8.  Object-Based Layout Return . . . . . . . . . . . . . . . . . . 24
+     8.1.  pnfs_osd_errno4  . . . . . . . . . . . . . . . . . . . . . 25
+
+
+
+Halevy, et al.          Expires October 31, 2011                [Page 2]
 
-Internet-Draft                pnfs objects                 November 2010
+Internet-Draft                pnfs objects                    April 2011
 
 
-     8.2.  pnfs_osd_ioerr4  . . . . . . . . . . . . . . . . . . . . . 24
-     8.3.  pnfs_osd_layoutreturn4 . . . . . . . . . . . . . . . . . . 25
-   9.  Object-Based Creation Layout Hint  . . . . . . . . . . . . . . 25
-     9.1.  pnfs_osd_layouthint4 . . . . . . . . . . . . . . . . . . . 25
-   10. Layout Segments  . . . . . . . . . . . . . . . . . . . . . . . 27
-     10.1. CB_LAYOUTRECALL and LAYOUTRETURN . . . . . . . . . . . . . 27
-     10.2. LAYOUTCOMMIT . . . . . . . . . . . . . . . . . . . . . . . 28
-   11. Recalling Layouts  . . . . . . . . . . . . . . . . . . . . . . 28
-     11.1. CB_RECALL_ANY  . . . . . . . . . . . . . . . . . . . . . . 28
-   12. Client Fencing . . . . . . . . . . . . . . . . . . . . . . . . 29
-   13. Security Considerations  . . . . . . . . . . . . . . . . . . . 29
-     13.1. OSD Security Data Types  . . . . . . . . . . . . . . . . . 30
-     13.2. The OSD Security Protocol  . . . . . . . . . . . . . . . . 31
-     13.3. Protocol Privacy Requirements  . . . . . . . . . . . . . . 32
-     13.4. Revoking Capabilities  . . . . . . . . . . . . . . . . . . 32
-   14. IANA Considerations  . . . . . . . . . . . . . . . . . . . . . 33
-   15. References . . . . . . . . . . . . . . . . . . . . . . . . . . 33
-     15.1. Normative References . . . . . . . . . . . . . . . . . . . 33
-     15.2. Informative References . . . . . . . . . . . . . . . . . . 34
-   Appendix A.  Acknowledgments . . . . . . . . . . . . . . . . . . . 35
-   Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 35
+     8.2.  pnfs_osd_ioerr4  . . . . . . . . . . . . . . . . . . . . . 26
+     8.3.  pnfs_osd_layoutreturn4 . . . . . . . . . . . . . . . . . . 27
+   9.  Object-Based Creation Layout Hint  . . . . . . . . . . . . . . 27
+     9.1.  pnfs_osd_layouthint4 . . . . . . . . . . . . . . . . . . . 27
+   10. Layout Segments  . . . . . . . . . . . . . . . . . . . . . . . 29
+     10.1. CB_LAYOUTRECALL and LAYOUTRETURN . . . . . . . . . . . . . 29
+     10.2. LAYOUTCOMMIT . . . . . . . . . . . . . . . . . . . . . . . 30
+   11. Recalling Layouts  . . . . . . . . . . . . . . . . . . . . . . 30
+     11.1. CB_RECALL_ANY  . . . . . . . . . . . . . . . . . . . . . . 30
+   12. Client Fencing . . . . . . . . . . . . . . . . . . . . . . . . 31
+   13. Security Considerations  . . . . . . . . . . . . . . . . . . . 31
+     13.1. OSD Security Data Types  . . . . . . . . . . . . . . . . . 32
+     13.2. The OSD Security Protocol  . . . . . . . . . . . . . . . . 33
+     13.3. Protocol Privacy Requirements  . . . . . . . . . . . . . . 34
+     13.4. Revoking Capabilities  . . . . . . . . . . . . . . . . . . 34
+   14. IANA Considerations  . . . . . . . . . . . . . . . . . . . . . 35
+   15. References . . . . . . . . . . . . . . . . . . . . . . . . . . 35
+     15.1. Normative References . . . . . . . . . . . . . . . . . . . 35
+     15.2. Informative References . . . . . . . . . . . . . . . . . . 36
+   Appendix A.  Acknowledgments . . . . . . . . . . . . . . . . . . . 37
+   Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 37
 
 
 
@@ -164,9 +164,9 @@ Internet-Draft                pnfs objects                 November 2010
 
 
 
-Halevy, et al.            Expires May 21, 2011                  [Page 3]
+Halevy, et al.          Expires October 31, 2011                [Page 3]
 
-Internet-Draft                pnfs objects                 November 2010
+Internet-Draft                pnfs objects                    April 2011
 
 
 1.  Introduction
@@ -220,9 +220,9 @@ Internet-Draft                pnfs objects                 November 2010
 
 
 
-Halevy, et al.            Expires May 21, 2011                  [Page 4]
+Halevy, et al.          Expires October 31, 2011                [Page 4]
 
-Internet-Draft                pnfs objects                 November 2010
+Internet-Draft                pnfs objects                    April 2011
 
 
    sh extract.sh < spec.txt > pnfs_osd_prot.x
@@ -276,9 +276,9 @@ Internet-Draft                pnfs objects                 November 2010
 
 
 
-Halevy, et al.            Expires May 21, 2011                  [Page 5]
+Halevy, et al.          Expires October 31, 2011                [Page 5]
 
-Internet-Draft                pnfs objects                 November 2010
+Internet-Draft                pnfs objects                    April 2011
 
 
    ///  *   FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
@@ -293,7 +293,7 @@ Internet-Draft                pnfs objects                 November 2010
    ///  *   IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
    ///  *   ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    ///  *
-   ///  * This code was derived from draft-ietf-nfsv4-rfc5664bis-00.
+   ///  * This code was derived from draft-ietf-nfsv4-rfc5664bis-01.
    [[RFC Editor: please insert RFC number if needed]]
    ///  * Please reproduce this note if possible.
    ///  */
@@ -332,9 +332,9 @@ Internet-Draft                pnfs objects                 November 2010
 
 
 
-Halevy, et al.            Expires May 21, 2011                  [Page 6]
+Halevy, et al.          Expires October 31, 2011                [Page 6]
 
-Internet-Draft                pnfs objects                 November 2010
+Internet-Draft                pnfs objects                    April 2011
 
 
    the GETDEVICELIST and GETDEVICEINFO operations.  The deviceid4 data
@@ -388,9 +388,9 @@ Internet-Draft                pnfs objects                 November 2010
 
 
 
-Halevy, et al.            Expires May 21, 2011                  [Page 7]
+Halevy, et al.          Expires October 31, 2011                [Page 7]
 
-Internet-Draft                pnfs objects                 November 2010
+Internet-Draft                pnfs objects                    April 2011
 
 
 3.3.  pnfs_osd_object_cred4
@@ -444,9 +444,9 @@ Internet-Draft                pnfs objects                 November 2010
 
 
 
-Halevy, et al.            Expires May 21, 2011                  [Page 8]
+Halevy, et al.          Expires October 31, 2011                [Page 8]
 
-Internet-Draft                pnfs objects                 November 2010
+Internet-Draft                pnfs objects                    April 2011
 
 
       the input_message to the GSS_unwrap() function.  Note that to
@@ -466,10 +466,10 @@ Internet-Draft                pnfs objects                 November 2010
 3.4.  pnfs_osd_raid_algorithm4
 
    /// enum pnfs_osd_raid_algorithm4 {
-   ///     PNFS_OSD_RAID_0     = 1,
-   ///     PNFS_OSD_RAID_4     = 2,
-   ///     PNFS_OSD_RAID_5     = 3,
-   ///     PNFS_OSD_RAID_PQ    = 4     /* Reed-Solomon P+Q */
+   ///     PNFS_OSD_RAID_0  = 1,
+   ///     PNFS_OSD_RAID_4  = 2,
+   ///     PNFS_OSD_RAID_5  = 3,
+   ///     PNFS_OSD_RAID_PQ = 4     /* Reed-Solomon P+Q */
    /// };
    ///
 
@@ -500,9 +500,9 @@ Internet-Draft                pnfs objects                 November 2010
 
 
 
-Halevy, et al.            Expires May 21, 2011                  [Page 9]
+Halevy, et al.          Expires October 31, 2011                [Page 9]
 
-Internet-Draft                pnfs objects                 November 2010
+Internet-Draft                pnfs objects                    April 2011
 
 
    In some situations, SCSI target discovery may need to be driven based
@@ -556,9 +556,9 @@ Internet-Draft                pnfs objects                 November 2010
 
 
 
-Halevy, et al.            Expires May 21, 2011                 [Page 10]
+Halevy, et al.          Expires October 31, 2011               [Page 10]
 
-Internet-Draft                pnfs objects                 November 2010
+Internet-Draft                pnfs objects                    April 2011
 
 
 4.2.  pnfs_osd_deviceaddr4
@@ -612,9 +612,9 @@ Internet-Draft                pnfs objects                 November 2010
 
 
 
-Halevy, et al.            Expires May 21, 2011                 [Page 11]
+Halevy, et al.          Expires October 31, 2011               [Page 11]
 
-Internet-Draft                pnfs objects                 November 2010
+Internet-Draft                pnfs objects                    April 2011
 
 
    Fibre Channel Framing and Signaling (FC-FS) [17].  These are
@@ -668,9 +668,9 @@ Internet-Draft                pnfs objects                 November 2010
 
 
 
-Halevy, et al.            Expires May 21, 2011                 [Page 12]
+Halevy, et al.          Expires October 31, 2011               [Page 12]
 
-Internet-Draft                pnfs objects                 November 2010
+Internet-Draft                pnfs objects                    April 2011
 
 
    enum layouttype4 {
@@ -724,9 +724,9 @@ Internet-Draft                pnfs objects                 November 2010
 
 
 
-Halevy, et al.            Expires May 21, 2011                 [Page 13]
+Halevy, et al.          Expires October 31, 2011               [Page 13]
 
-Internet-Draft                pnfs objects                 November 2010
+Internet-Draft                pnfs objects                    April 2011
 
 
    reached its final stripe width.  The file length in this case MUST be
@@ -780,9 +780,9 @@ Internet-Draft                pnfs objects                 November 2010
 
 
 
-Halevy, et al.            Expires May 21, 2011                 [Page 14]
+Halevy, et al.          Expires October 31, 2011               [Page 14]
 
-Internet-Draft                pnfs objects                 November 2010
+Internet-Draft                pnfs objects                    April 2011
 
 
    array within the full array of components that comprise the file.
@@ -811,54 +811,58 @@ Internet-Draft                pnfs objects                 November 2010
    component object C and object-specific offset O is defined by the
    following equations:
 
-   L = logical offset into the file
-   W = total number of components
-   S = W * stripe_unit
-   N = L / S
-   C = (L-(N*S)) / stripe_unit
-   O = (N*stripe_unit)+(L%stripe_unit)
+   L: logical offset into the file
 
-   In these equations, S is the number of bytes in a full stripe, and N
-   is the stripe number.  C is an index into the array of components, so
-   it selects a particular object storage device.  Both N and C count
-   from zero.  O is the offset within the object that corresponds to the
-   file offset.  Note that this computation does not accommodate the
-   same object appearing in the olo_components array multiple times.
-
-   For example, consider an object striped over four devices, <D0 D1 D2
-   D3>.  The stripe_unit is 4096 bytes.  The stripe width S is thus 4 *
-   4096 = 16384.
+   W: stripe width
+       W = size of olo_components array
 
+   S: number of bytes in a stripe
+       S = W * stripe_unit
 
+   N: stripe number
+       N = L / S
 
+   C: component index corresponding to L
+      C = (L % S) / stripe_unit
 
+   O: The component offset corresponding to L
+      O = (N * stripe_unit) + (L % stripe_unit)
 
+   Note that this computation does not accommodate the same object
+   appearing in the olo_components array multiple times.  Therefore the
+   server may not return layouts with the same object appearing multiple
+   times.  If needed the server can return multiple layout segments each
+   covering a single instance of the object.
 
 
 
-Halevy, et al.            Expires May 21, 2011                 [Page 15]
+Halevy, et al.          Expires October 31, 2011               [Page 15]
 
-Internet-Draft                pnfs objects                 November 2010
+Internet-Draft                pnfs objects                    April 2011
 
 
+   For example, consider an object striped over four devices, <D0 D1 D2
+   D3>.  The stripe_unit is 4096 bytes.  The stripe width S is thus 4 *
+   4096 = 16384.
+
    Offset 0:
      N = 0 / 16384 = 0
-     C = 0-0/4096 = 0 (D0)
+     C = (0 % 16384) /4096 = 0 (D0)
      O = 0*4096 + (0%4096) = 0
 
    Offset 4096:
      N = 4096 / 16384 = 0
-     C = (4096-(0*16384)) / 4096 = 1 (D1)
+     C = (4096 % 16384) / 4096 = 1 (D1)
      O = (0*4096)+(4096%4096) = 0
 
    Offset 9000:
      N = 9000 / 16384 = 0
-     C = (9000-(0*16384)) / 4096 = 2 (D2)
+     C = (9000 % 16384) / 4096 = 2 (D2)
      O = (0*4096)+(9000%4096) = 808
 
    Offset 132000:
      N = 132000 / 16384 = 8
-     C = (132000-(8*16384)) / 4096 = 0 (D0)
+     C = (132000 % 16384) / 4096 = 0 (D0)
      O = (8*4096) + (132000%4096) = 33696
 
 5.3.2.  Nested Striping
@@ -872,68 +876,114 @@ Internet-Draft                pnfs objects                 November 2010
    computations map from the logical offset L to the component index C
    and offset relative O within that component object.
 
-   L = logical offset into the file
-   W = total number of components
-   S = stripe_unit * group_depth * W
-   T = stripe_unit * group_depth * group_width
-   U = stripe_unit * group_width
-   M = L / S
-   G = (L - (M * S)) / T
-   H = (L - (M * S)) % T
-   N = H / U
-   C = (H - (N * U)) / stripe_unit + G * group_width
-   O = L % stripe_unit + N * stripe_unit + M * group_depth * stripe_unit
 
-   In these equations, S is the number of bytes striped across all
-   component objects before the pattern repeats.  T is the number of
-   bytes striped within a group of component objects before advancing to
-   the next group.  U is the number of bytes in a stripe within a group.
-   M is the "major" (i.e., across all components) stripe number, and N
 
 
 
-Halevy, et al.            Expires May 21, 2011                 [Page 16]
+
+
+
+
+
+
+
+
+
+
+
+
+Halevy, et al.          Expires October 31, 2011               [Page 16]
 
-Internet-Draft                pnfs objects                 November 2010
+Internet-Draft                pnfs objects                    April 2011
+
+
+   L: logical offset into the file
+
+   FW: total number of components
+       FW = size of olo_components array
+
+   W: stripe width
+      W = group_width, if not zero, else FW
+
+   group_count: number of groups
+      group_count = FW / group_width, if group_width is not zero, else 1
+
+   D: number of data devices in a stripe
+      D = W
+
+   U: number of data bytes in a stripe within a group
+      U =  D * stripe_unit
+
+   T: number of bytes striped within a group of component objects
+      (before advancing to the next group)
+      T = U * group_depth
+
+   S: number of bytes striped across all component objects
+      (before the pattern repeats)
+      S = T * group_count
+
+   M: The "major" (i.e., across all components) cycle number
+      M = L / S
+
+   G: group number from the beginning of the major cycle
+      G = (L % S) / T
 
+   H: byte offset within the last group
+      H = (L % S) % T
 
-   is the "minor" (i.e., across the group) stripe number.  G counts the
-   groups from the beginning of the major stripe, and H is the byte
-   offset within the group.
+   N: The "minor" (i.e., across the group) stripe number
+      N = H / U
+
+   C: component index corresponding to L
+      C = (G * D) + ((H % U) / stripe_unit)
+
+   O: The component offset corresponding to L
+      O = (M * group_depth * stripe_unit) + (N * stripe_unit) +
+          (L % stripe_unit)
 
    For example, consider an object striped over 100 devices with a
    group_width of 10, a group_depth of 50, and a stripe_unit of 1 MB.
    In this scheme, 500 MB are written to the first 10 components, and
    5000 MB are written before the pattern wraps back around to the first
+
+
+
+Halevy, et al.          Expires October 31, 2011               [Page 17]
+
+Internet-Draft                pnfs objects                    April 2011
+
+
    component in the array.
 
    Offset 0:
      W = 100
-     S = 1 MB * 50 * 100 = 5000 MB
-     T = 1 MB * 50 * 10 = 500 MB
+     group_count = 100 / 10 = 10
+     D = 10
      U = 1 MB * 10 = 10 MB
+     T = 10 MB * 50 = 500 MB
+     S = 500 MB * 10 = 5000 MB
      M = 0 / 5000 MB = 0
-     G = (0 - (0 * 5000 MB)) / 500 MB = 0
-     H = (0 - (0 * 5000 MB)) % 500 MB = 0
+     G = (0 % 5000 MB) / 500 MB = 0
+     H = (0 % 5000 MB) % 500 MB = 0
      N = 0 / 10 MB = 0
-     C = (0 - (0 * 10 MB)) / 1 MB + 0 * 10 = 0
-     O = 0 % 1 MB + 0 * 1 MB + 0 * 50 * 1 MB = 0
+     C = (0 * 10) + ((0 % 10 MB) / 1 MB) = 0
+     O = (0 * 50 * 1 MB) + (0 * 1 MB) + (0 % 1 MB) = 0
 
    Offset 27 MB:
      M = 27 MB / 5000 MB = 0
-     G = (27 MB - (0 * 5000 MB)) / 500 MB = 0
-     H = (27 MB - (0 * 5000 MB)) % 500 MB = 27 MB
+     G = (27 MB % 5000 MB) / 500 MB = 0
+     H = (27 MB % 5000 MB) % 500 MB = 27 MB
      N = 27 MB / 10 MB = 2
-     C = (27 MB - (2 * 10 MB)) / 1 MB + 0 * 10 = 7
-     O = 27 MB % 1 MB + 2 * 1 MB + 0 * 50 * 1 MB = 2 MB
+     C = (0 * 10) + ((27 MB % 10 MB) / 1 MB) = 7
+     O = (0 * 50 * 1 MB) + (2 * 1 MB) + (27 MB % 1 MB) = 2 MB
 
    Offset 7232 MB:
      M = 7232 MB / 5000 MB = 1
-     G = (7232 MB - (1 * 5000 MB)) / 500 MB = 4
-     H = (7232 MB - (1 * 5000 MB)) % 500 MB = 232 MB
+     G = (7232 MB % 5000 MB) / 500 MB = 4
+     H = (7232 MB % 5000 MB) % 500 MB = 232 MB
      N = 232 MB / 10 MB = 23
-     C = (232 MB - (23 * 10 MB)) / 1 MB + 4 * 10 = 42
-     O = 7232 MB % 1 MB + 23 * 1 MB + 1 * 50 * 1 MB = 73 MB
+     C = (4 * 10) + ((232 MB % 10 MB) / 1 MB) = 42
+     O = (1 * 50 * 1 MB) + (23 * 1 MB) + (7232 MB % 1 MB) = 73 MB
 
 5.3.3.  Mirroring
 
@@ -945,21 +995,25 @@ Internet-Draft                pnfs objects                 November 2010
    Note that mirroring can be defined over any RAID algorithm and
    striping pattern (either simple or nested).  If odm_group_width is
    also non-zero, then the size of the olo_components array MUST be a
+   multiple of odm_group_width * (odm_mirror_cnt+1).  Note that
+   odm_group_width does not account for mirrors.  Replicas are adjacent
+   in the olo_components array, and the value C produced by the above
+   equations is not a direct index into the olo_components array.
+   Instead, the following equations determine the replica component
+   index RCi, where i ranges from 0 to odm_mirror_cnt.
 
 
 
-Halevy, et al.            Expires May 21, 2011                 [Page 17]
+Halevy, et al.          Expires October 31, 2011               [Page 18]
 
-Internet-Draft                pnfs objects                 November 2010
+Internet-Draft                pnfs objects                    April 2011
 
 
-   multiple of odm_group_width * (odm_mirror_cnt+1).  Replicas are
-   adjacent in the olo_components array, and the value C produced by the
-   above equations is not a direct index into the olo_components array.
-   Instead, the following equations determine the replica component
-   index RCi, where i ranges from 0 to odm_mirror_cnt.
+   FW = size of olo_components array / (odm_mirror_cnt+1)
 
    C = component index for striping or two-level striping
+       as calculated using above equations
+
    i ranges from 0 to odm_mirror_cnt, inclusive
    RCi = C * (odm_mirror_cnt+1) + i
 
@@ -994,27 +1048,31 @@ Internet-Draft                pnfs objects                 November 2010
    Or the client can replay the READ against the pNFS server that will
    presumably perform the reconstructed read on the client's behalf.
 
-   When parity is present in the file, then there is an additional
-   computation to map from the file offset L to the offset that accounts
-   for embedded parity, L'.  First compute L', and then use L' in the
-   above equations for C and O.
+   When parity is present in the file, then the number of parity devices
+   is taken into account in the above equations when calculating (D),
+   the number of data devices in a stripe, as follows:
+
+
+
 
 
 
 
 
 
-Halevy, et al.            Expires May 21, 2011                 [Page 18]
+Halevy, et al.          Expires October 31, 2011               [Page 19]
 
-Internet-Draft                pnfs objects                 November 2010
+Internet-Draft                pnfs objects                    April 2011
 
 
-   L = file offset, not accounting for parity
-   P = number of parity devices in each stripe
-   W = group_width, if not zero, else size of olo_components array
-   N = L / (W-P * stripe_unit)
-   L' = N * (W * stripe_unit) +
-        (L % (W-P * stripe_unit))
+   P: number of parity devices in each stripe
+      P = 1
+
+   D: number of data devices in a stripe
+      D = W - P
+
+   I: parity device index
+      I = D
 
 5.4.3.  PNFS_OSD_RAID_5
 
@@ -1024,51 +1082,100 @@ Internet-Draft                pnfs objects                 November 2010
    the second stripe, the next-to-last component holds the parity, and
    so on.  In this scheme, all stripe units are rotated so that I/O is
    evenly spread across objects as the file is read sequentially.  The
-   rotated parity layout is illustrated here, with numbers indicating
-   the stripe unit.
+   rotated parity layout is illustrated here, with hexadecimal numbers
+   indicating the stripe unit.
 
    0 1 2 P
    4 5 P 3
    8 P 6 7
    P 9 a b
 
-   To compute the component object C, first compute the offset that
-   accounts for parity L' and use that to compute C. Then rotate C to
-   get C'.  Finally, increase C' by one if the parity information comes
-   at or before C' within that stripe.  The following equations
-   illustrate this by computing I, which is the index of the component
-   that contains parity for a given stripe.
-
-   L = file offset, not accounting for parity
-   W = odm_group_width, if not zero, else size of olo_components array
-   N = L / (W-1 * stripe_unit)
-   (Compute L' as describe above)
-   (Compute C based on L' as described above)
-   C' = (C - (N%W)) % W
-   I = W - (N%W) - 1
-   if (C' <= I) {
-     C'++
-   }
+   Note that RAID_5 is exactly as RAID_4 only that individual stripes
+   get rotated backwards and devices change their position in the
+   stripe.  So proceed exactly as equation above for RAID_4, then
+   compute the rotation as below.  Also note that the raid cycle always
+   start at a group boundary.  So the first stripe in a group has its
+   parity at device D.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Halevy, et al.          Expires October 31, 2011               [Page 20]
+
+Internet-Draft                pnfs objects                    April 2011
+
+
+   P: number of parity device in each stripe
+      P = 1
+
+   PC: Parity Cycle
+       PC = W
+
+   R: The parity rotation index
+      (N is as computed in above equations)
+      R = N % PC
+
+   I: parity device index
+      I = (W + W - (R + 1) * P) % W
+
+   Cr: The rotated device index
+       (C is as computed in the above equations)
+       Cr = (W + C - (R * P)) % W
+
+   Note: W is added above to avoid negative numbers modulo math.
 
 5.4.4.  PNFS_OSD_RAID_PQ
 
    PNFS_OSD_RAID_PQ is a double-parity scheme that uses the Reed-Solomon
    P+Q encoding scheme [19].  In this layout, the last two component
    objects hold the P and Q data, respectively.  P is parity computed
-   with XOR, and Q is a more complex equation that is not described
-   here.  The equations given above for embedded parity can be used to
+   with XOR.  The Q computation is described in detail by Anvin [20].
+   The same polynomial "x^8+x^4+x^3+x^2+1" and Galois field size of 2^8
+   are used here.  Clients may simply choose to read data through the
+   metadata server if two or more components are missing or damaged.
 
+   The equations given above for embedded parity can be used to map a
+   file offset to the correct component object by setting the number of
+   parity components (P) to 2 instead of 1 for RAID5 and computing the
+   Parity Cycle length as the Lowest Common Multiple [21] of
+   odm_group_width and P, devided by P, as described below.  Note: This
+   algorithm can be used also for RAID_5 where P=1.
 
+   P: number of parity devices
+      P = 2
 
-Halevy, et al.            Expires May 21, 2011                 [Page 19]
-
-Internet-Draft                pnfs objects                 November 2010
+   PC: Parity cycle:
+       PC = LCM(W, P) / P
 
+   Q: The device index holding the Q component
+      (I is as computed in the above equations for RAID_5)
+      Qdev = (I + 1) % W
+
+
+
+
+
+
+Halevy, et al.          Expires October 31, 2011               [Page 21]
+
+Internet-Draft                pnfs objects                    April 2011
 
-   map a file offset to the correct component object by setting the
-   number of parity components to 2 instead of 1 for RAID4 or RAID5.
-   Clients may simply choose to read data through the metadata server if
-   two components are missing or damaged.
 
 5.4.5.  RAID Usage and Implementation Notes
 
@@ -1081,6 +1188,15 @@ Internet-Draft                pnfs objects                 November 2010
    requirements such as this.  For example, the metadata server may do
    so by not granting overlapping write layouts within mirrored objects.
 
+   Many alternative encoding schemes exist for P>=2 [22].  These involve
+   P or Q equations different than those used in PNFS_OSD_RAID_PQ.
+   Thus, if one of these schemes is to be used in the future, a distinct
+   value must be added to pnfs_osd_raid_algorithm4 for it.  While Reed-
+   Solomon codes are well understood, recently discovered schemes such
+   as Liberation codes are more computationally efficient for small
+   group_widths, and Cauchy Reed-Solomon codes are more computationally
+   efficient for higher values of P.
+
 
 6.  Object-Based Layout Update
 
@@ -1112,13 +1228,9 @@ Internet-Draft                pnfs objects                 November 2010
 
 
 
-
-
-
-
-Halevy, et al.            Expires May 21, 2011                 [Page 20]
+Halevy, et al.          Expires October 31, 2011               [Page 22]
 
-Internet-Draft                pnfs objects                 November 2010
+Internet-Draft                pnfs objects                    April 2011
 
 
 6.1.  pnfs_osd_deltaspaceused4
@@ -1172,9 +1284,9 @@ Internet-Draft                pnfs objects                 November 2010
 
 
 
-Halevy, et al.            Expires May 21, 2011                 [Page 21]
+Halevy, et al.          Expires October 31, 2011               [Page 23]
 
-Internet-Draft                pnfs objects                 November 2010
+Internet-Draft                pnfs objects                    April 2011
 
 
    COMPOUND RPC.
@@ -1228,9 +1340,9 @@ Internet-Draft                pnfs objects                 November 2010
 
 
 
-Halevy, et al.            Expires May 21, 2011                 [Page 22]
+Halevy, et al.          Expires October 31, 2011               [Page 24]
 
-Internet-Draft                pnfs objects                 November 2010
+Internet-Draft                pnfs objects                    April 2011
 
 
    struct layoutreturn_file4 {
@@ -1284,9 +1396,9 @@ Internet-Draft                pnfs objects                 November 2010
 
 
 
-Halevy, et al.            Expires May 21, 2011                 [Page 23]
+Halevy, et al.          Expires October 31, 2011               [Page 25]
 
-Internet-Draft                pnfs objects                 November 2010
+Internet-Draft                pnfs objects                    April 2011
 
 
    o  PNFS_OSD_ERR_EIO indicates the operation failed because the object
@@ -1340,9 +1452,9 @@ Internet-Draft                pnfs objects                 November 2010
 
 
 
-Halevy, et al.            Expires May 21, 2011                 [Page 24]
+Halevy, et al.          Expires October 31, 2011               [Page 26]
 
-Internet-Draft                pnfs objects                 November 2010
+Internet-Draft                pnfs objects                    April 2011
 
 
    objects that generated errors during data transfers.  These are hints
@@ -1396,9 +1508,9 @@ Internet-Draft                pnfs objects                 November 2010
 
 
 
-Halevy, et al.            Expires May 21, 2011                 [Page 25]
+Halevy, et al.          Expires October 31, 2011               [Page 27]
 
-Internet-Draft                pnfs objects                 November 2010
+Internet-Draft                pnfs objects                    April 2011
 
 
    /// };
@@ -1452,9 +1564,9 @@ Internet-Draft                pnfs objects                 November 2010
 
 
 
-Halevy, et al.            Expires May 21, 2011                 [Page 26]
+Halevy, et al.          Expires October 31, 2011               [Page 28]
 
-Internet-Draft                pnfs objects                 November 2010
+Internet-Draft                pnfs objects                    April 2011
 
 
    optional so the client can give values for only the parameters it
@@ -1508,9 +1620,9 @@ Internet-Draft                pnfs objects                 November 2010
 
 
 
-Halevy, et al.            Expires May 21, 2011                 [Page 27]
+Halevy, et al.          Expires October 31, 2011               [Page 29]
 
-Internet-Draft                pnfs objects                 November 2010
+Internet-Draft                pnfs objects                    April 2011
 
 
 10.2.  LAYOUTCOMMIT
@@ -1564,9 +1676,9 @@ Internet-Draft                pnfs objects                 November 2010
 
 
 
-Halevy, et al.            Expires May 21, 2011                 [Page 28]
+Halevy, et al.          Expires October 31, 2011               [Page 30]
 
-Internet-Draft                pnfs objects                 November 2010
+Internet-Draft                pnfs objects                    April 2011
 
 
    recalled layouts.  In response, the client SHOULD return layouts of
@@ -1620,9 +1732,9 @@ Internet-Draft                pnfs objects                 November 2010
 
 
 
-Halevy, et al.            Expires May 21, 2011                 [Page 29]
+Halevy, et al.          Expires October 31, 2011               [Page 31]
 
-Internet-Draft                pnfs objects                 November 2010
+Internet-Draft                pnfs objects                    April 2011
 
 
    capabilities allowing it I/O access to the specified objects
@@ -1676,9 +1788,9 @@ Internet-Draft                pnfs objects                 November 2010
 
 
 
-Halevy, et al.            Expires May 21, 2011                 [Page 30]
+Halevy, et al.          Expires October 31, 2011               [Page 32]
 
-Internet-Draft                pnfs objects                 November 2010
+Internet-Draft                pnfs objects                    April 2011
 
 
    The security types are opaque to the generic layers of the pNFS
@@ -1732,9 +1844,9 @@ Internet-Draft                pnfs objects                 November 2010
 
 
 
-Halevy, et al.            Expires May 21, 2011                 [Page 31]
+Halevy, et al.          Expires October 31, 2011               [Page 33]
 
-Internet-Draft                pnfs objects                 November 2010
+Internet-Draft                pnfs objects                    April 2011
 
 
    the request to the storage device, and that request is signed with
@@ -1788,9 +1900,9 @@ Internet-Draft                pnfs objects                 November 2010
 
 
 
-Halevy, et al.            Expires May 21, 2011                 [Page 32]
+Halevy, et al.          Expires October 31, 2011               [Page 34]
 
-Internet-Draft                pnfs objects                 November 2010
+Internet-Draft                pnfs objects                    April 2011
 
 
    object at any time, for any reason (with the understanding that there
@@ -1844,9 +1956,9 @@ Internet-Draft                pnfs objects                 November 2010
 
 
 
-Halevy, et al.            Expires May 21, 2011                 [Page 33]
+Halevy, et al.          Expires October 31, 2011               [Page 35]
 
-Internet-Draft                pnfs objects                 November 2010
+Internet-Draft                pnfs objects                    April 2011
 
 
          Representation Standard (XDR) Description", RFC 5662,
@@ -1900,9 +2012,9 @@ Internet-Draft                pnfs objects                 November 2010
 
 
 
-Halevy, et al.            Expires May 21, 2011                 [Page 34]
+Halevy, et al.          Expires October 31, 2011               [Page 36]
 
-Internet-Draft                pnfs objects                 November 2010
+Internet-Draft                pnfs objects                    April 2011
 
 
    [17]  T11 1619-D, "Fibre Channel Framing and Signaling - 2
@@ -1914,6 +2026,18 @@ Internet-Draft                pnfs objects                 November 2010
    [19]  MacWilliams, F. and N. Sloane, "The Theory of Error-Correcting
          Codes, Part I", 1977.
 
+   [20]  Anvin, H., "The Mathematics of RAID-6", May 2009,
+         <http://kernel.org/pub/linux/kernel/people/hpa/raid6.pdf>.
+
+   [21]  The free encyclopedia, Wikipedia., "Least common multiple",
+         April 2011,
+         <http://en.wikipedia.org/wiki/Least_common_multiple>.
+
+   [22]  Plank, James S., and Luo, Jianqiang and Schuman, Catherine D.
+         and Xu, Lihao and Wilcox-O&qtHearn, Zooko, XXX., "A Performance
+         Evaluation and Examination of Open-source Erasure Coding
+         Libraries for Storage", 2007.
+
 
 Appendix A.  Acknowledgments
 
@@ -1936,15 +2060,6 @@ Authors' Addresses
    URI:   http://www.panasas.com/
 
 
-   Boaz Harrosh
-   Panasas, Inc.
-   1501 Reedsdale St. Suite 400
-   Pittsburgh, PA  15233
-   USA
-
-   Phone: +1-412-323-3500
-   Email: bhalevy@panasas.com
-   URI:   http://www.panasas.com/
 
 
 
@@ -1953,12 +2068,20 @@ Authors' Addresses
 
 
 
+Halevy, et al.          Expires October 31, 2011               [Page 37]
+
+Internet-Draft                pnfs objects                    April 2011
 
 
+   Boaz Harrosh
+   Panasas, Inc.
+   1501 Reedsdale St. Suite 400
+   Pittsburgh, PA  15233
+   USA
 
-Halevy, et al.            Expires May 21, 2011                 [Page 35]
-
-Internet-Draft                pnfs objects                 November 2010
+   Phone: +1-412-323-3500
+   Email: bhalevy@panasas.com
+   URI:   http://www.panasas.com/
 
 
    Brent Welch
@@ -2001,16 +2124,5 @@ Internet-Draft                pnfs objects                 November 2010
 
 
 
-
-
-
-
-
-
-
-
-
-
-
-Halevy, et al.            Expires May 21, 2011                 [Page 36]
+Halevy, et al.          Expires October 31, 2011               [Page 38]
 


From bharrosh@panasas.com  Fri Apr 29 03:12:03 2011
Return-Path: <bharrosh@panasas.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 02DC4E0711 for <nfsv4@ietfa.amsl.com>; Fri, 29 Apr 2011 03:12:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.391
X-Spam-Level: 
X-Spam-Status: No, score=0.391 tagged_above=-999 required=5 tests=[AWL=-2.656,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, J_CHICKENPOX_31=0.6, J_CHICKENPOX_34=0.6, MANGLED_MEDS=2.3, SARE_SPEC_REPLICA_OBFU=1.812]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TbIZKoIpZmuz for <nfsv4@ietfa.amsl.com>; Fri, 29 Apr 2011 03:11:57 -0700 (PDT)
Received: from daytona.panasas.com (daytona.panasas.com [67.152.220.89]) by ietfa.amsl.com (Postfix) with ESMTP id EC1FAE06DD for <nfsv4@ietf.org>; Fri, 29 Apr 2011 03:11:56 -0700 (PDT)
Received: from fs2.bhalevy.com ([172.17.33.165]) by daytona.panasas.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 29 Apr 2011 06:11:50 -0400
Message-ID: <4DBA8ECC.3050002@panasas.com>
Date: Fri, 29 Apr 2011 13:11:24 +0300
From: Boaz Harrosh <bharrosh@panasas.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Fedora/3.0.10-1.fc12 Thunderbird/3.0.10
MIME-Version: 1.0
To: Benny Halevy <bhalevy@panasas.com>, Brent Welch <bwelch@panasas.com>,  open-osd <osd-dev@open-osd.org>, nfsv4 list <nfsv4@ietf.org>
Content-Type: multipart/mixed; boundary="------------000600050302000807040403"
X-OriginalArrivalTime: 29 Apr 2011 10:11:51.0281 (UTC) FILETIME=[DB942E10:01CC0655]
X-Mailman-Approved-At: Fri, 29 Apr 2011 10:28:48 -0700
Cc: Rich Andros <randros@panasas.com>
Subject: [nfsv4] [VER 01] draft-ietf-nfsv4-rfc5664bis-01
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Apr 2011 10:12:03 -0000

This is a multi-part message in MIME format.
--------------000600050302000807040403
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit


I'm Sending in the revised pnfs-objects RFC with the most important fixes needed for a
more final/correct draft.

Attached is the draft-ietf-nfsv4-rfc5664bis-01.txt file. It incorporates My fixes
to the maths, and Benny's review.
[As reply to this mail I'll send the .diff file of -01.txt from the previous -00.txt,
 for easy review]

I have also published the rfc git tree on open-osd.org website. The *master* branch
is still on rfc5664bis-00 version. Checkout the *rfc5664bis-01* for this version.
It is all in gitweb here:
http://git.open-osd.org/gitweb.cgi?p=ietf-rfc5664.git;a=shortlog;h=refs/heads/rfc5664bis-01
The git URL is:
git clone git://git.open-osd.org/ietf-rfc5664.git

I will move master to the new branch only after Brent Welch's review! Brent?
(You can edit the txt directly and send me the .diff from the original version, I can
 easily transfer the changes to the xml.tmpl file. Though now it is easy to change the
 xml.tmpl directly and even compile it, by git cloning the above tree and running make)

These are the changes added to the *rfc5664bis-01* branch:

commit b8c1feb836c186830500994cc2339fba4663ff5b
Author: Boaz Harrosh <bharrosh@panasas.com>
Date:   Fri Apr 29 00:33:25 2011 +0300

    01: draft-ietf-nfsv4-rfc5664bis-01 output files
    
    modified after the new version 01 change:
       draft-ietf-nfsv4-rfc5664bis.html
       draft-ietf-nfsv4-rfc5664bis.txt
       draft-ietf-nfsv4-rfc5664bis.x
    
    Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>

commit fe81d532f702d527972ccce8b2c60e330ecea3d4
Author: Boaz Harrosh <bharrosh@panasas.com>
Date:   Fri Feb 18 17:52:03 2011 -0800

    01: Fixes to the striping and Raid Math
    
    The raid4/5/6 maths was totally out of wak. Fix it.
    Add comment about raid rotation starting on a group boundary.
    Actually explain better the rotating raid6 that we do.
    Add reference to two raid6 papers.
    
    Increment to version 01
    
    Signed-off-by: Benny Halevy <bhalevy@panasas.com>
    Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>

commit 3ebeda56bbaf7b850343b5fe24fdb2583ca13bf1
Author: Boaz Harrosh <bharrosh@panasas.com>
Date:   Fri Apr 29 10:52:47 2011 +0300

    Change version release policy and git usage
    
    Rename rfc5664bis-00.xml.tmpl => rfc5664bis.xml.tmpl
    
    Change Makefile and file names so there is no longer any
    file-names renaming when incrementing a version.
    
    All files have their base -rfc5664bis.XXX name in git, Incrementing
    of the version number at Makefile.info will insert the version into
    files (as before) and the Makefile will also produce
    -rfc5664bis-$VER.{txt,html} for convenience of sending them via email,
    with the version attached to the name.
    
    Added -rfc5664bis.html to the git because I will reference it from
    the open-osd.org website. It will be displayed directly from git.
    
    Added -rfc5664bis.x -rfc5664bis.h rfc5664bis_xdr.c to git. Even though
    they are output files they might be used directly from gitweb without
    the need for the xml2rfc tool-chain.
    
    Removed *.xml output files from git. All other target files have
    usage other then during the make process, Not so the *.xml files.
    
    Add a .gitignore file, so git will not complain about above
    -rfc5664bis-$VER.{txt,html} and *.xml output files.
    
    Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>

commit 0a515925fe6c6bd8f35b25240e82c8cedfed010f
Author: Boaz Harrosh <bharrosh@panasas.com>
Date:   Fri Apr 29 10:51:38 2011 +0300

    xmlrfc: Revert back to the version that works
    
    Our rfc xml files are not compateble with xml2rfc-1.35. Revert
    back to xml2rfc-1.34 that works.
    
    Remove the version from the name, change Makefile to directly
    work on the git version
    
    Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>

commit b7b641054b7fd4da4693049f6cbff63553524bf3
Author: Boaz Harrosh <bharrosh@panasas.com>
Date:   Tue Apr 26 16:59:49 2011 +0300

    DELETE all obsolete files (They are still available in git)
    
    We have changed version progression policy. From now on we'll do
    'git mv OLD_VER.* NEW_VER.*' and always have a single latest copy
    of the files checked out. Old versions with their old names can
    be checked-out from git history if needed.
    
    Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>

Cheers
Boaz

--------------000600050302000807040403
Content-Type: text/plain;
 name="draft-ietf-nfsv4-rfc5664bis-01.txt"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="draft-ietf-nfsv4-rfc5664bis-01.txt"

CgoKTkZTdjQgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgQi4gSGFsZXZ5CkludGVybmV0LURyYWZ0ICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgQi4gSGFycm9zaApJbnRlbmRlZCBzdGF0
dXM6IFN0YW5kYXJkcyBUcmFjayAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgQi4g
V2VsY2gKRXhwaXJlczogT2N0b2JlciAzMSwgMjAxMSAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICBQYW5hc2FzCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAg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oKCgoKCgoKCgoKCgpI
YWxldnksIGV0IGFsLiAgICAgICAgICBFeHBpcmVzIE9jdG9iZXIgMzEsIDIwMTEgICAgICAg
ICAgICAgICBbUGFnZSAyNF0KDApJbnRlcm5ldC1EcmFmdCAgICAgICAgICAgICAgICBwbmZz
IG9iamVjdHMgICAgICAgICAgICAgICAgICAgIEFwcmlsIDIwMTEKCgogICBzdHJ1Y3QgbGF5
b3V0cmV0dXJuX2ZpbGU0IHsKICAgICAgICAgICBvZmZzZXQ0ICAgICAgICAgbHJmX29mZnNl
dDsKICAgICAgICAgICBsZW5ndGg0ICAgICAgICAgbHJmX2xlbmd0aDsKICAgICAgICAgICBz
dGF0ZWlkNCAgICAgICAgbHJmX3N0YXRlaWQ7CiAgICAgICAgICAgLyogbGF5b3V0dHlwZTQg
c3BlY2lmaWMgZGF0YSAqLwogICAgICAgICAgIG9wYXF1ZSAgICAgICAgICBscmZfYm9keTw+
OwogICB9OwoKICAgdW5pb24gbGF5b3V0cmV0dXJuNCBzd2l0Y2gobGF5b3V0cmV0dXJuX3R5
cGU0IGxyX3JldHVybnR5cGUpIHsKICAgICAgICAgICBjYXNlIExBWU9VVFJFVFVSTjRfRklM
RToKICAgICAgICAgICAgICAgICAgIGxheW91dHJldHVybl9maWxlNCAgICAgIGxyX2xheW91
dDsKICAgICAgICAgICBkZWZhdWx0OgogICAgICAgICAgICAgICAgICAgdm9pZDsKICAgfTsK
CiAgIHN0cnVjdCBMQVlPVVRSRVRVUk40YXJncyB7CiAgICAgICAgICAgLyogQ1VSUkVOVF9G
SDogZmlsZSAqLwogICAgICAgICAgIGJvb2wgICAgICAgICAgICAgICAgICAgIGxvcmFfcmVj
bGFpbTsKICAgICAgICAgICBsYXlvdXRyZXR1cm5fc3RhdGVpZCAgICBsb3JhX3JlY2FsbHN0
YXRlaWQ7CiAgICAgICAgICAgbGF5b3V0dHlwZTQgICAgICAgICAgICAgbG9yYV9sYXlvdXRf
dHlwZTsKICAgICAgICAgICBsYXlvd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CiAgIEZyZW1vbnQsIENBICA5NTQ0NAogICBVU0EKCiAgIFBob25lOiArMS02NTAt
NjA4LTc3NzAKICAgRW1haWw6IHdlbGNoQHBhbmFzYXMuY29tCiAgIFVSSTogICBodHRwOi8v
d3d3LnBhbmFzYXMuY29tLwoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKSGFsZXZ5
LCBldCBhbC4gICAgICAgICAgRXhwaXJlcyBPY3RvYmVyIDMxLCAyMDExICAgICAgICAgICAg
ICAgW1BhZ2UgMzhdCgwK
--------------000600050302000807040403--

From Tom.Haynes@netapp.com  Fri Apr 29 13:07:41 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BA5C3E0763 for <nfsv4@ietfa.amsl.com>; Fri, 29 Apr 2011 13:07:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.418
X-Spam-Level: 
X-Spam-Status: No, score=-10.418 tagged_above=-999 required=5 tests=[AWL=0.180, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tCZjYxmw6R-6 for <nfsv4@ietfa.amsl.com>; Fri, 29 Apr 2011 13:07:40 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfa.amsl.com (Postfix) with ESMTP id 6710AE06E7 for <nfsv4@ietf.org>; Fri, 29 Apr 2011 13:07:40 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,289,1301900400";  d="scan'208,217";a="544664442"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 29 Apr 2011 13:07:40 -0700
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3TK7ePg009147 for <nfsv4@ietf.org>; Fri, 29 Apr 2011 13:07:40 -0700 (PDT)
Received: from rtprsexc2-prd.hq.netapp.com ([10.100.161.115]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 29 Apr 2011 13:07:40 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 29 Apr 2011 16:07:39 -0400
Received: from [10.58.50.37] ([10.58.50.37]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 29 Apr 2011 16:07:38 -0400
From: Thomas Haynes <thomas@netapp.com>
Content-Type: multipart/alternative; boundary=Apple-Mail-82--617057094
Date: Fri, 29 Apr 2011 15:07:37 -0500
Message-Id: <93B16DCF-40A7-4FC0-A10E-C09BB8E15A84@netapp.com>
To: nfsv4@ietf.org
Mime-Version: 1.0 (Apple Message framework v1084)
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 29 Apr 2011 20:07:39.0016 (UTC) FILETIME=[16E3A880:01CC06A9]
Subject: [nfsv4] [LNFS] Meeting Notes for 04/29/11
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Apr 2011 20:07:41 -0000

--Apple-Mail-82--617057094
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=us-ascii

Attendees
--------------

Tom Haynes (NetApp)
Dave Quigley (davequigley.com)
Jarrett Lu (Oracle)
Peter Staubach (EMC)
David Black (EMC)
Nico Williams (cryptonector.com)

Agenda
-----------

+ IETF Note Well Agreement

+ Use Cases

We have wrapped these up.

+ RPCSEC_GSSv3

Nico has delivered some writeup on client and server implementation
expectations. He will incorporate them into the draft based on group
feedback, most notably David Black.

+ Capabilities

10,000 ft overview: A secure and opaque cookie that the server can
send to the client. When the server gets the cookie back, it can look in
the cache to see if it is authenticated. If not in the cache, can use the
cryptographic properties to authenticate and refill the cache.

We decided not to further explore capabilities for LNFS.

+ Object label changes

A very good discussion, I'll try to capture the key points.

Nico pointed out that if a DAC is changed on a file after it has
been opened, then POSIX semantics state that it retains the
rights it had established in the open.

What then did we want to have occur with a MAC label change?

a) Instantaneous? Different than DAC.

b) Delayed? I.e., do we want to allow the client to flush buffers?
But then how does the app get notified?

We also talked about the implication of having an outstanding
delegation.

Tom brought up that if the server has exports, then it may already
handle these situations when a client is suddenly denied access
to the filesystem.

Jarrett asked what happens with local filesystems when a MAC label changes?
He took an AI to investigate what the Trusted Solaris extensions do.

In the end, we decided that the revocation was to occur instantaneously.

We then had a very heated discussion about what was a dumb server.
It turned out there were two camps:

1) A server which did not speak LNFS, i.e., what we have today.

2) A server which could accept and return labels, but which could
not act on those labels in any form.

We decided that they both are correct in that we want to consider the
following scale of servers:

A) Non-LNFS aware
B) LNFS passing
C) Smart

The intersection of this discussion with Object Label changes is that if
you have smart clients and LNFS passing servers, then there is no
way for the server to revoke access when a label changes. Instead,
it needs to send notification to the smart clients to recheck the attributes.

We then talked about doing a CB to handle the object label notification:

1) Tom pointed out that not all Label changes would require revocation and
a smart client might want to either recache the attribute or make some
other decision.

2) David B. led the discussion that in the above scenario, a smart client
would detect and honor that it should stop access to the file.

3) David Q. raised the concern about clients not supporting the CB (a NFSv4.0
concern with sideband protocols). And Peter replied with NFSv4.1, they
went over the same established channel. In the end, we decided it was
the client implementation choice about to support the CB.

a) With a smart server that did revocation, no need to do CB then.
b) With a smart client and LNFS passing server, it is a requirement that
the client support CBs.
c) For updating cached attributes, it is a nice to have, not a must have.

+ DS needs to authenticate a subject label with the MDS.

The current model of verifying DAC and export permission is agnostic with
respect to Files, Objects, and Blocks. We decided to extend it to also
verify (and fence if necessary) the subject label.

+ Recalling a layout when an object label changes

Not discussed

+ Delegation support

Not discussed








--Apple-Mail-82--617057094
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
">Attendees<div>--------------<br><div><br></div><div>Tom Haynes =
(NetApp)<br>Dave Quigley (<a =
href=3D"http://davequigley.com/">davequigley.com</a>)<br>Jarrett Lu =
(Oracle)<br>Peter Staubach (EMC)<br>David Black (EMC)<br>Nico Williams =
(<a =
href=3D"http://cryptonector.com/">cryptonector.com</a>)<br></div><div><br>=
</div><div>Agenda<br>-----------<br><br>+ IETF Note Well =
Agreement<br><br>+ Use Cases<br></div></div><div><br></div><div>We have =
wrapped these up.</div><div><br></div><div><div>+ =
RPCSEC_GSSv3</div></div><div><br></div><div>Nico has delivered some =
writeup on client and server implementation</div><div>expectations. He =
will incorporate them into the draft based on group</div><div>feedback, =
most notably David Black.</div><div><br></div><div>+ =
Capabilities</div><div><br></div><div>10,000 ft overview: A secure and =
opaque cookie that the server can</div><div>send to the client. =
When&nbsp;the&nbsp;server gets the cookie back, it can look =
in</div><div>the cache to see&nbsp;if it is authenticated. If not in the =
cache, can use the</div><div>cryptographic&nbsp;properties to =
authenticate and refill the cache.</div><div><br></div><div>We decided =
not to further explore capabilities for LNFS.</div><div><br></div><div>+ =
Object label changes</div><div><br></div><div>A very good discussion, =
I'll try to capture the key points.</div><div><br></div><div>Nico =
pointed out that if a DAC is changed on a file after it =
has</div><div>been opened, then POSIX semantics state that it retains =
the</div><div>rights it had established in the =
open.</div><div><br></div><div>What then did we want to have occur with =
a MAC label change?</div><div><br></div><div>a) Instantaneous? Different =
than DAC.</div><div><br></div><div>b) Delayed? I.e., do we want to allow =
the client to flush buffers?</div><div>But then how does the app get =
notified?</div><div><br></div><div>We also talked about the implication =
of having an =
outstanding</div><div>delegation.</div><div><br></div><div>Tom brought =
up that if the server has exports, then it may already</div><div>handle =
these situations when a client is suddenly denied access</div><div>to =
the filesystem.</div><div><br></div><div>Jarrett asked what happens with =
local filesystems when a MAC label changes?</div><div>He took an AI to =
investigate what the Trusted Solaris extensions =
do.</div><div><br></div><div>In the end, we decided that the revocation =
was to occur instantaneously.</div><div><br></div><div>We then had a =
very heated discussion about what was a dumb server.</div><div>It turned =
out there were two camps:</div><div><br></div><div>1) A server which did =
not speak LNFS, i.e., what we have today.</div><div><br></div><div>2) A =
server which could accept and return labels, but which =
could</div><div>not act on those labels in any =
form.</div><div><br></div><div>We decided that they both are correct in =
that we want to consider the</div><div>following scale of =
servers:</div><div><br></div><div>A) Non-LNFS aware</div><div>B) LNFS =
passing</div><div>C) Smart</div><div><br></div><div>The intersection of =
this discussion with Object Label changes is that if</div><div>you have =
smart clients and LNFS passing servers, then there is no</div><div>way =
for the server to revoke access when a label changes. =
Instead,</div><div>it needs to send notification to the smart clients to =
recheck the attributes.</div><div><br></div><div>We then talked about =
doing a CB to handle the object label =
notification:</div><div><br></div><div>1) Tom pointed out that not all =
Label changes would require revocation and</div><div>a smart client =
might want to either recache the attribute or make some</div><div>other =
decision.</div><div><br></div><div>2) David B. led the discussion that =
in the above scenario, a smart client</div><div>would detect and honor =
that it should stop access to the file.</div><div><br></div><div>3) =
David Q. raised the concern about clients not supporting the CB (a =
NFSv4.0</div><div>concern with sideband protocols). And Peter replied =
with NFSv4.1, they</div><div>went over the same established channel. In =
the end, we decided it was</div><div>the client implementation choice =
about to support the CB.</div><div><br></div><div>a) With a smart server =
that did revocation, no need to do CB then.</div><div>b) With a smart =
client and LNFS passing server, it is a requirement that</div><div>the =
client support CBs.</div><div>c) For updating cached attributes, it is a =
nice to have, not a must have.</div><div><br></div><div>+ DS needs to =
authenticate a subject label with the MDS.</div><div><br></div><div>The =
current model of verifying DAC and export permission is agnostic =
with</div><div>respect to Files, Objects, and Blocks. We decided to =
extend it to also</div><div>verify (and fence&nbsp;if necessary) the =
subject label.</div><div><br></div><div>+&nbsp;Recalling a layout when =
an object label changes</div><div><br></div><div>Not =
discussed</div><div><br></div><div>+ Delegation =
support</div><div><br></div><div>Not =
discussed</div><div><br></div><div><br></div><div><br></div><div><br></div=
><div><br></div><div><br></div><div><br></div></body></html>=

--Apple-Mail-82--617057094--

From sshepler@microsoft.com  Fri Apr 29 13:20:01 2011
Return-Path: <sshepler@microsoft.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7E406E06E7 for <nfsv4@ietfa.amsl.com>; Fri, 29 Apr 2011 13:20:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VBTFHz8cMu3u for <nfsv4@ietfa.amsl.com>; Fri, 29 Apr 2011 13:20:00 -0700 (PDT)
Received: from smtp.microsoft.com (mail3.microsoft.com [131.107.115.214]) by ietfa.amsl.com (Postfix) with ESMTP id 4ABE7E06A4 for <nfsv4@ietf.org>; Fri, 29 Apr 2011 13:20:00 -0700 (PDT)
Received: from TK5EX14HUBC104.redmond.corp.microsoft.com (157.54.80.25) by TK5-EXGWY-E803.partners.extranet.microsoft.com (10.251.56.169) with Microsoft SMTP Server (TLS) id 8.2.176.0; Fri, 29 Apr 2011 13:20:00 -0700
Received: from TK5EX14MBXC131.redmond.corp.microsoft.com ([169.254.10.25]) by TK5EX14HUBC104.redmond.corp.microsoft.com ([157.54.80.25]) with mapi id 14.01.0289.008; Fri, 29 Apr 2011 13:19:59 -0700
From: Spencer Shepler <sshepler@microsoft.com>
To: Thomas Haynes <thomas@netapp.com>, "nfsv4@ietf.org" <nfsv4@ietf.org>
Thread-Topic: [nfsv4] [LNFS] Meeting Notes for 04/29/11
Thread-Index: AQHMBqkiTxAfRRN6Z0qHOk3hZQbbi5R1SAtg
Date: Fri, 29 Apr 2011 20:19:59 +0000
Message-ID: <E043D9D8EE3B5743B8B174A814FD584F0F0F4CC8@TK5EX14MBXC131.redmond.corp.microsoft.com>
References: <93B16DCF-40A7-4FC0-A10E-C09BB8E15A84@netapp.com>
In-Reply-To: <93B16DCF-40A7-4FC0-A10E-C09BB8E15A84@netapp.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.76]
Content-Type: multipart/alternative; boundary="_000_E043D9D8EE3B5743B8B174A814FD584F0F0F4CC8TK5EX14MBXC131r_"
MIME-Version: 1.0
Subject: Re: [nfsv4] [LNFS] Meeting Notes for 04/29/11
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Apr 2011 20:20:01 -0000

--_000_E043D9D8EE3B5743B8B174A814FD584F0F0F4CC8TK5EX14MBXC131r_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable



Thanks for the notes, Tom, and the participation everyone.

Can you outline next steps for this work?
Any identified deliverables (documents, email, etc.), owners
and any times that may have been associated with them?

Thanks,
Spencer


From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On Behalf Of T=
homas Haynes
Sent: Friday, April 29, 2011 1:08 PM
To: nfsv4@ietf.org
Subject: [nfsv4] [LNFS] Meeting Notes for 04/29/11

Attendees
--------------

Tom Haynes (NetApp)
Dave Quigley (davequigley.com<http://davequigley.com/>)
Jarrett Lu (Oracle)
Peter Staubach (EMC)
David Black (EMC)
Nico Williams (cryptonector.com<http://cryptonector.com/>)

Agenda
-----------

+ IETF Note Well Agreement

+ Use Cases

We have wrapped these up.

+ RPCSEC_GSSv3

Nico has delivered some writeup on client and server implementation
expectations. He will incorporate them into the draft based on group
feedback, most notably David Black.

+ Capabilities

10,000 ft overview: A secure and opaque cookie that the server can
send to the client. When the server gets the cookie back, it can look in
the cache to see if it is authenticated. If not in the cache, can use the
cryptographic properties to authenticate and refill the cache.

We decided not to further explore capabilities for LNFS.

+ Object label changes

A very good discussion, I'll try to capture the key points.

Nico pointed out that if a DAC is changed on a file after it has
been opened, then POSIX semantics state that it retains the
rights it had established in the open.

What then did we want to have occur with a MAC label change?

a) Instantaneous? Different than DAC.

b) Delayed? I.e., do we want to allow the client to flush buffers?
But then how does the app get notified?

We also talked about the implication of having an outstanding
delegation.

Tom brought up that if the server has exports, then it may already
handle these situations when a client is suddenly denied access
to the filesystem.

Jarrett asked what happens with local filesystems when a MAC label changes?
He took an AI to investigate what the Trusted Solaris extensions do.

In the end, we decided that the revocation was to occur instantaneously.

We then had a very heated discussion about what was a dumb server.
It turned out there were two camps:

1) A server which did not speak LNFS, i.e., what we have today.

2) A server which could accept and return labels, but which could
not act on those labels in any form.

We decided that they both are correct in that we want to consider the
following scale of servers:

A) Non-LNFS aware
B) LNFS passing
C) Smart

The intersection of this discussion with Object Label changes is that if
you have smart clients and LNFS passing servers, then there is no
way for the server to revoke access when a label changes. Instead,
it needs to send notification to the smart clients to recheck the attribute=
s.

We then talked about doing a CB to handle the object label notification:

1) Tom pointed out that not all Label changes would require revocation and
a smart client might want to either recache the attribute or make some
other decision.

2) David B. led the discussion that in the above scenario, a smart client
would detect and honor that it should stop access to the file.

3) David Q. raised the concern about clients not supporting the CB (a NFSv4=
.0
concern with sideband protocols). And Peter replied with NFSv4.1, they
went over the same established channel. In the end, we decided it was
the client implementation choice about to support the CB.

a) With a smart server that did revocation, no need to do CB then.
b) With a smart client and LNFS passing server, it is a requirement that
the client support CBs.
c) For updating cached attributes, it is a nice to have, not a must have.

+ DS needs to authenticate a subject label with the MDS.

The current model of verifying DAC and export permission is agnostic with
respect to Files, Objects, and Blocks. We decided to extend it to also
verify (and fence if necessary) the subject label.

+ Recalling a layout when an object label changes

Not discussed

+ Delegation support

Not discussed








--_000_E043D9D8EE3B5743B8B174A814FD584F0F0F4CC8TK5EX14MBXC131r_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thanks for the notes, Tom=
, and the participation everyone.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Can you outline next step=
s for this work?<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Any identified deliverabl=
es (documents, email, etc.), owners<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">and any times that may ha=
ve been associated with them?<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thanks,<o:p></o:p></span>=
</p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Spencer<o:p></o:p></span>=
</p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt">
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> nfsv4-bo=
unces@ietf.org [mailto:nfsv4-bounces@ietf.org]
<b>On Behalf Of </b>Thomas Haynes<br>
<b>Sent:</b> Friday, April 29, 2011 1:08 PM<br>
<b>To:</b> nfsv4@ietf.org<br>
<b>Subject:</b> [nfsv4] [LNFS] Meeting Notes for 04/29/11<o:p></o:p></span>=
</p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Attendees<o:p></o:p></p>
<div>
<p class=3D"MsoNormal">--------------<o:p></o:p></p>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Tom Haynes (NetApp)<br>
Dave Quigley (<a href=3D"http://davequigley.com/">davequigley.com</a>)<br>
Jarrett Lu (Oracle)<br>
Peter Staubach (EMC)<br>
David Black (EMC)<br>
Nico Williams (<a href=3D"http://cryptonector.com/">cryptonector.com</a>)<o=
:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Agenda<br>
-----------<br>
<br>
&#43; IETF Note Well Agreement<br>
<br>
&#43; Use Cases<o:p></o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">We have wrapped these up.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<div>
<p class=3D"MsoNormal">&#43; RPCSEC_GSSv3<o:p></o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Nico has delivered some writeup on client and server=
 implementation<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">expectations. He will incorporate them into the draf=
t based on group<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">feedback, most notably David Black.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&#43; Capabilities<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">10,000 ft overview: A secure and opaque cookie that =
the server can<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">send to the client. When&nbsp;the&nbsp;server gets t=
he cookie back, it can look in<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">the cache to see&nbsp;if it is authenticated. If not=
 in the cache, can use the<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">cryptographic&nbsp;properties to authenticate and re=
fill the cache.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">We decided not to further explore capabilities for L=
NFS.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&#43; Object label changes<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">A very good discussion, I'll try to capture the key =
points.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Nico pointed out that if a DAC is changed on a file =
after it has<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">been opened, then POSIX semantics state that it reta=
ins the<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">rights it had established in the open.<o:p></o:p></p=
>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">What then did we want to have occur with a MAC label=
 change?<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">a) Instantaneous? Different than DAC.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">b) Delayed? I.e., do we want to allow the client to =
flush buffers?<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">But then how does the app get notified?<o:p></o:p></=
p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">We also talked about the implication of having an ou=
tstanding<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">delegation.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Tom brought up that if the server has exports, then =
it may already<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">handle these situations when a client is suddenly de=
nied access<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">to the filesystem.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Jarrett asked what happens with local filesystems wh=
en a MAC label changes?<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">He took an AI to investigate what the Trusted Solari=
s extensions do.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">In the end, we decided that the revocation was to oc=
cur instantaneously.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">We then had a very heated discussion about what was =
a dumb server.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">It turned out there were two camps:<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">1) A server which did not speak LNFS, i.e., what we =
have today.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">2) A server which could accept and return labels, bu=
t which could<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">not act on those labels in any form.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">We decided that they both are correct in that we wan=
t to consider the<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">following scale of servers:<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">A) Non-LNFS aware<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">B) LNFS passing<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">C) Smart<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">The intersection of this discussion with Object Labe=
l changes is that if<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">you have smart clients and LNFS passing servers, the=
n there is no<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">way for the server to revoke access when a label cha=
nges. Instead,<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">it needs to send notification to the smart clients t=
o recheck the attributes.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">We then talked about doing a CB to handle the object=
 label notification:<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">1) Tom pointed out that not all Label changes would =
require revocation and<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">a smart client might want to either recache the attr=
ibute or make some<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">other decision.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">2) David B. led the discussion that in the above sce=
nario, a smart client<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">would detect and honor that it should stop access to=
 the file.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">3) David Q. raised the concern about clients not sup=
porting the CB (a NFSv4.0<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">concern with sideband protocols). And Peter replied =
with NFSv4.1, they<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">went over the same established channel. In the end, =
we decided it was<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">the client implementation choice about to support th=
e CB.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">a) With a smart server that did revocation, no need =
to do CB then.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">b) With a smart client and LNFS passing server, it i=
s a requirement that<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">the client support CBs.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">c) For updating cached attributes, it is a nice to h=
ave, not a must have.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&#43; DS needs to authenticate a subject label with =
the MDS.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">The current model of verifying DAC and export permis=
sion is agnostic with<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">respect to Files, Objects, and Blocks. We decided to=
 extend it to also<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">verify (and fence&nbsp;if necessary) the subject lab=
el.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&#43;&nbsp;Recalling a layout when an object label c=
hanges<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Not discussed<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&#43; Delegation support<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Not discussed<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
</body>
</html>

--_000_E043D9D8EE3B5743B8B174A814FD584F0F0F4CC8TK5EX14MBXC131r_--

From Tom.Haynes@netapp.com  Fri Apr 29 13:38:40 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9F274E06E7 for <nfsv4@ietfa.amsl.com>; Fri, 29 Apr 2011 13:38:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.792
X-Spam-Level: 
X-Spam-Status: No, score=-9.792 tagged_above=-999 required=5 tests=[AWL=-0.485, BAYES_00=-2.599, MISSING_HEADERS=1.292, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xi6y093x2dpw for <nfsv4@ietfa.amsl.com>; Fri, 29 Apr 2011 13:38:40 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfa.amsl.com (Postfix) with ESMTP id 3047BE06AF for <nfsv4@ietf.org>; Fri, 29 Apr 2011 13:38:40 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,289,1301900400"; d="scan'208";a="544670772"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 29 Apr 2011 13:38:39 -0700
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3TKcd9h027475 for <nfsv4@ietf.org>; Fri, 29 Apr 2011 13:38:39 -0700 (PDT)
Received: from rtprsexc1-prd.hq.netapp.com ([10.100.161.114]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 29 Apr 2011 13:38:40 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 29 Apr 2011 16:38:38 -0400
Received: from [10.58.50.37] ([10.58.50.37]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 29 Apr 2011 16:38:38 -0400
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Apple Message framework v1084)
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <93B16DCF-40A7-4FC0-A10E-C09BB8E15A84@netapp.com>
Date: Fri, 29 Apr 2011 15:38:36 -0500
Cc: nfsv4@ietf.org
Content-Transfer-Encoding: 7bit
Message-Id: <E554A76B-EBAB-42ED-9682-09752CDC2F0F@netapp.com>
References: <93B16DCF-40A7-4FC0-A10E-C09BB8E15A84@netapp.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 29 Apr 2011 20:38:38.0712 (UTC) FILETIME=[6B5ABF80:01CC06AD]
Subject: Re: [nfsv4] [LNFS] Meeting Notes for 04/29/11
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Apr 2011 20:38:40 -0000

On Apr 29, 2011, at 3:07 PM, Thomas Haynes wrote:

> 
> We then had a very heated discussion about what was a dumb server.
> It turned out there were two camps:
> 
> 1) A server which did not speak LNFS, i.e., what we have today.
> 
> 2) A server which could accept and return labels, but which could
> not act on those labels in any form.
> 
> We decided that they both are correct in that we want to consider the
> following scale of servers:
> 
> A) Non-LNFS aware
> B) LNFS passing
> C) Smart

The draft defines this middle case:

6.5.  Simple security label storage

   In this case, a mixed and loosely administered network is assumed,
   where nodes may be running a variety of operating systems with
   different security mechanisms and security policies.  It is desired
   that network file servers be simply capable of storing and retrieving
   MAC security labels for clients which use such labels.  The Labeled
   NFS protocol would be implemented here solely to enable transport of
   MAC security labels across the network.  It should be noted that in
   such an environment, overall security cannot be as strongly enforced
   as in case (a), and that this scheme is aimed at allowing MAC-capable
   clients to function with local MAC security policy enabled rather
   than perhaps disabling it entirely.




From nico@cryptonector.com  Fri Apr 29 13:49:28 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 08598E0793 for <nfsv4@ietfa.amsl.com>; Fri, 29 Apr 2011 13:49:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.123
X-Spam-Level: 
X-Spam-Status: No, score=-2.123 tagged_above=-999 required=5 tests=[AWL=-1.146, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, J_BACKHAIR_32=1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QIYlJeKqGhdV for <nfsv4@ietfa.amsl.com>; Fri, 29 Apr 2011 13:49:27 -0700 (PDT)
Received: from homiemail-a33.g.dreamhost.com (caiajhbdcbbj.dreamhost.com [208.97.132.119]) by ietfa.amsl.com (Postfix) with ESMTP id 31A56E068F for <nfsv4@ietf.org>; Fri, 29 Apr 2011 13:49:27 -0700 (PDT)
Received: from homiemail-a33.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a33.g.dreamhost.com (Postfix) with ESMTP id E6E0159405E for <nfsv4@ietf.org>; Fri, 29 Apr 2011 13:49:26 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=jGnTN+j5RV2JSuXsOo5Hs5kMTPm6RLDOshqWwWqSmVzx nm8hVj4andEQ6lxm4qsiQUrsktlJ0SmMKwr3skI98tWKWSvuue9JfD8Rj+7RIcTr zwIwfwOJzJhVPShpP6WICekfg50+xMA7g+MSyTvBhi4sUXluPSCdDhFb4NT0oEo=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=qQvnY+/+lWRwhZdt8d31+4YAYc8=; b=xMuhOo8iRNQ BRGgR5kUXJr6YLJwNbLYnP0Du7KwT2czXO80XzQz6Qlu4Z+nSF86cRFBx5gDLq57 /4o94FxDrNP9knHZRQvTmXDzkDt2jtF+FfD8zp8WIE+PjRgXnuBu7faqjyXGCkdc 1uiaAitAJYcl8xlwRp6ZLXkp9J7rYFYA=
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a33.g.dreamhost.com (Postfix) with ESMTPSA id B3C9C594062 for <nfsv4@ietf.org>; Fri, 29 Apr 2011 13:49:26 -0700 (PDT)
Received: by vws12 with SMTP id 12so3569909vws.31 for <nfsv4@ietf.org>; Fri, 29 Apr 2011 13:49:25 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.179.131 with SMTP id dg3mr3465685vdc.9.1304110165946; Fri, 29 Apr 2011 13:49:25 -0700 (PDT)
Received: by 10.52.163.71 with HTTP; Fri, 29 Apr 2011 13:49:25 -0700 (PDT)
In-Reply-To: <93B16DCF-40A7-4FC0-A10E-C09BB8E15A84@netapp.com>
References: <93B16DCF-40A7-4FC0-A10E-C09BB8E15A84@netapp.com>
Date: Fri, 29 Apr 2011 15:49:25 -0500
Message-ID: <BANLkTi=KRQLfw=9o8Pa2Naq7PiJK9U2cCw@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Thomas Haynes <thomas@netapp.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [LNFS] Meeting Notes for 04/29/11
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Apr 2011 20:49:28 -0000

On Fri, Apr 29, 2011 at 3:07 PM, Thomas Haynes <thomas@netapp.com> wrote:
> + Use Cases
>
> We have wrapped these up.
> + RPCSEC_GSSv3
> Nico has delivered some writeup on client and server implementation
> expectations. He will incorporate them into the draft based on group
> feedback, most notably David Black.

We await David's comments in response to my analysis regarding
interoperability and what is easy/hard to implement.

> + Capabilities
> 10,000 ft overview: A secure and opaque cookie that the server can
> send to the client. When=C2=A0the=C2=A0server gets the cookie back, it ca=
n look in
> the cache to see=C2=A0if it is authenticated. If not in the cache, can us=
e the
> cryptographic=C2=A0properties to authenticate and refill the cache.
> We decided not to further explore capabilities for LNFS.

Capabilities are an optimization to cache (with the client's help) the
results of expensive access control decisions.  They can also avoid
the need for MDS<->DS communication regarding authorization.

Capabilities are orthogonal to LNFS, thus we dropped them from the
discussion for LNFS.  I would still like to encourage the WG to
consider capabilities.

> + Object label changes
> A very good discussion, I'll try to capture the key points.
> Nico pointed out that if a DAC is changed on a file after it has
> been opened, then POSIX semantics state that it retains the
> rights it had established in the open.
> What then did we want to have occur with a MAC label change?
> a) Instantaneous? Different than DAC.
> b) Delayed? I.e., do we want to allow the client to flush buffers?
> But then how does the app get notified?
> We also talked about the implication of having an outstanding
> delegation.
> Tom brought up that if the server has exports, then it may already
> handle these situations when a client is suddenly denied access
> to the filesystem.
> Jarrett asked what happens with local filesystems when a MAC label change=
s?
> He took an AI to investigate what the Trusted Solaris extensions do.
> In the end, we decided that the revocation was to occur instantaneously.

Very good summary!

> We then had a very heated discussion about what was a dumb server.
> It turned out there were two camps:
> 1) A server which did not speak LNFS, i.e., what we have today.
> 2) A server which could accept and return labels, but which could
> not act on those labels in any form.
> We decided that they both are correct in that we want to consider the
> following scale of servers:
> A) Non-LNFS aware
> B) LNFS passing
> C) Smart
> The intersection of this discussion with Object Label changes is that if
> you have smart clients and LNFS passing servers, then there is no
> way for the server to revoke access when a label changes. Instead,
> it needs to send notification to the smart clients to recheck the
> attributes.
> We then talked about doing a CB to handle the object label notification:
> 1) Tom pointed out that not all Label changes would require revocation an=
d
> a smart client might want to either recache the attribute or make some
> other decision.
> 2) David B. led the discussion that in the above scenario, a smart client
> would detect and honor that it should stop access to the file.
> 3) David Q. raised the concern about clients not supporting the CB (a
> NFSv4.0
> concern with sideband protocols). And Peter replied with NFSv4.1, they
> went over the same established channel. In the end, we decided it was
> the client implementation choice about to support the CB.
> a) With a smart server that did revocation, no need to do CB then.
> b) With a smart client and LNFS passing server, it is a requirement that
> the client support CBs.
> c) For updating cached attributes, it is a nice to have, not a must have.

Also very good summary.  Much could have been lost.  Kudos on great note ta=
king.

> + DS needs to authenticate a subject label with the MDS.
> [...]

s/authenticate/authorize/

no?  (yeah, total nit)

> +=C2=A0Recalling a layout when an object label changes
> Not discussed

But surely an answer is implied by the above.  Clients that should
lose access, lose it (and experience, effectively, stale file handles,
with applications getting a local equivalent of SIGLOST).  Clients
that should keep it, keep it, at most learning of the change.

> + Delegation support
> Not discussed

Sam as above, no?

Nico
--

From nico@cryptonector.com  Fri Apr 29 17:22:30 2011
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 24965E06AD for <nfsv4@ietfa.amsl.com>; Fri, 29 Apr 2011 17:22:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.546
X-Spam-Level: 
X-Spam-Status: No, score=-2.546 tagged_above=-999 required=5 tests=[AWL=-0.569, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H+QzTfCdsWrr for <nfsv4@ietfa.amsl.com>; Fri, 29 Apr 2011 17:22:29 -0700 (PDT)
Received: from homiemail-a32.g.dreamhost.com (caiajhbdccac.dreamhost.com [208.97.132.202]) by ietfa.amsl.com (Postfix) with ESMTP id 76D8FE0698 for <nfsv4@ietf.org>; Fri, 29 Apr 2011 17:22:26 -0700 (PDT)
Received: from homiemail-a32.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a32.g.dreamhost.com (Postfix) with ESMTP id EC9BB584058 for <nfsv4@ietf.org>; Fri, 29 Apr 2011 17:22:25 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=Pciu2WGnxMmvAuJpG/fPV GMMlL8cZqh5eQnFfafwiB0w3QrplrcYWPkawGgbcN1KNYYOP1w5pUi9W7v8LiwRA BZwqhwm0qSMjA6Mct7ag0QH0IbpRu6MucmbkK81yRNvthhxlfpFK33QbBQlqWw6F PtwI37cSOvZcefFbrGjij8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=ZLdSCwdkziN9zGCCns7t YL8NLQY=; b=ANRoRLiPOlERgyTKrJ5PeU4aZWVBalHWDlivHjkSRyFMzbwhR01u KPXlI5b5l9XAeWjdZTX0STcYZGrmxLJBdsMUcwKD6qC7mx9aoeZ4moknZG0VGXCn 5vKqWvOOl2C+jo2+fpPVBdhjfketUTIKG5bAravJiFmIoN7G6e4rW1A=
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a32.g.dreamhost.com (Postfix) with ESMTPSA id C9736584057 for <nfsv4@ietf.org>; Fri, 29 Apr 2011 17:22:25 -0700 (PDT)
Received: by vxg33 with SMTP id 33so3683560vxg.31 for <nfsv4@ietf.org>; Fri, 29 Apr 2011 17:22:25 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.107.129 with SMTP id hc1mr5186928vdb.289.1304122945249; Fri, 29 Apr 2011 17:22:25 -0700 (PDT)
Received: by 10.52.163.71 with HTTP; Fri, 29 Apr 2011 17:22:25 -0700 (PDT)
In-Reply-To: <93B16DCF-40A7-4FC0-A10E-C09BB8E15A84@netapp.com>
References: <93B16DCF-40A7-4FC0-A10E-C09BB8E15A84@netapp.com>
Date: Fri, 29 Apr 2011 19:22:25 -0500
Message-ID: <BANLkTin5SD9YuuW9qcjN+OUMN=KH=aAfVA@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Thomas Haynes <thomas@netapp.com>
Content-Type: text/plain; charset=UTF-8
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [LNFS] Meeting Notes for 04/29/11
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 30 Apr 2011 00:22:30 -0000

Also, while we decided that revocation should be immediate (no chance
for clients/apps affected to flush dirty buffers), we did not make a
decision as to whether there should be any sort of distinct revocation
operation, ala BSD4.4's revoke(2) system call.

From Tom.Haynes@netapp.com  Sat Apr 30 10:26:39 2011
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A477FE0674 for <nfsv4@ietfa.amsl.com>; Sat, 30 Apr 2011 10:26:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.389
X-Spam-Level: 
X-Spam-Status: No, score=-10.389 tagged_above=-999 required=5 tests=[AWL=0.209, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MvQ2i5XglYlM for <nfsv4@ietfa.amsl.com>; Sat, 30 Apr 2011 10:26:39 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfa.amsl.com (Postfix) with ESMTP id 0B79FE0664 for <nfsv4@ietf.org>; Sat, 30 Apr 2011 10:26:38 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,293,1301900400";  d="scan'208,217";a="544775613"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 30 Apr 2011 10:26:23 -0700
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id p3UHQNHp000461; Sat, 30 Apr 2011 10:26:23 -0700 (PDT)
Received: from rtprsexc2-prd.hq.netapp.com ([10.100.161.115]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Sat, 30 Apr 2011 10:26:23 -0700
Received: from RTPMVEXC1-PRD.hq.netapp.com ([10.100.161.111]) by rtprsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Sat, 30 Apr 2011 13:26:21 -0400
Received: from [10.58.50.37] ([10.58.50.37]) by RTPMVEXC1-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Sat, 30 Apr 2011 13:26:21 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: multipart/alternative; boundary=Apple-Mail-83--540334733
From: Thomas Haynes <thomas@netapp.com>
In-Reply-To: <E043D9D8EE3B5743B8B174A814FD584F0F0F4CC8@TK5EX14MBXC131.redmond.corp.microsoft.com>
Date: Sat, 30 Apr 2011 12:26:19 -0500
Message-Id: <6A059EEE-836E-49AC-9BF9-564ACE1C7151@netapp.com>
References: <93B16DCF-40A7-4FC0-A10E-C09BB8E15A84@netapp.com> <E043D9D8EE3B5743B8B174A814FD584F0F0F4CC8@TK5EX14MBXC131.redmond.corp.microsoft.com>
To: Spencer Shepler <sshepler@microsoft.com>
X-Mailer: Apple Mail (2.1084)
X-OriginalArrivalTime: 30 Apr 2011 17:26:21.0742 (UTC) FILETIME=[B93294E0:01CC075B]
Cc: "nfsv4@ietf.org" <nfsv4@ietf.org>
Subject: Re: [nfsv4] [LNFS] Meeting Notes for 04/29/11
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 30 Apr 2011 17:26:39 -0000

--Apple-Mail-83--540334733
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


On Apr 29, 2011, at 3:19 PM, Spencer Shepler wrote:

> =20
> =20
> Thanks for the notes, Tom, and the participation everyone.
> =20
> Can you outline next steps for this work?
> Any identified deliverables (documents, email, etc.), owners
> and any times that may have been associated with them?
> =20
> Thanks,
> Spencer
> =20


1) Jarrett to report on what Trusted Solaris does when a MAC label is
changed on a local filesystem.

2) David Black to provide feedback on Nico's proposed text for
RPCSEC_GSSv3.

3) Nico to provide a new draft of RPCSEC_GSSv3:

a) XDR changes found by some implementation experience
b) Added client and server expectations, dependent on 2) above.

4) Tom to propose text to do the following:

a) Handle the CB and provide rational for the use with the 'Simple =
security label storage'
b) Describe the authentication process between the DS and MDS.

5) Tom, find some owners for items in =
https://github.com/loghyr/LabeledNFS/blob/master/issues.txt

a) Start mailing individual items to the WG.
b) See who responds.=20


--Apple-Mail-83--540334733
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><base href=3D"x-msg://1121/"></head><body style=3D"word-wrap: =
break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space; "><br><div><div>On Apr 29, 2011, at 3:19 PM, Spencer =
Shepler wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><span class=3D"Apple-style-span" style=3D"border-collapse: =
separate; font-family: Helvetica; font-style: normal; font-variant: =
normal; font-weight: normal; letter-spacing: normal; line-height: =
normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: =
normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: =
0px; -webkit-border-vertical-spacing: 0px; =
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div class=3D"WordSection1" =
style=3D"page: WordSection1; "><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: =
12pt; font-family: 'Times New Roman', serif; "><span style=3D"font-size: =
11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); =
"><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: =
12pt; font-family: 'Times New Roman', serif; "><span style=3D"font-size: =
11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); =
"><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: =
12pt; font-family: 'Times New Roman', serif; "><span style=3D"font-size: =
11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); =
">Thanks for the notes, Tom, and the participation =
everyone.<o:p></o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: =
12pt; font-family: 'Times New Roman', serif; "><span style=3D"font-size: =
11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); =
"><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: =
12pt; font-family: 'Times New Roman', serif; "><span style=3D"font-size: =
11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Can =
you outline next steps for this work?<o:p></o:p></span></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; =
margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', =
serif; "><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif; color: rgb(31, 73, 125); ">Any identified deliverables =
(documents, email, etc.), owners<o:p></o:p></span></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; =
margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', =
serif; "><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif; color: rgb(31, 73, 125); ">and any times that may have been =
associated with them?<o:p></o:p></span></div><div style=3D"margin-top: =
0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; =
font-size: 12pt; font-family: 'Times New Roman', serif; "><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125); "><o:p>&nbsp;</o:p></span></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; =
margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', =
serif; "><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif; color: rgb(31, 73, 125); =
">Thanks,<o:p></o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: =
12pt; font-family: 'Times New Roman', serif; "><span style=3D"font-size: =
11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); =
">Spencer<o:p></o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: =
12pt; font-family: 'Times New Roman', serif; "><span style=3D"font-size: =
11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); =
"><o:p>&nbsp;</o:p></span></div></div></div></span></blockquote><br></div>=
<div><br></div><div>1) Jarrett to report on what Trusted Solaris does =
when a MAC label is</div><div>changed on a local =
filesystem.</div><div><br></div><div>2) David Black to provide feedback =
on Nico's proposed text =
for</div><div>RPCSEC_GSSv3.</div><div><br></div><div>3) Nico to provide =
a new draft of RPCSEC_GSSv3:</div><div><br></div><div>a) XDR changes =
found by some implementation experience</div><div>b) Added client and =
server expectations, dependent on 2) above.</div><div><br></div><div>4) =
Tom to propose text to do the following:</div><div><br></div><div>a) =
Handle the CB and provide rational for the use with the 'Simple security =
label storage'</div><div>b) Describe the authentication process between =
the DS and MDS.</div><div><br></div><div>5) Tom, find some owners for =
items in <a =
href=3D"https://github.com/loghyr/LabeledNFS/blob/master/issues.txt">https=
://github.com/loghyr/LabeledNFS/blob/master/issues.txt</a></div><div><br><=
/div><div>a) Start mailing individual items to the WG.</div><div>b) See =
who responds.&nbsp;</div><br></body></html>=

--Apple-Mail-83--540334733--

From sshepler@microsoft.com  Sat Apr 30 11:01:41 2011
Return-Path: <sshepler@microsoft.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C5E56E06B9 for <nfsv4@ietfa.amsl.com>; Sat, 30 Apr 2011 11:01:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HX5zNJQ1qa7q for <nfsv4@ietfa.amsl.com>; Sat, 30 Apr 2011 11:01:40 -0700 (PDT)
Received: from smtp.microsoft.com (mail3.microsoft.com [131.107.115.214]) by ietfa.amsl.com (Postfix) with ESMTP id D2E42E0685 for <nfsv4@ietf.org>; Sat, 30 Apr 2011 11:01:40 -0700 (PDT)
Received: from TK5EX14MLTC103.redmond.corp.microsoft.com (157.54.79.174) by TK5-EXGWY-E803.partners.extranet.microsoft.com (10.251.56.169) with Microsoft SMTP Server (TLS) id 8.2.176.0; Sat, 30 Apr 2011 11:01:40 -0700
Received: from TK5EX14MBXC131.redmond.corp.microsoft.com ([169.254.10.25]) by TK5EX14MLTC103.redmond.corp.microsoft.com ([157.54.79.174]) with mapi id 14.01.0289.008; Sat, 30 Apr 2011 11:01:40 -0700
From: Spencer Shepler <sshepler@microsoft.com>
To: "nfsv4@ietf.org" <nfsv4@ietf.org>
Thread-Topic: [nfsv4] [LNFS] Meeting Notes for 04/29/11
Thread-Index: AQHMBqkiTxAfRRN6Z0qHOk3hZQbbi5R1SAtggAHXaoD//5SFAA==
Date: Sat, 30 Apr 2011 18:01:39 +0000
Message-ID: <C9E19C5D.C098%sshepler@microsoft.com>
In-Reply-To: <6A059EEE-836E-49AC-9BF9-564ACE1C7151@netapp.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.35]
Content-Type: multipart/alternative; boundary="_000_C9E19C5DC098ssheplermicrosoftcom_"
MIME-Version: 1.0
Subject: Re: [nfsv4] [LNFS] Meeting Notes for 04/29/11
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 30 Apr 2011 18:01:41 -0000

--_000_C9E19C5DC098ssheplermicrosoftcom_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable


Thanks for the list, Tom.  Looks like we are lining up for a great discussi=
on at our meeting in Quebec.

Spencer

From: Tom Haynes <thomas@netapp.com<mailto:thomas@netapp.com>>
Date: Sat, 30 Apr 2011 12:26:19 -0500
To: Spencer Shepler <sshepler@microsoft.com<mailto:sshepler@microsoft.com>>
Cc: "nfsv4@ietf.org<mailto:nfsv4@ietf.org>" <nfsv4@ietf.org<mailto:nfsv4@ie=
tf.org>>
Subject: Re: [nfsv4] [LNFS] Meeting Notes for 04/29/11


On Apr 29, 2011, at 3:19 PM, Spencer Shepler wrote:



Thanks for the notes, Tom, and the participation everyone.

Can you outline next steps for this work?
Any identified deliverables (documents, email, etc.), owners
and any times that may have been associated with them?

Thanks,
Spencer



1) Jarrett to report on what Trusted Solaris does when a MAC label is
changed on a local filesystem.

2) David Black to provide feedback on Nico's proposed text for
RPCSEC_GSSv3.

3) Nico to provide a new draft of RPCSEC_GSSv3:

a) XDR changes found by some implementation experience
b) Added client and server expectations, dependent on 2) above.

4) Tom to propose text to do the following:

a) Handle the CB and provide rational for the use with the 'Simple security=
 label storage'
b) Describe the authentication process between the DS and MDS.

5) Tom, find some owners for items in https://github.com/loghyr/LabeledNFS/=
blob/master/issues.txt

a) Start mailing individual items to the WG.
b) See who responds.


--_000_C9E19C5DC098ssheplermicrosoftcom_
Content-Type: text/html; charset="us-ascii"
Content-ID: <64AEC01CFCB7AD4DBA3EB029AF8FAE85@microsoft.com>
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
</head>
<body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin=
e-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-fami=
ly: Calibri, sans-serif; ">
<div><br>
</div>
<div>Thanks for the list, Tom. &nbsp;Looks like we are lining up for a grea=
t discussion at our meeting in Quebec.</div>
<div><br>
</div>
<div>Spencer</div>
<div><br>
</div>
<span id=3D"OLK_SRC_BODY_SECTION">
<div style=3D"font-family:Calibri; font-size:11pt; text-align:left; color:b=
lack; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM:=
 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid;=
 BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style=3D"font-weight:bold">From: </span>Tom Haynes &lt;<a href=3D"mai=
lto:thomas@netapp.com">thomas@netapp.com</a>&gt;<br>
<span style=3D"font-weight:bold">Date: </span>Sat, 30 Apr 2011 12:26:19 -05=
00<br>
<span style=3D"font-weight:bold">To: </span>Spencer Shepler &lt;<a href=3D"=
mailto:sshepler@microsoft.com">sshepler@microsoft.com</a>&gt;<br>
<span style=3D"font-weight:bold">Cc: </span>&quot;<a href=3D"mailto:nfsv4@i=
etf.org">nfsv4@ietf.org</a>&quot; &lt;<a href=3D"mailto:nfsv4@ietf.org">nfs=
v4@ietf.org</a>&gt;<br>
<span style=3D"font-weight:bold">Subject: </span>Re: [nfsv4] [LNFS] Meeting=
 Notes for 04/29/11<br>
</div>
<div><br>
</div>
<div>
<div style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line=
-break: after-white-space; ">
<br>
<div>
<div>On Apr 29, 2011, at 3:19 PM, Spencer Shepler wrote:</div>
<br class=3D"Apple-interchange-newline">
<blockquote type=3D"cite"><span class=3D"Apple-style-span" style=3D"border-=
collapse: separate; font-family: Helvetica; font-style: normal; font-varian=
t: normal; font-weight: normal; letter-spacing: normal; line-height: normal=
; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; =
widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webk=
it-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; =
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: =
medium; ">
<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1" style=3D"page: WordSection1; ">
<div style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; =
margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "=
>
<span style=3D"font-size: 11pt; color: rgb(31, 73, 125); font-family: Calib=
ri, sans-serif; "><o:p>&nbsp;</o:p></span></div>
<div style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; =
margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "=
>
<span style=3D"font-size: 11pt; color: rgb(31, 73, 125); font-family: Calib=
ri, sans-serif; "><o:p>&nbsp;</o:p></span></div>
<div style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; =
margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "=
>
<span style=3D"font-size: 11pt; color: rgb(31, 73, 125); font-family: Calib=
ri, sans-serif; ">Thanks for the notes, Tom, and the participation everyone=
.<o:p></o:p></span></div>
<div style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; =
margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "=
>
<span style=3D"font-size: 11pt; color: rgb(31, 73, 125); font-family: Calib=
ri, sans-serif; "><o:p>&nbsp;</o:p></span></div>
<div style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; =
margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "=
>
<span style=3D"font-size: 11pt; color: rgb(31, 73, 125); font-family: Calib=
ri, sans-serif; ">Can you outline next steps for this work?<o:p></o:p></spa=
n></div>
<div style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; =
margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "=
>
<span style=3D"font-size: 11pt; color: rgb(31, 73, 125); font-family: Calib=
ri, sans-serif; ">Any identified deliverables (documents, email, etc.), own=
ers<o:p></o:p></span></div>
<div style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; =
margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "=
>
<span style=3D"font-size: 11pt; color: rgb(31, 73, 125); font-family: Calib=
ri, sans-serif; ">and any times that may have been associated with them?<o:=
p></o:p></span></div>
<div style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; =
margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "=
>
<span style=3D"font-size: 11pt; color: rgb(31, 73, 125); font-family: Calib=
ri, sans-serif; "><o:p>&nbsp;</o:p></span></div>
<div style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; =
margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "=
>
<span style=3D"font-size: 11pt; color: rgb(31, 73, 125); font-family: Calib=
ri, sans-serif; ">Thanks,<o:p></o:p></span></div>
<div style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; =
margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "=
>
<span style=3D"font-size: 11pt; color: rgb(31, 73, 125); font-family: Calib=
ri, sans-serif; ">Spencer<o:p></o:p></span></div>
<div style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; =
margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "=
>
<span style=3D"font-size: 11pt; color: rgb(31, 73, 125); font-family: Calib=
ri, sans-serif; "><o:p>&nbsp;</o:p></span></div>
</div>
</div>
</span></blockquote>
<br>
</div>
<div><br>
</div>
<div>1) Jarrett to report on what Trusted Solaris does when a MAC label is<=
/div>
<div>changed on a local filesystem.</div>
<div><br>
</div>
<div>2) David Black to provide feedback on Nico's proposed text for</div>
<div>RPCSEC_GSSv3.</div>
<div><br>
</div>
<div>3) Nico to provide a new draft of RPCSEC_GSSv3:</div>
<div><br>
</div>
<div>a) XDR changes found by some implementation experience</div>
<div>b) Added client and server expectations, dependent on 2) above.</div>
<div><br>
</div>
<div>4) Tom to propose text to do the following:</div>
<div><br>
</div>
<div>a) Handle the CB and provide rational for the use with the 'Simple sec=
urity label storage'</div>
<div>b) Describe the authentication process between the DS and MDS.</div>
<div><br>
</div>
<div>5) Tom, find some owners for items in <a href=3D"https://github.com/lo=
ghyr/LabeledNFS/blob/master/issues.txt">
https://github.com/loghyr/LabeledNFS/blob/master/issues.txt</a></div>
<div><br>
</div>
<div>a) Start mailing individual items to the WG.</div>
<div>b) See who responds.&nbsp;</div>
<br>
</div>
</div>
</span>
</body>
</html>

--_000_C9E19C5DC098ssheplermicrosoftcom_--
