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