CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2026/05/18 12:36:25

Modified files:
        usr.sbin/bgpd  : bgpd.h flowspec.c parse.y rde_prefix.c 

Log message:
Introduce a maximum size for a single flowspec NLRI of 4000 bytes.

Enforce this in both in the parser but also in the RDE.
In the RDE flowspec_valid() will error out if the lenght is too long
but also pt_get_flow() and pt_add_flow() will error out.
The fixed buffer in pt_get_flow() is now sized appropriately instead
of using a arbitrary size.

OK tb@

Reply via email to