Re: Last Call: <draft-housley-implementer-obligations-01.txt> (Expectations of Implementers of IETF Protocols) to Informational RFC

Brian E Carpenter <brian.e.carpenter@gmail.com> Sat, 10 May 2014 20:32 UTC

Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EE79E1A00D7 for <ietf@ietfa.amsl.com>; Sat, 10 May 2014 13:32:01 -0700 (PDT)
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 wk69chE9c91F for <ietf@ietfa.amsl.com>; Sat, 10 May 2014 13:32:00 -0700 (PDT)
Received: from mail-pa0-x22a.google.com (mail-pa0-x22a.google.com [IPv6:2607:f8b0:400e:c03::22a]) by ietfa.amsl.com (Postfix) with ESMTP id EEC501A00C9 for <ietf@ietf.org>; Sat, 10 May 2014 13:31:59 -0700 (PDT)
Received: by mail-pa0-f42.google.com with SMTP id rd3so5817388pab.1 for <ietf@ietf.org>; Sat, 10 May 2014 13:31:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:organization:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=hvWkv3uY8duWZkGkak4VBAircFcy/NZy95SZvz/U4A4=; b=0iQwzWBdrV79vlqUefWxXuy93fNfT8pl2BEk7JPS7jIIhF6tYb/aohluJLVmBqeM49 5nyc5lmFIVXdOtGqFJBp/ufJnFTR38MP8xVNL0WqDMFh5lDk+2QTn2OOszE6mkZIqTfi llM2fVdvShORCdL83IsrKfPhScCOjKfThOOPMx//hQY4G+vBKDM/7sRtMkFiL/hhId/7 6Pc3rZicBFjG+jzg7jXVuUSNNJ4kHT+uWjS/HVN3Uynqb8tWdvCfv0kOb73Be/V+UBtn kiYuqRORZMXfTrO2CJ9hnGLHh35ljl2qZ/geesqYnFuMkAaULQ32srwW+fyU8pjKfuq4 ZifA==
X-Received: by 10.66.139.38 with SMTP id qv6mr36236792pab.123.1399753914695; Sat, 10 May 2014 13:31:54 -0700 (PDT)
Received: from [192.168.178.20] (115.199.69.111.dynamic.snap.net.nz. [111.69.199.115]) by mx.google.com with ESMTPSA id pq3sm14337103pbb.57.2014.05.10.13.31.52 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 10 May 2014 13:31:53 -0700 (PDT)
Message-ID: <536E8CB1.7060802@gmail.com>
Date: Sun, 11 May 2014 08:31:45 +1200
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: adrian@olddog.co.uk
Subject: Re: Last Call: <draft-housley-implementer-obligations-01.txt> (Expectations of Implementers of IETF Protocols) to Informational RFC
References: <20140509191841.18372.97889.idtracker@ietfa.amsl.com> <06a301cf6c7e$770e51e0$652af5a0$@olddog.co.uk>
In-Reply-To: <06a301cf6c7e$770e51e0$652af5a0$@olddog.co.uk>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/ietf/_M4BcHHEE_boA9DlZqwq_zfEHQc
Cc: ietf@ietf.org
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 10 May 2014 20:32:02 -0000

Hi Adrian,

On 11/05/2014 06:34, Adrian Farrel wrote:
> While I appreciate the effort the author put in to resolve previous
> discussions, I do not support the publication of this document.
> 
> The thrust of my previous comments were to say "It is all platitude, 
> but probably harmless" and "at whom is this document aimed". This 
> review is in a little more detail. I still find the whole document to
> be one big platitude that does not need to be published, 

I can certainly see how you could reach that view, but I think you're
looking at it from the viewpoint of somebody who's been around the
IETF for a long time and knows what we do here and why we do it.

I like to think of somebody else: a young programmer working far,
far away, who will probably never attend an IETF meeting or join
an IETF mailing list. For this person, we need to state things that
are obvious to us. For example:

"It is not sufficient to do an initial implementation of the protocol.
 Maintenance is needed to apply changes as the come out in the future,
 especially to fix security issues that are found after the initial
 publication of a protocol specification."

That isn't a trivial statement. It says that a protocol design may have
zero-day vulnerabilities and if you implement it, it's your job to
watch out for future updates and apply them. Is that going to be obvious
to someone starting a garage company in Africa?

I think the document is valuable.

One specific comment: I think it should be mentioned that implementers
should always read the references cited in a specification, especially
but not only the normative references, and apply them as relevant.

I also suggest mentioning implementation of extensions. Faulty extensions
are harmful to interoperability and security. We have a couple of RFCs
about that too (4775 and 6709).

   Brian

