Implement ASPA support in RTR by following draft-ietf-sidrops-8210bis-10.
authorclaudio <claudio@openbsd.org>
Thu, 9 Mar 2023 17:21:21 +0000 (17:21 +0000)
committerclaudio <claudio@openbsd.org>
Thu, 9 Mar 2023 17:21:21 +0000 (17:21 +0000)
commit83072fb646af9112a9c2b682065739e81210945b
tree3966b22c2605452a0e1adef9a9e61a84a3e9f266
parentcadf6b7a7ebc0373c45a8b564d3bdd354a5433a2
Implement ASPA support in RTR by following draft-ietf-sidrops-8210bis-10.

In rtr.c renamed rtr_aspa_merge_set() to rtr_aspa_insert() and move it
close to rtr_roa_insert().
In rtr_proto.c most complexity comes from the version negotiation. The
ASPA parser is reasonably streight forward. The version negotiation is
fragile but that is mostly because of the protocol specification and the
fact that RTR cache daemons sometimes fail to send errors.
OK tb@
usr.sbin/bgpd/bgpd.h
usr.sbin/bgpd/rtr.c
usr.sbin/bgpd/rtr_proto.c
usr.sbin/bgpd/session.h