You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Milan b7fb846499
add metrics endpoint
1 month ago
frontend update frontend dependencies 3 months ago
nix update nix packaging 3 months ago
src add metrics endpoint 1 month ago
.gitignore initial commit 1 year ago
Cargo.lock update some dependencies 3 months ago
Cargo.toml update some dependencies 3 months ago
README.md add nix packaging 9 months ago
config.yaml [broken] /protocols endpoint 1 year ago

README.md

Rust Looking Glass

built with nix

How to run

  • Install bird-lg proxy or bird-lg-go proxy on your router
  • Adjust config.yaml
  • Build the frontend: (cd frontend && yarn && node_modules/.bin/gulp --production)
  • Start the backend: RESOURCE_DIR=frontend cargo run --release

For Nix users, you can use this command to start rusty-lg:

RESOURCE_DIR=$(nix-build nix -A rusty-lg-frontend) $(nix-build nix -A rusty-lg-backend)/bin/rusty-lg

Goals

  • Parse bird2 command line output
  • Create graph structure from route objects
  • Merge graph structures obtained from multiple nodes
  • Differentiate and display IGP and BGP routes
  • Modular design: Optionally run proxy on different host

Non-goals

  • Web frontend being usable without JavaScript

Why use a known-good software if you can reimplement it from scratch in Rust?

Because that'd be no fun