<div dir="ltr"><div dir="ltr"><div>I looked into nfd.log in 3 levels(INFO, DEBUG, TRACE) but I could not find log messages like you mentioned.</div><div>my topology was a -- b -- c -- d</div><div>and I used the following commands:</div><div><br></div><div>a nfdc cs config admit off<br>b nfdc cs config admit off<br>c nfdc cs config admit off<br>d nfdc cs config admit off<br>a echo "sepehr sepehr" > sepehr<br>a ndnputchunks ndn:/sepehr < sepehr &<br>a nlsrc advertise /sepehr<br>d ndncatchunks -d iterative ndn:/sepehr<br>quit</div><div><br></div><div>is there any specific info that I am missing?</div><div><br></div><div>Best,</div><div>Sepehr<br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Nov 14, 2018 at 3:05 AM Muktadir R Chowdhury (mrchwdhr) <<a href="mailto:mrchwdhr@memphis.edu">mrchwdhr@memphis.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div id="m_4306274721106960890divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p style="margin-top:0;margin-bottom:0">If you have 4 nodes and you know which one is sending the Interest, then you need to look into other three nodes' nfd.log. In one of the node's, which is actually serving the file, nfd.log you should be able to see something
 like "received Interest /a" and  "sending data for interest /a". Look for these log messages.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">-Muktadir</p>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_4306274721106960890divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> sepehr abdous <<a href="mailto:sepehrabdous1375@gmail.com" target="_blank">sepehrabdous1375@gmail.com</a>><br>
<b>Sent:</b> Wednesday, November 14, 2018 4:29:26 AM<br>
<b>To:</b> Muktadir R Chowdhury (mrchwdhr)<br>
<b>Cc:</b> <a href="mailto:mini-ndn@lists.cs.ucla.edu" target="_blank">mini-ndn@lists.cs.ucla.edu</a><br>
<b>Subject:</b> Re: [Mini-NDN] namespace scope</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>Thank you for your guide about advertise.</div>
<div><br>
</div>
<div>I still need to know the source of file in my simulation. In other words if for instance 4 nodes have the file f, I need to know which one is sending me the f.</div>
<div><br>
</div>
<div>I looked into nfd.log and nlsr.log but nothing seemed to be useful for me? when I use ndncatchunks in node c, nothing written in nlsr.log and nfd.log can be used to find the source of file?</div>
<div><br>
</div>
<div>any ideas?</div>
<div><br>
</div>
<div>Best,</div>
<div>Sepehr<br>
</div>
</div>
<br>
<div class="m_4306274721106960890x_gmail_quote">
<div dir="ltr">On Mon, Nov 12, 2018 at 1:29 AM Muktadir R Chowdhury (mrchwdhr) <<a href="mailto:mrchwdhr@memphis.edu" target="_blank">mrchwdhr@memphis.edu</a>> wrote:<br>
</div>
<blockquote class="m_4306274721106960890x_gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div id="m_4306274721106960890x_m_-7490112547941557344divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif">
<div id="m_4306274721106960890x_m_-7490112547941557344divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif,Helvetica,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<div class="m_4306274721106960890x_m_-7490112547941557344__TEE_Quote__" style="border-left:3px solid rgb(200,200,200);border-top-color:rgb(200,200,200);border-right-color:rgb(200,200,200);border-bottom-color:rgb(200,200,200);padding-left:10px;color:rgb(102,102,102);font-size:17px">
<span style="color:rgb(102,102,102);font-family:Calibri,Helvetica,sans-serif,Helvetica,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:17px">what namespace should I use so that d be able
 to fetch f1 from a and I don't encounter noRoute error when I am using ndncatchunks in d?</span></div>
<br>
<div>Whatever name prefix you used to put the data in "a" using ndnpuchunks. You need to
<a href="http://named-data.net/doc/NFD/current/manpages/nfdc-route.html" class="m_4306274721106960890x_m_-7490112547941557344OWAAutoLink" id="m_4306274721106960890x_m_-7490112547941557344LPlnk630255" target="_blank">
add route</a> for that name prefix so that NFD knows where to forward Interest for this prefix. If "a" has the data, then need to add route from "b" to "a", "c" to "b", and "d" to "c".</div>
<br>
<div><span style="font-family:Calibri,Helvetica,sans-serif,Helvetica,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px">Alternatively, if you are using NLSR then you can just add the
 name prefix in "a" using <a href="https://named-data.net/doc/NLSR/0.4.0/manpages/nlsrc.html" class="m_4306274721106960890x_m_-7490112547941557344OWAAutoLink" id="m_4306274721106960890x_m_-7490112547941557344LPlnk322430" target="_blank">
