Bird 3.1.1 - rpki problem

Łukasz Trąbiński lukasz at trabinski.net
Tue Jun 3 17:00:39 CEST 2025


Hello

Could You send me example of rpki config for Bird 3.x.x?
In 2.x.x, I’m use something like below, but it’s not working with 3.x.x

Jun  2 23:29:16 peer bird[2100437]: bird: 2025-06-02 23:29:16.712 [0001] <WARN> /etc/bird.conf:67:71: Inferring function is_v4_rpki_invalid return type from its return value: bool
Jun  2 23:29:16 peer bird[2100437]: bird: 2025-06-02 23:29:16.712 [0001] <WARN> /etc/bird.conf:71:71: Inferring function is_v6_rpki_invalid return type from its return value: bool
Jun  2 23:29:16 peer bird[2100437]: /etc/bird.conf:67:71: Inferring function is_v4_rpki_invalid return type from its return value: bool
Jun  2 23:29:16 peer bird[2100437]: /etc/bird.conf:71:71: Inferring function is_v6_rpki_invalid return type from its return value: bool


—snip--

roa4 table r4;
roa6 table r6;

protocol rpki rpki1
{
    roa4 { table r4; };
    roa6 { table r6; };
    remote xx.xx.xx.xx port 3323;
    retry 300;
}

function is_v4_rpki_invalid () {
  return roa_check(r4, net, bgp_path.last_nonaggregated) = ROA_INVALID;
}

function is_v6_rpki_invalid () {
  return roa_check(r6, net, bgp_path.last_nonaggregated) = ROA_INVALID;
}

filters bgp_import {
 if is_v4_rpki_invalid() then reject;
 accept;
  }

— snip — 






More information about the Bird-users mailing list