Skip to content

Conversation

@digizeph
Copy link
Member

@digizeph digizeph commented Aug 3, 2025

  • Add validation warnings for Local RIB peer header requirements
    • Warn when peer address is not zero-filled as required
    • Warn when peer BGP ID is zero for non-global instances
  • Add validation warnings for Local RIB peer up notifications
    • Warn when fabricated OPEN messages lack multiprotocol capabilities
    • Warn when VrTableName TLV is missing or has invalid length
  • Add validation warnings for Local RIB route monitoring
    • Warn when not using required 4-byte ASN encoding
  • Update function signatures to pass peer type for validation
  • All validation is non-breaking and uses standard log::warn! macro

The RFC 9069 Local RIB parsing functionality was already complete. These changes add compliance validation to help debug BMP implementations.

This finishes resolving #164

- Add validation warnings for Local RIB peer header requirements
  - Warn when peer address is not zero-filled as required
  - Warn when peer BGP ID is zero for non-global instances
- Add validation warnings for Local RIB peer up notifications
  - Warn when fabricated OPEN messages lack multiprotocol capabilities
  - Warn when VrTableName TLV is missing or has invalid length
- Add validation warnings for Local RIB route monitoring
  - Warn when not using required 4-byte ASN encoding
- Update function signatures to pass peer type for validation
- All validation is non-breaking and uses standard log::warn\! macro

The RFC 9069 Local RIB parsing functionality was already complete.
These changes add compliance validation to help debug BMP implementations.
@digizeph digizeph merged commit 96cc1c8 into main Aug 3, 2025
3 checks passed
@digizeph digizeph deleted the rfc9069 branch August 3, 2025 21:38
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.

2 participants