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

Joe Touch <touch@strayalpha.com> Fri, 15 July 2022 02:47 UTC

Return-Path: <touch@strayalpha.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 E387FC16ED11 for <architecture-discuss@ietfa.amsl.com>; Thu, 14 Jul 2022 19:47:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.326
X-Spam-Level:
X-Spam-Status: No, score=-1.326 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=strayalpha.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 uGy3NmQlGqUy for <architecture-discuss@ietfa.amsl.com>; Thu, 14 Jul 2022 19:47:08 -0700 (PDT)
Received: from server217-2.web-hosting.com (server217-2.web-hosting.com [198.54.115.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0BD21C159486 for <architecture-discuss@ietf.org>; Thu, 14 Jul 2022 19:47:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=strayalpha.com; s=default; h=To:References:Message-Id:Cc:Date:In-Reply-To: From:Subject:Mime-Version:Content-Transfer-Encoding:Content-Type:Sender: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=IhG+BqGYPHc8PoKHiV97weAzJvsGWNLpVz0KIYll8BM=; b=ad189NsDSGdpRh4RBpCU0ASSHN DCmOMEfb338D2m6hUYhNomiC9qWMoCbsK/UwrG0Bzdb2JTEFFPReIPKtmHPIlry6gi+Mw3T99QeQD Ynnpe4O5AadWpcRT76d6MX7qWWh2PRoDr5OMftDlNJKQFpGMI6im1zir4MOXF0lY0QQAJ/6Li/ivC DIX0x/dWTxkrK3/YZlw2WlMJOJ1Cdf9CbtWJt7V7JVDtfV3DNY4Nsna/Vob0sOhgz5JohUam2BEqd mPfjzP1Gk1EovWJilnN5vZbOWuqVpRwiPhdw9yayVaNZpxMTxGWknhYf02F6YVWnowao7Fhmw2oYz sMOUzRXQ==;
Received: from [172.58.17.241] (port=58691 helo=smtpclient.apple) by server217.web-hosting.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from <touch@strayalpha.com>) id 1oCBM7-00AWcl-AR; Thu, 14 Jul 2022 22:47:07 -0400
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (1.0)
From: Joe Touch <touch@strayalpha.com>
In-Reply-To: <CABcZeBPPL7a-0RdczMvDUmjwfRRd7qnBb=8nRJQ7Ni4oDJNSJg@mail.gmail.com>
Date: Thu, 14 Jul 2022 19:46:58 -0700
Cc: Brian E Carpenter <brian.e.carpenter@gmail.com>, "iab@iab.org IAB" <iab@iab.org>, architecture-discuss@ietf.org
Message-Id: <09EC917B-2342-4FE4-AD86-00D75B1F1A59@strayalpha.com>
References: <CABcZeBPPL7a-0RdczMvDUmjwfRRd7qnBb=8nRJQ7Ni4oDJNSJg@mail.gmail.com>
To: Eric Rescorla <ekr@rtfm.com>
X-Mailer: iPhone Mail (19F77)
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - server217.web-hosting.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - strayalpha.com
X-Get-Message-Sender-Via: server217.web-hosting.com: authenticated_id: touch@strayalpha.com
X-Authenticated-Sender: server217.web-hosting.com: touch@strayalpha.com
X-Source:
X-Source-Args:
X-Source-Dir:
X-From-Rewrite: unmodified, already matched
Archived-At: <https://mailarchive.ietf.org/arch/msg/architecture-discuss/Z0Ib2Bmt3j3pWDu21MhFGnOdrfY>
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 02:47:12 -0000


> On Jul 14, 2022, at 5:47 PM, Eric Rescorla <ekr@rtfm.com> wrote:
> 
> 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]

Declare both errors. Do whatever the spec says you do when you have an error. 

The Postel principle is NOT about unambiguous errors. 

Joe