<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-2022-jp">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0">
Oh, I found that the translation tool seems to delete the semicolon in the function configuration, but it actually exists.<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>$B4s7o<T(B:</b> haima<br>
<b>$B4s7oF|4|(B:</b> 2023$BG/(B1$B7n(B23$BF|(B 22:44<br>
<b>$BZ@7o<T(B:</b> bird-users@network.cz <bird-users@network.cz><br>
<b>$B<g;](B:</b> Question: ROA verification does not work properly on bird 2.0.11</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hello dear community members,<br>
<br>
I am configuring RPKI verification for my network, but I have encountered a strange syntax error problem.<br>
<br>
My configuration is as follows:<br>
<br>
roa4 table roa_table4;<br>
roa6 table roa_table6;<br>
<br>
protocol rpki Cloudflare_RPKI {<br>
roa4 { table roa_table4; };<br>
roa6 { table roa_table6; };<br>
<br>
remote "172.65.0.2" port 8282;<br>
<br>
retry keep 90;<br>
refresh keep 900;<br>
expire keep 172800;<br>
}<br>
<br>
function is_rpki_invalid () { }<br>
if roa_check(roa_table4, net, bgp_path.last) = ROA_INVALID then return true<br>
if roa_check(roa_table6, net, bgp_path.last) = ROA_INVALID then return true;<br>
return false;<br>
}<br>
<br>
<br>
<br>
bird will return the following error: /etc/bird/function.conf:59:22 Syntax error, unexpected CF_SYM_UNDEFINED, expecting CF_SYM_KNOWN<br>
<br>
This error is also returned by the example configuration provided in the documentation.<br>
<br>
PS: RPKI session placed in bird.conf<br>
PS: Function placed in function.conf<br>
<br>
Regards,<br>
<br>
Haima<br>
<br>
MoeBee Network<br>
</div>
</span></font></div>
</body>
</html>