> but I have also
> found a number of things that I think need to be fixed.
> 
> ---
> 
> This document significantly conflates advice to implementers wishing to
> ensure interoperability, best practice for people claiming to have
> implemented (i.e., claiming conformance to) a specification, and 
> constraints to the freedom for implementers of IETF specifications.
> 
> As the text notes, IETF specifications (please don't call them standards
> unless that is what you really mean) are not mandatory to implement. So
> the text really must not tell people what they must or must not do. For
> example, the Abstract says "By choosing to implement..." This is
> nonsense! I can choose to do what I like. If I choose to implement stuff
> and tweak it and make it better, that is entirely my choice. 
> Maybe you could have said "By claiming to have implemented..." But even
> that is marginal. We are not the Internet Police and we have no 
> influence in the world of advertising or marketing. Nor do we run 
> conformance labs. This attempt at constraining implementations is bogus
> and needs to be removed from the document.
> 
> As far as interoperability is concerned, it is great to give concrete
> advice. When the Introduction says
>    This document provides advice to implementers of IETF protocols to
>    improve interoperability of their implementations.
> it would be wonderful if the document lived up to the claim. But this
> claim seems to be at odds with the document Title and Abstract and all
> I find in the document is effectively "If you want two implementations
> to interoperate, they need to implement the same thing." Well, if that
> comes as a surprise to anyone perhaps they are in the wrong business.
> 
> So what is the document actually trying to do and say, and to whom?
> 
> ---
> 
> The document also contains a lot of passive voice that hides the
> motivation for the text. For example, the Abstract says "...one is
> expected..." Expected by whom? Why? Perhaps you can attribute the 
> expectation to make this meaningful.
> 
> ---
> 
> Introduction
> "IETF protocols foster interoperability."
> I don't believe this is true. A protocol cannot of itself achieve this.
> Possibly the clear specification of a consensus-based protocol can do
> that. Possibly.
> 
> ---
> 
> Introduction
>    Yet, IETF standards are
>    voluntary standards.  No one is required to implement them.
>    Implementation is a choice.  By making this choice, an implementer is
>    expected to:
> 
>       (1) Follow the protocol specification;
> 
> Please clarify "IETF standards" since you almost certainly don't mean 
> what you have written.
> 
> But note that this text is circular. Implementation of a specification 
> is, by definition, following the specification. So this text doesn't
> say anything! It is the *claim* of implementation that has an 
> expectation attached to it. What I do in the darkness of my own room is
> not a matter for anyone's expectations.
> 
> ---
> 
> Introduction
> 
>    When implementers meet these expectations, protocols interoperate as
>    intended by the IETF.
> 
> This is a mixed message. Are you trying to set out the expectations on
> people who implement (or claim implementation), or are you giving advice
> on how to achieve interoperability?
> 
> ---
> 
> Section 2
> 
>    An implementer needs to maintain their implementation
>    into the future.  It is not sufficient to do an initial
>    implementation of the protocol.  One needs to apply changes as they
>    come out.
> 
> While the example given is highly desirable, it does not go as far as 
> "needs to". An implementation is a snapshot, a moment in specification
> history, and is correctly described as such. There is no moral or other
> binding on the implementer to make a change, just as there was no 
> requirement that the implementer select a particular specification to
> implement.
> 
> When I implement a protocol as specified in an RFC I am not making a 
> commitment to update my implementation to fix bugs in the specification
> or to add features.
> 
> Furthermore, not all protocol extensions are desirable in all 
> environments. There is no requirement for an implementer to add a widget
> as there is no requirement for an implementer to implement version 2 of
> a protocol or to pick up fixes to version 1.
> 
> ---
> 
> Section 3
> 
> I am not comfortable with this attempt to define the purpose and meaning
> of BCPs over and above RFC 2026. The statements in this section might 
> reflect how BCPs have been used in the past, but this text is too strong
> in the way it looks to the future. It might be appropriate to put this 
> into the past tense...
> 
>    Best Current Practices (BCPs) about IETF protocols (not the BCPs that
>    define IETF processes and procedures) have often been used to 
>    document IETF consensus about operational or implementation practices
>    pertaining to IETF protocols.
> 
> By *your* definition of BCP, why is this document not a BCP?
> 
> ---
> 
> Section 3
> 
>    By following the BCPs,
>    implementers, operators, and administrators are able to provide a
>    common experience when using the protocol, regardless of their point
>    of attachment to the Internet.
> 
> Do you mean "provide" or "obtain". If "provide" then provide to whom?
> 
> ---
> 
> Section 3
> 
>    Sometimes BCPs are referenced in the protocol specification.  Often
>    the implementer needs to look through the BCP index to find related
>    BCPs.
> 
> The implication here might be that by checking the list of BCPs an
> implementer will find all of the relevant advice and guidance outside the
> specification itself. This is not true. There are plenty of 
> Informational RFCs describing ways to build and deploy protocols. And 
> there is this (under-used) thing called an Applicability Statement
> [RFC 2026 - section 3.2].
> 
> Adrian
> 
>