Re: [arch-d] I-D Action: draft-iab-protocol-maintenance-08.txt

Eric Rescorla <ekr@rtfm.com> Fri, 15 July 2022 00:46 UTC

Return-Path: <ekr@rtfm.com>
X-Original-To: architecture-discuss@ietfa.amsl.com
Delivered-To: architecture-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EA979C16ECF8 for <architecture-discuss@ietfa.amsl.com>; Thu, 14 Jul 2022 17:46:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level:
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=rtfm-com.20210112.gappssmtp.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wO2kGq_QXnTU for <architecture-discuss@ietfa.amsl.com>; Thu, 14 Jul 2022 17:46:45 -0700 (PDT)
Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 264E8C14F741 for <architecture-discuss@ietf.org>; Thu, 14 Jul 2022 17:46:45 -0700 (PDT)
Received: by mail-io1-xd2c.google.com with SMTP id n7so2797209ioo.7 for <architecture-discuss@ietf.org>; Thu, 14 Jul 2022 17:46:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Ym5IlHazDUA4cm7SzpqKNFmu8ztgySgD+A6/65lx//0=; b=lhnNCmFc3ByEYInA5K5aHGKyFMLGWijAahoNFEWgO0hEAViI/xPCmO6qq37B53CGIw A1TOGenAArNy764zXc76fbMpPMu+sK29f5XP4N6C4bgwvwmffFlSWppEsX2z3eNIKfrM aBRNr+ijgHfiDTaUOWX93Cw6YwQLFpi0D5IcAAYniZme5NKPonI1XkHzi5cs4J4IA0NH pb81JwMe3mPLCSoJD9+sx3gPdRT+PRW9JJJzUSlHlav4JOU6sf3EDhXUN6dBr47xj8cD z1IjJzm9V9Jh+gkJ42FmGgxyYaOPPaiPDKWVydYwZc1vcfN2iGCBzx/iFjFEasYTnW6W DRfw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Ym5IlHazDUA4cm7SzpqKNFmu8ztgySgD+A6/65lx//0=; b=FG+XcUW2WCSd0z6aMHODb9ovoLI7dgZq2CqCoqyR0nKnf53HWXElvQz5LI7+FsxkL+ p45fdlB0xXEYKNvZT/6sMLXjIDOvvNR8OZb8b9+Qr6ep35BpMV0azlXfRjgqUOx+IJNG hz17dqUIremE/onSymPqLi1fTPRwpbwBMPs1kYeDgkUaWvSKwCp2mOKzP5dIPWL0shdz CMlCrsO1klMNMdmnRPnw5ydj/YYhsSh/dHwBSx/KUqom5DHG8uDEBNqClDC/ToTwNgHN zOrfXFtz3tc0e0hhv3NezZ3FXvVHo3M+Iv0anNvziw5DKTYnd1GxPuDBwXDtRlZfttEH bK3g==
X-Gm-Message-State: AJIora+xyxo6li7K73C74xdjYMFoGLaf1mja2yXNflfOolOqO1tsZXv0 66sAYsa/qVxGZ1/0rtQNhja1WqX87n8HTkKWPTwiKQ==
X-Google-Smtp-Source: AGRyM1v0p8vRkUdSwjTLnraSWL8twVmuR1AotK9Gae0VPAvE3XLdM1rZ6uRDBI86PjL4Q2Q1SAZEV7XKzo+AgVhhGLw=
X-Received: by 2002:a6b:794d:0:b0:66c:ec39:7d83 with SMTP id j13-20020a6b794d000000b0066cec397d83mr5956084iop.199.1657846004168; Thu, 14 Jul 2022 17:46:44 -0700 (PDT)
MIME-Version: 1.0
References: <165757861882.5604.10456894596583178055@ietfa.amsl.com> <482ad0ea-a64d-5156-445e-9a00ff2a7103@gmail.com>
In-Reply-To: <482ad0ea-a64d-5156-445e-9a00ff2a7103@gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Thu, 14 Jul 2022 17:46:07 -0700
Message-ID: <CABcZeBPPL7a-0RdczMvDUmjwfRRd7qnBb=8nRJQ7Ni4oDJNSJg@mail.gmail.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Cc: "iab@iab.org IAB" <iab@iab.org>, architecture-discuss@ietf.org
Content-Type: multipart/alternative; boundary="0000000000002bcfb405e3cd5a0f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/architecture-discuss/KdyQZW8gn4B4gPJ7OfvT70Nsxfw>
Subject: Re: [arch-d] I-D Action: draft-iab-protocol-maintenance-08.txt
X-BeenThere: architecture-discuss@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: open discussion forum for long/wide-range architectural issues <architecture-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/architecture-discuss>, <mailto:architecture-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/architecture-discuss/>
List-Post: <mailto:architecture-discuss@ietf.org>
List-Help: <mailto:architecture-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/architecture-discuss>, <mailto:architecture-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Jul 2022 00:46:49 -0000

