CVSROOT:        /cvs
Module name:    src
Changes by:     clau...@cvs.openbsd.org 2023/01/04 07:33:31

Modified files:
        usr.sbin/bgpd  : bgpd.conf.5 bgpd.h parse.y printconf.c 
                         session.c util.c 

Log message:
Add a per eBGP session role to the config.

This somewhat replaces the RFC 9234 open policy role. This is done because
ASPA requires the same role to be present to properly validate paths.
For iBGP sessions the role is forced to ROLE_NONE. If no role is set on
an ebgp session then 'announce policy' is forced to 'no'.
Also make sure the the role capability is only added if the role is set.
OK tb@

Reply via email to