Re: [Gen-art] genART review of draft-ietf-cdni-logging-15

Martin Thomson <martin.thomson@gmail.com> Thu, 05 March 2015 18:56 UTC

Return-Path: <martin.thomson@gmail.com>
X-Original-To: gen-art@ietfa.amsl.com
Delivered-To: gen-art@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CDF991A7022 for <gen-art@ietfa.amsl.com>; Thu, 5 Mar 2015 10:56:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
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 43sIxOZiuEjs for <gen-art@ietfa.amsl.com>; Thu, 5 Mar 2015 10:56:12 -0800 (PST)
Received: from mail-ob0-x22c.google.com (mail-ob0-x22c.google.com [IPv6:2607:f8b0:4003:c01::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6B1981A1DFA for <gen-art@ietf.org>; Thu, 5 Mar 2015 10:56:12 -0800 (PST)
Received: by obcwp18 with SMTP id wp18so4497086obc.1 for <gen-art@ietf.org>; Thu, 05 Mar 2015 10:56:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=Hx8lUXDwyuRPlFw8iagC9ROGdqNzyMPI1jAZr81Iqns=; b=pGVS/3UUcbsoBdWapbjrLboxnlouhRb8SKUzGDD2dftY9/0AQLRY1mMe/BmebY1vgg 3npUxjoBRRr8THLwoq8C/CnoHaIcZK3vANpiuGEd0xizTIfl3lIhHfhIn/R8pAQH4rUe gqdv0Fp7wnodCiJFTZgkpMaIRIe+ToSj8sL/h5Z5IEakgmppgaPynIOWRfUWg+411OvU wfznWrh5/Ctvf+B/2VU8kxvvu1xr7nP2jg+GkhrtJdCaQ4a0vAjQbjw1fvQZsRepMwkN CqRAYlC32AFS6SuClwJxL4fQhJ5fXsYXUqSH6E7+Bn9l5B9wF1YFSI2Jc/oDrnNk6QZ/ IXsg==
MIME-Version: 1.0
X-Received: by 10.60.133.203 with SMTP id pe11mr7978534oeb.26.1425581771952; Thu, 05 Mar 2015 10:56:11 -0800 (PST)
Received: by 10.202.225.135 with HTTP; Thu, 5 Mar 2015 10:56:11 -0800 (PST)
In-Reply-To: <4F65313A-88D3-45AD-8B2B-A4C60714167B@cisco.com>
References: <CABkgnnU95w0SzS+PVZL0Lh0bCjfKr7DwYp0xajJ8-WBKnmao6w@mail.gmail.com> <CABkgnnXB73bvJ5KauMwveCNxcVof=r+ydEPZpDLCviob788exw@mail.gmail.com> <4F65313A-88D3-45AD-8B2B-A4C60714167B@cisco.com>
Date: Thu, 05 Mar 2015 10:56:11 -0800
Message-ID: <CABkgnnX5ZvyH1x15wK=aoGXuybQcrq2_5_gTf6-=wjaqJVcrEA@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: "Francois Le Faucheur (flefauch)" <flefauch@cisco.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/gen-art/5soqUbtlbXgqXh8zSL64yoH4kwc>
Cc: "gen-art@ietf.org" <gen-art@ietf.org>, "draft-ietf-cdni-logging.all@tools.ietf.org" <draft-ietf-cdni-logging.all@tools.ietf.org>
Subject: Re: [Gen-art] genART review of draft-ietf-cdni-logging-15
X-BeenThere: gen-art@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "GEN-ART: General Area Review Team" <gen-art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/gen-art>, <mailto:gen-art-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/gen-art/>
List-Post: <mailto:gen-art@ietf.org>
List-Help: <mailto:gen-art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/gen-art>, <mailto:gen-art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Mar 2015 18:56:15 -0000

On 5 March 2015 at 07:21, Francois Le Faucheur (flefauch)
<flefauch@cisco.com> wrote:
...
> I have added this at the end of S3.3:
>
> NEW:
> “
> An uCDN-side implementation of the CDNI Logging interface MUST reject a CDNI
> Logging File that does not comply with the occurences specified above for
> each and every directive. For example, an uCDN-side implementation of the
> CDNI Logging interface receiving a CDNI Logging file with zero occurence of
> the Version directive, or with two occurences of the Integrity-hash, SHOULD
> reject this CDNI Logging File.
> "

That SHOULD needs to be qualified somehow.  Why would an
implementation ignore the SHOULD and not reject the file?


> And also edited the end of S3.4 as per the following:
>
> OLD:
> "
>  An uCDN-side implementation of the CDNI Logging interface MUST be
>    able to accept CDNI Logging Files with CDNI Logging Records of
>    Record-Type "cdni_http_request_v1" containing any CDNI Logging Field
>    defined in Section 3.4.1 as long as the CDNI Logging Record and the
>    CDNI Logging File are compliant with the present document.
> “
> NEW:
> “
>  An uCDN-side implementation of the CDNI Logging interface MUST be
>    able to accept CDNI Logging Files with CDNI Logging Records of
>    Record-Type "cdni_http_request_v1" containing any CDNI Logging Field
>    defined in Section 3.4.1 as long as the CDNI Logging Record and the
>    CDNI Logging File are compliant with the present document.
>
> In case, an uCDN-side implementation of the CDNI Logging interface receives
> a CDNI Logging File with HTTP Request Logging Records that do not contain
> field values for exactly the set of field names actually listed in the
> preceding “Fields” directive, the implementation SHOULD reject those HTTP
> Request Logging Records, and SHOULD accept the other HTTP Request Logging
> Records .
> "

Again, SHOULD is weak without some support.

> NEW:
> “
> The entity transmitting a CDNI Logging File as per the present document MUST
> set the value to "CDNI/1.0”. In the future, other versions of CDNI Logging
> File might be specified; those would use a value different to "CDNI/1.0”
> allowing the entity receiving the CDNI Logging File to identify the
> corresponding version.
> "

This doesn't tell a receiver what to do with "CDNI/1.1".  It needs to do that.

> NEW:
> "
>  The general TLS usage guidance in [I-D.ietf-uta-tls-bcp] SHOULD be
>    followed.
> “

In this case, a SHOULD is OK, I suppose.

> S 3.4.1
>   o  cs(<HTTP-header-name>):
> HTTP header fields, esp. in HTTP/2 can contain HTAB, even if that
> isn't permitted by the grammar.  You probably want to describe how
> that is handled.
>
>
> Since the value of the HTTP header is encoded as a “quoted string”
> (QSTRING), is it not OK to have a HTAB within the HTTP header value as long
> as it is properly bracketed by the Quotes?

Header field *names* aren't quoted.

My point was that even though this is a bug in the sender, you are
going to see these in the wild and they are going to screw up the
logging file.

> The document says that "client-side implementation of the CDNI Logging
> interface MAY pull, at its convenience, a CDNI Logging File “ using standard
> HTTP. Since range request is just a standard HTTP mechanism, the clien-side
> may use it if it sees fit.
> Do you feel it is worth specifically calling out that range requests can be
> used?
> No problem in doing that if you feel it is useful.

Nah, that's OK.