Add RTR support to OpenBGPD. Add basic support for the protocol.
authorclaudio <claudio@openbsd.org>
Tue, 16 Feb 2021 08:29:16 +0000 (08:29 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 16 Feb 2021 08:29:16 +0000 (08:29 +0000)
commitbd9df44e202885158646685b6952fa0cd22e8ae1
treeee2283c6c1056d5939d818405a569b53ac8fa864
parentebd5581623e41f42ead738fa0f7a54b09b976cc9
Add RTR support to OpenBGPD. Add basic support for the protocol.
The RTR client runs in a new process where the protocol handling is done
and when new data is available all sources are merged into one ROA set
which is then loaded into the RDE. The roa-set from the config is also
handled by the new RTR engine.
Tested by and ok job@
15 files changed:
usr.sbin/bgpd/Makefile
usr.sbin/bgpd/bgpd.8
usr.sbin/bgpd/bgpd.c
usr.sbin/bgpd/bgpd.conf.5
usr.sbin/bgpd/bgpd.h
usr.sbin/bgpd/config.c
usr.sbin/bgpd/control.c
usr.sbin/bgpd/parse.y
usr.sbin/bgpd/printconf.c
usr.sbin/bgpd/rde.c
usr.sbin/bgpd/rtr.c [new file with mode: 0644]
usr.sbin/bgpd/rtr_proto.c [new file with mode: 0644]
usr.sbin/bgpd/session.c
usr.sbin/bgpd/session.h
usr.sbin/bgpd/util.c