<div dir="ltr">Hi JeffT<div><br></div><div>NFD can forward an Interest toward the micro forwarder via WebSocket, if there's a FIB nexthop record pointing to the WebSocket face, and the forwarding strategy decides to use this nexthop.</div><div>There's no technical barrier in this regard. NDN-JS browser application is already able to act as a producer, and the micro forwarder isn't different from a browser application from NFD's point of view.</div><div><br></div><div>In order to get a FIB nexthop record pointing to the WebSocket face, the micro forwarder should send a prefix registration command to NFD under /localhop/nfd prefix, similar to NFD-RIB's automatic prefix propagation.</div><div>As indicated in #<a href="http://redmine.named-data.net/issues/3568">3568</a>, the testbed certificate itself, rather than a sub-certificate, must be used to sign this prefix registration command, because the router NFD cannot fetch sub-certificates.</div><div>Thus, the user has to manually request a testbed certificate from ndncert, export it into a format compatible with NDN-JS (<a href="http://www.lists.cs.ucla.edu/pipermail/ndn-lib/2014-October/000183.html">step 1-2</a>, <a href="http://www.lists.cs.ucla.edu/pipermail/ndn-lib/2014-October/000188.html">step 3</a>, <a href="http://www.lists.cs.ucla.edu/pipermail/ndn-lib/2014-October/000193.html">step 4-5</a>), and import it into the micro forwarder.</div><div><br></div><div>Yours, Junxiao<br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 29, 2016 at 4:25 PM, Thompson, Jeff <span dir="ltr"><<a href="mailto:jefft0@remap.ucla.edu" target="_blank">jefft0@remap.ucla.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif">
<div>Hi Junxiao,</div>
<div><br>
</div>
<div>As we discussed at the Hackathon, the NDN Micro Forwarder in the browser needs to make a WebSocket connection to a remote NFD and needs to receive interests over the same connection.</div>
<div><br>
</div>
<div>How would you like to proceed? Is there a Redmine issue for this? (I couldn’t find it.) Should we discuss it on an NFD call?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>- Jeff T</div>
<div><br>
</div>
<div><br>
</div>
</div>

</blockquote></div><br></div></div></div>