Re: [pim] AD Review of draft-ietf-pim-assert-packing-05

Toerless Eckert <tte@cs.fau.de> Thu, 16 February 2023 16:09 UTC

Return-Path: <eckert@i4.informatik.uni-erlangen.de>
X-Original-To: pim@ietfa.amsl.com
Delivered-To: pim@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C6110C14CE2F; Thu, 16 Feb 2023 08:09:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.649
X-Spam-Level:
X-Spam-Status: No, score=-1.649 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no 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 CgsdjSCjoztK; Thu, 16 Feb 2023 08:09:27 -0800 (PST)
Received: from faui40.informatik.uni-erlangen.de (faui40.informatik.uni-erlangen.de [IPv6:2001:638:a000:4134::ffff:40]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 26AB6C151551; Thu, 16 Feb 2023 08:09:25 -0800 (PST)
Received: from faui48e.informatik.uni-erlangen.de (faui48e.informatik.uni-erlangen.de [131.188.34.51]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by faui40.informatik.uni-erlangen.de (Postfix) with ESMTPS id 4PHfyn4jwcznkZZ; Thu, 16 Feb 2023 17:09:21 +0100 (CET)
Received: by faui48e.informatik.uni-erlangen.de (Postfix, from userid 10463) id 4PHfyn4591zkv4k; Thu, 16 Feb 2023 17:09:21 +0100 (CET)
Date: Thu, 16 Feb 2023 17:09:21 +0100
From: Toerless Eckert <tte@cs.fau.de>
To: Alvaro Retana <aretana.ietf@gmail.com>
Cc: Stig Venaas <stig@venaas.com>, pim@ietf.org, draft-ietf-pim-assert-packing@ietf.org, pim-chairs <pim-chairs@ietf.org>
Message-ID: <Y+5VMVWyuyzg6ftI@faui48e.informatik.uni-erlangen.de>
References: <CAMMESszQRWK7YHH_UY9fRCVJSe5LFum0N9smBERn4Hb-AhQF2w@mail.gmail.com> <Y+Z4YknJgc6XwbwB@faui48e.informatik.uni-erlangen.de> <CAHANBtKhsC1==DFrby8PGgD_ERKbOUF6CY+obRAA3B9q=Ef0Ow@mail.gmail.com> <CAMMESswepW=T0n64sQMFKFFCWpPaeR3oqwVVwpLKZeAuDHAtuw@mail.gmail.com> <CAHANBtJ8Y+bSR2FO+TktYt7fONF1KPYm_Vbtf0z9mTFHOwEP-Q@mail.gmail.com> <Y+qHWtLBBbSw9K8S@faui48e.informatik.uni-erlangen.de> <CAMMESsx3vQ_E93u3ocp_B+iUsW9_Cjqeouqo_ORjQig+qhXBxQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CAMMESsx3vQ_E93u3ocp_B+iUsW9_Cjqeouqo_ORjQig+qhXBxQ@mail.gmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/pim/XwPq16uR75X4SfRWYcrD8-JLdsA>
Subject: Re: [pim] AD Review of draft-ietf-pim-assert-packing-05
X-BeenThere: pim@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Protocol Independent Multicast <pim.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pim>, <mailto:pim-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/pim/>
List-Post: <mailto:pim@ietf.org>
List-Help: <mailto:pim-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pim>, <mailto:pim-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Feb 2023 16:09:31 -0000

Ack. Happy to hear from any other WG members opinions.

I do somewhat ponder that it would not be a bad idea to have the first byte of payload zero
filled to be able to actually know that the new messages will not be misinterpreted
in the case Stig mentioned. But i don't want to over-engineer either.

Cheers
    Toerless

On Wed, Feb 15, 2023 at 07:52:53PM -0600, Alvaro Retana wrote:
> FWIW — besides removing the count, I don’t think any of the other changes
> are needed.
> 
> Alvaro.
> 
> On February 13, 2023 at 1:54:21 PM, Toerless Eckert (tte@cs.fau.de) wrote:
> 
> Some quick thoughts:
> 
> - It's fine to remove the count by me. I just did this rev with what i felt
> was
> necessary to solve Alvaros feedback. here is what i would suggest:
> 
> - If we want to solve the small windows of inconsistency:
> We can insert an 0-bit zero field as the first byte of the
> PackedAsserts. This will ensure thart thhey always fail to
> be valid Asserts because zero is reserved in the address types
> used to encode the group address. And to keep the structures 16-bit
> alignment (as ew have it now), we follow this up with 8 bit reserved.
> 
> - For extensibility with future possible additional assert options,
> we can add the notion to the PacketAssert option that a length
> > 0 MAY be used, but will be ignored on receipt.
> This means that we could avoid introducing a new IM Hello Option
> codepoint if we would amend/revise the functionality in the
> future with more/different assert message types. That would then
> use some length > 0, and the spec would say to only use this
> when all routers announce it.
> 
> Cheers
> Toerless
> 
> On Fri, Feb 10, 2023 at 12:40:12PM -0800, Stig Venaas wrote:
> > Hi Alvaro
> >
> > That's a great point. Sorry Toerless, I did not think about that when
> > I emailed earlier.
> >
> > Only potential issue is that there might be some small window where an
> > older implementation is coming up and is receiving such a message
> > before the other routers parse its hellos. Not sure how likely that
> > is. This is of course an issue with hello capabilities in general.
> >
> > Will have a closer look at the new version soon.
> >
> > Thanks,
> > Stig
> >
> > On Fri, Feb 10, 2023 at 12:31 PM Alvaro Retana <aretana.ietf@gmail.com>
> wrote:
> > >
> > > On February 10, 2023 at 12:17:30 PM, Stig Venaas wrote:
> > >
> > > Stig:
> > >
> > > Hi!
> > >
> > >
> > > > I see you are reusing the assert message type in the latest draft.
> > > > That won't work. Existing implementations would not check the
> reserved
> > > > bits, they would just assume it is a regular assert. It is ok to use
> a
> > > > new message type, but using one for each of the packet formats is
> > > > unnecessary.
> > >
> > > Yes, but that shouldn't be an issue because the drafts says that
> > > "PackedAssert messages (Section 3.2) MUST only be sent when all PIM
> > > routers in the same subnet announce this option." So all the
> > > implementations will have to be updated for this to be used.
> > >
> > > Alvaro.
> 
> -- 
> ---
> tte@cs.fau.de

-- 
---
tte@cs.fau.de