From srk130230 at utdallas.edu Tue Mar 1 17:01:09 2016 From: srk130230 at utdallas.edu (Komajwar, Sharvari) Date: Wed, 2 Mar 2016 01:01:09 +0000 Subject: [ndnSIM] Measuring a download time In-Reply-To: References: , Message-ID: Hello, Thank you for your help. Also, there is one more thing that I observed in my case.I have multiple consumers and producers in my scenario and for first interest packet there is a source which never sends a data back and there is another source which forwards first interest packet on other interface. Can you please suggest me any reason for these observations? Thanks & Regards, Sharvari ________________________________________ From: Alex Afanasyev Sent: Friday, February 26, 2016 2:37 AM To: Komajwar, Sharvari Cc: ndnsim at lists.cs.ucla.edu Subject: Re: [ndnSIM] Measuring a download time Hi Sharvari, There is no simple answer to your question. Download times, besides multi/single path forwarding depends on client request pattern and congestion control (hop-by-hop and end-to-end). ConsumerCbr may not be a great consumer to measure what you want, as it is sends interest at constant rate. If it can retrieve set of data packets over single path, it will take the same amount of time (minus reduced interest reexpressing) to fetch of multipath. You can try ConsumerWindow, but it has a very rudimentary logic that is trying to adjust client strategy to the available network capacity. May be you should try to use different measurement parameter, which shows the effect of mutlipath strategy, without adding dependency on client requests. --- Alex > On Feb 24, 2016, at 2:12 PM, Komajwar, Sharvari wrote: > > Hello, > > I am working on Multipath forwarding strategy for NDN. I am using ConsumerCbr application to generate interest packets. Can you please suggest me the way to measure a downloading time for a file of particular size? > > Regards, > Sharvari From 3193946107 at qq.com Wed Mar 2 01:23:38 2016 From: 3193946107 at qq.com (=?gb18030?B?Q2hhbmdXZWk=?=) Date: Wed, 2 Mar 2016 17:23:38 +0800 Subject: [ndnSIM] how to run a scenario written by myself Message-ID: hello, I am a beginner in ndn-simulator.I wrote a simple scenario(test2.cc) to try.The scenario i wrote just like 'ndn-simple.cc'.And i put it in folder.Then,when i input 'sudo ./waf --run=test2',there are many errors on my screen,just like '/usr/local/include/ns3-dev/ns3/type-id.h:374:1: note: in expansion of macro ?ATTRIBUTE_HELPER_HEADER? ATTRIBUTE_HELPER_HEADER (TypeId); ^ In file included from /usr/local/include/ns3-dev/ns3/object-base.h:23:0, from /usr/local/include/ns3-dev/ns3/object.h:29, from /usr/local/include/ns3-dev/ns3/scheduler.h:25, from /usr/local/include/ns3-dev/ns3/calendar-scheduler.h:24, from /usr/local/include/ns3-dev/ns3/core-module.h:19, from ../scenarios/test2.cc:3: /usr/local/include/ns3-dev/ns3/type-id.h:374:33: warning: extra ?;? [-Wpedantic] ATTRIBUTE_HELPER_HEADER (TypeId); ^ In file included from /usr/local/include/ns3-dev/ns3/simulator-impl.h:26:0, from /usr/local/include/ns3-dev/ns3/default-simulator-impl.h:24, from /usr/local/include/ns3-dev/ns3/core-module.h:24, from ../scenarios/test2.cc:3: /usr/local/include/ns3-dev/ns3/nstime.h:912:30: warning: extra ?;? [-Wpedantic] ATTRIBUTE_VALUE_DEFINE (Time); ^ /usr/local/include/ns3-dev/ns3/nstime.h:918:33: warning: extra ?;? [-Wpedantic] ATTRIBUTE_ACCESSOR_DEFINE (Time);' so, i don't know how to solve it! Please help me! And following is my scenario 'test2.cc': #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/point-to-point-module.h" #include "ns3/ndnSIM-module.h" using namespace ns3; int main (int argc,char *argv[]) { Config::SetDefault ("ns3::PointToPointNetDevice::DataRate",StringValue ("1Mbps")); Config::SetDefault ("ns3::PointToPointChannel::Delay",StringValue ("10ms")); Config::SetDefault ("ns3::DropTailQueue::MaxPackets",StringValue ("10")); CommandLine cmd; cmd.Parse (argc, argv); NodeContainer nodes; nodes.Create (7); PointToPointHelper p2p; p2p.Install (nodes.Get (0), nodes.Get(1)); p2p.Install (nodes.Get (1), nodes.Get(2)); p2p.Install (nodes.Get (2), nodes.Get(3)); p2p.Install (nodes.Get (3), nodes.Get(4)); p2p.Install (nodes.Get (4), nodes.Get(5)); p2p.Install (nodes.Get (5), nodes.Get(6)); ndn::StackHelper ndnHelper; ndnHelper.SetDefaultRoutes (true); ndnHelper.InstallAll (); ndn::AppHelper consumerHelper ("ns3::ndn::ConsumerCbr"); consumerHelper.SetAttribute ("Frequency",StringValue ("10")); consumerHelper.Install (nodes.Get (0)); ndn::AppHelper producerHelper ("ns3::ndn::Producer"); producerHelper.SetPrefix ("/prefix"); producerHelper.SetAttribute ("PayloadSize", StringValue("1024")); producerHelper.Install (nodes.Get (6)); Simulator::Stop (Seconds (20.0)); Simulator::Run (); Simulator::Destroy (); return 0; } Thank you very much! -------------- next part -------------- An HTML attachment was scrubbed... URL: From haegemonia at gmail.com Wed Mar 2 07:16:26 2016 From: haegemonia at gmail.com (Lorenz) Date: Wed, 2 Mar 2016 16:16:26 +0100 Subject: [ndnSIM] Behaviour regarding two wifi nodes. Message-ID: Hello NS-3 Users, I am studying wireless networks in ICN scenarios. I made several simulations but as they didn't produced expected results i restarted studying more in-depth the behaviour of my wifi nodes. I run in particular 4 simulations in which there is 1 root, 2 AP and 2 wifinodes; basically the 2 wifinodes continue to request /prefix1 content to the 2 AP that forward the requests to the root if they don't have the SeqNo on their own. Each wifinode is connected to *only one AP* and the two AP are connected to the root. The range of the wifi-connections is X m. implemented with ("ns3::RangePropagationLossModel","MaxRange",DoubleValue(X)). In many of these simulations I changed the position of the 2 wifinodes ( in a symmetric way ) in order to keep them at the same distance Y > X but each one always connected *to one AP*. The simulations gave me the same result (same content requested in the same moment during the 3 simulations for both of the nodes). In the last simulation I put the 2 wifinodes at a distance Z < X but keeping them always connected *to one and only one AP*. In this case the wifinodes didn't request the same content in the same moment but changed the order of the SeqNo requested and as result this last simulation gave me a completely different result. Honestly speaking I don't know why these 2 wifnodes if are in range have to change their behaviour in terms of SeqNo requested, I can accept that they interfere with each other in terms of delay in forwarding their request but not that they change their SeqNo order to be requested. Maybe I am completely wrong or I just don't see a parameter to change in order to have what I want, in this case just forgive me! The seed of the simulations was the same for all the simulations. I posted this question also in the ns3 mailing list, hopefully i will receive an answer! Lorenzo -------------- next part -------------- An HTML attachment was scrubbed... URL: From aa at CS.UCLA.EDU Wed Mar 2 15:04:45 2016 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Wed, 2 Mar 2016 15:04:45 -0800 Subject: [ndnSIM] Measuring a download time In-Reply-To: References: Message-ID: <91B60706-482D-490D-AE25-D12F31CC749E@cs.ucla.edu> Hi Sharvari, Are you publishing data under same prefix? If so, if the there are other producer "closer" to the consumer, the producer may not get any interests. Another possibility is that you may have missing routes. Did you manually configured routes or used global routing helper? -- Alex > On Mar 1, 2016, at 5:01 PM, Komajwar, Sharvari wrote: > > Hello, > > Thank you for your help. Also, there is one more thing that I observed in my case.I have multiple consumers and producers in my scenario and for first interest packet there is a source which never sends a data back and there is another source which forwards first interest packet on other interface. > > Can you please suggest me any reason for these observations? > > Thanks & Regards, > Sharvari > ________________________________________ > From: Alex Afanasyev > Sent: Friday, February 26, 2016 2:37 AM > To: Komajwar, Sharvari > Cc: ndnsim at lists.cs.ucla.edu > Subject: Re: [ndnSIM] Measuring a download time > > Hi Sharvari, > > There is no simple answer to your question. Download times, besides multi/single path forwarding depends on client request pattern and congestion control (hop-by-hop and end-to-end). > > ConsumerCbr may not be a great consumer to measure what you want, as it is sends interest at constant rate. If it can retrieve set of data packets over single path, it will take the same amount of time (minus reduced interest reexpressing) to fetch of multipath. You can try ConsumerWindow, but it has a very rudimentary logic that is trying to adjust client strategy to the available network capacity. > > May be you should try to use different measurement parameter, which shows the effect of mutlipath strategy, without adding dependency on client requests. > > --- > Alex > >> On Feb 24, 2016, at 2:12 PM, Komajwar, Sharvari wrote: >> >> Hello, >> >> I am working on Multipath forwarding strategy for NDN. I am using ConsumerCbr application to generate interest packets. Can you please suggest me the way to measure a downloading time for a file of particular size? >> >> Regards, >> Sharvari -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 841 bytes Desc: Message signed with OpenPGP using GPGMail URL: From aa at CS.UCLA.EDU Wed Mar 2 15:14:08 2016 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Wed, 2 Mar 2016 15:14:08 -0800 Subject: [ndnSIM] how to run a scenario written by myself In-Reply-To: References: Message-ID: <826B623A-D3D3-4B9B-852C-8F0437673C63@cs.ucla.edu> Which version of ndnSIM you're using and what is ? If you're using ndnSIM 2.1 and it is a scenario helper repository, you should use https://github.com/named-data-ndnSIM/scenario-template (commit 2b5b6f55f04982273e62127082a19459ec68ff43 or later) --- Alex > On Mar 2, 2016, at 1:23 AM, ChangWei <3193946107 at qq.com> wrote: > > hello, > I am a beginner in ndn-simulator.I wrote a simple scenario(test2.cc) to try.The scenario i wrote just like 'ndn-simple.cc'.And i put it in folder.Then,when i input 'sudo ./waf --run=test2',there are many errors on my screen,just like > '/usr/local/include/ns3-dev/ns3/type-id.h:374:1: note: in expansion of macro ?ATTRIBUTE_HELPER_HEADER? > ATTRIBUTE_HELPER_HEADER (TypeId); > ^ > In file included from /usr/local/include/ns3-dev/ns3/object-base.h:23:0, > from /usr/local/include/ns3-dev/ns3/object.h:29, > from /usr/local/include/ns3-dev/ns3/scheduler.h:25, > from /usr/local/include/ns3-dev/ns3/calendar-scheduler.h:24, > from /usr/local/include/ns3-dev/ns3/core-module.h:19, > from ../scenarios/test2.cc:3: > /usr/local/include/ns3-dev/ns3/type-id.h:374:33: warning: extra ?;? [-Wpedantic] > ATTRIBUTE_HELPER_HEADER (TypeId); > ^ > In file included from /usr/local/include/ns3-dev/ns3/simulator-impl.h:26:0, > from /usr/local/include/ns3-dev/ns3/default-simulator-impl.h:24, > from /usr/local/include/ns3-dev/ns3/core-module.h:24, > from ../scenarios/test2.cc:3: > /usr/local/include/ns3-dev/ns3/nstime.h:912:30: warning: extra ?;? [-Wpedantic] > ATTRIBUTE_VALUE_DEFINE (Time); > ^ > /usr/local/include/ns3-dev/ns3/nstime.h:918:33: warning: extra ?;? [-Wpedantic] > ATTRIBUTE_ACCESSOR_DEFINE (Time);' > > so, i don't know how to solve it! Please help me! -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 841 bytes Desc: Message signed with OpenPGP using GPGMail URL: From mastorakis at CS.UCLA.EDU Thu Mar 3 09:44:37 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Thu, 3 Mar 2016 09:44:37 -0800 Subject: [ndnSIM] Simulating Real NDN Applications using ndnSIM Message-ID: <32F4999E-6E16-4208-AA98-80A14A6F0758@cs.ucla.edu> Dear all, since September 2015 and the latest version of ndnSIM (version 2.1: ) , we support the simulation of real applications (meaning applications written against the ndn-cxx library). This is a feature that enables the NDN application developers to write applications that can be deployed on the NDN testbed and at the same time port these applications to ndnSIM and evaluate their performance and design trade-offs in large-scale experiments (there are a few requirements for these applications ? please see ). As a proof of concept, we have ported a couple of real applications to ndnSIM: 1) ChronoSync: ChronoSync is a synchronization library for distributed realtime applications in NDN. In order to run ChronoSync in ndnSIM, you need to have the latest version of ndnSIM installed and also download the following ChronoSync scenario template: https://github.com/spirosmastorakis/scenario-ChronoSync The readme file of this scenario includes instruction on how to build ChronoSync in the simulator. This scenario is based on a slightly modified version of ChronoSync that fulfills the requirements mentioned above: 2) ndn-ping: This is an application from the ndn-tools repository. It implements ping consumers and producers. It can be found here: We encourage the research community to try this feature and port real application to ndnSIM. In general, if you have implemented a scenario-template that works with the latest version of ndnSIM, please let us know. We could fork your scenario to the original ndnSIM repository, so that your work is used by other members of the research community. Thank you very much for your time! PS: If you refer to ndnSIM in a published work, please cite the following papers: 1) S. Mastorakis, A. Afanasyev, I. Moiseenko, and L. Zhang, ?ndnSIM 2.0: A new version of the NDN simulator for NS-3,? NDN, Technical Report NDN-0028, 2015 2) A. Afanasyev, I. Moiseenko, and L. Zhang, ?ndnSIM: NDN simulator for NS-3,? NDN, Technical Report NDN-0005, 2012 Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA -------------- next part -------------- An HTML attachment was scrubbed... URL: From anilj.mailing at gmail.com Thu Mar 3 23:35:00 2016 From: anilj.mailing at gmail.com (Anil Jangam) Date: Thu, 3 Mar 2016 23:35:00 -0800 Subject: [ndnSIM] SIGSEGV, Segmentation fault in boost::asio::io_service. Message-ID: Hi, The issue I believe pertains to the point #6 and #7 in this article. http://ndnsim.net/2.1/guide-to-simulate-real-apps.html Can you please elaborate how this code should be modified it to work? The related code which uses the io_service is here: https://github.com/named-data/NLSR/blob/master/nsync/sync-socket.cc#L74 Note that the reference to io_service is taken from the ndn::face object as recommended in point #6. - ndn::Face::getIoService() should be used only to obtain a reference to boost::asio::io_service. *Application MUST NOT use any methods of* boost::asio::io_service, *otherwise the simulation will crash.* ndn::Face face;...// Supported (the rewired Scheduler implementation does not access io_service methods)Scheduler scheduler(face.getIoService()); // Not supported in ndnSIM and will result in crashface.getIoService().stop(); Program received signal SIGSEGV, Segmentation fault. 0x00007ffff543ee86 in boost::asio::io_service::post, ndn::Name const&, unsigned long, unsigned long)> (Sync::SyncSocket*, std::shared_ptr, ndn::Name, unsigned long, unsigned long)> >(std::_Bind, ndn::Name const&, unsigned long, unsigned long)> (Sync::SyncSocket*, std::shared_ptr, ndn::Name, unsigned long, unsigned long)>&&) (this=0x0, handler=) at /usr/include/boost/asio/impl/io_service.hpp:108 108 impl_.post(init.handler); (gdb) bt #0 0x00007ffff543ee86 in boost::asio::io_service::post, ndn::Name const&, unsigned long, unsigned long)> (Sync::SyncSocket*, std::shared_ptr, ndn::Name, unsigned long, unsigned long)> >(std::_Bind, ndn::Name const&, unsigned long, unsigned long)> (Sync::SyncSocket*, std::shared_ptr, ndn::Name, unsigned long, unsigned long)>&&) (this=0x0, handler=) at /usr/include/boost/asio/impl/io_service.hpp:108 #1 0x00007ffff543d846 in Sync::SyncSocket::publishData (this=0x858fe8, prefix=..., session=0, buf=0xb4ab48 "NoData", len=6, freshness=1000, seq=122045907075183) at ../src/ndnSIM/NLSR/nsync/sync-socket.cc:75 #2 0x00007ffff5452a4a in nlsr::SyncLogicHandler::publishSyncUpdate (this=0x855980, updatePrefix=..., seqNo=122045907075183) at ../src/ndnSIM/NLSR/src/communication/sync-logic-handler.cpp:298 #3 0x00007ffff5452689 in nlsr::SyncLogicHandler::publishRoutingUpdate (this=0x855980) at ../src/ndnSIM/NLSR/src/communication/sync-logic-handler.cpp:279 #4 0x00007ffff547910d in nlsr::Lsdb::buildAndInstallOwnAdjLsa (this=0x855830) at ../src/ndnSIM/NLSR/src/lsdb.cpp:604 #5 0x00007ffff5477b2b in nlsr::Lsdb::buildAdjLsa (this=0x855830) at ../src/ndnSIM/NLSR/src/lsdb.cpp:472 #6 0x00007ffff548a6b5 in std::_Mem_fn::operator()<, void>(nlsr::Lsdb*) const (this=0x939680, __object=0x855830) at /usr/include/c++/4.8/functional:601 #7 0x00007ffff548925a in std::_Bind (nlsr::Lsdb*)>::__call(std::tuple<>&&, std::_Index_tuple<0ul>) (this=0x939680, __args=) at /usr/include/c++/4.8/functional:1296 #8 0x00007ffff54874f4 in std::_Bind (nlsr::Lsdb*)>::operator()<, void>() (this=0x939680) at /usr/include/c++/4.8/functional:1355 #9 0x00007ffff5484f71 in std::_Function_handler (nlsr::Lsdb*)> >::_M_invoke(std::_Any_data const&) (__functor=...) at /usr/include/c++/4.8/functional:2071 #10 0x00007ffff51b09cc in std::function::operator()() const (this=0x84c430) at /usr/include/c++/4.8/functional:2471 #11 0x00007ffff5301a8f in ns3::EventImpl* ns3::MakeEvent::*)() const, std::function >(void (std::function::*)() const, std::function)::EventMemberImpl0::Notify() (this=0x84c420) at ./ns3/make-event.h:323 #12 0x00007fffedf8b861 in ns3::EventImpl::Invoke (this=0x84c420) at ../src/core/model/event-impl.cc:51 #13 0x00007fffedf90228 in ns3::DefaultSimulatorImpl::ProcessOneEvent (this=0x750210) at ../src/core/model/default-simulator-impl.cc:149 #14 0x00007fffedf905a2 in ns3::DefaultSimulatorImpl::Run (this=0x750210) at ../src/core/model/default-simulator-impl.cc:202 #15 0x00007fffedf8c598 in ns3::Simulator::Run () at ../src/core/model/simulator.cc:204 #16 0x000000000041cbaf in ns3::main (argc=1, argv=0x7fffffffccf8) at ../src/ndnSIM/examples/ndn-nlsr-simple.cpp:86 #17 0x000000000041cd6e in main (argc=1, argv=0x7fffffffccf8) at ../src/ndnSIM/examples/ndn-nlsr-simple.cpp:97 -------------- next part -------------- An HTML attachment was scrubbed... URL: From anilj.mailing at gmail.com Thu Mar 3 23:46:00 2016 From: anilj.mailing at gmail.com (Anil Jangam) Date: Thu, 3 Mar 2016 23:46:00 -0800 Subject: [ndnSIM] Finding Id of interest sending node In-Reply-To: References: Message-ID: You can get the pointer to the node sending the Interest as below. Get the node Id from the node object. ns3::Ptr thisNode = ns3::NodeList::GetNode(ns3::Simulator::GetContext()); To answer your other question, I think it depends how you write your producer application logic. I think you should be able to filter out certain Interest, based on where you want to remain silent or not. On Sun, Feb 28, 2016 at 5:00 AM, Shahid Md. Asif Iqbal wrote: > Dear all, > How can I find the id of the node sending an interest in the forwarder.cpp > and ndn-producer.cpp files? > And, is it reasonable a producer replying for some segments and remain > silent for some segments of the same interest? And if it is please give > some hints how to do that. > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From anilj.mailing at gmail.com Thu Mar 3 23:53:54 2016 From: anilj.mailing at gmail.com (Anil Jangam) Date: Thu, 3 Mar 2016 23:53:54 -0800 Subject: [ndnSIM] video content In-Reply-To: References: Message-ID: Can you elaborate your question please? What you are trying to achieve, what is AMUS server? /anil. On Sat, Feb 13, 2016 at 7:20 AM, roger young wrote: > Hi, i am new to ndnsim. I can run the simulations, but i would like to > know if it is possible to send video content without using AMUS server.? > Thank you > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From asifcsep at gmail.com Fri Mar 4 22:45:38 2016 From: asifcsep at gmail.com (Shahid Md. Asif Iqbal) Date: Sat, 5 Mar 2016 12:45:38 +0600 Subject: [ndnSIM] Finding Id of interest sending node In-Reply-To: References: Message-ID: Dear Anil and others, I might not have made my question clear, actually I want to know when an intermediate node receives an interest, the id of the node who has generated the interest.Not the node which is currently receiving or forwarding that interest. On Fri, Mar 4, 2016 at 1:46 PM, Anil Jangam wrote: > You can get the pointer to the node sending the Interest as below. Get the > node Id from the node object. > > ns3::Ptr thisNode = > ns3::NodeList::GetNode(ns3::Simulator::GetContext()); > > To answer your other question, I think it depends how you write your > producer application logic. I think you should be able to filter out > certain Interest, based on where you want to remain silent or not. > > > On Sun, Feb 28, 2016 at 5:00 AM, Shahid Md. Asif Iqbal > wrote: > >> Dear all, >> How can I find the id of the node sending an interest in the >> forwarder.cpp and ndn-producer.cpp files? >> And, is it reasonable a producer replying for some segments and remain >> silent for some segments of the same interest? And if it is please give >> some hints how to do that. >> >> _______________________________________________ >> ndnSIM mailing list >> ndnSIM at lists.cs.ucla.edu >> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Fri Mar 4 22:49:39 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Fri, 4 Mar 2016 22:49:39 -0800 Subject: [ndnSIM] Finding Id of interest sending node In-Reply-To: References: Message-ID: Hi, you could just attach it as the last component of the Interest name and send it out. In this way, intermediate nodes can extract the last component of the Interest name and figure out the id of the node that generated this Interest. Hope that this helps! Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Mar 4, 2016, at 10:45 PM, Shahid Md. Asif Iqbal wrote: > > Dear Anil and others, > I might not have made my question clear, actually I want to know when an intermediate node receives an interest, the id of the node who has generated the interest.Not the node which is currently receiving or forwarding that interest. > > On Fri, Mar 4, 2016 at 1:46 PM, Anil Jangam > wrote: > You can get the pointer to the node sending the Interest as below. Get the node Id from the node object. > > ns3::Ptr thisNode = ns3::NodeList::GetNode(ns3::Simulator::GetContext()); > > To answer your other question, I think it depends how you write your producer application logic. I think you should be able to filter out certain Interest, based on where you want to remain silent or not. > > > On Sun, Feb 28, 2016 at 5:00 AM, Shahid Md. Asif Iqbal > wrote: > Dear all, > How can I find the id of the node sending an interest in the forwarder.cpp and ndn-producer.cpp files? > And, is it reasonable a producer replying for some segments and remain silent for some segments of the same interest? And if it is please give some hints how to do that. > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- An HTML attachment was scrubbed... URL: From asifcsep at gmail.com Sat Mar 5 00:23:42 2016 From: asifcsep at gmail.com (Shahid Md. Asif Iqbal) Date: Sat, 5 Mar 2016 14:23:42 +0600 Subject: [ndnSIM] Finding Id of interest sending node In-Reply-To: References: Message-ID: Thanks Spyros and Anil, definitely it will work. Can you please specify how the last or any component of an interest name can be read? On Sat, Mar 5, 2016 at 12:49 PM, Spyridon (Spyros) Mastorakis < mastorakis at cs.ucla.edu> wrote: > Hi, > > you could just attach it as the last component of the Interest name and > send it out. In this way, intermediate nodes can extract the last component > of the Interest name and figure out the id of the node that generated this > Interest. > > Hope that this helps! > > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ > Internet Research Laboratory > Computer Science Department > UCLA > > > > > On Mar 4, 2016, at 10:45 PM, Shahid Md. Asif Iqbal > wrote: > > Dear Anil and others, > I might not have made my question clear, actually I want to know when an > intermediate node receives an interest, the id of the node who has > generated the interest.Not the node which is currently receiving or > forwarding that interest. > > On Fri, Mar 4, 2016 at 1:46 PM, Anil Jangam > wrote: > >> You can get the pointer to the node sending the Interest as below. Get >> the node Id from the node object. >> >> ns3::Ptr thisNode = >> ns3::NodeList::GetNode(ns3::Simulator::GetContext()); >> >> To answer your other question, I think it depends how you write your >> producer application logic. I think you should be able to filter out >> certain Interest, based on where you want to remain silent or not. >> >> >> On Sun, Feb 28, 2016 at 5:00 AM, Shahid Md. Asif Iqbal < >> asifcsep at gmail.com> wrote: >> >>> Dear all, >>> How can I find the id of the node sending an interest in the >>> forwarder.cpp and ndn-producer.cpp files? >>> And, is it reasonable a producer replying for some segments and remain >>> silent for some segments of the same interest? And if it is please give >>> some hints how to do that. >>> >>> _______________________________________________ >>> ndnSIM mailing list >>> ndnSIM at lists.cs.ucla.edu >>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >>> >>> >> > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From houda.zerarka at gmail.com Sat Mar 5 12:25:12 2016 From: houda.zerarka at gmail.com (houda zerarka) Date: Sat, 5 Mar 2016 21:25:12 +0100 Subject: [ndnSIM] ndnSIM sumo Message-ID: hello, how can i call it or use it in ndnSIM file ?? i know that i need to use ns2mobilityhelper but i don't know how can i have an example ?! thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Sun Mar 6 18:00:15 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Sun, 6 Mar 2016 18:00:15 -0800 Subject: [ndnSIM] Finding Id of interest sending node In-Reply-To: References: Message-ID: <33FC906E-DF45-4AAF-9CB6-2D9C1B13E19E@cs.ucla.edu> Hi, to get the last component of a name, you can use the get method of the name class: Name myName(?/this/is/a/test?); std::cout << ?Last component: ? << myName.get(-1) << std::endl; The above code should work. Hope that this helps! Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Mar 5, 2016, at 12:23 AM, Shahid Md. Asif Iqbal wrote: > > Thanks Spyros and Anil, definitely it will work. > Can you please specify how the last or any component of an interest name can be read? > > > On Sat, Mar 5, 2016 at 12:49 PM, Spyridon (Spyros) Mastorakis > wrote: > Hi, > > you could just attach it as the last component of the Interest name and send it out. In this way, intermediate nodes can extract the last component of the Interest name and figure out the id of the node that generated this Interest. > > Hope that this helps! > > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ > Internet Research Laboratory > Computer Science Department > UCLA > > > > >> On Mar 4, 2016, at 10:45 PM, Shahid Md. Asif Iqbal > wrote: >> >> Dear Anil and others, >> I might not have made my question clear, actually I want to know when an intermediate node receives an interest, the id of the node who has generated the interest.Not the node which is currently receiving or forwarding that interest. >> >> On Fri, Mar 4, 2016 at 1:46 PM, Anil Jangam > wrote: >> You can get the pointer to the node sending the Interest as below. Get the node Id from the node object. >> >> ns3::Ptr thisNode = ns3::NodeList::GetNode(ns3::Simulator::GetContext()); >> >> To answer your other question, I think it depends how you write your producer application logic. I think you should be able to filter out certain Interest, based on where you want to remain silent or not. >> >> >> On Sun, Feb 28, 2016 at 5:00 AM, Shahid Md. Asif Iqbal > wrote: >> Dear all, >> How can I find the id of the node sending an interest in the forwarder.cpp and ndn-producer.cpp files? >> And, is it reasonable a producer replying for some segments and remain silent for some segments of the same interest? And if it is please give some hints how to do that. >> >> _______________________________________________ >> ndnSIM mailing list >> ndnSIM at lists.cs.ucla.edu >> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >> >> >> >> _______________________________________________ >> ndnSIM mailing list >> ndnSIM at lists.cs.ucla.edu >> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From asifcsep at gmail.com Sun Mar 6 21:32:11 2016 From: asifcsep at gmail.com (Shahid Md. Asif Iqbal) Date: Mon, 7 Mar 2016 11:32:11 +0600 Subject: [ndnSIM] Finding Id of interest sending node In-Reply-To: <33FC906E-DF45-4AAF-9CB6-2D9C1B13E19E@cs.ucla.edu> References: <33FC906E-DF45-4AAF-9CB6-2D9C1B13E19E@cs.ucla.edu> Message-ID: Thank you Spyridon, let me try this solution. On Mon, Mar 7, 2016 at 8:00 AM, Spyridon (Spyros) Mastorakis < mastorakis at cs.ucla.edu> wrote: > Hi, > > to get the last component of a name, you can use the get method of the > name class: > > Name myName(?/this/is/a/test?); > std::cout << ?Last component: ? << myName.get(-1) << std::endl; > > The above code should work. > > Hope that this helps! > > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ > Internet Research Laboratory > Computer Science Department > UCLA > > > > > On Mar 5, 2016, at 12:23 AM, Shahid Md. Asif Iqbal > wrote: > > Thanks Spyros and Anil, definitely it will work. > Can you please specify how the last or any component of an interest name > can be read? > > > On Sat, Mar 5, 2016 at 12:49 PM, Spyridon (Spyros) Mastorakis < > mastorakis at cs.ucla.edu> wrote: > >> Hi, >> >> you could just attach it as the last component of the Interest name and >> send it out. In this way, intermediate nodes can extract the last component >> of the Interest name and figure out the id of the node that generated this >> Interest. >> >> Hope that this helps! >> >> Spyridon (Spyros) Mastorakis >> Personal Website: http://cs.ucla.edu/~mastorakis/ >> Internet Research Laboratory >> Computer Science Department >> UCLA >> >> >> >> >> On Mar 4, 2016, at 10:45 PM, Shahid Md. Asif Iqbal >> wrote: >> >> Dear Anil and others, >> I might not have made my question clear, actually I want to know when an >> intermediate node receives an interest, the id of the node who has >> generated the interest.Not the node which is currently receiving or >> forwarding that interest. >> >> On Fri, Mar 4, 2016 at 1:46 PM, Anil Jangam >> wrote: >> >>> You can get the pointer to the node sending the Interest as below. Get >>> the node Id from the node object. >>> >>> ns3::Ptr thisNode = >>> ns3::NodeList::GetNode(ns3::Simulator::GetContext()); >>> >>> To answer your other question, I think it depends how you write your >>> producer application logic. I think you should be able to filter out >>> certain Interest, based on where you want to remain silent or not. >>> >>> >>> On Sun, Feb 28, 2016 at 5:00 AM, Shahid Md. Asif Iqbal < >>> asifcsep at gmail.com> wrote: >>> >>>> Dear all, >>>> How can I find the id of the node sending an interest in the >>>> forwarder.cpp and ndn-producer.cpp files? >>>> And, is it reasonable a producer replying for some segments and remain >>>> silent for some segments of the same interest? And if it is please give >>>> some hints how to do that. >>>> >>>> _______________________________________________ >>>> ndnSIM mailing list >>>> ndnSIM at lists.cs.ucla.edu >>>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >>>> >>>> >>> >> _______________________________________________ >> ndnSIM mailing list >> ndnSIM at lists.cs.ucla.edu >> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >> >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From carlzu8 at gmail.com Mon Mar 7 08:08:18 2016 From: carlzu8 at gmail.com (Carl Zu) Date: Mon, 7 Mar 2016 17:08:18 +0100 Subject: [ndnSIM] how to iterate over all elements of cs Message-ID: Hi, How to iterate over all elements of cs (both nfd::cs and ndn::cs) ? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From carlzu8 at gmail.com Mon Mar 7 14:23:23 2016 From: carlzu8 at gmail.com (Carl Zu) Date: Mon, 7 Mar 2016 23:23:23 +0100 Subject: [ndnSIM] cannot change data attributes in onOutgoingData Message-ID: Hi, I had added some attributes to data.hpp. Then I tried to change their value in onOutgoingData. But received following error: ../src/ndnSIM/NFD/daemon/fw/forwarder.cpp:526:54: error: passing ?const ndn::Data? as ?this? argument of ?void ndn::Data::setCarlComponents(ns3::Ptr)? discards qualifiers [-fpermissive] data.setCarlComponents (cPointer); Changing my attributes to mutable also did not help, i.e. only the same error appeared later. Thanks for guidance in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: From aa at CS.UCLA.EDU Mon Mar 7 14:53:33 2016 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Mon, 7 Mar 2016 14:53:33 -0800 Subject: [ndnSIM] cannot change data attributes in onOutgoingData In-Reply-To: References: Message-ID: <15A82EFB-212A-4246-87F9-94565E39899A@cs.ucla.edu> Data in NDN is immutable. You cannot modify en route, i.e., all security properties associated with the data will be gone. If you need to add something alongside to help with forwarding, you should use tags instead. --- Alex > On Mar 7, 2016, at 2:23 PM, Carl Zu wrote: > > Hi, > > I had added some attributes to data.hpp. Then I tried to change their value in onOutgoingData. But received following error: > > ../src/ndnSIM/NFD/daemon/fw/forwarder.cpp:526:54: error: passing ?const ndn::Data? as ?this? argument of ?void ndn::Data::setCarlComponents(ns3::Ptr)? discards qualifiers [-fpermissive] > data.setCarlComponents (cPointer); > > Changing my attributes to mutable also did not help, i.e. only the same error appeared later. > > Thanks for guidance in advance. > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 841 bytes Desc: Message signed with OpenPGP using GPGMail URL: From chavoosh.ghasemi.off at gmail.com Mon Mar 7 21:33:05 2016 From: chavoosh.ghasemi.off at gmail.com (chavoosh ghasemi) Date: Tue, 8 Mar 2016 09:03:05 +0330 Subject: [ndnSIM] Port NLSR to ndnSIM Message-ID: Hi everbody, I do need to port NLSR in ndnSIM and evaluate NLSR's performance, but I am wondering how to do port it. Can you explain the exact relationship between ndnSIM and NLSR? How am I supposed to port NLSR to this simulator? Best *Chavoosh* -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Mon Mar 7 22:00:04 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Mon, 7 Mar 2016 22:00:04 -0800 Subject: [ndnSIM] Port NLSR to ndnSIM In-Reply-To: References: Message-ID: <848404AC-98C5-4C19-B432-8FF42A8FBA8A@cs.ucla.edu> Hi Chavoosh, your question is kind of open ended. I would suggest you read the following webpage, where we discuss the requirements for a real application to be ported to ndnSIM: http://ndnsim.net/2.1/guide-to-simulate-real-apps.html Then, you could take a look at the existing examples of ported real applications to understand the overall approach: https://github.com/spirosmastorakis/scenario-ChronoSync https://github.com/spirosmastorakis/ndns-scenario https://github.com/named-data-ndnSIM/scenario-ndn-ping If you have more specific technical questions, I would be glad to help. Hope that this helps! Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Mar 7, 2016, at 9:33 PM, chavoosh ghasemi wrote: > > Hi everbody, > I do need to port NLSR in ndnSIM and evaluate NLSR's performance, but I am wondering how to do port it. Can you explain the exact relationship between ndnSIM and NLSR? How am I supposed to port NLSR to this simulator? > > Best > Chavoosh > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aa at CS.UCLA.EDU Mon Mar 7 22:22:29 2016 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Mon, 7 Mar 2016 22:22:29 -0800 Subject: [ndnSIM] Port NLSR to ndnSIM In-Reply-To: References: Message-ID: Dear Chavoosh, Anil Jangam has been working on porting NLSR to ndnSIM, which seem to be almost finished. By I will let Anil to give more details himself. --- Alex > On Mar 7, 2016, at 9:33 PM, chavoosh ghasemi wrote: > > Hi everbody, > I do need to port NLSR in ndnSIM and evaluate NLSR's performance, but I am wondering how to do port it. Can you explain the exact relationship between ndnSIM and NLSR? How am I supposed to port NLSR to this simulator? > > Best > Chavoosh -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 841 bytes Desc: Message signed with OpenPGP using GPGMail URL: From shijunxiao at email.arizona.EDU Tue Mar 8 04:20:48 2016 From: shijunxiao at email.arizona.EDU (Junxiao Shi) Date: Tue, 8 Mar 2016 05:20:48 -0700 Subject: [ndnSIM] Port NLSR to ndnSIM In-Reply-To: References: Message-ID: Hi Chavoosh I don't know about porting, but I doubt whether your goal can be achieved with ndnSIM, depending on what you mean by "performance". If "performance" means CPU and memory usage, ns-3 and ndnSIM cannot help you. You need ONL or Emulab for that. ns-3 and ndnSIM can help you measure how many messages are transmitted, and how fast does the routing system converge in response to an announcement or fault. Such results will be repeatable if simulation is implemented correctly. Yours, Junxiao On Mon, Mar 7, 2016 at 10:33 PM, chavoosh ghasemi < chavoosh.ghasemi.off at gmail.com> wrote: > I do need to port NLSR in ndnSIM and evaluate NLSR's performance > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lanwang at memphis.EDU Tue Mar 8 07:27:00 2016 From: lanwang at memphis.EDU (Lan Wang (lanwang)) Date: Tue, 8 Mar 2016 15:27:00 +0000 Subject: [ndnSIM] Port NLSR to ndnSIM In-Reply-To: References: Message-ID: <2AC894D1-1B02-44D9-8F8F-C296C1F38CBC@memphis.edu> Chavoosh, As Alex mentioned, Anil Jangam is about to finish his porting of NLSR to ndnSIM. Another option, if your topology is less than 100 nodes, is to use Mini-NDN which doesn't require porting NLSR. Lan On Mar 7, 2016, at 11:33 PM, chavoosh ghasemi > wrote: Hi everbody, I do need to port NLSR in ndnSIM and evaluate NLSR's performance, but I am wondering how to do port it. Can you explain the exact relationship between ndnSIM and NLSR? How am I supposed to port NLSR to this simulator? Best Chavoosh _______________________________________________ ndnSIM mailing list ndnSIM at lists.cs.ucla.edu http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- An HTML attachment was scrubbed... URL: From chavoosh.ghasemi.off at gmail.com Tue Mar 8 08:00:44 2016 From: chavoosh.ghasemi.off at gmail.com (chavoosh ghasemi) Date: Tue, 8 Mar 2016 19:30:44 +0330 Subject: [ndnSIM] Port NLSR to ndnSIM In-Reply-To: <2AC894D1-1B02-44D9-8F8F-C296C1F38CBC@memphis.edu> References: <2AC894D1-1B02-44D9-8F8F-C296C1F38CBC@memphis.edu> Message-ID: Dear Spyridon, Thanks a lot for your comprehensive answer. I see your point. You mean I should assume NLSR as a real application and try to port it to ndnSIM, which seems reasonable. Anyway, it would be much more helpful if I could find a source code which has been already done this. Do you happen to know there is such source code available? ================================================================= Dear Alex, It is a good news to me and I am impatiently looking forward to hearing from *Anil* about porting NLSR to ndnSIM. Actually, I need to know when he can release such version of NLSR. ================================================================= Dear Junxiao, You hit the nail on the head! Actually, by ?performance? I mean convergence time, message overhead, update dissemination time, and quality of multipath routing support of NLSR, which can be resolved through simulating it. As a matter of fact, I want to evaluate NLSR?s performance with more than 200 nodes, and I cannot access to this number of PCs, so I decided to use ndnSIM. But if you have a better opinion I will be so glad to hear it. ================================================================= Dear Lan, I hope he can finish it ASAP and release the first version of ported NLSR to ndnSIM. As I mentioned, I need to evaluate NLSR?s performance with about 200 nodes, but your suggestion seems to be really helpful (i.e. using Mini-NDN) as Mini-NDN does not require porting NLSR, although it is limited to 100 nodes. Thanks for your helpful suggestion. ================================================================= Again, I do appreciate your kind help and exact explanation and I am looking forward to hearing from all of you. Best regards *Chavoosh* On Tue, Mar 8, 2016 at 6:57 PM, Lan Wang (lanwang) wrote: > Chavoosh, > > As Alex mentioned, Anil Jangam is about to finish his porting of NLSR to > ndnSIM. Another option, if your topology is less than 100 nodes, is to use > Mini-NDN which doesn't require porting NLSR. > > Lan > > On Mar 7, 2016, at 11:33 PM, chavoosh ghasemi < > chavoosh.ghasemi.off at gmail.com> wrote: > > Hi everbody, > I do need to port NLSR in ndnSIM and evaluate NLSR's performance, but I am > wondering how to do port it. Can you explain the exact relationship between > ndnSIM and NLSR? How am I supposed to port NLSR to this simulator? > > Best > *Chavoosh* > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > > -- *Chavoosh Ghasemi* Master of Information Technology - Computer Networks Sharif University of Technology (SUT) - Computer Engineering Department *Address: Department of Computer Engineering,* * Sharif University of Tech, Tehran, Iran* *"The quieter you become, the more you can hear"* -------------- next part -------------- An HTML attachment was scrubbed... URL: From z.rezaiefar at yahoo.com Tue Mar 8 16:32:11 2016 From: z.rezaiefar at yahoo.com (Zeinab Rezaiefar) Date: Wed, 9 Mar 2016 00:32:11 +0000 (UTC) Subject: [ndnSIM] how to iterate over all elements of cs References: <705614887.6398729.1457483531769.JavaMail.yahoo.ref@mail.yahoo.com> Message-ID: <705614887.6398729.1457483531769.JavaMail.yahoo@mail.yahoo.com> hello Carlz,in ndnsim version you can access content store data ( for example in ndn-forwarding-strategy.cc function)?as bellows. maybe it will be the same for version 2 ? Ptr m_contentStore;Ptr csEntry=m_contentStore->Begin()?while ( csEntry !=m_contentStore->End()){ std::cout<<"the name of data in cache"; csEntry=m_contentStore->Next(csEntry); } Hope it will work for youregards -------------- next part -------------- An HTML attachment was scrubbed... URL: From sanyal_atish at yahoo.in Wed Mar 9 01:14:32 2016 From: sanyal_atish at yahoo.in (Atish Sanyal) Date: Wed, 9 Mar 2016 09:14:32 +0000 (UTC) Subject: [ndnSIM] Installation problem of ndnsim2.0 on Ubuntu 14.04 References: <131293392.4347641.1457514872070.JavaMail.yahoo.ref@mail.yahoo.com> Message-ID: <131293392.4347641.1457514872070.JavaMail.yahoo@mail.yahoo.com> While installing from the link https://travis-ci.org/named-data-ndnSIM/ndnSIM, I faced an error in line 174. The following is the problem shown: + sudo apt-get update -qq -y W: Failed to fetch http://ppa.launchpad.net/boost-latest/ppa/ubuntu/dists/trusty/main/binary-amd64/Packages? 404? Not Found W: Failed to fetch http://ppa.launchpad.net/boost-latest/ppa/ubuntu/dists/trusty/main/binary-i386/Packages? 404? Not Found E: Some index files failed to download. They have been ignored, or old ones used instead. Also, kindly send us any alternative download links for installation in Ubuntu 14.04. Regards, Atish Sanyal. -------------- next part -------------- An HTML attachment was scrubbed... URL: From carlzu8 at gmail.com Wed Mar 9 03:23:48 2016 From: carlzu8 at gmail.com (Carl Zu) Date: Wed, 9 Mar 2016 12:23:48 +0100 Subject: [ndnSIM] how to prevent re-expression of interests for a certain prefix? Message-ID: Hi, What is the best method for preventing re-expression of interests for a certain prefix after expiry time? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ayush0071 at gmail.com Wed Mar 9 03:59:00 2016 From: ayush0071 at gmail.com (Ayush Agarwal) Date: Wed, 9 Mar 2016 17:29:00 +0530 Subject: [ndnSIM] Installation problem of ndnsim2.0 on Ubuntu 14.04 In-Reply-To: <131293392.4347641.1457514872070.JavaMail.yahoo@mail.yahoo.com> References: <131293392.4347641.1457514872070.JavaMail.yahoo.ref@mail.yahoo.com> <131293392.4347641.1457514872070.JavaMail.yahoo@mail.yahoo.com> Message-ID: Hi Atish, You can try installing the latest version of ndnSIM using the following shell script. The link for the installation steps is given below. http://mohittahiliani.blogspot.in/2015/10/ns-3-installing-ndnsim-on-ubuntu.html I hope this will resolve all your errors. *Regards,* *Ayush Agarwal* *Research Scholar* *National Institute of Technology Surathkal (Karnataka)* On Wed, Mar 9, 2016 at 2:44 PM, Atish Sanyal wrote: > While installing from the link > https://travis-ci.org/named-data-ndnSIM/ndnSIM, I faced an error in line > 174. > The following is the problem shown: > + sudo apt-get update -qq -y > W: Failed to fetch > http://ppa.launchpad.net/boost-latest/ppa/ubuntu/dists/trusty/main/binary-amd64/Packages > 404 Not Found > > W: Failed to fetch > http://ppa.launchpad.net/boost-latest/ppa/ubuntu/dists/trusty/main/binary-i386/Packages > 404 Not Found > > E: Some index files failed to download. They have been ignored, or old > ones used instead. > > > Also, kindly send us any alternative download links for installation in > Ubuntu 14.04. > > > Regards, > Atish Sanyal. > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From carlzu8 at gmail.com Wed Mar 9 10:07:55 2016 From: carlzu8 at gmail.com (Carl Zu) Date: Wed, 9 Mar 2016 19:07:55 +0100 Subject: [ndnSIM] How could we access Content Store in the Producer app ? Message-ID: Hi all, How could we access Content Store in the Producer app ? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Wed Mar 9 14:29:26 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Wed, 9 Mar 2016 14:29:26 -0800 Subject: [ndnSIM] Installation problem of ndnsim2.0 on Ubuntu 14.04 In-Reply-To: <131293392.4347641.1457514872070.JavaMail.yahoo@mail.yahoo.com> References: <131293392.4347641.1457514872070.JavaMail.yahoo.ref@mail.yahoo.com> <131293392.4347641.1457514872070.JavaMail.yahoo@mail.yahoo.com> Message-ID: <19B820F6-3493-4E98-9EAD-71A110EA2D4A@cs.ucla.edu> Hi Atish, I am not sure why you are trying to install ndnSIM using a link from travis CI? I would suggest you follow the instructions on our official website: http://ndnsim.net/2.1/getting-started.html Hope that this helps! Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Mar 9, 2016, at 1:14 AM, Atish Sanyal wrote: > > While installing from the link https://travis-ci.org/named-data-ndnSIM/ndnSIM , I faced an error in line 174. > The following is the problem shown: > + sudo apt-get update -qq -y > W: Failed to fetch http://ppa.launchpad.net/boost-latest/ppa/ubuntu/dists/trusty/main/binary-amd64/Packages 404 Not Found > > W: Failed to fetch http://ppa.launchpad.net/boost-latest/ppa/ubuntu/dists/trusty/main/binary-i386/Packages 404 Not Found > > E: Some index files failed to download. They have been ignored, or old ones used instead. > > > Also, kindly send us any alternative download links for installation in Ubuntu 14.04. > > > Regards, > Atish Sanyal. > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- An HTML attachment was scrubbed... URL: From monikabaraut at gmail.com Thu Mar 10 03:06:13 2016 From: monikabaraut at gmail.com (Monika Dangi) Date: Thu, 10 Mar 2016 06:06:13 -0500 Subject: [ndnSIM] Anybody working /worked on Kite-mobility support model for NDN Message-ID: Hi All, I am working on mobility models in NDN, i want to know did somebody simulated the Kite model provided in research paper- http://named-data.net/wp-content/uploads/2014/06/sigproc-sp.pdf If yes then please let me know i just want to discuss how he simulated the same results again. Thank-you -- Monika MTech CSE IIT Roorkee -------------- next part -------------- An HTML attachment was scrubbed... URL: From shijunxiao at email.arizona.edu Thu Mar 10 03:45:26 2016 From: shijunxiao at email.arizona.edu (Junxiao Shi) Date: Thu, 10 Mar 2016 04:45:26 -0700 Subject: [ndnSIM] Anybody working /worked on Kite-mobility support model for NDN In-Reply-To: References: Message-ID: Hi Monika I'm unaware of such work. You may watch NFD Task 3408 to get notified when someone starts working on bringing Kite to NFD. Yours, Junxiao On Thu, Mar 10, 2016 at 4:06 AM, Monika Dangi wrote: > I am working on mobility models in NDN, i want to know did somebody > simulated the Kite model provided in research paper- > http://named-data.net/wp-content/uploads/2014/06/sigproc-sp.pdf > > If yes then please let me know i just want to discuss how he simulated the > same results again. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lixia at CS.UCLA.EDU Thu Mar 10 06:05:12 2016 From: lixia at CS.UCLA.EDU (Lixia Zhang) Date: Thu, 10 Mar 2016 06:05:12 -0800 Subject: [ndnSIM] Anybody working /worked on Kite-mobility support model for NDN In-Reply-To: References: Message-ID: <5B46FEAF-0B86-459D-853F-960AA2742847@cs.ucla.edu> > On Mar 10, 2016, at 3:45 AM, Junxiao Shi wrote: > > Hi Monika > > I'm unaware of such work. I believe Yu Zhang , who did the KITE design, did do simulations. > You may watch NFD Task 3408 to get notified when someone starts working on bringing Kite to NFD. > > Yours, Junxiao > > On Thu, Mar 10, 2016 at 4:06 AM, Monika Dangi > wrote: > I am working on mobility models in NDN, i want to know did somebody simulated the Kite model provided in research paper- > http://named-data.net/wp-content/uploads/2014/06/sigproc-sp.pdf > > If yes then please let me know i just want to discuss how he simulated the same results again. > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- An HTML attachment was scrubbed... URL: From don1559 at gmail.com Thu Mar 10 07:33:48 2016 From: don1559 at gmail.com (Ahmed Sadek) Date: Thu, 10 Mar 2016 16:33:48 +0100 Subject: [ndnSIM] Forwarding Strategies Implemented ? Message-ID: Hi All, I was wondering if the following forwarding strategies are implemented: 1- Round robin on multiple interfaces. 2- Weighted round robin. 3- Load distribution (Not Random) but based on criteria (Bandwidth, Loss, Delay). Thanks! Ahmed Sadek -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Thu Mar 10 14:21:01 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Thu, 10 Mar 2016 14:21:01 -0800 Subject: [ndnSIM] Forwarding Strategies Implemented ? In-Reply-To: References: Message-ID: <5D73A873-1F75-4C6F-A85C-B6F96BFAC07F@cs.ucla.edu> Hi Ahmed, the forwarding strategies that are available in ndnSIM are mentioned here: http://ndnsim.net/2.1/fw.html Moreover, Steve DiBenedetto has implemented some load balancing strategies (including a random and a weighted load balancer). These strategies can be found here: https://github.com/dibenede/ndn-tutorial-gec21/tree/master/strategy-templates Hope that this helps! Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Mar 10, 2016, at 7:33 AM, Ahmed Sadek wrote: > > Hi All, > > I was wondering if the following forwarding strategies are implemented: > > 1- Round robin on multiple interfaces. > 2- Weighted round robin. > 3- Load distribution (Not Random) but based on criteria (Bandwidth, Loss, Delay). > > Thanks! > Ahmed Sadek > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- An HTML attachment was scrubbed... URL: From poschdaniel2 at gmail.com Thu Mar 10 22:20:54 2016 From: poschdaniel2 at gmail.com (Daniel Posch) Date: Fri, 11 Mar 2016 07:20:54 +0100 Subject: [ndnSIM] Forwarding Strategies Implemented ? In-Reply-To: References: Message-ID: <56E263C6.8060800@gmail.com> Hi Ahmed, have also a look here: http://icn.itec.aau.at/download/#fwd Best Regards, Daniel On 03/10/2016 04:33 PM, Ahmed Sadek wrote: > Hi All, > > I was wondering if the following forwarding strategies are implemented: > > 1- Round robin on multiple interfaces. > 2- Weighted round robin. > 3- Load distribution (Not Random) but based on criteria (Bandwidth, > Loss, Delay). > > Thanks! > Ahmed Sadek > > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- An HTML attachment was scrubbed... URL: From ivanes at ufpa.br Mon Mar 14 10:48:38 2016 From: ivanes at ufpa.br (ivanes at ufpa.br) Date: Mon, 14 Mar 2016 10:48:38 -0700 (PDT) Subject: [ndnSIM] Problem with ndn-simple-with-content-freshness.cpp scenario Message-ID: Hello, Does anyone knows if ndn-simple-with-content-freshness.cpp scenario is working fine in ndnSIM 2.1? Because when I run this scenario, the expected behavior described in the scenario is not happening (i.e. Interests from 1, 3 and 4 will reach producers and Interset from 2 will be served from cache). Thanks in advance, Ivanes Ara?jo -------------- next part -------------- An HTML attachment was scrubbed... URL: From chavoosh.ghasemi.off at gmail.com Tue Mar 15 02:23:47 2016 From: chavoosh.ghasemi.off at gmail.com (chavoosh ghasemi) Date: Tue, 15 Mar 2016 12:53:47 +0330 Subject: [ndnSIM] Port NLSR to ndnSIM In-Reply-To: References: <2AC894D1-1B02-44D9-8F8F-C296C1F38CBC@memphis.edu> Message-ID: Hi Anil, I see your point and I know that you're busy as a bee! Actually, I'm working on a paper and I have a hard deadline which does not let me wait to release your code. Anyway, I want to make you sure that your code can be a good basis for our future works and papers, so it can be really helpful to have your code due next months. Finally, I really appreciate your help and kind email and I'm looking forward to seeing your first release of ported NLSR, ASAP! Good luck with your thesis! Best *Chavoosh* On Tue, Mar 15, 2016 at 2:27 AM, Anil Jangam wrote: > Hello Chavoosh, > > Apologies for a delayed response. Yes I am working on the porting of NLSR > to ndnSIM. I believe the porting is complete since I tested a 3 node > scenario. I am going to carry out further scale/performance measurement > through this simulation. > > Actually I am working on this project as my Master's thesis and this code > is one of the artifacts of my thesis work. I am not sure if I can share it > before my thesis is complete. I am planning to defend the thesis in next > month (in this semester itself). Also, the code may still have some issues > and I hope to iron them out while I am working on my experiments. Since I > have little time left to finish my work, I may not get time to support it > at same time. (Note: I am also working full-time, so I walking a very tight > rope as far as timelines are concerned). > > I certainly plan to release this code once I finish my work. So please let > me know if you can wait till then. > > /anil. > > > On Tue, Mar 8, 2016 at 8:00 AM, chavoosh ghasemi < > chavoosh.ghasemi.off at gmail.com> wrote: > >> Dear Spyridon, >> >> Thanks a lot for your comprehensive answer. I see your point. You mean I >> should assume NLSR as a real application and try to port it to ndnSIM, >> which seems reasonable. Anyway, it would be much more helpful if I could >> find a source code which has been already done this. Do you happen to know >> there is such source code available? >> >> ================================================================= >> >> Dear Alex, >> >> It is a good news to me and I am impatiently looking forward to >> hearing from *Anil* about porting NLSR to ndnSIM. Actually, I need to >> know when he can release such version of NLSR. >> >> ================================================================= >> >> Dear Junxiao, >> >> You hit the nail on the head! Actually, by ?performance? I mean >> convergence time, message overhead, update dissemination time, and quality >> of multipath routing support of NLSR, which can be resolved through >> simulating it. As a matter of fact, I want to evaluate NLSR?s performance >> with more than 200 nodes, and I cannot access to this number of PCs, so I >> decided to use ndnSIM. But if you have a better opinion I will be so glad >> to hear it. >> >> ================================================================= >> >> Dear Lan, >> >> I hope he can finish it ASAP and release the first version of ported NLSR >> to ndnSIM. As I mentioned, I need to evaluate NLSR?s performance with about >> 200 nodes, but your suggestion seems to be really helpful (i.e. using >> Mini-NDN) as Mini-NDN does not require porting NLSR, although it is limited >> to 100 nodes. Thanks for your helpful suggestion. >> >> ================================================================= >> >> Again, I do appreciate your kind help and exact explanation and I am >> looking forward to hearing from all of you. >> >> >> >> Best regards >> >> *Chavoosh* >> >> >> >> On Tue, Mar 8, 2016 at 6:57 PM, Lan Wang (lanwang) >> wrote: >> >>> Chavoosh, >>> >>> As Alex mentioned, Anil Jangam is about to finish his porting of NLSR to >>> ndnSIM. Another option, if your topology is less than 100 nodes, is to use >>> Mini-NDN which doesn't require porting NLSR. >>> >>> Lan >>> >>> On Mar 7, 2016, at 11:33 PM, chavoosh ghasemi < >>> chavoosh.ghasemi.off at gmail.com> wrote: >>> >>> Hi everbody, >>> I do need to port NLSR in ndnSIM and evaluate NLSR's performance, but I >>> am wondering how to do port it. Can you explain the exact relationship >>> between ndnSIM and NLSR? How am I supposed to port NLSR to this simulator? >>> >>> Best >>> *Chavoosh* >>> >>> _______________________________________________ >>> ndnSIM mailing list >>> ndnSIM at lists.cs.ucla.edu >>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >>> >>> >>> >> >> >> -- >> *Chavoosh Ghasemi* >> >> Master of Information Technology - Computer Networks >> Sharif University of Technology (SUT) - Computer Engineering Department >> >> *Address: Department of Computer Engineering,* >> >> * Sharif University of Tech, Tehran, Iran* >> >> *"The quieter you become, the more you can hear"* >> >> _______________________________________________ >> ndnSIM mailing list >> ndnSIM at lists.cs.ucla.edu >> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >> >> > -- *Chavoosh Ghasemi* Master of Information Technology - Computer Networks Sharif University of Technology (SUT) - Computer Engineering Department *Address: Department of Computer Engineering,* * Sharif University of Tech, Tehran, Iran* *"The quieter you become, the more you can hear"* -------------- next part -------------- An HTML attachment was scrubbed... URL: From cs15mtech11007 at iith.ac.in Tue Mar 15 06:14:14 2016 From: cs15mtech11007 at iith.ac.in (Krishnakanth Singh) Date: Tue, 15 Mar 2016 18:44:14 +0530 Subject: [ndnSIM] Caching Strategies in ICN Message-ID: Hi, I have been reading some papers on Caching Techniques in ICN.I have been reading q - caching in ICN (http://arxiv.org/abs/1512.08469) i was trying to use Icarus for simulation their techniques but icarus dose not have a big community .Can you suggest is this possible in ndnSim and if yes is there a tutorial. Finally do any of you have any good ideas regarding new caching techniques . Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: From shijunxiao at email.arizona.edu Tue Mar 15 06:21:51 2016 From: shijunxiao at email.arizona.edu (Junxiao Shi) Date: Tue, 15 Mar 2016 06:21:51 -0700 Subject: [ndnSIM] Caching Strategies in ICN In-Reply-To: References: Message-ID: Hi Krishnakanth Some exploration on caching policies was done during first NDN hackathon. The repository is at https://github.com/ndncomm/nfd-caching-policies , but I don't know where's the project report or how to use it. Leader of that project is on CC of this email. Yours, Junxiao On Mar 15, 2016 06:15, "Krishnakanth Singh" wrote: > Hi, > I have been reading some papers on Caching Techniques in ICN.I have been > reading q - caching in ICN (http://arxiv.org/abs/1512.08469) i was trying > to use Icarus for simulation their techniques but icarus dose not have a > big community .Can you suggest is this possible in ndnSim and if yes is > there a tutorial. Finally do any of you have any good ideas regarding new > caching techniques . > > > Thanks in advance. > > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lucia.dacunto at tno.nl Tue Mar 15 06:29:37 2016 From: lucia.dacunto at tno.nl (D'Acunto, L. (Lucia)) Date: Tue, 15 Mar 2016 13:29:37 +0000 Subject: [ndnSIM] Caching Strategies in ICN In-Reply-To: References: Message-ID: <683333780361E0418F06190874850A9C19A2C704@EXC-MBX03.tsn.tno.nl> Dear Junxiao, Krishnakanth, Klaus, I?m also interested to read the report about the caching policies that were explored during the first NDN hackathon. Thank you, Lucia D'Acunto, PhD Research Scientist Media Networking T +31 (0)88 866 71 37 M +31 (0)64 696 60 10 E lucia.dacunto at tno.nl [cid:image001.gif at 01D17EC7.19B72640] TNO | New Babylon | Anna van Buerenplein 1, 2595DA, The Hague, The Netherlands From: ndnSIM [mailto:ndnsim-bounces at lists.cs.ucla.edu] On Behalf Of Junxiao Shi Sent: dinsdag 15 maart 2016 14:22 To: Krishnakanth Singh Cc: Klaus Schneider; ndnsim Subject: Re: [ndnSIM] Caching Strategies in ICN Hi Krishnakanth Some exploration on caching policies was done during first NDN hackathon. The repository is at https://github.com/ndncomm/nfd-caching-policies , but I don't know where's the project report or how to use it. Leader of that project is on CC of this email. Yours, Junxiao On Mar 15, 2016 06:15, "Krishnakanth Singh" > wrote: Hi, I have been reading some papers on Caching Techniques in ICN.I have been reading q - caching in ICN (http://arxiv.org/abs/1512.08469) i was trying to use Icarus for simulation their techniques but icarus dose not have a big community .Can you suggest is this possible in ndnSim and if yes is there a tutorial. Finally do any of you have any good ideas regarding new caching techniques . Thanks in advance. _______________________________________________ ndnSIM mailing list ndnSIM at lists.cs.ucla.edu http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. TNO accepts no liability for the content of this e-mail, for the manner in which you use it and for damage of any kind resulting from the risks inherent to the electronic transmission of messages. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 2396 bytes Desc: image001.gif URL: From M.AbdollahiSabet at mail.sbu.ac.ir Tue Mar 15 08:49:50 2016 From: M.AbdollahiSabet at mail.sbu.ac.ir (Muhammad Hosain Abdollahi Sabet) Date: Tue, 15 Mar 2016 19:19:50 +0330 Subject: [ndnSIM] Anybody working /worked on Kite-mobility support model for NDN References: <5B46FEAF-0B86-459D-853F-960AA2742847@cs.ucla.edu> Message-ID: <4AC03A6244C3C34BB52A7EC60B799C4C03CC29FF@m-pdc.sbu.ac.ir> Hi Monika. Yes. You can find the simulation on: https://github.com/yuzhang/ndn-kite It's mentioned in Kite tech. report. Thanks, Sabet On 10 Mar 2016 17:44, "Lixia Zhang" wrote: On Mar 10, 2016, at 3:45 AM, Junxiao Shi wrote: Hi Monika I'm unaware of such work. I believe Yu Zhang , who did the KITE design, did do simulations. You may watch NFD Task 3408 to get notified when someone starts working on bringing Kite to NFD. Yours, Junxiao On Thu, Mar 10, 2016 at 4:06 AM, Monika Dangi wrote: > I am working on mobility models in NDN, i want to know did somebody > simulated the Kite model provided in research paper- > http://named-data.net/wp-content/uploads/2014/06/sigproc-sp.pdf > > If yes then please let me know i just want to discuss how he simulated the > same results again. > _______________________________________________ ndnSIM mailing list ndnSIM at lists.cs.ucla.edu http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim _______________________________________________ ndnSIM mailing list ndnSIM at lists.cs.ucla.edu http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Tue Mar 15 09:46:51 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Tue, 15 Mar 2016 09:46:51 -0700 Subject: [ndnSIM] Caching Strategies in ICN In-Reply-To: <683333780361E0418F06190874850A9C19A2C704@EXC-MBX03.tsn.tno.nl> References: <683333780361E0418F06190874850A9C19A2C704@EXC-MBX03.tsn.tno.nl> Message-ID: <9C09F47F-D06E-4C4D-BDDF-8EA187FC95C2@cs.ucla.edu> Hi guys, a few clarifications first: The current version of ndnSIM (version 2.1) supports both the use of NFD?s CS and the use of an ndnSIM-specific CS implementation. For the ndnSIM-specific CS, there are a number of cache replacement strategies already implemented and integrated with ndnSIM: https://github.com/named-data-ndnSIM/ndnSIM/tree/master/model/cs As far as the CS of NFD is concerned, as Junxiao mentioned, there is this project (originally, it was a project from the first NDN hackathon last September): https://github.com/ndncomm/nfd-caching-policies/commits/master Moreover, there are many papers that have explored in-network caching and cache replacement strategies using ndnSIM. Some of them provide implementation code as well or links to their code on github. It would be very useful for you to look up such papers online. Hope that this helps. Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Mar 15, 2016, at 6:29 AM, D'Acunto, L. (Lucia) wrote: > > Dear Junxiao, Krishnakanth, Klaus, > I?m also interested to read the report about the caching policies that were explored during the first NDN hackathon. > > Thank you, > > > Lucia D'Acunto, PhD > Research Scientist > Media Networking > T +31 (0)88 866 71 37 > M +31 (0)64 696 60 10 > E lucia.dacunto at tno.nl > > > > > TNO | New Babylon | Anna van Buerenplein 1, 2595DA, The Hague, The Netherlands > > > > > From: ndnSIM [mailto:ndnsim-bounces at lists.cs.ucla.edu ] On Behalf Of Junxiao Shi > Sent: dinsdag 15 maart 2016 14:22 > To: Krishnakanth Singh > Cc: Klaus Schneider; ndnsim > Subject: Re: [ndnSIM] Caching Strategies in ICN > > Hi Krishnakanth > > Some exploration on caching policies was done during first NDN hackathon. > The repository is at https://github.com/ndncomm/nfd-caching-policies , but I don't know where's the project report or how to use it. > Leader of that project is on CC of this email. > > Yours, Junxiao > > On Mar 15, 2016 06:15, "Krishnakanth Singh" > wrote: > Hi, > I have been reading some papers on Caching Techniques in ICN.I have been reading q - caching in ICN (http://arxiv.org/abs/1512.08469 ) i was trying to use Icarus for simulation their techniques but icarus dose not have a big community .Can you suggest is this possible in ndnSim and if yes is there a tutorial. Finally do any of you have any good ideas regarding new caching techniques . > > > Thanks in advance. > > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. TNO accepts no liability for the content of this e-mail, for the manner in which you use it and for damage of any kind resulting from the risks inherent to the electronic transmission of messages. > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Tue Mar 15 09:51:54 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Tue, 15 Mar 2016 09:51:54 -0700 Subject: [ndnSIM] Problem with ndn-simple-with-content-freshness.cpp scenario In-Reply-To: References: Message-ID: <05D58702-8788-4850-93FC-CF1EEE643F22@cs.ucla.edu> Hi, could you please let us know what is the behavior that you noticed? Thanks, Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Mar 14, 2016, at 10:48 AM, ivanes at ufpa.br wrote: > > Hello, > > Does anyone knows if ndn-simple-with-content-freshness.cpp scenario is working fine in ndnSIM 2.1? Because when I run this scenario, the expected behavior described in the scenario is not happening (i.e. Interests from 1, 3 and 4 will reach producers and Interset from 2 will be served from cache). > > Thanks in advance, > > Ivanes Ara?jo > > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Tue Mar 15 09:58:36 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Tue, 15 Mar 2016 09:58:36 -0700 Subject: [ndnSIM] Caching Strategies in ICN In-Reply-To: <683333780361E0418F06190874850A9C19A2C704@EXC-MBX03.tsn.tno.nl> References: <683333780361E0418F06190874850A9C19A2C704@EXC-MBX03.tsn.tno.nl> Message-ID: Hi guys, a few clarifications first: The current version of ndnSIM (version 2.1) supports both the use of NFD?s CS and the use of an ndnSIM-specific CS implementation. For the ndnSIM-specific CS, there are a number of cache replacement strategies already implemented and integrated with ndnSIM: https://github.com/named-data-ndnSIM/ndnSIM/tree/master/model/cs As far as the CS of NFD is concerned, as Junxiao mentioned, there is this project (originally, it was a project from the first NDN hackathon last September): https://github.com/ndncomm/nfd-caching-policies/commits/master Moreover, there are many papers that have explored in-network caching and cache replacement strategies using ndnSIM. Some of them provide implementation code as well or links to their code on github. It would be very useful for you to look up such papers online. Hope that this helps. Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Mar 15, 2016, at 6:29 AM, D'Acunto, L. (Lucia) wrote: > > Dear Junxiao, Krishnakanth, Klaus, > I?m also interested to read the report about the caching policies that were explored during the first NDN hackathon. > > Thank you, > > > Lucia D'Acunto, PhD > Research Scientist > Media Networking > T +31 (0)88 866 71 37 > M +31 (0)64 696 60 10 > E lucia.dacunto at tno.nl > > > > > TNO | New Babylon | Anna van Buerenplein 1, 2595DA, The Hague, The Netherlands > > > > > From: ndnSIM [mailto:ndnsim-bounces at lists.cs.ucla.edu ] On Behalf Of Junxiao Shi > Sent: dinsdag 15 maart 2016 14:22 > To: Krishnakanth Singh > Cc: Klaus Schneider; ndnsim > Subject: Re: [ndnSIM] Caching Strategies in ICN > > Hi Krishnakanth > > Some exploration on caching policies was done during first NDN hackathon. > The repository is at https://github.com/ndncomm/nfd-caching-policies , but I don't know where's the project report or how to use it. > Leader of that project is on CC of this email. > > Yours, Junxiao > > On Mar 15, 2016 06:15, "Krishnakanth Singh" > wrote: > Hi, > I have been reading some papers on Caching Techniques in ICN.I have been reading q - caching in ICN (http://arxiv.org/abs/1512.08469 ) i was trying to use Icarus for simulation their techniques but icarus dose not have a big community .Can you suggest is this possible in ndnSim and if yes is there a tutorial. Finally do any of you have any good ideas regarding new caching techniques . > > > Thanks in advance. > > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. TNO accepts no liability for the content of this e-mail, for the manner in which you use it and for damage of any kind resulting from the risks inherent to the electronic transmission of messages. > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- An HTML attachment was scrubbed... URL: From carlzu8 at gmail.com Tue Mar 15 22:58:53 2016 From: carlzu8 at gmail.com (Carl Zu) Date: Wed, 16 Mar 2016 06:58:53 +0100 Subject: [ndnSIM] concerning producer application Message-ID: Hi, In ndn-producer.cpp, the data object is created in the "onInterest" method. This means it is created upon receiving an interest. However, it seems that in reality nodes have a kind of repository, e.g. a hard disk, in which they maintain the data. To my understanding, data should be copied from the repository to the cache upon arrival of a new interest message. How this has been taken into account in ndnSIM ?. Looks like we do not have access to the repository. thanks. C -------------- next part -------------- An HTML attachment was scrubbed... URL: From yuzhang at hit.edu.cn Thu Mar 10 06:26:23 2016 From: yuzhang at hit.edu.cn (Yu Zhang) Date: Thu, 10 Mar 2016 22:26:23 +0800 Subject: [ndnSIM] Anybody working /worked on Kite-mobility support model for NDN In-Reply-To: <5B46FEAF-0B86-459D-853F-960AA2742847@cs.ucla.edu> References: <5B46FEAF-0B86-459D-853F-960AA2742847@cs.ucla.edu> Message-ID: <51433E5A-BD72-44E3-B38E-721B31F2B8B4@hit.edu.cn> The source code is available at https://github.com/YuZhang/ndn-kite The results in the paper can be reproduced by following the instructions therein. > On Mar 10, 2016, at 10:05 PM, Lixia Zhang wrote: > > >> On Mar 10, 2016, at 3:45 AM, Junxiao Shi > wrote: >> >> Hi Monika >> >> I'm unaware of such work. > > I believe Yu Zhang >, who did the KITE design, did do simulations. > >> You may watch NFD Task 3408 to get notified when someone starts working on bringing Kite to NFD. >> >> Yours, Junxiao >> >> On Thu, Mar 10, 2016 at 4:06 AM, Monika Dangi > wrote: >> I am working on mobility models in NDN, i want to know did somebody simulated the Kite model provided in research paper- >> http://named-data.net/wp-content/uploads/2014/06/sigproc-sp.pdf >> >> If yes then please let me know i just want to discuss how he simulated the same results again. >> _______________________________________________ >> ndnSIM mailing list >> ndnSIM at lists.cs.ucla.edu >> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- An HTML attachment was scrubbed... URL: From tteixeira at engin.umass.edu Tue Mar 8 12:51:39 2016 From: tteixeira at engin.umass.edu (Thiago Teixeira) Date: Tue, 8 Mar 2016 20:51:39 +0000 Subject: [ndnSIM] Cache hits: identifying the originator Message-ID: <41E7DF15B39B5C46BF24C9545D39304C2ACADF67@oit-ex2010-mb1> Dear ndnSIM list members, I am working in a wireless scenario with N consumers and M producers, connected via intermediate nodes (see example below) Consumer 1 O \ O -- O -- O -- O ... O -- O / Rtr-1 Rtr-n Producer 1 O Consumer 2 Consumer 1 and 2 issue Interest requests via ConsumerCbr application (same namespace, e.g. /prefix/ ). As the number of routers increase, the link has more collisions and the Interest/Data packets get lost, generating more retransmissions and cache hits. Is there a way to know which node originated the cache hit? Also, is there a way to know if a cache hit was originated by a retransmission or by a first-time Interest request? I looked at "Finding Id of interest sending node" but that solution seems to not fit in this scenario. Thanks for your help, Thiago -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Wed Mar 16 11:30:59 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Wed, 16 Mar 2016 11:30:59 -0700 Subject: [ndnSIM] Cache hits: identifying the originator In-Reply-To: <41E7DF15B39B5C46BF24C9545D39304C2ACADF67@oit-ex2010-mb1> References: <41E7DF15B39B5C46BF24C9545D39304C2ACADF67@oit-ex2010-mb1> Message-ID: <19127060-79FB-4707-A144-4C82DB725D34@cs.ucla.edu> Hi Thiago, one quick and dirty way to do that is to append the node id to the name of the data packet as soon as you retrieve it from a cache (following the approach of the link that you mentioned). Could you be more specific why you think this would not work here? It will work, but you have to do this trick in the forwarder class of NFD: Specifically, you can do it right here: https://github.com/named-data-ndnSIM/NFD/blob/bd8eea71137bc382fe1fb8225334b926a5484527/daemon/fw/forwarder.cpp#L148 As far as your second question is concerned, it is feasible to do it. You can add a counter variable to the forwarder class of NFD to figure out how many times you retrieved the same data packet from a node cache. Hope that this helps! Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Mar 8, 2016, at 12:51 PM, Thiago Teixeira wrote: > > Dear ndnSIM list members, > > I am working in a wireless scenario with N consumers and M producers, connected via intermediate nodes (see example below) > > Consumer 1 > O > \ > O -- O -- O -- O ? O -- O > / Rtr-1 Rtr-n Producer 1 > O > Consumer 2 > > Consumer 1 and 2 issue Interest requests via ConsumerCbr application (same namespace, e.g. /prefix/ ). As the number of routers increase, the link has more collisions and the Interest/Data packets get lost, generating more retransmissions and cache hits. > > Is there a way to know which node originated the cache hit? Also, is there a way to know if a cache hit was originated by a retransmission or by a first-time Interest request? > > I looked at ?Finding Id of interest sending node ? but that solution seems to not fit in this scenario. > > Thanks for your help, > > Thiago -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Wed Mar 16 12:18:09 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Wed, 16 Mar 2016 12:18:09 -0700 Subject: [ndnSIM] Anybody working /worked on Kite-mobility support model for NDN In-Reply-To: <51433E5A-BD72-44E3-B38E-721B31F2B8B4@hit.edu.cn> References: <5B46FEAF-0B86-459D-853F-960AA2742847@cs.ucla.edu> <51433E5A-BD72-44E3-B38E-721B31F2B8B4@hit.edu.cn> Message-ID: <02CA8A42-67AB-42D7-B61C-3E8DCA8A86D2@cs.ucla.edu> Hi Yu, it would be great if you spend some time to port the KITE simulation scenarios to the latest version of ndnSIM. Thank you very much in advance! Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Mar 10, 2016, at 6:26 AM, Yu Zhang wrote: > > The source code is available at https://github.com/YuZhang/ndn-kite > The results in the paper can be reproduced by following the instructions therein. > > >> On Mar 10, 2016, at 10:05 PM, Lixia Zhang > wrote: >> >> >>> On Mar 10, 2016, at 3:45 AM, Junxiao Shi > wrote: >>> >>> Hi Monika >>> >>> I'm unaware of such work. >> >> I believe Yu Zhang >, who did the KITE design, did do simulations. >> >>> You may watch NFD Task 3408 to get notified when someone starts working on bringing Kite to NFD. >>> >>> Yours, Junxiao >>> >>> On Thu, Mar 10, 2016 at 4:06 AM, Monika Dangi > wrote: >>> I am working on mobility models in NDN, i want to know did somebody simulated the Kite model provided in research paper- >>> http://named-data.net/wp-content/uploads/2014/06/sigproc-sp.pdf >>> >>> If yes then please let me know i just want to discuss how he simulated the same results again. >>> _______________________________________________ >>> ndnSIM mailing list >>> ndnSIM at lists.cs.ucla.edu >>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >> >> _______________________________________________ >> ndnSIM mailing list >> ndnSIM at lists.cs.ucla.edu >> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- An HTML attachment was scrubbed... URL: From sinkyh at oregonstate.edu Wed Mar 16 15:04:13 2016 From: sinkyh at oregonstate.edu (Hassan Sinky) Date: Wed, 16 Mar 2016 15:04:13 -0700 Subject: [ndnSIM] concerning producer application In-Reply-To: References: Message-ID: I was quite interested in this as well. This way contents can have different sizes and chunks where different chunks can be downloaded and reordered at the receiver. If this can already be done can that would be great to know. Thanks! On Tuesday, March 15, 2016, Carl Zu wrote: > Hi, > > In ndn-producer.cpp, the data object is created in the "onInterest" > method. This means it is created upon receiving an interest. However, it > seems that in reality nodes have a kind of repository, e.g. a hard disk, in > which they maintain the data. To my understanding, data should be copied > from the repository to the cache upon arrival of a new interest message. > How this has been taken into account in ndnSIM ?. Looks like we do not have > access to the repository. > > thanks. > C > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Wed Mar 16 15:11:50 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Wed, 16 Mar 2016 15:11:50 -0700 Subject: [ndnSIM] concerning producer application In-Reply-To: References: Message-ID: <76077DF6-7642-4FE7-BB63-8056DDFB4E4D@cs.ucla.edu> Hi guys, you can simulate this behavior, that is you can extend the producer application to produce chunks of varying size or even schedule events for sending data packets if you want to simulate the delay of fetching data from a disk or a repo. You can also create a big buffer, create and sign data in advance to ?simulate? the disk storage. It is kind of hard to access parts of the physical file system though, since all the application instances share the same local file system (this is imposed by NS3). You can still do it, but you have to be really careful and make sure that you access unique parts of the file system. Hope that this helps! Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Mar 16, 2016, at 3:04 PM, Hassan Sinky wrote: > > I was quite interested in this as well. This way contents can have different sizes and chunks where different chunks can be downloaded and reordered at the receiver. If this can already be done can that would be great to know. > > Thanks! > > On Tuesday, March 15, 2016, Carl Zu > wrote: > Hi, > > In ndn-producer.cpp, the data object is created in the "onInterest" method. This means it is created upon receiving an interest. However, it seems that in reality nodes have a kind of repository, e.g. a hard disk, in which they maintain the data. To my understanding, data should be copied from the repository to the cache upon arrival of a new interest message. How this has been taken into account in ndnSIM ?. Looks like we do not have access to the repository. > > thanks. > C > > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- An HTML attachment was scrubbed... URL: From sinkyh at oregonstate.edu Thu Mar 17 16:05:05 2016 From: sinkyh at oregonstate.edu (Hassan Sinky) Date: Thu, 17 Mar 2016 16:05:05 -0700 Subject: [ndnSIM] ndnsim and video trace files Message-ID: Hello everyone, There is a very nice NS-3 module called EvalVid which allows for a video trace file to be sent and received in order to reproduce and simulate the quality of the receiving video stream in a particular environment. Can this or something similar be simulated within ndnsim? Any suggestions would be great. -Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Thu Mar 17 16:52:41 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Thu, 17 Mar 2016 16:52:41 -0700 Subject: [ndnSIM] ndnsim and video trace files In-Reply-To: References: Message-ID: <4D21F566-BC7D-4160-A8EC-03597D3A742A@cs.ucla.edu> Hi, we do not officially support this module. However, a large number of NS3 modules can be treated as regular C++ classes and objects of those classes can be created. If this is the case, chances are that you might be able to use this module in your simulations. Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Mar 17, 2016, at 4:05 PM, Hassan Sinky wrote: > > Hello everyone, > > There is a very nice NS-3 module called EvalVid which allows for a video trace file to be sent and received in order to reproduce and simulate the quality of the receiving video stream in a particular environment. Can this or something similar be simulated within ndnsim? > > Any suggestions would be great. > > -Thanks > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- An HTML attachment was scrubbed... URL: From 3193946107 at qq.com Fri Mar 18 22:31:33 2016 From: 3193946107 at qq.com (=?ISO-8859-1?B?Q2hhbmdXZWk=?=) Date: Sat, 19 Mar 2016 13:31:33 +0800 Subject: [ndnSIM] how to write and implement a new cache strategy Message-ID: hello, I have an idea about cache strategy in ndn content store,but i don't know how to implement it.Which example that can be deprived from?Or is there any source code that i can refer to? I have seen some document in url such as http://ndnsim.net/2.1/doxygen/classnfd_1_1cs_1_1Policy.html .But i am still confused.Do you have some suggestions? -------------- next part -------------- An HTML attachment was scrubbed... URL: From asifcsep at gmail.com Sat Mar 19 21:49:18 2016 From: asifcsep at gmail.com (Shahid Md. Asif Iqbal) Date: Sun, 20 Mar 2016 10:49:18 +0600 Subject: [ndnSIM] Content Discovery Message-ID: Dear All, I would like to try an idea where the consumers first try to discover the available content providers, then get the content from one of the providers sending the actual request packets. Here is my thoughts: I have added one field to the interest packet to indicate the type of the interest : discover or request I have added one field to the data packet to indicate the type of the data packet : content-offer or content-real content-offer is same as content-real except the content field is empty. Now, please help me to identify what other things do I need to do to make my changes work especially in the consumer and producer files. Thanking in advance -------------- next part -------------- An HTML attachment was scrubbed... URL: From sinkyh at oregonstate.edu Sun Mar 20 02:21:18 2016 From: sinkyh at oregonstate.edu (Hassan Sinky) Date: Sun, 20 Mar 2016 02:21:18 -0700 Subject: [ndnSIM] ndnsim and video trace files In-Reply-To: <4D21F566-BC7D-4160-A8EC-03597D3A742A@cs.ucla.edu> References: <4D21F566-BC7D-4160-A8EC-03597D3A742A@cs.ucla.edu> Message-ID: Thanks for your help. I went ahead and created the classes for this particular module. Since this is an ns3 module that is based on the UdpSocketFactory I am trying to rewrite it for ndnsim. I seem to be stuck on a minor detail. Since the module is based on UDP, a stream of packets is sent by the server based on a single initial request from the client. Is there an equivalent behavior within ndnsim? The reason I ask is because after modifying the module to work with ndnsim only the first data packet triggers the OnData function of the consumer. The producer continues to send the stream of data packets but they do not trigger the OnData function since naturally, after the initial request, there are no pending interests for the remaining data packets. In other words, is there a way to request maybe a range of sequence numbers or to accept data packets even if they have not been requested yet. Thanks again! On Thu, Mar 17, 2016 at 4:52 PM, Spyridon (Spyros) Mastorakis < mastorakis at cs.ucla.edu> wrote: > Hi, > > we do not officially support this module. However, a large number of NS3 > modules can be treated as regular C++ classes and objects of those classes > can be created. > > If this is the case, chances are that you might be able to use this module > in your simulations. > > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ > Internet Research Laboratory > Computer Science Department > UCLA > > > > > On Mar 17, 2016, at 4:05 PM, Hassan Sinky wrote: > > Hello everyone, > > There is a very nice NS-3 module called EvalVid which allows for a video > trace file to be sent and received in order to reproduce and simulate the > quality of the receiving video stream in a particular environment. Can this > or something similar be simulated within ndnsim? > > Any suggestions would be great. > > -Thanks > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andreysilva.eng at gmail.com Sun Mar 20 09:17:34 2016 From: andreysilva.eng at gmail.com (Andrey Silva) Date: Sun, 20 Mar 2016 13:17:34 -0300 Subject: [ndnSIM] Problem with ndn-simple-with-content-freshness.cpp scenario In-Reply-To: <05D58702-8788-4850-93FC-CF1EEE643F22@cs.ucla.edu> References: <05D58702-8788-4850-93FC-CF1EEE643F22@cs.ucla.edu> Message-ID: Hello Spyridon, I think that the behavior he mentioned is -> (Interests from 1, 3 and 4 will reach producers and Interset from 2 will be served from cache). Best regards. 2016-03-15 13:51 GMT-03:00 Spyridon (Spyros) Mastorakis < mastorakis at cs.ucla.edu>: > Hi, > > could you please let us know what is the behavior that you noticed? > > Thanks, > > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ > Internet Research Laboratory > Computer Science Department > UCLA > > > > > On Mar 14, 2016, at 10:48 AM, ivanes at ufpa.br wrote: > > Hello, > > Does anyone knows if ndn-simple-with-content-freshness.cpp scenario is > working fine in ndnSIM 2.1? Because when I run this scenario, the expected > behavior described in the scenario is not happening (i.e. Interests from > 1, 3 and 4 will reach producers and Interset from 2 will be served from > cache). > > Thanks in advance, > > Ivanes Ara?jo > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > -- Andrey Silva Engenheiro da Computa??o - Universidade Federal do Par? Mestrando em Engenharia El?trica - Laborat?rio de Processamento de Sinais - Universidade Federal do Par? . - http://laps.ufpa.br/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From agnihotrirohit0 at gmail.com Sun Mar 20 10:09:18 2016 From: agnihotrirohit0 at gmail.com (Rohit Agnihotri) Date: Sun, 20 Mar 2016 22:39:18 +0530 Subject: [ndnSIM] Fwd: regarding the execution of 2914.ro.cch-annootated In-Reply-To: References: Message-ID: ---------- Forwarded message ---------- From: Rohit Agnihotri Date: Sun, Mar 20, 2016 at 10:37 PM Subject: regarding the execution of 2914.ro.cch-annootated To: ndnsim-owner at lists.cs.ucla.edu Hello , I am a beginner i want to have 2914.ro as my topology how can i used it instead of 7018.ro i tried from my side but may be the 2914.ro-conv-annotated.txt is not able to run with it. as i thought 7018.txt is already exist i tried replacing it but it is not running perfectly. please help me regarding running other .cch topologies for the rocket fuel . like 2914.ro etc.. I am eagerly waiting for your response. Thanks in advance . -- Regards Rohit Agnihotri -- Regards Rohit Agnihotri -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Sun Mar 20 17:09:02 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Sun, 20 Mar 2016 17:09:02 -0700 Subject: [ndnSIM] how to write and implement a new cache strategy In-Reply-To: References: Message-ID: <4DBBB54B-23A1-470A-9552-2DD946F034C1@cs.ucla.edu> Hi, you can take a look at the following project from the first NDN hackathon: https://github.com/ndncomm/nfd-caching-ndnsim Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Mar 18, 2016, at 10:31 PM, ChangWei <3193946107 at qq.com> wrote: > > hello, > I have an idea about cache strategy in ndn content store,but i don't know how to implement it.Which example that can be deprived from?Or is there any source code that i can refer to? I have seen some document in url such as http://ndnsim.net/2.1/doxygen/classnfd_1_1cs_1_1Policy.html .But i am still confused.Do you have some suggestions? > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- An HTML attachment was scrubbed... URL: From don1559 at gmail.com Mon Mar 21 03:32:05 2016 From: don1559 at gmail.com (Ahmed Sadek) Date: Mon, 21 Mar 2016 11:32:05 +0100 Subject: [ndnSIM] Tracing throughput by prefix NOT interface only Message-ID: Dear all, I was wondering if there is away to log throughput for a certain prefix. I have a node with 3 consumers and 3 interfaces. Currently, I can trace throughput for an interface only. So I want to show changes for throughput for a certain prefix (Prefix/A) on interface (256) for example. Thanks! Ahmed Sadek -------------- next part -------------- An HTML attachment was scrubbed... URL: From don1559 at gmail.com Mon Mar 21 03:44:50 2016 From: don1559 at gmail.com (Ahmed Sadek) Date: Mon, 21 Mar 2016 11:44:50 +0100 Subject: [ndnSIM] Flow control and congestion control in ndnsim Message-ID: Dear All, I was wondering if someone can point me to information on the *Flow Control and Congestion Control* *mechanism *used in ndnsim and is it the same as in NDN ? Also, if the client keep sending interests on different interfaces and not receive response then what is the expected behavior ? Thanks! Ahmed -------------- next part -------------- An HTML attachment was scrubbed... URL: From sinkyh at oregonstate.edu Mon Mar 21 14:44:37 2016 From: sinkyh at oregonstate.edu (Hassan Sinky) Date: Mon, 21 Mar 2016 14:44:37 -0700 Subject: [ndnSIM] ndnsim and video trace files In-Reply-To: References: <4D21F566-BC7D-4160-A8EC-03597D3A742A@cs.ucla.edu> Message-ID: Let me ask this in a different way. Is it possible with ndnsim to accept data packets without interest packets? That is, what would be a reasonable way to implement a UDP equivalent with a single initial interest request and the acceptance of subsequent stream of data packets? Thanks! On Sun, Mar 20, 2016 at 2:21 AM, Hassan Sinky wrote: > Thanks for your help. I went ahead and created the classes for this > particular module. Since this is an ns3 module that is based on the > UdpSocketFactory I am trying to rewrite it for ndnsim. I seem to be stuck > on a minor detail. Since the module is based on UDP, a stream of packets is > sent by the server based on a single initial request from the client. Is > there an equivalent behavior within ndnsim? The reason I ask is because > after modifying the module to work with ndnsim only the first data packet > triggers the OnData function of the consumer. The producer continues to > send the stream of data packets but they do not trigger the OnData function > since naturally, after the initial request, there are no pending interests > for the remaining data packets. In other words, is there a way to request > maybe a range of sequence numbers or to accept data packets even if they > have not been requested yet. > > Thanks again! > > On Thu, Mar 17, 2016 at 4:52 PM, Spyridon (Spyros) Mastorakis < > mastorakis at cs.ucla.edu> wrote: > >> Hi, >> >> we do not officially support this module. However, a large number of NS3 >> modules can be treated as regular C++ classes and objects of those classes >> can be created. >> >> If this is the case, chances are that you might be able to use this >> module in your simulations. >> >> Spyridon (Spyros) Mastorakis >> Personal Website: http://cs.ucla.edu/~mastorakis/ >> Internet Research Laboratory >> Computer Science Department >> UCLA >> >> >> >> >> On Mar 17, 2016, at 4:05 PM, Hassan Sinky wrote: >> >> Hello everyone, >> >> There is a very nice NS-3 module called EvalVid which allows for a video >> trace file to be sent and received in order to reproduce and simulate the >> quality of the receiving video stream in a particular environment. Can this >> or something similar be simulated within ndnsim? >> >> Any suggestions would be great. >> >> -Thanks >> _______________________________________________ >> ndnSIM mailing list >> ndnSIM at lists.cs.ucla.edu >> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Mon Mar 21 14:50:36 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Mon, 21 Mar 2016 14:50:36 -0700 Subject: [ndnSIM] ndnsim and video trace files In-Reply-To: References: <4D21F566-BC7D-4160-A8EC-03597D3A742A@cs.ucla.edu> Message-ID: <042BF063-0E2A-4071-98DD-DD05821698C4@cs.ucla.edu> Hi Hassan, actually, we used to have an implementation of UDP and TCP interfaces in ndnSIM. However, it is not compatible with versions >= 2.0. You can take a look here: https://github.com/named-data-ndnSIM/ndnSIM/tree/master-v1/plugins/ip-faces This code needs to be modified to be compatible with ndnSIM >= 2.0. We would be grateful if you could do the modifications and glad to push your code to the master branch, so that other people can use it! The UPD interface implementation should be (almost) ready: http://gerrit.named-data.net/#/c/1791/ It would be nice if you could update the code for the IP stack and the TCP interface. Thanks! Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Mar 21, 2016, at 2:44 PM, Hassan Sinky wrote: > > Let me ask this in a different way. Is it possible with ndnsim to accept data packets without interest packets? That is, what would be a reasonable way to implement a UDP equivalent with a single initial interest request and the acceptance of subsequent stream of data packets? > > Thanks! > > On Sun, Mar 20, 2016 at 2:21 AM, Hassan Sinky > wrote: > Thanks for your help. I went ahead and created the classes for this particular module. Since this is an ns3 module that is based on the UdpSocketFactory I am trying to rewrite it for ndnsim. I seem to be stuck on a minor detail. Since the module is based on UDP, a stream of packets is sent by the server based on a single initial request from the client. Is there an equivalent behavior within ndnsim? The reason I ask is because after modifying the module to work with ndnsim only the first data packet triggers the OnData function of the consumer. The producer continues to send the stream of data packets but they do not trigger the OnData function since naturally, after the initial request, there are no pending interests for the remaining data packets. In other words, is there a way to request maybe a range of sequence numbers or to accept data packets even if they have not been requested yet. > > Thanks again! > > On Thu, Mar 17, 2016 at 4:52 PM, Spyridon (Spyros) Mastorakis > wrote: > Hi, > > we do not officially support this module. However, a large number of NS3 modules can be treated as regular C++ classes and objects of those classes can be created. > > If this is the case, chances are that you might be able to use this module in your simulations. > > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ > Internet Research Laboratory > Computer Science Department > UCLA > > > > >> On Mar 17, 2016, at 4:05 PM, Hassan Sinky > wrote: >> >> Hello everyone, >> >> There is a very nice NS-3 module called EvalVid which allows for a video trace file to be sent and received in order to reproduce and simulate the quality of the receiving video stream in a particular environment. Can this or something similar be simulated within ndnsim? >> >> Any suggestions would be great. >> >> -Thanks >> _______________________________________________ >> ndnSIM mailing list >> ndnSIM at lists.cs.ucla.edu >> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lixia at CS.UCLA.EDU Mon Mar 21 22:03:26 2016 From: lixia at CS.UCLA.EDU (Lixia Zhang) Date: Mon, 21 Mar 2016 22:03:26 -0700 Subject: [ndnSIM] ndnsim and video trace files In-Reply-To: References: <4D21F566-BC7D-4160-A8EC-03597D3A742A@cs.ucla.edu> Message-ID: <5C7239A4-863A-49BA-A2B5-F07102299D74@cs.ucla.edu> > On Mar 21, 2016, at 2:44 PM, Hassan Sinky wrote: > > Let me ask this in a different way. Is it possible with ndnsim to accept data packets without interest packets? That is, what would be a reasonable way to implement a UDP equivalent with a single initial interest request and the acceptance of subsequent stream of data packets? I'm curious: wonder why you need to do the above. as you know, interest-data exchange is important in NDN, to keep hop-by-hop flow balance (see http://named-data.net/project/ndn-design-principles/ ) > > On Sun, Mar 20, 2016 at 2:21 AM, Hassan Sinky > wrote: > Thanks for your help. I went ahead and created the classes for this particular module. Since this is an ns3 module that is based on the UdpSocketFactory I am trying to rewrite it for ndnsim. I seem to be stuck on a minor detail. Since the module is based on UDP, a stream of packets is sent by the server based on a single initial request from the client. Is there an equivalent behavior within ndnsim? The reason I ask is because after modifying the module to work with ndnsim only the first data packet triggers the OnData function of the consumer. The producer continues to send the stream of data packets but they do not trigger the OnData function since naturally, after the initial request, there are no pending interests for the remaining data packets. In other words, is there a way to request maybe a range of sequence numbers or to accept data packets even if they have not been requested yet. > > Thanks again! > > On Thu, Mar 17, 2016 at 4:52 PM, Spyridon (Spyros) Mastorakis > wrote: > Hi, > > we do not officially support this module. However, a large number of NS3 modules can be treated as regular C++ classes and objects of those classes can be created. > > If this is the case, chances are that you might be able to use this module in your simulations. > > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ > Internet Research Laboratory > Computer Science Department > UCLA > > > > >> On Mar 17, 2016, at 4:05 PM, Hassan Sinky > wrote: >> >> Hello everyone, >> >> There is a very nice NS-3 module called EvalVid which allows for a video trace file to be sent and received in order to reproduce and simulate the quality of the receiving video stream in a particular environment. Can this or something similar be simulated within ndnsim? >> >> Any suggestions would be great. >> >> -Thanks >> _______________________________________________ >> ndnSIM mailing list >> ndnSIM at lists.cs.ucla.edu >> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- An HTML attachment was scrubbed... URL: From sinkyh at oregonstate.edu Mon Mar 21 22:25:59 2016 From: sinkyh at oregonstate.edu (Hassan Sinky) Date: Mon, 21 Mar 2016 22:25:59 -0700 Subject: [ndnSIM] ndnsim and video trace files In-Reply-To: <5C7239A4-863A-49BA-A2B5-F07102299D74@cs.ucla.edu> References: <4D21F566-BC7D-4160-A8EC-03597D3A742A@cs.ucla.edu> <5C7239A4-863A-49BA-A2B5-F07102299D74@cs.ucla.edu> Message-ID: Well the Evalvid module that I am trying to port takes, as input, a text representation of a video file which contains the video frame type, size and the time interval at which the frame should be sent. I may be overthinking this a little but implementing this in ndn would require the sending of the video frame packet upon an interest request which is not desirable for a time sensitive scenario such as video. I wanted the consumer to simply request the video file to be streamed once and to subsequently accept the video frame packets as they arrive at their scheduled intervals. Thanks. On Monday, March 21, 2016, Lixia Zhang wrote: > > On Mar 21, 2016, at 2:44 PM, Hassan Sinky > wrote: > > Let me ask this in a different way. Is it possible with ndnsim to accept > data packets without interest packets? That is, what would be a reasonable > way to implement a UDP equivalent with a single initial interest request > and the acceptance of subsequent stream of data packets? > > > I'm curious: wonder why you need to do the above. > as you know, interest-data exchange is important in NDN, to keep > hop-by-hop flow balance (see > http://named-data.net/project/ndn-design-principles/) > > > On Sun, Mar 20, 2016 at 2:21 AM, Hassan Sinky > wrote: > >> Thanks for your help. I went ahead and created the classes for this >> particular module. Since this is an ns3 module that is based on the >> UdpSocketFactory I am trying to rewrite it for ndnsim. I seem to be stuck >> on a minor detail. Since the module is based on UDP, a stream of packets is >> sent by the server based on a single initial request from the client. Is >> there an equivalent behavior within ndnsim? The reason I ask is because >> after modifying the module to work with ndnsim only the first data packet >> triggers the OnData function of the consumer. The producer continues to >> send the stream of data packets but they do not trigger the OnData function >> since naturally, after the initial request, there are no pending interests >> for the remaining data packets. In other words, is there a way to request >> maybe a range of sequence numbers or to accept data packets even if they >> have not been requested yet. >> >> Thanks again! >> >> On Thu, Mar 17, 2016 at 4:52 PM, Spyridon (Spyros) Mastorakis < >> mastorakis at cs.ucla.edu >> > wrote: >> >>> Hi, >>> >>> we do not officially support this module. However, a large number of NS3 >>> modules can be treated as regular C++ classes and objects of those classes >>> can be created. >>> >>> If this is the case, chances are that you might be able to use this >>> module in your simulations. >>> >>> Spyridon (Spyros) Mastorakis >>> Personal Website: http://cs.ucla.edu/~mastorakis/ >>> Internet Research Laboratory >>> Computer Science Department >>> UCLA >>> >>> >>> >>> >>> On Mar 17, 2016, at 4:05 PM, Hassan Sinky >> > wrote: >>> >>> Hello everyone, >>> >>> There is a very nice NS-3 module called EvalVid which allows for a video >>> trace file to be sent and received in order to reproduce and simulate the >>> quality of the receiving video stream in a particular environment. Can this >>> or something similar be simulated within ndnsim? >>> >>> Any suggestions would be great. >>> >>> -Thanks >>> _______________________________________________ >>> ndnSIM mailing list >>> ndnSIM at lists.cs.ucla.edu >>> >>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >>> >>> >>> >> > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lixia at CS.UCLA.EDU Mon Mar 21 22:38:54 2016 From: lixia at CS.UCLA.EDU (Lixia Zhang) Date: Mon, 21 Mar 2016 22:38:54 -0700 Subject: [ndnSIM] ndnsim and video trace files In-Reply-To: References: <4D21F566-BC7D-4160-A8EC-03597D3A742A@cs.ucla.edu> <5C7239A4-863A-49BA-A2B5-F07102299D74@cs.ucla.edu> Message-ID: > On Mar 21, 2016, at 10:25 PM, Hassan Sinky wrote: > > Well the Evalvid module that I am trying to port takes, as input, a text representation of a video file which contains the video frame type, size and the time interval at which the frame should be sent. I may be overthinking this a little but implementing this in ndn would require the sending of the video frame packet upon an interest request which is not desirable for a time sensitive scenario such as video. I wanted the consumer to simply request the video file to be streamed once and to subsequently accept the video frame packets as they arrive at their scheduled intervals. How would one do congestion control, if packets flow one-direction only? > On Monday, March 21, 2016, Lixia Zhang > wrote: > >> On Mar 21, 2016, at 2:44 PM, Hassan Sinky > wrote: >> >> Let me ask this in a different way. Is it possible with ndnsim to accept data packets without interest packets? That is, what would be a reasonable way to implement a UDP equivalent with a single initial interest request and the acceptance of subsequent stream of data packets? > > I'm curious: wonder why you need to do the above. > as you know, interest-data exchange is important in NDN, to keep hop-by-hop flow balance (see http://named-data.net/project/ndn-design-principles/ ) > >> >> On Sun, Mar 20, 2016 at 2:21 AM, Hassan Sinky > wrote: >> Thanks for your help. I went ahead and created the classes for this particular module. Since this is an ns3 module that is based on the UdpSocketFactory I am trying to rewrite it for ndnsim. I seem to be stuck on a minor detail. Since the module is based on UDP, a stream of packets is sent by the server based on a single initial request from the client. Is there an equivalent behavior within ndnsim? The reason I ask is because after modifying the module to work with ndnsim only the first data packet triggers the OnData function of the consumer. The producer continues to send the stream of data packets but they do not trigger the OnData function since naturally, after the initial request, there are no pending interests for the remaining data packets. In other words, is there a way to request maybe a range of sequence numbers or to accept data packets even if they have not been requested yet. >> >> Thanks again! >> >> On Thu, Mar 17, 2016 at 4:52 PM, Spyridon (Spyros) Mastorakis > wrote: >> Hi, >> >> we do not officially support this module. However, a large number of NS3 modules can be treated as regular C++ classes and objects of those classes can be created. >> >> If this is the case, chances are that you might be able to use this module in your simulations. >> >> Spyridon (Spyros) Mastorakis >> Personal Website: http://cs.ucla.edu/~mastorakis/ >> Internet Research Laboratory >> Computer Science Department >> UCLA >> >> >> >> >>> On Mar 17, 2016, at 4:05 PM, Hassan Sinky > wrote: >>> >>> Hello everyone, >>> >>> There is a very nice NS-3 module called EvalVid which allows for a video trace file to be sent and received in order to reproduce and simulate the quality of the receiving video stream in a particular environment. Can this or something similar be simulated within ndnsim? >>> >>> Any suggestions would be great. >>> >>> -Thanks >>> _______________________________________________ >>> ndnSIM mailing list >>> ndnSIM at lists.cs.ucla.edu >>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >> >> >> >> _______________________________________________ >> ndnSIM mailing list >> ndnSIM at lists.cs.ucla.edu >> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sinkyh at oregonstate.edu Mon Mar 21 22:46:49 2016 From: sinkyh at oregonstate.edu (Hassan Sinky) Date: Mon, 21 Mar 2016 22:46:49 -0700 Subject: [ndnSIM] ndnsim and video trace files In-Reply-To: References: <4D21F566-BC7D-4160-A8EC-03597D3A742A@cs.ucla.edu> <5C7239A4-863A-49BA-A2B5-F07102299D74@cs.ucla.edu> Message-ID: Evalvid is based on the UDP transport protocol which traditionally does not have flow control. On Monday, March 21, 2016, Lixia Zhang wrote: > > On Mar 21, 2016, at 10:25 PM, Hassan Sinky > wrote: > > Well the Evalvid module that I am trying to port takes, as input, a text > representation of a video file which contains the video frame > type, size and the time interval at which the frame should be sent. I may > be overthinking this a little but implementing this in ndn would require > the sending of the video frame packet upon an interest request which is not > desirable for a time sensitive scenario such as video. I wanted the > consumer to simply request the video file to be streamed once and to > subsequently accept the video frame packets as they arrive at their > scheduled intervals. > > > How would one do congestion control, if packets flow one-direction only? > > > On Monday, March 21, 2016, Lixia Zhang > wrote: > >> >> On Mar 21, 2016, at 2:44 PM, Hassan Sinky wrote: >> >> Let me ask this in a different way. Is it possible with ndnsim to accept >> data packets without interest packets? That is, what would be a reasonable >> way to implement a UDP equivalent with a single initial interest request >> and the acceptance of subsequent stream of data packets? >> >> >> I'm curious: wonder why you need to do the above. >> as you know, interest-data exchange is important in NDN, to keep >> hop-by-hop flow balance (see >> http://named-data.net/project/ndn-design-principles/) >> >> >> On Sun, Mar 20, 2016 at 2:21 AM, Hassan Sinky >> wrote: >> >>> Thanks for your help. I went ahead and created the classes for this >>> particular module. Since this is an ns3 module that is based on the >>> UdpSocketFactory I am trying to rewrite it for ndnsim. I seem to be stuck >>> on a minor detail. Since the module is based on UDP, a stream of packets is >>> sent by the server based on a single initial request from the client. Is >>> there an equivalent behavior within ndnsim? The reason I ask is because >>> after modifying the module to work with ndnsim only the first data packet >>> triggers the OnData function of the consumer. The producer continues to >>> send the stream of data packets but they do not trigger the OnData function >>> since naturally, after the initial request, there are no pending interests >>> for the remaining data packets. In other words, is there a way to request >>> maybe a range of sequence numbers or to accept data packets even if they >>> have not been requested yet. >>> >>> Thanks again! >>> >>> On Thu, Mar 17, 2016 at 4:52 PM, Spyridon (Spyros) Mastorakis < >>> mastorakis at cs.ucla.edu> wrote: >>> >>>> Hi, >>>> >>>> we do not officially support this module. However, a large number of >>>> NS3 modules can be treated as regular C++ classes and objects of those >>>> classes can be created. >>>> >>>> If this is the case, chances are that you might be able to use this >>>> module in your simulations. >>>> >>>> Spyridon (Spyros) Mastorakis >>>> Personal Website: http://cs.ucla.edu/~mastorakis/ >>>> Internet Research Laboratory >>>> Computer Science Department >>>> UCLA >>>> >>>> >>>> >>>> >>>> On Mar 17, 2016, at 4:05 PM, Hassan Sinky >>>> wrote: >>>> >>>> Hello everyone, >>>> >>>> There is a very nice NS-3 module called EvalVid which allows for a >>>> video trace file to be sent and received in order to reproduce and simulate >>>> the quality of the receiving video stream in a particular environment. Can >>>> this or something similar be simulated within ndnsim? >>>> >>>> Any suggestions would be great. >>>> >>>> -Thanks >>>> _______________________________________________ >>>> ndnSIM mailing list >>>> ndnSIM at lists.cs.ucla.edu >>>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >>>> >>>> >>>> >>> >> _______________________________________________ >> ndnSIM mailing list >> ndnSIM at lists.cs.ucla.edu >> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From chavoosh.ghasemi.off at gmail.com Tue Mar 22 02:45:08 2016 From: chavoosh.ghasemi.off at gmail.com (chavoosh ghasemi) Date: Tue, 22 Mar 2016 13:15:08 +0330 Subject: [ndnSIM] Visualizer does not work Message-ID: Hi everybody, I've got a weird problem which need your help with it. Actually, my visualizer in ndnSIM had been working fine till a couple days ago, but now it does not work. For instance, when I run below example: ./waf --run=ndn-simple --vis ndnSIM just compile and run it and no window will open to visualize it. Now I'm wondering how to solve this problem. P.S. I've tried all necessary commands, and checked my dependencies and want to make you sure this problem has not its root in them. Best *Chavoosh* -- *Chavoosh Ghasemi* Master of Information Technology - Computer Networks Sharif University of Technology (SUT) - Computer Engineering Department *Address: Department of Computer Engineering,* * Sharif University of Tech, Tehran, Iran* *"The quieter you become, the more you can hear"* -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Wed Mar 23 11:25:24 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Wed, 23 Mar 2016 11:25:24 -0700 Subject: [ndnSIM] Flow control and congestion control in ndnsim In-Reply-To: References: Message-ID: Hi Ahmed, this is a quite open-ended question about the NDN architecture in general. Currently, there is no way to perform congestion control in NDN. To this end, there is no standardized mechanism for that supported in ndnSIM. There is some ongoing work from Klaus Schneider from Arizona (cc?d). Hope we will have results soon. Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Mar 21, 2016, at 3:44 AM, Ahmed Sadek wrote: > > Dear All, > > I was wondering if someone can point me to information on the Flow Control and Congestion Control mechanism used in ndnsim and is it the same as in NDN ? > > Also, if the client keep sending interests on different interfaces and not receive response then what is the expected behavior ? > > Thanks! > Ahmed > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lixia at CS.UCLA.EDU Wed Mar 23 11:59:10 2016 From: lixia at CS.UCLA.EDU (Lixia Zhang) Date: Wed, 23 Mar 2016 11:59:10 -0700 Subject: [ndnSIM] Flow control and congestion control in ndnsim In-Reply-To: References: Message-ID: <9F37EC85-ED15-4A23-8E78-4698E1847ADC@cs.ucla.edu> > On Mar 23, 2016, at 11:25 AM, Spyridon (Spyros) Mastorakis wrote: > > Hi Ahmed, > > this is a quite open-ended question about the NDN architecture in general. Currently, there is no way to perform congestion control in NDN. this seems some English expression issue -- there are plenty of ways to perform congestion control (e.g. see some ideas from this paper http://named-data.net/wp-content/uploads/comcom-stateful-forwarding.pdf ) I believe Spyros meant that today's NFD implementation has not adopted any specific solutions, hence he has not put a congestion control into ndnSIM. Klaus Schneider is working on CC as Spyros already mentioned; a quick google search on "ndn congestion control" also returns lots pointers to the papers on the topic to the original question: >> On Mar 21, 2016, at 3:44 AM, Ahmed Sadek > wrote: >> >> Dear All, >> >> I was wondering if someone can point me to information on the Flow Control and Congestion Control mechanism used in ndnsim and is it the same as in NDN ? >> >> Also, if the client keep sending interests on different interfaces and not receive response then what is the expected behavior ? the question is: what's the cause, right? e.g. - if the node is not connected, that's a connect problem - if there is local connectivity but the network is partitioned, that's a slightly different problem - if the interest the data does not exist, ideally one should receive an app level NACK as explained in http://named-data.net/wp-content/uploads/2016/01/consumer_producer_communication.pdf - if the named producer does not exists, then it is up to how your strategy works (could generate a "NO ROUTE" NACK) -------------- next part -------------- An HTML attachment was scrubbed... URL: From sinkyh at oregonstate.edu Wed Mar 23 14:15:27 2016 From: sinkyh at oregonstate.edu (Hassan Sinky) Date: Wed, 23 Mar 2016 14:15:27 -0700 Subject: [ndnSIM] ndnsim and video trace files In-Reply-To: <000201d18444$1d8f7b00$58ae7100$@mail.sbu.ac.ir> References: <4D21F566-BC7D-4160-A8EC-03597D3A742A@cs.ucla.edu> <5C7239A4-863A-49BA-A2B5-F07102299D74@cs.ucla.edu> <000201d18444$1d8f7b00$58ae7100$@mail.sbu.ac.ir> Message-ID: Great suggestions Sabet! Thanks. On Tue, Mar 22, 2016 at 7:07 AM, Muhammad Hosain Abdullahi Sabet < m.abdollahisabet at mail.sbu.ac.ir> wrote: > Hi Hassan, > > > > Not having flow control is kind of not accepted in NDN. There must be an > interest in advance for each piece of data, including different pieces of > big contents like video files. Consequently, every data packet traversing > through network follows the trace of one corresponding interest. Maybe you > could pass mentioned text representation of video files by *Manifest*. > But again firstly, there should be an interest for that manifest. Secondly, > processing the manifest consumer can send interests for pieces(frames) of > the video file. > > > > Thanks, > > Sabet > > > > ---------- Forwarded message ---------- > From: "Hassan Sinky" > Date: 22 Mar 2016 10:21 > Subject: Re: [ndnSIM] ndnsim and video trace files > To: "Lixia Zhang" > Cc: "ndnsim at lists.cs.ucla.edu" > > Evalvid is based on the UDP transport protocol which traditionally does > not have flow control. > > On Monday, March 21, 2016, Lixia Zhang wrote: > > > > On Mar 21, 2016, at 10:25 PM, Hassan Sinky wrote: > > > > Well the Evalvid module that I am trying to port takes, as input, a text > representation of a video file which contains the video frame > type, size and the time interval at which the frame should be sent. I may > be overthinking this a little but implementing this in ndn would require > the sending of the video frame packet upon an interest request which is not > desirable for a time sensitive scenario such as video. I wanted the > consumer to simply request the video file to be streamed once and to > subsequently accept the video frame packets as they arrive at their > scheduled intervals. > > > > How would one do congestion control, if packets flow one-direction only? > > > > > > On Monday, March 21, 2016, Lixia Zhang wrote: > > > > On Mar 21, 2016, at 2:44 PM, Hassan Sinky wrote: > > > > Let me ask this in a different way. Is it possible with ndnsim to accept > data packets without interest packets? That is, what would be a reasonable > way to implement a UDP equivalent with a single initial interest request > and the acceptance of subsequent stream of data packets? > > > > I'm curious: wonder why you need to do the above. > > as you know, interest-data exchange is important in NDN, to keep > hop-by-hop flow balance (see > http://named-data.net/project/ndn-design-principles/) > > > > > > On Sun, Mar 20, 2016 at 2:21 AM, Hassan Sinky > wrote: > > Thanks for your help. I went ahead and created the classes for this > particular module. Since this is an ns3 module that is based on the > UdpSocketFactory I am trying to rewrite it for ndnsim. I seem to be stuck > on a minor detail. Since the module is based on UDP, a stream of packets is > sent by the server based on a single initial request from the client. Is > there an equivalent behavior within ndnsim? The reason I ask is because > after modifying the module to work with ndnsim only the first data packet > triggers the OnData function of the consumer. The producer continues to > send the stream of data packets but they do not trigger the OnData function > since naturally, after the initial request, there are no pending interests > for the remaining data packets. In other words, is there a way to request > maybe a range of sequence numbers or to accept data packets even if they > have not been requested yet. > > > > Thanks again! > > > > On Thu, Mar 17, 2016 at 4:52 PM, Spyridon (Spyros) Mastorakis < > mastorakis at cs.ucla.edu> wrote: > > Hi, > > > > we do not officially support this module. However, a large number of NS3 > modules can be treated as regular C++ classes and objects of those classes > can be created. > > > > If this is the case, chances are that you might be able to use this module > in your simulations. > > > > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ > Internet Research Laboratory > Computer Science Department > UCLA > > > > > > > > > > On Mar 17, 2016, at 4:05 PM, Hassan Sinky wrote: > > > > Hello everyone, > > > > There is a very nice NS-3 module called EvalVid which allows for a video > trace file to be sent and received in order to reproduce and simulate the > quality of the receiving video stream in a particular environment. Can this > or something similar be simulated within ndnsim? > > > > Any suggestions would be great. > > > > -Thanks > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > > > > > > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > > > > > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > > 0 > viruses found. www.avast.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From don1559 at gmail.com Thu Mar 24 03:32:08 2016 From: don1559 at gmail.com (Ahmed Sadek) Date: Thu, 24 Mar 2016 11:32:08 +0100 Subject: [ndnSIM] Flow control and congestion control in ndnsim In-Reply-To: <9F37EC85-ED15-4A23-8E78-4698E1847ADC@cs.ucla.edu> References: <9F37EC85-ED15-4A23-8E78-4698E1847ADC@cs.ucla.edu> Message-ID: Thank you all for your replies, I really appreciate it. I have googled and found some papers but was interested to find out if there was implementation for those ideas in NDN or ndnSIM. Another question, NDN is pull based so flow control is controlled by the receiver but what will happen if the link between source and destination change bandwidth capacity (2 mega -> 1 mega ) or have data more than it's capacity (3 mega data request over 2 mega link ) , does data packets gets dropped and interest re transmitted ? so what is the expected behavior in NDN and ndnSIM ? Thanks! Ahmed On Wed, Mar 23, 2016 at 7:59 PM, Lixia Zhang wrote: > > On Mar 23, 2016, at 11:25 AM, Spyridon (Spyros) Mastorakis < > mastorakis at CS.UCLA.EDU > wrote: > > Hi Ahmed, > > this is a quite open-ended question about the NDN architecture in general. > Currently, there is no way to perform congestion control in NDN. > > > this seems some English expression issue -- there are plenty of ways to > perform congestion control (e.g. see some ideas from this paper > http://named-data.net/wp-content/uploads/comcom-stateful-forwarding.pdf) > > I believe Spyros meant that today's NFD implementation has not adopted any > specific solutions, hence he has not put a congestion control into ndnSIM. > > Klaus Schneider is working on CC as Spyros already mentioned; a quick > google search on "ndn congestion control" also returns lots pointers to the > papers on the topic > > to the original question: > > On Mar 21, 2016, at 3:44 AM, Ahmed Sadek wrote: > > Dear All, > > I was wondering if someone can point me to information on the *Flow > Control and Congestion Control* *mechanism *used in ndnsim and is it the > same as in NDN ? > > Also, if the client keep sending interests on different interfaces and not > receive response then what is the expected behavior ? > > > the question is: what's the cause, right? > e.g. > - if the node is not connected, that's a connect problem > - if there is local connectivity but the network is partitioned, that's a > slightly different problem > - if the interest the data does not exist, ideally one should receive an > app level NACK as explained in > http://named-data.net/wp-content/uploads/2016/01/consumer_producer_communication.pdf > > - if the named producer does not exists, then it is up to how your > strategy works (could generate a "NO ROUTE" NACK) > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lixia at CS.UCLA.EDU Thu Mar 24 06:43:38 2016 From: lixia at CS.UCLA.EDU (Lixia Zhang) Date: Thu, 24 Mar 2016 06:43:38 -0700 Subject: [ndnSIM] Flow control and congestion control in ndnsim In-Reply-To: References: <9F37EC85-ED15-4A23-8E78-4698E1847ADC@cs.ucla.edu> Message-ID: > On Mar 24, 2016, at 3:32 AM, Ahmed Sadek wrote: > > Thank you all for your replies, I really appreciate it. > > I have googled and found some papers but was interested to find out if there was implementation for those ideas in NDN or ndnSIM. no. but people can help implement in ndnSIM > Another question, NDN is pull based so flow control is controlled by the receiver but what will happen if the link between source and destination change bandwidth capacity (2 mega -> 1 mega ) or have data more than it's capacity (3 mega data request over 2 mega link ) , does data packets gets dropped and interest re transmitted ? so what is the expected behavior in NDN and ndnSIM ? "the expected behavior in NDN and ndnSIM" sounds a bit ambiguous. Lets separate out what can be done from what has been implemented. NDN's 2-way interest-data exchanges form a feedback loop, enabling intelligent forwarding. in your above example: the router knows how fast it can pull in data before the BW change, and can notice the failure after the change. The router can try alternative path if one exists, or send a NACK back to the prev hop (wonder if you had taken a look of the paper I pointed to below? paper http://named-data.net/wp-content/uploads/comcom-stateful-forwarding.pdf ) > On Wed, Mar 23, 2016 at 7:59 PM, Lixia Zhang > wrote: > >> On Mar 23, 2016, at 11:25 AM, Spyridon (Spyros) Mastorakis > wrote: >> >> Hi Ahmed, >> >> this is a quite open-ended question about the NDN architecture in general. Currently, there is no way to perform congestion control in NDN. > > this seems some English expression issue -- there are plenty of ways to perform congestion control (e.g. see some ideas from this paper http://named-data.net/wp-content/uploads/comcom-stateful-forwarding.pdf ) > > I believe Spyros meant that today's NFD implementation has not adopted any specific solutions, hence he has not put a congestion control into ndnSIM. > > Klaus Schneider is working on CC as Spyros already mentioned; a quick google search on "ndn congestion control" also returns lots pointers to the papers on the topic > > to the original question: > >>> On Mar 21, 2016, at 3:44 AM, Ahmed Sadek > wrote: >>> >>> Dear All, >>> >>> I was wondering if someone can point me to information on the Flow Control and Congestion Control mechanism used in ndnsim and is it the same as in NDN ? >>> >>> Also, if the client keep sending interests on different interfaces and not receive response then what is the expected behavior ? > > the question is: what's the cause, right? > e.g. > - if the node is not connected, that's a connect problem > - if there is local connectivity but the network is partitioned, that's a slightly different problem > - if the interest the data does not exist, ideally one should receive an app level NACK as explained in http://named-data.net/wp-content/uploads/2016/01/consumer_producer_communication.pdf > - if the named producer does not exists, then it is up to how your strategy works (could generate a "NO ROUTE" NACK) > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From youngroger64 at gmail.com Tue Mar 22 08:56:22 2016 From: youngroger64 at gmail.com (roger) Date: Tue, 22 Mar 2016 15:56:22 +0000 Subject: [ndnSIM] Save Packet arrival times Message-ID: <1458662182.6748.0@smtp.gmail.com> Hi, I have a scenario with two producers and multiple consumers. I would like to save the arrival times of data received to the consumers to a file. Or if possible save the arrival times of data on all nodes. Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: From youngroger64 at gmail.com Thu Mar 24 07:34:10 2016 From: youngroger64 at gmail.com (roger) Date: Thu, 24 Mar 2016 14:34:10 +0000 Subject: [ndnSIM] Arrival times Message-ID: <1458830050.3092.0@smtp.gmail.com> Hi, I have a scenario with multiple consumers. I am looking to capture the packet arrival times on the consumers and save them to a file.. how do i go about this, thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Thu Mar 24 22:53:22 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Thu, 24 Mar 2016 22:53:22 -0700 Subject: [ndnSIM] Content Discovery In-Reply-To: References: Message-ID: <5BB8947B-E1C1-4E51-A466-5AEBDB274E79@cs.ucla.edu> Hi, some trivial changes off the top of my head are to add some get and set methods for the new fields (and define the new fields as well). These changes should be made here (and to the corresponding header files): https://github.com/named-data-ndnSIM/ndn-cxx/blob/ndn-cxx-0.3.4-ndnSIM/src/interest.cpp https://github.com/named-data-ndnSIM/ndn-cxx/blob/ndn-cxx-0.3.4-ndnSIM/src/data.cpp You would also need to modify the wireEncode and wireDecode methods of the Interest and Data class (files mentioned above) to encode and decode the new fields to/from wire format. When you are done with these changes, you should be able to use the new fields in your applications. You just need to get and set the fields in the way that your approach works (e.g., when you express an Interest in your consumer application set the new field of the interest packet, when you receive an Interest in your producer application read the new field of this packet and add the appropriate field to the data packet etc..). Please let me know if you need any additional information. Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Mar 19, 2016, at 9:49 PM, Shahid Md. Asif Iqbal wrote: > > Dear All, > I would like to try an idea where the consumers first try to > discover the available content providers, then get the content > from one of the providers sending the actual request packets. > Here is my thoughts: > > I have added one field to the interest packet to indicate the > type of the interest : discover or request > > I have added one field to the data packet to indicate the type > of the data packet : content-offer or content-real > content-offer is same as content-real except the content field is empty. > > Now, please help me to identify what other things do I need to do to make my changes work especially in the consumer and producer files. > > Thanking in advance > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Thu Mar 24 23:01:56 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Thu, 24 Mar 2016 23:01:56 -0700 Subject: [ndnSIM] Content Discovery In-Reply-To: <5BB8947B-E1C1-4E51-A466-5AEBDB274E79@cs.ucla.edu> References: <5BB8947B-E1C1-4E51-A466-5AEBDB274E79@cs.ucla.edu> Message-ID: <2081A05C-2C87-4D47-AE79-21CE8099D24C@cs.ucla.edu> Just a follow-up on this one: Another way that probably would be simpler is to add your new fields to the name of the Interest and Data packet as new name components. Then, you can handle those components in your application using the API of the Name class provided by the ndn-cxx library: https://github.com/named-data-ndnSIM/ndn-cxx/blob/ndn-cxx-0.3.4-ndnSIM/src/name.hpp Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Mar 24, 2016, at 10:53 PM, Spyridon (Spyros) Mastorakis wrote: > > Hi, > > some trivial changes off the top of my head are to add some get and set methods for the new fields (and define the new fields as well). These changes should be made here (and to the corresponding header files): > > https://github.com/named-data-ndnSIM/ndn-cxx/blob/ndn-cxx-0.3.4-ndnSIM/src/interest.cpp > https://github.com/named-data-ndnSIM/ndn-cxx/blob/ndn-cxx-0.3.4-ndnSIM/src/data.cpp > > You would also need to modify the wireEncode and wireDecode methods of the Interest and Data class (files mentioned above) to encode and decode the new fields to/from wire format. > > When you are done with these changes, you should be able to use the new fields in your applications. You just need to get and set the fields in the way that your approach works (e.g., when you express an Interest in your consumer application set the new field of the interest packet, when you receive an Interest in your producer application read the new field of this packet and add the appropriate field to the data packet etc..). > > Please let me know if you need any additional information. > > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ > Internet Research Laboratory > Computer Science Department > UCLA > > >> On Mar 19, 2016, at 9:49 PM, Shahid Md. Asif Iqbal > wrote: >> >> Dear All, >> I would like to try an idea where the consumers first try to >> discover the available content providers, then get the content >> from one of the providers sending the actual request packets. >> Here is my thoughts: >> >> I have added one field to the interest packet to indicate the >> type of the interest : discover or request >> >> I have added one field to the data packet to indicate the type >> of the data packet : content-offer or content-real >> content-offer is same as content-real except the content field is empty. >> >> Now, please help me to identify what other things do I need to do to make my changes work especially in the consumer and producer files. >> >> Thanking in advance >> > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- An HTML attachment was scrubbed... URL: From art_med_ahmed at yahoo.fr Fri Mar 25 04:41:36 2016 From: art_med_ahmed at yahoo.fr (Mohamed Benahmed) Date: Fri, 25 Mar 2016 11:41:36 +0000 (UTC) Subject: [ndnSIM] Graph "Car2car" References: <1894658724.248758.1458906096973.JavaMail.yahoo.ref@mail.yahoo.com> Message-ID: <1894658724.248758.1458906096973.JavaMail.yahoo@mail.yahoo.com> hello, I have to show the graph of simulation "car2car"(link of code source https://github.com/cawka/ndnSIM-nom-rapid-car2car) but when I run the cmd ./run.py -s figure-4-data-propagation-vs-distance I have this error _____________________________________________ .......... ./build/car-relay --run=5 --distance=155 ./build/car-relay --run=6 --distance=155 ./build/car-relay --run=7 --distance=155 ./build/car-relay --run=8 --distance=155 ./build/car-relay --run=9 --distance=155 ./build/car-relay --run=10 --distance=155 Warning message: closing unused connection 3 (results/figure-4-data-propagation-vs-distance/car-relay-in-cache.txt.bz2) Warning message: `axis.ticks.margin` is deprecated. Please set `margin` property? of `axis.text` instead Error in FUN(X[[i]], ...) : ? Theme element 'text' has NULL property: margin, debug Calls: ... element_render -> calc_element -> lapply -> FUN -> lapply -> FUN Execution halted --------------------------------------------------- so, i don't know how to solve it! Please help me! -------------- next part -------------- An HTML attachment was scrubbed... URL: From chavoosh.ghasemi.off at gmail.com Fri Mar 25 05:03:54 2016 From: chavoosh.ghasemi.off at gmail.com (chavoosh ghasemi) Date: Fri, 25 Mar 2016 15:33:54 +0330 Subject: [ndnSIM] Arrival times In-Reply-To: <1458830050.3092.0@smtp.gmail.com> References: <1458830050.3092.0@smtp.gmail.com> Message-ID: Hi Roger, You can simply use NS_LOG and print all information you want. For instance, assume you're using "ndn-consumer.cc" and "ndn-producer.cc", which are predefined files under this directory: "src/ndnSIM/apps", as applications in your scenario. After assigning *consumer* application to you nodes, and perhaps *producer* application to some other of them, you can type below command in the bash and run it: NS_LOG=ndn.Consumer:ndn.Producer ./waf --run [*name of your file*] Now, you'll see that there are a lot of information printed on your screen which one of is packet arrival. Here number of your nodes and their topology is not important, at all. So, for any similar purpose you can simply use NS_LOG environment variable and print any kind of information on the screen. Anyway, if you wanted to save printed lines, you can easily use below command (according to above example): NS_LOG=ndn.Consumer ./waf --run [*name of your file*] > test.txt which will save all printed lines in *test.txt* file. Good luck On Thu, Mar 24, 2016 at 6:04 PM, roger wrote: > Hi, I have a scenario with multiple consumers. I am looking to capture the > packet arrival times on the consumers and save them to a file.. how do i go > about this, thank you. > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > -- *Chavoosh Ghasemi* Master of Information Technology - Computer Networks Sharif University of Technology (SUT) - Computer Engineering Department *Address: Department of Computer Engineering,* * Sharif University of Tech, Tehran, Iran* *"The quieter you become, the more you can hear"* -------------- next part -------------- An HTML attachment was scrubbed... URL: From sinkyh at oregonstate.edu Fri Mar 25 18:15:42 2016 From: sinkyh at oregonstate.edu (Hassan Sinky) Date: Fri, 25 Mar 2016 18:15:42 -0700 Subject: [ndnSIM] Wifi and p2p links on a single node. Message-ID: Hello everyone, I have the following topology:[image: Inline image 2] "Node51" and "Node52" are connected via WiFi. Whereas "Node51" and "Node50" are connected via a p2p link. "Node50" is the producer. For some reason when node "Node52" requests data from the producer "Node50" does not respond. However, if I make "Node51" the producer the content is delivered without issue. Does ndnsim not support this particular multihop scenario? If so, is there a workaround to this as it seems like a very basic and practical scenario for NDN. Any help would be greatly appreciated. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 27854 bytes Desc: not available URL: From sinkyh at oregonstate.edu Fri Mar 25 19:34:21 2016 From: sinkyh at oregonstate.edu (Hassan Sinky) Date: Fri, 25 Mar 2016 19:34:21 -0700 Subject: [ndnSIM] Wifi and p2p links on a single node. In-Reply-To: References: Message-ID: Actually I'd like to revise my previous message. This topology works fine, however, the only issue is if I add a WiFi net device to "Node50" for when "Node52" associates with "Node50" data should be delivered to "Node52" via WiFi. Is this possible? On Fri, Mar 25, 2016 at 6:15 PM, Hassan Sinky wrote: > Hello everyone, > > I have the following topology:[image: Inline image 2] > "Node51" and "Node52" are connected via WiFi. Whereas "Node51" and > "Node50" are connected via a p2p link. "Node50" is the producer. For some > reason when node "Node52" requests data from the producer "Node50" does not > respond. However, if I make "Node51" the producer the content is delivered > without issue. Does ndnsim not support this particular multihop scenario? > If so, is there a workaround to this as it seems like a very basic and > practical scenario for NDN. Any help would be greatly appreciated. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 27854 bytes Desc: not available URL: From asifcsep at gmail.com Fri Mar 25 22:14:21 2016 From: asifcsep at gmail.com (Shahid Md. Asif Iqbal) Date: Sat, 26 Mar 2016 11:14:21 +0600 Subject: [ndnSIM] Content Discovery In-Reply-To: <2081A05C-2C87-4D47-AE79-21CE8099D24C@cs.ucla.edu> References: <5BB8947B-E1C1-4E51-A466-5AEBDB274E79@cs.ucla.edu> <2081A05C-2C87-4D47-AE79-21CE8099D24C@cs.ucla.edu> Message-ID: Dear Spyridon, Many thanks for both the options. Though, I mentioned about the first option in my last mail but later I did something that exactly matches with your second solution. It is worthy to mention that I pick this idea from one of your early solutions for me on some other topics. However, I am having problem with how to start the retransmission timer for an interest packet since each interest packet is sent twice now. To be exact, an interest packet(DISCOVER) for seq1 is first broadcasted to discover available producers or content routers having the the data for seq1. Once the available options are discovered then the interest packet (REQUEST) is unicasted to the best producer or router. Thus, I need (i) some advice on how can I manage the sequencing and retransmission timeouts in the consumer file (ii) how to update the fib/pit while the DISCOVER packet is coming back on the reverse path. Thanks in advance Asif On Fri, Mar 25, 2016 at 12:01 PM, Spyridon (Spyros) Mastorakis < mastorakis at cs.ucla.edu> wrote: > Just a follow-up on this one: > > Another way that probably would be simpler is to add your new fields to > the name of the Interest and Data packet as new name components. Then, you > can handle those components in your application using the API of the Name > class provided by the ndn-cxx library: > > > https://github.com/named-data-ndnSIM/ndn-cxx/blob/ndn-cxx-0.3.4-ndnSIM/src/name.hpp > > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ > Internet Research Laboratory > Computer Science Department > UCLA > > > > > On Mar 24, 2016, at 10:53 PM, Spyridon (Spyros) Mastorakis < > mastorakis at CS.UCLA.EDU > wrote: > > Hi, > > some trivial changes off the top of my head are to add some get and set > methods for the new fields (and define the new fields as well). These > changes should be made here (and to the corresponding header files): > > > https://github.com/named-data-ndnSIM/ndn-cxx/blob/ndn-cxx-0.3.4-ndnSIM/src/interest.cpp > > https://github.com/named-data-ndnSIM/ndn-cxx/blob/ndn-cxx-0.3.4-ndnSIM/src/data.cpp > > You would also need to modify the wireEncode and wireDecode methods of the > Interest and Data class (files mentioned above) to encode and decode the > new fields to/from wire format. > > When you are done with these changes, you should be able to use the new > fields in your applications. You just need to get and set the fields in the > way that your approach works (e.g., when you express an Interest in your > consumer application set the new field of the interest packet, when you > receive an Interest in your producer application read the new field of this > packet and add the appropriate field to the data packet etc..). > > Please let me know if you need any additional information. > > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ > Internet Research Laboratory > Computer Science Department > UCLA > > > On Mar 19, 2016, at 9:49 PM, Shahid Md. Asif Iqbal > wrote: > > Dear All, > > I would like to try an idea where the consumers first try to > discover the available content providers, then get the content > from one of the providers sending the actual request packets. > > Here is my thoughts: > > I have added one field to the interest packet to indicate the > type of the interest : discover or request > > I have added one field to the data packet to indicate the type > > of the data packet : content-offer or content-real > > content-offer is same as content-real except the content field is empty. > > Now, please help me to identify what other things do I need to do to make > my changes work especially in the consumer and producer files. > > Thanking in advance > > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From M.AbdollahiSabet at mail.sbu.ac.ir Fri Mar 25 22:20:50 2016 From: M.AbdollahiSabet at mail.sbu.ac.ir (Muhammad Hosain Abdollahi Sabet) Date: Sat, 26 Mar 2016 09:50:50 +0430 Subject: [ndnSIM] Wifi and p2p links on a single node. References: Message-ID: <4AC03A6244C3C34BB52A7EC60B799C4C03CC2A08@m-pdc.sbu.ac.ir> Hi Hassan, I don't see why it's not possible. If Node50 receives interest on wifi face(WifiNetDevice), it can answer regardless of knowing who has requested on that face. Thanks, Sabet ---------- Forwarded message ---------- From: Hassan Sinky Date: Sat, Mar 26, 2016 at 7:04 AM Subject: Re: [ndnSIM] Wifi and p2p links on a single node. To: ndnsim at lists.cs.ucla.edu Actually I'd like to revise my previous message. This topology works fine, however, the only issue is if I add a WiFi net device to "Node50" for when "Node52" associates with "Node50" data should be delivered to "Node52" via WiFi. Is this possible? On Fri, Mar 25, 2016 at 6:15 PM, Hassan Sinky wrote: Hello everyone, I have the following topology: Inline image 2 "Node51" and "Node52" are connected via WiFi. Whereas "Node51" and "Node50" are connected via a p2p link. "Node50" is the producer. For some reason when node "Node52" requests data from the producer "Node50" does not respond. However, if I make "Node51" the producer the content is delivered without issue. Does ndnsim not support this particular multihop scenario? If so, is there a workaround to this as it seems like a very basic and practical scenario for NDN. Any help would be greatly appreciated. _______________________________________________ ndnSIM mailing list ndnSIM at lists.cs.ucla.edu http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 27854 bytes Desc: image.png URL: From asifcsep at gmail.com Sat Mar 26 09:08:38 2016 From: asifcsep at gmail.com (Shahid Md. Asif Iqbal) Date: Sat, 26 Mar 2016 22:08:38 +0600 Subject: [ndnSIM] Explanation of trace file Message-ID: Dear All, Can anyone please explain the rate-trace file for me? Especially the meaning of internal, netDeviceFace://, ndnface://24, appface:// and how are these face relating each others.And, also how are these faces having face id like 257, 258..... Time Node FaceId FaceDescr Type Packets Kilobytes PacketRaw KilobytesRaw 1 24 1 internal:// InInterests 0 0 0 0 1 24 1 internal:// OutInterests 0 0 0 0 1 24 1 internal:// InData 0 0 0 0 1 24 1 internal:// OutData 0 0 0 0 1 24 1 internal:// InSatisfiedInterests 0 0 0 0 1 24 1 internal:// InTimedOutInterests 0 0 0 0 1 24 1 internal:// OutSatisfiedInterests 1.6 0 2 0 1 24 1 internal:// OutTimedOutInterests 0 0 0 0 1 24 257 netDeviceFace:// InInterests 8 0.25 10 0.3125 1 24 257 netDeviceFace:// OutInterests 0 0 0 0 1 24 257 netDeviceFace:// InData 0 0 0 0 1 24 257 netDeviceFace:// OutData 0 0 0 0 1 24 257 netDeviceFace:// InSatisfiedInterests 0 0 0 0 1 24 257 netDeviceFace:// InTimedOutInterests 0 0 0 0 1 24 257 netDeviceFace:// OutSatisfiedInterests 0 0 0 0 1 24 257 netDeviceFace:// OutTimedOutInterests 0 0 0 0 1 24 258 netDeviceFace:// InInterests 8 0.25 10 0.3125 1 24 258 netDeviceFace:// OutInterests 0 0 0 0 1 24 258 netDeviceFace:// InData 0 0 0 0 1 24 258 netDeviceFace:// OutData 8 8.27344 10 10.3418 1 24 258 netDeviceFace:// InSatisfiedInterests 8 0 10 0 1 24 258 netDeviceFace:// InTimedOutInterests 0 0 0 0 1 24 258 netDeviceFace:// OutSatisfiedInterests 0 0 0 0 1 24 258 netDeviceFace:// OutTimedOutInterests 0 0 0 0 1 24 259 netDeviceFace:// InInterests 8 0.25 10 0.3125 1 24 259 netDeviceFace:// OutInterests 8 0.25 10 0.3125 1 24 259 netDeviceFace:// InData 0 0 0 0 1 24 259 netDeviceFace:// OutData 0 0 0 0 1 24 259 netDeviceFace:// InSatisfiedInterests 0 0 0 0 1 24 259 netDeviceFace:// InTimedOutInterests 0 0 0 0 1 24 259 netDeviceFace:// OutSatisfiedInterests 8 0 10 0 1 24 259 netDeviceFace:// OutTimedOutInterests 0 0 0 0 1 24 260 ndnFace://24 InInterests 3.2 0 4 0 1 24 260 ndnFace://24 OutInterests 0 0 0 0 1 24 260 ndnFace://24 InData 0 0 0 0 1 24 260 ndnFace://24 OutData 0 0 0 0 1 24 260 ndnFace://24 InSatisfiedInterests 1.6 0 2 0 1 24 260 ndnFace://24 InTimedOutInterests 0 0 0 0 1 24 260 ndnFace://24 OutSatisfiedInterests 0 0 0 0 1 24 260 ndnFace://24 OutTimedOutInterests 0 0 0 0 1 24 261 appFace:// InInterests 0 0 0 0 1 24 261 appFace:// OutInterests 8 0.25 10 0.3125 1 24 261 appFace:// InData 8 8.27344 10 10.3418 1 24 261 appFace:// OutData 0 0 0 0 1 24 261 appFace:// InSatisfiedInterests 0 0 0 0 1 24 261 appFace:// InTimedOutInterests 0 0 0 0 1 24 261 appFace:// OutSatisfiedInterests 8 0 10 0 1 24 261 appFace:// OutTimedOutInterests 0 0 0 0 1 24 -1 all SatisfiedInterests 10.4 0 13 0 1 24 -1 all TimedOutInterests 0 0 0 0 Thanks Asif -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Sat Mar 26 10:01:51 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Sat, 26 Mar 2016 10:01:51 -0700 Subject: [ndnSIM] Explanation of trace file In-Reply-To: References: Message-ID: <6677EF4B-917D-4066-A900-55B12112E51E@cs.ucla.edu> Hi Asif, the internal face is the face that NFD uses to communicate with its managers (used for command Interests). You can think of the netDeviceFace as the network layer interfaces of a router. The ndnFace refers to the ndnSIM specific implementation of the ndn-cxx face. The appFace refers to the face of an ndnSIM application receiving Data and Interest packets. The face ids are used to distinguish among the different faces. You can take a look here as well: http://ndnsim.net/2.1/metric.html What application you were running when you obtained this trace file? Thanks, Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Mar 26, 2016, at 9:08 AM, Shahid Md. Asif Iqbal wrote: > > Dear All, > Can anyone please explain the rate-trace file for me? Especially the meaning of internal, netDeviceFace://, ndnface://24, appface:// and how are these face relating each others.And, also how are these faces having face id like 257, 258..... > > Time Node FaceId FaceDescr Type Packets Kilobytes PacketRaw KilobytesRaw > 1 24 1 internal:// InInterests 0 0 0 0 > 1 24 1 internal:// OutInterests 0 0 0 0 > 1 24 1 internal:// InData 0 0 0 0 > 1 24 1 internal:// OutData 0 0 0 0 > 1 24 1 internal:// InSatisfiedInterests 0 0 0 0 > 1 24 1 internal:// InTimedOutInterests 0 0 0 0 > 1 24 1 internal:// OutSatisfiedInterests 1.6 0 2 0 > 1 24 1 internal:// OutTimedOutInterests 0 0 0 0 > 1 24 257 netDeviceFace:// InInterests 8 0.25 10 0.3125 > 1 24 257 netDeviceFace:// OutInterests 0 0 0 0 > 1 24 257 netDeviceFace:// InData 0 0 0 0 > 1 24 257 netDeviceFace:// OutData 0 0 0 0 > 1 24 257 netDeviceFace:// InSatisfiedInterests 0 0 0 0 > 1 24 257 netDeviceFace:// InTimedOutInterests 0 0 0 0 > 1 24 257 netDeviceFace:// OutSatisfiedInterests 0 0 0 0 > 1 24 257 netDeviceFace:// OutTimedOutInterests 0 0 0 0 > 1 24 258 netDeviceFace:// InInterests 8 0.25 10 0.3125 > 1 24 258 netDeviceFace:// OutInterests 0 0 0 0 > 1 24 258 netDeviceFace:// InData 0 0 0 0 > 1 24 258 netDeviceFace:// OutData 8 8.27344 10 10.3418 > 1 24 258 netDeviceFace:// InSatisfiedInterests 8 0 10 0 > 1 24 258 netDeviceFace:// InTimedOutInterests 0 0 0 0 > 1 24 258 netDeviceFace:// OutSatisfiedInterests 0 0 0 0 > 1 24 258 netDeviceFace:// OutTimedOutInterests 0 0 0 0 > 1 24 259 netDeviceFace:// InInterests 8 0.25 10 0.3125 > 1 24 259 netDeviceFace:// OutInterests 8 0.25 10 0.3125 > 1 24 259 netDeviceFace:// InData 0 0 0 0 > 1 24 259 netDeviceFace:// OutData 0 0 0 0 > 1 24 259 netDeviceFace:// InSatisfiedInterests 0 0 0 0 > 1 24 259 netDeviceFace:// InTimedOutInterests 0 0 0 0 > 1 24 259 netDeviceFace:// OutSatisfiedInterests 8 0 10 0 > 1 24 259 netDeviceFace:// OutTimedOutInterests 0 0 0 0 > 1 24 260 ndnFace://24 InInterests 3.2 0 4 0 > 1 24 260 ndnFace://24 OutInterests 0 0 0 0 > 1 24 260 ndnFace://24 InData 0 0 0 0 > 1 24 260 ndnFace://24 OutData 0 0 0 0 > 1 24 260 ndnFace://24 InSatisfiedInterests 1.6 0 2 0 > 1 24 260 ndnFace://24 InTimedOutInterests 0 0 0 0 > 1 24 260 ndnFace://24 OutSatisfiedInterests 0 0 0 0 > 1 24 260 ndnFace://24 OutTimedOutInterests 0 0 0 0 > 1 24 261 appFace:// InInterests 0 0 0 0 > 1 24 261 appFace:// OutInterests 8 0.25 10 0.3125 > 1 24 261 appFace:// InData 8 8.27344 10 10.3418 > 1 24 261 appFace:// OutData 0 0 0 0 > 1 24 261 appFace:// InSatisfiedInterests 0 0 0 0 > 1 24 261 appFace:// InTimedOutInterests 0 0 0 0 > 1 24 261 appFace:// OutSatisfiedInterests 8 0 10 0 > 1 24 261 appFace:// OutTimedOutInterests 0 0 0 0 > 1 24 -1 all SatisfiedInterests 10.4 0 13 0 > 1 24 -1 all TimedOutInterests 0 0 0 0 > > Thanks > Asif > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- An HTML attachment was scrubbed... URL: From sinkyh at oregonstate.edu Sat Mar 26 14:08:58 2016 From: sinkyh at oregonstate.edu (Hassan Sinky) Date: Sat, 26 Mar 2016 14:08:58 -0700 Subject: [ndnSIM] Wifi and p2p links on a single node. In-Reply-To: <4AC03A6244C3C34BB52A7EC60B799C4C03CC2A0B@m-pdc.sbu.ac.ir> References: <4AC03A6244C3C34BB52A7EC60B799C4C03CC2A08@m-pdc.sbu.ac.ir> <4AC03A6244C3C34BB52A7EC60B799C4C03CC2A0B@m-pdc.sbu.ac.ir> Message-ID: Thanks Sabet! So your suggestions finally worked. I tried multicast before but it would not work. Setting the forwarding strategy to multicast AND setting ndnGlobalRoutingHelper.AddOrigins(all nodes) fixes this issue. I guess the unfortunate question remains, does this mean I will not be able to use a best-route forwarding strategy for this scenario? Or is there a way around this? I essentially want best-route to be used only for the p2p links. On Sat, Mar 26, 2016 at 3:18 AM, Muhammad Hosain Abdollahi Sabet < M.AbdollahiSabet at mail.sbu.ac.ir> wrote: > Hmmm. > I suggest testing 2 more things. > 1- Set forwarding strategy to *multicast* > 2- Manually AddOrigin to the producer for requester and intermediate nodes. > Where is your producer application(responsible for "/myprefix") has been > set? > > Sabet > > ------------------------------ > *From:* Hassan Sinky [mailto:sinkyh at oregonstate.edu] > *Sent:* Sat 3/26/2016 2:16 PM > *To:* Muhammad Hosain Abdollahi Sabet > *Cc:* ndnsim at lists.cs.ucla.edu > > *Subject:* Re: [ndnSIM] Wifi and p2p links on a single node. > > That's what I thought but for some reason there seems to be a forwarding/ > Wifi issue that I can't seem to solve. I'm not sure what the source of the > problem is so I simplified my topology in order to see if the problem > persists and it does. My simplified topology is below: > > [image: Inline image 2] > > Nodes 0-3 are connected to each other via p2p links. Each of them also > have a Wifi device for node 4 to associate with. When node 4 is associated > with node 0 it is not able to retrieve data from the producer on node 3. > Only when it is associated with node 2 is it able to retrieve data from > node 3: > > [image: Inline image 4] > > Strangely, removing the Wifi devices from all the nodes except for node 0 > allows for node 4 to retrieve data from the producer when it is associated > with node 0: > > [image: Inline image 5] > > This has puzzled me for the past two days. I have set up the NDN stack and > routing as done in the examples: > > //Install NDN stack on all nodes > NS_LOG_UNCOND ("Install NDN Stack to Nodes."); > ndn::StackHelper ndnHelper; > ndnHelper.SetDefaultRoutes(true); > ndnHelper.setCsSize(10); > ndnHelper.InstallAll(); > > //Choosing forwarding strategy > NS_LOG_UNCOND ("Installing NDN forwarding strategy."); > ndn::StrategyChoiceHelper::InstallAll("/myprefix", > "/localhost/nfd/strategy/best-route"); > > NS_LOG_UNCOND ("Initialize Global Routing."); > ndn::GlobalRoutingHelper ndnGlobalRoutingHelper; > ndnGlobalRoutingHelper.InstallAll(); > > ndnGlobalRoutingHelper.AddOrigins("/myprefix", grid.GetNode(0,3)); > ndn::GlobalRoutingHelper::CalculateRoutes(); > > Are there additional configurations that I may have missed? > > Thanks! > > On Fri, Mar 25, 2016 at 10:20 PM, Muhammad Hosain Abdollahi Sabet < > M.AbdollahiSabet at mail.sbu.ac.ir> wrote: > >> Hi Hassan, >> >> I don't see why it's not possible. If Node50 receives interest on wifi >> face(WifiNetDevice), it can answer regardless of knowing who has requested >> on that face. >> >> Thanks, >> Sabet >> ---------- Forwarded message ---------- >> From: Hassan Sinky >> Date: Sat, Mar 26, 2016 at 7:04 AM >> Subject: Re: [ndnSIM] Wifi and p2p links on a single node. >> To: ndnsim at lists.cs.ucla.edu >> >> >> Actually I'd like to revise my previous message. This topology works >> fine, however, the only issue is if I add a WiFi net device to "Node50" for >> when "Node52" associates with "Node50" data should be delivered to "Node52" >> via WiFi. Is this possible? >> >> On Fri, Mar 25, 2016 at 6:15 PM, Hassan Sinky >> wrote: >> >>> Hello everyone, >>> >>> I have the following topology:[image: Inline image 2] >>> "Node51" and "Node52" are connected via WiFi. Whereas "Node51" and >>> "Node50" are connected via a p2p link. "Node50" is the producer. For some >>> reason when node "Node52" requests data from the producer "Node50" does not >>> respond. However, if I make "Node51" the producer the content is delivered >>> without issue. Does ndnsim not support this particular multihop scenario? >>> If so, is there a workaround to this as it seems like a very basic and >>> practical scenario for NDN. Any help would be greatly appreciated. >>> >> >> >> _______________________________________________ >> ndnSIM mailing list >> ndnSIM at lists.cs.ucla.edu >> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From asifcsep at gmail.com Sat Mar 26 19:46:15 2016 From: asifcsep at gmail.com (Shahid Md. Asif Iqbal) Date: Sun, 27 Mar 2016 08:46:15 +0600 Subject: [ndnSIM] Explanation of trace file In-Reply-To: <6677EF4B-917D-4066-A900-55B12112E51E@cs.ucla.edu> References: <6677EF4B-917D-4066-A900-55B12112E51E@cs.ucla.edu> Message-ID: Thanks Spyridon for the explanation. However, I was running a 49 node grid topology (with ConsumerCbr). By the way, did you thought about the sequencing and retransmission of my DISCOVER-REQUEST interest issue? On Sat, Mar 26, 2016 at 11:01 PM, Spyridon (Spyros) Mastorakis < mastorakis at cs.ucla.edu> wrote: > Hi Asif, > > the internal face is the face that NFD uses to communicate with its > managers (used for command Interests). You can think of the netDeviceFace > as the network layer interfaces of a router. The ndnFace refers to the > ndnSIM specific implementation of the ndn-cxx face. The appFace refers to > the face of an ndnSIM application receiving Data and Interest packets. The > face ids are used to distinguish among the different faces. You can take a > look here as well: > > http://ndnsim.net/2.1/metric.html > > What application you were running when you obtained this trace file? > > Thanks, > > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ > Internet Research Laboratory > Computer Science Department > UCLA > > > > > On Mar 26, 2016, at 9:08 AM, Shahid Md. Asif Iqbal > wrote: > > Dear All, > Can anyone please explain the rate-trace file for me? Especially the > meaning of internal, netDeviceFace://, ndnface://24, appface:// and how > are these face relating each others.And, also how are these faces having > face id like 257, 258..... > > Time Node FaceId FaceDescr Type Packets Kilobytes > PacketRaw KilobytesRaw > 1 24 1 internal:// InInterests 0 0 0 0 > 1 24 1 internal:// OutInterests 0 0 0 0 > 1 24 1 internal:// InData 0 0 0 0 > 1 24 1 internal:// OutData 0 0 0 0 > 1 24 1 internal:// InSatisfiedInterests 0 0 0 0 > 1 24 1 internal:// InTimedOutInterests 0 0 0 0 > 1 24 1 internal:// OutSatisfiedInterests 1.6 0 2 0 > 1 24 1 internal:// OutTimedOutInterests 0 0 0 0 > 1 24 257 netDeviceFace:// InInterests 8 0.25 10 > 0.3125 > 1 24 257 netDeviceFace:// OutInterests 0 0 0 0 > 1 24 257 netDeviceFace:// InData 0 0 0 0 > 1 24 257 netDeviceFace:// OutData 0 0 0 0 > 1 24 257 netDeviceFace:// InSatisfiedInterests 0 0 > 0 0 > 1 24 257 netDeviceFace:// InTimedOutInterests 0 0 > 0 0 > 1 24 257 netDeviceFace:// OutSatisfiedInterests 0 0 > 0 0 > 1 24 257 netDeviceFace:// OutTimedOutInterests 0 0 > 0 0 > 1 24 258 netDeviceFace:// InInterests 8 0.25 10 > 0.3125 > 1 24 258 netDeviceFace:// OutInterests 0 0 0 0 > 1 24 258 netDeviceFace:// InData 0 0 0 0 > 1 24 258 netDeviceFace:// OutData 8 8.27344 10 > 10.3418 > 1 24 258 netDeviceFace:// InSatisfiedInterests 8 0 > 10 0 > 1 24 258 netDeviceFace:// InTimedOutInterests 0 0 > 0 0 > 1 24 258 netDeviceFace:// OutSatisfiedInterests 0 0 > 0 0 > 1 24 258 netDeviceFace:// OutTimedOutInterests 0 0 > 0 0 > 1 24 259 netDeviceFace:// InInterests 8 0.25 10 > 0.3125 > 1 24 259 netDeviceFace:// OutInterests 8 0.25 10 > 0.3125 > 1 24 259 netDeviceFace:// InData 0 0 0 0 > 1 24 259 netDeviceFace:// OutData 0 0 0 0 > 1 24 259 netDeviceFace:// InSatisfiedInterests 0 0 > 0 0 > 1 24 259 netDeviceFace:// InTimedOutInterests 0 0 > 0 0 > 1 24 259 netDeviceFace:// OutSatisfiedInterests 8 0 > 10 0 > 1 24 259 netDeviceFace:// OutTimedOutInterests 0 0 > 0 0 > 1 24 260 ndnFace://24 InInterests 3.2 0 4 0 > 1 24 260 ndnFace://24 OutInterests 0 0 0 0 > 1 24 260 ndnFace://24 InData 0 0 0 0 > 1 24 260 ndnFace://24 OutData 0 0 0 0 > 1 24 260 ndnFace://24 InSatisfiedInterests 1.6 0 > 2 0 > 1 24 260 ndnFace://24 InTimedOutInterests 0 0 0 0 > 1 24 260 ndnFace://24 OutSatisfiedInterests 0 0 0 > 0 > 1 24 260 ndnFace://24 OutTimedOutInterests 0 0 0 0 > 1 24 261 appFace:// InInterests 0 0 0 0 > 1 24 261 appFace:// OutInterests 8 0.25 10 0.3125 > 1 24 261 appFace:// InData 8 8.27344 10 10.3418 > 1 24 261 appFace:// OutData 0 0 0 0 > 1 24 261 appFace:// InSatisfiedInterests 0 0 0 0 > 1 24 261 appFace:// InTimedOutInterests 0 0 0 0 > 1 24 261 appFace:// OutSatisfiedInterests 8 0 10 0 > 1 24 261 appFace:// OutTimedOutInterests 0 0 0 0 > 1 24 -1 all SatisfiedInterests 10.4 0 13 0 > 1 24 -1 all TimedOutInterests 0 0 0 0 > > Thanks > Asif > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From anilj.mailing at gmail.com Sat Mar 26 20:42:28 2016 From: anilj.mailing at gmail.com (Anil Jangam) Date: Sat, 26 Mar 2016 20:42:28 -0700 Subject: [ndnSIM] Explanation of trace file In-Reply-To: <6677EF4B-917D-4066-A900-55B12112E51E@cs.ucla.edu> References: <6677EF4B-917D-4066-A900-55B12112E51E@cs.ucla.edu> Message-ID: Hi Spyros, I was curious to know if those topology diagrams were created manually or were they created by some 'R'script? I could generate some of the graphs using the provided Rscripts though. /anil. On Sat, Mar 26, 2016 at 10:01 AM, Spyridon (Spyros) Mastorakis < mastorakis at cs.ucla.edu> wrote: > Hi Asif, > > the internal face is the face that NFD uses to communicate with its > managers (used for command Interests). You can think of the netDeviceFace > as the network layer interfaces of a router. The ndnFace refers to the > ndnSIM specific implementation of the ndn-cxx face. The appFace refers to > the face of an ndnSIM application receiving Data and Interest packets. The > face ids are used to distinguish among the different faces. You can take a > look here as well: > > http://ndnsim.net/2.1/metric.html > > What application you were running when you obtained this trace file? > > Thanks, > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aa at CS.UCLA.EDU Sun Mar 27 18:22:07 2016 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Sun, 27 Mar 2016 18:22:07 -0700 Subject: [ndnSIM] Explanation of trace file In-Reply-To: References: <6677EF4B-917D-4066-A900-55B12112E51E@cs.ucla.edu> Message-ID: > On Mar 26, 2016, at 8:42 PM, Anil Jangam wrote: > > Hi Spyros, > > I was curious to know if those topology diagrams were created manually or were they created by some 'R'script? I could generate some of the graphs using the provided Rscripts though. No, the topology diagrams on ndnsim.net website are created manually using aafig module (ascii art to svg converter). You can see the source code of the pages here http://ndnsim.net/2.1/_sources/metric.txt or in github repo. For large topologies, it is better to use graphviz dot (neato, twopi, circo, fdp, or sfdp) tool to visualize arbitrary topologies. For example, you could use AnnotatedTopology:: SaveGraphviz method (http://ndnsim.net/2.1/doxygen/classns3_1_1AnnotatedTopologyReader.html#a2078a690442885c1c3e2ae5fd9c83895 ) or create it manually. -- Alex > > /anil. > > > On Sat, Mar 26, 2016 at 10:01 AM, Spyridon (Spyros) Mastorakis > wrote: > Hi Asif, > > the internal face is the face that NFD uses to communicate with its managers (used for command Interests). You can think of the netDeviceFace as the network layer interfaces of a router. The ndnFace refers to the ndnSIM specific implementation of the ndn-cxx face. The appFace refers to the face of an ndnSIM application receiving Data and Interest packets. The face ids are used to distinguish among the different faces. You can take a look here as well: > > http://ndnsim.net/2.1/metric.html > > What application you were running when you obtained this trace file? > > Thanks, > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 841 bytes Desc: Message signed with OpenPGP using GPGMail URL: From mastorakis at CS.UCLA.EDU Sun Mar 27 21:10:33 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Sun, 27 Mar 2016 21:10:33 -0700 Subject: [ndnSIM] Content Discovery In-Reply-To: References: <5BB8947B-E1C1-4E51-A466-5AEBDB274E79@cs.ucla.edu> <2081A05C-2C87-4D47-AE79-21CE8099D24C@cs.ucla.edu> Message-ID: Hi Asif, I do not see anything particularly wrong with sequencing and retransmissions, since the two different kinds of Interests have different names: You can assign sequence numbers independently to each different Interest category and also handle the Interest retransmission in a different way for each case if that is what you want. Moreover, there should be no way for you to update the PIT manually. This will take place based on the principles of the architecture/protocol. However, you can install different FIB entries and forwarding strategy for each Interest category to achieve the behavior that you mentioned. You could use the FIB helper: http://ndnsim.net/2.1/helpers.html#manually-routes-fib-helper and the strategy choice helper: http://ndnsim.net/2.1/helpers.html#forwarding-strategy Hope that this helps. Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Mar 25, 2016, at 10:14 PM, Shahid Md. Asif Iqbal wrote: > > Dear Spyridon, > Many thanks for both the options. Though, I mentioned about the first option in my last mail but later I did something that exactly matches with your second solution. It is worthy to mention that I pick this idea from one of your early solutions for me on some other topics. However, I am having problem with how to start the retransmission timer for an interest packet since each interest packet is sent twice now. To be exact, an interest packet(DISCOVER) for seq1 is first broadcasted to discover available producers or content routers having the the data for seq1. Once the available options are discovered then the interest packet (REQUEST) is unicasted to the best producer or router. Thus, I need > > (i) some advice on how can I manage the sequencing and retransmission timeouts in the consumer file > (ii) how to update the fib/pit while the DISCOVER packet is coming back on the reverse path. > > Thanks in advance > > Asif > > On Fri, Mar 25, 2016 at 12:01 PM, Spyridon (Spyros) Mastorakis > wrote: > Just a follow-up on this one: > > Another way that probably would be simpler is to add your new fields to the name of the Interest and Data packet as new name components. Then, you can handle those components in your application using the API of the Name class provided by the ndn-cxx library: > > https://github.com/named-data-ndnSIM/ndn-cxx/blob/ndn-cxx-0.3.4-ndnSIM/src/name.hpp > > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ > Internet Research Laboratory > Computer Science Department > UCLA > > > > >> On Mar 24, 2016, at 10:53 PM, Spyridon (Spyros) Mastorakis > wrote: >> >> Hi, >> >> some trivial changes off the top of my head are to add some get and set methods for the new fields (and define the new fields as well). These changes should be made here (and to the corresponding header files): >> >> https://github.com/named-data-ndnSIM/ndn-cxx/blob/ndn-cxx-0.3.4-ndnSIM/src/interest.cpp >> https://github.com/named-data-ndnSIM/ndn-cxx/blob/ndn-cxx-0.3.4-ndnSIM/src/data.cpp >> >> You would also need to modify the wireEncode and wireDecode methods of the Interest and Data class (files mentioned above) to encode and decode the new fields to/from wire format. >> >> When you are done with these changes, you should be able to use the new fields in your applications. You just need to get and set the fields in the way that your approach works (e.g., when you express an Interest in your consumer application set the new field of the interest packet, when you receive an Interest in your producer application read the new field of this packet and add the appropriate field to the data packet etc..). >> >> Please let me know if you need any additional information. >> >> Spyridon (Spyros) Mastorakis >> Personal Website: http://cs.ucla.edu/~mastorakis/ >> Internet Research Laboratory >> Computer Science Department >> UCLA >> >> >>> On Mar 19, 2016, at 9:49 PM, Shahid Md. Asif Iqbal > wrote: >>> >>> Dear All, >>> I would like to try an idea where the consumers first try to >>> discover the available content providers, then get the content >>> from one of the providers sending the actual request packets. >>> Here is my thoughts: >>> >>> I have added one field to the interest packet to indicate the >>> type of the interest : discover or request >>> >>> I have added one field to the data packet to indicate the type >>> of the data packet : content-offer or content-real >>> content-offer is same as content-real except the content field is empty. >>> >>> Now, please help me to identify what other things do I need to do to make my changes work especially in the consumer and producer files. >>> >>> Thanking in advance > -------------- next part -------------- An HTML attachment was scrubbed... URL: From narges.mehran at gmail.com Sun Mar 27 21:35:19 2016 From: narges.mehran at gmail.com (Narges Mehran) Date: Mon, 28 Mar 2016 09:05:19 +0430 Subject: [ndnSIM] ndnSIM Digest, Vol 40, Issue 20 In-Reply-To: References: Message-ID: Hello everyone, You can also use the available trace files. Look at this . In this file, collected during your simulation, you can see the Round Trip Time (RTT) of every transmitted Interest and its Data packet. On Fri, Mar 25, 2016 at 4:34 PM, wrote: > Date: Fri, 25 Mar 2016 15:33:54 +0330 > From: chavoosh ghasemi > To: roger > Cc: ndnsim > Subject: Re: [ndnSIM] Arrival times > Message-ID: > < > CAGyRHp5dXwMSA-e3xbrEBg9aautZqwxsuAPwsihktJP8nHHoDg at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Hi Roger, > > You can simply use NS_LOG and print all information you want. For instance, > assume you're using "ndn-consumer.cc" and "ndn-producer.cc", which are > predefined files under this directory: "src/ndnSIM/apps", as applications > in your scenario. After assigning *consumer* application to you nodes, and > perhaps *producer* application to some other of them, you can type below > command in the bash and run it: > > NS_LOG=ndn.Consumer:ndn.Producer ./waf --run [*name of your file*] > > Now, you'll see that there are a lot of information printed on your screen > which one of is packet arrival. Here number of your nodes and their > topology is not important, at all. So, for any similar purpose you can > simply use NS_LOG environment variable and print any kind of information on > the screen. > > Anyway, if you wanted to save printed lines, you can easily use below > command (according to above example): > > NS_LOG=ndn.Consumer ./waf --run [*name of your file*] > test.txt > > which will save all printed lines in *test.txt* file. > > Good luck > > > On Thu, Mar 24, 2016 at 6:04 PM, roger wrote: > > > Hi, I have a scenario with multiple consumers. I am looking to capture > the > > packet arrival times on the consumers and save them to a file.. how do i > go > > about this, thank you. > > _______________________________________________ > > ndnSIM mailing list > > ndnSIM at lists.cs.ucla.edu > > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > > > > > > -- > *Chavoosh Ghasemi* > > Master of Information Technology - Computer Networks > Sharif University of Technology (SUT) - Computer Engineering Department > > *Address: Department of Computer Engineering,* > > * Sharif University of Tech, Tehran, Iran* > > *"The quieter you become, the more you can hear"* > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20160325/e69efc05/attachment.html > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From asifcsep at gmail.com Mon Mar 28 00:29:50 2016 From: asifcsep at gmail.com (Shahid Md. Asif Iqbal) Date: Mon, 28 Mar 2016 13:29:50 +0600 Subject: [ndnSIM] Content Discovery In-Reply-To: References: <5BB8947B-E1C1-4E51-A466-5AEBDB274E79@cs.ucla.edu> <2081A05C-2C87-4D47-AE79-21CE8099D24C@cs.ucla.edu> Message-ID: Thanks Spyridon, Let me try solve the problem in your way. I will come back to you once I got something new. Asif On Mon, Mar 28, 2016 at 10:10 AM, Spyridon (Spyros) Mastorakis < mastorakis at cs.ucla.edu> wrote: > Hi Asif, > > I do not see anything particularly wrong with sequencing and > retransmissions, since the two different kinds of Interests have different > names: > > You can assign sequence numbers independently to each different Interest > category and also handle the Interest retransmission in a different way for > each case if that is what you want. > > Moreover, there should be no way for you to update the PIT manually. This > will take place based on the principles of the architecture/protocol. > However, you can install different FIB entries and forwarding strategy for > each Interest category to achieve the behavior that you mentioned. You > could use the FIB helper: > > http://ndnsim.net/2.1/helpers.html#manually-routes-fib-helper > > and the strategy choice helper: > > http://ndnsim.net/2.1/helpers.html#forwarding-strategy > > Hope that this helps. > > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ > Internet Research Laboratory > Computer Science Department > UCLA > > On Mar 25, 2016, at 10:14 PM, Shahid Md. Asif Iqbal > wrote: > > Dear Spyridon, > Many thanks for both the options. Though, I mentioned about the first > option in my last mail but later I did something that exactly matches with > your second solution. It is worthy to mention that I pick this idea from > one of your early solutions for me on some other topics. However, I am > having problem with how to start the retransmission timer for an interest > packet since each interest packet is sent twice now. To be exact, an > interest packet(DISCOVER) for seq1 is first broadcasted to discover > available producers or content routers having the the data for seq1. Once > the available options are discovered then the interest packet (REQUEST) is > unicasted to the best producer or router. Thus, I need > > (i) some advice on how can I manage the sequencing and retransmission > timeouts in the consumer file > (ii) how to update the fib/pit while the DISCOVER packet is coming back on > the reverse path. > > Thanks in advance > > Asif > > On Fri, Mar 25, 2016 at 12:01 PM, Spyridon (Spyros) Mastorakis < > mastorakis at cs.ucla.edu> wrote: > >> Just a follow-up on this one: >> >> Another way that probably would be simpler is to add your new fields to >> the name of the Interest and Data packet as new name components. Then, you >> can handle those components in your application using the API of the Name >> class provided by the ndn-cxx library: >> >> >> https://github.com/named-data-ndnSIM/ndn-cxx/blob/ndn-cxx-0.3.4-ndnSIM/src/name.hpp >> >> Spyridon (Spyros) Mastorakis >> Personal Website: http://cs.ucla.edu/~mastorakis/ >> Internet Research Laboratory >> Computer Science Department >> UCLA >> >> >> >> >> On Mar 24, 2016, at 10:53 PM, Spyridon (Spyros) Mastorakis < >> mastorakis at CS.UCLA.EDU > wrote: >> >> Hi, >> >> some trivial changes off the top of my head are to add some get and set >> methods for the new fields (and define the new fields as well). These >> changes should be made here (and to the corresponding header files): >> >> >> https://github.com/named-data-ndnSIM/ndn-cxx/blob/ndn-cxx-0.3.4-ndnSIM/src/interest.cpp >> >> https://github.com/named-data-ndnSIM/ndn-cxx/blob/ndn-cxx-0.3.4-ndnSIM/src/data.cpp >> >> You would also need to modify the wireEncode and wireDecode methods of >> the Interest and Data class (files mentioned above) to encode and decode >> the new fields to/from wire format. >> >> When you are done with these changes, you should be able to use the new >> fields in your applications. You just need to get and set the fields in the >> way that your approach works (e.g., when you express an Interest in your >> consumer application set the new field of the interest packet, when you >> receive an Interest in your producer application read the new field of this >> packet and add the appropriate field to the data packet etc..). >> >> Please let me know if you need any additional information. >> >> Spyridon (Spyros) Mastorakis >> Personal Website: http://cs.ucla.edu/~mastorakis/ >> Internet Research Laboratory >> Computer Science Department >> UCLA >> >> >> On Mar 19, 2016, at 9:49 PM, Shahid Md. Asif Iqbal >> wrote: >> >> Dear All, >> >> I would like to try an idea where the consumers first try to >> discover the available content providers, then get the content >> from one of the providers sending the actual request packets. >> >> Here is my thoughts: >> >> I have added one field to the interest packet to indicate the >> type of the interest : discover or request >> >> I have added one field to the data packet to indicate the type >> >> of the data packet : content-offer or content-real >> >> content-offer is same as content-real except the content field is empty. >> >> Now, please help me to identify what other things do I need to do to make >> my changes work especially in the consumer and producer files. >> >> Thanking in advance >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From zhsupperviol at gmail.com Mon Mar 28 02:14:08 2016 From: zhsupperviol at gmail.com (=?UTF-8?B?5p2o5Lyf5a6P?=) Date: Mon, 28 Mar 2016 17:14:08 +0800 Subject: [ndnSIM] Get the rate of packets and set the rate limit in ndnSIM2.1 Message-ID: <56F8F5E0.9000701@gmail.com> Dear ALL, While I am trying to implement my own forwarding strategy, I encounter the following problems: 1. I was wondering how can I get the rate (or estimated rate) of packets for each name prefix at every face. 2. In ndnSIM 2.1, I cannot find the Class LimitsRate which exists in ndnSIM 1.0, I wonder how can I set the rate limit for each name prefix at each face. I am looking forward to your help. Thanks in advance! Weihong Yang (/???/) -------------- next part -------------- An HTML attachment was scrubbed... URL: From shijunxiao at email.arizona.edu Mon Mar 28 07:02:50 2016 From: shijunxiao at email.arizona.edu (Junxiao Shi) Date: Mon, 28 Mar 2016 07:02:50 -0700 Subject: [ndnSIM] Get the rate of packets and set the rate limit in ndnSIM2.1 In-Reply-To: <56F8F5E0.9000701@gmail.com> References: <56F8F5E0.9000701@gmail.com> Message-ID: <093131AD-9487-4A1C-9C58-DE0005955DE7@email.arizona.edu> Hi Weihong In your strategy, define the granularity of each name prefix: do you take the FIB entry as a ?name prefix?, or something else? implement an algorithm to estimate the packet rate under the name prefix store the estimation in the measurements table Read NFD developer guide ?strategy API? section for more information. Yours, Junxiao > On Mar 28, 2016, at 2:14 AM, ??? wrote: > > Dear ALL, > > While I am trying to implement my own forwarding strategy, I encounter the following problems: > 1. I was wondering how can I get the rate (or estimated rate) of packets for each name prefix at every face. > 2. In ndnSIM 2.1, I cannot find the Class LimitsRate which exists in ndnSIM 1.0, I wonder how can I set the rate limit for each name prefix at each face. > > I am looking forward to your help. > > Thanks in advance! > > Weihong Yang (???) -------------- next part -------------- An HTML attachment was scrubbed... URL: From M.AbdollahiSabet at mail.sbu.ac.ir Mon Mar 28 12:08:50 2016 From: M.AbdollahiSabet at mail.sbu.ac.ir (Muhammad Hosain Abdollahi Sabet) Date: Mon, 28 Mar 2016 23:38:50 +0430 Subject: [ndnSIM] Link resolver server Message-ID: <4AC03A6244C3C34BB52A7EC60B799C4C03CC2A0E@m-pdc.sbu.ac.ir> Hi everyone Is there any resolver for delegation lists in ndnSIM? I mean something like dns(ndns maybe?) which a consumer queries a prefix(say /A) from it and find out about the associated delegation list to /A. I've seen addDelegation, getDelegations, and other functions related to Link object in doxygen. Where(in which entity) do they save link objects or retrieve them? Thanks, Sabet -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Mon Mar 28 12:28:21 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Mon, 28 Mar 2016 12:28:21 -0700 Subject: [ndnSIM] Link resolver server In-Reply-To: <4AC03A6244C3C34BB52A7EC60B799C4C03CC2A0E@m-pdc.sbu.ac.ir> References: <4AC03A6244C3C34BB52A7EC60B799C4C03CC2A0E@m-pdc.sbu.ac.ir> Message-ID: <37644B3A-0B96-468E-A5D8-3EF983EC0778@cs.ucla.edu> Hi Sabet, the LINK object is a hint used for Interest forwarding. You can take a look at this paper for the overall design and motivation: http://named-data.net/wp-content/uploads/2015/03/SNAMP-NDN-Scalability.pdf There is a partially working NDNS application for ndnSIM that was a project of the first NDN hackathon last September: https://github.com/spirosmastorakis/ndns-scenario To be honest, I cannot recall what parts of NDNS have actually been ported to ndnSIM though. You could try it and see if that works for you. Hope that this helps! Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Mar 28, 2016, at 12:08 PM, Muhammad Hosain Abdollahi Sabet wrote: > > Hi everyone > > Is there any resolver for delegation lists in ndnSIM? I mean something like dns(ndns maybe?) which a consumer queries a prefix(say /A) from it and find out about the associated delegation list to /A. > I've seen addDelegation, getDelegations, and other functions related to Link object in doxygen. Where(in which entity) do they save link objects or retrieve them? > > Thanks, > Sabet > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- An HTML attachment was scrubbed... URL: From M.AbdollahiSabet at mail.sbu.ac.ir Mon Mar 28 12:39:45 2016 From: M.AbdollahiSabet at mail.sbu.ac.ir (Muhammad Hosain Abdollahi Sabet) Date: Tue, 29 Mar 2016 00:09:45 +0430 Subject: [ndnSIM] Link resolver server References: <4AC03A6244C3C34BB52A7EC60B799C4C03CC2A0E@m-pdc.sbu.ac.ir> <37644B3A-0B96-468E-A5D8-3EF983EC0778@cs.ucla.edu> Message-ID: <4AC03A6244C3C34BB52A7EC60B799C4C03CC2A0F@m-pdc.sbu.ac.ir> Dear Spyridon, Thanks so much for your quick response. I will try that. I'm aware of SNAMP paper. Actually I've followed it from earlier versions. But hadn't found anything about ndns in ndnSIM till now. I've just seen this: https://github.com/cawka/ndnSIM-ndns So, maybe I should ask Alex if he could help. Thanks, Sabet -----Original Message----- From: Spyridon (Spyros) Mastorakis [mailto:mastorakis at cs.ucla.edu] Sent: Mon 3/28/2016 11:58 PM To: Muhammad Hosain Abdollahi Sabet Cc: ndnsim at lists.cs.ucla.edu Subject: Re: [ndnSIM] Link resolver server Hi Sabet, the LINK object is a hint used for Interest forwarding. You can take a look at this paper for the overall design and motivation: http://named-data.net/wp-content/uploads/2015/03/SNAMP-NDN-Scalability.pdf There is a partially working NDNS application for ndnSIM that was a project of the first NDN hackathon last September: https://github.com/spirosmastorakis/ndns-scenario To be honest, I cannot recall what parts of NDNS have actually been ported to ndnSIM though. You could try it and see if that works for you. Hope that this helps! Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Mar 28, 2016, at 12:08 PM, Muhammad Hosain Abdollahi Sabet wrote: > > Hi everyone > > Is there any resolver for delegation lists in ndnSIM? I mean something like dns(ndns maybe?) which a consumer queries a prefix(say /A) from it and find out about the associated delegation list to /A. > I've seen addDelegation, getDelegations, and other functions related to Link object in doxygen. Where(in which entity) do they save link objects or retrieve them? > > Thanks, > Sabet > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- An HTML attachment was scrubbed... URL: From anilj.mailing at gmail.com Mon Mar 28 17:30:33 2016 From: anilj.mailing at gmail.com (Anil Jangam) Date: Mon, 28 Mar 2016 17:30:33 -0700 Subject: [ndnSIM] CryptoPP In-Reply-To: References: <5D73E6E4-5F2D-4CD0-90F2-0A8CD352ED3B@gmail.com> <6F8D385D-3B17-40B2-84FB-8584161550FA@aol.com> Message-ID: Hi All, This problem still persist for me and I am trying it on Mac. As discussed on this thread, I extracted the command line from the build/config.log file. It is compiling "../test.cpp" file, which it generates on the fly I guess. I am not sure how it picks up the #include path for cryptopp.hpp, but it is #including the file as "../../src/ndnSIM/ndn-cxx/src/security/cryptopp.hpp". I verified and this path is actually from ndnSIM's ndn-cxx. I am not sure why a standalone ndn-cxx compile would look for ndnSIM. I think the configure tool is doing all this automatically and we do not have any control on this. I also tried installing this from the sources but no success. /usr/bin/clang++ -pedantic -Wall -O2 -g -std=c++11 -Wno-error=unneeded-internal-declaration -Wno-error=deprecated-register -Wno-error=unused-local-typedef -stdlib=libc++ -I/usr/include -DNDEBUG -DHAVE_IS_DEFAULT_CONSTRUCTIBLE=1 -DHAVE_IS_NOTHROW_MOVE_CONSTRUCTIBLE=1 -DHAVE_IS_NOTHROW_MOVE_ASSIGNABLE=1 -DHAVE_CXX_FRIEND_TYPENAME=1 -DHAVE_CXX_OVERRIDE_FINAL=1 -DNDN_CXX_HAVE_VECTOR_INSERT_ERASE_CONST_ITERATOR=1 -DHAVE_PTHREAD=1 -DHAVE_GETPASS=1 -DHAVE_COREFOUNDATION_COREFOUNDATION_H=1 -DHAVE_CORESERVICES_CORESERVICES_H=1 -DHAVE_SECURITY=1 -DHAVE_OSX_SECURITY=1 -DHAVE_SQLITE3=1 ../test.cpp -c -o /Users/usrp1/sandbox/ndn-cxx/build/.conf_check_1689d110c002d2313f4665d22885dc23/testbuild/test.cpp.1.o Can someone guess what is the issue? /anil. On Tue, Nov 17, 2015 at 1:09 PM, Natalya Rozhnova < rozhnova.natalya at gmail.com> wrote: > Hi Marco, > > YES, IT WORKS! Thanks! > > best, > Natalya > > 2015-11-17 19:27 GMT+01:00 Marco Ulgelmo : > >> Have you tried with the following? >> >> LD_LIBRARY_PATH="/usr/local:$LD_LIBRARY_PATH" >> PKG_CONFIG_PATH="/usr/local/pkgconfig:$PKG_CONFIG_PATH" >> PATH="/usr/local/bin:$PATH" >> LIBRARY_PATH="/usr/local/lib:$LIBRARY_PATH" >> INCLUDE_PATH="/usr/local/include:$INCLUDE_PATH" >> export LD_LIBRARY_PATH PKG_CONFIG_PATH PATH LIBRARY_PATH INCLUDE_PATH >> >> On 17 Nov 2015, at 19:17, Natalya Rozhnova >> wrote: >> >> Hi Marco, >> >> Yes, I see. I downloaded it manually from >> http://www.cryptopp.com/#download and installed to /usr/local >> The problem was in cryptopp.hpp that was not found. It was an error in >> the path to it. >> Now, it compiles but I have another problem when running ndn-simple: >> ns-3/build/src/ndnSIM/examples/ns3-dev-ndn-simple-debug: error while >> loading shared libraries: libcryptopp.so: cannot open shared object file: >> No such file or directory >> Command >> ['/home/nemo/new_test/ns-3/build/src/ndnSIM/examples/ns3-dev-ndn-simple-debug'] >> exited with code 127 >> >> Any idea what it may be due to? >> >> 2015-11-16 15:29 GMT+01:00 Marco Ulgelmo : >> >>> What I meant is that the default version of Crypto++ library isn?t >>> working for me either and I was not able to run a test. However by >>> downloading and installing it (just tell me if you have already done so) I >>> was able to correctly run the simulations. The ?with-cryptopp is needed to >>> tell the configure script where to find the crypto libraries (otherwise it >>> will find those in the default location and not the one you downloaded). >>> What version of Cryptopp are you currently using? >>> >>> > On 16 Nov 2015, at 11:17, Natalya Rozhnova >>> wrote: >>> > >>> > Hi Marco, >>> > >>> > The problem is not to find the library but to make a test? >>> > As I said in my previous message I tried the option >>> ?with-cryptopp=path but it doesn?t change anything. >>> > >>> > The error is: CryptoPP is present (so it finds the library) but >>> unusable (don?t get what?s the problem) >>> > Any idea? >>> > >>> > Best, >>> > Natalya >>> > >>> > >>> >> Le 15 nov. 2015 ? 13:10, Marco Ulgelmo a >>> ?crit : >>> >> >>> >> Hi, >>> >> >>> >> I resolved that issue by downloading and installing that library >>> separately. When you compile ndnSIM just specify where to find the new >>> library with the --with-cryptopp=/path/to/library >>> >> >>> >> Marco Ulgelmo >>> >> >>> >>> On 13 Nov 2015, at 17:16, Natalya Rozhnova < >>> rozhnova.natalya at gmail.com> wrote: >>> >>> >>> >>> Hi guys, >>> >>> >>> >>> I'm trying to compile the ns3 with ndnSIM 2.1 but I have a following >>> problem when configuring : >>> >>> >>> >>> CryptoPP is present, but is not usable >>> >>> >>> >>> Could you please tell me what's wrong and what I supposed to do to >>> resolve this? >>> >>> >>> >>> BTW: >>> >>>> whereis libcryptopp >>> >>> libcryptopp: /usr/local/lib/libcryptopp.a >>> /usr/local/lib/libcryptopp.so >>> >>> >>> >>> I have also tried to use the option --with-cryptopp=/usr/local but >>> it doesn't help... >>> >>> >>> >>> Thanks in advance for your reply, >>> >>> Best, >>> >>> Natalya >>> >>> _______________________________________________ >>> >>> ndnSIM mailing list >>> >>> ndnSIM at lists.cs.ucla.edu >>> >>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >>> >> >>> > >>> >>> >> >> > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From anilj.mailing at gmail.com Mon Mar 28 17:43:26 2016 From: anilj.mailing at gmail.com (Anil Jangam) Date: Mon, 28 Mar 2016 17:43:26 -0700 Subject: [ndnSIM] CryptoPP In-Reply-To: References: <5D73E6E4-5F2D-4CD0-90F2-0A8CD352ED3B@gmail.com> <6F8D385D-3B17-40B2-84FB-8584161550FA@aol.com> Message-ID: I tried compiling the same from the ndn-cxx which is a submodule in ndnSIM and it gave the same problem there too. According to the file path, the include path should be - ../../../src/ndnSIM/ndn-cxx/src/security/cryptopp.hpp instead of ../../src/ndnSIM/ndn-cxx/src/security/cryptopp.hpp Does this build require to export some env variable before it can be configured and built? /anil. On Mon, Mar 28, 2016 at 5:30 PM, Anil Jangam wrote: > Hi All, > > This problem still persist for me and I am trying it on Mac. > > As discussed on this thread, I extracted the command line from the > build/config.log file. It is compiling "../test.cpp" file, which it > generates on the fly I guess. I am not sure how it picks up the #include > path for cryptopp.hpp, but it is #including the file as > "../../src/ndnSIM/ndn-cxx/src/security/cryptopp.hpp". I verified and this > path is actually from ndnSIM's ndn-cxx. I am not sure why a standalone > ndn-cxx compile would look for ndnSIM. > > I think the configure tool is doing all this automatically and we do not > have any control on this. I also tried installing this from the sources but > no success. > > /usr/bin/clang++ -pedantic -Wall -O2 -g -std=c++11 > -Wno-error=unneeded-internal-declaration -Wno-error=deprecated-register > -Wno-error=unused-local-typedef -stdlib=libc++ -I/usr/include -DNDEBUG > -DHAVE_IS_DEFAULT_CONSTRUCTIBLE=1 -DHAVE_IS_NOTHROW_MOVE_CONSTRUCTIBLE=1 > -DHAVE_IS_NOTHROW_MOVE_ASSIGNABLE=1 -DHAVE_CXX_FRIEND_TYPENAME=1 > -DHAVE_CXX_OVERRIDE_FINAL=1 > -DNDN_CXX_HAVE_VECTOR_INSERT_ERASE_CONST_ITERATOR=1 -DHAVE_PTHREAD=1 > -DHAVE_GETPASS=1 -DHAVE_COREFOUNDATION_COREFOUNDATION_H=1 > -DHAVE_CORESERVICES_CORESERVICES_H=1 -DHAVE_SECURITY=1 > -DHAVE_OSX_SECURITY=1 -DHAVE_SQLITE3=1 ../test.cpp -c -o > /Users/usrp1/sandbox/ndn-cxx/build/.conf_check_1689d110c002d2313f4665d22885dc23/testbuild/test.cpp.1.o > > Can someone guess what is the issue? > > /anil. > > > > On Tue, Nov 17, 2015 at 1:09 PM, Natalya Rozhnova < > rozhnova.natalya at gmail.com> wrote: > >> Hi Marco, >> >> YES, IT WORKS! Thanks! >> >> best, >> Natalya >> >> 2015-11-17 19:27 GMT+01:00 Marco Ulgelmo : >> >>> Have you tried with the following? >>> >>> LD_LIBRARY_PATH="/usr/local:$LD_LIBRARY_PATH" >>> PKG_CONFIG_PATH="/usr/local/pkgconfig:$PKG_CONFIG_PATH" >>> PATH="/usr/local/bin:$PATH" >>> LIBRARY_PATH="/usr/local/lib:$LIBRARY_PATH" >>> INCLUDE_PATH="/usr/local/include:$INCLUDE_PATH" >>> export LD_LIBRARY_PATH PKG_CONFIG_PATH PATH LIBRARY_PATH INCLUDE_PATH >>> >>> On 17 Nov 2015, at 19:17, Natalya Rozhnova >>> wrote: >>> >>> Hi Marco, >>> >>> Yes, I see. I downloaded it manually from >>> http://www.cryptopp.com/#download and installed to /usr/local >>> The problem was in cryptopp.hpp that was not found. It was an error in >>> the path to it. >>> Now, it compiles but I have another problem when running ndn-simple: >>> ns-3/build/src/ndnSIM/examples/ns3-dev-ndn-simple-debug: error while >>> loading shared libraries: libcryptopp.so: cannot open shared object file: >>> No such file or directory >>> Command >>> ['/home/nemo/new_test/ns-3/build/src/ndnSIM/examples/ns3-dev-ndn-simple-debug'] >>> exited with code 127 >>> >>> Any idea what it may be due to? >>> >>> 2015-11-16 15:29 GMT+01:00 Marco Ulgelmo : >>> >>>> What I meant is that the default version of Crypto++ library isn?t >>>> working for me either and I was not able to run a test. However by >>>> downloading and installing it (just tell me if you have already done so) I >>>> was able to correctly run the simulations. The ?with-cryptopp is needed to >>>> tell the configure script where to find the crypto libraries (otherwise it >>>> will find those in the default location and not the one you downloaded). >>>> What version of Cryptopp are you currently using? >>>> >>>> > On 16 Nov 2015, at 11:17, Natalya Rozhnova < >>>> rozhnova.natalya at gmail.com> wrote: >>>> > >>>> > Hi Marco, >>>> > >>>> > The problem is not to find the library but to make a test? >>>> > As I said in my previous message I tried the option >>>> ?with-cryptopp=path but it doesn?t change anything. >>>> > >>>> > The error is: CryptoPP is present (so it finds the library) but >>>> unusable (don?t get what?s the problem) >>>> > Any idea? >>>> > >>>> > Best, >>>> > Natalya >>>> > >>>> > >>>> >> Le 15 nov. 2015 ? 13:10, Marco Ulgelmo a >>>> ?crit : >>>> >> >>>> >> Hi, >>>> >> >>>> >> I resolved that issue by downloading and installing that library >>>> separately. When you compile ndnSIM just specify where to find the new >>>> library with the --with-cryptopp=/path/to/library >>>> >> >>>> >> Marco Ulgelmo >>>> >> >>>> >>> On 13 Nov 2015, at 17:16, Natalya Rozhnova < >>>> rozhnova.natalya at gmail.com> wrote: >>>> >>> >>>> >>> Hi guys, >>>> >>> >>>> >>> I'm trying to compile the ns3 with ndnSIM 2.1 but I have a >>>> following problem when configuring : >>>> >>> >>>> >>> CryptoPP is present, but is not usable >>>> >>> >>>> >>> Could you please tell me what's wrong and what I supposed to do to >>>> resolve this? >>>> >>> >>>> >>> BTW: >>>> >>>> whereis libcryptopp >>>> >>> libcryptopp: /usr/local/lib/libcryptopp.a >>>> /usr/local/lib/libcryptopp.so >>>> >>> >>>> >>> I have also tried to use the option --with-cryptopp=/usr/local but >>>> it doesn't help... >>>> >>> >>>> >>> Thanks in advance for your reply, >>>> >>> Best, >>>> >>> Natalya >>>> >>> _______________________________________________ >>>> >>> ndnSIM mailing list >>>> >>> ndnSIM at lists.cs.ucla.edu >>>> >>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >>>> >> >>>> > >>>> >>>> >>> >>> >> >> _______________________________________________ >> ndnSIM mailing list >> ndnSIM at lists.cs.ucla.edu >> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From anilj.mailing at gmail.com Mon Mar 28 19:59:57 2016 From: anilj.mailing at gmail.com (Anil Jangam) Date: Mon, 28 Mar 2016 19:59:57 -0700 Subject: [ndnSIM] CryptoPP In-Reply-To: References: <5D73E6E4-5F2D-4CD0-90F2-0A8CD352ED3B@gmail.com> <6F8D385D-3B17-40B2-84FB-8584161550FA@aol.com> Message-ID: Hi, I am not sure if this is the right way, but I figured out a workaround. Changed the contents of file "ndn-cxx/.waf-tools/cryptopp.py" as follows (see line #30 below) and it worked. 29 CRYPTOPP_CHECK_FRAGMENT = ''' 30 #include "../../src/security/cryptopp.hpp" 31 #include 32 Hope this helps. /anil. On Mon, Mar 28, 2016 at 5:43 PM, Anil Jangam wrote: > I tried compiling the same from the ndn-cxx which is a submodule in ndnSIM > and it gave the same problem there too. According to the file path, the > include path should be - ../../../src/ndnSIM/ndn-cxx/src/security/cryptopp.hpp > instead of ../../src/ndnSIM/ndn-cxx/src/security/cryptopp.hpp > > Does this build require to export some env variable before it can be > configured and built? > > /anil. > > > > On Mon, Mar 28, 2016 at 5:30 PM, Anil Jangam > wrote: > >> Hi All, >> >> This problem still persist for me and I am trying it on Mac. >> >> As discussed on this thread, I extracted the command line from the >> build/config.log file. It is compiling "../test.cpp" file, which it >> generates on the fly I guess. I am not sure how it picks up the #include >> path for cryptopp.hpp, but it is #including the file as >> "../../src/ndnSIM/ndn-cxx/src/security/cryptopp.hpp". I verified and this >> path is actually from ndnSIM's ndn-cxx. I am not sure why a standalone >> ndn-cxx compile would look for ndnSIM. >> >> I think the configure tool is doing all this automatically and we do not >> have any control on this. I also tried installing this from the sources but >> no success. >> >> /usr/bin/clang++ -pedantic -Wall -O2 -g -std=c++11 >> -Wno-error=unneeded-internal-declaration -Wno-error=deprecated-register >> -Wno-error=unused-local-typedef -stdlib=libc++ -I/usr/include -DNDEBUG >> -DHAVE_IS_DEFAULT_CONSTRUCTIBLE=1 -DHAVE_IS_NOTHROW_MOVE_CONSTRUCTIBLE=1 >> -DHAVE_IS_NOTHROW_MOVE_ASSIGNABLE=1 -DHAVE_CXX_FRIEND_TYPENAME=1 >> -DHAVE_CXX_OVERRIDE_FINAL=1 >> -DNDN_CXX_HAVE_VECTOR_INSERT_ERASE_CONST_ITERATOR=1 -DHAVE_PTHREAD=1 >> -DHAVE_GETPASS=1 -DHAVE_COREFOUNDATION_COREFOUNDATION_H=1 >> -DHAVE_CORESERVICES_CORESERVICES_H=1 -DHAVE_SECURITY=1 >> -DHAVE_OSX_SECURITY=1 -DHAVE_SQLITE3=1 ../test.cpp -c -o >> /Users/usrp1/sandbox/ndn-cxx/build/.conf_check_1689d110c002d2313f4665d22885dc23/testbuild/test.cpp.1.o >> >> Can someone guess what is the issue? >> >> /anil. >> >> >> >> On Tue, Nov 17, 2015 at 1:09 PM, Natalya Rozhnova < >> rozhnova.natalya at gmail.com> wrote: >> >>> Hi Marco, >>> >>> YES, IT WORKS! Thanks! >>> >>> best, >>> Natalya >>> >>> 2015-11-17 19:27 GMT+01:00 Marco Ulgelmo : >>> >>>> Have you tried with the following? >>>> >>>> LD_LIBRARY_PATH="/usr/local:$LD_LIBRARY_PATH" >>>> PKG_CONFIG_PATH="/usr/local/pkgconfig:$PKG_CONFIG_PATH" >>>> PATH="/usr/local/bin:$PATH" >>>> LIBRARY_PATH="/usr/local/lib:$LIBRARY_PATH" >>>> INCLUDE_PATH="/usr/local/include:$INCLUDE_PATH" >>>> export LD_LIBRARY_PATH PKG_CONFIG_PATH PATH LIBRARY_PATH INCLUDE_PATH >>>> >>>> On 17 Nov 2015, at 19:17, Natalya Rozhnova >>>> wrote: >>>> >>>> Hi Marco, >>>> >>>> Yes, I see. I downloaded it manually from >>>> http://www.cryptopp.com/#download and installed to /usr/local >>>> The problem was in cryptopp.hpp that was not found. It was an error in >>>> the path to it. >>>> Now, it compiles but I have another problem when running ndn-simple: >>>> ns-3/build/src/ndnSIM/examples/ns3-dev-ndn-simple-debug: error while >>>> loading shared libraries: libcryptopp.so: cannot open shared object file: >>>> No such file or directory >>>> Command >>>> ['/home/nemo/new_test/ns-3/build/src/ndnSIM/examples/ns3-dev-ndn-simple-debug'] >>>> exited with code 127 >>>> >>>> Any idea what it may be due to? >>>> >>>> 2015-11-16 15:29 GMT+01:00 Marco Ulgelmo : >>>> >>>>> What I meant is that the default version of Crypto++ library isn?t >>>>> working for me either and I was not able to run a test. However by >>>>> downloading and installing it (just tell me if you have already done so) I >>>>> was able to correctly run the simulations. The ?with-cryptopp is needed to >>>>> tell the configure script where to find the crypto libraries (otherwise it >>>>> will find those in the default location and not the one you downloaded). >>>>> What version of Cryptopp are you currently using? >>>>> >>>>> > On 16 Nov 2015, at 11:17, Natalya Rozhnova < >>>>> rozhnova.natalya at gmail.com> wrote: >>>>> > >>>>> > Hi Marco, >>>>> > >>>>> > The problem is not to find the library but to make a test? >>>>> > As I said in my previous message I tried the option >>>>> ?with-cryptopp=path but it doesn?t change anything. >>>>> > >>>>> > The error is: CryptoPP is present (so it finds the library) but >>>>> unusable (don?t get what?s the problem) >>>>> > Any idea? >>>>> > >>>>> > Best, >>>>> > Natalya >>>>> > >>>>> > >>>>> >> Le 15 nov. 2015 ? 13:10, Marco Ulgelmo a >>>>> ?crit : >>>>> >> >>>>> >> Hi, >>>>> >> >>>>> >> I resolved that issue by downloading and installing that library >>>>> separately. When you compile ndnSIM just specify where to find the new >>>>> library with the --with-cryptopp=/path/to/library >>>>> >> >>>>> >> Marco Ulgelmo >>>>> >> >>>>> >>> On 13 Nov 2015, at 17:16, Natalya Rozhnova < >>>>> rozhnova.natalya at gmail.com> wrote: >>>>> >>> >>>>> >>> Hi guys, >>>>> >>> >>>>> >>> I'm trying to compile the ns3 with ndnSIM 2.1 but I have a >>>>> following problem when configuring : >>>>> >>> >>>>> >>> CryptoPP is present, but is not usable >>>>> >>> >>>>> >>> Could you please tell me what's wrong and what I supposed to do to >>>>> resolve this? >>>>> >>> >>>>> >>> BTW: >>>>> >>>> whereis libcryptopp >>>>> >>> libcryptopp: /usr/local/lib/libcryptopp.a >>>>> /usr/local/lib/libcryptopp.so >>>>> >>> >>>>> >>> I have also tried to use the option --with-cryptopp=/usr/local but >>>>> it doesn't help... >>>>> >>> >>>>> >>> Thanks in advance for your reply, >>>>> >>> Best, >>>>> >>> Natalya >>>>> >>> _______________________________________________ >>>>> >>> ndnSIM mailing list >>>>> >>> ndnSIM at lists.cs.ucla.edu >>>>> >>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >>>>> >> >>>>> > >>>>> >>>>> >>>> >>>> >>> >>> _______________________________________________ >>> ndnSIM mailing list >>> ndnSIM at lists.cs.ucla.edu >>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From carlzu8 at gmail.com Wed Mar 30 03:03:08 2016 From: carlzu8 at gmail.com (Carl Zu) Date: Wed, 30 Mar 2016 12:03:08 +0200 Subject: [ndnSIM] TTL-based scope control ? Message-ID: Hi everyone! I know that "InterestLifetime" is there, but is there any _TTL_ for interest messages for scope control ? Does it make sense to have this ? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From zhsupperviol at gmail.com Wed Mar 30 22:12:18 2016 From: zhsupperviol at gmail.com (=?UTF-8?B?V2VpaG9uZyBZYW5nKOadqOS8n+Wujyk=?=) Date: Thu, 31 Mar 2016 13:12:18 +0800 Subject: [ndnSIM] Problem about logging Message-ID: Dear ALL, I was trying to enable NFD logging in my forwarding strategy, and I had followed the steps in the NFD developer guide: 1. include core/logger.hpp header file 2. declare logging module using NFD_LOG_INIT("MyStrategy"); 3. use NFD_LOG_DEBUG("DEBUG message"); in my source code. And I ran the simulation scenarios using the following command: NS_LOG=nfd.MyStrategy ./waf --run=Mystrategy --vis However, there is no output of logging information. I was wondering where I went wrong. Thanks in advance. Yours, Weihong Yang -------------- next part -------------- An HTML attachment was scrubbed... URL: From M.AbdollahiSabet at mail.sbu.ac.ir Thu Mar 31 03:08:15 2016 From: M.AbdollahiSabet at mail.sbu.ac.ir (Muhammad Hosain Abdollahi Sabet) Date: Thu, 31 Mar 2016 14:38:15 +0430 Subject: [ndnSIM] Link resolver server References: <4AC03A6244C3C34BB52A7EC60B799C4C03CC2A0E@m-pdc.sbu.ac.ir> <37644B3A-0B96-468E-A5D8-3EF983EC0778@cs.ucla.edu> Message-ID: <4AC03A6244C3C34BB52A7EC60B799C4C03CC2A15@m-pdc.sbu.ac.ir> Spyridon, Thank you. You scenario works. Regarding to that, there are questions I need to ask you: 1- What is the content of test.db? 2- What is the procedure to add a zone or identity? I guess there should be some key-chain related routine I'm not familiar with. 3- What is the difference between Name(Name to be resolved) and Hint(Name Hint) in digApp? They are both set to "/ndn" 4- From consumer's perspective, firstly a digApp should query for a "hint" for a prefix, then attach query's answer as a Link object to Interest? 5- What relation is in place between what has been done in your scenario, and Link related functions in ndnSIM? Many thanks, Sabet -----Original Message----- From: Spyridon (Spyros) Mastorakis [mailto:mastorakis at cs.ucla.edu] Sent: Mon 3/28/2016 11:58 PM To: Muhammad Hosain Abdollahi Sabet Cc: ndnsim at lists.cs.ucla.edu Subject: Re: [ndnSIM] Link resolver server Hi Sabet, the LINK object is a hint used for Interest forwarding. You can take a look at this paper for the overall design and motivation: http://named-data.net/wp-content/uploads/2015/03/SNAMP-NDN-Scalability.pdf There is a partially working NDNS application for ndnSIM that was a project of the first NDN hackathon last September: https://github.com/spirosmastorakis/ndns-scenario To be honest, I cannot recall what parts of NDNS have actually been ported to ndnSIM though. You could try it and see if that works for you. Hope that this helps! Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Mar 28, 2016, at 12:08 PM, Muhammad Hosain Abdollahi Sabet wrote: > > Hi everyone > > Is there any resolver for delegation lists in ndnSIM? I mean something like dns(ndns maybe?) which a consumer queries a prefix(say /A) from it and find out about the associated delegation list to /A. > I've seen addDelegation, getDelegations, and other functions related to Link object in doxygen. Where(in which entity) do they save link objects or retrieve them? > > Thanks, > Sabet > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- An HTML attachment was scrubbed... URL: From don1559 at gmail.com Thu Mar 31 05:20:27 2016 From: don1559 at gmail.com (Ahmed Sadek) Date: Thu, 31 Mar 2016 14:20:27 +0200 Subject: [ndnSIM] Multicast Strategy , strange behavior Message-ID: Hi All, I am using the following topology to try multicast strategy (broadcast). So I noticed that all requests are broadcasted but I am receiving only replies from one link (client->R3->Backbone). ?? When I increase the delay on one of the other two links during the simulation, I start receiving data replies on them also. I am assuming that on the intersection node (backbone) something stop data replication on the three interfaces and when there is a delay between interests this stop doesn't work. Can someone guide me, on what is happening here and why no data replication happening from the start ? Thanks! Ahmed -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: broadcast.png Type: image/png Size: 58518 bytes Desc: not available URL: From shijunxiao at email.arizona.edu Thu Mar 31 07:11:40 2016 From: shijunxiao at email.arizona.edu (Junxiao Shi) Date: Thu, 31 Mar 2016 07:11:40 -0700 Subject: [ndnSIM] Multicast Strategy , strange behavior In-Reply-To: References: Message-ID: Hi Ahmed After an Interest is multicasted onto multiple paths but those paths join at an upstream ("backbone" in the topology), the upstream would detect that the Interests have duplicate Nonce and suppress all but the first Interest, and send back the Data only along the path on which the Interest arrives first. Duplicate Nonce detection is done through the PIT entry and the Dead Nonce List. See NFD Developer Guide "Forwarding - incoming Interest pipeline" and "Tables - Dead Nonce List" sections for more information. Detection through PIT entry is reliable: it can catch every incoming Interest with duplicate Nonce and suppress it, as long as the PIT entry still exists. A PIT entry stays for about 100ms after the Interest is satisfied ("straggler timer"). When the three paths in the topology have the same or almost same delay, it's almost guaranteed that the PIT entry exists when the second and third Interest arrive, and thus they are suppressed. Detection through Dead Nonce List is selective: it's only used to prevent "persistent loop" (NFD Bug 1953). When the second and third paths have a delay that is more than 100ms longer than the delay of the first path, the duplicate Nonce cannot be detected by throug the PIT entry, and is usually not detected by the Dead Nonce List. In this case, the Interest would be permitted to lookup the ContentStore, find a match, and the cached Data is sent back. Yours, Junxiao On Thu, Mar 31, 2016 at 5:20 AM, Ahmed Sadek wrote: > Hi All, > > I am using the following topology to try multicast strategy (broadcast). > So I noticed that all requests are broadcasted but I am receiving only > replies from one link (client->R3->Backbone). > > > > > ?? > When I increase the delay on one of the other two links during the > simulation, I start receiving data replies on them also. > > I am assuming that on the intersection node (backbone) something stop data > replication on the three interfaces and when there is a delay between > interests this stop doesn't work. > > Can someone guide me, on what is happening here and why no data > replication happening from the start ? > > Thanks! > Ahmed > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: broadcast.png Type: image/png Size: 58518 bytes Desc: not available URL: From don1559 at gmail.com Thu Mar 31 07:41:05 2016 From: don1559 at gmail.com (Ahmed Sadek) Date: Thu, 31 Mar 2016 16:41:05 +0200 Subject: [ndnSIM] Multicast Strategy , strange behavior In-Reply-To: References: Message-ID: Thank you Junxiao for the detailed and quick answer. 1- Is there a way to turn off this feature to test the broadcast strategy ? I tried to set : *const time::nanoseconds DeadNonceList::DEFAULT_LIFETIME = time::milliseconds(1);* but didn't do the trick. It seem the only way is that there should be a delay on the links from the start so interests don't arrive in parallel. 2- What if there are two clients contacting the server asking for the same content (same interest) at the same time, this mean only one of them will get the content as backbone router will suppress one of them. Thanks! Ahmed On Thu, Mar 31, 2016 at 4:11 PM, Junxiao Shi wrote: > Hi Ahmed > > After an Interest is multicasted onto multiple paths but those paths join > at an upstream ("backbone" in the topology), the upstream would detect that > the Interests have duplicate Nonce and suppress all but the first Interest, > and send back the Data only along the path on which the Interest arrives > first. > > Duplicate Nonce detection is done through the PIT entry and the Dead Nonce > List. See NFD Developer Guide "Forwarding - incoming Interest pipeline" and > "Tables - Dead Nonce List" sections for more information. > Detection through PIT entry is reliable: it can catch every incoming > Interest with duplicate Nonce and suppress it, as long as the PIT entry > still exists. A PIT entry stays for about 100ms after the Interest is > satisfied ("straggler timer"). When the three paths in the topology have > the same or almost same delay, it's almost guaranteed that the PIT entry > exists when the second and third Interest arrive, and thus they are > suppressed. > > Detection through Dead Nonce List is selective: it's only used to prevent > "persistent loop" (NFD Bug 1953). > When the second and third paths have a delay that is more than 100ms > longer than the delay of the first path, the duplicate Nonce cannot be > detected by throug the PIT entry, and is usually not detected by the Dead > Nonce List. In this case, the Interest would be permitted to lookup the > ContentStore, find a match, and the cached Data is sent back. > > Yours, Junxiao > > On Thu, Mar 31, 2016 at 5:20 AM, Ahmed Sadek wrote: > >> Hi All, >> >> I am using the following topology to try multicast strategy (broadcast). >> So I noticed that all requests are broadcasted but I am receiving only >> replies from one link (client->R3->Backbone). >> >> >> >> >> ?? >> When I increase the delay on one of the other two links during the >> simulation, I start receiving data replies on them also. >> >> I am assuming that on the intersection node (backbone) something stop >> data replication on the three interfaces and when there is a delay between >> interests this stop doesn't work. >> >> Can someone guide me, on what is happening here and why no data >> replication happening from the start ? >> >> Thanks! >> Ahmed >> >> _______________________________________________ >> ndnSIM mailing list >> ndnSIM at lists.cs.ucla.edu >> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: broadcast.png Type: image/png Size: 58518 bytes Desc: not available URL: From shijunxiao at email.arizona.edu Thu Mar 31 10:21:15 2016 From: shijunxiao at email.arizona.edu (Junxiao Shi) Date: Thu, 31 Mar 2016 10:21:15 -0700 Subject: [ndnSIM] Multicast Strategy , strange behavior In-Reply-To: References: Message-ID: Hi Ahmed The multicast strategy is operating correctly when it forwards the Interest toward all available upstream faces unless it's the sole downstream or violates scope. Whether the Data comes back or not has nothing to do with the correctness of multicast strategy. DeadNonceList entry lifetime is irrelevant because suppression occurs in PIT entry, not in DNL. When multiple consumers are expressing Interests with the same Name, Selectors, and Link object (or absence of Link object), those Interests are expected to carry distinct Nonces. See NDN Packet Format spec, Interest - Nonce section. Those Interests will not be suppressed by duplication Nonce detection because the Nonce is not duplicate. Yours, Junxiao On Thu, Mar 31, 2016 at 7:41 AM, Ahmed Sadek wrote: > Thank you Junxiao for the detailed and quick answer. > > 1- Is there a way to turn off this feature to test the broadcast strategy > ? > I tried to set : > > *const time::nanoseconds DeadNonceList::DEFAULT_LIFETIME = > time::milliseconds(1);* > > but didn't do the trick. It seem the only way is that there should be a > delay on the links from the start so interests don't arrive in parallel. > > 2- What if there are two clients contacting the server asking for the same > content (same interest) at the same time, this mean only one of them will > get the content as backbone router will suppress one of them. > > Thanks! > Ahmed > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Thu Mar 31 14:27:52 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Thu, 31 Mar 2016 14:27:52 -0700 Subject: [ndnSIM] Link resolver server In-Reply-To: <4AC03A6244C3C34BB52A7EC60B799C4C03CC2A15@m-pdc.sbu.ac.ir> References: <4AC03A6244C3C34BB52A7EC60B799C4C03CC2A0E@m-pdc.sbu.ac.ir> <37644B3A-0B96-468E-A5D8-3EF983EC0778@cs.ucla.edu> <4AC03A6244C3C34BB52A7EC60B799C4C03CC2A15@m-pdc.sbu.ac.ir> Message-ID: <98812244-73A2-4B28-86C3-849718D1F227@cs.ucla.edu> Please see my answer inline. I am not that familiar with the NDNS implementation, so I will try to answer the questions that I know in the best possible way: > Thank you. You scenario works. Regarding to that, there are questions I need to ask you: > 1- What is the content of test.db? > It is the database of the current NDNS instance (storing the records). > 2- What is the procedure to add a zone or identity? I guess there should be some key-chain related routine I'm not familiar with. > I think that this has to do with this file: https://github.com/spirosmastorakis/ndns-scenario/blob/master/extensions/ndns-create-zone.hpp > 3- What is the difference between Name(Name to be resolved) and Hint(Name Hint) in digApp? They are both set to "/ndn? > According to the SNAMP paper, a name of some data should be resolved directly to a LINK object that contains a number of globally routable name (forwarding hints). In the current implementation, I think that the name of some data is resolved to a globally routable name directly. > 4- From consumer's perspective, firstly a digApp should query for a "hint" for a prefix, then attach query's answer as a Link object to Interest? > In theory, the application should retrieve the LINK object directly from NDNS. However, in this case you are right. > 5- What relation is in place between what has been done in your scenario, and Link related functions in ndnSIM? > Sorry, but I do not understand the question. NDNS was Alex?s thesis, so he can elaborate more on the implementation details. Hope that my answer helped though. Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA -------------- next part -------------- An HTML attachment was scrubbed... URL: From lixia at CS.UCLA.EDU Thu Mar 31 22:30:14 2016 From: lixia at CS.UCLA.EDU (Lixia Zhang) Date: Thu, 31 Mar 2016 22:30:14 -0700 Subject: [ndnSIM] TTL-based scope control ? In-Reply-To: References: Message-ID: <689827BB-BE83-436B-9C95-000805DA1AA9@cs.ucla.edu> > On Mar 30, 2016, at 3:03 AM, Carl Zu wrote: > > Hi everyone! > > I know that "InterestLifetime" is there, but is there any _TTL_ for interest messages for scope control ? Does it make sense to have this ? > > Thanks. IP used TTL for scope control, but that is rather implicit, difficult to control. NDN names are expressive. NDN tries to use names to control scoping in an explicit way (e.g. local hub) > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim From mastorakis at CS.UCLA.EDU Thu Mar 31 22:46:09 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Thu, 31 Mar 2016 22:46:09 -0700 Subject: [ndnSIM] Problem about logging In-Reply-To: References: Message-ID: Hi, could you please try again without enabling the visualizer (remove the ?vis flag) and let me know whether the problem persists? Thanks, Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Mar 30, 2016, at 10:12 PM, Weihong Yang(???) wrote: > > Dear ALL, > > I was trying to enable NFD logging in my forwarding strategy, and I had followed the steps in the NFD developer guide: > 1. include core/logger.hpp header file > 2. declare logging module using NFD_LOG_INIT("MyStrategy"); > 3. use NFD_LOG_DEBUG("DEBUG message"); in my source code. > And I ran the simulation scenarios using the following command: > NS_LOG=nfd.MyStrategy ./waf --run=Mystrategy --vis > > However, there is no output of logging information. I was wondering where I went wrong. > Thanks in advance. > > Yours, > Weihong Yang > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cs15mtech11007 at iith.ac.in Thu Mar 31 23:09:05 2016 From: cs15mtech11007 at iith.ac.in (Krishnakanth Singh) Date: Fri, 1 Apr 2016 11:39:05 +0530 Subject: [ndnSIM] Doxygen not present error Message-ID: Hi, I am using Ubuntu 14.04 and ndnsim 3.25 when i go to ns3 dir inside ndnsim and do ./waf There is a import error saying Doxygen not available .I am sure that Doxygen is installed as i have also installed ns3 and it works fine -------------- next part -------------- An HTML attachment was scrubbed... URL: From ioannoa at tcd.ie Sat Mar 19 08:41:52 2016 From: ioannoa at tcd.ie (Andriana Ioannou) Date: Sat, 19 Mar 2016 15:41:52 -0000 Subject: [ndnSIM] Mpi on multiple machines Message-ID: Hello all, I was wondering whether someone has any feedback/advice on the use of mpi onb multiple machines. From reading the post, I do assume that is possible but I am rather confused on how to proceed with it exactly. Any help would be great. Thanks. A. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bouacherine.abdelkader at gmail.com Fri Mar 25 15:19:28 2016 From: bouacherine.abdelkader at gmail.com (Bouacherine Abdelkader) Date: Fri, 25 Mar 2016 22:19:28 -0000 Subject: [ndnSIM] per Face per FIB entry limit Message-ID: Hi every one, I am working on a multi-path forwarding strategy that sets the per FIB and per Face limits for every competing flows, every time slot. The latter are implemented in ndnSIM 1.0 but not in the ndnSIM 2.1, is there a reason of their disappearance and how can i manage to use these in the ndnSIM 2.1. Thanks NDN team. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sinkyh at oregonstate.edu Sat Mar 26 02:46:19 2016 From: sinkyh at oregonstate.edu (Hassan Sinky) Date: Sat, 26 Mar 2016 09:46:19 -0000 Subject: [ndnSIM] Wifi and p2p links on a single node. In-Reply-To: <4AC03A6244C3C34BB52A7EC60B799C4C03CC2A08@m-pdc.sbu.ac.ir> References: <4AC03A6244C3C34BB52A7EC60B799C4C03CC2A08@m-pdc.sbu.ac.ir> Message-ID: That's what I thought but for some reason there seems to be a forwarding/ Wifi issue that I can't seem to solve. I'm not sure what the source of the problem is so I simplified my topology in order to see if the problem persists and it does. My simplified topology is below: [image: Inline image 2] Nodes 0-3 are connected to each other via p2p links. Each of them also have a Wifi device for node 4 to associate with. When node 4 is associated with node 0 it is not able to retrieve data from the producer on node 3. Only when it is associated with node 2 is it able to retrieve data from node 3: [image: Inline image 4] Strangely, removing the Wifi devices from all the nodes except for node 0 allows for node 4 to retrieve data from the producer when it is associated with node 0: [image: Inline image 5] This has puzzled me for the past two days. I have set up the NDN stack and routing as done in the examples: //Install NDN stack on all nodes NS_LOG_UNCOND ("Install NDN Stack to Nodes."); ndn::StackHelper ndnHelper; ndnHelper.SetDefaultRoutes(true); ndnHelper.setCsSize(10); ndnHelper.InstallAll(); //Choosing forwarding strategy NS_LOG_UNCOND ("Installing NDN forwarding strategy."); ndn::StrategyChoiceHelper::InstallAll("/myprefix", "/localhost/nfd/strategy/best-route"); NS_LOG_UNCOND ("Initialize Global Routing."); ndn::GlobalRoutingHelper ndnGlobalRoutingHelper; ndnGlobalRoutingHelper.InstallAll(); ndnGlobalRoutingHelper.AddOrigins("/myprefix", grid.GetNode(0,3)); ndn::GlobalRoutingHelper::CalculateRoutes(); Are there additional configurations that I may have missed? Thanks! On Fri, Mar 25, 2016 at 10:20 PM, Muhammad Hosain Abdollahi Sabet < M.AbdollahiSabet at mail.sbu.ac.ir> wrote: > Hi Hassan, > > I don't see why it's not possible. If Node50 receives interest on wifi > face(WifiNetDevice), it can answer regardless of knowing who has requested > on that face. > > Thanks, > Sabet > ---------- Forwarded message ---------- > From: Hassan Sinky > Date: Sat, Mar 26, 2016 at 7:04 AM > Subject: Re: [ndnSIM] Wifi and p2p links on a single node. > To: ndnsim at lists.cs.ucla.edu > > > Actually I'd like to revise my previous message. This topology works fine, > however, the only issue is if I add a WiFi net device to "Node50" for when > "Node52" associates with "Node50" data should be delivered to "Node52" via > WiFi. Is this possible? > > On Fri, Mar 25, 2016 at 6:15 PM, Hassan Sinky > wrote: > >> Hello everyone, >> >> I have the following topology:[image: Inline image 2] >> "Node51" and "Node52" are connected via WiFi. Whereas "Node51" and >> "Node50" are connected via a p2p link. "Node50" is the producer. For some >> reason when node "Node52" requests data from the producer "Node50" does not >> respond. However, if I make "Node51" the producer the content is delivered >> without issue. Does ndnsim not support this particular multihop scenario? >> If so, is there a workaround to this as it seems like a very basic and >> practical scenario for NDN. Any help would be greatly appreciated. >> > > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 23336 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 35152 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 40927 bytes Desc: not available URL: From M.AbdollahiSabet at mail.sbu.ac.ir Sat Mar 26 03:24:39 2016 From: M.AbdollahiSabet at mail.sbu.ac.ir (Muhammad Hosain Abdollahi Sabet) Date: Sat, 26 Mar 2016 10:24:39 -0000 Subject: [ndnSIM] Wifi and p2p links on a single node. References: <4AC03A6244C3C34BB52A7EC60B799C4C03CC2A08@m-pdc.sbu.ac.ir> Message-ID: <4AC03A6244C3C34BB52A7EC60B799C4C03CC2A0B@m-pdc.sbu.ac.ir> Hmmm. I suggest testing 2 more things. 1- Set forwarding strategy to multicast 2- Manually AddOrigin to the producer for requester and intermediate nodes. Where is your producer application(responsible for "/myprefix") has been set? Sabet ________________________________ From: Hassan Sinky [mailto:sinkyh at oregonstate.edu] Sent: Sat 3/26/2016 2:16 PM To: Muhammad Hosain Abdollahi Sabet Cc: ndnsim at lists.cs.ucla.edu Subject: Re: [ndnSIM] Wifi and p2p links on a single node. That's what I thought but for some reason there seems to be a forwarding/ Wifi issue that I can't seem to solve. I'm not sure what the source of the problem is so I simplified my topology in order to see if the problem persists and it does. My simplified topology is below: Inline image 2 Nodes 0-3 are connected to each other via p2p links. Each of them also have a Wifi device for node 4 to associate with. When node 4 is associated with node 0 it is not able to retrieve data from the producer on node 3. Only when it is associated with node 2 is it able to retrieve data from node 3: Inline image 4 Strangely, removing the Wifi devices from all the nodes except for node 0 allows for node 4 to retrieve data from the producer when it is associated with node 0: Inline image 5 This has puzzled me for the past two days. I have set up the NDN stack and routing as done in the examples: //Install NDN stack on all nodes NS_LOG_UNCOND ("Install NDN Stack to Nodes."); ndn::StackHelper ndnHelper; ndnHelper.SetDefaultRoutes(true); ndnHelper.setCsSize(10); ndnHelper.InstallAll(); //Choosing forwarding strategy NS_LOG_UNCOND ("Installing NDN forwarding strategy."); ndn::StrategyChoiceHelper::InstallAll("/myprefix", "/localhost/nfd/strategy/best-route"); NS_LOG_UNCOND ("Initialize Global Routing."); ndn::GlobalRoutingHelper ndnGlobalRoutingHelper; ndnGlobalRoutingHelper.InstallAll(); ndnGlobalRoutingHelper.AddOrigins("/myprefix", grid.GetNode(0,3)); ndn::GlobalRoutingHelper::CalculateRoutes(); Are there additional configurations that I may have missed? Thanks! On Fri, Mar 25, 2016 at 10:20 PM, Muhammad Hosain Abdollahi Sabet wrote: Hi Hassan, I don't see why it's not possible. If Node50 receives interest on wifi face(WifiNetDevice), it can answer regardless of knowing who has requested on that face. Thanks, Sabet ---------- Forwarded message ---------- From: Hassan Sinky Date: Sat, Mar 26, 2016 at 7:04 AM Subject: Re: [ndnSIM] Wifi and p2p links on a single node. To: ndnsim at lists.cs.ucla.edu Actually I'd like to revise my previous message. This topology works fine, however, the only issue is if I add a WiFi net device to "Node50" for when "Node52" associates with "Node50" data should be delivered to "Node52" via WiFi. Is this possible? On Fri, Mar 25, 2016 at 6:15 PM, Hassan Sinky wrote: Hello everyone, I have the following topology:Inline image 2 "Node51" and "Node52" are connected via WiFi. Whereas "Node51" and "Node50" are connected via a p2p link. "Node50" is the producer. For some reason when node "Node52" requests data from the producer "Node50" does not respond. However, if I make "Node51" the producer the content is delivered without issue. Does ndnsim not support this particular multihop scenario? If so, is there a workaround to this as it seems like a very basic and practical scenario for NDN. Any help would be greatly appreciated. _______________________________________________ ndnSIM mailing list ndnSIM at lists.cs.ucla.edu http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 23336 bytes Desc: image.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 35152 bytes Desc: image.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 40927 bytes Desc: image.png URL: