Skip to content

v0.9.2

Choose a tag to compare

@github-actions github-actions released this 31 Jul 22:38
· 11 commits to main since this release
b9bd915

Features

  • RPKI expiry support: Added support for Cloudflare RPKI ROA expiry timestamps
    • Added expires field to CfRoaEntry structure for Cloudflare RPKI data
    • ROA expiry timestamps are now mapped to not_after field in RoaEntry
    • Added validate_check_expiry() method to RpkiTrie for time-aware validation
    • Added rpki_validate_check_expiry() method to BgpkitCommons for expiry-aware validation
    • Expired or not-yet-valid ROAs now return Unknown instead of Invalid (correct RPKI behavior)

Bug fixes

  • Fixed typo in rpki_validate() method (vapidatevalidate)

Documentation

  • RPKI documentation: Added module documentation covering:
    • Data structures and validation process explanation
    • Usage examples for both real-time (Cloudflare) and historical (RIPE) data sources
    • Performance considerations and error handling guidance
    • Multiple ROAs per prefix handling examples
  • Added no_run attribute to RPKI documentation examples to prevent timeouts during doc tests

Testing

  • Added unit tests for expiry checking functionality
  • Added manual integration test for Cloudflare RPKI data loading with expiry validation
    • Run with: cargo test --release --features rpki test_cloudflare_rpki_expiry_loading -- --ignored --nocapture