Releases: bgpkit/bgpkit-broker
Releases · bgpkit/bgpkit-broker
v0.7.10
Highlights
- add
route-views8
collector - add
/missing_collectors
endpoint to check for collectors that have not been added yet - remove
/docs
andutopia
dependency to remove clutter - freshen up dependencies
Bug fixes
- fixed an issue where incorrectly formatted timestring may cause the API to panic
v0.7.9
Highlights
bgpkit-broker serve
andbgpkit-broker backup
commands now runs SQLiteANALYZE
command to once to ensure the
performance is up to date to all the recently inserted data.
v0.7.8
Highlights
bgpkit-broker backup
command now supports a bootstrapping source database- this is useful to set up independent backup executions separate from the running API services
v0.7.7
Highlights
- Fix installation instruction for cargo
- Change
@0.7
to@^0.7
to correctly use the latestv0.7.x
version.
- Change
- Add recently added RouteViews collectors
- new collectors are
interlan.otp
(Romania),kinx.icn
(South Korea), andnamex.fco
(Italy) - users update the version to
v0.7.7
can run the samebgpkit-broker update
command to automatically bootstrap
data for these collectors
- new collectors are
v0.7.6
Highlights
- migrate default broker API endpoint to
https://api.bgpkit.com/v3/broker
- Full API docs is available at
https://api.bgpkit.com/docs
- Full API docs is available at
- add
get_peers
toBgpkitBroker
struct- fetches the list of peers for a given collector
- allow specifying filters the same way as querying MRT files
- available filter functions include:
.peers_asn(ASN)
.peers_ip(IP)
.collector_id(COLLECTOR_ID)
.peers_only_full_feed(TRUE/FALSE)
- returns
Vec<BrokerPeer>
#[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize)]
pub struct BrokerPeer {
/// The date of the latest available data.
pub date: NaiveDate,
/// The IP address of the collector peer.
pub ip: IpAddr,
/// The ASN (Autonomous System Number) of the collector peer.
pub asn: u32,
/// The name of the collector.
pub collector: String,
/// The number of IPv4 prefixes.
pub num_v4_pfxs: u32,
/// The number of IPv6 prefixes.
pub num_v6_pfxs: u32,
/// The number of connected ASNs.
pub num_connected_asns: u32,
}
v0.7.5
[NEW] deploy at fly.io
- add a deployment config file for fly.io
Bugfix
- fix an issue where the API returns URL with additional
/bgpdata
for some new route-views collectors.
Documentation
- improved documentation on deploying bgpkit-broker services.
v0.7.4
Highlights
- add a new 30s timeout for fetching web page content for the crawler
- the async
reqwest::get
function by default does not have a timeout and thus we could potentially stuck waiting
forever.
- the async
- add new
max_delay_secs
parameter to the/health
endpoint to allow user specify a maximum delay in seconds and
the API will return error code 503 if the delay for the latest file timestamp (any file) is greater than the specified
value.- this allows better monitoring for the API's health without sending heartbeats.
v0.7.3
Hotfix
- fix an issue where the main thread waits for updater thread and never starts the API thread
(deprecated) v0.7.2
Highlights
- panic if the cli updater thread failed for some reason
- previously, the failed thread goes silently, and the main process continues running
- reduce logging if not configuring NATS notifier
- previously, the missing notifier message appear at every fetch
v0.7.1
Highlights
- updated the
bgpkit-broker update
command to allow bootstrapping new collectors on demand - a number of new RouteViews collectors have been added
amsix.ams
cix.atl
decix.jhb
iraq-ixp.bgw
pacwave.lax
pit.scl
pitmx.qro
route-views7
- added a new
allow_invalid_cert
function to the constructor and deprecated thedisable_ssl_check
function- they work the same way, but the new function name is more accurate
- constructor also checks for
ONEIO_ACCEPT_INVALID_CERTS=true
environment variable to allow invalid certs (not
recommended, use at your own risk) - improved project filter. it now matches the name of the collector to project names
- this works with the newly added RouteViews collectors whose names do not prefix with
route-views
- this works with the newly added RouteViews collectors whose names do not prefix with