4 releases

0.2.1 Sep 6, 2022
0.2.0 Oct 7, 2020
0.1.1 Apr 29, 2020
0.1.0 Apr 15, 2020

#8 in #rpki

24 downloads per month

BSD-3-Clause

81KB
1.5K SLoC

rpki-rtr

RPKI RTR library for Rust.

The functionality of this crate has been merged into the [rpki](https://crates.io/crates/rpki) crate. The rpki-rtr crate therefore is deprecated and should not be used any more.

lib.rs:

RTR: the RPKI to Router Protocol.

RPKI, the Resource Public Key Infrastructure, is a distributed database of signed statements by entities that participate in Internet routing. A typical setup to facilitate this information when making routing decisions first collects and validates all statements into something called a local cache and distributes validated and normalized information from the cache to the actual routers or route servers. The standardized protocol for this distribution is the RPKI to Router Protocol or RTR for short.

This crate implements both the server and client side of RTR. Both of these are built atop Tokio. They are generic over the concrete socket type and can thus be used with different transports. They also are generic over a type that provides or consumes the data. For more details, see the Server and Client types.

The crate implements both versions 0 and 1 of the protocol. It does not, currently, support router keys, though.

You can read more about RPKI in RFC 6480. RTR is currently specified in RFC 8210.

Dependencies

~4.5MB
~71K SLoC