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 0c8817e145 frontend: add config checkboxes 5 days ago
frontend frontend: add config checkboxes 5 days ago
nix frontend: fix node hover area 5 days ago
src graph: modify node once 5 days ago
.gitignore initial commit 6 months ago
Cargo.lock make things nicer 5 months ago
Cargo.toml make things nicer 5 months ago
README.md add nix packaging 1 week ago
config.yaml [broken] /protocols endpoint 6 months 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