CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2026/06/02 02:40:02

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

Log message:
Default 'announce as-4byte' to 'enforce' for all peers

After close to 20 years of 4-byte AS support in bgpd it is time to enforce
it. The fall back code from 2-byte AS to 4-byte AS is non-trivial and
the RFC is way to optimistic and ignores many possible error conditions.

All relevant BGP implementations support 4-byte ASnums so it is a
misconfiguration to not use this by default. Most implementations do this
by default.

In the unlikely cases where 2-byte AS support is still needed one can
fall back to the previous default by using 'announce as-4byte yes'.

OK tb@ job@

Reply via email to