CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2026/11/11 14:08:27

Modified files:
        usr.sbin/rpki-client: aspa.c 

Log message:
rpki-client: reject CustomerASID 0 in ASPAs

The customerASID element has type CAS ::= INTEGER (1..4294967295) with
section 3.2 of draft-ietf-sidrops-aspa-profile-30 explicitly saying
"The customerASID field contains a positive integer [...]".

as_id_parse() accepts all values in [0, UINT32_MAX], so we need to
exclude 0 explicitly.

ok claudio rcovelli

Reply via email to