Les, good, we in rough sync then. it was indeed a very worthwhile
discussion. let's catch up after you processed the feedback into some V1

thanks

-- tony

On Thu, Nov 19, 2026 at 10:49 PM Les Ginsberg (ginsberg) <[email protected]>
wrote:

> Tony –
>
>
>
> Thanx.
>
> While I don’t think we agree on every detail, I do think we agree on the
> big picture.
>
>
>
> When we write V1 of the draft, we will consider points below and certainly
> add more clarity.
>
> Rather than respond to each of your points below, I suggest we reconnect
> after the draft has been updated and see what is left to be resolved (if
> anything).
>
>
>
> As regards GR, V0 does not speak to this – we left that to a future
> version. But I agree that the procedures defined in the draft are
> potentially applicable to GR.
>
> V1 will also try to address that.
>
>
>
> As an aside, I do think the GR discussion you have added to the recent ASH
> draft regarding scale issues is on the mark and that is worthy of further
> discussion as well.
>
>
>
> Looking forward to continuing this discussion…
>
>
>
>     Les
>
>
>
>
>
> *From:* Tony Przygienda <[email protected]>
> *Sent:* Thursday, November 19, 2026 3:36 AM
> *To:* Les Ginsberg (ginsberg) <[email protected]>
> *Cc:* lsr <[email protected]>
> *Subject:* Re: [Lsr] Re: Purges and LSP Checksum and
> draft-ginsberg-lsr-reliable-snp
>
>
>
> Les, yeah, thanks as well for your patience ;-)
>
>
>
> On Wed, Nov 18, 2026 at 4:54 PM Les Ginsberg (ginsberg) <
> [email protected]> wrote:
>
> Tony –
>
>
>
> Thanx for the thoughtful responses on this subject.
>
>
>
> To address your concerns, we have to look closely at ISO 10589 text.
>
>
>
> *7.3.16.2 LSP confusion*
>
>
>
> *It is possible for an LSP generated by a system in a previous incarnation
> to be alive in the domain and have the same sequence number as the current
> LSP.*
>
>
>
> *To ensure database consistency among the Intermediate Systems, it is
> essential to distinguish two such PDUs.  This is done efficiently by
> comparing the checksum in a received LSP or an LSP entry in a received SNP
> with the checksum of the LSP stored in memory.*
>
>
>
> *If the sequence numbers match, but the checksums do not and the LSP is
> not in the current set of LSPs generated by the local system, then the
> system that notices the mismatch shall treat the LSP as if its Remaining
> Lifetime had expired.  It shall store one of the copies of the LSP, with
> zero written as the Remaining Lifetime, and flood the LSP*
>
>
>
> *If the LSP is in the current set of LSPs generated by the local system
> then the IS shall change the LSP's sequence number to be the next number
> greater than that of the received LSP and regenerate the LSP.*
>
>
>
> So, if I have: AAAAAA.00-01 Seq # 100 Lifetime: 500 Chksum 123
>
> And I receive: AAAAAA.00-01 Seq # 100 Lifetime: 400 Chksum 456
>
>
>
> we fully agree here
>
>
>
>
>
> There is an ambiguity which MUST be resolved because there are two copies
> of the same LSP – with (presumably) different information.
>
>
>
> But if I have: AAAAAA.00-01 Seq # 100 Lifetime: 0 Chksum 123
>
> And I receive: AAAAAA.00-01 Seq # 100 Lifetime: 0 Chksum 456
>
> Then the rules in 7.3.16.4b(2) apply:
>
>
>
> however, this leads now to the original objection at the danger of
> repeating myself. we do NOT compare the checksums here since the local
> database has lifetime 0 and with that will ignore the checksum. With that
> we have to make some _assumption_ about what the compressed CSNP mean
>
>
>
> a) we assume it has lifetime zero as well so nothing needs be said -> this
> forces us to hope that the opposite side with lifetime non zero will see a
> checksum of the purge (0 or not) and it will not match and flood. This
> leaves us with the most corner case of the purge checksum and the non purge
> checksum being the same and both databases being out of sync permanently
>
> b) we assume it has lifetime non zero which forces the purged version to
> be flooded on _every_ compressed CSNP. it will guarantee consistency for
> bits more flooding so it's safer although I would say it's very inelegant
> ;-)
>
>
>
>
>
>      If the received LSP is equal to the one in the database (i.e. same
> Sequence Number, Remaining Lifetimes both zero) the IS shall
>
>
>
> i.   clear SRMflag for C, and
>
>
>
> ii.  if *C * is a non-broadcast circuit, set SSNflag for that LSP for C
>
>
>
> Given that there is no information advertised in a purged LSP there is no
> need to resolve the checksum difference. It sufficient to note that both
> the sender and receiver agree that the LSP in question is purged.
>
>
>
> which we cannot w/o making assumptions above unless we _force_ the purge
> checksum to be set to 0 on the compressed CSNP and on the receiver enforce
> the semantics of checksum 0 meaning "purge"
>
>
>
>
>
> This is what makes the proposed overloading of 0 checksum to imply a purge
> in the new SNP TLV safe.
>
>
>
> okey, so if we agree on adding this to the draft I think we are now all in
> sync
>
>
>
> a) the sender of compressed MUST set checksum to 0 for purge it holds on
> the TLV
>
> b) the receiver of compressed MUST treat checksum 0 on the TLV as meaning
> a purge is described
>
>
>
> Obviously,  the help deployments based on realities the draft could also
> put a strong SHOULD to have people originating purges setting chcksum to 0
> from now on.
>
>
>
> Obviously, this can only be done if we know the neighbor supports the new
> TLV – which we know from the advertised Hello Capability.
>
>
>
> obviously
>
>
>
>
>
> Hope we have converged on this.
>
>
>
> yes, I think we did and thanks for your patience with me ;-) albeit it's
> nitty-picky-splitting-hair-4-ways it's database consistency so we better be
> 120% right here and discussion had huge value for me since I realized that
> ASH is broken in this way as well. The hash of the purge fragment MUST
> ignore the checksum if we want to avoid the same coorundum where the ASH
> hashes will never match albeit in terms of ultimate convergence ASH would
> work given it uses normal CSNPs (although if the compressed CSNP draft
> moves forward nothing would stop it from using compressed as well).
>
>
>
> Now, the last things I had on the draft, all fixable but worth looking at
> otherwise I think any implementation will uncover those anyway
>
>
>
> a) it's not restart safe. a PSNP with ACKs may get delayed across a link
> flap and with that be treated as ACK for CSNP maybe not even sent yet or in
> worse case sent and lost. Safest is an epoch here I introduced in ASH GR
> (and it's not even particularly hard to cause it BTW under heavy scale and
> repeated graceful restarts at least ;-) Will it converge as it stands? yes,
> eventually, but it defeats the idea of "reliable CSNP" in such scenarios
>
> b) as I mentioned, the semantics of the ack needs clarifyting, I use AI to
> formulate things to save time
>
>
>
> In §3.2 of the draft
> <https://www.ietf.org/archive/id/draft-ginsberg-lsr-reliable-snp-00.txt>,
> “Max Contiguous LSPID Received is the 8 octet LSPID of the highest numbered
> LSPID received in a CSNP,” and it “serves as an acknowledgment that CSNPs
> covering entries 0 - Max Contiguous LSPID Received have been successfully
> received.” This appears to conflate an LSP-ID *entry*with CSNP *range
> coverage*: CSNPs cover the Start/End LSP-ID ranges in their headers,
> including ranges containing no LSP entries, so the highest listed LSP-ID
> does not establish how far the received CSNPs cover. I suggest defining the
> field as the highest LSP-ID through which the received CSNP header ranges
> provide contiguous coverage from the beginning of the LSP-ID space, with no
> gaps; the non-contiguous ranges would then describe additional received
> header coverage beyond that point.
>
> c) there is a problem with one side loosing max/max ack as well
>
>
>
> In §3.3
> <https://www.ietf.org/archive/id/draft-ginsberg-lsr-reliable-snp-00.txt>,
> the draft says acknowledgment TLVs are sent “when initial CSNP exchange is
> in progress,” then says, “Once CSNP exchange has been successfully
> completed the timer triggering sending CSNP Entry Acknowledgment TLVs is
> cancelled.” This leaves a one-sided completion case: both routers send
> their final (MAX, MAX) acknowledgment, but one copy is lost. The router
> that received its peer’s final acknowledgment completes and stops sending;
> the peer never receives that router’s final acknowledgment, remains in
> progress, and may keep retrying without getting a response. Please define a
> completed-state response or linger procedure—for example, require a
> completed router to answer duplicate/in-progress acknowledgment TLVs with
> its final (MAX, MAX) TLV—so loss of one final acknowledgment does not
> strand the other router.
>
> d) Ultimately, the draft does not say anything about the received ACK
> looking funny, overlapping ranges, ranges ACK'ed never sent yet, ranges
> ACK'ed in which there were no LSPs and so on. Without that the behavior is
> not particularly well specified.
>
> e) as last hair-split, draft did read for me like "after having csnps you
> have LSDB sync and this will improve things" ;-) In reality it's having all
> the LSDB flooded on both sides, fib computed and installed where we avoid
> losses. having reliable ACKs is likely in the scheme of things just a lego
> piece
>
> -- tony
>
>
>
>
>
>
>
>
>
>     Les
>
>
>
>
>
> *From:* Tony Przygienda <[email protected]>
> *Sent:* Wednesday, November 18, 2026 3:14 AM
> *To:* Les Ginsberg (ginsberg) <[email protected]>
> *Cc:* lsr <[email protected]>
> *Subject:* [Lsr] Re: Purges and LSP Checksum and
> draft-ginsberg-lsr-reliable-snp
>
>
>
> and since that got me bothered like an ingrown nail  I re-read the
> comparison carefully. If A holds a purge and gets from B a non-purge the
> purge wins per 7.3.16 (assuming same seq# and assuming A assumes again what
> B says is not a purge since checksum makes it impossible to reason about
> it) if I remember correctly so databases will try to sync by A flooding the
> purge. So we can argue I am initially confused but now I ask myself how
> will this prevent the recurring purge flooding after every compressed CSNP
> since both nodes will never agree that they hold both a purge not having a
> lifetime to look at unless we force the checksum to 0 and mandate on
> receiver to treat a compressed CSNP checksum 0 to indicate a purge which
> will make them 'agree'. So in a sense I may have been off as to the reason
> why we need to fake the checksum 0 to mean lifetime = 0 as well but for a
> different reason it seems we still need this change for correct flooding
> behavior. Or at minimum we have to say in the draft  "if A has a purge and
> sees same seq# from B it MUST flood stuff back since it cannot reason about
> lifetime anymore and checksum is not comparable" ?
>
>
>
> -- -tony
>
>
>
> On Wed, Nov 18, 2026 at 11:33 AM Tony Przygienda <[email protected]>
> wrote:
>
> actually, maybe I need to explain the case I'm concerned with and see why
> this is necessary
>
>
>
> So, A holds  a purge lifetime 0 at seq# 7 with checksum 1  all fine and
> advertises (without suggested change)   seq#7,checksum 1 omitting the
> lifetime
>
>
>
> now, if we do NOT enforce what I'm showing the following will NOT
> synchronize
>
>
>
> B hods seq#7 with lifetime 300 and checkum 2 (or in most crazy case also
> 1)
>
>
>
> now since lifetime is omitted and _if_ the checksum is not compared by A
> because it says "hey, I have a purge so checksum doesn't matter and I have
> no lifetime on the compressed CSNP so let's _assume_ it's the same". With
> such both databases are out of sync and may never flood, A will hold valid
> LSP, B will hold the purge unless we _assume_ that A's compressed CSNP will
> mismatch on the checksum and stuff will heal (unless we have the crazy
> case) ?
>
>
>
> Likely, not very but it's a DB synchronization hole (or maybe a half-way
> one) which you are always concerned about as well (justifyingly so).
>
>
>
> unless I really missed something here and I am confused which can never be
> excluded, the case is delicate ;-) and purges are double delicate as we all
> know
>
>
>
> -- tony
>
>
>
>
>
> On Wed, Nov 18, 2026 at 11:20 AM Tony Przygienda <[email protected]>
> wrote:
>
> actually, reading your stuff it may still be not clear. the fact that you
> do NOT compare the checksum is irrelevant here.
>
>
>
> You omit lifetime so saying
>
>
>
> a)  it MUST be set to 0 on the compressed TLV even if the database holds a
> purge with a _non_ 0 checksum (which is perfectly compliant and may easily
> happen with some open source)
>
> b) the receiver seeing a checkum 0 on such TLV MUST interpret it as a
> purge and set lifetime to 0
>
>
>
> is what is necessary for this to work. whether the checkum is ignored or
> not on purge is irrelevant here. a CSNP with 0 lifetime and non 0 checksum
> is per all standards spec perfectly valid unless you can quote an opposite
> normative text (which I could not find anywhere). Normative text saying
> that the "checksum must be ignored" does NOT imply by any means taht the
> checksum must be set to 0, be 0 or not being zero is violating anything.
>
>
>
> So I hope with that we can close taht little pesky corner
>
>
>
> --- tony
>
>
>
> On Wed, Nov 18, 2026 at 11:15 AM Tony Przygienda <[email protected]>
> wrote:
>
> Les, very good, I see we caught up on the issue and I seem not to have
> been "confused" so the draft needs changing the way I proposed and hence
> the concern was founded ;-)
>
>
>
> So, yes, overwrite with 0 in the TLV on purge LSDBs no matter what's in
> the database when advertising and please emphasize as you suggest that per
> spec ignoring checksum means also it has to match so the receiver better
> gets it right.
>
>
>
> The CSNP here does not accurately reflect what is held in the LSDB but
> it's a white lie that will hold up. We can just as well add the
> recommendation that on a purge any implementation SHOULD set the checksum
> to 0 given lots of implementation realities out there.
>
>
>
> In terms of intellectual honesty I would also suggest that you add to the
> draft that not advertising lifetime will violate RFC 8706 section 3.4 last
> paragraph if used since the restarter has no idea what lifetime to set and
> hence AFAIS T3 may trigger. Alternatively we can say that during GR those
> TLVs must not be used.
>
>
>
> As to the rest of defects I mentioned on the mike (which can be remedied)
> in the reliable part I'll write an email later this week.
>
>
>
> Ultimately, as I said, as to compression on average customer database with
> this I roughly simulated ~ +/- 15% compression in CSNP volume (with further
> degradation once LSDB skews to large part of the network to nodes with
> single fragments [which is not that unusual]) which isn't moving the needle
> much IMO and won't do much to the real problem of the SRM being set on p2p
> link and overflooding massively before CSNPs can catch up (but that's of
> course lots implementation stuff we could argue here ;-) and on large
> databases CSNPs overwhelming restarters and becoming a non neglectable
> processing burden, especially with lots adjacencies. Basically a bandaid to
> face a battlefield ;-)
>
>
>
> --- tony
>
>
>
>
>
>
>
> On Wed, Nov 18, 2026 at 7:52 AM Les Ginsberg (ginsberg) <ginsberg=
> [email protected]> wrote:
>
> To address concerns raised by Tony P regarding
> https://datatracker.ietf.org/doc/draft-ginsberg-lsr-reliable-snp/ and the
> use of 0 checksum to identify an LSP which is purged...
>
>
>
> Calculation of the Fletcher checksum used by IS-IS specified in ISO 8473
> Section C.3. This specifies that a value of 0 is not valid.
>
>
>
> In addition ISO 10589 states:
>
>
>
> *<snip>*
>
> *7.3.16.4 LSP expiration synchronisation*
>
>
>
> *When the Remaining Lifetime on an LSP in memory becomes zero, the IS
> shall*
>
>
>
> *a)          set all SRMflags for that LSP, and*
>
>
>
> *b)          retain only the LSP header.*
>
>
>
> *c)           record the time at which the Remaining Lifetime for this LSP
> became zero. When ZeroAgeLifetime has elapsed since the LSP Remaining
> Lifetime became zero, the LSP header shall be purged from the database.*
>
>
>
> *NOTE 36 A check of the checksum of a zero Remaining Lifetime LSP succeeds
> even though the data portion is not present.*
>
> *<end snip>*
>
>
>
> What does this mean?
>
> It means the checksum for a purged LSP is not significant.
>
> Why?
>
> Because the entry in the LSPDB no longer includes the data portion –
> meaning that the checksum which was previously received can no longer be
> validated because the data in the LSP has been discarded.
>
>
>
> This means that if the current entry in the local LSPDB is (for example):
>
>
>
>   *AAAAAA.00.01 Sequence #100 Remaining Lifetime 0 Checksum 0xABCD*
>
>
>
> And an SNP entry TLV or an actual LSP is received specifying:
>
>
>
> *AAAAAA.00.01 Sequence #100 Remaining Lifetime 0 Checksum 0*
>
>
>
> that this entry MUST BE considered a match for the entry in the LSPDB.
>
>
>
> Any implementation which considers the value of the checksum significant
> when comparing a purged LSP is in violation of ISO 10589 and is not
> interoperable with conformant implementations.
>
>
>
> Therefore, the claim that the proposal in draft-ginsberg-lsr-reliable-snp
> to overload the meaning of checksum value of 0 in a new SNP entry TLV to
> imply that the LSP has been purged will break existing implementations is
> unfounded.
>
>
>
> I emphasize that the draft is NOT changing anything related to LSP
> generation – it is only proposing an alternative format for a LSP entry
> advertised in an SNP PDU.
>
>
>
>    Les
>
>
>
> _______________________________________________
> Lsr mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
>
>
_______________________________________________
Lsr mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to