pabgp

Crates.iopabgp
lib.rspabgp
version0.2.0
sourcesrc
created_at2024-09-10 17:19:39.206426
updated_at2024-09-10 17:19:39.206426
descriptionA pretty average BGP implementation
homepage
repositoryhttps://github.com/myzhang1029/pabgp
max_upload_size
id1370641
size99,559
Zhang Maiyun (myzhang1029)

documentation

README

paBGP

A pretty average BGP implementation in Rust.

Supported Features

It implements most of the modern BGP data structures and messages, as well as utilities to easily create them with builder patterns, encode them to bytes, and decode them from bytes.

Next-to-full support for:

  • Base BGP-4 (RFC4271)
  • BGP Capabilities (RFC5492)
  • Multiprotocol Extensions for BGP-4 (cap 1) (RFC4760)
  • IPv4 over IPv6 next-hop (cap 5) (RFC8950)
  • Four-octet AS numbers (cap 65) (RFC6793)

Basic support for:

  • Route Refresh (cap 2) (RFC2918)
  • Extended Messages for BGP (cap 6) (RFC8654)

Open-ended enum variants exist to support manually parsing and encoding unsupported or custom BGP capabilities and path attributes.

About

This project is a spin-off from delegation-feed (also in this Cargo workspace). However, it contains enough features to be useful on its own for creating BGP applications.

Commit count: 0

cargo fmt