nlsrc advertise </a>. Then nlsr will take care of the rest. If you have a large topology then this is what you should do.</span></div>
<div><br>
</div>
<br>
<div class="m_4306274721106960890x_m_-7490112547941557344__TEE_Quote__" style="border-left:3px solid rgb(200,200,200);border-top-color:rgb(200,200,200);border-right-color:rgb(200,200,200);border-bottom-color:rgb(200,200,200);padding-left:10px;color:rgb(102,102,102);font-size:17px">
Also is there any way to understand which node is actually sending you the datapacket?</div>
<div><br>
</div>
<div>I don't think there is an easy way, other than to inspect the nfd.log on each node, since NDN is server agnostic.</div>
<div><br>
</div>
<div>-Muktadir</div>
<div><br>
</div>
<div><br>
</div>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_4306274721106960890x_m_-7490112547941557344divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Mini-NDN <<a href="mailto:mini-ndn-bounces@lists.cs.ucla.edu" target="_blank">mini-ndn-bounces@lists.cs.ucla.edu</a>>
 on behalf of sepehr abdous <<a href="mailto:sepehrabdous1375@gmail.com" target="_blank">sepehrabdous1375@gmail.com</a>><br>
<b>Sent:</b> Sunday, November 11, 2018 2:19:53 PM<br>
<b>To:</b> <a href="mailto:mini-ndn@lists.cs.ucla.edu" target="_blank">mini-ndn@lists.cs.ucla.edu</a><br>
<b>Subject:</b> [Mini-NDN] namespace scope</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>Hello all</div>
<div>I have a topology a -- b -- c -- d.</div>
<div>I put f1 in a using ndnputchunks.</div>
<div>what namespace should I use so that d be able to fetch f1 from a and I don't encounter noRoute error when I am using ndncatchunks in d?</div>
<div><br>
</div>
<div>Also is there any way to understand which node is actually sending you the datapacket? lets say we have a large topology and multiple nodes have cached f1 and d is requesting f1, Is there any way to know which node is sending you the f1?</div>
<div><br>
</div>
<div>Best,</div>
<div>Sepehr<br>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br clear="all">
<br>
-- <br>
<div dir="ltr" class="m_4306274721106960890x_gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div><span style="color:rgb(0,0,255)">Sepehr Abdous<br>
</span></div>
<span style="color:rgb(0,0,255)">Faculty: <a href="mailto:abdous@ce.sharif.edu" target="_blank">
abdous@ce.sharif.edu</a><br>
</span></div>
<div><span style="color:rgb(0,0,255)">Yahoo mail: <a href="mailto:sepehrabdous@yahoo.com" target="_blank">
sepehrabdous@yahoo.com</a><br>
</span></div>
<div><span style="color:rgb(0,0,255)">Cellphone:+989129751873<br>
</span></div>
<div><span style="color:rgb(0,0,255)">School of computer engineering<br>
</span></div>
<div><span style="color:rgb(0,0,255)">Sharif University of Technology<br>
</span></div>
<div><span style="color:rgb(0,0,255)">Tehran, Iran</span><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>

</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div><span style="color:rgb(0,0,255)">Sepehr Abdous<br></span></div><span style="color:rgb(0,0,255)">Faculty: <a href="mailto:abdous@ce.sharif.edu" target="_blank">abdous@ce.sharif.edu</a><br></span></div><div><span style="color:rgb(0,0,255)">Yahoo mail: <a href="mailto:sepehrabdous@yahoo.com" target="_blank">sepehrabdous@yahoo.com</a><br></span></div><div><span style="color:rgb(0,0,255)">Cellphone:+989129751873<br></span></div><div><span style="color:rgb(0,0,255)">School of computer engineering<br></span></div><div><span style="color:rgb(0,0,255)">Sharif University of Technology<br></span></div><div><span style="color:rgb(0,0,255)">Tehran, Iran</span><br></div></div></div></div></div>