<div><div dir="auto">Hi Fred</div></div><div dir="auto"><br></div><div dir="auto">This isn’t a forwarder problem, but a producer problem. The producer shouldn’t respond to an Interest with a Data that violates CanBePrerix element. If logging is required, it should happen at the producer.</div><div dir="auto"><br></div><div dir="auto">Yours, Junxiao</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 27, 2019 at 12:41 Fred Douglis <<a href="mailto:fdouglis@perspectalabs.com">fdouglis@perspectalabs.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<p>I've been using NFD 0.6.3; it's possible this has been changed in
a later version, or at least a known issue, so if so please just
advise.</p>
<p>I was trying to do a simple test, using the ndnpeek test
application. I could see that the interest was reaching the
producer and making its way back to NFD, but NFD was rejecting it
as <i>unsolicited data</i>. <br>
</p>
<p>It took me longer than it should have to realize that I'd
neglected to include the -P flag. But when I look at the NFD log,
it could definitely be a bit more informative. It shows that it
looks up the name provided in the data and fails, then matches the
name provided in the interest. At which point it says it's an
unsolicited data packet. <br>
</p>
<p>I assume what is happening under the covers is that when it
matches the prefix, it is looking for the CanBePrefix flag, not
finding it, and declaring it to be unsolicited. A DEBUG or
TRACE-level message to that effect would, I think, help what must
be a somewhat common occurrence. Or perhaps there is a further
debug level or something else that would already have revealed
this?</p>
<p>Thanks,</p>
<p>Fred<br>
</p>
<div class="m_3425099468344300804moz-signature"><br>
</div>
</div>
_______________________________________________<br>
Nfd-dev mailing list<br>
<a href="mailto:Nfd-dev@lists.cs.ucla.edu" target="_blank">Nfd-dev@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev</a><br>
</blockquote></div></div>