Skip to content

Releases: bgpkit/bgpkit-broker

v0.7.10

26 Mar 20:08
2ec1b71
Compare
Choose a tag to compare

Highlights

  • add route-views8 collector
  • add /missing_collectors endpoint to check for collectors that have not been added yet
  • remove /docs and utopia 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

24 Mar 22:38
8116dff
Compare
Choose a tag to compare

Highlights

  • bgpkit-broker serve and bgpkit-broker backup commands now runs SQLite ANALYZE command to once to ensure the
    performance is up to date to all the recently inserted data.

v0.7.8

20 Mar 23:20
3b32ba0
Compare
Choose a tag to compare

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

08 Mar 05:04
f506cf4
Compare
Choose a tag to compare

Highlights

  • Fix installation instruction for cargo
    • Change @0.7 to @^0.7 to correctly use the latest v0.7.x version.
  • Add recently added RouteViews collectors
    • new collectors are interlan.otp (Romania),kinx.icn (South Korea), and namex.fco (Italy)
    • users update the version to v0.7.7 can run the same bgpkit-broker update command to automatically bootstrap
      data for these collectors

v0.7.6

01 Nov 16:45
47cb680
Compare
Choose a tag to compare

Highlights

  • migrate default broker API endpoint to https://api.bgpkit.com/v3/broker
    • Full API docs is available at https://api.bgpkit.com/docs
  • add get_peers to BgpkitBroker 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

23 Aug 15:10
3386bae
Compare
Choose a tag to compare

[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

22 Aug 20:27
eb36f58
Compare
Choose a tag to compare

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.
  • 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

14 Aug 07:40
b6361f7
Compare
Choose a tag to compare

Hotfix

  • fix an issue where the main thread waits for updater thread and never starts the API thread

(deprecated) v0.7.2

13 Aug 21:40
1382a58
Compare
Choose a tag to compare

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

06 Aug 05:14
cb3f0cb
Compare
Choose a tag to compare

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 the disable_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