Re: [Ecrit] I-D Action: draft-ietf-ecrit-car-crash-10.txt
Randall Gellens <rg+ietf@randy.pensive.org> Thu, 22 September 2016 21:46 UTC
Return-Path: <rg+ietf@randy.pensive.org>
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 6DD4C12BB86 for <ecrit@ietfa.amsl.com>; Thu, 22 Sep 2016 14:46:39 -0700 (PDT)
X-Quarantine-ID: <Mbuu-edYHTPG>
X-Virus-Scanned: amavisd-new at amsl.com
X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "MIME-Version"
X-Spam-Flag: NO
X-Spam-Score: -4.216
X-Spam-Level:
X-Spam-Status: No, score=-4.216 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-2.316] autolearn=ham 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 Mbuu-edYHTPG for <ecrit@ietfa.amsl.com>; Thu, 22 Sep 2016 14:46:37 -0700 (PDT)
Received: from turing.pensive.org (turing.pensive.org [99.111.97.161]) by ietfa.amsl.com (Postfix) with ESMTP id 6FA5512BB70 for <ecrit@ietf.org>; Thu, 22 Sep 2016 14:46:37 -0700 (PDT)
Received: from [99.111.97.136] (99.111.97.161) by turing.pensive.org with ESMTP (EIMS X 3.3.9); Thu, 22 Sep 2016 14:46:36 -0700
Mime-Version: 1.0
Message-Id: <p0624060cd409f3ccca4a@[99.111.97.136]>
In-Reply-To: <6340414c-9e49-0234-69a1-2e4bd346225d@alum.mit.edu>
References: <147449984691.14574.14733945301450103878.idtracker@ietfa.amsl.com> <728511ac-d655-936c-4044-2bf65a943f95@alum.mit.edu> <p06240600d409b441e5b4@[99.111.97.136]> <6340414c-9e49-0234-69a1-2e4bd346225d@alum.mit.edu>
X-Mailer: Eudora for Mac OS X
Date: Thu, 22 Sep 2016 14:46:34 -0700
To: Paul Kyzivat <pkyzivat@alum.mit.edu>
From: Randall Gellens <rg+ietf@randy.pensive.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
X-Random-Sig-Tag: 1.0b28
X-Random-Sig-Tag: 1.0b28
X-Random-Sig-Tag: 1.0b28
X-Random-Sig-Tag: 1.0b28
Archived-At: <https://mailarchive.ietf.org/arch/msg/ecrit/IngKSGDcM_tKVV7l4WL-C0AkRy8>
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 21:46:39 -0000
At 3:08 PM -0400 9/22/16, Paul Kyzivat wrote: > 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. Sorry, I missed that you were replying to -10; I'd incorrectly assumed you were replying to -12. > >> 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. That was fixed in -12. I'm about to upload -13, which fixes the C-D issues. I also added text to clarify that "handling=optional" is only used in the initial INVITE, to protect the INVITE from being rejected if it is processed by a legacy element (such as a gateway between SIP and CS) that does not understand an MSD. I fixed the examples to comply. > > 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 -- Randall Gellens Opinions are personal; facts are suspect; I speak for myself only -------------- Randomly selected tag: --------------- After years of disclosures by government investigations, media accounts, and reports from human rights organizations, there is no longer any doubt as to whether the current [George W Bush] administration has committed war crimes. The only question that remains to be answered is whether those who ordered the use of torture will be held to account. -- Major General Anthony Taguba, US Army (ret)
- 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