<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><font face="Gentium">Hello!<br>
      </font></p>
    <p><font face="Gentium">We could do it as length+text kinda easily
        but for historical reasons it isn't there. Please note that this
        kind of interface has become impossible to maintain. We won't
        extend this interface to include length, mostly bc. it would
        just be another hack in an already insufficient and slow
        protocol.</font></p>
    <p><font face="Gentium">You may expect not only a completely new
        protocol based on CBOR and YANG to communicate with BIRD, but
        also a quite fast discontinuation of the current interface.</font></p>
    <p><font face="Gentium">I hope this information somehow helps you in
        your long-term planning.<br>
      </font></p>
    <p><font face="Gentium">Maria<br>
      </font></p>
    <div class="moz-cite-prefix">On 2023-10-18 23:26, Alexander Zubkov
      via Bird-users wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CABr+u0b=UUFarQ8Jj23tmoTv3SP+DsmeOfTbf=ANHwT6P1SyaQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div>Hi,</div>
        <div><br>
        </div>
        <div>You can find some information about it here:</div>
        <div><br>
        </div>
        <div><a
href="https://bird.network.cz/?get_doc&v=20&f=prog-2.html#ss2.10"
            moz-do-not-send="true">https://bird.network.cz/?get_doc&v=20&f=prog-2.html#ss2.10</a></div>
        <div><br>
        </div>
        <div>I think (IMHO) the reason why it is not implemented as
          "length+text" is because for that you need to prepare the
          whole response in some buffer first to calculate its size. In
          the current approach you can put the things out without the
          intermediate buffer.</div>
        <div><br>
        </div>
        <div>Regards,</div>
        <div>Alexander<br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Wed, Oct 18, 2023 at
          11:17 PM LIU Chris via Bird-users <<a
            href="mailto:bird-users@network.cz" moz-do-not-send="true"
            class="moz-txt-link-freetext">bird-users@network.cz</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div class="msg-3982865114942331748">
            <div lang="EN-US">
              <div class="m_-3982865114942331748WordSection1">
                <p class="m_-3982865114942331748msipheaderad6c5cd7"
                  style="margin:0in 0in 0.0001pt"><span
style="font-size:10pt;font-family:"Calibri",sans-serif;color:black">Classified
                    as: {OPEN}</span></p>
                <p class="MsoNormal"> </p>
                <p class="MsoNormal"><span
style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)">I
                    don’t think so.</span></p>
                <p class="MsoNormal"><span
style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)">In
                    fact, nothing wrong, just wondering the reason.
                  </span></p>
                <p class="MsoNormal"><span
style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)"> </span></p>
                <p class="MsoNormal"><span
style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)"> </span></p>
                <p class="MsoNormal"> </p>
                <p class="m_-3982865114942331748msipfooter342048f1"
                  style="margin:0in 0in 0.0001pt;text-align:center"
                  align="center">
                  <span
style="font-size:10pt;font-family:"Calibri",sans-serif;color:black">{OPEN}</span></p>
                <div>
                  <div
style="border-width:1pt medium medium;border-style:solid none none;border-color:rgb(225,225,225) currentcolor currentcolor;padding:3pt 0in 0in">
                    <p class="MsoNormal"><b><span
style="font-size:11pt;font-family:"Calibri",sans-serif">From:</span></b><span
style="font-size:11pt;font-family:"Calibri",sans-serif"> <a
                          href="mailto:netravnen%2Bbirdlist@gmail.com"
                          target="_blank" moz-do-not-send="true">netravnen+birdlist@gmail.com</a>
                        <<a
                          href="mailto:netravnen%2Bbirdlist@gmail.com"
                          target="_blank" moz-do-not-send="true">netravnen+birdlist@gmail.com</a>>
                        <br>
                        <b>Sent:</b> Wednesday, October 18, 2023 2:06 PM<br>
                        <b>To:</b> LIU Chris <<a
href="mailto:chris-zq.liu@urbanandmainlines.com" target="_blank"
                          moz-do-not-send="true"
                          class="moz-txt-link-freetext">chris-zq.liu@urbanandmainlines.com</a>><br>
                        <b>Cc:</b> <a
                          href="mailto:bird-users@network.cz"
                          target="_blank" moz-do-not-send="true"
                          class="moz-txt-link-freetext">bird-users@network.cz</a><br>
                        <b>Subject:</b> Re: bird control socket response</span></p>
                  </div>
                </div>
                <p class="MsoNormal"> </p>
                <table style="width:100%" width="100%" cellspacing="0"
                  cellpadding="0" border="0" align="left">
                  <tbody>
                    <tr>
                      <td
style="background:rgb(166,166,166);padding:5.25pt 1.5pt"><br>
                      </td>
                      <td
