Skip to content
プロジェクト

概要

Rustプログラミング言語で実装されたBGP

言語・ランタイム

この数値の測り方

できること

  • Route Reflector (RFC 4456)
  • BGP Confederation (RFC 5065)
  • Route Server (RFC 7947)
  • Add-Path (RFC 7911)

計測したスター増加

24時間
0
7日間
0
15日間
+1
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

RustyBGP

RustyBGP is a BGP implementation written in Rust, designed for high performance on multicore systems. It supports most of GoBGP's features with the same gRPC API and configuration file format, so you can replace gobgpd with rustybgpd without changing your tooling or configuration.

Quick Start

Download the latest nightly binary (x86_64 / aarch64):

curl -LO https://github.com/osrg/rustybgp/releases/download/nightly/rustybgp-nightly-linux-x86_64.tar.gz
tar xf rustybgp-nightly-linux-x86_64.tar.gz

Start the daemon with your GoBGP configuration file:

sudo ./rustybgpd -f gobgpd.conf
Hello, RustyBGP (32 cpus)!

You can manage it with the GoBGP CLI:

$ gobgp neighbor
Peer            AS Up/Down State       |#Received  Accepted
198.51.100.2 65002   never Idle        |        0         0

Supported Features

  • Route Reflector (RFC 4456)
  • BGP Confederation (RFC 5065)
  • Route Server (RFC 7947)
  • Add-Path (RFC 7911)
  • IPv4 routes with IPv6 next hops (RFC 8950), over IPv4 or IPv6 BGP sessions
  • Graceful Restart (RFC 4724)
  • Long-Lived Graceful Restart (RFC 9494)
  • RPKI (RFC 6810, RFC 8210)
  • BFD (RFC 5880 / RFC 5881)
  • BMP (RFC 7854, RFC 9069) — all monitoring policies (Pre/Post/Loc-RIB/Adj-Out)
  • MRT (RFC 6396)
  • Policy (OpenConfig model)
  • Dynamic neighbor
  • Peer group
  • Address families: IPv4/IPv6 unicast/multicast, L3VPN (RFC 4364), EVPN Types 1–5 (RFC 7432), BGP-LS (RFC 7752), Flowspec (RFC 8955), SR Policy (RFC 9256), MUP (draft-ietf-bess-mup-safi)

See configuration details for transport settings.

Differences from GoBGP

RustyBGP is Linux-only and integrates directly with the Linux kernel for FIB management instead of Zebra/FRR. The kernel integration supports:

  • Route injection and withdrawal (IPv4/IPv6, VRF)
  • ECMP (multiple nexthops via RTA_MULTIPATH)
  • Nexthop tracking (NHT) — monitors nexthop reachability and withdraws affected routes
  • Connected route redistribution — detects interface address changes and injects connected routes into BGP

The following GoBGP features are not supported:

  • VPLS
  • MPLS VPN Multicast
  • EVPN control plane (RT-based MAC-VRF import/export; Types 1–5 NLRI relay is supported)

Contributing

Contributions are welcome. See CONTRIBUTING.md for how to build, test, and submit patches.

関連プロジェクトを探す

読み込み中…