<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Zeinab,<div class=""><br class=""></div><div class="">please forward your emails to the list, so that the rest of the ndnSIM community can see them.</div><div class=""><br class=""></div><div class="">I would suggest you enable the forwarder logging component to see what exactly is going on with the last few Interests:</div><div class=""><br class=""></div><div class="">NS_LOG=nfd.Forwarder ./waf --run=<your_scenario_name></div><div class=""><br class=""></div><div class="">Hope that this helps,</div><div class=""><br class=""></div><div class=""><div class="">
<div class=""><div class=""><div class=""><span class="" style="float: none; display: inline !important;">Spyridon (Spyros) Mastorakis</span><br class=""><span class="" style="float: none; display: inline !important;">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" class="">http://cs.ucla.edu/~mastorakis/</a><br class=""><span class="" style="float: none; display: inline !important;">Internet Research Laboratory</span><br class=""><span class="" style="float: none; display: inline !important;">Computer Science Department</span><br class=""><span class="" style="float: none; display: inline !important;">UCLA</span></div><div class=""><br class=""></div></div></div></div><div><blockquote type="cite" class=""><div class="">On Sep 11, 2017, at 7:55 PM, Zeinab Rezaiefar <<a href="mailto:z.rezaiefar@yahoo.com" class="">z.rezaiefar@yahoo.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div style="background-color: rgb(255, 255, 255); font-family: 'times new roman', 'new york', times, serif; font-size: 16px;" class=""><div id="yui_3_16_0_ym19_1_1505109607055_24961" dir="ltr" class=""><span class="">Dear <span id="yui_3_16_0_ym19_1_1505109607055_24861" style="float: none; display: inline;" class="">Spyridon ,</span></span></div><div id="yui_3_16_0_ym19_1_1505109607055_24874" dir="ltr" class=""><span id="yui_3_16_0_ym19_1_1505109607055_24873" class=""><span id="yui_3_16_0_ym19_1_1505109607055_24872" style="float: none; display: inline;" class="">thank you so much for replying. I have been running the following scenario. although I just stop sending traffic at 13, the node 1 cannot receive the data packet after that. Therefore the last interest message will not be responded. I will be thankful to let me know what is wrong about it.  I should mention that this is a simple scenario, however, in more complicated scenario, there are more interest packets which are not replied after stopping sending traffic. I am looking forward to hearing from you</span></span></div><div dir="ltr" class=""><span class=""><span style="float: none; display: inline;" class="">thanks </span></span></div><div dir="ltr" class=""><span class=""><span style="float: none; display: inline;" class="">best regards</span></span></div><div id="yui_3_16_0_ym19_1_1505109607055_25326" dir="ltr" class=""><span class=""><span style="float: none; display: inline;" class="">zeinab</span></span></div><div id="yui_3_16_0_ym19_1_1505109607055_25309" dir="ltr" class=""><span class=""><span style="float: none; display: inline;" class=""><br class=""></span></span></div><div id="yui_3_16_0_ym19_1_1505109607055_25051" dir="ltr" class=""><span class=""><span style="float: none; display: inline;" class=""><br class=""></span></span></div><div id="yui_3_16_0_ym19_1_1505109607055_25022" dir="ltr" class=""><span id="yui_3_16_0_ym19_1_1505109607055_25050" class=""><span id="yui_3_16_0_ym19_1_1505109607055_25049" style="float: none; display: inline;" class=""> int <br id="yui_3_16_0_ym19_1_1505109607055_25023" class="">main (int argc, char *argv[])<br id="yui_3_16_0_ym19_1_1505109607055_25024" class="">{<br id="yui_3_16_0_ym19_1_1505109607055_25025" class="">  // setting default parameters for PointToPoint links and channels<br id="yui_3_16_0_ym19_1_1505109607055_25026" class="">  Config::SetDefault ("ns3::PointToPointNetDevice::DataRate", StringValue ("1Mbps"));<br id="yui_3_16_0_ym19_1_1505109607055_25027" class="">  Config::SetDefault ("ns3::PointToPointChannel::Delay", StringValue ("10ms"));<br id="yui_3_16_0_ym19_1_1505109607055_25028" class="">  Config::SetDefault ("ns3::DropTailQueue::MaxPackets", StringValue ("20"));</span></span></div><div id="yui_3_16_0_ym19_1_1505109607055_25029" dir="ltr" class=""><span id="yui_3_16_0_ym19_1_1505109607055_25030" class=""><span id="yui_3_16_0_ym19_1_1505109607055_25031" style="float: none; display: inline;" class="">  // Read optional command-line parameters (e.g., enable visualizer with ./waf --run=<> --visualize<br id="yui_3_16_0_ym19_1_1505109607055_25032" class="">  CommandLine cmd;<br id="yui_3_16_0_ym19_1_1505109607055_25033" class="">  cmd.Parse (argc, argv);</span></span></div><div id="yui_3_16_0_ym19_1_1505109607055_25034" dir="ltr" class=""><span id="yui_3_16_0_ym19_1_1505109607055_25035" class=""><span id="yui_3_16_0_ym19_1_1505109607055_25036" style="float: none; display: inline;" class="">  // Creating nodes<br id="yui_3_16_0_ym19_1_1505109607055_25037" class="">  NodeContainer nodes;<br id="yui_3_16_0_ym19_1_1505109607055_25038" class="">  nodes.Create (7);</span></span></div><div id="yui_3_16_0_ym19_1_1505109607055_25073" dir="ltr" class=""><span id="yui_3_16_0_ym19_1_1505109607055_25040" class=""><span id="yui_3_16_0_ym19_1_1505109607055_25041" style="float: none; display: inline;" class="">  // Connecting nodes using two links<br id="yui_3_16_0_ym19_1_1505109607055_25042" class="">  PointToPointHelper p2p;<br id="yui_3_16_0_ym19_1_1505109607055_25043" class="">  p2p.Install (nodes.Get (0), nodes.Get (4));<br id="yui_3_16_0_ym19_1_1505109607055_25044" class=""> p2p.Install (nodes.Get (1), nodes.Get (4));<br id="yui_3_16_0_ym19_1_1505109607055_25045" class=""> p2p.Install (nodes.Get (4), nodes.Get (5));<br id="yui_3_16_0_ym19_1_1505109607055_25046" class=""> p2p.Install (nodes.Get (5), nodes.Get (6));<br id="yui_3_16_0_ym19_1_1505109607055_25047" class=""> p2p.Install (nodes.Get (6), nodes.Get (3));<br id="yui_3_16_0_ym19_1_1505109607055_25048" class=""> p2p.Install (nodes.Get (4), nodes.Get (2));</span></span></div><div dir="ltr" class=""><span class=""><span style="float: none; display: inline;" class="">ndn::StackHelper ndnHelper;<br id="yui_3_16_0_ym19_1_1505109607055_25088" class="">ndnHelper.SetPit ("ns3::ndn::pit::Lru","PitEntryPruningTimout","20");<br id="yui_3_16_0_ym19_1_1505109607055_25089" class=""> ndnHelper.SetDefaultRoutes (true);<br id="yui_3_16_0_ym19_1_1505109607055_25090" class="">//ndnHelper.SetForwardingStrategy ("ns3::ndn::fw::BestRoute");<br id="yui_3_16_0_ym19_1_1505109607055_25091" class="">ndnHelper.SetForwardingStrategy ("ns3::ndn::fw::CustomStrategy");<br id="yui_3_16_0_ym19_1_1505109607055_25092" class="">ndnHelper.SetContentStore("ns3::ndn::cs::Stats::Lru", "MaxSize", "10");<br id="yui_3_16_0_ym19_1_1505109607055_25093" class="">  //ndnHelper.InstallAll ();<br id="yui_3_16_0_ym19_1_1505109607055_25094" class="">ndnHelper.Install(nodes.Get (4));<br id="yui_3_16_0_ym19_1_1505109607055_25095" class="">ndnHelper.Install(nodes.Get (5));<br id="yui_3_16_0_ym19_1_1505109607055_25096" class="">ndnHelper.Install(nodes.Get (6));<br id="yui_3_16_0_ym19_1_1505109607055_25097" class="">ndnHelper.SetContentStore("ns3::ndn::cs::Nocache");<br id="yui_3_16_0_ym19_1_1505109607055_25098" class="">ndnHelper.Install(nodes.Get (0));<br id="yui_3_16_0_ym19_1_1505109607055_25099" class="">ndnHelper.Install(nodes.Get (2));<br id="yui_3_16_0_ym19_1_1505109607055_25100" class="">ndnHelper.Install(nodes.Get (1));<br id="yui_3_16_0_ym19_1_1505109607055_25101" class="">ndnHelper.Install(nodes.Get (3));</span></span></div><div id="yui_3_16_0_ym19_1_1505109607055_25139" dir="ltr" class=""><span class=""><span style="float: none; display: inline;" class="">///producer<br id="yui_3_16_0_ym19_1_1505109607055_25140" class=""> ndn::AppHelper producerHelper1 ("ns3::ndn::Producer");<br id="yui_3_16_0_ym19_1_1505109607055_25141" class="">producerHelper1.SetPrefix ("/prefix");<br id="yui_3_16_0_ym19_1_1505109607055_25142" class="">  producerHelper1.SetAttribute ("PayloadSize", StringValue("1024"));<br id="yui_3_16_0_ym19_1_1505109607055_25143" class="">//producerHelper1.SetAttribute ("Signature", StringValue("224"));<br id="yui_3_16_0_ym19_1_1505109607055_25144" class="">producerHelper1.Install (nodes.Get (2)); </span></span></div><div id="yui_3_16_0_ym19_1_1505109607055_25145" dir="ltr" class=""><span id="yui_3_16_0_ym19_1_1505109607055_25146" class=""><span id="yui_3_16_0_ym19_1_1505109607055_25147" style="float: none; display: inline;" class=""><br id="yui_3_16_0_ym19_1_1505109607055_25148" class="">ndn::AppHelper producerHelper3 ("ns3::ndn::Producer");<br id="yui_3_16_0_ym19_1_1505109607055_25149" class="">producerHelper3.SetPrefix ("/prefix");<br id="yui_3_16_0_ym19_1_1505109607055_25150" class="">  producerHelper3.SetAttribute ("PayloadSize", StringValue("1024"));<br id="yui_3_16_0_ym19_1_1505109607055_25151" class="">producerHelper3.Install (nodes.Get (3)); </span></span></div><div id="yui_3_16_0_ym19_1_1505109607055_25152" class=""><br class=""></div><div id="yui_3_16_0_ym19_1_1505109607055_25173" dir="ltr" class="">ndn::AppHelper producerHelper4 ("ns3::ndn::Producer");<br id="yui_3_16_0_ym19_1_1505109607055_25154" class="">producerHelper4.SetPrefix ("/test");<br id="yui_3_16_0_ym19_1_1505109607055_25155" class=""> producerHelper4.SetAttribute ("PayloadSize", StringValue("1024"));<br id="yui_3_16_0_ym19_1_1505109607055_25156" class="">producerHelper4.Install (nodes.Get (3)); </div><div id="yui_3_16_0_ym19_1_1505109607055_25196" dir="ltr" class="">//consumer</div><div id="yui_3_16_0_ym19_1_1505109607055_25197" dir="ltr" class=""><br id="yui_3_16_0_ym19_1_1505109607055_25198" class="">ndn::AppHelper consumerHelper1 ("ns3::ndn::ConsumerCbr");<br id="yui_3_16_0_ym19_1_1505109607055_25199" class="">  // Consumer will request /prefix/0, /prefix/1, ...<br id="yui_3_16_0_ym19_1_1505109607055_25200" class="">  consumerHelper1.SetPrefix ("/prefix");<br id="yui_3_16_0_ym19_1_1505109607055_25201" class="">  consumerHelper1.SetAttribute ("Frequency", StringValue ("10")); // 10 interests a second<br id="yui_3_16_0_ym19_1_1505109607055_25202" class="">  ApplicationContainer consumer1 =consumerHelper1.Install (nodes.Get (0)); // first node<br id="yui_3_16_0_ym19_1_1505109607055_25203" class="">consumer1.Start(Seconds(0));<br id="yui_3_16_0_ym19_1_1505109607055_25204" class="">consumer1.Stop(Seconds(5));</div><div id="yui_3_16_0_ym19_1_1505109607055_25205" dir="ltr" class=""><br id="yui_3_16_0_ym19_1_1505109607055_25206" class="">ndn::AppHelper consumerHelper3 ("ns3::ndn::ConsumerCbr");<br id="yui_3_16_0_ym19_1_1505109607055_25207" class=""> consumerHelper3.SetPrefix ("/prefix");<br id="yui_3_16_0_ym19_1_1505109607055_25208" class="">  consumerHelper3.SetAttribute ("Frequency", StringValue ("10")); // 10 interests a second<br id="yui_3_16_0_ym19_1_1505109607055_25209" class="">  ApplicationContainer consumer3 =consumerHelper3.Install (nodes.Get (1)); // first node<br id="yui_3_16_0_ym19_1_1505109607055_25210" class="">consumer3.Start(Seconds(5));<br id="yui_3_16_0_ym19_1_1505109607055_25211" class="">consumer3.Stop(Seconds(10));</div><div dir="ltr" class="">ndn::AppHelper consumerHelper4 ("ns3::ndn::ConsumerCbr");<br id="yui_3_16_0_ym19_1_1505109607055_25213" class=""> consumerHelper4.SetPrefix ("/test");<br id="yui_3_16_0_ym19_1_1505109607055_25214" class="">  consumerHelper4.SetAttribute ("Frequency", StringValue ("10")); // 10 interests a second<br id="yui_3_16_0_ym19_1_1505109607055_25215" class="">  ApplicationContainer consumer4 =consumerHelper4.Install (nodes.Get (1)); // first node<br id="yui_3_16_0_ym19_1_1505109607055_25216" class="">consumer4.Start(Seconds(10));<br id="yui_3_16_0_ym19_1_1505109607055_25217" class="">consumer4.Stop(Seconds(13));</div><div id="yui_3_16_0_ym19_1_1505109607055_25252" dir="ltr" class=""> ndn::GlobalRoutingHelper ndnGlobalRoutingHelper;<br id="yui_3_16_0_ym19_1_1505109607055_25253" class="">      ndnGlobalRoutingHelper.InstallAll ();<br id="yui_3_16_0_ym19_1_1505109607055_25254" class="">ndnGlobalRoutingHelper.AddOrigins("/prefix",nodes.Get(2));<br id="yui_3_16_0_ym19_1_1505109607055_25255" class="">ndnGlobalRoutingHelper.AddOrigins("/prefix",nodes.Get(3));<br id="yui_3_16_0_ym19_1_1505109607055_25256" class="">ndnGlobalRoutingHelper.AddOrigins("/test",nodes.Get(3));<br id="yui_3_16_0_ym19_1_1505109607055_25257" class="">// Calculate and install FIBs<br id="yui_3_16_0_ym19_1_1505109607055_25258" class="">    ndn::GlobalRoutingHelper::CalculateRoutes();<br id="yui_3_16_0_ym19_1_1505109607055_25259" class="">//Config::Connect("/NodeList/*/$ns3::ndn::cs::Stats::Lru/WillRemoveEntry", MakeCallback(CacheEntryRemoved));<br id="yui_3_16_0_ym19_1_1505109607055_25260" class="">  Simulator::Stop (Seconds (20.0));<br id="yui_3_16_0_ym19_1_1505109607055_25261" class="">ndn::CsTracer::InstallAll("cs-trace(1attack).txt", Seconds(1));<br id="yui_3_16_0_ym19_1_1505109607055_25262" class="">ndn::AppDelayTracer::InstallAll("app-delays1-trace.txt");<br id="yui_3_16_0_ym19_1_1505109607055_25263" class="">  Simulator::Run ();<br id="yui_3_16_0_ym19_1_1505109607055_25264" class="">  Simulator::Destroy ();</div><div id="yui_3_16_0_ym19_1_1505109607055_25265" dir="ltr" class="">  return 0;<br id="yui_3_16_0_ym19_1_1505109607055_25266" class="">}<br id="yui_3_16_0_ym19_1_1505109607055_25157" class=""></div><div id="yui_3_16_0_ym19_1_1505109607055_24988" dir="ltr" class=""><span id="yui_3_16_0_ym19_1_1505109607055_24987" class=""><span id="yui_3_16_0_ym19_1_1505109607055_24986" style="float: none; display: inline;" class=""> </span></span></div> <div class="qtdSeparateBR"><br class=""><br class=""></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: times new roman, new york, times, serif; font-size: 16px;" class=""> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" class=""> <div dir="ltr" class=""><font face="Arial" size="2" class=""> On Tuesday, September 12, 2017 8:55 AM, Spyridon (Spyros) Mastorakis <<a href="mailto:mastorakis@cs.ucla.edu" class="">mastorakis@cs.ucla.edu</a>> wrote:<br class=""></font></div>  <br class=""><br class=""> <div class="y_msg_container"><div id="yiv5256939513" class=""><div class="">Hi,<div class="yiv5256939513"><br class="yiv5256939513" clear="none"></div><div class="yiv5256939513">yes, you should be able to receive the remaining traffic (data packets) until the simulation ends assuming that you do not destroy the simulation context and the applications are still running.</div><div class="yiv5256939513"><br class="yiv5256939513" clear="none"></div><div class="yiv5256939513">Probably you stopped the producer application or something like that?</div><div class="yiv5256939513"><br class="yiv5256939513" clear="none"></div><div class="yiv5256939513">Thanks,</div><div class="yiv5256939513"> <br class="yiv5256939513" clear="none"><div class="yiv5256939513">
<div class="yiv5256939513"><div class="yiv5256939513"><div class="yiv5256939513"><span class="yiv5256939513" style="float: none; display: inline;">Spyridon (Spyros) Mastorakis</span><br class="yiv5256939513" clear="none"><span class="yiv5256939513" style="float: none; display: inline;">Personal Website: </span><a class="yiv5256939513" href="http://cs.ucla.edu/~mastorakis/" target="_blank" rel="nofollow" shape="rect">http://cs.ucla.edu/~mastorakis/</a><br class="yiv5256939513" clear="none"><span class="yiv5256939513" style="float: none; display: inline;">Internet Research Laboratory</span><br class="yiv5256939513" clear="none"><span class="yiv5256939513" style="float: none; display: inline;">Computer Science Department</span><br class="yiv5256939513" clear="none"><span class="yiv5256939513" style="float: none; display: inline;">UCLA</span></div></div></div>
</div>
<br class="yiv5256939513" clear="none"><div class="yiv5256939513yqt7475656229" id="yiv5256939513yqt78075"><div class=""><blockquote class="yiv5256939513" type="cite"><div class="yiv5256939513">On Sep 11, 2017, at 4:17 AM, Zeinab Rezaiefar <<a class="yiv5256939513" href="mailto:z.rezaiefar@yahoo.com" target="_blank" rel="nofollow" shape="rect" ymailto="mailto:z.rezaiefar@yahoo.com">z.rezaiefar@yahoo.com</a>> wrote:</div><br class="yiv5256939513Apple-interchange-newline" clear="none"><div class="yiv5256939513"><div class="yiv5256939513"><div class="yiv5256939513" style="font-family: "times new roman", "new york", times, serif; font-size: 16px; background-color: rgb(255, 255, 255);"><div class="yiv5256939513" id="yiv5256939513yui_3_16_0_ym19_1_1505109607055_9902">  Hello,</div><div class="yiv5256939513" id="yiv5256939513yui_3_16_0_ym19_1_1505109607055_9901" dir="ltr">I am wondering that a consumer can receive data packet after stopping sending traffic until that simulation runs or not. for example if we define sending traffic during 1 second to 13 seconds of the simulation time and we run simulation for 20 second, the consumer can receive the data packet after 13 second or not. I should mention that recently I have ran the scenario for 60 second and the last traffic will be stopped at 53 second. In this scenario, no data packet will be received after 53 second although there are requests which are not replied until 53 second. I will become so thankful if you help me what the reason is. </div><div class="yiv5256939513" id="yiv5256939513yui_3_16_0_ym19_1_1505109607055_10176" dir="ltr">Thanks in advance</div><div class="yiv5256939513" id="yiv5256939513yui_3_16_0_ym19_1_1505109607055_10175" dir="ltr">best regards</div><div class="yiv5256939513" id="yiv5256939513yui_3_16_0_ym19_1_1505109607055_10159" dir="ltr">Zeinab </div></div></div></div></blockquote></div></div><br class="yiv5256939513" clear="none"></div></div></div><br class=""><br class=""></div>  </div> </div>  </div></div></div></div></blockquote></div><br class=""></div></body></html>