Releases: bgpkit/monocle
v0.6.2
Dependency updates
bgpkit-broker
to v0.7.0 -> v0.7.5bgpkit-parser
to v0.10.9 -> v0.10.11
bgpkit-parser
version v0.10.11
fixes the improper handling of AS23456
(AS_TRANS
). If you previously see
AS23456
incorrectly showing on the path, it should no-longer showing up after this patchshould no-longer show up after
this patch.
Fixes
- fixed a bug where
psv
format output does not actually print out content.
v0.6.1
This is a maintenance release that updates the following dependencies.
bgpkit-broker
to v0.7.0 -> v0.7.1bgpkit-parser
to v0.10.9 -> v0.10.10oneio
to v0.16.7 -> v0.17.0
With the updated dependencies, monocle
now supports using ONEIO_ACCEPT_INVALID_CERTS=true
env variable
to run search within a network that uses self-signed certificates.
v0.6.0
Highlights
monocle time
now supports querying multiple time strings in a single querymonocle search
with--sqlite-path
now adds found messages to the progress bar during searchmonocle search
now shows the collector IDs in the results, included in the plaintext, json output as well as the
sqlite databasemonocle search
now supports exporting to MRT files using--mrt-path
parameter
v0.5.5
Highlights
- update
bgpkit-parser
to v0.10.5 andoneio
to v0.16.7- not depends on
lz
andxz
features anymore - this change allows
monocle
to work on fresh systems with no xz library installed (e.g. more recent macOS)
- not depends on
v0.5.4
Highlights
- update
bgpkit-parser
to v0.10.1, which includes a non-trivial performance boost for processing gzip compressed MRT files. - added a new
--simple
option tomonocle time
command to allow simple time conversion, suitable for use in scripts.
v0.5.3
Highlights
- remove openssl dependency, switching to rustls as TLS backend
- support installation via
cargo-binstall
v0.5.2 brew install bgpkit/tap/monocle
- add GitHub actions config to build
monocle
binary for macOS (Universal), and linux (arm and amd64) - add
vendored-openssl
optional feature flag to enable GitHub actions builds for different systems. - move
monocle
binary tobin
directory - install
monocle
withbrew install bgpkit/tap/monocle
v0.5.2-beta.1
- add GitHub actions config to build
monocle
binary for macOS (Universal), and linux (arm and amd64) - add
vendored-openssl
optional feature flag to enable GitHub actions builds for different systems. - move
monocle
binary tobin
directory
V0.5.1 multi-country query
What's Changed
$ monocle country PT US
╭──────┬──────────────────────────╮
│ code │ name │
├──────┼──────────────────────────┤
│ PT │ Portugal │
│ US │ United States of America │
╰──────┴──────────────────────────╯
Full Changelog: v0.5.0...v0.5.1
V0.5.0 Cloudflare Radar API support
Overview
This release adds support for querying Cloudflare Radar new BGP routing statistics and prefix-to-origin mapping APIs.
This feature is powered by radar-rs: 0.0.2
, an unofficial Cloudflare Radar API Rust SDK. This library is still in very early stage.
Usage
We added a new monocle radar
command group in this pull request, which contains the following to subcommands:
monocle radar stats [QUERY]
: get routing stats (like prefix count, rpki invalid count) for a given country or ASN.monocle radar pfx2as [QUERY] [--rpki-status valid|invalid|unknown]
: get prefix to origin mapping for a given prefix or ASN
API Token Required
We do not provide data access in the tool. Users who want to access this data are required to obtain a Cloudflare API token (see this tutorial) and set the environment variable CF_API_TOKEN
with the token content. Commands will fail should the token be missing or invalid.
Data License
The use of the Cloudflare Radar data is under CC BY-SA 4.0
license.
This library does not provide any direct access to the API data.
See Cloudflare Radar about page for more details.
What's Changed
- Properly write nullable values to sqlite by @digizeph in #48
- organize code into separate modules by @digizeph in #49
- add Cloudflare Radar API queries support by @digizeph in #50
Full Changelog: v0.4.2...v0.5.0