#bgp #protocols #connection #peer-connection #networking #exchange #fsm

netgauze-bgp-speaker

BGP Speaker: Establish connection and exchange messages with other BGP peers

5 unstable releases

0.5.0 Nov 5, 2024
0.4.1 Aug 8, 2024
0.4.0 Aug 7, 2024
0.3.1 Oct 10, 2024
0.3.0 Jan 31, 2024

#1452 in Network programming

Download history 1/week @ 2024-07-29 249/week @ 2024-08-05 9/week @ 2024-08-12 33/week @ 2024-09-16 23/week @ 2024-09-23 1/week @ 2024-09-30 97/week @ 2024-10-07 13/week @ 2024-10-14 125/week @ 2024-11-04

143 downloads per month

Apache-2.0

1.5MB
34K SLoC

BGP Speaker Library

Handle BGP connection and FSM machine and generate a stream of (FSM state, BGP Event).

Example: Listener that logs incoming messages

cargo run --example log_listener -- 600 192.168.56.1

Dependencies

~7–16MB
~211K SLoC