#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

#1411 in Network programming

Download history 4/week @ 2024-09-27 35/week @ 2024-10-04 72/week @ 2024-10-11 3/week @ 2024-10-18 108/week @ 2024-11-01 19/week @ 2024-11-08 3/week @ 2024-11-15 1/week @ 2024-11-22 5/week @ 2024-12-06

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