NICMx / FORT-validator

RPKI cache validator
MIT License
50 stars 24 forks source link

Prevent redownload of all RRDP on startup #79

Closed ydahhrk closed 10 months ago

ydahhrk commented 2 years ago

Fort caches RRDP session IDs and serials in RAM. This means that, on startup, all RRDP is considered "NOTFOUND", which forces downloads. This happens regardless of the actual state of the local cache directory, where session IDs and serials survive program shutdown.

This is particularly jarring if Fort is used in standalone mode, because that counts as always startup.

There is no reason to cache session IDs and serials in RAM; Fort should extract RRDP state from the local cache's notification files.

Branch rrdp-refactor has a WIP of this bug.

ydahhrk commented 10 months ago

Fort 1.6.0 has been released; closing.