#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

#1493 in Network programming

Download history 4/week @ 2024-08-14 24/week @ 2024-09-11 19/week @ 2024-09-18 14/week @ 2024-09-25 104/week @ 2024-10-09 6/week @ 2024-10-16 60/week @ 2024-10-30 67/week @ 2024-11-06 1/week @ 2024-11-13 3/week @ 2024-11-20

131 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
~211K SLoC