Re: [Sidrops] version negotiation
Claudio Jeker <cjeker@diehard.n-r-g.com> Thu, 04 January 2024 10:59 UTC
Return-Path: <cjeker@diehard.n-r-g.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 39FACC14F697 for <sidrops@ietfa.amsl.com>; Thu, 4 Jan 2024 02:59:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.905
X-Spam-Level:
X-Spam-Status: No, score=-6.905 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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] autolearn=ham autolearn_force=no
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 sQTT0AXOAgEY for <sidrops@ietfa.amsl.com>; Thu, 4 Jan 2024 02:59:43 -0800 (PST)
Received: from diehard.n-r-g.com (diehard.n-r-g.com [62.48.3.9]) (using TLSv1.3 with cipher TLS_CHACHA20_POLY1305_SHA256 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA512) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A49BAC14F5FC for <sidrops@ietf.org>; Thu, 4 Jan 2024 02:59:20 -0800 (PST)
Received: (qmail 83483 invoked by uid 1000); 4 Jan 2024 10:59:17 -0000
Date: Thu, 04 Jan 2024 11:59:17 +0100
From: Claudio Jeker <cjeker@diehard.n-r-g.com>
To: Randy Bush <randy@psg.com>
Cc: sidrops <sidrops@ietf.org>
Message-ID: <ZZaPhR2133JRcGVi@diehard.n-r-g.com>
References: <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> <m2a5pm9px0.wl-randy@psg.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <m2a5pm9px0.wl-randy@psg.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/sidrops/OcPWBTI3AWrBSauB7DbXbX5qO-w>
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: Thu, 04 Jan 2024 10:59:44 -0000
On Wed, Jan 03, 2024 at 11:29:15AM -0800, Randy Bush wrote:
> 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.
How about:
The router SHOULD downgrade its protocol version to N and send another
query with that version unless it has already failed at that version ...
In any case clarifying such edge conditions is important to help
developers implement the protocol correctly.
> > 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.
Please reconsider since this bit is utterly confusing. The RFC does not
explain this distinction. If this is the case how should Error 0 and 1 be
handle? It seems there is multiple level of fatal here. At least I see no
way to gracefully handle a corrupt data error without reestablishing a new
session.
I dislike how underspecified the error handling in all the RTR RFCs is.
In my opionion this deserves the same scrutiny as the other RPKI RFCs.
--
:wq Claudio
- [Sidrops] Format of ASPA RTR PDU Maria Matejka
- Re: [Sidrops] Format of ASPA RTR PDU Claudio Jeker
- Re: [Sidrops] Format of ASPA RTR PDU Martin Hoffmann
- Re: [Sidrops] Format of ASPA RTR PDU Claudio Jeker
- Re: [Sidrops] Format of ASPA RTR PDU Martin Hoffmann
- Re: [Sidrops] Format of ASPA RTR PDU Borchert, Oliver (Fed)
- Re: [Sidrops] Format of ASPA RTR PDU Claudio Jeker
- Re: [Sidrops] Format of ASPA RTR PDU Borchert, Oliver (Fed)
- Re: [Sidrops] Format of ASPA RTR PDU Maria Matejka
- Re: [Sidrops] Format of ASPA RTR PDU Claudio Jeker
- Re: [Sidrops] Format of ASPA RTR PDU Martin Hoffmann
- Re: [Sidrops] Format of ASPA RTR PDU Christopher Morrow
- Re: [Sidrops] Format of ASPA RTR PDU Job Snijders
- Re: [Sidrops] Format of ASPA RTR PDU Martin Hoffmann
- Re: [Sidrops] Format of ASPA RTR PDU Christopher Morrow
- Re: [Sidrops] Format of ASPA RTR PDU Job Snijders
- Re: [Sidrops] Format of ASPA RTR PDU Tim Bruijnzeels
- Re: [Sidrops] Format of ASPA RTR PDU Martin Hoffmann
- Re: [Sidrops] Format of ASPA RTR PDU Russ Housley
- Re: [Sidrops] Format of ASPA RTR PDU gengnan
- Re: [Sidrops] Format of ASPA RTR PDU Randy Bush
- Re: [Sidrops] Format of ASPA RTR PDU Claudio Jeker
- Re: [Sidrops] Format of ASPA RTR PDU Randy Bush
- Re: [Sidrops] Format of ASPA RTR PDU Job Snijders
- Re: [Sidrops] Format of ASPA RTR PDU Tim Bruijnzeels
- Re: [Sidrops] Format of ASPA RTR PDU Maria Matejka
- Re: [Sidrops] Format of ASPA RTR PDU Randy Bush
- Re: [Sidrops] Format of ASPA RTR PDU Dale W. Carder
- Re: [Sidrops] Format of ASPA RTR PDU Job Snijders
- Re: [Sidrops] Format of ASPA RTR PDU Claudio Jeker
- Re: [Sidrops] Format of ASPA RTR PDU Borchert, Oliver (Fed)
- Re: [Sidrops] version negotiation Randy Bush
- Re: [Sidrops] Format of ASPA RTR PDU Ties de Kock
- Re: [Sidrops] Format of ASPA RTR PDU Job Snijders
- Re: [Sidrops] Format of ASPA RTR PDU Warren Kumari
- Re: [Sidrops] version negotiation Claudio Jeker
- Re: [Sidrops] version negotiation Randy Bush
- Re: [Sidrops] Format of ASPA RTR PDU Martin Hoffmann
- Re: [Sidrops] version negotiation Claudio Jeker
- Re: [Sidrops] version negotiation Job Snijders
- Re: [Sidrops] version negotiation Randy Bush
- Re: [Sidrops] version negotiation Claudio Jeker
- Re: [Sidrops] version negotiation Claudio Jeker
- Re: [Sidrops] version negotiation Randy Bush
- Re: [Sidrops] version negotiation Job Snijders
- Re: [Sidrops] version negotiation Claudio Jeker
- Re: [Sidrops] version negotiation Claudio Jeker
- Re: [Sidrops] version negotiation Claudio Jeker
- Re: [Sidrops] version negotiation Claudio Jeker
- Re: [Sidrops] version negotiation Randy Bush
- Re: [Sidrops] version negotiation Job Snijders
- Re: [Sidrops] version negotiation Randy Bush
- Re: [Sidrops] version negotiation Job Snijders
- Re: [Sidrops] version negotiation Job Snijders
- Re: [Sidrops] version negotiation Randy Bush
- Re: [Sidrops] version negotiation Randy Bush