[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bird-users
Subject:    =?iso-2022-jp?B?GyRCMnNKJBsoQjogUXVlc3Rpb246IFJPQSB2ZXJpZmljYXRpb24gZG9l?= =?iso-2022-jp?B?cyBub3Qgd
From:       haima via Bird-users <bird-users () network ! cz>
Date:       2023-01-23 14:51:07
Message-ID: TYZPR02MB60746BD605B176DADFCE3498C2C89 () TYZPR02MB6074 ! apcprd02 ! prod ! outlook ! com
[Download RAW message or body]

Oh, I found that the translation tool seems to delete the semicolon in the function \
configuration, but it actually exists. ________________________________
$B4s7o<T(B: haima
$B4s7oF|4|(B: 2023$BG/(B1$B7n(B23$BF|(B 22:44
$BZ@7o<T(B: bird-users@network.cz <bird-users@network.cz>
$B<g;](B: Question: ROA verification does not work properly on bird 2.0.11

Hello dear community members,

I am configuring RPKI verification for my network, but I have encountered a strange \
syntax error problem.

My configuration is as follows:

roa4 table roa_table4;
roa6 table roa_table6;

protocol rpki Cloudflare_RPKI {
        roa4 { table roa_table4; };
        roa6 { table roa_table6; };

        remote "172.65.0.2" port 8282;

        retry keep 90;
        refresh keep 900;
        expire keep 172800;
}

function is_rpki_invalid () { }
        if roa_check(roa_table4, net, bgp_path.last) = ROA_INVALID then return true
        if roa_check(roa_table6, net, bgp_path.last) = ROA_INVALID then return true;
        return false;
}



bird will return the following error: /etc/bird/function.conf:59:22 Syntax error, \
unexpected CF_SYM_UNDEFINED, expecting CF_SYM_KNOWN

This error is also returned by the example configuration provided in the \
documentation.

PS: RPKI session placed in bird.conf
PS: Function placed in function.conf

Regards,

Haima

MoeBee Network


[Attachment #3 (text/html)]

<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 &lt;bird-users@network.cz&gt;<br> <b>$B<g;](B:</b> Question: \
ROA verification does not work properly on bird 2.0.11</font> <div>&nbsp;</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>
&nbsp; &nbsp; &nbsp; &nbsp; roa4 { table roa_table4; };<br>
&nbsp; &nbsp; &nbsp; &nbsp; roa6 { table roa_table6; };<br>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; remote &quot;172.65.0.2&quot; port 8282;<br>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; retry keep 90;<br>
&nbsp; &nbsp; &nbsp; &nbsp; refresh keep 900;<br>
&nbsp; &nbsp; &nbsp; &nbsp; expire keep 172800;<br>
}<br>
<br>
function is_rpki_invalid () { }<br>
&nbsp; &nbsp; &nbsp; &nbsp; if roa_check(roa_table4, net, bgp_path.last) = \
ROA_INVALID then return true<br> &nbsp; &nbsp; &nbsp; &nbsp; if roa_check(roa_table6, \
net, bgp_path.last) = ROA_INVALID then return true;<br> &nbsp; &nbsp; &nbsp; &nbsp; \
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>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic