Re: [Sidrops] version negotiation

Randy Bush <randy@psg.com> Wed, 03 January 2024 19:30 UTC

Return-Path: <randy@psg.com>
X-Original-To: sidrops@ietfa.amsl.com
Delivered-To: sidrops@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2A854C14F69D for <sidrops@ietfa.amsl.com>; Wed, 3 Jan 2024 11:30:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level:
X-Spam-Status: No, score=-2.096 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, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_PERMERROR=0.01, 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=psg.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 2KrezeBchyLj for <sidrops@ietfa.amsl.com>; Wed, 3 Jan 2024 11:30:46 -0800 (PST)
Received: from ran.psg.com (ran.psg.com [IPv6:2001:418:8006::18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B8831C14F699 for <sidrops@ietf.org>; Wed, 3 Jan 2024 11:29:16 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=psg.com; s=rgnet-mail; h=Content-Type:MIME-Version:References:In-Reply-To:Subject:Cc: To:From:Message-ID:Date:Sender:Reply-To:Content-Transfer-Encoding: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=izTDRlgcZiRJbmTm4Cq9Wq67yfACI1QCkTTyUTleTu8=; b=P4ZbeWgIxFX5FE42A9OLXM17TR 4SuaTFqOfQBWJn3W8UqLzrwPZSRKZKdraC9Z5++bQ+tGgWXksKx4+P2J1AM2w4jfuSxrhXn+kgsE+ 121vpWNN3nZ5S7FOgVR5ZMnuSgrR3TdycWGay898MynaM1DAFeG17uo1onV0Is8FsOvhUcHCTrhZL 7p4xQG7AQzEs0IgVn3Nj0c51YQxDy0RyNvJArViKfK93fadE2FzuY3+UVAE11v/LR6cgP6Cp2+7S7 GW7NrS9yU5xxMb1u2uwzqW0io9bcIImyjROPhzZcxncBlgH+6dfeWvZm+9POpzUejq5MI3s49WJRz WsZ1twqA==;
Received: from localhost ([127.0.0.1] helo=ryuu.rg.net) by ran.psg.com with esmtp (Exim 4.95) (envelope-from <randy@psg.com>) id 1rL6vT-001EcS-Kq; Wed, 03 Jan 2024 19:29:15 +0000
Date: Wed, 03 Jan 2024 11:29:15 -0800
Message-ID: <m2a5pm9px0.wl-randy@psg.com>
From: Randy Bush <randy@psg.com>
To: Claudio Jeker <cjeker@diehard.n-r-g.com>
Cc: sidrops <sidrops@ietf.org>
In-Reply-To: <ZZVDSK/Hg7VBBmAl@diehard.n-r-g.com>
References: <m2il4zbecl.wl-randy@psg.com> <5DCA686A-8BA9-43FF-9675-4C6804C8208D@nlnetlabs.nl> <8F3E272D-9358-4A63-B156-8C768D46CC7D@nlnetlabs.nl> <C6809556-2957-4E50-93FF-E392B69EE19C@vigilsec.com> <43e9a8461d05470190ee7d3a7bb46cf4@huawei.com> <ZYFq8we3BMBji6jb@diehard.n-r-g.com> <ZYM9bEdeZOdidSU1@dwc-desktop.local> <CAMFGGcD-hAprxBBoz2dL7wzoq1j187B6XNHQURtRN85GgpgjqA@mail.gmail.com> <ZYQNxzeMl2uhweBu@diehard.n-r-g.com> <m2ttnv5kbh.wl-randy@psg.com> <ZZVDSK/Hg7VBBmAl@diehard.n-r-g.com>
User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0
MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue")
Content-Type: text/plain; charset="US-ASCII"
Archived-At: <https://mailarchive.ietf.org/arch/msg/sidrops/nkaTd5P2X49rfXXkqkZ47Q8uslo>
Subject: Re: [Sidrops] version negotiation
X-BeenThere: sidrops@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: A list for the SIDR Operations WG <sidrops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sidrops>, <mailto:sidrops-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/sidrops/>
List-Post: <mailto:sidrops@ietf.org>
List-Help: <mailto:sidrops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sidrops>, <mailto:sidrops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Jan 2024 19:30:50 -0000

claudio:

> I think paragraph 2 and 3 (both about Q < N) should be merged.

choice of style

> Current paragraph 4 makes the negotiation much clearer (but 'with a
> Protocol Version Q of the version N in the Error Report' is a mouth
> full).

some of us have big mouths :)

but i will confess to qualms about long run-on sentences.  i'll work on
that

> What is unclear what should happen when "unless it has already failed
> at that version" comes into play? Should it abort like in the last
> paragraph?

i think that is deadly.  speaking of run-on sentences

   If the router query has version Q > N, the cache MUST send an Error
   Report (Section 5.11) with Protocol Version N and Error Code 4
   ("Unsupported Protocol Version").  The router SHOULD send another
   query with a Protocol Version Q of the version N in the Error Report,
   unless it has already failed at that version, which indicates a fatal
   error in programming of the cache which SHOULD result in transport
   termination.

> Now this changes the sematics of Error Code 4.  So Section 13 needs to be
> adjusted. Error code 4 should not be fatal but have special handling as
> described in Section 7. This is required because:
>    Errors which are considered fatal MUST cause the session to be dropped,
>    and the router MUST flush all data learned from that cache.

i am less sure of this.  note that is the session which must be dropped,
not the transport.  and the session has not yet even been established
if we're still negotiating versions.

randy