Skip to content

aspa: Fix ASPA validation for AS paths with AS path prepending#320

Open
Brias wants to merge 1 commit intomasterfrom
bugfix/aspa-validation-with-as-path-prepending
Open

aspa: Fix ASPA validation for AS paths with AS path prepending#320
Brias wants to merge 1 commit intomasterfrom
bugfix/aspa-validation-with-as-path-prepending

Conversation

@Brias
Copy link
Contributor

@Brias Brias commented Jan 7, 2026

Contribution description

Previously, the ASPA validation was not performed on the compressed AS path which yielded incorrect results for AS paths where at least one AS number appeared multiple times in a row and that AS did not add itself as a provider in its ASPA record. This was against the ASPA RFC, which mandates validation on the compressed AS path.

Testing procedure

The existing ASPA test have been fixed and extended so that the ASPA validation of AS paths with AS path prepending is tested for the upstream and downstream direction.

Issues/PRs references

n/a

Previously, the ASPA validation was not performed on the compressed
AS path which yielded incorrect results for AS paths where at least
one AS number appeared multiple times in a row and that AS did not
add itself as a provider in its ASPA record. This was against the
ASPA RFC, which mandates validation on the compressed AS path.
@Brias Brias requested a review from tanneberger January 7, 2026 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant