Bird 2.0.7 and Bird 2.0.8 config comparability
Hi there, Is it just me or does 2.0.8 bring breaking changes to config structure? The following function does not appear to work anymore. -------------------------------------------------------------- function prefix_is_bogon() { if net.type = NET_IP4 then if net ~ BOGONS_4 then return true; if net.type = NET_IP6 then if net ~ BOGONS_6 then return true; return false; } ------------------------------------------------------------- Neither does: ------------------------------------------------------------- # --- RPKI --- roa4 table RPKI4; roa6 table RPKI6; protocol rpki { roa4 { table RPKI4; }; roa6 { table RPKI6; }; remote "<snip>" port 8083; retry keep 90; refresh keep 900; expire keep 172800; } ------------------------------------------------------------------ The RPKI one complains about the roa tables.
Actually, I found that one config file had statements which was not ended correctly which resulted in wierd errors. On 19/04/2021 12.30, Skyler Mäntysaari wrote:
Hi there,
Is it just me or does 2.0.8 bring breaking changes to config structure? The following function does not appear to work anymore.
--------------------------------------------------------------
function prefix_is_bogon() { if net.type = NET_IP4 then if net ~ BOGONS_4 then return true; if net.type = NET_IP6 then if net ~ BOGONS_6 then return true; return false; } -------------------------------------------------------------
Neither does:
------------------------------------------------------------- # --- RPKI --- roa4 table RPKI4; roa6 table RPKI6;
protocol rpki { roa4 { table RPKI4; }; roa6 { table RPKI6; };
remote "<snip>" port 8083;
retry keep 90; refresh keep 900; expire keep 172800; } ------------------------------------------------------------------
The RPKI one complains about the roa tables.
participants (1)
-
Skyler Mäntysaari