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

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

#1745 in Network programming

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–17MB
~211K SLoC