CVSROOT: /cvs Module name: src Changes by: clau...@cvs.openbsd.org 2023/01/11 06:53:17
Modified files: usr.sbin/bgpd : Makefile bgpd.h rde.c rde.h rde_update.c Added files: usr.sbin/bgpd : rde_aspa.c Log message: Add ASPA validation functions to the RDE. This implements ASPA validation based on the current draft. Implementing this showed various weaknesses in the current ASPA draft which I hope to fix in the near future. Unlike the algorithm specified in the draft our version validates the AS_PATH attribute in a single path doing one or two lookups depending on the sessions BGP role. The code is not yet hooked up into the RDE (see the NOTYET blocks). Missing are reload logic, bgpctl integration and the loading of the merged ASPA set from the rtr process. OK tb@