RPKI protocol is loop starting if the min version is not available
Alarig Le Lay
alarig at swordarmor.fr
Mon Dec 16 13:31:03 CET 2024
Hello,
Following the 2.16 release with ASPA support, I tried to play with it.
So I tried to connect a bird instance to a RTR server with version 2 as
stated by https://bird.network.cz/?get_doc&v=20&f=bird-6.html#ss6.16
> The same protocol, since version 2, also receives and maintains a set
> of ASPAs. You can then validate AS paths using function aspa_check()
> in (import) filters.
It seems that I misconfigured my routinator, but instead of an error
with a timer, it tries to reconnect right away, which fail again, etc.
Here are the logs:
Dec 16 13:27:54 edge03-stolon bird: rpki_rr3: Connected
Dec 16 13:27:54 edge03-stolon bird: rpki_rr3.roa4: State changed to UP
Dec 16 13:27:54 edge03-stolon bird: rpki_rr3.roa6: State changed to UP
Dec 16 13:27:54 edge03-stolon bird: rpki_rr3.aspa: State changed to UP
Dec 16 13:27:54 edge03-stolon bird: rpki_rr3: State changed to up
Dec 16 13:27:54 edge03-stolon bird: rpki_rr3: Changing from Connecting to Sync-Start state
Dec 16 13:27:54 edge03-stolon bird: rpki_rr3: Sending Reset Query packet
Dec 16 13:27:54 edge03-stolon bird: rpki_rr3: Received Error packet (Unsupported-Protocol-Version: 'only versions 0 up to and including MAX_VERSION supported', Reset Query packet: 02 02 00 00 00 00 00 08)
Dec 16 13:27:54 edge03-stolon bird: rpki_rr3: Client uses unsupported protocol version
Dec 16 13:27:54 edge03-stolon bird: rpki_rr3: Got UNSUPPORTED_PROTOCOL_VER error PDU with invalid values, current version: 2, PDU version: 1
Dec 16 13:27:54 edge03-stolon bird: rpki_rr3: Changing from Sync-Start to Fatal-Protocol-Error state
Dec 16 13:27:54 edge03-stolon bird: rpki_rr3.roa4: State changed to FLUSHING
Dec 16 13:27:54 edge03-stolon bird: rpki_rr3.roa6: State changed to FLUSHING
Dec 16 13:27:54 edge03-stolon bird: rpki_rr3.aspa: State changed to FLUSHING
Dec 16 13:27:54 edge03-stolon bird: rpki_rr3: State changed to flush
Dec 16 13:27:54 edge03-stolon bird: rpki_rr3.roa4: State changed to DOWN
Dec 16 13:27:54 edge03-stolon bird: rpki_rr3.roa6: State changed to DOWN
Dec 16 13:27:54 edge03-stolon bird: rpki_rr3.aspa: State changed to DOWN
Dec 16 13:27:54 edge03-stolon bird: rpki_rr3: State changed to down
Dec 16 13:27:54 edge03-stolon bird: rpki_rr3: Starting
Dec 16 13:27:54 edge03-stolon bird: rpki_rr3: Changing from Down to Connecting state
Dec 16 13:27:54 edge03-stolon bird: rpki_rr3: Opening a connection
Dec 16 13:27:54 edge03-stolon bird: rpki_rr3: State changed to start
Dec 16 13:27:54 edge03-stolon bird: rpki_rr3: Connected
And here is the config I used:
protocol rpki rpki_rr3 {
debug all;
roa4 { table r4; };
roa6 { table r6; };
aspa { table at; };
remote "rr3.swordarmor.fr";
min version 2;
max version 2;
disabled;
}
--
Alarig
More information about the Bird-users
mailing list