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]

Reply via email to