<div dir="ltr"><div>Hi Boussada<br><br></div><div>CCNx's <a href="https://github.com/ProjectCCNx/ccnx/blob/ccnx-0.8.2/doc/technical/InterestMessage.txt#L119">AnswerOriginKind </a>does not restrict which <u>user</u> (producer or cache) could answer an Interest. It is a bitmask containing the following:</div><div><ul><li>1 = Answer from existing content store</li><li>2 = Answers may be generated</li><li>4 = Answer may be "stale"</li><li>16 = Mark as stale in content store (must have Scope 0) __Status:__ _hack_</li></ul></div><div></div><div><br></div><div>When designing NDN protocol, we believed:</div><div><ul><li>It is harmful to disallow answering from a Content Store, because (1) it can lead to attacks on a producer (2) it disallows localized recovery after a Data packet loss. Thus, bit 1 is unnecessary.<br></li><li>It is useless to disallow a producer from generating content, because the purpose of an Interest is to retrieve Data no matter where it came from. Thus, bit 2 is unnecessary.<br>Use cases of checking Content Store only arose later on, but these use cases were only for checking local Content Store, so there were no need to standardize it in network wire format.</li><li>It is useful to allow stale content. Thus, bit 4 is necessary. This became the MustBeFresh selector.</li><li>It is unnecessary to standardize bit 16 because it is entirely within the local node.<br></li></ul></div>Finally, AnswerOriginKind was shrunk into MustBeFresh selector.<br><div><br>Yours, Junxiao<br><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 28, 2017 at 4:07 AM, Boussada Rihab <span dir="ltr"><<a href="mailto:rihab.boussada@hotmail.com" target="_blank">rihab.boussada@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">




<div dir="ltr">
<div id="gmail-m_-5813913880155892474divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif" dir="ltr"><span class="gmail-">
<p></p>
<p style="font-family:Calibri,Helvetica,sans-serif,serif,EmojiFont;font-size:16px">
Thus, there is no field called "answer orgin kind" in ndnsim as in ccnx?</p><br>
</span><div style="color:rgb(0,0,0)"><span class="gmail-">
<hr style="display:inline-block;width:98%">
<div id="gmail-m_-5813913880155892474divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> Junxiao Shi <<a href="mailto:shijunxiao@email.arizona.edu" target="_blank">shijunxiao@email.arizona.edu</a>><br>
<b>Sent:</b> Monday, August 28, 2017 12:00 PM<br>
<b>To:</b> Boussada Rihab; <a href="mailto:ndnsim@lists.cs.ucla.edu" target="_blank">ndnsim@lists.cs.ucla.edu</a><br>
<b>Subject:</b> Re: [ndnSIM] Interest forwarding</font>
<div> </div>
</div>
</span><div><div class="gmail-h5"><div>
<div>The consumer may set PublisherPublicKeyLocator selector, so that producers without a proper public key would not respond to the Interest.
<div dir="auto"><br>
</div><br>
<div class="gmail_quote">
<div>On Mon, Aug 28, 2017 at 03:52 Boussada Rihab <<a href="mailto:rihab.boussada@hotmail.com" target="_blank">rihab.boussada@hotmail.com</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>
<div style="font-family:"Calibri","Segoe UI","Meiryo","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","sans-serif";font-size:12pt">
<div></div>
<div>Please how can I impose that only a specific user can answer to the considered Interest.<br>
</div>
<div>
<div><br>
</div></div></div></div></blockquote></div></div></div></div></div></div></div></div></blockquote></div></div></div></div></div></div></div>