Re: [Ecrit] I-D Action: draft-ietf-ecrit-car-crash-10.txt
Paul Kyzivat <pkyzivat@alum.mit.edu> Thu, 22 September 2016 19:08 UTC
Return-Path: <pkyzivat@alum.mit.edu>
X-Original-To: ecrit@ietfa.amsl.com
Delivered-To: ecrit@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6044912B535 for <ecrit@ietfa.amsl.com>; Thu, 22 Sep 2016 12:08:40 -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=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_SOFTFAIL=0.665] autolearn=no autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x2kQMMJsL5zW for <ecrit@ietfa.amsl.com>; Thu, 22 Sep 2016 12:08:39 -0700 (PDT)
Received: from resqmta-po-10v.sys.comcast.net (resqmta-po-10v.sys.comcast.net [IPv6:2001:558:fe16:19:96:114:154:169]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 10FB912B469 for <ecrit@ietf.org>; Thu, 22 Sep 2016 12:08:38 -0700 (PDT)
Received: from resomta-po-08v.sys.comcast.net ([96.114.154.232]) by resqmta-po-10v.sys.comcast.net with SMTP id n9LabhIJoHqoln9MLboB1L; Thu, 22 Sep 2016 19:08:37 +0000
Received: from [192.168.1.110] ([73.186.127.100]) by resomta-po-08v.sys.comcast.net with SMTP id n9MKbRENlnH9On9MKbDOJr; Thu, 22 Sep 2016 19:08:37 +0000
To: Randall Gellens <rg+ietf@randy.pensive.org>
References: <147449984691.14574.14733945301450103878.idtracker@ietfa.amsl.com> <728511ac-d655-936c-4044-2bf65a943f95@alum.mit.edu> <p06240600d409b441e5b4@[99.111.97.136]>
From: Paul Kyzivat <pkyzivat@alum.mit.edu>
Message-ID: <6340414c-9e49-0234-69a1-2e4bd346225d@alum.mit.edu>
Date: Thu, 22 Sep 2016 15:08:36 -0400
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <p06240600d409b441e5b4@[99.111.97.136]>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
X-CMAE-Envelope: MS4wfJS6tZU1qXTDsY1hYS1eZoo3j07cTAUzI4/oItDs2/6otlly5PAjI9oYXmlmF7yQ1AOE+n4LHhHucciY3iho/wSMK1ITEZZqFCjTYyB71lzVVNFKTQAL pmXQCa6bcPhanvkKNxR5O7LoC1KetEOaEpWGcEhIMdQdW/AKOXrNkMpzKyZ9YhwFZMmcoKvJu0F0wjxHm9uH5zM/5sHetXwX0WI=
Archived-At: <https://mailarchive.ietf.org/arch/msg/ecrit/RAldC0B_qHHGnmAheEUvAhs0sis>
Cc: ECRIT <ecrit@ietf.org>
Subject: Re: [Ecrit] I-D Action: draft-ietf-ecrit-car-crash-10.txt
X-BeenThere: ecrit@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: <ecrit.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ecrit>, <mailto:ecrit-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ecrit/>
List-Post: <mailto:ecrit@ietf.org>
List-Help: <mailto:ecrit-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ecrit>, <mailto:ecrit-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 22 Sep 2016 19:08:40 -0000
Randall, (Including ecrit) On 9/22/16 12:26 PM, Randall Gellens wrote: > Hi Paul, > > Thanks very much for the quick review and comments. I'm making other > changes requested by Christer, and I want to fix the ones you found as > well. > > Section 12 is the Security Considerations. In the -10 version I am looking at section 12 is Examples. > Did you mean Section 11, the > Examples? Or maybe Figure 10 (one of the examples)? More to the point > on correct C-D, there's text in Section 6 that says: > > If the body part > containing the MSD or metadata/control block is the only body part, > it has a Content-Disposition header field value of "Info-Package; > handling=optional". If it is contained within a multipart body part, > it has a Content-Disposition header field value of "By-Reference; > handling=optional". > > So this is wrong? What should it say? That text seems ok, at least for this case. IIUC it isn't discussing the C-D *on* the multipart/mixed container. It is discussing parts *within* the multipart. Those seem to be correctly tagged. The "Info-Package" C-D is only applicable for an INFO message. Since this isn't an INFO message it makes no sense to use it. The authoritative document on this stuff is RFC5621. However it is silent on what C-D used be used for multipart containers. So it is necessary to read between the lines to figure that out. 1) Consider an ordinary INFO message. It will have a body with C-D of "Info-Package", indicating that it is to be processed as the package for this INFO. 2) Next, add a header that needs to reference a body part, such as geolocation. Now we have two body parts, and need a multipart wrapper to contain them. One body part has C-D of "Info-Package" for the INFO, and the other has C-D of "by-reference" because it is referenced by the geolocation header. The multipart that wraps them needs *some* C-D. IMO it shouldn't be Info-Package because that would imply that the whole thing is to be used by the INFO message. It shouldn't be "by-reference" because it isn't referenced by anything. It is really processed in a special way, and we have no special C-D value to signify this. If omitted it will default to C-D:render,handling=required. Having it be required is appropriate in this case, since the handling of the info package is also required. The "render" value seems as good as any, since the contained parts have their own dispositions and "rendering" a multipart independent of its contents also seems to have no meaning. 3) A similar situation to (2) holds for INVITE. In this case of an SDP, the default C-D is "session". 4) For some message that doesn't require a body part for its own processing (e.g., UPDATE) and a single header with a CID reference. Then there will be no multipart - just the referenced part. It will still have a C-D of by-reference. 5) A message with no body part of its own, but multiple CID references from headers to body parts, will need a multipart body containing the referenced body parts. It will be much like (2) but without the Info-Package part. > Section 10 (the INFO package registration) says: > > If the body part is the only body > part, it has a Content-Disposition header field value of "INFO- > Package; handling=optional". If the body part is contained within a > multipart body part, it has a Content-Disposition header field value > of "By-Reference; handling=optional" (the top-level multipart body > part has "INFO-Package" in its Content-Disposition value). > > So this is also wrong, especially the parenthetical statement that the > top-level has a C-D of INFO-Package? What should it say? Hopefully the above is sufficient. > Also, when you say "let it default to render" you mean just omit the C-D > header field? Yes. But that must be done with care, since it implies handling=required. If processing of the headers with references isn't required then that ought to be changed to handling=optional. Thanks, Paul
- Re: [Ecrit] I-D Action: draft-ietf-ecrit-car-cras… Paul Kyzivat
- [Ecrit] I-D Action: draft-ietf-ecrit-car-crash-10… internet-drafts
- Re: [Ecrit] I-D Action: draft-ietf-ecrit-car-cras… Paul Kyzivat
- Re: [Ecrit] I-D Action: draft-ietf-ecrit-car-cras… Randall Gellens
- Re: [Ecrit] I-D Action: draft-ietf-ecrit-car-cras… Paul Kyzivat
- Re: [Ecrit] I-D Action: draft-ietf-ecrit-car-cras… Randall Gellens