I'm finding myself a little unsure on where exactly to locate
the disagreements here. Perhaps a hypothetical would help.

Suppose we have a protocol that consists of a set of tag-length-values
fields. A message consists of a length field followed by a list of
TLVs.  The protocol defines the following requirements for how a
message is constructed:

1. A given tag MUST only appear once
2. TLVs MUST appear in ascending tag order (this can help
   detect violations of the previous condition)

Question 1: How should implementations behave upon receiving the
following messages, absent any other spec guidance?

- Tags: 1, 2, 2  [Violates rule 1]
- Tags: 1, 3, 2  [Violates rule 2]


Question 2: Should we provide specification guidance for how to handle
these rule violations, and if so, how?

Question 3: Do you think the answers depend on other properties of the
protocol? If so, what are they?

-Ekr



On Tue, Jul 12, 2022 at 4:44 PM Brian E Carpenter <
brian.e.carpenter@gmail.com> wrote:

> I still find it hard to accept that there is community consensus for
> this document as it stands. Most of what its says is correct but it
> still seems to unreasonably claim universal scope.
>
> Some suggestions:
>
> Title: The Robustness Principle May Have Harmful Consequences
>
> Last sentence of Abstract:
> For some types of protocol that are actively maintained, the
> robustness principle can, and should, be avoided.
>
> And a few changes in the main text such as:
> OLD:
> Time and experience shows that negative consequences to interoperability
> accumulate over time if implementations apply the robustness principle.
>
> NEW:
> Time and experience shows that negative consequences to interoperability
> sometimes accumulate over time if implementations apply the robustness
> principle.
>
> Even with changes like this, I'm not sure everyone will agree.
>
> Regards
>     Brian Carpenter
>
> On 12-Jul-22 10:30, internet-drafts@ietf.org wrote:
> >
> > A New Internet-Draft is available from the on-line Internet-Drafts
> directories.
> > This draft is a work item of the Internet Architecture Board IETF of the
> IETF.
> >
> >          Title           : The Harmful Consequences of the Robustness
> Principle
> >          Authors         : Martin Thomson
> >                            David Schinazi
> >    Filename        : draft-iab-protocol-maintenance-08.txt
> >    Pages           : 15
> >    Date            : 2022-07-11
> >
> > Abstract:
> >     The robustness principle, often phrased as "be conservative in what
> >     you send, and liberal in what you accept", has long guided the design
> >     and implementation of Internet protocols.  The posture this statement
> >     advocates promotes interoperability in the short term, but can
> >     negatively affect the protocol ecosystem over time.  For a protocol
> >     that is actively maintained, the robustness principle can, and
> >     should, be avoided.
> >
> >
> > The IETF datatracker status page for this draft is:
> > https://datatracker.ietf.org/doc/draft-iab-protocol-maintenance/
> >
> > There is also an HTML version available at:
> > https://www.ietf.org/archive/id/draft-iab-protocol-maintenance-08.html
> >
> > A diff from the previous version is available at:
> > https://www.ietf.org/rfcdiff?url2=draft-iab-protocol-maintenance-08
> >
> >
> > Internet-Drafts are also available by rsync at rsync.ietf.org:
> :internet-drafts
> >
> >
> > _______________________________________________
> > I-D-Announce mailing list
> > I-D-Announce@ietf.org
> > https://www.ietf.org/mailman/listinfo/i-d-announce
> > Internet-Draft directories: http://www.ietf.org/shadow.html
> > or ftp://ftp.ietf.org/ietf/1shadow-sites.txt
>
> _______________________________________________
> Architecture-discuss mailing list
> Architecture-discuss@ietf.org
> https://www.ietf.org/mailman/listinfo/architecture-discuss
>