Re: [pim] AD Review of draft-ietf-pim-assert-packing-05
Toerless Eckert <tte@cs.fau.de> Thu, 16 February 2023 20:57 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 0C9E3C14CEED; Thu, 16 Feb 2023 12:57:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.949
X-Spam-Level:
X-Spam-Status: No, score=-3.949 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] 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 FRI19QSyjPGD; Thu, 16 Feb 2023 12:57:30 -0800 (PST)
Received: from faui40.informatik.uni-erlangen.de (faui40.informatik.uni-erlangen.de [131.188.34.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 BDEDAC14F739; Thu, 16 Feb 2023 12:57:17 -0800 (PST)
Received: from faui48e.informatik.uni-erlangen.de (faui48e.informatik.uni-erlangen.de [IPv6:2001:638:a000:4134::ffff:51]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by faui40.informatik.uni-erlangen.de (Postfix) with ESMTPS id 4PHnLx0JhHznkYW; Thu, 16 Feb 2023 21:57:13 +0100 (CET)
Received: by faui48e.informatik.uni-erlangen.de (Postfix, from userid 10463) id 4PHnLw6pLlzkv4p; Thu, 16 Feb 2023 21:57:12 +0100 (CET)
Date: Thu, 16 Feb 2023 21:57:12 +0100
From: Toerless Eckert <tte@cs.fau.de>
To: Stig Venaas <stig@venaas.com>
Cc: Alvaro Retana <aretana.ietf@gmail.com>, pim@ietf.org, draft-ietf-pim-assert-packing@ietf.org, pim-chairs <pim-chairs@ietf.org>
Message-ID: <Y+6YqNUd/gzVtDeO@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> <Y+5VMVWyuyzg6ftI@faui48e.informatik.uni-erlangen.de> <CAHANBtKCAushABTRBmcAy+aY1yHgemnA3gV5Ax2uiz1Urqp+LQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CAHANBtKCAushABTRBmcAy+aY1yHgemnA3gV5Ax2uiz1Urqp+LQ@mail.gmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/pim/Qmsj41jmRTyfj29mbqJlHAf8Nqg>
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 20:57:32 -0000
Thanks, Stig Given how i think we like to have at least 16-bit alignment, then if we keep the zero byte, the following byte could be reserved, or i could even save the A)ggregated Flag bit by making that second byte a Packing type (simple/aggregated - and future ones). I don't think we would ever need to extend beyond what this draft will define but maybe it looks nicer. But its another PIM protocol parameter registry table ask... Cheers Toerless i don't think we would need additional packing options than what we define here On Thu, Feb 16, 2023 at 08:18:43AM -0800, Stig Venaas wrote: > Hi Toerless > > Agree. We do have cases where there are several assert messages per > second (which is why we need this), but maybe there will still be say > at least 1 message per second. So I think it's not unlikely that a new > router coming up might encounter the new assert format before its > hello is processed by other routers. So I think having a 0 first byte > would be good. > > Regards, > Stig > > On Thu, Feb 16, 2023 at 8:09 AM Toerless Eckert <tte@cs.fau.de> wrote: > > > > 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 > -- --- tte@cs.fau.de
- [pim] AD Review of draft-ietf-pim-assert-packing-… Alvaro Retana
- Re: [pim] AD Review of draft-ietf-pim-assert-pack… Alvaro Retana
- [pim] tools-discuss/gmail+ietf mail problems: Re:… Toerless Eckert
- Re: [pim] AD Review of draft-ietf-pim-assert-pack… Alvaro Retana
- Re: [pim] AD Review of draft-ietf-pim-assert-pack… Yisong Liu
- Re: [pim] AD Review of draft-ietf-pim-assert-pack… Alvaro Retana
- Re: [pim] AD Review of draft-ietf-pim-assert-pack… Stig Venaas
- Re: [pim] AD Review of draft-ietf-pim-assert-pack… Toerless Eckert
- Re: [pim] AD Review of draft-ietf-pim-assert-pack… Stig Venaas
- Re: [pim] AD Review of draft-ietf-pim-assert-pack… Toerless Eckert
- Re: [pim] AD Review of draft-ietf-pim-assert-pack… Alvaro Retana
- Re: [pim] AD Review of draft-ietf-pim-assert-pack… Stig Venaas
- Re: [pim] AD Review of draft-ietf-pim-assert-pack… Toerless Eckert
- Re: [pim] AD Review of draft-ietf-pim-assert-pack… Alvaro Retana
- Re: [pim] AD Review of draft-ietf-pim-assert-pack… Alvaro Retana
- Re: [pim] AD Review of draft-ietf-pim-assert-pack… Toerless Eckert
- Re: [pim] AD Review of draft-ietf-pim-assert-pack… Toerless Eckert
- Re: [pim] AD Review of draft-ietf-pim-assert-pack… Stig Venaas
- Re: [pim] AD Review of draft-ietf-pim-assert-pack… Alvaro Retana
- Re: [pim] AD Review of draft-ietf-pim-assert-pack… Toerless Eckert