<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>NLSR uses ndn-cxx <span class="pl-en">CertificateFetcherDirectFetch to send the interest for the certificate, which sends two interests:</span></p>
<p><span class="pl-en">1) Direct interest with face id tag<br>
</span></p>
<p><span class="pl-en">2) To the network w/o face id tag<br>
</span></p>
<p><span class="pl-en">(<a class="moz-txt-link-freetext" href="https://github.com/named-data/ndn-cxx/blob/2c1d349bdb9a1f7b2a0b07ea11e6f24650bde6cd/ndn-cxx/security/v2/certificate-fetcher-direct-fetch.cpp#L63">https://github.com/named-data/ndn-cxx/blob/2c1d349bdb9a1f7b2a0b07ea11e6f24650bde6cd/ndn-cxx/security/v2/certificate-fetcher-direct-fetch.cpp#L63</a>)<br>
</span></p>
<p><span class="pl-en">Maybe there should be an option to disable the network interest by the application (relevant description here:
<a class="moz-txt-link-freetext" href="https://redmine.named-data.net/issues/4718">
https://redmine.named-data.net/issues/4718</a>).<br>
</span></p>
<p><span class="pl-en">Also, the forwarder does not dispatch the interests that have nexthop face id to the strategy:</span></p>
<p><span class="pl-en"><a class="moz-txt-link-freetext" href="https://github.com/named-data/NFD/blob/c70794810592a90847656a97caf27f0326668240/daemon/fw/forwarder.cpp#L194">https://github.com/named-data/NFD/blob/c70794810592a90847656a97caf27f0326668240/daemon/fw/forwarder.cpp#L194</a></span></p>
<p><span class="pl-en">So only reason ASF gets the interest is because </span><span class="pl-en"><span class="pl-en">CertificateFetcherDirectFetch sends an additional interest to network w/o the nexthopfaceid tag.<br>
</span></span></p>
<p><span class="pl-en"><span class="pl-en">Ashlesh<br>
</span></span></p>
<div class="moz-cite-prefix">On 3/12/19 1:44 PM, Dehart, John wrote:<br>
</div>
<blockquote type="cite" cite="mid:A712A37C-B6B1-41EB-9628-5CA5E87D5573@wustl.edu">
<div class=""><br class="">
</div>
Junxiao,
<div class=""><br class="">
</div>
<div class="">Thanks for your help on this.</div>
<div class="">I went ahead and entered a redmine issue for it and added it to the list to be discussed tomorrow on the platform call.</div>
<div class=""><br class="">
</div>
<div class=""><a href="https://redmine.named-data.net/issues/4874" class="" moz-do-not-send="true">https://redmine.named-data.net/issues/4874</a></div>
<div class=""><br class="">
</div>
<div class="">John</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Mar 12, 2019, at 11:06 AM, Junxiao Shi <<a href="mailto:shijunxiao@email.arizona.edu" class="" moz-do-not-send="true">shijunxiao@email.arizona.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="auto" class="">Hi John<br class="">
<div class="gmail_quote" dir="auto">
<div dir="ltr" class="gmail_attr"><br class="">
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
                    .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word" class="">
<div class=""><br class="">
</div>
<div class="">For the first Interest which comes from NLSR, if I understand right, NLSR includes information to force this</div>
<div class="">interest out the face that the LSA came in on. There is no FIB entry yet for /ndn/edu/memphis/…</div>
</div>
</blockquote>
</div>
<div dir="auto" class=""><br class="">
</div>
<div dir="auto" class="">Now this starts to make sense. There's no FIB entry during both Interests. The first Interest was forwarded with NextHopFaceId.</div>
<div dir="auto" class=""><br class="">
</div>
<div class="gmail_quote" dir="auto">
<blockquote class="gmail_quote" style="margin:0 0 0
                    .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word" class="">
<div class="">When the Interest then comes in from BASEL, there is still no FIB entry for the name /ndn/edu/memphis/…  , right?</div>
</div>
</blockquote>
</div>
<div dir="auto" class=""><br class="">
</div>
<div dir="auto" class="">The second Interest was Nacked by ASF due to no FIB entry, i.e. the first condition.</div>
<div dir="auto" class=""><br class="">
</div>
<div class="gmail_quote" dir="auto">
<blockquote class="gmail_quote" style="margin:0 0 0
                    .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word" class="">
<div class="">So, is the lack of a FIB entry at this point causing the NACK? And if so, why could that NACK also clear the PIT entry for the NLSR sent Interest?</div>
</div>
</blockquote>
</div>
<div dir="auto" class=""><br class="">
</div>
<div dir="auto" class="">Nack normally does not delete the PIT entry, since it's still waiting on face 278 to respond. ASF explicitly deletes the PIT entry by invoking Strategy::rejectPendingInterest, because it thinks the Interest cannot be satisfied.</div>
<div dir="auto" class="">This indicates ASF cannot effectively accommodate a runtime strategy change: it would delete a PIT entry after another strategy (or NextHopFaceId in this case) has forwarded the Interest.</div>
<div dir="auto" class="">I'll leave this to ASF designers to decide whether this is a strategy bug.</div>
<div dir="auto" class=""><br class="">
</div>
<div dir="auto" class="">Yours, Junxiao</div>
<div class="gmail_quote" dir="auto">
<blockquote class="gmail_quote" style="margin:0 0 0
                    .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Nfd-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nfd-dev@lists.cs.ucla.edu">Nfd-dev@lists.cs.ucla.edu</a>
<a class="moz-txt-link-freetext" href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev">http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev</a>
</pre>
</blockquote>
</body>
</html>