Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a configuration that allows stale VRPs to be used for x time #79

Open
ties opened this issue Jul 25, 2022 · 4 comments
Open

a configuration that allows stale VRPs to be used for x time #79

ties opened this issue Jul 25, 2022 · 4 comments
Milestone

Comments

@ties
Copy link

ties commented Jul 25, 2022

SAVNET at IETF114:

"RPKI data may just blip out of existence"

I was wondering if there are use cases where you may want to keep RPKI data that temporarily is unavailable around for RTR clients. This would prevent short publication issues at repositories from affecting the RPKI objects available.

A union over historic data feels like a data stream that may have use cases

@partim
Copy link
Member

partim commented Nov 23, 2023

First, apologies for the inexcusably late reply!

Here’s my thinking with regards to data becoming unavailable: RTR has the expire interval, so actually failing to serve data if there isn’t any might be a better strategy – the unavailability becomes visible in the router monitoring etc. However, if that isn’t desired, we can add a config option to the RTR and HTTP targets to enable serving data until it has expired.

This would require tracking the expiry of the data of each unit – and determine it for source units in the first place – but that should be easy to add.

@partim partim added this to the 0.3.0 milestone Nov 23, 2023
@ties
Copy link
Author

ties commented Nov 24, 2023

For rtr inputs, the expire interval should handle this. But, I've seen json content going from full to empty. The units may handle this nicely though.

@partim
Copy link
Member

partim commented Nov 24, 2023

Actual empty JSON content (i.e., it’s a valid JSON file but the respective member arrays are empty) should probably be treated as switching to an empty set? Non-parseable JSON (either not JSON or not following the schema) should probably be leading to the unit going stale and the expiry handling taking over?

@ties
Copy link
Author

ties commented Nov 24, 2023

Actual empty JSON content (i.e., it’s a valid JSON file but the respective member arrays are empty) should probably be treated as switching to an empty set? Non-parseable JSON (either not JSON or not following the schema) should probably be leading to the unit going stale and the expiry handling taking over?

True!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants