Skip to content

bgpgg-org/bgpgg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bgpgg

A BGP router written in Rust, designed for speed and observability.

Quick Start

# Build
make

# Run daemon
./target/release/bgpggd -c config.yaml

# Use CLI (in another terminal)
./target/release/bgpgg peer add 192.168.1.1:179
./target/release/bgpgg peer list

Configuration

Edit config.yaml:

asn: 65000                      # Your AS number
listen_addr: "127.0.0.1:1790"   # BGP listen address
router_id: "1.1.1.1"            # Router ID
grpc_listen_addr: "[::1]:50051" # gRPC API address

Development

make        # Build
make test   # Run tests
make fmt    # Format code

Structure

  • core - Core BGP protocol implementation
  • daemon - BGP daemon server
  • cli - Command-line interface

License

Apache-2.0

About

A fast and observable BGP implemetned in Rust

Topics

Resources

License

Stars

Watchers

Forks

Languages