Re: [Tzdist] Stephen Farrell's No Objection on draft-ietf-tzdist-service-09: (with COMMENT)

Stephen Farrell <stephen.farrell@cs.tcd.ie> Tue, 14 July 2015 19:43 UTC

Return-Path: <stephen.farrell@cs.tcd.ie>
X-Original-To: tzdist@ietfa.amsl.com
Delivered-To: tzdist@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8C2391B2B6C; Tue, 14 Jul 2015 12:43:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.311
X-Spam-Level:
X-Spam-Status: No, score=-4.311 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 7aiHrNW-8233; Tue, 14 Jul 2015 12:42:59 -0700 (PDT)
Received: from mercury.scss.tcd.ie (mercury.scss.tcd.ie [134.226.56.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BBCC31B2B14; Tue, 14 Jul 2015 12:42:58 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id B0C40BE4D; Tue, 14 Jul 2015 20:42:56 +0100 (IST)
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from mercury.scss.tcd.ie ([127.0.0.1]) by localhost (mercury.scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u9sWBU6QI-2e; Tue, 14 Jul 2015 20:42:55 +0100 (IST)
Received: from [10.87.48.73] (unknown [86.46.19.158]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id 1846CBE49; Tue, 14 Jul 2015 20:42:55 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; s=mail; t=1436902975; bh=0PmIt0EacsM58WHiCkjEIalWw0z6FdRJO8caJEcDtKY=; h=Date:From:To:CC:Subject:References:In-Reply-To:From; b=2i16RfzMin38rmJ8PEZcdE6euId5K8NLsvlGxQtnEH5eeTMSoY3peqEtqPkqgcgia l5MQ3NjVmIbt/bXSpBvM7D78Mrh45p1D2kZ6bpqsrfoqLK3kVPOKMfJpV7/aKswc1c qEv0g4B9ueK/aJuXT2R6E/0NnJMeE+7NqqV5vdyc=
Message-ID: <55A5663E.7020502@cs.tcd.ie>
Date: Tue, 14 Jul 2015 20:42:54 +0100
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: Cyrus Daboo <cyrus@daboo.name>, The IESG <iesg@ietf.org>
References: <20150708181735.1730.13184.idtracker@ietfa.amsl.com> <B9B1C722D0299B3047FFF172@cyrus.local>
In-Reply-To: <B9B1C722D0299B3047FFF172@cyrus.local>
OpenPGP: id=D66EA7906F0B897FB2E97D582F3C8736805F8DA2; url=
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/tzdist/9BAWOPbaCj7dAOSO2t48BTsRzDk>
Cc: draft-ietf-tzdist-service.ad@ietf.org, draft-ietf-tzdist-service@ietf.org, draft-ietf-tzdist-service.shepherd@ietf.org, tzdist-chairs@ietf.org, tzdist@ietf.org, mglt.ietf@gmail.com
Subject: Re: [Tzdist] Stephen Farrell's No Objection on draft-ietf-tzdist-service-09: (with COMMENT)
X-BeenThere: tzdist@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <tzdist.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tzdist>, <mailto:tzdist-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tzdist/>
List-Post: <mailto:tzdist@ietf.org>
List-Help: <mailto:tzdist-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tzdist>, <mailto:tzdist-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Jul 2015 19:43:01 -0000

Hiya,

On 14/07/15 20:37, Cyrus Daboo wrote:
> Hi Stephen,
> Sorry, only now getting around to replying to this...

No problem. And all your responses/suggestions seems fine to
me,

Thanks,
S.

> 
> --On July 8, 2015 at 11:17:35 AM -0700 Stephen Farrell
> <stephen.farrell@cs.tcd.ie> wrote:
> 
>> - 62 pages! urgh;-) But it's actually a pretty good spec, just
>> be nice if it were shorter.
> 
> The days of 10 page specs are long gone! Examples, formal syntax,
> registration templates, all add to the overall size. Really the key
> descriptive text is only 20 pages long (Sections 1 - 4, & 8 & 9) and the
> reset are details relevant to someone actually doing an implementation
> (i.e., formal syntax).
> 
>> - 4.2.1.2 - I don't get why HTTP authentication (401 etc) is
>> being used here. Is it that you want personalisation but you're
>> hacking that via HTTP authentication? I'd argue that not trying
>> for that via the TXT RR scheme would be better, that is, to say
>> that you don't get personalisation when you use a TXT RR to get
>> the path. Or just say the server can try set a cookie if it
>> wants personalisation. I can't see that clients here will
>> sensibly handle HTTP authentication in any case (well, not
>> unless you adopt something like RFC7486:-) - for example, how
>> would a HTTP UA pick a username here? (The same comment applies
>> to all HTTP authentication uses in the draft.)
> 
> Sections 4.2.1.2 and 4.2.1.3 both state:
> 
>    To facilitate "context path's" that might differ from user to user,
> 
> I think "differing" context paths are very unlikely. The more likely
> case is already described in Section 8:
> 
>    Servers MAY require some form of authentication or authorization of
>    clients (including secondary servers), as per [RFC7235], to restrict
>    which clients are allowed to access their service, or provide better
>    identification of problematic clients.
> 
> I would be OK with changing the 4.2.1.2 and 4.2.1.3 text to something like:
> 
>    As per Section 8, servers MAY require authentication when a client
>    tries to access the ".well-known" URI (i.e., the server would return a
>    401 status response to the unauthenticated request from the client,
>    then return the redirect response after a successful authentication by
>    the client).
> 
> 
> 
>> - 4.2.1.3 - maybe useful to point forward to section 8 here
>> and/or say that you can't go from TLS to port 80 via the
>> .well_known 3xx.
> 
> OK, I can add text and a reference for that.
> 
>> - 4.2.2.1 - it'd have been nice to indicate the amount of data
>> that'd be downloaded here just so's some developer doesn't make
>> a bad assumption about when it's ok to do this.
> 
> Well of course that ultimately depends on the source of the time zone
> data. My current implementation, which uses the IANA tz db, generates
> about 50KB of uncompressed JSON response. I can add a sentence:
> 
>    A typical "list" action response size is about 50 KB of "pretty
>    printed" JSON data, for a service using the IANA time zone database
>    [RFC6557], as of the time of publication of this specification.
> 
>> - section 8, 2ndary-primary MUST use TLS - thanks! And for the
>> SHOULD use for client-server.
>>
>> - section 9: thanks!
> 
> I should point out that Daniel Kahn Gillmor did a thorough
> security/privacy review resulting in a lot of changes to those sections.
> (And in pointing this out I see that I missed listing him in the Ack
> section so I will fix that.)
>