On Sun, Sep 22, 2019 at 01:10:00AM +0200, Christoph wrote:
Hi, (please keep me in CC, thanks)
I got the following somewhat strangely formatted log lines in /var/log/messages on a BIRD v2.0.6 instance connected to routinator3000 v0.5 ("r3k" bellow) running on FreeBSD 12:
Hi
That is an interesting issue. What was your configuration and can you replicate it and get output of 'show protocols all' ?
Yes it happens every time bird gets a ROA via RTR. I reduced the config to a minimum (BGP peers commented out): BIRD 2.0.6 ready. bird> s p Name Proto Table State Since Info r3k RPKI --- start 00:53:06.027 Established device1 Device --- up 00:53:06.027 mynet4 Static master4 up 00:53:06.027 mynet6 Static master6 up 00:53:06.027 kernel1 Kernel master4 up 00:53:06.027 kernel2 Kernel master6 up 00:53:06.027 bird> s p a Name Proto Table State Since Info r3k RPKI --- start 00:53:06.027 Established Cache server: 127.0.0.1:1323 Status: Established Transport: Unprotected over TCP Protocol version: 1 Session ID: 1325 Serial number: 0 Last update: before 40.453 s Refresh timer : 859.546/900 Retry timer : --- Expire timer : 7159.546/7200 Channel roa4 State: START Table: r4 Preference: 100 Input filter: ACCEPT Output filter: REJECT Routes: 90604 imported, 0 exported, 90604 preferred Route change stats: received rejected filtered ignored accepted Import updates: 90604 0 0 0 90604 Import withdraws: 0 0 --- 0 0 Export updates: 0 0 0 --- 0 Export withdraws: 0 --- --- --- 0 Channel roa6 State: START Table: r6 Preference: 100 Input filter: ACCEPT Output filter: REJECT Routes: 15571 imported, 0 exported, 15571 preferred Route change stats: received rejected filtered ignored accepted Import updates: 15571 0 0 0 15571 Import withdraws: 0 0 --- 0 0 Export updates: 0 0 0 --- 0 Export withdraws: 0 --- --- --- 0 [...] debug log: <TRACE> r3k > added [best] 43.245.16.0/24-24 AS10024 <TRACE> r3k: Received IPv6 Prefix packet (2406:480::/32-32 AS59374) <DBG> Assertion 'c->channel_state == CS_UP' failed at nest/rt-table.c:1543 <TRACE> r3k > added [best] 2406:480::/32-32 AS59374 <TRACE> r3k: Received IPv4 Prefix packet (212.104.48.0/21-21 AS9076) <DBG> Assertion 'c->channel_state == CS_UP' failed at nest/rt-table.c:1543 <TRACE> r3k > added [best] 212.104.48.0/21-21 AS9076 <TRACE> r3k: Received IPv4 Prefix packet (77.104.64.0/18-18 AS42337) <DBG> Assertion 'c->channel_state == CS_UP' failed at nest/rt-table.c:1543 [...] RPKI config: ------------- roa4 table r4; roa6 table r6; protocol rpki r3k { roa4 { table r4; }; roa6 { table r6; }; remote 127.0.0.1 port 1323; retry keep 15; refresh keep 900; expire 14400; } -------------