From amin1431 at yahoo.com Mon Sep 1 02:47:02 2014 From: amin1431 at yahoo.com (amin1431) Date: Mon, 1 Sep 2014 02:47:02 -0700 Subject: [ndnSIM] Evaluate the overhead of LRU/FIFO caching replacement method Message-ID: <1409564822.63374.YahooMailNeo@web160103.mail.bf1.yahoo.com> Hi Guys, I am going to evaluate the overhead of the existing caching replacement methods such as LRU/FIFO in ndnSIM. Could you please guide me to how evaluate the overhead? Thank you in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: From 0023 at naver.com Tue Sep 2 03:21:41 2014 From: 0023 at naver.com (=?UTF-8?B?7LWc7ZW07J28?=) Date: Tue, 2 Sep 2014 19:21:41 +0900 (KST) Subject: [ndnSIM] =?utf-8?q?I_have_some_questions_of_NDN=2E?= In-Reply-To: References: <217039accbf4736317d59b9c578eccd@cweb08.nm.nhnsystem.com> Message-ID: <4bb2beaf1be3421cfe8b619acd112bf9@cweb10.nm.nhnsystem.com> Dear NDN. Hello. My name is Haeil Choi. I study Networking at Kookmin graduate school from Korea. I'm interesting the future internet. so I read the your paper NDN. - Networking Named Content by V. Jacobson, D. K. Smetters, J. D. Thornton, M. F. Plass, N. H. Briggs, R. L. Braynard CoNEXT 2009, Rome, December, 2009. I have some questions. so I write this e-mail. This paper was 5 years ago, I do not know what is changed now. I would appreciate your response. 1. I want to know what is IP+CCN Router in section 4.1. 2. In figure 6, If Routers have both IP function and CCN function, Does IP Router C know adjacency Router A, B, E, F? How does it know that? 3. I organized the problem related to figure 6 in attached ppt file. Do I show you the exact description? 4. I understand that CCN don't have source and destination. How does the IP Router C find the A and B in Interest packet sent from the F? 5. I want to simulate the same conditions as above in NS3. I don't know how can I designed IP+CCN router in NS3. I wonder if I could get a related data and ndnSIM source. I am looking forward to hearing from you. Thank you for your time. Sincerely, Haeil Choi. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Guestion of ndn.pptx Type: application/vnd.openxmlformats-officedocument.presentationml.presentation Size: 46157 bytes Desc: not available URL: From lixia at CS.UCLA.EDU Tue Sep 2 22:01:30 2014 From: lixia at CS.UCLA.EDU (Lixia Zhang) Date: Tue, 2 Sep 2014 22:01:30 -0700 Subject: [ndnSIM] I have some questions of NDN. In-Reply-To: <4bb2beaf1be3421cfe8b619acd112bf9@cweb10.nm.nhnsystem.com> References: <217039accbf4736317d59b9c578eccd@cweb08.nm.nhnsystem.com> <4bb2beaf1be3421cfe8b619acd112bf9@cweb10.nm.nhnsystem.com> Message-ID: <09532B47-4A8B-4ED5-A52A-C312CC9BD7CA@cs.ucla.edu> (I did not see a reply to this; I guess people at UCLA are busy preparing NDNComm that starts tomorrow with an NDN tutorial) On Sep 2, 2014, at 3:21 AM, ??? <0023 at naver.com> wrote: > Dear NDN. > > Hello. My name is Haeil Choi. I study Networking at Kookmin graduate school from Korea. > > I'm interesting the future internet. so I read the your paper NDN. > > - Networking Named Content by V. Jacobson, D. K. Smetters, J. D. Thornton, M. F. Plass, N. H. Briggs, R. L. Braynard CoNEXT 2009, Rome, December, 2009. > > I have some questions. so I write this e-mail. > > This paper was 5 years ago, I do not know what is changed now. I would appreciate your response. > One sentence answer to your question: US NSF funded NDN project in 2010 (Named Data Networking), please see http://named-data.net Lots progresses have been made over the last 4 years. (You may want to direct questions like this to ndn-interest list http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest) > 1. I want to know what is IP+CCN Router in section 4.1. > I am not aware of anyone doing that. People have all been developing NDN routers > 2. In figure 6, If Routers have both IP function and CCN function, Does IP Router C know adjacency Router A, B, E, F? How does it know that? > > 3. I organized the problem related to figure 6 in attached ppt file. Do I show you the exact description? > > 4. I understand that CCN don't have source and destination. How does the IP Router C find the A and B in Interest packet sent from the F? > > 5. I want to simulate the same conditions as above in NS3. I don't know how can I designed IP+CCN router in NS3. > > I wonder if I could get a related data and ndnSIM source. > yes you can get ndnSIM code, please see http://ndnsim.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From r01942061 at ntu.edu.tw Thu Sep 4 03:00:56 2014 From: r01942061 at ntu.edu.tw (=?big5?B?sWm0vKvb?=) Date: Thu, 4 Sep 2014 10:00:56 +0000 Subject: [ndnSIM] [ndnSim] About to parse the NDN packet in pcap file Message-ID: <708F432711EB3148B58594E6DDFE8E1DCBC14051@MBOX2-4.ntu.internal> Hello everyone, I want to parse NDN packets in the pcap file generated from ndnSim. By checking the previous mailing list, Alex pointed out that there might have 3 ways to do it. 1/ update wireshark plugin so that it can process PPP protocol 0x0077 as NDN packets 2/ use ndndump to parse 3/ use UDP tunnels in ndnSim My question is 1/ If I choose the first way, how can I update the wireshark plugin? Can anyone tell me the steps about how to do that or just simply where I can find the information? 2/ I tried ndndump with both new and old versions to read the pcap file. The output only gave "ndndump: reading from xxx.pcap" but nothing else about the capture. However, it does work when I use tcpdump to parse though it treats packet as unknown PPP protocol. Do I use ndndump in a wrong way? or miss some configurations? Thanks for the help. Sincerely, Rex -------------- next part -------------- An HTML attachment was scrubbed... URL: From shahneela.cs at gmail.com Fri Sep 12 07:16:15 2014 From: shahneela.cs at gmail.com (Shahneela Naz) Date: Fri, 12 Sep 2014 10:16:15 -0400 Subject: [ndnSIM] query about interfaces of a node Message-ID: Dear Users, I want to make a little change in cache-with-probability class that if a node has certain number of interfaces it should add a content. For this I want to know number of interfaces to which the node is attached. but when I try to get a node as follows Ptr n = This->GetObject(); it gives error that the function is defined out of scope. it is the problem due to virtual or inline function calls... can any one kindly help me on this.. If I want to get information related to a node while using policy traits. how can I do this.. regards, Shahneela -------------- next part -------------- An HTML attachment was scrubbed... URL: From junaidkhanfastian at gmail.com Wed Sep 3 15:20:27 2014 From: junaidkhanfastian at gmail.com (Junaid Ahmed Khan) Date: Thu, 4 Sep 2014 00:20:27 +0200 Subject: [ndnSIM] boost issue ndnSIM with Mac OS X Message-ID: Hello Everyone, I am trying to build ndnSIM in Mac OS X. I am unable to compile and having issues with boost. I installed latest boost version along with the iostream libraries. I followed all the instructions regarding the issue on the ndnSIM website and other boost issue related website but still I could not figure out the problem. My build log is as follows: Junaids-MacBook-Pro:ns-3 junaidahmedkhan$ ./waf configure --boost-includes=$BOOSTDIR/include --boost-libs=$BOOSTDIR/lib --enable-examples --enable-ndn-plugins=topology,mobility Setting top to : /Users/junaidahmedkhan/Desktop/ndnSIM/ns-3 Setting out to : /Users/junaidahmedkhan/Desktop/ndnSIM/ns-3/build Checking for 'gcc' (c compiler) : /usr/bin/gcc Checking for cc version : 4.2.1 Checking for 'g++' (c++ compiler) : /usr/bin/g++ Checking for program python : /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python Checking for python version : (2, 7, 7, 'final', 0) Checking for library python2.7 in LIBDIR : yes Checking for program python-config : /Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7-config Checking for header Python.h : yes Checking for compilation flag -fvisibility=hidden... support : ok Checking for compilation flag -Wno-array-bounds... support : not found Checking for pybindgen location : ../pybindgen (guessed) Checking for python module 'pybindgen' : ok Checking for pybindgen version : 0.16.0.898 Checking for types uint64_t and unsigned long equivalence : no Checking for types uint64_t and unsigned long long equivalence : yes Checking for the apidefs that can be used for Python bindings : gcc-ILP32 Checking for internal GCC cxxabi : incomplete Checking for python module 'pygccxml' : not found Checking boost includes : ok Checking boost libs : ok Checking for boost linkage : ok Checking for click location : not found Checking for program pkg-config : /opt/local/bin/pkg-config Checking for 'gtk+-2.0' >= 2.12 : yes Checking for 'libxml-2.0' >= 2.7 : yes Checking for type uint128_t : not found Checking for type __uint128_t : yes Checking high precision time implementation : 128-bit integer Checking for header stdint.h : yes Checking for header inttypes.h : yes Checking for header sys/inttypes.h : not found Checking for header sys/types.h : yes Checking for header sys/stat.h : yes Checking for header dirent.h : yes Checking for header stdlib.h : yes Checking for header signal.h : yes Checking for header pthread.h : yes Checking for header stdint.h : yes Checking for header inttypes.h : yes Checking for header sys/inttypes.h : not found Checking for library rt : not found Checking for header netpacket/packet.h : not found Checking for header sys/ioctl.h : yes Checking for header net/if.h : not found Checking for header net/ethernet.h : yes Checking for header linux/if_tun.h : not found Checking for header netpacket/packet.h : not found Checking for NSC location : not found Traceback (most recent call last): File "/Users/junaidahmedkhan/Desktop/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Scripting.py", line 97, in waf_entry_point run_commands() File "/Users/junaidahmedkhan/Desktop/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Scripting.py", line 153, in run_commands ctx=run_command(cmd_name) File "/Users/junaidahmedkhan/Desktop/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Scripting.py", line 146, in run_command ctx.execute() File "/Users/junaidahmedkhan/Desktop/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Configure.py", line 128, in execute super(ConfigurationContext,self).execute() File "/Users/junaidahmedkhan/Desktop/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Context.py", line 87, in execute self.recurse([os.path.dirname(g_module.root_path)]) File "/Users/junaidahmedkhan/Desktop/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Context.py", line 128, in recurse user_function(self) File "/Users/junaidahmedkhan/Desktop/ndnSIM/ns-3/wscript", line 371, in configure conf.recurse('src') File "/Users/junaidahmedkhan/Desktop/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Context.py", line 128, in recurse user_function(self) File "/Users/junaidahmedkhan/Desktop/ndnSIM/ns-3/src/wscript", line 63, in configure conf.recurse(module, mandatory=False) File "/Users/junaidahmedkhan/Desktop/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Context.py", line 128, in recurse user_function(self) File "/Users/junaidahmedkhan/Desktop/ndnSIM/ns-3/src/ndnSIM/wscript", line 64, in configure boost_version = conf.env.BOOST_VERSION.split('_') AttributeError: 'bool' object has no attribute ?split' Looking forward for your kind response? Thanks Kind Regards, Junaid Ahmed Khan +33.7.58.04.64.34 -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexander.afanasyev at ucla.edu Fri Sep 12 15:59:29 2014 From: alexander.afanasyev at ucla.edu (Alex Afanasyev) Date: Fri, 12 Sep 2014 15:59:29 -0700 Subject: [ndnSIM] Question on default forwarding strategy In-Reply-To: <53F79314.90108@cs.queensu.ca> References: <9A86301A-BEA7-420D-BFA5-2777EC0DC607@ucla.edu> <53F79314.90108@cs.queensu.ca> Message-ID: <14C47691-74CB-4DBC-9B0D-53DA818BF07F@ucla.edu> Hi Wenjie, Nonce is used to detect whether the network has any loops. If a node is receiving a similar interests (e.g., the same name) and different nonce, then it is either original requester retransmitted or somebody else in the network has expressed the same interest. If a node is receiving exactly the same interest (same name and nonce), then network has looped back the interest. In the latter case, the forwarding strategy can simply ignore such interest, while in the former case the strategy would remember the incoming face and will forward the data packet towards this face when/if it becomes available. --- Alex On Aug 22, 2014, at 11:59 AM, Wenjie Li wrote: > Hi Alex, > > I have a question on a piece of code about default forwarding strategy. > It locates in ndn-forwarding-strategy.cc, OnInterest(...) function. > > In the code, you check the the nonce of interest packet to check whether it is duplicated. Since in ndn-consumer.cc, you assign a different nonce to an interest packet even if it is retransmitted, I don't know the purpose of this check. It seems that the duplication will happen total randomly (according to some distribution set in consumer). How do you define such 'duplicate'. > > Thank you for your help. > > All the best, > > Wenjie Li > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim From alexander.afanasyev at ucla.edu Fri Sep 12 16:07:50 2014 From: alexander.afanasyev at ucla.edu (Alex Afanasyev) Date: Fri, 12 Sep 2014 16:07:50 -0700 Subject: [ndnSIM] query about interfaces of a node In-Reply-To: References: Message-ID: On Sep 12, 2014, at 7:16 AM, Shahneela Naz wrote: > Dear Users, > > I want to make a little change in cache-with-probability class that if a node has certain number of interfaces it should add a content. For this I want to know number of interfaces to which the node is attached. > > but when I try to get a node as follows > > Ptr n = This->GetObject(); > > it gives error that the function is defined out of scope. it is the problem due to virtual or inline function calls... > > can any one kindly help me on this.. If I want to get information related to a node while using policy traits. how can I do this.. Hi Shaneela, Where exactly you're adding this? If you're inside any of the policy methods, you can do something like: Ptr n = item->payload ()->GetContentStore()->template GetObject(); Note that there is "template" keyword before GetObject. Is is necessary, since policy and all policy methods are part of the template implementation. --- Alex > regards, > > Shahneela > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim From alexander.afanasyev at UCLA.EDU Fri Sep 12 16:14:20 2014 From: alexander.afanasyev at UCLA.EDU (Alex Afanasyev) Date: Fri, 12 Sep 2014 16:14:20 -0700 Subject: [ndnSIM] ndnSim is not working over Power line communication infrastructure In-Reply-To: <712FE4E7257849499414892DD92704BC5FC5CCCD@INFRAEX02.oxia.corp> References: <712FE4E7257849499414892DD92704BC5FC5CCCD@INFRAEX02.oxia.corp> Message-ID: <4E896F6D-9EDA-429B-9EF5-D4D7C74F26F4@ucla.edu> Not sure if my answer is too late. There is a known issue with some NetDevices. The simplest way to "fix" the problem is to apply the following patch to model/ndn-net-device-face.cc ======================================================================== diff --git a/model/ndn-net-device-face.cc b/model/ndn-net-device-face.cc index eb2b357..a140aca 100644 --- a/model/ndn-net-device-face.cc +++ b/model/ndn-net-device-face.cc @@ -89,7 +89,7 @@ NetDeviceFace::RegisterProtocolHandlers (const InterestHandler &interestHandler, Face::RegisterProtocolHandlers (interestHandler, dataHandler); m_node->RegisterProtocolHandler (MakeCallback (&NetDeviceFace::ReceiveFromNetDevice, this), - L3Protocol::ETHERNET_FRAME_TYPE, m_netDevice, true/*promiscuous mode*/); + 0, m_netDevice, false/*promiscuous mode*/); } void ======================================================================== The more complex way is to define custom NetDeviceFaceCallback. --- Alex On Jul 11, 2014, at 4:39 AM, Nour El Houda Ben Youssef wrote: > Dear all > > I?ve been trying to use ndnSIm over a power line communication infrastructure > > To do so I used a PLC module for NS3 (http://www.ece.ubc.ca/~faribaa/ns3_plc_software.htm) that I?ve been using with TCP/IP > > I wrote the joined script simulation which is working with TCP stack but when I try ndnSIM with the same infrastructure no data is received by the consumer > > Please help > > Nour El Houda Ben Youssef Koubaa > Doctorante Mobidoc - OXIA/SAGE > Mast?re nouvelle g?n?ration des syst?mes d'informations - FST > Ing?nieur G?nie Logiciel - INSAT > > _______________________________________________ > 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 iliamo at ucla.edu Mon Sep 15 10:23:05 2014 From: iliamo at ucla.edu (Ilya Moiseenko) Date: Mon, 15 Sep 2014 10:23:05 -0700 Subject: [ndnSIM] when is a new NetDeviceFaceCallback needed? In-Reply-To: <712FE4E7257849499414892DD92704BC5FC5CCE7@INFRAEX02.oxia.corp> References: <712FE4E7257849499414892DD92704BC5FC5CCE7@INFRAEX02.oxia.corp> Message-ID: <73A8D659-58C6-4725-8DCC-CEAB030B49CD@ucla.edu> NetDeviceFaceCallback is usually needed when you have your own custom NetDevice. Ilya On Jul 11, 2014, at 5:06 AM, Nour El Houda Ben Youssef wrote: > Dear all > > I?m trying to use CCN over Power line communication topology but unfortunately it?s not working > > Do I need to define a new NetDeviceFaceCallback to support PLC_Netdevice? > Can any example be provided to help me ? > > Best regards > > Nour El Houda Ben Youssef Koubaa > Doctorante Mobidoc - OXIA/SAGE > Mast?re nouvelle g?n?ration des syst?mes d'informations - FST > Ing?nieur G?nie Logiciel - INSAT > > _______________________________________________ > 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 dhiabimen at gmail.com Wed Sep 17 05:51:03 2014 From: dhiabimen at gmail.com (Dhiab Imen) Date: Wed, 17 Sep 2014 13:51:03 +0100 Subject: [ndnSIM] DumbRequester Message-ID: Hi, I'm trying to execute un exemple of content store in this site http://ndnsim.net/cs.html. But I find this error assert failed. cond="uid != 0", msg="Assert in TypeId::LookupByName: DumbRequester not found", file=../src/core/model/type-id.cc, line=539 terminate called without an active exception can you help me please. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rihab.jmal1 at gmail.com Wed Sep 17 06:37:35 2014 From: rihab.jmal1 at gmail.com (rihab jmal) Date: Wed, 17 Sep 2014 14:37:35 +0100 Subject: [ndnSIM] openflow network over CCN under NS3 Message-ID: Hi, please i would like to know if i can run an openflow network over CCN under NS3 (ndnsim) and if there is a module or an example simulating the integration of two paradigms. Best regards, RIHAB -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexander.afanasyev at ucla.edu Wed Sep 17 12:04:38 2014 From: alexander.afanasyev at ucla.edu (Alex Afanasyev) Date: Wed, 17 Sep 2014 12:04:38 -0700 Subject: [ndnSIM] DumbRequester In-Reply-To: References: Message-ID: <63931C93-9F2C-4178-A41C-CC942B2DE9ED@ucla.edu> DumbRequester is not part of ndnSIM module itself and needs to be compiled in with the scenario. If you're playing with your scenario in scratch/ folder, then you need to create a directory scratch/you-scenario then put scenario.cc, dumb-requester.cc, and dumb-requester.h into this folder. See http://www.nsnam.org/support/faq/writing-scripts/, specifically "Building many c++ files" section. --- Alex On Sep 17, 2014, at 5:51 AM, Dhiab Imen wrote: > Hi, > I'm trying to execute un exemple of content store in this site http://ndnsim.net/cs.html. > But I find this error > > assert failed. cond="uid != 0", msg="Assert in TypeId::LookupByName: DumbRequester not found", file=../src/core/model/type-id.cc, line=539 > terminate called without an active exception > > can you help me please. > _______________________________________________ > 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 zzfan at mail.ustc.edu.cn Sun Sep 21 05:05:07 2014 From: zzfan at mail.ustc.edu.cn (zzfan at mail.ustc.edu.cn) Date: Sun, 21 Sep 2014 20:05:07 +0800 (CST) Subject: [ndnSIM] About how to modify the structure of th pit. Message-ID: <10377367.833151411301107101.JavaMail.coremail@mailweb> Hi,all, I want to modify the structure of the pit entry, and I have successfully modify the structure of the interest(add some components), but I can't find the component of the pit,can ndnSIM allow me to do that? If it dose, can you give me some hints? From aloulounarjes at yahoo.fr Sat Sep 27 03:31:55 2014 From: aloulounarjes at yahoo.fr (narjes aloulou) Date: Sat, 27 Sep 2014 11:31:55 +0100 Subject: [ndnSIM] ForwardingStrategy & running error Message-ID: <1411813915.58455.YahooMailBasic@web172104.mail.ir2.yahoo.com> Hi, I add two different forwarding strategies in the /model/fw. Then, I use them in my scenario. However, when I run the program, I have this error: finished successfully (1.131s) assert failed. cond="uid != 0", msg="Assert in TypeId::LookupByName: ns3::ndn::fw::ForwardingStrategy not found", file=../src/core/model/type-id.cc, line=539 terminate called without an active exception Command ['/home/narjes/workspace/ndnSIM/ns-3/build/scratch/bloomfilter-scenario'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run --command-template="gdb --args %s "). (I use Ubuntu 14.04) Thank you for your help. best regards Narjes From haroonr at iiitd.ac.in Mon Sep 29 03:02:42 2014 From: haroonr at iiitd.ac.in (Haroon Rashid) Date: Mon, 29 Sep 2014 15:32:42 +0530 Subject: [ndnSIM] Simulation stopping time Message-ID: Hello All, I am not able to control the simulation time in ndnSIM. For e.g, If I want to finish simulation by 5 seconds I use* Simulator:: Stop (Seconds (5));* But, it seems that simulator ignores this. To stop the simulation I forcibly close terminal (ctrl+c). Please suggest possible solutions. -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexander.afanasyev at ucla.edu Mon Sep 29 11:14:58 2014 From: alexander.afanasyev at ucla.edu (Alex Afanasyev) Date: Mon, 29 Sep 2014 11:14:58 -0700 Subject: [ndnSIM] Simulation stopping time In-Reply-To: References: Message-ID: <21B95810-3211-4309-A692-DEF85C0FF51B@ucla.edu> Hi Haroon, I could be wrong, but I feel you have a small confusion about what Simulator::Stop does. Simulator::Stop defines when the simulation stops in simulation time, not real time. In real time it can take long time, depending on the specific topology and scenario. --- Alex On Sep 29, 2014, at 3:02 AM, Haroon Rashid wrote: > Hello All, > I am not able to control the simulation time in ndnSIM. For e.g, If I want to finish simulation by 5 seconds I use Simulator:: Stop (Seconds (5)); > > But, it seems that simulator ignores this. To stop the simulation I forcibly close terminal (ctrl+c). > Please suggest possible solutions. > > > > > > _______________________________________________ > 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 haroonr at iiitd.ac.in Mon Sep 29 11:32:10 2014 From: haroonr at iiitd.ac.in (Haroon Rashid) Date: Tue, 30 Sep 2014 00:02:10 +0530 Subject: [ndnSIM] Simulation stopping time In-Reply-To: <21B95810-3211-4309-A692-DEF85C0FF51B@ucla.edu> References: <21B95810-3211-4309-A692-DEF85C0FF51B@ucla.edu> Message-ID: Hi Alex, Yes, you are right. I was thinking of the same. But, I want to know how we can relate simulation time to the actual time. For e.g., If I want to keep the network up for 5 minutes in real time then what should I put in the simulation stopping time (5 minutes or something else). On Mon, Sep 29, 2014 at 11:44 PM, Alex Afanasyev < alexander.afanasyev at ucla.edu> wrote: > Hi Haroon, > > I could be wrong, but I feel you have a small confusion about what > Simulator::Stop does. Simulator::Stop defines when the simulation stops in > simulation time, not real time. In real time it can take long time, > depending on the specific topology and scenario. > > --- > Alex > > On Sep 29, 2014, at 3:02 AM, Haroon Rashid wrote: > > Hello All, > I am not able to control the simulation time in ndnSIM. For e.g, If I > want to finish simulation by 5 seconds I use* Simulator:: Stop (Seconds > (5));* > > But, it seems that simulator ignores this. To stop the simulation I > forcibly close terminal (ctrl+c). > Please suggest possible solutions. > > > > > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > > -- Haroon Rashid -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexander.afanasyev at UCLA.EDU Mon Sep 29 12:01:16 2014 From: alexander.afanasyev at UCLA.EDU (Alex Afanasyev) Date: Mon, 29 Sep 2014 12:01:16 -0700 Subject: [ndnSIM] Simulation stopping time In-Reply-To: References: <21B95810-3211-4309-A692-DEF85C0FF51B@ucla.edu> Message-ID: <71B04578-B609-4BDA-9CE0-8489187B9522@ucla.edu> Hi Haroon, To simulate 5 seconds of network activity, you would want to put Stop(Seconds(5)) in your scenario. How long such a simulation will take depends on many factors, including machine CPU, memory, topology, and the actual scenario. But in any case, even if it takes 3 days to finish, NS-3/ndnSIM will simulate just 5 seconds of the network activity in the scenario you have defined. --- Alex On Sep 29, 2014, at 11:32 AM, Haroon Rashid wrote: > Hi Alex, > > Yes, you are right. I was thinking of the same. But, I want to know how we can relate simulation time to the actual time. For e.g., If I want to keep the network up for 5 minutes in real time then what should I put in the simulation stopping time (5 minutes or something else). > > On Mon, Sep 29, 2014 at 11:44 PM, Alex Afanasyev wrote: > Hi Haroon, > > I could be wrong, but I feel you have a small confusion about what Simulator::Stop does. Simulator::Stop defines when the simulation stops in simulation time, not real time. In real time it can take long time, depending on the specific topology and scenario. > > --- > Alex > > On Sep 29, 2014, at 3:02 AM, Haroon Rashid wrote: > >> Hello All, >> I am not able to control the simulation time in ndnSIM. For e.g, If I want to finish simulation by 5 seconds I use Simulator:: Stop (Seconds (5)); >> >> But, it seems that simulator ignores this. To stop the simulation I forcibly close terminal (ctrl+c). >> Please suggest possible solutions. > > > > -- > Haroon Rashid > > > _______________________________________________ > 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 haroonr at iiitd.ac.in Mon Sep 29 19:05:06 2014 From: haroonr at iiitd.ac.in (Haroon Rashid) Date: Tue, 30 Sep 2014 07:35:06 +0530 Subject: [ndnSIM] About to parse the NDN packet in pcap file Message-ID: Hi Rex, For updating of Wireshark plugin you can use the following source: https://github.com/ProjectCCNx/ccnx/blob/master/apps/wireshark/README-wireshark-1.4.txt -- Haroon Rashid -------------- next part -------------- An HTML attachment was scrubbed... URL: From haroonr at iiitd.ac.in Tue Sep 30 04:32:40 2014 From: haroonr at iiitd.ac.in (Haroon Rashid) Date: Tue, 30 Sep 2014 17:02:40 +0530 Subject: [ndnSIM] Distributed Application in CCN domain Message-ID: Dear All, I am curious to know how a distributed application works in CCN paradigm. Consider a scenario where an application is having three threads (logical processes) running on three nodes (three processors of a single node). Now, if these three processes want to communicate with each other for a certain reason. How can I achieve the same in CCN, i.e., (a) how processes can refer to each other (NAMING CONCERN) (b) will the format of Interest and Data packets will be same as that of current packet structure in CCN/NDN. Since, these communication messages might be very short like Hello packets or status request of a node. Is there any simple distributed application with which I can start working and come out with different possibilities of communication between processes of an application? Furthermore, I would like to mention that I want do this in ndnSIM. Currently, is there any support (libraries) in ndnSIM for doing this. Another concern I am thinking is that I know that CCN is pull based approach. Can I mix a push based approach for some messages in a distributed scenario discussed above without violating CCN paradigm? Best, Haroon Rashid -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexander.afanasyev at UCLA.EDU Tue Sep 30 13:08:50 2014 From: alexander.afanasyev at UCLA.EDU (Alex Afanasyev) Date: Tue, 30 Sep 2014 13:08:50 -0700 Subject: [ndnSIM] ForwardingStrategy & running error In-Reply-To: <1411813915.58455.YahooMailBasic@web172104.mail.ir2.yahoo.com> References: <1411813915.58455.YahooMailBasic@web172104.mail.ir2.yahoo.com> Message-ID: Hi Narjes, In which file(s) did you define the new strategies? Are you sure they are compiled together with your scenario? I frequently forget to add NS_OBJECT_ENSURE_REGISTERED(MyStrategyClass); to ensure that the new strategy is registered in NS-3 object system. --- Alex On Sep 27, 2014, at 3:31 AM, narjes aloulou wrote: > > Hi, > > I add two different forwarding strategies in the /model/fw. Then, I use them in my scenario. However, when I run the program, I have this error: > > finished successfully (1.131s) assert failed. cond="uid != 0", msg="Assert in TypeId::LookupByName: ns3::ndn::fw::ForwardingStrategy not found", > file=../src/core/model/type-id.cc, line=539 terminate called without an active exception Command ['/home/narjes/workspace/ndnSIM/ns-3/build/scratch/bloomfilter-scenario'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run --command-template="gdb --args %s "). > > (I use Ubuntu 14.04) > > Thank you for your help. > > best regards > > Narjes > > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim From iliamo at ucla.edu Tue Sep 30 16:45:56 2014 From: iliamo at ucla.edu (Ilya Moiseenko) Date: Tue, 30 Sep 2014 16:45:56 -0700 Subject: [ndnSIM] Distributed Application in CCN domain In-Reply-To: References: Message-ID: <2F3CDC59-A99B-4698-A9E6-8AE9107C6EC8@ucla.edu> I don?t work with CCNx daemon, but with NFD daemon each of your threads can register its own individual name like 1) /chatapp/thread1 2) /chatapp/thread2 3) /chatapp/thread3 I didn?t understand question b), but you can have intra-process communication with Interest and Data packets in NFD. Regarding ndnSIM, in normal mode, its core works in a single thread, and it?s not that trivial to make your simulation scenario run in multiple-threads. You can refer to general NS-3 documentation for help. To find some information about ?pushing? you can find the section talking about "Command Interests" in NFD developers guide. Ilya On Sep 30, 2014, at 4:32 AM, Haroon Rashid wrote: > Dear All, > > I am curious to know how a distributed application works in CCN paradigm. Consider a scenario where an application is having three threads (logical processes) running on three nodes (three processors of a single node). Now, if these three processes want to communicate with each other for a certain reason. How can I achieve the same in CCN, i.e., (a) how processes can refer to each other (NAMING CONCERN) (b) will the format of Interest and Data packets will be same as that of current packet structure in CCN/NDN. Since, these communication messages might be very short like Hello packets or status request of a node. > > > > Is there any simple distributed application with which I can start working and come out with different possibilities of communication between processes of an application? Furthermore, I would like to mention that I want do this in ndnSIM. Currently, is there any support (libraries) in ndnSIM for doing this. > > > > Another concern I am thinking is that I know that CCN is pull based approach. Can I mix a push based approach for some messages in a distributed scenario discussed above without violating CCN paradigm? > > > > Best, > > Haroon Rashid > > > _______________________________________________ > 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 haroonr at iiitd.ac.in Tue Sep 30 23:26:54 2014 From: haroonr at iiitd.ac.in (Haroon Rashid) Date: Wed, 1 Oct 2014 11:56:54 +0530 Subject: [ndnSIM] ndnSIM Digest, Vol 22, Issue 6 In-Reply-To: References: Message-ID: Some more clarifications: 1> By CCN I mean CCN/NDN paradigm and not the CCN daemon. How come a thread would come to know the name of another thread, because threads created by a parent process are unaware of each other. 2> Right now my concern is only about ndnSIM. I don?t know anything about NFD. While searching, I found there is something MPI in NS-3, but I am not sure do I need this one or something else. 3> By distributed application I mean an application which can be divided into some threads such that each thread work parallely. End result of such a process execution should be same as that of its serial execution. On Wed, Oct 1, 2014 at 5:16 AM, wrote: > Send ndnSIM mailing list submissions to > ndnsim at lists.cs.ucla.edu > > To subscribe or unsubscribe via the World Wide Web, visit > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > or, via email, send a message with subject or body 'help' to > ndnsim-request at lists.cs.ucla.edu > > You can reach the person managing the list at > ndnsim-owner at lists.cs.ucla.edu > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of ndnSIM digest..." > > > Today's Topics: > > 1. Re: Simulation stopping time (Alex Afanasyev) > 2. Re: About to parse the NDN packet in pcap file (Haroon Rashid) > 3. Distributed Application in CCN domain (Haroon Rashid) > 4. Re: ForwardingStrategy & running error (Alex Afanasyev) > 5. Re: Distributed Application in CCN domain (Ilya Moiseenko) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 29 Sep 2014 12:01:16 -0700 > From: Alex Afanasyev > To: Haroon Rashid > Cc: ndnsim at lists.cs.ucla.edu > Subject: Re: [ndnSIM] Simulation stopping time > Message-ID: <71B04578-B609-4BDA-9CE0-8489187B9522 at ucla.edu> > Content-Type: text/plain; charset="us-ascii" > > Hi Haroon, > > To simulate 5 seconds of network activity, you would want to put > Stop(Seconds(5)) in your scenario. How long such a simulation will take > depends on many factors, including machine CPU, memory, topology, and the > actual scenario. But in any case, even if it takes 3 days to finish, > NS-3/ndnSIM will simulate just 5 seconds of the network activity in the > scenario you have defined. > > --- > Alex > > On Sep 29, 2014, at 11:32 AM, Haroon Rashid wrote: > > > Hi Alex, > > > > Yes, you are right. I was thinking of the same. But, I want to know how > we can relate simulation time to the actual time. For e.g., If I want to > keep the network up for 5 minutes in real time then what should I put in > the simulation stopping time (5 minutes or something else). > > > > On Mon, Sep 29, 2014 at 11:44 PM, Alex Afanasyev < > alexander.afanasyev at ucla.edu> wrote: > > Hi Haroon, > > > > I could be wrong, but I feel you have a small confusion about what > Simulator::Stop does. Simulator::Stop defines when the simulation stops in > simulation time, not real time. In real time it can take long time, > depending on the specific topology and scenario. > > > > --- > > Alex > > > > On Sep 29, 2014, at 3:02 AM, Haroon Rashid wrote: > > > >> Hello All, > >> I am not able to control the simulation time in ndnSIM. For e.g, If I > want to finish simulation by 5 seconds I use Simulator:: Stop (Seconds (5)); > >> > >> But, it seems that simulator ignores this. To stop the simulation I > forcibly close terminal (ctrl+c). > >> Please suggest possible solutions. > > > > > > > > -- > > Haroon Rashid > > > > > > _______________________________________________ > > 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: < > http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20140929/c34ad728/attachment-0001.html > > > > ------------------------------ > > Message: 2 > Date: Tue, 30 Sep 2014 07:35:06 +0530 > From: Haroon Rashid > To: r01942061 at ntu.edu.tw > Cc: ndnsim at lists.cs.ucla.edu > Subject: Re: [ndnSIM] About to parse the NDN packet in pcap file > Message-ID: > hnc0SpyamhA at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Hi Rex, > > For updating of Wireshark plugin you can use the following source: > > > https://github.com/ProjectCCNx/ccnx/blob/master/apps/wireshark/README-wireshark-1.4.txt > > > -- > Haroon Rashid > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20140930/12d37b0b/attachment-0001.html > > > > ------------------------------ > > Message: 3 > Date: Tue, 30 Sep 2014 17:02:40 +0530 > From: Haroon Rashid > To: ndnsim at lists.cs.ucla.edu > Subject: [ndnSIM] Distributed Application in CCN domain > Message-ID: > 23rnpaObESK0NdTJY-3nQgonng at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Dear All, > > I am curious to know how a distributed application works in CCN paradigm. > Consider a scenario where an application is having three threads (logical > processes) running on three nodes (three processors of a single node). Now, > if these three processes want to communicate with each other for a certain > reason. How can I achieve the same in CCN, i.e., (a) how processes can > refer to each other (NAMING CONCERN) (b) will the format of Interest and > Data packets will be same as that of current packet structure in CCN/NDN. > Since, these communication messages might be very short like Hello packets > or status request of a node. > > > Is there any simple distributed application with which I can start working > and come out with different possibilities of communication between > processes of an application? Furthermore, I would like to mention that I > want do this in ndnSIM. Currently, is there any support (libraries) in > ndnSIM for doing this. > > > Another concern I am thinking is that I know that CCN is pull based > approach. Can I mix a push based approach for some messages in a > distributed scenario discussed above without violating CCN paradigm? > > > Best, > Haroon Rashid > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20140930/b990d9db/attachment-0001.html > > > > ------------------------------ > > Message: 4 > Date: Tue, 30 Sep 2014 13:08:50 -0700 > From: Alex Afanasyev > To: narjes aloulou > Cc: ndnsim at lists.cs.ucla.edu > Subject: Re: [ndnSIM] ForwardingStrategy & running error > Message-ID: > Content-Type: text/plain; charset=us-ascii > > Hi Narjes, > > In which file(s) did you define the new strategies? Are you sure they are > compiled together with your scenario? > > I frequently forget to add > > NS_OBJECT_ENSURE_REGISTERED(MyStrategyClass); > > to ensure that the new strategy is registered in NS-3 object system. > > --- > Alex > > On Sep 27, 2014, at 3:31 AM, narjes aloulou > wrote: > > > > > Hi, > > > > I add two different forwarding strategies in the /model/fw. Then, I use > them in my scenario. However, when I run the program, I have this error: > > > > finished successfully (1.131s) assert failed. cond="uid != 0", > msg="Assert in TypeId::LookupByName: ns3::ndn::fw::ForwardingStrategy not > found", > > file=../src/core/model/type-id.cc, line=539 terminate called without an > active exception Command > ['/home/narjes/workspace/ndnSIM/ns-3/build/scratch/bloomfilter-scenario'] > terminated with signal SIGIOT. Run it under a debugger to get more > information (./waf --run --command-template="gdb --args %s > "). > > > > (I use Ubuntu 14.04) > > > > Thank you for your help. > > > > best regards > > > > Narjes > > > > > > _______________________________________________ > > ndnSIM mailing list > > ndnSIM at lists.cs.ucla.edu > > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > > > > ------------------------------ > > Message: 5 > Date: Tue, 30 Sep 2014 16:45:56 -0700 > From: Ilya Moiseenko > To: Haroon Rashid > Cc: ndnsim at lists.cs.ucla.edu > Subject: Re: [ndnSIM] Distributed Application in CCN domain > Message-ID: <2F3CDC59-A99B-4698-A9E6-8AE9107C6EC8 at ucla.edu> > Content-Type: text/plain; charset="windows-1252" > > I don?t work with CCNx daemon, but with NFD daemon each of your threads > can register its own individual name like > 1) /chatapp/thread1 > 2) /chatapp/thread2 > 3) /chatapp/thread3 > > I didn?t understand question b), but you can have intra-process > communication with Interest and Data packets in NFD. > > Regarding ndnSIM, in normal mode, its core works in a single thread, and > it?s not that trivial to make your simulation scenario run in > multiple-threads. > You can refer to general NS-3 documentation for help. > > To find some information about ?pushing? you can find the section talking > about "Command Interests" in NFD developers guide. > > Ilya > > On Sep 30, 2014, at 4:32 AM, Haroon Rashid wrote: > > > Dear All, > > > > I am curious to know how a distributed application works in CCN > paradigm. Consider a scenario where an application is having three threads > (logical processes) running on three nodes (three processors of a single > node). Now, if these three processes want to communicate with each other > for a certain reason. How can I achieve the same in CCN, i.e., (a) how > processes can refer to each other (NAMING CONCERN) (b) will the format of > Interest and Data packets will be same as that of current packet structure > in CCN/NDN. Since, these communication messages might be very short like > Hello packets or status request of a node. > > > > > > > > Is there any simple distributed application with which I can start > working and come out with different possibilities of communication between > processes of an application? Furthermore, I would like to mention that I > want do this in ndnSIM. Currently, is there any support (libraries) in > ndnSIM for doing this. > > > > > > > > Another concern I am thinking is that I know that CCN is pull based > approach. Can I mix a push based approach for some messages in a > distributed scenario discussed above without violating CCN paradigm? > > > > > > > > Best, > > > > Haroon Rashid > > > > > > _______________________________________________ > > 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: < > http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20140930/5be69d5a/attachment.html > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > > ------------------------------ > > End of ndnSIM Digest, Vol 22, Issue 6 > ************************************* > -- Haroon Rashid -------------- next part -------------- An HTML attachment was scrubbed... URL: From haroonr at iiitd.ac.in Tue Sep 30 23:47:21 2014 From: haroonr at iiitd.ac.in (Haroon Rashid) Date: Wed, 1 Oct 2014 12:17:21 +0530 Subject: [ndnSIM] Distributed Application in CCN domain In-Reply-To: <2F3CDC59-A99B-4698-A9E6-8AE9107C6EC8@ucla.edu> References: <2F3CDC59-A99B-4698-A9E6-8AE9107C6EC8@ucla.edu> Message-ID: Some more clarifications: 1> By CCN I mean CCN/NDN paradigm and not the CCN daemon. How come a thread would come to know the name of another thread, because threads created by a parent process are unaware of each other. 2> Right now my concern is only about ndnSIM. I don?t know anything about NFD. While searching, I found there is something MPI in NS-3, but I am not sure do I need this one or something else. 3> By distributed application I mean an application which can be divided into some threads such that each thread work parallely. End result of such a process execution should be same as that of its serial execution. On Wed, Oct 1, 2014 at 5:15 AM, Ilya Moiseenko wrote: > I don?t work with CCNx daemon, but with NFD daemon each of your threads > can register its own individual name like > 1) /chatapp/thread1 > 2) /chatapp/thread2 > 3) /chatapp/thread3 > > I didn?t understand question b), but you can have intra-process > communication with Interest and Data packets in NFD. > > Regarding ndnSIM, in normal mode, its core works in a single thread, and > it?s not that trivial to make your simulation scenario run in > multiple-threads. > You can refer to general NS-3 documentation for help. > > To find some information about ?pushing? you can find the section talking > about "Command Interests" in NFD developers guide. > > Ilya > > On Sep 30, 2014, at 4:32 AM, Haroon Rashid wrote: > > Dear All, > > I am curious to know how a distributed application works in CCN paradigm. > Consider a scenario where an application is having three threads (logical > processes) running on three nodes (three processors of a single node). > Now, if these three processes want to communicate with each other for a > certain reason. How can I achieve the same in CCN, i.e., (a) how processes > can refer to each other (NAMING CONCERN) (b) will the format of Interest > and Data packets will be same as that of current packet structure in > CCN/NDN. Since, these communication messages might be very short like Hello > packets or status request of a node. > > > Is there any simple distributed application with which I can start working > and come out with different possibilities of communication between > processes of an application? Furthermore, I would like to mention that I > want do this in ndnSIM. Currently, is there any support (libraries) in > ndnSIM for doing this. > > > Another concern I am thinking is that I know that CCN is pull based > approach. Can I mix a push based approach for some messages in a > distributed scenario discussed above without violating CCN paradigm? > > > Best, > Haroon Rashid > > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > > -- Haroon Rashid -------------- next part -------------- An HTML attachment was scrubbed... URL: