Skip to content

BMP Collector Misinterprets Asymmetric ADD-PATH Negotiation Leading to Incorrect Prefix Parsing #429

Description

@nashabtayev-dn

In a scenario where BGP ADD-PATH is asymmetrically configured:

One peer advertises send-only (2)
The other peer advertises receive-only (1)

This is a valid ADD-PATH negotiation per RFC 7911, and multiple paths should be exchanged successfully.

However, the BMP collector incorrectly interprets this combination as no ADD-PATH capability negotiated, due to a faulty condition in the code that expects the capability value to be greater than 3.

As a result:

Prefixes received with ADD-PATH IDs are not recognized as valid ADD-PATH updates
The collector does not expect path identifiers
This leads to incorrect parsing and misrepresentation of prefixes in the database

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions