All notable changes to this project will be documented in this file.
- add MRT collector peers information
- struct exposed as
crate::mrt_collectors::MrtCollectorPeer
- fetch data by calling
commons.load_mrt_collector_peers()
first - access all peers by calling
commons.mrt_collector_peers()
- access full-feed peers only by calling
commons.mrt_collector_peers_full_feed()
- struct exposed as
Example usage:
use bgpkit_commons::BgpkitCommons;
fn main() {
let mut commons = BgpkitCommons::new();
commons.load_mrt_collector_peers().unwrap();
let peers = commons.mrt_collector_peers();
for peer in peers {
println!("{:?}", peer);
}
let full_feed_peers = commons.mrt_collector_peers_full_feed();
for peer in full_feed_peers {
println!("{:?}", peer);
}
}
- allow exporting all bogon prefixes and asns
- update cloudflare RPKI data parsing, also added ASPA data
- added examples/list_aspas.rs to demonstrate how to list all ASPAs
- add new asinfo_all() function to return information for all ASNs in a single call
- improve documentation
- improve ci testing workflow
- add integration tests
- update dependencies
- consolidate all functionalities into a single
BgpkitCommons
instance
Example usage:
use bgpkit_commons::BgpkitCommons;
let mut bgpkit = BgpkitCommons::new();
bgpkit.load_bogons().unwrap();
assert!(bgpkit.bogons_match("23456").unwrap());
- Added
bogons
module to check if an IP prefix or an ASN is a bogon - Added
as2rel
module to provide access to AS-level relationship data generated by BGPKIT - Added APNIC population data to
asnames
module - Added CAIDA
as2org
data toasnames
module - Added IIJ IHR Hegemony score to
asnames
module
- update
oneio
to0.16.5
to fix route-views collector API issue
- add new
bgpkit-commons
binary withexport
subcommand to export all data to JSON files - replace
reqwest
withoneio
as the default HTTP client
- switch to
rustls
as the default TLS backend- users can still opt-in to use
native-tls
by specifyingdefault-features = false
and usenative-tls
feature flag
- users can still opt-in to use