style="width:100%;background:rgb(234,234,234);padding:5.25pt 3.75pt 5.25pt 11.25pt"
                        width="100%">
                        <div>
                          <p class="MsoNormal">
                            <span
style="font-size:9pt;font-family:"Segoe UI",sans-serif;color:rgb(33,33,33)">You
                              don't often get email from
                              <a
href="mailto:netravnen+birdlist@gmail.com" target="_blank"
                                moz-do-not-send="true"
                                class="moz-txt-link-freetext">netravnen+birdlist@gmail.com</a>.
                              <a
href="https://aka.ms/LearnAboutSenderIdentification" target="_blank"
                                moz-do-not-send="true">
                                Learn why this is important</a></span></p>
                        </div>
                      </td>
                      <td
style="width:56.25pt;background:rgb(234,234,234);padding:5.25pt 3.75pt"
                        width="10">
                        <br>
                      </td>
                    </tr>
                  </tbody>
                </table>
                <div>
                  <div>
                    <div>
                      <p class="MsoNormal"><span
style="font-size:10pt;font-family:"Verdana",sans-serif;color:rgb(58,81,110)">LIU,</span><span
style="font-family:"Arial",sans-serif"></span></p>
                    </div>
                    <div>
                      <p class="MsoNormal"><span
style="font-family:"Arial",sans-serif"> </span></p>
                    </div>
                    <div>
                      <p class="MsoNormal"><span
style="font-family:"Arial",sans-serif">Can the use case be
                          covered by SNMPd agentx support?</span></p>
                    </div>
                    <div>
                      <p class="MsoNormal"><span
style="font-family:"Arial",sans-serif"> </span></p>
                    </div>
                    <div>
                      <p class="MsoNormal"><span
style="font-family:"Arial",sans-serif"><a
href="https://gitlab.nic.cz/labs/bird/-/blob/master/doc/roadmap.md"
                            target="_blank" moz-do-not-send="true"
                            class="moz-txt-link-freetext">https://gitlab.nic.cz/labs/bird/-/blob/master/doc/roadmap.md</a></span></p>
                    </div>
                  </div>
                  <p class="MsoNormal"> </p>
                  <div>
                    <div>
                      <p class="MsoNormal">On Wed, 18 Oct 2023 at 19:19,
                        LIU Chris via Bird-users <<a
                          href="mailto:bird-users@network.cz"
                          target="_blank" moz-do-not-send="true"
                          class="moz-txt-link-freetext">bird-users@network.cz</a>>
                        wrote:</p>
                    </div>
                    <blockquote
style="border-width:medium medium medium 1pt;border-style:none none none solid;border-color:currentcolor currentcolor currentcolor rgb(204,204,204);padding:0in 0in 0in 6pt;margin:5pt 0in 5pt 4.8pt">
                      <div>
                        <div>
                          <div>
                            <p
class="m_-3982865114942331748m8428284153934840327msipheaderad6c5cd7"
                              style="margin:0in 0in 0.0001pt">
                              <span
style="font-size:10pt;font-family:"Calibri",sans-serif;color:black">Classified
                                as: {OPEN}</span></p>
                            <p class="MsoNormal"> </p>
                            <p class="MsoNormal"><span
style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)">I
                                want to implement an application to talk
                                to bird daemon, basically like
                                birdc/birdcl.</span></p>
                            <p class="MsoNormal"><span
style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)">The
                                control socket is TCP stream, it is
                                fine. But the response from bird daemon
                                adds some headers for each line</span></p>
                            <p class="MsoNormal"><span
style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)">I
                                understand server want to make a
                                boundary/delimiter for stream. Just
                                wondering why not just add how many
                                bytes in the beginning of response,
                                instead of this inconvenient way (have
                                to decode line by line). I am not
                                question bird implementation, just
                                wondering
                              </span><span
style="font-size:11pt;font-family:Wingdings;color:rgb(31,73,125)">J</span></p>
                            <p class="MsoNormal"><span
style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)"> </span></p>
                            <p class="MsoNormal"><span
style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)">Current
                                format like below</span></p>
                            <p class="MsoNormal"><span
style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)"> </span></p>
                            <p class="MsoNormal"><span
style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)">Show
                                protocols</span></p>
                            <p class="MsoNormal"
                              style="background:white">
                              <span
style="font-family:Consolas;color:rgb(63,127,95)">0001 BIRD 2.0.10
                                ready.</span></p>
                            <p class="MsoNormal"
                              style="background:white">
                              <span
style="font-family:Consolas;color:rgb(63,127,95)">2002-Name       <u>Proto</u>     
                                Table      State  Since         Info</span></p>
                            <p class="MsoNormal"
                              style="background:white">
                              <span
