NLnetLabs / rpki-rs

An RPKI library for Rust
BSD 3-Clause "New" or "Revised" License
40 stars 22 forks source link

Introduce a version of RRDP notification files that limits deltas. #292

Closed partim closed 4 months ago

partim commented 4 months ago

This PR introduces rrdp::LimitedNotificationFile which allows limiting the number of delta kept during parsing of the XML. It also more strictly checks that the deltas are correct and consistent and keeps an error instead of the delta list in case they aren’t.

This is a separate type since producing the notification file doesn’t need any of this.