style="font-family:Consolas;color:rgb(63,127,95)">1002-device1    Device
                                    ---        up    
                              </span></p>
                            <p class="MsoNormal"
                              style="background:white">
                              <span
style="font-family:Consolas;color:rgb(63,127,95)"> static_bgp
                                    Static     master4    up       </span></p>
                            <p class="MsoNormal"
                              style="background:white">
                              <span
style="font-family:Consolas;color:rgb(63,127,95)"> kernel1   
                                    Kernel     master4    up       </span></p>
                            <p class="MsoNormal"
                              style="background:white">
                              <span
style="font-family:Consolas;color:rgb(63,127,95)">0000 </span></p>
                            <p class="MsoNormal"
                              style="background:white">
                              <span
                                style="font-family:Consolas;color:black"> </span></p>
                            <p class="MsoNormal"><span
style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)"> </span></p>
                            <p class="MsoNormal"><span
style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)"> </span></p>
                            <div>
                              <p class="MsoNormal"
                                style="margin-bottom:12pt"><span
style="font-size:10pt;font-family:"Verdana",sans-serif;color:rgb(31,73,125)"
                                  lang="EN-CA">With Best Regards,</span></p>
                              <p class="MsoNormal"
                                style="margin-bottom:12pt"><span
style="font-size:10pt;font-family:"Verdana",sans-serif;color:rgb(31,73,125)"
                                  lang="EN-CA">Chris LIU</span></p>
                              <p class="MsoNormal"> </p>
                              <p
class="m_-3982865114942331748m8428284153934840327msipfooter342048f1"
style="margin:0in 0in 0.0001pt;text-align:center" align="center">
                                <span
style="font-size:10pt;font-family:"Calibri",sans-serif;color:black">{OPEN}</span></p>
                            </div>
                          </div>
                          <table style="border-collapse:collapse"
                            cellspacing="0" cellpadding="0" border="0">
                            <tbody>
                              <tr style="height:8pt">
                                <td
style="width:480pt;border-width:medium medium 1pt;border-style:none none solid;border-color:currentcolor currentcolor rgb(170,172,201);padding:0in 5.4pt;height:8pt"
                                  width="640" valign="top">
                                  <br>
                                </td>
                              </tr>
                              <tr style="height:64.9pt">
                                <td
style="width:480pt;padding:0in 5.4pt;height:64.9pt" width="640"
                                  valign="top">
                                  <p
style="margin-right:0in;margin-left:3.75pt;margin-bottom:0.0001pt">
                                    <i><span
style="font-size:9pt;font-family:"Century Gothic",sans-serif;color:rgb(36,42,117)">Thales
                                        is in the process of carving out
                                        its Transportation activity
                                        (GTS) from other Thales’
                                        activities. In order to prepare
                                        this internal restructuring, a
                                        new e-mail address has been
                                        adopted and your GTS contacts
                                        now use <a
href="http://urbanandmainlines.com" target="_blank"
                                          moz-do-not-send="true">
                                          urbanandmainlines.com</a>.
                                        Please note that their Thales
                                        e-mail address remains also
                                        valid.</span></i></p>
                                </td>
                              </tr>
                            </tbody>
                          </table>
                          <p class="MsoNormal"> </p>
                        </div>
                      </div>
                    </blockquote>
                  </div>
                </div>
              </div>
              <table style="border-collapse:collapse" cellspacing="0"
                cellpadding="0" border="0">
                <tbody>
                  <tr style="height:8pt">
                    <td
style="width:480pt;border-width:medium medium 1pt;border-style:none none solid;border-color:currentcolor currentcolor rgb(170,172,201);padding:0cm 5.4pt;height:8pt"
                      width="621" valign="top">
                      <br>
                    </td>
                  </tr>
                  <tr style="height:64.9pt">
                    <td
style="width:480pt;padding:0cm 5.4pt;height:64.9pt" width="721"
                      valign="top">
                      <p
style="margin-left:5px;margin-top:5px;margin-bottom:0px"><i><span
style="font-size:9pt;font-family:"Century Gothic",sans-serif;color:rgb(36,42,117)"
                            lang="EN-US">Thales is in the process of
                            carving out its Transportation activity
                            (GTS) from other Thales’ activities. In
                            order to prepare this internal
                            restructuring, a new e-mail address has been
                            adopted and your GTS contacts now use <a
                              href="http://urbanandmainlines.com"
                              target="_blank" moz-do-not-send="true">urbanandmainlines.com</a>.
                            Please note that their Thales e-mail address
                            remains also valid.</span></i></p>
                    </td>
                  </tr>
                </tbody>
              </table>
            </div>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Maria Matejka (she/her) | BIRD Team Leader | CZ.NIC, z.s.p.o.</pre>
  </body>
</html>