From kerrouche.abdelali at yahoo.fr Sun Nov 1 11:00:54 2015 From: kerrouche.abdelali at yahoo.fr (Kerrouche Abdelali) Date: Sun, 1 Nov 2015 19:00:54 +0000 (UTC) Subject: [ndnSIM] How I can cheek the bandwidth References: <100121031.781366.1446404454951.JavaMail.yahoo@mail.yahoo.com> Message-ID: <100121031.781366.1446404454951.JavaMail.yahoo@mail.yahoo.com> Dears ALL, How can I access to the link Bandwidth for mange it,? in ndnSIM? In fact, I want know where I can find the Values of Bandwidth that I give to link by the following instruction:Config::SetDefault("ns3::PointToPointNetDevice::DataRate", StringValue("1Mbps")); How I can Access to this values for cheeks it; Best regards -------------- next part -------------- An HTML attachment was scrubbed... URL: From z.rezaiefar at yahoo.com Mon Nov 2 23:49:21 2015 From: z.rezaiefar at yahoo.com (Zeinab Rezaiefar) Date: Tue, 3 Nov 2015 16:49:21 +0900 Subject: [ndnSIM] a question about PIT in ndnsim References: <1547979439.5785970.1446208758655.JavaMail.yahoo@mail.yahoo.com> Message-ID: Hello, I would like to say that I want to modify PIT in ndnsim code. as I know in normal case in PIT when the interest message is satisfied by content message, it will be omitted from this table. However, I want to not omit this message when the related content will be received, but it will be omitted just after expire time. moreover, I want to save the receiving time of each Interest message separately although these messages are related to one content either from same or different interfaces. I have looked the pit.cpp code but unfortunately I have not understood where I should change. I become so thankful if you help me or send me some document that explains the content store code written in the ndnsim in detail. any help will be appreciate thanks in advance best regards -------------- next part -------------- An HTML attachment was scrubbed... URL: From sarantarnoi at gmail.com Thu Nov 5 19:28:48 2015 From: sarantarnoi at gmail.com (Saran Tarnoi) Date: Fri, 6 Nov 2015 12:28:48 +0900 Subject: [ndnSIM] How to add a new cache replacement policy Message-ID: Dear All, I want to add a new cache replacement policy to ndnSIM. Until now, I have been hard-coding existing files, such as lru-policy.h, to get a desired result. This method is obviously inefficient for real simulation. I would like to have a separate new policy file and make it callable from scenario files through a configuration in ndnHealper. For example, the following line of a scenario file allows CS to run NewPolicy. ndnHelper.SetOldContentStore("ns3::ndn::cs::NewPolicy", "MaxSize", "10000"); Which files do I should modify to get this ability? Your answers will be highly appreciated. Thank you. -- Yours sincerely, Saran -------------- next part -------------- An HTML attachment was scrubbed... URL: From gaoxlh at gmail.com Fri Nov 6 22:55:36 2015 From: gaoxlh at gmail.com (Shuai Gao) Date: Fri, 6 Nov 2015 23:55:36 -0700 Subject: [ndnSIM] Linking failure during compilng an example under ndnSIM2.1 Message-ID: Hi all, I have installed the ndnSIM 2.1 according to the guide during the "Getting Started". I can run the examples sucecssfully. Then I copy the example "ndn-simple.cpp" into "/ndnSIM2.1/scenario/scenarios" and rename it as "my-simple.cpp". After I run "./waf --run=my-simple", I get the following error: Waf: Entering directory `/home/gsxlh/ndnSIM2.1/scenario/build' [2/2] Linking build/my-simple /usr/bin/ld: warning: libboost_thread.so.1.54.0, needed by /usr/local/lib/libns3-dev-ndnSIM-optimized.so, may conflict with libboost_thread.so.1.57.0 /usr/bin/ld: warning: libboost_system.so.1.54.0, needed by /usr/local/lib/libns3-dev-ndnSIM-optimized.so, may conflict with libboost_system.so.1.57.0 /usr/bin/ld: warning: libboost_random.so.1.54.0, needed by /usr/local/lib/libns3-dev-ndnSIM-optimized.so, may conflict with libboost_random.so.1.57.0 /usr/bin/ld: warning: libboost_regex.so.1.54.0, needed by /usr/local/lib/libns3-dev-ndnSIM-optimized.so, may conflict with libboost_regex.so.1.57.0 /usr/bin/ld: warning: libboost_chrono.so.1.54.0, needed by /usr/local/lib/libns3-dev-ndnSIM-optimized.so, may conflict with libboost_chrono.so.1.57.0 /usr/bin/ld: warning: libboost_filesystem.so.1.54.0, needed by /usr/local/lib/libns3-dev-ndnSIM-optimized.so, may conflict with libboost_filesystem.so.1.57.0 /usr/local/lib/libns3-dev-emu-optimized.so: undefined reference to `ns3::LogComponent::LogComponent(std::string const&, ns3::LogLevel)' collect2: error: ld returned 1 exit status Waf: Leaving directory `/home/gsxlh/ndnSIM2.1/scenario/build' Build failed -> task in 'my-simple' failed (exit status 1): {task 3067429772L: cxxprogram my-simple.cpp.2.o -> my-simple} ['/usr/bin/g++', '-pthread', '-Wl,-Bdynamic', '-pthread', '-Wl,-Bdynamic', '-pthread', '-Wl,-Bdynamic', '-pthread', '-Wl,-Bdynamic', '-pthread', '-Wl,-Bdynamic' ...... Can you help me fix this error? -------------- next part -------------- An HTML attachment was scrubbed... URL: From ivanes at ufpa.br Mon Nov 9 10:26:27 2015 From: ivanes at ufpa.br (ivanes at ufpa.br) Date: Mon, 9 Nov 2015 10:26:27 -0800 (PST) Subject: [ndnSIM] NDN over IP (ndnSIM 2.1) Message-ID: <49f4ddb5bf0b12f34b36b5a6ce6a4a88@ufpa.br> Hello, I would like to know if it is possible to run simulations of NDN over IP with ndnSIM 2.1, and if it is possible, could someone give me an example please? Thanks in advance, Ivanes Ara?jo -------------- next part -------------- An HTML attachment was scrubbed... URL: From christian.kreuzberger at itec.aau.at Mon Nov 9 13:22:58 2015 From: christian.kreuzberger at itec.aau.at (Christian Kreuzberger) Date: Mon, 09 Nov 2015 22:22:58 +0100 Subject: [ndnSIM] =?utf-8?q?ndn=3A=3Atlv=3A=3AError_after_600_seconds_-_to?= =?utf-8?q?o_many_faces=3F?= In-Reply-To: <49f4ddb5bf0b12f34b36b5a6ce6a4a88@ufpa.br> References: <49f4ddb5bf0b12f34b36b5a6ce6a4a88@ufpa.br> Message-ID: <6a0fc3fb9cc86d509a9ebc9bcf93314b@itec.aau.at> Hi all, I have a rather large simulation where there are roughly 10000 nodes (clients) connected to one intermediate router, which is then connected to one server (it is not the most realistic scenario, I know). Using ndnSIM 2.1 (commit ef77416d5227d6e9123f7c3aaab719793379c2d7), I am getting an exception (ndn::tlv::Error) after roughly 600 seconds (something between 599.9 and 600.0 seconds, so suspiciously close to 600 seconds). I've tried with different client start times, it always crashes at 600 seconds (my application is set to run much much longer than 600 seconds). From debugging with gdb I saw that the Interest (or data packet) in question has the following name: /localhost/nfd/faces/list The backtrace (using gdb) looks like this (I've removed non-relevant lines like event handling and exception throw handling): #5 0x00007fffe8e06922 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #6 0x00007ffff23a7814 in boost::throw_exception > (e=...) at /usr/include/boost/throw_exception.hpp:67 #7 0x00007ffff23a6e21 in boost::exception_detail::throw_exception_ (x=..., current_function=0x7ffff26e33f0 "void ndn::Block::parse() const", file=0x7ffff26e2990 "../src/ndnSIM/ndn-cxx/src/encoding/block.cpp", line=340) at /usr/include/boost/throw_exception.hpp:84 #8 0x00007ffff23a9db1 in ndn::Block::parse (this=0x7fffffffc1e0) at ../src/ndnSIM/ndn-cxx/src/encoding/block.cpp:340 #9 0x00007ffff23f995c in ndn::nfd::FaceStatus::wireDecode (this=0x7fffffffc170, block=...) at ../src/ndnSIM/ndn-cxx/src/management/nfd-face-status.cpp:121 #10 0x00007ffff23f9738 in ndn::nfd::FaceStatus::FaceStatus (this=0x7fffffffc170, block=...) at ../src/ndnSIM/ndn-cxx/src/management/nfd-face-status.cpp:49 #11 0x00007ffff26059a8 in nfd::rib::RibManager::removeInvalidFaces (this=0x5ad20018, buffer=...) at ../src/ndnSIM/NFD/rib/rib-manager.cpp:704 #12 0x00007ffff260557b in nfd::rib::RibManager::fetchSegments (this=0x5ad20018, data=..., buffer=...) at ../src/ndnSIM/NFD/rib/rib-manager.cpp:679 #13 0x00007ffff2617f41 in boost::_mfi::mf2 >::operator() (this=0xa021be20, p=0x5ad20018, a1=..., a2=...) at /usr/include/boost/bind/mem_fn_template.hpp:280 #14 0x00007ffff2616040 in boost::_bi::list3, boost::arg<2>, boost::_bi::value > >::operator() >, boost::_bi::list2 > (this=0xa021be30, f=..., a=...) at /usr/include/boost/bind/bind.hpp:392 #15 0x00007ffff2612c44 in boost::_bi::bind_t >, boost::_bi::list3, boost::arg<2>, boost::_bi::value > > >::operator() (this=0xa021be20, a1=..., a2=...) at /usr/include/boost/bind/bind_template.hpp:76 #16 0x00007ffff260eeb2 in std::_Function_handler >, boost::_bi::list3, boost::arg<2>, boost::_bi::value > > > >::_M_invoke(std::_Any_data const&, ndn::Interest const&, ndn::Data&) (__functor=..., __args#0=..., __args#1=...) at /usr/include/c++/4.8/functional:2071 #17 0x00007ffff23c0d63 in std::function::operator()(ndn::Interest const&, ndn::Data&) const (this=0x98f2a648, __args#0=..., __args#1=...) at /usr/include/c++/4.8/functional:2471 #18 0x00007ffff23be299 in ndn::PendingInterest::invokeDataCallback (this=0x98f2a638, data=...) at ../src/ndnSIM/ndn-cxx/src/detail/pending-interest.hpp:81 #19 0x00007ffff23bf41d in ndn::Face::Impl::satisfyPendingInterests (this=0x5ad1ce20, data=...) at ../src/ndnSIM/ndn-cxx/src/detail/face-impl.hpp:140 #20 0x00007ffff23be88e in ndn::Face::Impl::NfdFace::sendData(ndn::Data const&)::{lambda()#1}::operator()() const (__closure=0x81b20ed0) at ../src/ndnSIM/ndn-cxx/src/detail/face-impl.hpp:91 #21 0x00007ffff23c3ddc in std::_Function_handler::_M_invoke(std::_Any_data const&) (__functor=...) at /usr/include/c++/4.8/functional:2071 #22 0x00007ffff23c0e4a in std::function::operator()() const (this=0x9ada39c0) at /usr/include/c++/4.8/functional:2471 #23 0x00007ffff2514135 in ns3::EventImpl* ns3::MakeEvent::*)() const, std::function >(void (std::function::*)() const, std::function)::EventMemberImpl0::Notify() (this=0x9ada39b0) at ./ns3/make-event.h:323 I haven't had much time to debug, but I am suspecting my unusually large number of client nodes (10k) is too much for the RIB Manager (?) to process. I'm also not sure what this RIB Manager is doing, because I haven't explicitly activated it (at least I don't know about it). I did find the source that seems to be causing the event after 600 seconds though: NFD/rib/remote-registrator.cpp I will try to provide scenario code to reproduce the problem tomorrow, for now I'm just looking for some more pointers for debugging so I can produce a better (more helpful) bug report (which I will then, as always, submit to redmine). Thanks Christian From christian.kreuzberger at itec.aau.at Tue Nov 10 04:35:10 2015 From: christian.kreuzberger at itec.aau.at (Christian Kreuzberger) Date: Tue, 10 Nov 2015 13:35:10 +0100 Subject: [ndnSIM] ndn::tlv::Error after 600 seconds - too many faces? In-Reply-To: <001801d11bb4$28fbf840$7af3e8c0$@itec.aau.at> References: <49f4ddb5bf0b12f34b36b5a6ce6a4a88@ufpa.br> <6a0fc3fb9cc86d509a9ebc9bcf93314b@itec.aau.at> <001801d11bb4$28fbf840$7af3e8c0$@itec.aau.at> Message-ID: <001a01d11bb4$3d2c6d40$b78547c0$@itec.aau.at> After some heavy debugging (involving coffee, gdb and fprintf), I found the cause and I have written a bug report: http://redmine.named-data.net/issues/3326 In short, it is caused by having many (virtual) faces (so it's not only related to the number of nodes, but also to the number of applications, etc...) and having a deactivated or too small content store. > -----Original Message----- > From: Christian Kreuzberger [mailto:christian.kreuzberger at itec.aau.at] > Sent: Tuesday, November 10, 2015 1:35 PM > To: 'Christian Kreuzberger' > Subject: RE: [ndnSIM] ndn::tlv::Error after 600 seconds - too many faces? > > After some heavy debugging (involving coffee, gdb and fprintf), I found the > cause and I have written a bug report: > http://redmine.named-data.net/issues/3326 > In short, it is caused by having many (virtual) faces (so it's not only related to > the number of nodes, but also to the number of applications, > etc...) and having a deactivated or too small content store. > > > > -----Original Message----- > > From: ndnSIM [mailto:ndnsim-bounces at lists.cs.ucla.edu] On Behalf Of > > Christian Kreuzberger > > Sent: Monday, November 09, 2015 10:23 PM > > To: ndnSIM at lists.cs.ucla.edu > > Subject: [ndnSIM] ndn::tlv::Error after 600 seconds - too many faces? > > > > Hi all, > > > > I have a rather large simulation where there are roughly 10000 nodes > > (clients) connected to one intermediate router, which is then connected to > > one server (it is not the most realistic scenario, I know). > > Using ndnSIM 2.1 (commit ef77416d5227d6e9123f7c3aaab719793379c2d7), I > > am getting an exception (ndn::tlv::Error) after roughly 600 seconds > > (something between 599.9 and 600.0 seconds, so suspiciously close to 600 > > seconds). I've tried with different client start times, it always crashes > at 600 > > seconds (my application is set to run much much longer than 600 seconds). > > > > From debugging with gdb I saw that the Interest (or data packet) in > question > > has the following name: /localhost/nfd/faces/list > > > > > > The backtrace (using gdb) looks like this (I've removed non-relevant > > lines like event handling and exception throw handling): > > > > > > #5 0x00007fffe8e06922 in __cxa_throw () from > > /usr/lib/x86_64-linux-gnu/libstdc++.so.6 > > #6 0x00007ffff23a7814 in > > > boost::throw_exception > tlv::Error> > > > (e=...) at /usr/include/boost/throw_exception.hpp:67 > > #7 0x00007ffff23a6e21 in > > boost::exception_detail::throw_exception_ (x=..., > > current_function=0x7ffff26e33f0 > const::__PRETTY_FUNCTION__> "void ndn::Block::parse() const", > > file=0x7ffff26e2990 "../src/ndnSIM/ndn-cxx/src/encoding/block.cpp", > > line=340) at /usr/include/boost/throw_exception.hpp:84 > > #8 0x00007ffff23a9db1 in ndn::Block::parse (this=0x7fffffffc1e0) at > > ../src/ndnSIM/ndn-cxx/src/encoding/block.cpp:340 > > #9 0x00007ffff23f995c in ndn::nfd::FaceStatus::wireDecode > > (this=0x7fffffffc170, block=...) at > > ../src/ndnSIM/ndn-cxx/src/management/nfd-face-status.cpp:121 > > #10 0x00007ffff23f9738 in ndn::nfd::FaceStatus::FaceStatus > > (this=0x7fffffffc170, block=...) at > > ../src/ndnSIM/ndn-cxx/src/management/nfd-face-status.cpp:49 > > #11 0x00007ffff26059a8 in nfd::rib::RibManager::removeInvalidFaces > > (this=0x5ad20018, buffer=...) at > > ../src/ndnSIM/NFD/rib/rib-manager.cpp:704 > > #12 0x00007ffff260557b in nfd::rib::RibManager::fetchSegments > > (this=0x5ad20018, data=..., buffer=...) at > > ../src/ndnSIM/NFD/rib/rib-manager.cpp:679 > > #13 0x00007ffff2617f41 in boost::_mfi::mf2 > ndn::Data const&, std::shared_ptr >::operator() > > (this=0xa021be20, p=0x5ad20018, a1=..., a2=...) > > at /usr/include/boost/bind/mem_fn_template.hpp:280 > > #14 0x00007ffff2616040 in > > boost::_bi::list3, > > boost::arg<2>, boost::_bi::value > > > >::operator() > const&, std::shared_ptr >, > > boost::_bi::list2 > (this=0xa021be30, > > f=..., a=...) at /usr/include/boost/bind/bind.hpp:392 > > #15 0x00007ffff2612c44 in boost::_bi::bind_t > boost::_mfi::mf2 > std::shared_ptr >, > > boost::_bi::list3, > > boost::arg<2>, boost::_bi::value > > > > > >::operator() (this=0xa021be20, a1=..., a2=...) > at > > /usr/include/boost/bind/bind_template.hpp:76 > > #16 0x00007ffff260eeb2 in std::_Function_handler > const&, ndn::Data&), boost::_bi::bind_t > nfd::rib::RibManager, ndn::Data const&, > > std::shared_ptr >, > > boost::_bi::list3, > > boost::arg<2>, boost::_bi::value > > > > > > >::_M_invoke(std::_Any_data const&, ndn::Interest const&, > ndn::Data&) > > (__functor=..., __args#0=..., __args#1=...) > > at /usr/include/c++/4.8/functional:2071 > > #17 0x00007ffff23c0d63 in std::function > ndn::Data&)>::operator()(ndn::Interest const&, ndn::Data&) const > > (this=0x98f2a648, __args#0=..., __args#1=...) at > > /usr/include/c++/4.8/functional:2471 > > #18 0x00007ffff23be299 in ndn::PendingInterest::invokeDataCallback > > (this=0x98f2a638, data=...) at > > ../src/ndnSIM/ndn-cxx/src/detail/pending-interest.hpp:81 > > #19 0x00007ffff23bf41d in ndn::Face::Impl::satisfyPendingInterests > > (this=0x5ad1ce20, data=...) at > > ../src/ndnSIM/ndn-cxx/src/detail/face-impl.hpp:140 > > #20 0x00007ffff23be88e in ndn::Face::Impl::NfdFace::sendData(ndn::Data > > const&)::{lambda()#1}::operator()() const (__closure=0x81b20ed0) at > > ../src/ndnSIM/ndn-cxx/src/detail/face-impl.hpp:91 > > #21 0x00007ffff23c3ddc in std::_Function_handler > ndn::Face::Impl::NfdFace::sendData(ndn::Data > > const&)::{lambda()#1}>::_M_invoke(std::_Any_data const&) > (__functor=...) > > at /usr/include/c++/4.8/functional:2071 > > #22 0x00007ffff23c0e4a in std::function::operator()() const > > (this=0x9ada39c0) at /usr/include/c++/4.8/functional:2471 > > #23 0x00007ffff2514135 in ns3::EventImpl* ns3::MakeEvent > (std::function::*)() const, std::function >(void > > (std::function::*)() const, std::function > ()>)::EventMemberImpl0::Notify() (this=0x9ada39b0) > > at ./ns3/make-event.h:323 > > > > > > > > I haven't had much time to debug, but I am suspecting my unusually large > > number of client nodes (10k) is too much for the RIB Manager (?) to > > process. I'm also not sure what this RIB Manager is doing, because I > > haven't explicitly activated it (at least I don't know about it). I did > > find the source that seems to be causing the event after 600 seconds > > though: NFD/rib/remote-registrator.cpp > > > > I will try to provide scenario code to reproduce the problem tomorrow, > > for now I'm just looking for some more pointers for debugging so I can > > produce a better (more helpful) bug report (which I will then, as > > always, submit to redmine). > > > > Thanks > > Christian > > > > > > _______________________________________________ > > ndnSIM mailing list > > ndnSIM at lists.cs.ucla.edu > > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim From aa at CS.UCLA.EDU Wed Nov 11 01:44:34 2015 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Wed, 11 Nov 2015 11:44:34 +0200 Subject: [ndnSIM] ndn::tlv::Error after 600 seconds - too many faces? In-Reply-To: <001a01d11bb4$3d2c6d40$b78547c0$@itec.aau.at> References: <49f4ddb5bf0b12f34b36b5a6ce6a4a88@ufpa.br> <6a0fc3fb9cc86d509a9ebc9bcf93314b@itec.aau.at> <001801d11bb4$28fbf840$7af3e8c0$@itec.aau.at> <001a01d11bb4$3d2c6d40$b78547c0$@itec.aau.at> Message-ID: <8436F10F-01E9-47A8-8F72-33F3B95816DA@cs.ucla.edu> Hi Christian, This is a current limitation of the implementation. This was a temporary hack that normally doesn't have any effect on real deployment, but affecting the simulation. As Junxiao mentioned in redmine issue you created, we have a permanent fix in works. In your simulation you can cheat by directly accessing face information from simulation nodes. --- Alex > On Nov 10, 2015, at 2:35 PM, Christian Kreuzberger wrote: > > After some heavy debugging (involving coffee, gdb and fprintf), I found the > cause and I have written a bug report: > http://redmine.named-data.net/issues/3326 > In short, it is caused by having many (virtual) faces (so it's not only > related to the number of nodes, but also to the number of applications, > etc...) and having a deactivated or too small content store. > >> -----Original Message----- >> From: Christian Kreuzberger [mailto:christian.kreuzberger at itec.aau.at] >> Sent: Tuesday, November 10, 2015 1:35 PM >> To: 'Christian Kreuzberger' >> Subject: RE: [ndnSIM] ndn::tlv::Error after 600 seconds - too many faces? >> >> After some heavy debugging (involving coffee, gdb and fprintf), I found > the >> cause and I have written a bug report: >> http://redmine.named-data.net/issues/3326 >> In short, it is caused by having many (virtual) faces (so it's not only > related to >> the number of nodes, but also to the number of applications, >> etc...) and having a deactivated or too small content store. >> >> >>> -----Original Message----- >>> From: ndnSIM [mailto:ndnsim-bounces at lists.cs.ucla.edu] On Behalf Of >>> Christian Kreuzberger >>> Sent: Monday, November 09, 2015 10:23 PM >>> To: ndnSIM at lists.cs.ucla.edu >>> Subject: [ndnSIM] ndn::tlv::Error after 600 seconds - too many faces? >>> >>> Hi all, >>> >>> I have a rather large simulation where there are roughly 10000 nodes >>> (clients) connected to one intermediate router, which is then connected > to >>> one server (it is not the most realistic scenario, I know). >>> Using ndnSIM 2.1 (commit ef77416d5227d6e9123f7c3aaab719793379c2d7), I >>> am getting an exception (ndn::tlv::Error) after roughly 600 seconds >>> (something between 599.9 and 600.0 seconds, so suspiciously close to 600 >>> seconds). I've tried with different client start times, it always > crashes >> at 600 >>> seconds (my application is set to run much much longer than 600 > seconds). >>> >>> From debugging with gdb I saw that the Interest (or data packet) in >> question >>> has the following name: /localhost/nfd/faces/list >>> >>> >>> The backtrace (using gdb) looks like this (I've removed non-relevant >>> lines like event handling and exception throw handling): >>> >>> >>> #5 0x00007fffe8e06922 in __cxa_throw () from >>> /usr/lib/x86_64-linux-gnu/libstdc++.so.6 >>> #6 0x00007ffff23a7814 in >>> >> boost::throw_exception>> tlv::Error> >>>> (e=...) at /usr/include/boost/throw_exception.hpp:67 >>> #7 0x00007ffff23a6e21 in >>> boost::exception_detail::throw_exception_ (x=..., >>> current_function=0x7ffff26e33f0 >> const::__PRETTY_FUNCTION__> "void ndn::Block::parse() const", >>> file=0x7ffff26e2990 "../src/ndnSIM/ndn-cxx/src/encoding/block.cpp", >>> line=340) at /usr/include/boost/throw_exception.hpp:84 >>> #8 0x00007ffff23a9db1 in ndn::Block::parse (this=0x7fffffffc1e0) at >>> ../src/ndnSIM/ndn-cxx/src/encoding/block.cpp:340 >>> #9 0x00007ffff23f995c in ndn::nfd::FaceStatus::wireDecode >>> (this=0x7fffffffc170, block=...) at >>> ../src/ndnSIM/ndn-cxx/src/management/nfd-face-status.cpp:121 >>> #10 0x00007ffff23f9738 in ndn::nfd::FaceStatus::FaceStatus >>> (this=0x7fffffffc170, block=...) at >>> ../src/ndnSIM/ndn-cxx/src/management/nfd-face-status.cpp:49 >>> #11 0x00007ffff26059a8 in nfd::rib::RibManager::removeInvalidFaces >>> (this=0x5ad20018, buffer=...) at >>> ../src/ndnSIM/NFD/rib/rib-manager.cpp:704 >>> #12 0x00007ffff260557b in nfd::rib::RibManager::fetchSegments >>> (this=0x5ad20018, data=..., buffer=...) at >>> ../src/ndnSIM/NFD/rib/rib-manager.cpp:679 >>> #13 0x00007ffff2617f41 in boost::_mfi::mf2>> ndn::Data const&, std::shared_ptr >::operator() >>> (this=0xa021be20, p=0x5ad20018, a1=..., a2=...) >>> at /usr/include/boost/bind/mem_fn_template.hpp:280 >>> #14 0x00007ffff2616040 in >>> boost::_bi::list3, >>> boost::arg<2>, boost::_bi::value > >>>> ::operator()>> const&, std::shared_ptr >, >>> boost::_bi::list2 > (this=0xa021be30, >>> f=..., a=...) at /usr/include/boost/bind/bind.hpp:392 >>> #15 0x00007ffff2612c44 in boost::_bi::bind_t>> boost::_mfi::mf2>> std::shared_ptr >, >>> boost::_bi::list3, >>> boost::arg<2>, boost::_bi::value > >>> >>>> ::operator() (this=0xa021be20, a1=..., > a2=...) >> at >>> /usr/include/boost/bind/bind_template.hpp:76 >>> #16 0x00007ffff260eeb2 in std::_Function_handler>> const&, ndn::Data&), boost::_bi::bind_t>> nfd::rib::RibManager, ndn::Data const&, >>> std::shared_ptr >, >>> boost::_bi::list3, >>> boost::arg<2>, boost::_bi::value > >>> >>>>> ::_M_invoke(std::_Any_data const&, ndn::Interest const&, >> ndn::Data&) >>> (__functor=..., __args#0=..., __args#1=...) >>> at /usr/include/c++/4.8/functional:2071 >>> #17 0x00007ffff23c0d63 in std::function>> ndn::Data&)>::operator()(ndn::Interest const&, ndn::Data&) const >>> (this=0x98f2a648, __args#0=..., __args#1=...) at >>> /usr/include/c++/4.8/functional:2471 >>> #18 0x00007ffff23be299 in ndn::PendingInterest::invokeDataCallback >>> (this=0x98f2a638, data=...) at >>> ../src/ndnSIM/ndn-cxx/src/detail/pending-interest.hpp:81 >>> #19 0x00007ffff23bf41d in ndn::Face::Impl::satisfyPendingInterests >>> (this=0x5ad1ce20, data=...) at >>> ../src/ndnSIM/ndn-cxx/src/detail/face-impl.hpp:140 >>> #20 0x00007ffff23be88e in ndn::Face::Impl::NfdFace::sendData(ndn::Data >>> const&)::{lambda()#1}::operator()() const (__closure=0x81b20ed0) at >>> ../src/ndnSIM/ndn-cxx/src/detail/face-impl.hpp:91 >>> #21 0x00007ffff23c3ddc in std::_Function_handler>> ndn::Face::Impl::NfdFace::sendData(ndn::Data >>> const&)::{lambda()#1}>::_M_invoke(std::_Any_data const&) >> (__functor=...) >>> at /usr/include/c++/4.8/functional:2071 >>> #22 0x00007ffff23c0e4a in std::function::operator()() const >>> (this=0x9ada39c0) at /usr/include/c++/4.8/functional:2471 >>> #23 0x00007ffff2514135 in ns3::EventImpl* ns3::MakeEvent>> (std::function::*)() const, std::function >(void >>> (std::function::*)() const, std::function>> ()>)::EventMemberImpl0::Notify() (this=0x9ada39b0) >>> at ./ns3/make-event.h:323 >>> >>> >>> >>> I haven't had much time to debug, but I am suspecting my unusually large >>> number of client nodes (10k) is too much for the RIB Manager (?) to >>> process. I'm also not sure what this RIB Manager is doing, because I >>> haven't explicitly activated it (at least I don't know about it). I did >>> find the source that seems to be causing the event after 600 seconds >>> though: NFD/rib/remote-registrator.cpp >>> >>> I will try to provide scenario code to reproduce the problem tomorrow, >>> for now I'm just looking for some more pointers for debugging so I can >>> produce a better (more helpful) bug report (which I will then, as >>> always, submit to redmine). >>> >>> Thanks >>> Christian >>> >>> >>> _______________________________________________ >>> 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 -------------- 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 Nov 11 01:47:28 2015 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Wed, 11 Nov 2015 11:47:28 +0200 Subject: [ndnSIM] NDN over IP (ndnSIM 2.1) In-Reply-To: <49f4ddb5bf0b12f34b36b5a6ce6a4a88@ufpa.br> References: <49f4ddb5bf0b12f34b36b5a6ce6a4a88@ufpa.br> Message-ID: <7F79D084-2B0E-4503-856E-EFBC38FE0C0A@cs.ucla.edu> Hi Ivanes, It is not yet possible, though we were planning to re-implement this support for quite a while, but failed due to lack of man power. If you have time, we will be happy if you can help us implement this support. There is some related information in the redmine issue (http://redmine.named-data.net/issues/2371). --- Alex > On Nov 9, 2015, at 8:26 PM, ivanes at ufpa.br wrote: > > Hello, > > I would like to know if it is possible to run simulations of NDN over IP with ndnSIM 2.1, and if it is possible, could someone give me an example please? > > Thanks in advance, > > Ivanes Ara?jo > -------------- 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 Nov 11 01:50:59 2015 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Wed, 11 Nov 2015 11:50:59 +0200 Subject: [ndnSIM] Linking failure during compilng an example under ndnSIM2.1 In-Reply-To: References: Message-ID: <5FACF201-E95C-42D1-AE09-2D9B06884D11@cs.ucla.edu> I would guess that you have multiple versions of boost installed (1.54 and 1.57). Did you install one of them from source? I would try removing one and try to recompile everything. Is it on Ubuntu or some other Linux distribution? Which exactly version of scenario template (which commit) you're using? -- Alex > On Nov 7, 2015, at 8:55 AM, Shuai Gao wrote: > > Hi all, > I have installed the ndnSIM 2.1 according to the guide during the "Getting Started". I can run the examples sucecssfully. > > Then I copy the example "ndn-simple.cpp" into "/ndnSIM2.1/scenario/scenarios" and rename it as "my-simple.cpp". After I run "./waf --run=my-simple", I get the following error: > > Waf: Entering directory `/home/gsxlh/ndnSIM2.1/scenario/build' > [2/2] Linking build/my-simple > /usr/bin/ld: warning: libboost_thread.so.1.54.0, needed by /usr/local/lib/libns3-dev-ndnSIM-optimized.so, may conflict with libboost_thread.so.1.57.0 > /usr/bin/ld: warning: libboost_system.so.1.54.0, needed by /usr/local/lib/libns3-dev-ndnSIM-optimized.so, may conflict with libboost_system.so.1.57.0 > /usr/bin/ld: warning: libboost_random.so.1.54.0, needed by /usr/local/lib/libns3-dev-ndnSIM-optimized.so, may conflict with libboost_random.so.1.57.0 > /usr/bin/ld: warning: libboost_regex.so.1.54.0, needed by /usr/local/lib/libns3-dev-ndnSIM-optimized.so, may conflict with libboost_regex.so.1.57.0 > /usr/bin/ld: warning: libboost_chrono.so.1.54.0, needed by /usr/local/lib/libns3-dev-ndnSIM-optimized.so, may conflict with libboost_chrono.so.1.57.0 > /usr/bin/ld: warning: libboost_filesystem.so.1.54.0, needed by /usr/local/lib/libns3-dev-ndnSIM-optimized.so, may conflict with libboost_filesystem.so.1.57.0 > /usr/local/lib/libns3-dev-emu-optimized.so: undefined reference to `ns3::LogComponent::LogComponent(std::string const&, ns3::LogLevel)' > collect2: error: ld returned 1 exit status > > Waf: Leaving directory `/home/gsxlh/ndnSIM2.1/scenario/build' > Build failed > -> task in 'my-simple' failed (exit status 1): > {task 3067429772L: cxxprogram my-simple.cpp.2.o -> my-simple} > ['/usr/bin/g++', '-pthread', '-Wl,-Bdynamic', '-pthread', '-Wl,-Bdynamic', '-pthread', '-Wl,-Bdynamic', '-pthread', '-Wl,-Bdynamic', '-pthread', '-Wl,-Bdynamic' ...... > > > Can you help me fix this error? > _______________________________________________ > 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 aa at CS.UCLA.EDU Wed Nov 11 01:54:50 2015 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Wed, 11 Nov 2015 11:54:50 +0200 Subject: [ndnSIM] How to add a new cache replacement policy In-Reply-To: References: Message-ID: <1422DC9F-B836-426C-8A90-24BE5F7DFD38@cs.ucla.edu> > On Nov 6, 2015, at 5:28 AM, Saran Tarnoi wrote: > > Dear All, > > I want to add a new cache replacement policy to ndnSIM. Until now, I have been hard-coding existing files, such as lru-policy.h, to get a desired result. This method is obviously inefficient for real simulation. > > I would like to have a separate new policy file and make it callable from scenario files through a configuration in ndnHealper. For example, the following line of a scenario file allows CS to run NewPolicy. > ndnHelper.SetOldContentStore("ns3::ndn::cs::NewPolicy", "MaxSize", "10000"); > > Which files do I should modify to get this ability? Hi Saran, Just create your new policy file, and then in src/ndnSIM/model/cs/content-store-impl.cpp add the following: template class ContentStoreImpl; NS_OBJECT_ENSURE_REGISTERED_TEMPL(ContentStoreImpl, your_policy_traits); Essentially, you need to instantiate a new content policy class with your policy. After the class is instantiated, you can use it in ndnHelper. -- Alex > > Your answers will be highly appreciated. > Thank you. > > -- > Yours sincerely, > Saran -------------- 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 aa at CS.UCLA.EDU Wed Nov 11 02:03:14 2015 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Wed, 11 Nov 2015 12:03:14 +0200 Subject: [ndnSIM] How I can cheek the bandwidth In-Reply-To: <100121031.781366.1446404454951.JavaMail.yahoo@mail.yahoo.com> References: <100121031.781366.1446404454951.JavaMail.yahoo@mail.yahoo.com> <100121031.781366.1446404454951.JavaMail.yahoo@mail.yahoo.com> Message-ID: > On Nov 1, 2015, at 9:00 PM, Kerrouche Abdelali wrote: > > Dears ALL, > > How can I access the link Bandwidth to manage it in ndnSIM? > In fact, I want know where I can find the Values of Bandwidth that I give to link by the following instruction: > Config::SetDefault("ns3::PointToPointNetDevice::DataRate", StringValue("1Mbps")); Hi Kerrouche, It is very easy to set the default DataRate on PointToPointNetDevice, but not as simple to get actual value. Though, it is possible. First. You need to get hold of the NetDevice you're interested in (this is the most complex part, as it depends on your scenario). After you have this, getting the value is easy: Ptr nd = ...; DataRateValue value; nd->GetAttribute(DataRate, value); // now value contains what you need For more info check: https://www.nsnam.org/doxygen/classns3_1_1_data_rate_value.html and https://www.nsnam.org/doxygen/classns3_1_1_data_rate.html --- Alex > > How I can Access to this values to check it; > Best regards > -------------- 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 raaid.alubaidy at internetworks.my Sun Nov 1 04:19:34 2015 From: raaid.alubaidy at internetworks.my (Raaid Nasur Kadham Al-ubady) Date: Sun, 1 Nov 2015 20:19:34 +0800 Subject: [ndnSIM] PIT size Message-ID: <2e704e74128a7768e4e45c296739f62c.squirrel@webmail.internetworks.my> Hello everyone; I am a doctoral researcher under the topic a scalability on PIT. I want to simulate a case of different PIT size, according to that, from where can I start as well as what is the minimum and maximum size should I assigned? Thanks in advance ************************************** Raaid Alubady Doctoral Researcher InterNetWorks Research Lab, School of Computing, Universiti Utara Malaysia 06010 UUM Sintok, Kedah, M A L A Y S I A HP: +60129636379 , +601128408117 Emails: raaid.n.alubady at uobabylon.edu.iq alubady.r.n at ieee.org alubadyraaid at gmail.com ************************************** From raaid.alubaidy at internetworks.my Fri Nov 6 09:05:16 2015 From: raaid.alubaidy at internetworks.my (Raaid Nasur Kadham Al-ubady) Date: Sat, 7 Nov 2015 01:05:16 +0800 Subject: [ndnSIM] PIT size Message-ID: <669760ef7a798d1fb8153526471dd813.squirrel@webmail.internetworks.my> Hello everyone; Currently, I am a Ph.D student in the school of computing, computer science department, university utara malaysia. My research area is a scalability on PIT in NDN. In my study, I want to simulate a different PIT size, according to that, from where can I start as well as what is the minimum and maximum size should I assigned? ---------------------------- Original Message ---------------------------- Subject: PIT size From: "Raaid Nasur Kadham Al-ubady" Date: Sun, November 1, 2015 8:19 pm To: ndnsim at lists.cs.ucla.edu -------------------------------------------------------------------------- Hello everyone; I am a doctoral researcher under the topic a scalability on PIT. I want to simulate a case of different PIT size, according to that, from where can I start as well as what is the minimum and maximum size should I assigned? Thanks in advance ************************************** Raaid Alubady Doctoral Researcher InterNetWorks Research Lab, School of Computing, Universiti Utara Malaysia 06010 UUM Sintok, Kedah, M A L A Y S I A HP: +60129636379 , +601128408117 Emails: raaid.n.alubady at uobabylon.edu.iq alubady.r.n at ieee.org alubadyraaid at gmail.com ************************************** ************************************** Raaid Alubady Doctoral Researcher InterNetWorks Research Lab, School of Computing, Universiti Utara Malaysia 06010 UUM Sintok, Kedah, M A L A Y S I A HP: +60129636379 , +601128408117 Emails: raaid.n.alubady at uobabylon.edu.iq alubady.r.n at ieee.org alubadyraaid at gmail.com ************************************** From aa at CS.UCLA.EDU Wed Nov 11 04:09:27 2015 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Wed, 11 Nov 2015 14:09:27 +0200 Subject: [ndnSIM] PIT size In-Reply-To: <669760ef7a798d1fb8153526471dd813.squirrel@webmail.internetworks.my> References: <669760ef7a798d1fb8153526471dd813.squirrel@webmail.internetworks.my> Message-ID: <91753FB7-6AE0-4127-A5F9-FE54E84C16FA@cs.ucla.edu> > On Nov 6, 2015, at 7:05 PM, Raaid Nasur Kadham Al-ubady wrote: > > Hello everyone; > > Currently, I am a Ph.D student in the school of computing, computer > science department, university utara malaysia. My research area is a > scalability on PIT in NDN. > > In my study, I want to simulate a different PIT size, according to that, > from where > can I start as well as what is the minimum and maximum size should I > assigned? Hi Raaid, What do you mean by PIT size? The number of pending interests is defined by the request traffic. Do you mean you want to limit the number of pending interests in PIT or something else? If it is the limit, you need to implement this limit based on the logic you want, i.e., what should happen when the limit is reached---remove some existing entry or refuse new entry. -- Alex -------------- 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 Nov 11 04:18:42 2015 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Wed, 11 Nov 2015 14:18:42 +0200 Subject: [ndnSIM] PIT and long-lived interests In-Reply-To: References: Message-ID: > On Aug 12, 2015, at 7:58 PM, ??? wrote: > > Hi, > > I run some simulation recently, > trying to fill the PIT of the producer and routers with long-lived interests. > > But I found that I can only filled the PIT of the consumers', > since consumers stopped sending interests at exactly the same time at every simulation no matter how many consumers I added, > so I am wondering: > will the long-lived Interests be dropped by routers and producer if the PITs are full? > And if they will, is that the default NFD feature? Hi Kourtney, Currently, NFD/ndnSIM implementation doesn't restrict anything for the long-lived interests. Interests will be in PIT for the time equal or larger than specified in InterestLifetime of the interests (it can be larger if there are multiple interests for the same data, which will extend lifetime of the PIT entry). --- Alex -------------- 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 Nov 11 04:27:12 2015 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Wed, 11 Nov 2015 14:27:12 +0200 Subject: [ndnSIM] Wireless multi-hop ad-hoc communication In-Reply-To: <41E7DF15B39B5C46BF24C9545D39304C2AC2EF36@oit-ex2010-mb1> References: <41E7DF15B39B5C46BF24C9545D39304C2AC2EF36@oit-ex2010-mb1> Message-ID: > On Oct 30, 2015, at 6:09 PM, Thiago Teixeira wrote: > > Hi all, > > I am using ndnSIM 2.0 and I am working on a scenario with multiple nodes, randomly placed in an area, communicating via Wi-Fi. I have one producer (fixed), one consumer, and all other nodes are routers. Every node broadcasts the Interests to all faces (using a modified broadcast strategy). > The point is, most of the communication was done in one hop. I reduced the Wi-Fi range and noticed that routers do not relay content. > Therefore, I have a few questions: > > 1 ? Does ndnSIM supports multi-hop wireless communication by default? I want the routers to work like data mules. > > 2 ? My question is very similar to this: http://www.lists.cs.ucla.edu/pipermail/ndnsim/2013-March/000201.html > I wonder if the Car2Car implementation is still the way to go, or there are newer implementations. Hi Thiago, As you may have read in my old reply, everything depends on what interest forwarding strategy does. One of the default actions that strategies implement is "do not forward interest to the face the interest was received from". This effectively prevents re-broadcasting the interest. If you want to have this feature, you need to implement it and some logic that will restrict this re-broadcasting based on some condition. Car2Car design is one possible way to do this, under assumption about how interests needs to be disseminated. -- Alex -------------- 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 Nov 11 04:29:30 2015 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Wed, 11 Nov 2015 14:29:30 +0200 Subject: [ndnSIM] how to use tracing in ndnsim In-Reply-To: References: Message-ID: <319CC205-07C4-49A7-9F4C-E2C86317ECFC@cs.ucla.edu> > On Oct 30, 2015, at 6:45 PM, Monika Dangi wrote: > > hey i am new to ndnsim, i have a problem which may be very small for you but because m very naive to this, when i am using L3RateTracer::InstallAll("rate-trace.txt", Seconds(1.0)); to log all the message in the text file i am getting error > L3RateTrace is not defined .. i was searching through the previous mail list to get the answer. and i also included the header > #include "ns3/ndnSIM/utils/tracers/ndn-l3-rate-tracer.hpp" > > but the error is same. can you please help me here.. how to solve this error?? > Hi Monika, Depending on how did you write your scenario, you may be missing ndn:: or ns3::ndn:: in front of L3RateTracer. -- Alex -------------- 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 mkuai at crimson.ua.EDU Wed Nov 11 09:10:24 2015 From: mkuai at crimson.ua.EDU (Meng Kuai) Date: Wed, 11 Nov 2015 11:10:24 -0600 Subject: [ndnSIM] Wireless multi-hop ad-hoc communication In-Reply-To: References: <41E7DF15B39B5C46BF24C9545D39304C2AC2EF36@oit-ex2010-mb1> Message-ID: <000d01d11ca3$dae717c0$90b54740$@crimson.ua.edu> Hi Alex, I have been working on wireless communication in NDN. I'm looking your car-2-car code. It looks like you added some 2.5-layer between Wi-Fi and NDN forwarding protocol. I'm wondering if we can write our own forwarding strategy to do this without changing the lower layer. Because you have already provided us the interface to write our own forwarding strategy. But the functions we can use is very limited. Meng Kuai Ph.D Candidate Department of Computer Science The University of Alabama -----Original Message----- From: ndnSIM [mailto:ndnsim-bounces at lists.cs.ucla.edu] On Behalf Of Alex Afanasyev Sent: Wednesday, November 11, 2015 6:27 AM To: Thiago Teixeira Cc: ndnsim at lists.cs.ucla.edu Subject: Re: [ndnSIM] Wireless multi-hop ad-hoc communication > On Oct 30, 2015, at 6:09 PM, Thiago Teixeira wrote: > > Hi all, > > I am using ndnSIM 2.0 and I am working on a scenario with multiple nodes, randomly placed in an area, communicating via Wi-Fi. I have one producer (fixed), one consumer, and all other nodes are routers. Every node broadcasts the Interests to all faces (using a modified broadcast strategy). > The point is, most of the communication was done in one hop. I reduced the Wi-Fi range and noticed that routers do not relay content. > Therefore, I have a few questions: > > 1 ? Does ndnSIM supports multi-hop wireless communication by default? I want the routers to work like data mules. > > 2 ? My question is very similar to this: http://www.lists.cs.ucla.edu/pipermail/ndnsim/2013-March/000201.html > I wonder if the Car2Car implementation is still the way to go, or there are newer implementations. Hi Thiago, As you may have read in my old reply, everything depends on what interest forwarding strategy does. One of the default actions that strategies implement is "do not forward interest to the face the interest was received from". This effectively prevents re-broadcasting the interest. If you want to have this feature, you need to implement it and some logic that will restrict this re-broadcasting based on some condition. Car2Car design is one possible way to do this, under assumption about how interests needs to be disseminated. -- Alex From raaid.alubady at yahoo.com Thu Nov 12 00:07:55 2015 From: raaid.alubady at yahoo.com (Raaid Alubady) Date: Thu, 12 Nov 2015 08:07:55 +0000 (UTC) Subject: [ndnSIM] PIT size In-Reply-To: <91753FB7-6AE0-4127-A5F9-FE54E84C16FA@cs.ucla.edu> References: <91753FB7-6AE0-4127-A5F9-FE54E84C16FA@cs.ucla.edu> Message-ID: <1350859776.2978319.1447315675780.JavaMail.yahoo@mail.yahoo.com> ?Thank you so much Alex for your time; I appreciate your explanation and comments as well as you are the best. Actually, I designed a new approach to implement PIT table and on the same time to prevent the PIT become overflow by using AQM concept. Now I want to test my logic design by using ndnSIM to be sure it's valid. In order that, My questions: 1- How to determine the PIT table size (I mean the size; what is the min and max PIT table size can I assign) in my scenario? 2- Are you have any example, scenario deal with the PIT? Especially in term of replacement policy or any other else. How can I define the request traffic in order to generate the number of pending interests and how much??Raaid?Alubady Doctoral Researcher? InterNetWorks Research Lab, School of Computing, Universiti Utara Malaysia 06010 UUM Sintok, Kedah, M A L A Y S I AHP:?+60129636379 , +601128408117 raaid.n.alubady at uobabylon.edu.iqraaid.alubady@internetworks.myraaid.n.alubady at ieee.org alubadyraaid at gmail.com? **********************************************************************************Join us at the 2015 4th International Conference on Internet Applications, Protocols and Services (NETAPPS2015) in Putrajaya, Malaysia? http://netapps2015.internetworks.my/********************************************************************************** On Wednesday, November 11, 2015 8:11 PM, Alex Afanasyev wrote: > On Nov 6, 2015, at 7:05 PM, Raaid Nasur Kadham Al-ubady wrote: > > Hello everyone; > > Currently, I am a Ph.D student in the school of computing, computer > science department, university utara malaysia. My research area is? a > scalability on PIT in NDN. > > In my study, I want to simulate a different PIT size, according to that, > from where > can I start as well as what is the minimum and maximum size should I > assigned? Hi Raaid, What do you mean by PIT size?? The number of pending interests is defined by the request traffic.? Do you mean you want to limit the number of pending interests in PIT or something else? If it is the limit, you need to implement this limit based on the logic you want, i.e., what should happen when the limit is reached---remove some existing entry or refuse new entry. -- Alex _______________________________________________ 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 charlie.gettys at comcast.net Thu Nov 12 05:51:15 2015 From: charlie.gettys at comcast.net (Charlie Gettys) Date: Thu, 12 Nov 2015 08:51:15 -0500 Subject: [ndnSIM] Visualizer Module Bug Message-ID: <56449953.6050805@comcast.net> Hi, I've been trying to run some some simulations. I'm running ndnsim 2.1, and whenever I use a default Producer with a payload of more than ~90 bytes, the visualizer module will crash. The same simulations run fine without the visualizer module. Does anyone know how to fix this? I've been running the simulation with the following command: sudo ./waf --run scratch/wifi-attempt08 --vis My script and an error log is attached. Sincerely, Charlie Gettys -------------- next part -------------- A non-text attachment was scrubbed... Name: wifi-attempt08.cc Type: text/x-c++src Size: 7227 bytes Desc: not available URL: -------------- next part -------------- sudo ./waf --run scratch/wifi-attempt08 --vis --command-template="gdb --args %s " Waf: Entering directory `/home/cg/ndnSIM/ns-3/build' Waf: Leaving directory `/home/cg/ndnSIM/ns-3/build' Build commands will be stored in build/compile_commands.json 'build' finished successfully (2.706s) GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /home/cg/ndnSIM/ns-3/build/scratch/wifi-attempt08...done. (gdb) run Starting program: /home/cg/ndnSIM/ns-3/build/scratch/wifi-attempt08 \ --SimulatorImplementationType=ns3::VisualSimulatorImpl [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Traceback (most recent call last): File "/usr/share/gdb/auto-load/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19-gdb.py", line 63, in from libstdcxx.v6.printers import register_libstdcxx_printers ImportError: No module named 'libstdcxx' Could not load icon applets-screenshooter due to missing gnomedesktop Python module Could not load icon gnome-terminal due to missing gnomedesktop Python module scanning topology: [0, 5) nodes... [New Thread 0x7fffd73ac700 (LWP 2947)] [New Thread 0x7fffd6bab700 (LWP 2948)] [Thread 0x7fffd73ac700 (LWP 2947) exited] [Thread 0x7fffd6bab700 (LWP 2948) exited] [New Thread 0x7fffd6bab700 (LWP 2949)] assert failed. cond="IsStateOk ()", file=../src/network/model/packet-metadata.cc, line=688 terminate called without an active exception Program received signal SIGABRT, Aborted. [Switching to Thread 0x7fffd6bab700 (LWP 2949)] 0x00007fffe85dacc9 in __GI_raise (sig=sig at entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory. From anselme333 at gmail.com Thu Nov 12 22:33:15 2015 From: anselme333 at gmail.com (NDIKUMANA ANSELME) Date: Fri, 13 Nov 2015 15:33:15 +0900 Subject: [ndnSIM] ndnSIM 2.0: ./libns3-dev-ndnSIM:-debug.so: undefined reference to `ndn::KeyChain::determineSignatureWithPublicKey Message-ID: Dear All, I am getting the following error( details are attached) , when I run my scenario: ./libns3-dev-ndnSIM-debug.so: undefined reference to `ndn::KeyChain::determineSignatureWithPublicKey(ndn::KeyLocator const&, ndn::KeyType, ndn::DigestAlgorithm)' ./libns3-dev-ndnSIM-debug.so: undefined reference to `ndn::KeyChain::signPacketWrapper(ndn::Interest&, ndn::Signature const&, ndn::Name const&, ndn::DigestAlgorithm)' ./libns3-dev-ndnSIM-debug.so: undefined reference to `ndn::KeyChain::setDefaultCertificateInternal()' ./libns3-dev-ndnSIM-debug.so: undefined reference to `ndn::nfd::ControlResponse::ControlResponse()' ./libns3-dev-ndnSIM-debug.so: undefined reference to `unsigned long ndn::nfd::StrategyChoice::wireEncode(ndn::EncodingImpl&) const' Any help on how to fix this error, will be appreciated. With Regards, Anselme N. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ERROR Type: application/octet-stream Size: 10173 bytes Desc: not available URL: From rozhnova.natalya at gmail.com Fri Nov 13 08:16:33 2015 From: rozhnova.natalya at gmail.com (Natalya Rozhnova) Date: Fri, 13 Nov 2015 17:16:33 +0100 Subject: [ndnSIM] CryptoPP Message-ID: 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From anilj.mailing at gmail.com Sat Nov 14 12:49:56 2015 From: anilj.mailing at gmail.com (Anil Jangam) Date: Sat, 14 Nov 2015 12:49:56 -0800 Subject: [ndnSIM] Passing additional linking time arguments. Message-ID: Hi, I am adding some more classes to the ndnSIM as part of my project and want to understand how do I add more additional linking time argument through the build script (wscript). Right now, I know my new files are getting build and corresponding .o files are being generated; however, they are not being used during linking time. Can you please elaborate a bit how and where to modify the wscript file for this purpose? Regards, /anil. -------------- next part -------------- An HTML attachment was scrubbed... URL: From anilj.mailing at gmail.com Sat Nov 14 14:37:50 2015 From: anilj.mailing at gmail.com (Anil Jangam) Date: Sat, 14 Nov 2015 14:37:50 -0800 Subject: [ndnSIM] How to reference new .o files in examples/wscript. Message-ID: Hi, ndnSIM/examples/wscript file is as follows: 1 ## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- 2 3 from waflib import Utils, Logs 4 5 def build(bld): 6 # This may be necessary for visualizer to work 7 all_modules = [mod[len("ns3-"):] for mod in bld.env['NS3_ENABLED_MODULES']] 8 9 examples = bld.path.ant_glob(['*.cpp'], excl=['*-mpi.cpp']) 10 if 'NS3_MPI' in bld.env['DEFINES_MPI']: 11 examples += bld.path.ant_glob(['*-mpi.cpp']) 12 13 for i in examples: 14 name = str(i)[:-len(".cpp")] 15 obj = bld.create_ns3_program(name, all_modules) 16 obj.source = [i] + bld.path.ant_glob(['%s/**/*.cpp' % name]) I have added a new example file code in the ndnSIM/examples directory, which uses some of the objects in newly added code to ndnSIM. Right now, I am getting some linking errors where the definitions are available in the newly added code. How do I reference those .o files through above wscript file? What changes are required? /anil. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marco.ulgelmo at aol.com Sun Nov 15 04:10:04 2015 From: marco.ulgelmo at aol.com (Marco Ulgelmo) Date: Sun, 15 Nov 2015 13:10:04 +0100 Subject: [ndnSIM] CryptoPP In-Reply-To: References: Message-ID: 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 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 From z.rezaiefar at yahoo.com Mon Nov 16 01:24:50 2015 From: z.rezaiefar at yahoo.com (Zeinab Rezaiefar) Date: Mon, 16 Nov 2015 09:24:50 +0000 (UTC) Subject: [ndnSIM] implementing new cache policy in ndnsim References: <509068239.5502898.1447665890030.JavaMail.yahoo.ref@mail.yahoo.com> Message-ID: <509068239.5502898.1447665890030.JavaMail.yahoo@mail.yahoo.com> Hello everyone,I would like to say that I want to implement my algorithm with modifying ndnsim. As I know three entities ( data packet, flag for showing unsolicited data and timestamp) are stored in cs . I want to save another entity for each content which identifies the probability that each content should be saved. Moreover, according to this index?( probability ) the content will be saved or dropped? and I would like that this probability will be updated after receiving any packet instead of using lru policy. is there any persons who can guide me about bellow questions :1) for adding another index I should modify onIncomingData function in forward.cpp ? 2) for decision according to the new index I?just need to?modify lru.policy.hpp ? ( how the packet can be ordered according this new index instead of using least recently used)any help will be appreciatedthanks in advancebest regards????? -------------- next part -------------- An HTML attachment was scrubbed... URL: From rozhnova.natalya at gmail.com Mon Nov 16 02:17:07 2015 From: rozhnova.natalya at gmail.com (Natalya Rozhnova) Date: Mon, 16 Nov 2015 11:17:07 +0100 Subject: [ndnSIM] CryptoPP In-Reply-To: References: Message-ID: <5D73E6E4-5F2D-4CD0-90F2-0A8CD352ED3B@gmail.com> 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 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 > From marco.ulgelmo at aol.com Mon Nov 16 06:29:01 2015 From: marco.ulgelmo at aol.com (Marco Ulgelmo) Date: Mon, 16 Nov 2015 15:29:01 +0100 Subject: [ndnSIM] CryptoPP In-Reply-To: <5D73E6E4-5F2D-4CD0-90F2-0A8CD352ED3B@gmail.com> References: <5D73E6E4-5F2D-4CD0-90F2-0A8CD352ED3B@gmail.com> Message-ID: <6F8D385D-3B17-40B2-84FB-8584161550FA@aol.com> 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 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 >> > From shijunxiao at email.arizona.EDU Mon Nov 16 07:11:32 2015 From: shijunxiao at email.arizona.EDU (Junxiao Shi) Date: Mon, 16 Nov 2015 08:11:32 -0700 Subject: [ndnSIM] CryptoPP In-Reply-To: References: Message-ID: Hi Natalya I'm unfamiliar with ndnSIM, but I've seen the same message elsewhere when configuring ndn-cxx. This message is most likely caused by a linker error when wscript tries to link a simple program with Crypto++. You may find the full linker command line and error message in build/config.log, and try to figure out from there. Yours, Junxiao On Nov 13, 2015 09:17, "Natalya Rozhnova" wrote: > I have a following problem when configuring : > > CryptoPP is present, but is not usable > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ewq456666 at gmail.com Tue Nov 17 01:00:22 2015 From: ewq456666 at gmail.com (=?UTF-8?B?6buD54WZ5Y23?=) Date: Tue, 17 Nov 2015 17:00:22 +0800 Subject: [ndnSIM] How to use void ns3::ndn::StackHelper::AddNetDeviceFaceCreateCallback ? Message-ID: hello all, I am simulating a ad hoc network using ndnSIM2.1. I try to create a deviceface in each node and I try this function. But it doesn's work in ndn-simple-wifi.cpp . How to use the funtion ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From aamir.nbpit at gmail.com Tue Nov 17 02:47:37 2015 From: aamir.nbpit at gmail.com (Muhammad Aamir) Date: Tue, 17 Nov 2015 15:47:37 +0500 Subject: [ndnSIM] Possibilities of real-time test-bed scenarios of NDN Message-ID: Hello everyone, I need to know "How can I access real-time test-bed scenarios of NDN?" If I simulate some scenarios in ndnSIM, and then need to verify the results by comparing them with real-time traffic analysis, what are the possibilities to produce a good research in this direction? Please help and share the possibilities. I would also look forward to have some cloud oriented real-time NDN-based systems available to access for research purpose etc. Cheers, Aamir. -------------- next part -------------- An HTML attachment was scrubbed... URL: From shijunxiao at email.arizona.EDU Tue Nov 17 08:16:57 2015 From: shijunxiao at email.arizona.EDU (Junxiao Shi) Date: Tue, 17 Nov 2015 09:16:57 -0700 Subject: [ndnSIM] implementing new cache policy in ndnsim In-Reply-To: <509068239.5502898.1447665890030.JavaMail.yahoo@mail.yahoo.com> References: <509068239.5502898.1447665890030.JavaMail.yahoo.ref@mail.yahoo.com> <509068239.5502898.1447665890030.JavaMail.yahoo@mail.yahoo.com> Message-ID: <564b52f6.cae1440a.5194d.2fe0@mx.google.com> Hi Zeinab NFD has a modular design. The design intention for NFD ContentStore is: all admission policy and replacement policy can be implemented as a subclass of nfd::cs::Policy. ? First, create your own subclass of nfd::cs::Policy. You may copy from an existing policy if it?s similar, but don?t modify it. ? In cs.cpp, modify makeDefaultPolicy function to create your Policy subclass. ? All index used for admission policy and replacement policy should be kept within your Policy subclass. forwarder.cpp shouldn?t be modified. ? Typically, decision is in Policy::doAfterInsert function. ? Policy::doAfterInsert function may even evict the newly inserted entry immediately, if your admission policy decides that it shouldn?t be admitted. Yours, Junxiao From: Zeinab Rezaiefar Sent: Monday, November 16, 2015 02:25 To: ndnsim at lists.cs.ucla.edu Subject: [ndnSIM] implementing new cache policy in ndnsim Hello everyone, I would like to say that I want to implement my algorithm with modifying ndnsim. As I know three entities ( data packet, flag for showing unsolicited data and timestamp) are stored in cs . I want to save another entity for each content which identifies the probability that each content should be saved. Moreover, according to this index?( probability ) the content will be saved or dropped? and I would like that this probability will be updated after receiving any packet instead of using lru policy. is there any persons who can guide me about bellow questions : 1) for adding another index I should modify onIncomingData function in forward.cpp ? 2) for decision according to the new index I?just need to?modify lru.policy.hpp ? ( how the packet can be ordered according this new index instead of using least recently used) any help will be appreciated thanks in advance best regards? ??? ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From shijunxiao at email.arizona.EDU Tue Nov 17 08:23:39 2015 From: shijunxiao at email.arizona.EDU (Junxiao Shi) Date: Tue, 17 Nov 2015 09:23:39 -0700 Subject: [ndnSIM] Possibilities of real-time test-bed scenarios of NDN In-Reply-To: References: Message-ID: <564b5488.6807430a.3189.71e5@mx.google.com> Hi Muhammad You may consider: ? regular virtual machines ? Vagrant ? Mininet ? Mini-NDN ? Open Network Laboratory (ONL) ? Emulab With the exception of Mini-NDN, you?ll have to install NDN stack into the environment. ONL and Emulab are sort of ?cloud oriented?. They are shared resource provided by WUSTL and UTAH, respectively. However, I doubt there would be significant difference between the results from ndnSIM and the results from elsewhere, because ndnSIM forwarding is based on NFD codebase. Yours, Junxiao From: Muhammad Aamir Sent: Tuesday, November 17, 2015 03:48 To: ndnsim at lists.cs.ucla.edu Subject: [ndnSIM] Possibilities of real-time test-bed scenarios of NDN Hello everyone, I need to know "How can I access real-time test-bed scenarios of NDN?" If I simulate some scenarios in ndnSIM, and then need to verify the results by comparing them with real-time traffic analysis, what are the possibilities to produce a good research in this direction? Please help and share the possibilities. I would also look forward to have some cloud oriented real-time NDN-based systems available to access for research purpose etc. Cheers, Aamir. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Tue Nov 17 10:16:14 2015 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Tue, 17 Nov 2015 10:16:14 -0800 Subject: [ndnSIM] Possibilities of real-time test-bed scenarios of NDN In-Reply-To: References: Message-ID: <60C88184-3708-4FBF-AF6E-3992840DE0C8@cs.ucla.edu> Hi Aamir, the latest version of ndnSIM (ndnSIM 2.1) offers the simulation of real application written against the ndn-cxx library, fully leveraging the features of NFD. The incentive for that is that now you can write your own real applications and test them on a large scale using the simulator. In this way, you avoid the burden of accessing various cloud systems, setting up their configuration etc. We have a guide on our website elaborating on how you can perform simulations of real applications: http://ndnsim.net/2.1/guide-to-simulate-real-apps.html If you need general information about ndnSIM, you may take a look at our technical report: http://named-data.net/publications/techreports/ndn-0028-1-ndnsim-v2/ Thanks! Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Nov 17, 2015, at 2:47 AM, Muhammad Aamir wrote: > > Hello everyone, > > I need to know "How can I access real-time test-bed scenarios of NDN?" > > If I simulate some scenarios in ndnSIM, and then need to verify the results by comparing them with real-time traffic analysis, what are the possibilities to produce a good research in this direction? Please help and share the possibilities. > > I would also look forward to have some cloud oriented real-time NDN-based systems available to access for research purpose etc. > > Cheers, > Aamir. > _______________________________________________ > 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 rozhnova.natalya at gmail.com Tue Nov 17 10:17:51 2015 From: rozhnova.natalya at gmail.com (Natalya Rozhnova) Date: Tue, 17 Nov 2015 19:17:51 +0100 Subject: [ndnSIM] CryptoPP In-Reply-To: <6F8D385D-3B17-40B2-84FB-8584161550FA@aol.com> References: <5D73E6E4-5F2D-4CD0-90F2-0A8CD352ED3B@gmail.com> <6F8D385D-3B17-40B2-84FB-8584161550FA@aol.com> Message-ID: 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 > 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 > >> > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marco.ulgelmo at aol.com Tue Nov 17 10:27:46 2015 From: marco.ulgelmo at aol.com (Marco Ulgelmo) Date: Tue, 17 Nov 2015 19:27:46 +0100 Subject: [ndnSIM] CryptoPP In-Reply-To: References: <5D73E6E4-5F2D-4CD0-90F2-0A8CD352ED3B@gmail.com> <6F8D385D-3B17-40B2-84FB-8584161550FA@aol.com> Message-ID: 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 > 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 > >> > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rozhnova.natalya at gmail.com Tue Nov 17 13:09:17 2015 From: rozhnova.natalya at gmail.com (Natalya Rozhnova) Date: Tue, 17 Nov 2015 22:09:17 +0100 Subject: [ndnSIM] CryptoPP In-Reply-To: References: <5D73E6E4-5F2D-4CD0-90F2-0A8CD352ED3B@gmail.com> <6F8D385D-3B17-40B2-84FB-8584161550FA@aol.com> Message-ID: 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 >> >> >> > >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From z.rezaiefar at yahoo.com Tue Nov 17 18:31:24 2015 From: z.rezaiefar at yahoo.com (Zeinab Rezaiefar) Date: Wed, 18 Nov 2015 02:31:24 +0000 (UTC) Subject: [ndnSIM] implementing new cache policy in ndnsim References: <1847817867.6669452.1447813884747.JavaMail.yahoo.ref@mail.yahoo.com> Message-ID: <1847817867.6669452.1447813884747.JavaMail.yahoo@mail.yahoo.com> ? Hi Junxiao,firstly I would like to say thanks for your helping. Then, I would like to say that?something is not clear for me. there?are 2 folders : (NFD/daemon/table and ?util/trie)?? that contain for example cs-policy-lru.cpp and lru-policy.hpp related to lru policy. I should copy?these files and change them according my policy or just changing file in NFD path ? moreover, why in NFD/deamon/table path there?are only files for lru and fifo policies not other policies.furthermore, if I do not change?forward.cpp still before forwarding the Data message can be dropped according the policy in??Policy::doAfterInsert function?thanks best regardsZeinab -------------- next part -------------- An HTML attachment was scrubbed... URL: From sarantarnoi at gmail.com Tue Nov 17 23:37:48 2015 From: sarantarnoi at gmail.com (Saran Tarnoi) Date: Wed, 18 Nov 2015 16:37:48 +0900 Subject: [ndnSIM] How to get an iterator to a content in policy_containter given a name Message-ID: Dear All, I am working inside lru-policy.hpp and really need some ideas for code optimization. My goal is to get an iterator of a policy_container that points to a content which matches a given content name (ndn::Name). I have achieved this goal through the following inline function. inline typename policy_container::iterator search_with_name(ndn::Name name_item) { typename policy_container::iterator it; for (it = policy_container::begin (); it != policy_container::end (); ++it) { if (name_item == it->payload()->GetName()) break; } return it; } However, the above code is so slow when policy_container is large (, which makes sense as we will be iterating the check for all items in policy_container in the worst case). Is there any faster way to do this? Your suggestion will be highly appreciated and I would like to thank you in advance for your time. Best regards, Saran Tarnoi -------------- next part -------------- An HTML attachment was scrubbed... URL: From shijunxiao at email.arizona.edu Wed Nov 18 07:04:18 2015 From: shijunxiao at email.arizona.edu (Junxiao Shi) Date: Wed, 18 Nov 2015 08:04:18 -0700 Subject: [ndnSIM] implementing new cache policy in ndnsim In-Reply-To: <1847817867.6669452.1447813884747.JavaMail.yahoo@mail.yahoo.com> References: <1847817867.6669452.1447813884747.JavaMail.yahoo.ref@mail.yahoo.com> <1847817867.6669452.1447813884747.JavaMail.yahoo@mail.yahoo.com> Message-ID: <564c9370.097a420a.ad665.ffffa60c@mx.google.com> Hi Zeinab NFD/daemon/table is the new ContentStore policy API for NFD. lru-policy.hpp is inherited from ndnSIM 1.0 and is deprecated. I don?t understand your question about dropping Data. If the ContentStore has a matching Data for an incoming Interest, it?s always returned to the downstream. This is a protocol requirement, and the policy has no control over this process. The policy can control whether to admit a Data into the cache, and which cached Data to evict in case the cache is full. Yours, Junxiao From: Zeinab Rezaiefar Sent: Tuesday, November 17, 2015 19:31 To: shijunxiao at email.arizona.EDU;ndnsim at lists.cs.ucla.edu Subject: Re: [ndnSIM] implementing new cache policy in ndnsim ? Hi Junxiao, firstly I would like to say thanks for your helping. Then, I would like to say that?something is not clear for me. there?are 2 folders : (NFD/daemon/table and ?util/trie)?? that contain for example cs-policy-lru.cpp and lru-policy.hpp related to lru policy. I should copy?these files and change them according my policy or just changing file in NFD path ? moreover, why in NFD/deamon/table path there?are only files for lru and fifo policies not other policies. furthermore, if I do not change?forward.cpp still before forwarding the Data message can be dropped according the policy in??Policy::doAfterInsert function? thanks best regards Zeinab -------------- next part -------------- An HTML attachment was scrubbed... URL: From z.rezaiefar at yahoo.com Wed Nov 18 18:07:09 2015 From: z.rezaiefar at yahoo.com (Zeinab) Date: Thu, 19 Nov 2015 11:07:09 +0900 Subject: [ndnSIM] implementing new cache policy in ndnsim In-Reply-To: <564c9370.097a420a.ad665.ffffa60c@mx.google.com> References: <1847817867.6669452.1447813884747.JavaMail.yahoo.ref@mail.yahoo.com> <1847817867.6669452.1447813884747.JavaMail.yahoo@mail.yahoo.com> <564c9370.097a420a.ad665.ffffa60c@mx.google.com> Message-ID: Thank you so much Junxaio for your guiding Yes it is right according to protocol if there is data packet matched with interest, it will retrieve to user , but i want to modify it. As i mentioned , in my first email , i want to identify new index for each content message which should be calculate before forwarding the content and according to this content the nodes decide to cache and forward the content message or drop it > On Nov 19, 2015, at 12:04 AM, Junxiao Shi wrote: > > Hi Zeinab > > NFD/daemon/table is the new ContentStore policy API for NFD. lru-policy.hpp is inherited from ndnSIM 1.0 and is deprecated. > > I don?t understand your question about dropping Data. > If the ContentStore has a matching Data for an incoming Interest, it?s always returned to the downstream. This is a protocol requirement, and the policy has no control over this process. > The policy can control whether to admit a Data into the cache, and which cached Data to evict in case the cache is full. > > Yours, Junxiao > > From: Zeinab Rezaiefar > Sent: Tuesday, November 17, 2015 19:31 > To: shijunxiao at email.arizona.EDU;ndnsim at lists.cs.ucla.edu > Subject: Re: [ndnSIM] implementing new cache policy in ndnsim > > > Hi Junxiao, > firstly I would like to say thanks for your helping. Then, I would like to say that something is not clear for me. there are 2 folders : (NFD/daemon/table and util/trie) that contain for example cs-policy-lru.cpp and lru-policy.hpp related to lru policy. I should copy these files and change them according my policy or just changing file in NFD path ? moreover, why in NFD/deamon/table path there are only files for lru and fifo policies not other policies. > furthermore, if I do not change forward.cpp still before forwarding the Data message can be dropped according the policy in Policy::doAfterInsert function? > thanks > best regards > Zeinab > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From z.rezaiefar at yahoo.com Wed Nov 18 18:15:34 2015 From: z.rezaiefar at yahoo.com (Zeinab) Date: Thu, 19 Nov 2015 11:15:34 +0900 Subject: [ndnSIM] implementing new cache policy in ndnsim In-Reply-To: References: <1847817867.6669452.1447813884747.JavaMail.yahoo.ref@mail.yahoo.com> <1847817867.6669452.1447813884747.JavaMail.yahoo@mail.yahoo.com> <564c9370.097a420a.ad665.ffffa60c@mx.google.com> Message-ID: (Continue of my previous email) Moreover, i want to save this index with each content message like other entities (data, flag and timestamp)So my question is that where i should insert this new index and where i should modify to take decision according my method. I become so thankful to know your suggestions Thanks Best regards > On Nov 19, 2015, at 11:07 AM, Zeinab wrote: > > Thank you so much Junxaio for your guiding > Yes it is right according to protocol if there is data packet matched with interest, it will retrieve to user , but i want to modify it. As i mentioned , in my first email , i want to identify new index for each content message which should be calculate before forwarding the content and according to this content the nodes decide to cache and forward the content message or drop it > > > >> On Nov 19, 2015, at 12:04 AM, Junxiao Shi wrote: >> >> Hi Zeinab >> >> NFD/daemon/table is the new ContentStore policy API for NFD. lru-policy.hpp is inherited from ndnSIM 1.0 and is deprecated. >> >> I don?t understand your question about dropping Data. >> If the ContentStore has a matching Data for an incoming Interest, it?s always returned to the downstream. This is a protocol requirement, and the policy has no control over this process. >> The policy can control whether to admit a Data into the cache, and which cached Data to evict in case the cache is full. >> >> Yours, Junxiao >> >> From: Zeinab Rezaiefar >> Sent: Tuesday, November 17, 2015 19:31 >> To: shijunxiao at email.arizona.EDU;ndnsim at lists.cs.ucla.edu >> Subject: Re: [ndnSIM] implementing new cache policy in ndnsim >> >> >> Hi Junxiao, >> firstly I would like to say thanks for your helping. Then, I would like to say that something is not clear for me. there are 2 folders : (NFD/daemon/table and util/trie) that contain for example cs-policy-lru.cpp and lru-policy.hpp related to lru policy. I should copy these files and change them according my policy or just changing file in NFD path ? moreover, why in NFD/deamon/table path there are only files for lru and fifo policies not other policies. >> furthermore, if I do not change forward.cpp still before forwarding the Data message can be dropped according the policy in Policy::doAfterInsert function? >> thanks >> best regards >> Zeinab >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From ignacio.navarretem at mail.udp.cl Thu Nov 19 23:33:22 2015 From: ignacio.navarretem at mail.udp.cl (IGNACIO NAVARRETE) Date: Fri, 20 Nov 2015 04:33:22 -0300 Subject: [ndnSIM] calculating speed mobile node. Message-ID: Hello, my English is not very good. I have built a mobile stage with ndnsim. There any way to know the speed and position of the node in the simulation time?? From z.rezaiefar at yahoo.com Fri Nov 20 01:07:06 2015 From: z.rezaiefar at yahoo.com (Zeinab Rezaiefar) Date: Fri, 20 Nov 2015 09:07:06 +0000 (UTC) Subject: [ndnSIM] ndn-forwarding-strategy References: <1401096507.8178680.1448010426445.JavaMail.yahoo.ref@mail.yahoo.com> Message-ID: <1401096507.8178680.1448010426445.JavaMail.yahoo@mail.yahoo.com> ? Hello everyone,after?I have?included "ns3/ndn-forwarding-strategy.h" in forward.cpp file to use one of its function in forward.cpp. i got error: ?No such file or directory ?#include "ns3/ndn-forwarding-strategy.h"i can not?find?"ndn-forwarding-strategy.h" in any folder of ndnsim i have installed. i have installed ndnsim?according to the?(?http://ndnsim.net/2.1/getting-started.html). moreover, i have checked this path (ndnSIM/model/fw/ndn-forwarding-strategy.h) according http://ndnsim.net/1.0/doxygen/classns3_1_1ndn_1_1_forwarding_strategy.htmlbut i could not find it. should i add this to ndnsim ? if i should add add, how i can add itany help will be appreciatedthanksbest regards -------------- next part -------------- An HTML attachment was scrubbed... URL: From raaid.alubady at yahoo.com Sat Nov 21 01:25:56 2015 From: raaid.alubady at yahoo.com (Raaid Alubady) Date: Sat, 21 Nov 2015 09:25:56 +0000 (UTC) Subject: [ndnSIM] Fw: PIT size In-Reply-To: <1350859776.2978319.1447315675780.JavaMail.yahoo@mail.yahoo.com> References: <91753FB7-6AE0-4127-A5F9-FE54E84C16FA@cs.ucla.edu> <1350859776.2978319.1447315675780.JavaMail.yahoo@mail.yahoo.com> Message-ID: <1413194995.6848878.1448097956963.JavaMail.yahoo@mail.yahoo.com> Hello everybody and good day;Actually, I designed a new approach to implement PIT table and on the same time to prevent the PIT become overflow by using AQM concept. Now I want to test my logic design by using ndnSIM to be sure it's valid. In order that, My questions: 1- How to determine the PIT table size (I mean the size; what is the min and max PIT table size can I assign) in my scenario? 2- Are you have any example, scenario deal with the PIT? Especially in term of replacement policy or any other else. How can I define the request traffic in order to generate the number of pending interests and how much? Thanks. ??Raaid?Alubady Doctoral Researcher? InterNetWorks Research Lab, School of Computing, Universiti Utara Malaysia 06010 UUM Sintok, Kedah, M A L A Y S I AHP:?+60129636379 , +601128408117 raaid.n.alubady at uobabylon.edu.iqraaid.alubady@internetworks.myraaid.n.alubady at ieee.org alubadyraaid at gmail.com? **********************************************************************************Join us at the 2015 4th International Conference on Internet Applications, Protocols and Services (NETAPPS2015) in Putrajaya, Malaysia? http://netapps2015.internetworks.my/********************************************************************************** On Thursday, November 12, 2015 4:07 PM, Raaid Alubady wrote: ?Thank you so much Alex for your time; I appreciate your explanation and comments as well as you are the best. Actually, I designed a new approach to implement PIT table and on the same time to prevent the PIT become overflow by using AQM concept. Now I want to test my logic design by using ndnSIM to be sure it's valid. In order that, My questions: 1- How to determine the PIT table size (I mean the size; what is the min and max PIT table size can I assign) in my scenario? 2- Are you have any example, scenario deal with the PIT? Especially in term of replacement policy or any other else. How can I define the request traffic in order to generate the number of pending interests and how much??Raaid?Alubady Doctoral Researcher? InterNetWorks Research Lab, School of Computing, Universiti Utara Malaysia 06010 UUM Sintok, Kedah, M A L A Y S I AHP:?+60129636379 , +601128408117 raaid.n.alubady at uobabylon.edu.iqraaid.alubady@internetworks.myraaid.n.alubady at ieee.org alubadyraaid at gmail.com? **********************************************************************************Join us at the 2015 4th International Conference on Internet Applications, Protocols and Services (NETAPPS2015) in Putrajaya, Malaysia? http://netapps2015.internetworks.my/********************************************************************************** On Wednesday, November 11, 2015 8:11 PM, Alex Afanasyev wrote: > On Nov 6, 2015, at 7:05 PM, Raaid Nasur Kadham Al-ubady wrote: > > Hello everyone; > > Currently, I am a Ph.D student in the school of computing, computer > science department, university utara malaysia. My research area is? a > scalability on PIT in NDN. > > In my study, I want to simulate a different PIT size, according to that, > from where > can I start as well as what is the minimum and maximum size should I > assigned? Hi Raaid, What do you mean by PIT size?? The number of pending interests is defined by the request traffic.? Do you mean you want to limit the number of pending interests in PIT or something else? If it is the limit, you need to implement this limit based on the logic you want, i.e., what should happen when the limit is reached---remove some existing entry or refuse new entry. -- Alex _______________________________________________ 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 kerrouche.abdelali at yahoo.fr Sat Nov 21 08:10:13 2015 From: kerrouche.abdelali at yahoo.fr (Kerrouche Abdelali) Date: Sat, 21 Nov 2015 16:10:13 +0000 (UTC) Subject: [ndnSIM] Question about Interest Nack References: <768562118.13452439.1448122213935.JavaMail.yahoo.ref@mail.yahoo.com> Message-ID: <768562118.13452439.1448122213935.JavaMail.yahoo@mail.yahoo.com> Dears all; How I can use the Interest Nack in the ndnSIM 2.1 for notifying the problems of forwarding to the nodes in downstream? Best regards ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From srk130230 at utdallas.edu Sat Nov 21 09:54:33 2015 From: srk130230 at utdallas.edu (Komajwar, Sharvari) Date: Sat, 21 Nov 2015 17:54:33 +0000 Subject: [ndnSIM] Adding a new tag Message-ID: Hello, I have created a new tag.But I want to add this new tag only if node has the data for corresponding incoming interest in its cache. How can I do this in fw/forwarder.cpp?? I tried with RemovePacketTag() but its not working for me. Thanks & Regards, Sharvari komajwar -------------- next part -------------- An HTML attachment was scrubbed... URL: From z.rezaiefar at yahoo.com Tue Nov 24 18:01:21 2015 From: z.rezaiefar at yahoo.com (Zeinab Rezaiefar) Date: Wed, 25 Nov 2015 02:01:21 +0000 (UTC) Subject: [ndnSIM] what will be happened if the Interest message is not replied? References: <1657023754.10819254.1448416881489.JavaMail.yahoo.ref@mail.yahoo.com> Message-ID: <1657023754.10819254.1448416881489.JavaMail.yahoo@mail.yahoo.com> Hello everyone,I have changed forward.cpp file to drop some interest message to not forward . for it, I changed the function onIncomingInterest function in forward.cpp. but when I run the program I have gotten " Program received signal SIGABRT, Aborted" and after debugging I received "? what():? Couldn't enable local control header (code: 10060, info: request timed out)"I think the? problem can be timeout of some interest message that does not?receive reply. is there any body knows how I can solve it.thanks in advancebest regards? -------------- next part -------------- An HTML attachment was scrubbed... URL: From cghali at uci.edu Tue Nov 24 18:42:44 2015 From: cghali at uci.edu (Cesar Ghali) Date: Tue, 24 Nov 2015 18:42:44 -0800 Subject: [ndnSIM] what will be happened if the Interest message is not replied? In-Reply-To: <1657023754.10819254.1448416881489.JavaMail.yahoo@mail.yahoo.com> References: <1657023754.10819254.1448416881489.JavaMail.yahoo.ref@mail.yahoo.com> <1657023754.10819254.1448416881489.JavaMail.yahoo@mail.yahoo.com> Message-ID: <56552024.3000303@uci.edu> I might have encountered something similar recently. I can't give a lot of technical details though. As far as I understood from the ndnSIM code, especially L3Protocol class, it uses some internal and management faces. If you block interests or content objects on these faces, whatever sent these interests will timeout and the simulator will give the error that you're getting. HTH, Cesar On 11/24/2015 06:01 PM, Zeinab Rezaiefar wrote: > Hello everyone,I have changed forward.cpp file to drop some interest message to not forward . for it, I changed the function onIncomingInterest function in forward.cpp. but when I run the program I have gotten " Program received signal SIGABRT, Aborted" and after debugging I received " what(): Couldn't enable local control header (code: 10060, info: request timed out)"I think the problem can be timeout of some interest message that does not receive reply. is there any body knows how I can solve it.thanks in advancebest regards > > > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > -- cesarghali.info From z.rezaiefar at yahoo.com Thu Nov 26 05:00:54 2015 From: z.rezaiefar at yahoo.com (Zeinab Rezaiefar) Date: Thu, 26 Nov 2015 13:00:54 +0000 (UTC) Subject: [ndnSIM] problem with droping interest mesage References: <1196569380.11787427.1448542854671.JavaMail.yahoo.ref@mail.yahoo.com> Message-ID: <1196569380.11787427.1448542854671.JavaMail.yahoo@mail.yahoo.com> ? Hello ,I have changed forward.cpp file to drop some interest message to not forward . for it, I changed the function onIncomingInterest function in forward.cpp. ( just returning from forward.cpp if condition satisfied after command "const_cast(interest).setIncomingFaceId(inFace.getId()); ++m_counters.getNInInterests(); ")but when I run the program after 9.9 second that program is run I have gotten " Program received signal SIGABRT, Aborted" and after debugging I received "? what():? Couldn't enable local control header (code: 10060, info: request timed out)"I think the? problem can be timeout of some interest message that does not?receive reply. I will become so thankful if you help me to solve it.thanks in advancebest regards -------------- next part -------------- An HTML attachment was scrubbed... URL: From cghali at uci.edu Thu Nov 26 12:00:01 2015 From: cghali at uci.edu (Cesar Ghali) Date: Thu, 26 Nov 2015 12:00:01 -0800 Subject: [ndnSIM] problem with droping interest mesage In-Reply-To: <1196569380.11787427.1448542854671.JavaMail.yahoo@mail.yahoo.com> References: <1196569380.11787427.1448542854671.JavaMail.yahoo.ref@mail.yahoo.com> <1196569380.11787427.1448542854671.JavaMail.yahoo@mail.yahoo.com> Message-ID: <761CB086-A27A-4E56-87E3-381DD08EE93E@uci.edu> Hello Zeinab, I still believe, although I might be mistaken, that some of the control/management interests that are important for ndnSIM, and NFD, to work are being dropped. I got a similar error few days ago. Looking quickly into this: Looks like the error is generated here: https://github.com/named-data-ndnSIM/NFD/blob/NFD-0.3.4-ndnSIM/rib/rib-manager.cpp#L587 Doing grep -r ?10060? * shows that the source of the code you?re getting is in 'ndn-cxx/src/management/nfd-controller.cpp?, specifically here: https://github.com/named-data-ndnSIM/ndn-cxx/blob/ndn-cxx-0.3.4-ndnSIM/src/management/nfd-controller.cpp#L50 This ?startCommand' function is triggered here: https://github.com/named-data-ndnSIM/ndn-cxx/blob/ndn-cxx-0.3.4-ndnSIM/src/management/nfd-controller.hpp#L67 This ?start? function is function template and doing grep -r "start On Nov 26, 2015, at 5:00 AM, Zeinab Rezaiefar wrote: > > Hello , > I have changed forward.cpp file to drop some interest message to not forward . for it, I changed the function onIncomingInterest function in forward.cpp. ( just returning from forward.cpp if condition satisfied after command "const_cast(interest).setIncomingFaceId(inFace.getId()); > ++m_counters.getNInInterests(); ") > but when I run the program after 9.9 second that program is run I have gotten " Program received signal SIGABRT, Aborted" and after debugging I received " what(): Couldn't enable local control header (code: 10060, info: request timed out)" > I think the problem can be timeout of some interest message that does not receive reply. I will become so thankful if you help me to solve it. > thanks in advance > best regards > > > > > > > > > > > > > _______________________________________________ > 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 z.rezaiefar at yahoo.com Thu Nov 26 19:10:35 2015 From: z.rezaiefar at yahoo.com (Zeinab Rezaiefar) Date: Fri, 27 Nov 2015 03:10:35 +0000 (UTC) Subject: [ndnSIM] problem with dropping Interest message References: <707093591.11270428.1448593835347.JavaMail.yahoo.ref@mail.yahoo.com> Message-ID: <707093591.11270428.1448593835347.JavaMail.yahoo@mail.yahoo.com> Dear Cesar, thank you so much for your email. I think you said right, but how can I?just drop Interest message and solve this problem.actually?I want to drop?interest message according some credibility that I defined for each face?that?interest message is received from it.anyhow, in this step, I just defined a random number( between zero and one)??and randomly dropped the interest message:if( random_ value > 0.6){?return;}??I would like to say according to this site ( http://ndnsim.net/1.0/doxygen/ndn-forwarding-strategy_8cc_source.html#l00493?)there is a function for dropping interest message ( m_dropInterests)but I do not have these?files (forwarding-strategy.cpp,...)?in my package?which I installed it according to the http://ndnsim.net/2.0/getting-started.html?how can I add these files. maybe with this command, I can delete just interest message.thanks in advancebest regardsZeinab -------------- next part -------------- An HTML attachment was scrubbed... URL: From cghali at uci.edu Fri Nov 27 20:11:17 2015 From: cghali at uci.edu (Cesar Ghali) Date: Fri, 27 Nov 2015 20:11:17 -0800 Subject: [ndnSIM] problem with dropping Interest message In-Reply-To: <707093591.11270428.1448593835347.JavaMail.yahoo@mail.yahoo.com> References: <707093591.11270428.1448593835347.JavaMail.yahoo.ref@mail.yahoo.com> <707093591.11270428.1448593835347.JavaMail.yahoo@mail.yahoo.com> Message-ID: <70E8807B-C0C4-432B-A91C-AD684DBAB671@uci.edu> Hi Zeinab, I?m not sure how to distinguish between control interests and interest coming from applications. Maybe someone from the ndnSIM team can give more insight. However, I have some hacks that might help you (depending on your scenario): You can inspect the name of all internal control interests and if they share a prefix (or have a common name component), you can detect and exclude them from your drop policy. You can try to see if interests being received by the forwarder are going to be sent on an external face. This means that they?re not control interests, unless (1) you have two applications talking together on the same node therefore the interests between them will be sent to internal faces, or (2) there are some control interests that are actually transmitted between different nodes. Modify the interest structure and add a DROP flag. This flag is set by consumer?s application based on the random number you mentioned before. If a forwarder receives an interest with this flag set, it will be dropped. Make sure the default value of this flag is ?0?. This means that only the interests coming out of your application might have flag set, and all other interests (including control ones) will have flag unset. Modify the interest structure to add a flag APPLICATION. This flag will be set in your application to indicate that the interest is coming from the application layer. Also, the default value of this flag should be ?0?. In this case, you can distinguish between control and application interests in the forwarder and apply your policy on the ones coming from applications. I recommend the 3rd or 4th options because they give you more control. However, if there?s a way to distinguish at the forwarder between control interests and the ones coming from applications without adding any flag, that would be the best option. HTH, Cesar -- PGP Key: http://www.cesarghali.info/contact.html PGP Key ID: 0x455D8052 > On Nov 26, 2015, at 7:10 PM, Zeinab Rezaiefar wrote: > > Dear Cesar, > thank you so much for your email. I think you said right, but how can I just drop Interest message and solve this problem. > actually I want to drop interest message according some credibility that I defined for each face that interest message is received from it. > anyhow, in this step, I just defined a random number( between zero and one) and randomly dropped the interest message: > if( random_ value > 0.6){ > return;} > I would like to say according to this site ( http://ndnsim.net/1.0/doxygen/ndn-forwarding-strategy_8cc_source.html#l00493 ) > there is a function for dropping interest message ( m_dropInterests ) > but I do not have these files (forwarding-strategy.cpp,...) in my package which I installed it according to the http://ndnsim.net/2.0/getting-started.html > how can I add these files. maybe with this command, I can delete just interest message. > thanks in advance > best regards > Zeinab -------------- next part -------------- An HTML attachment was scrubbed... URL: From z.rezaiefar at yahoo.com Sat Nov 28 04:43:56 2015 From: z.rezaiefar at yahoo.com (Zeinab) Date: Sat, 28 Nov 2015 21:43:56 +0900 Subject: [ndnSIM] problem with dropping Interest message In-Reply-To: <70E8807B-C0C4-432B-A91C-AD684DBAB671@uci.edu> References: <707093591.11270428.1448593835347.JavaMail.yahoo.ref@mail.yahoo.com> <707093591.11270428.1448593835347.JavaMail.yahoo@mail.yahoo.com> <70E8807B-C0C4-432B-A91C-AD684DBAB671@uci.edu> Message-ID: Hi Cesar, Thank you so much for nice and kind helps. You gave me good choices . Moreover, I would like to say that I have installed ndnsim version 1, Since it has forwarding-strategy file. After modifying this file to drop interest message i did not receive any error. Thanks Best regards Zeinab > On Nov 28, 2015, at 1:11 PM, Cesar Ghali wrote: > > Hi Zeinab, > > I?m not sure how to distinguish between control interests and interest coming from applications. Maybe someone from the ndnSIM team can give more insight. > > However, I have some hacks that might help you (depending on your scenario): > > You can inspect the name of all internal control interests and if they share a prefix (or have a common name component), you can detect and exclude them from your drop policy. > You can try to see if interests being received by the forwarder are going to be sent on an external face. This means that they?re not control interests, unless (1) you have two applications talking together on the same node therefore the interests between them will be sent to internal faces, or (2) there are some control interests that are actually transmitted between different nodes. > Modify the interest structure and add a DROP flag. This flag is set by consumer?s application based on the random number you mentioned before. If a forwarder receives an interest with this flag set, it will be dropped. Make sure the default value of this flag is ?0?. This means that only the interests coming out of your application might have flag set, and all other interests (including control ones) will have flag unset. > Modify the interest structure to add a flag APPLICATION. This flag will be set in your application to indicate that the interest is coming from the application layer. Also, the default value of this flag should be ?0?. In this case, you can distinguish between control and application interests in the forwarder and apply your policy on the ones coming from applications. > > I recommend the 3rd or 4th options because they give you more control. However, if there?s a way to distinguish at the forwarder between control interests and the ones coming from applications without adding any flag, that would be the best option. > > HTH, > Cesar > > -- > PGP Key: http://www.cesarghali.info/contact.html > PGP Key ID: 0x455D8052 > >> On Nov 26, 2015, at 7:10 PM, Zeinab Rezaiefar wrote: >> >> Dear Cesar, >> thank you so much for your email. I think you said right, but how can I just drop Interest message and solve this problem. >> actually I want to drop interest message according some credibility that I defined for each face that interest message is received from it. >> anyhow, in this step, I just defined a random number( between zero and one) and randomly dropped the interest message: >> if( random_ value > 0.6){ >> return;} >> I would like to say according to this site ( http://ndnsim.net/1.0/doxygen/ndn-forwarding-strategy_8cc_source.html#l00493 ) >> there is a function for dropping interest message ( m_dropInterests) >> but I do not have these files (forwarding-strategy.cpp,...) in my package which I installed it according to the http://ndnsim.net/2.0/getting-started.html >> how can I add these files. maybe with this command, I can delete just interest message. >> thanks in advance >> best regards >> Zeinab > -------------- next part -------------- An HTML attachment was scrubbed... URL: From s.askari.md at gmail.com Sat Nov 28 11:55:04 2015 From: s.askari.md at gmail.com (sima askari) Date: Sat, 28 Nov 2015 23:25:04 +0330 Subject: [ndnSIM] name lookup in ndnSIM Message-ID: Hi, I am currently a graduate student in IT and I want to improve the speed of name lookup, in NDN using ndnSIM2 as my graduate project. I would appreciate it, if you let me know about feasibility of that project. Best Regards, Sima -------------- next part -------------- An HTML attachment was scrubbed... URL: From tk.kt0518 at gmail.com Sun Nov 29 03:05:52 2015 From: tk.kt0518 at gmail.com (=?UTF-8?B?5Yqg6Jek5bCt5b2m?=) Date: Sun, 29 Nov 2015 20:05:52 +0900 Subject: [ndnSIM] A question on perFibRateLimit Message-ID: Dear Dr. Alexander Afanasyev, My name is Takahiko Kato. I'm an undergraduate student in Sophia University, Tokyo, Japan. I'm studying an NDN system in my undergraduate research activity. Now, I'm trying to implement the stateful forwarding in ndnSIM, but I have some difficulties. My current situation is the following. 1. I'm using ndnSIM 1.0, and the "ns3::ndn::fw::BestRoute::PerOutFaceLimits::PerFibLimits" setting with "ns3::ndn::Limits::Rate" and "EnableNACKs" = "true". I also use the dumbel topology with two consumers and two publishers, and the best route routing. 2. When I invoke the simulator, the function "LeakBucket" is invoked through "NotifyNewAggregate" for perOutFaceLimit, but not for perFibLimit. Those functions are defined in src/ndnSIM/utils/ndn-limits-rate.cc. As a result, the value of m_bucket is not decreased for perFibLimit. If you kindly tell me something about this situation, I'll be very much appreciated. Sincerely Yours, Takahiko Kato -------------- next part -------------- An HTML attachment was scrubbed... URL: From aaronishere at qq.com Sun Nov 29 08:38:47 2015 From: aaronishere at qq.com (=?ISO-8859-1?B?QWFyb24=?=) Date: Mon, 30 Nov 2015 00:38:47 +0800 Subject: [ndnSIM] Errors occurred when setting up ndnSIM2.1 Message-ID: Hi, all! I tried to set up ndnSIM 2.1 following the instructions of Getting Started. However, some errors occurred as shown below. root at Aaron:/home/NDNSIM/ndnSIM-2.1/ns-3# ./waf configure Setting top to : /home/NDNSIM/ndnSIM-2.1/ns-3 Setting out to : /home/NDNSIM/ndnSIM-2.1/ns-3/build Checking for 'gcc' (C compiler) : /usr/bin/gcc Checking for cc version : 4.9.1 Checking for 'g++' (C++ compiler) : /usr/bin/g++ Checking supported compiler CXXFLAGS : -std=c++0x -std=c++11 Checking supported optimizations CXXFLAGS : -O0 Checking supported debug CXXFLAGS : -ggdb -g3 Checking supported warnings CXXFLAGS : -Wall -Wno-error=deprecated-declarations -fstrict-aliasing -Wstrict-aliasing Checking for compilation flag -Wl,--soname=foo... support : ok Checking for program 'python' : /usr/bin/python Checking for python version : (2, 7, 9, 'final', 0) python-config : /usr/bin/python-config Asking python-config for pyembed '--cflags --libs --ldflags' flags : yes Getting pyembed flags from python-config : yes Asking python-config for pyext '--cflags --libs --ldflags' flags : yes Getting pyext flags from python-config : yes Checking for compilation flag -fvisibility=hidden... support : ok Checking for compilation flag -Wno-array-bounds... support : ok Checking for pybindgen location : ../pybindgen (guessed) Checking for python module 'pybindgen' : ok Traceback (most recent call last): File "setup.py", line 2, in from setuptools import setup ImportError: No module named setuptools Checking for pybindgen version : pybindgen (found ''), (need '0.17.0.post45+ng4806e4f') Checking boost includes : 1_55 Checking boost libs : ok Checking for boost linkage : ok Checking for click location : not found Checking for program 'pkg-config' : /usr/bin/pkg-config Checking for 'gtk+-2.0' >= 2.12 : not found Checking for 'libxml-2.0' >= 2.7 : yes Checking for type uint128_t : not found Checking for type __uint128_t : yes Checking high precision implementation : 128-bit integer (default) 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 : yes Checking for header sys/ioctl.h : yes Checking for header net/if.h : yes Checking for header net/ethernet.h : yes Checking for header linux/if_tun.h : yes Checking for header netpacket/packet.h : yes Checking for NSC location : not found Checking for program 'doxygen' : not found Checking for program 'tar' : /bin/tar Checking for program 'sphinx-build' : not found Checking for std::is_default_constructible : yes Checking for std::is_nothrow_move_constructible : yes Checking for std::is_nothrow_move_assignable : yes Checking for friend typename-specifier : yes Checking for override and final specifiers : yes Checking for std::vector::insert with const_iterators : yes Checking for library pthread : yes Checking for 'sqlite3' : not found Checking for SQLite3 library : not found The configuration failed (complete log in /home/NDNSIM/ndnSIM-2.1/ns-3/build/config.log) How to fix it? Regards, Aaron -------------- next part -------------- An HTML attachment was scrubbed... URL: From christian.kreuzberger at itec.aau.at Sun Nov 29 09:24:26 2015 From: christian.kreuzberger at itec.aau.at (Christian Kreuzberger) Date: Sun, 29 Nov 2015 18:24:26 +0100 Subject: [ndnSIM] Errors occurred when setting up ndnSIM2.1 In-Reply-To: References: Message-ID: <220768858c5e7521488bbdc268cdc7b5@itec.aau.at> It tells you that you are missing sqlite (last two lines of the log). What operating system (distribution) are you using? On 2015-11-29 17:38, Aaron wrote: > Hi, all! > > I tried to set up ndnSIM 2.1 following the instructions of Getting > Started. However, some errors occurred as shown below. > > root at Aaron:/home/NDNSIM/ndnSIM-2.1/ns-3# ./waf configure > Setting top to : /home/NDNSIM/ndnSIM-2.1/ns-3 > Setting out to : /home/NDNSIM/ndnSIM-2.1/ns-3/build > Checking for 'gcc' (C compiler) : /usr/bin/gcc > Checking for cc version : 4.9.1 > Checking for 'g++' (C++ compiler) : /usr/bin/g++ > Checking supported compiler CXXFLAGS : -std=c++0x -std=c++11 > Checking supported optimizations CXXFLAGS : -O0 > Checking supported debug CXXFLAGS : -ggdb -g3 > Checking supported warnings CXXFLAGS : -Wall > -Wno-error=deprecated-declarations -fstrict-aliasing -Wstrict-aliasing > > Checking for compilation flag -Wl,--soname=foo... support : ok > Checking for program 'python' : /usr/bin/python > Checking for python version : (2, 7, 9, 'final', 0) > python-config : /usr/bin/python-config > Asking python-config for pyembed '--cflags --libs --ldflags' flags : > yes > Getting pyembed flags from python-config : yes > Asking python-config for pyext '--cflags --libs --ldflags' flags : yes > > Getting pyext flags from python-config : yes > Checking for compilation flag -fvisibility=hidden... support : ok > Checking for compilation flag -Wno-array-bounds... support : ok > Checking for pybindgen location : ../pybindgen (guessed) > Checking for python module 'pybindgen' : ok > Traceback (most recent call last): > File "setup.py", line 2, in > from setuptools import setup > ImportError: No module named setuptools > Checking for pybindgen version : > pybindgen (found ''), (need '0.17.0.post45+ng4806e4f') > Checking boost includes : 1_55 > Checking boost libs : ok > Checking for boost linkage : ok > Checking for click location : not found > Checking for program 'pkg-config' : /usr/bin/pkg-config > Checking for 'gtk+-2.0' >= 2.12 : not found > Checking for 'libxml-2.0' >= 2.7 : yes > Checking for type uint128_t : not found > Checking for type __uint128_t : yes > Checking high precision implementation : 128-bit integer (default) > 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 : yes > Checking for header sys/ioctl.h : yes > Checking for header net/if.h : yes > Checking for header net/ethernet.h : yes > Checking for header linux/if_tun.h : yes > Checking for header netpacket/packet.h : yes > Checking for NSC location : not found > Checking for program 'doxygen' : not found > Checking for program 'tar' : /bin/tar > Checking for program 'sphinx-build' : not found > Checking for std::is_default_constructible : yes > Checking for std::is_nothrow_move_constructible : yes > Checking for std::is_nothrow_move_assignable : yes > Checking for friend typename-specifier : yes > Checking for override and final specifiers : yes > Checking for std::vector::insert with const_iterators : yes > Checking for library pthread : yes > Checking for 'sqlite3' : not found > Checking for SQLite3 library : not found > The configuration failed > (complete log in /home/NDNSIM/ndnSIM-2.1/ns-3/build/config.log) > > How to fix it? > > Regards, > > Aaron > > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim From aaronishere at qq.com Mon Nov 30 04:12:19 2015 From: aaronishere at qq.com (=?ISO-8859-1?B?QWFyb24=?=) Date: Mon, 30 Nov 2015 20:12:19 +0800 Subject: [ndnSIM] visualizer cannot be used Message-ID: Hi, all The ndnSIM 2.1 is compiled successfully and can run examples without "--vis". However, if I type "--vis", error is occurred. Is it related to visualizer not built? How to fix it? The Ubuntu 14.04 is used. Modules not built (see ns-3 tutorial for explanation): brite click openflow visualizer root at Aaron:/home/NDNSIM/ndnSIM-2.1/ns-3# ./waf --run=ndn-simple Waf: Entering directory `/home/NDNSIM/ndnSIM-2.1/ns-3/build' Waf: Leaving directory `/home/NDNSIM/ndnSIM-2.1/ns-3/build' Build commands will be stored in build/compile_commands.json 'build' finished successfully (1.049s) root at Aaron:/home/NDNSIM/ndnSIM-2.1/ns-3# ./waf --run=ndn-simple --vis Waf: Entering directory `/home/NDNSIM/ndnSIM-2.1/ns-3/build' Waf: Leaving directory `/home/NDNSIM/ndnSIM-2.1/ns-3/build' Build commands will be stored in build/compile_commands.json 'build' finished successfully (1.044s) assert failed. cond="uid != 0", msg="Assert in TypeId::LookupByName: ns3::VisualSimulatorImpl not found", file=../src/core/model/type-id.cc, line=755 terminate called without an active exception Command ['/home/NDNSIM/ndnSIM-2.1/ns-3/build/src/ndnSIM/examples/ns3-dev-ndn-simple-debug', '--SimulatorImplementationType=ns3::VisualSimulatorImpl'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run --command-template="gdb --args %s "). Setting top to : /home/NDNSIM/ndnSIM-2.1/ns-3 Setting out to : /home/NDNSIM/ndnSIM-2.1/ns-3/build Checking for 'gcc' (C compiler) : /usr/bin/gcc Checking for cc version : 4.9.1 Checking for 'g++' (C++ compiler) : /usr/bin/g++ Checking supported compiler CXXFLAGS : -std=c++0x -std=c++11 Checking supported optimizations CXXFLAGS : -O0 Checking supported debug CXXFLAGS : -ggdb -g3 Checking supported warnings CXXFLAGS : -Wall -Wno-error=deprecated-declarations -fstrict-aliasing -Wstrict-aliasing Checking for compilation flag -Wl,--soname=foo... support : ok Checking for program 'python' : /usr/bin/python Checking for python version : (2, 7, 9, 'final', 0) python-config : /usr/bin/python-config Asking python-config for pyembed '--cflags --libs --ldflags' flags : yes Getting pyembed flags from python-config : yes Asking python-config for pyext '--cflags --libs --ldflags' flags : yes Getting pyext flags from python-config : yes Checking for compilation flag -fvisibility=hidden... support : ok Checking for compilation flag -Wno-array-bounds... support : ok Checking for pybindgen location : ../pybindgen (guessed) Checking for python module 'pybindgen' : ok Traceback (most recent call last): File "setup.py", line 2, in from setuptools import setup ImportError: No module named setuptools Checking for pybindgen version : pybindgen (found ''), (need '0.17.0.post45+ng4806e4f') Checking boost includes : 1_55 Checking boost libs : ok Checking for boost linkage : ok Checking for click location : not found Checking for program 'pkg-config' : /usr/bin/pkg-config Checking for 'gtk+-2.0' >= 2.12 : not found Checking for 'libxml-2.0' >= 2.7 : yes Checking for type uint128_t : not found Checking for type __uint128_t : yes Checking high precision implementation : 128-bit integer (default) 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 : yes Checking for header sys/ioctl.h : yes Checking for header net/if.h : yes Checking for header net/ethernet.h : yes Checking for header linux/if_tun.h : yes Checking for header netpacket/packet.h : yes Checking for NSC location : not found Checking for program 'doxygen' : not found Checking for program 'tar' : /bin/tar Checking for program 'sphinx-build' : not found Checking for std::is_default_constructible : yes Checking for std::is_nothrow_move_constructible : yes Checking for std::is_nothrow_move_assignable : yes Checking for friend typename-specifier : yes Checking for override and final specifiers : yes Checking for std::vector::insert with const_iterators : yes Checking for library pthread : yes Checking for 'sqlite3' : yes Checking Crypto++ lib : 561 Checking if CryptoPP library works : yes Checking for OpenFlow location : not found Checking for 'sqlite3' : yes Checking for header linux/if_tun.h : yes Checking for program 'sudo' : /usr/bin/sudo Checking for program 'valgrind' : not found Checking for 'gsl' : not found Checking for program 'doxygen' : not found ---- Summary of optional NS-3 features: Build profile : debug Build directory : Python Bindings : not enabled (PyBindGen version not correct and newer version could not be retrieved) BRITE Integration : not enabled (BRITE not enabled (see option --with-brite)) NS-3 Click Integration : not enabled (nsclick not enabled (see option --with-nsclick)) GtkConfigStore : not enabled (library 'gtk+-2.0 >= 2.12' not found) XmlIo : enabled Threading Primitives : enabled Real Time Simulator : enabled File descriptor NetDevice : enabled Tap FdNetDevice : enabled Emulation FdNetDevice : enabled PlanetLab FdNetDevice : not enabled (PlanetLab operating system not detected (see option --force-planetlab)) Network Simulation Cradle : not enabled (NSC not found (see option --with-nsc)) MPI Support : not enabled (option --enable-mpi not selected) ndnSIM : enabled NS-3 OpenFlow Integration : not enabled (OpenFlow not enabled (see option --with-openflow)) SQlite stats data output : enabled Tap Bridge : enabled PyViz visualizer : not enabled (Python Bindings are needed but not enabled) Use sudo to set suid bit : not enabled (option --enable-sudo not selected) Build tests : not enabled (defaults to disabled) Build examples : enabled GNU Scientific Library (GSL) : not enabled (GSL not found) Thanks, Regards, Aaron -------------- next part -------------- An HTML attachment was scrubbed... URL: From rozhnova.natalya at gmail.com Mon Nov 30 07:53:29 2015 From: rozhnova.natalya at gmail.com (Natalya Rozhnova) Date: Mon, 30 Nov 2015 16:53:29 +0100 Subject: [ndnSIM] visualizer cannot be used In-Reply-To: References: Message-ID: Hi Aaron, I guess your problem is the pybindgen: Checking for pybindgen version : pybindgen (found ''), (need '0.17.0.post45+ng4806e4f') You can take one from here: git clone https://github.com/named-data-ndnSIM/pybindgen.git pybindgen And compile it as explained in README file. Hope it helps, Natalya 2015-11-30 13:12 GMT+01:00 Aaron : > Hi, all > > The ndnSIM 2.1 is compiled successfully and can run examples without > "--vis". However, if I type "--vis", error is occurred. Is it related to > visualizer not built? How to fix it? > The Ubuntu 14.04 is used. > > Modules not built (see ns-3 tutorial for explanation): > brite click > openflow > visualizer > > root at Aaron:/home/NDNSIM/ndnSIM-2.1/ns-3# ./waf --run=ndn-simple > Waf: Entering directory `/home/NDNSIM/ndnSIM-2.1/ns-3/build' > Waf: Leaving directory `/home/NDNSIM/ndnSIM-2.1/ns-3/build' > Build commands will be stored in build/compile_commands.json > 'build' finished successfully (1.049s) > > root at Aaron:/home/NDNSIM/ndnSIM-2.1/ns-3# ./waf --run=ndn-simple --vis > Waf: Entering directory `/home/NDNSIM/ndnSIM-2.1/ns-3/build' > Waf: Leaving directory `/home/NDNSIM/ndnSIM-2.1/ns-3/build' > Build commands will be stored in build/compile_commands.json > 'build' finished successfully (1.044s) > assert failed. cond="uid != 0", msg="Assert in TypeId::LookupByName: > ns3::VisualSimulatorImpl not found", file=../src/core/model/type-id.cc, > line=755 > terminate called without an active exception > Command > ['/home/NDNSIM/ndnSIM-2.1/ns-3/build/src/ndnSIM/examples/ns3-dev-ndn-simple-debug', > '--SimulatorImplementationType=ns3::VisualSimulatorImpl'] terminated with > signal SIGIOT. Run it under a debugger to get more information (./waf --run > --command-template="gdb --args %s "). > > > > Setting top to : /home/NDNSIM/ndnSIM-2.1/ns-3 > Setting out to : > /home/NDNSIM/ndnSIM-2.1/ns-3/build > Checking for 'gcc' (C compiler) : /usr/bin/gcc > Checking for cc version : 4.9.1 > Checking for 'g++' (C++ compiler) : /usr/bin/g++ > Checking supported compiler CXXFLAGS : -std=c++0x -std=c++11 > Checking supported optimizations CXXFLAGS : -O0 > Checking supported debug CXXFLAGS : -ggdb -g3 > Checking supported warnings CXXFLAGS : -Wall > -Wno-error=deprecated-declarations -fstrict-aliasing -Wstrict-aliasing > Checking for compilation flag -Wl,--soname=foo... support : ok > Checking for program 'python' : > /usr/bin/python > Checking for python version : (2, 7, 9, > 'final', 0) > python-config : > /usr/bin/python-config > Asking python-config for pyembed '--cflags --libs --ldflags' flags : yes > Getting pyembed flags from python-config : yes > Asking python-config for pyext '--cflags --libs --ldflags' flags : yes > Getting pyext flags from python-config : yes > Checking for compilation flag -fvisibility=hidden... support : ok > Checking for compilation flag -Wno-array-bounds... support : ok > Checking for pybindgen location : > ../pybindgen (guessed) > Checking for python module 'pybindgen' : ok > Traceback (most recent call last): > File "setup.py", line 2, in > from setuptools import setup > ImportError: No module named setuptools > Checking for pybindgen version : > pybindgen (found ''), (need '0.17.0.post45+ng4806e4f') > Checking boost includes : 1_55 > Checking boost libs : ok > Checking for boost linkage : ok > Checking for click location : not > found > Checking for program 'pkg-config' : > /usr/bin/pkg-config > Checking for 'gtk+-2.0' >= 2.12 : not > found > Checking for 'libxml-2.0' >= 2.7 : yes > Checking for type uint128_t : not > found > Checking for type __uint128_t : yes > Checking high precision implementation : > 128-bit integer (default) > 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 : yes > Checking for header sys/ioctl.h : yes > Checking for header net/if.h : yes > Checking for header net/ethernet.h : yes > Checking for header linux/if_tun.h : yes > Checking for header netpacket/packet.h : yes > Checking for NSC location : not > found > Checking for program 'doxygen' : not > found > Checking for program 'tar' : > /bin/tar > Checking for program 'sphinx-build' : not > found > Checking for std::is_default_constructible : yes > Checking for std::is_nothrow_move_constructible : yes > Checking for std::is_nothrow_move_assignable : yes > Checking for friend typename-specifier : yes > Checking for override and final specifiers : yes > Checking for std::vector::insert with const_iterators : yes > Checking for library pthread : yes > Checking for 'sqlite3' : yes > Checking Crypto++ lib : 561 > Checking if CryptoPP library works : yes > Checking for OpenFlow location : not > found > Checking for 'sqlite3' : yes > Checking for header linux/if_tun.h : yes > Checking for program 'sudo' : > /usr/bin/sudo > Checking for program 'valgrind' : not > found > Checking for 'gsl' : not > found > Checking for program 'doxygen' : not > found > ---- Summary of optional NS-3 features: > Build profile : debug > Build directory : > Python Bindings : not enabled (PyBindGen version not correct > and newer version could not be retrieved) > BRITE Integration : not enabled (BRITE not enabled (see option > --with-brite)) > NS-3 Click Integration : not enabled (nsclick not enabled (see > option --with-nsclick)) > GtkConfigStore : not enabled (library 'gtk+-2.0 >= 2.12' > not found) > XmlIo : enabled > Threading Primitives : enabled > Real Time Simulator : enabled > File descriptor NetDevice : enabled > Tap FdNetDevice : enabled > Emulation FdNetDevice : enabled > PlanetLab FdNetDevice : not enabled (PlanetLab operating system > not detected (see option --force-planetlab)) > Network Simulation Cradle : not enabled (NSC not found (see option > --with-nsc)) > MPI Support : not enabled (option --enable-mpi not > selected) > ndnSIM : enabled > NS-3 OpenFlow Integration : not enabled (OpenFlow not enabled (see > option --with-openflow)) > SQlite stats data output : enabled > Tap Bridge : enabled > PyViz visualizer : not enabled (Python Bindings are needed > but not enabled) > Use sudo to set suid bit : not enabled (option --enable-sudo not > selected) > Build tests : not enabled (defaults to disabled) > Build examples : enabled > GNU Scientific Library (GSL) : not enabled (GSL not found) > > > Thanks, > > Regards, > > Aaron > > > _______________________________________________ > 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 shijunxiao at email.arizona.edu Mon Nov 30 08:10:42 2015 From: shijunxiao at email.arizona.edu (Junxiao Shi) Date: Mon, 30 Nov 2015 09:10:42 -0700 Subject: [ndnSIM] [Ndn-interest] NDN overhead In-Reply-To: <712FE4E7257849499414892DD92704BC73230879@INFRAEX02.oxia.corp> References: <712FE4E7257849499414892DD92704BC73230879@INFRAEX02.oxia.corp> Message-ID: Hi Nour Some discussions on this topic is posted on http://redmine.named-data.net/issues/2010#note-3 Yours, Junxiao > On Nov 30, 2015, at 9:08 AM, Nour El Houda Ben Youssef wrote: > > Dear all > I?m having trouble while calculating routing overhead of ndn ? do you have any idea how to calculate it using ndnSim? How to theoretically define it in the first place? > > thanks > > 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 > > _______________________________________________ > Ndn-interest mailing list > Ndn-interest at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest -------------- next part -------------- An HTML attachment was scrubbed... URL: From anilj.mailing at gmail.com Mon Nov 30 09:44:56 2015 From: anilj.mailing at gmail.com (Anil Jangam) Date: Mon, 30 Nov 2015 09:44:56 -0800 Subject: [ndnSIM] CryptoPP is present, but is not usable. Message-ID: Hi, Before we compile ndnSIM 2.1, do we have to install the ndn-cxx from it sources or should we be installing it from the sources provided under ndnSIM, which I think is slightly modified version? If I just do not install it, ndnSIM configure obviously gives configure error (Checking for 'libndn-cxx' : not found). When I try to configure and install ndn-cxx which is included in ndnSIM, I hit the following error. Checking for 'sqlite3' : yes hecking Crypto++ lib : 563 Checking if CryptoPP library works : no Checking if CryptoPP library works : no CryptoPP is present, but is not usable (complete log in /home/anilj1/sandbox/ndnSIM/ns-3/src/ndnSIM/ndn-cxx/build/config.log) As can be seen I have already compiled and installed the latest version (5.6.3) of the cryptopp from its source. (Got the reference from here: http://redmine.named-data.net/issues/1700) but it is not helping. This redmine change is about an year old. However is there any change made in recent past to ndnSIM in this regard? /anil. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Mon Nov 30 09:53:44 2015 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Mon, 30 Nov 2015 09:53:44 -0800 Subject: [ndnSIM] CryptoPP is present, but is not usable. In-Reply-To: References: Message-ID: Hi Anil, there was another thread about this issue. You may want to take a look at it: http://www.lists.cs.ucla.edu/pipermail/ndnsim/2015-November/002208.html Hope that this helps! Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Nov 30, 2015, at 9:44 AM, Anil Jangam wrote: > > Hi, > > Before we compile ndnSIM 2.1, do we have to install the ndn-cxx from it sources or should we be installing it from the sources provided under ndnSIM, which I think is slightly modified version? If I just do not install it, ndnSIM configure obviously gives configure error (Checking for 'libndn-cxx' : not found). > > When I try to configure and install ndn-cxx which is included in ndnSIM, I hit the following error. > > Checking for 'sqlite3' : yes > hecking Crypto++ lib : 563 > Checking if CryptoPP library works : no > Checking if CryptoPP library works : no > CryptoPP is present, but is not usable > (complete log in /home/anilj1/sandbox/ndnSIM/ns-3/src/ndnSIM/ndn-cxx/build/config.log) > > As can be seen I have already compiled and installed the latest version (5.6.3) of the cryptopp from its source. (Got the reference from here: http://redmine.named-data.net/issues/1700 ) but it is not helping. > > This redmine change is about an year old. However is there any change made in recent past to ndnSIM in this regard? > > /anil. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rozhnova.natalya at gmail.com Mon Nov 30 10:08:56 2015 From: rozhnova.natalya at gmail.com (Natalya Rozhnova) Date: Mon, 30 Nov 2015 19:08:56 +0100 Subject: [ndnSIM] CryptoPP is present, but is not usable. In-Reply-To: References: Message-ID: Hi Anil, As Spyridon mentionned, one of the questions about cryptopp has recently been resolved in the mailing list. As I was the author of that question, I will share some information that helped me a lot (together with answers of ndnSIM mailing list' members): https://aarthii92.wordpress.com/2015/04/16/ns-3-based-named-data-networking-simulator-ndnsim2-0-installation-in-ubuntu-14-04/ They explain how to correctly install the cryptopp library and solve the problem you just encountered. It is written for 2.0. but works fine for 2.1 too. Think about using --with-cryptopp=path/to/library option when configuring your ndnSIM. Hope it helps, Natalya 2015-11-30 18:44 GMT+01:00 Anil Jangam : > Hi, > > Before we compile ndnSIM 2.1, do we have to install the ndn-cxx from it > sources or should we be installing it from the sources provided under > ndnSIM, which I think is slightly modified version? If I just do not > install it, ndnSIM configure obviously gives configure error (Checking for > 'libndn-cxx' : not found). > > When I try to configure and install ndn-cxx which is included in ndnSIM, I > hit the following error. > > Checking for 'sqlite3' : yes > hecking Crypto++ lib : 563 > Checking if CryptoPP library works : no > Checking if CryptoPP library works : no > CryptoPP is present, but is not usable > (complete log in > /home/anilj1/sandbox/ndnSIM/ns-3/src/ndnSIM/ndn-cxx/build/config.log) > > As can be seen I have already compiled and installed the latest version > (5.6.3) of the cryptopp from its source. (Got the reference from here: > http://redmine.named-data.net/issues/1700) but it is not helping. > > This redmine change is about an year old. However is there any change made > in recent past to ndnSIM in this regard? > > /anil. > > > _______________________________________________ > 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 aa at CS.UCLA.EDU Mon Nov 30 14:04:42 2015 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Mon, 30 Nov 2015 14:04:42 -0800 Subject: [ndnSIM] visualizer cannot be used In-Reply-To: References: Message-ID: <979198DF-E738-4233-BBE8-6161332B6D30@cs.ucla.edu> Hi Aaron, Actually, you're just missing one python package. If you're on Ubuntu linux, you can run sudo apt-get install python-setuptools After that, ./waf configure should be able to detect pybindgen and determine its version. --- Alex > On Nov 30, 2015, at 7:53 AM, Natalya Rozhnova wrote: > > Hi Aaron, > > I guess your problem is the pybindgen: > Checking for pybindgen version : > pybindgen (found ''), (need '0.17.0.post45+ng4806e4f') > > You can take one from here: > git clone https://github.com/named-data-ndnSIM/pybindgen.git pybindgen > > And compile it as explained in README file. > > Hope it helps, > Natalya > > 2015-11-30 13:12 GMT+01:00 Aaron : > Hi, all > > The ndnSIM 2.1 is compiled successfully and can run examples without "--vis". However, if I type "--vis", error is occurred. Is it related to visualizer not built? How to fix it? > The Ubuntu 14.04 is used. > > Modules not built (see ns-3 tutorial for explanation): > brite click openflow > visualizer > > root at Aaron:/home/NDNSIM/ndnSIM-2.1/ns-3# ./waf --run=ndn-simple > Waf: Entering directory `/home/NDNSIM/ndnSIM-2.1/ns-3/build' > Waf: Leaving directory `/home/NDNSIM/ndnSIM-2.1/ns-3/build' > Build commands will be stored in build/compile_commands.json > 'build' finished successfully (1.049s) > > root at Aaron:/home/NDNSIM/ndnSIM-2.1/ns-3# ./waf --run=ndn-simple --vis > Waf: Entering directory `/home/NDNSIM/ndnSIM-2.1/ns-3/build' > Waf: Leaving directory `/home/NDNSIM/ndnSIM-2.1/ns-3/build' > Build commands will be stored in build/compile_commands.json > 'build' finished successfully (1.044s) > assert failed. cond="uid != 0", msg="Assert in TypeId::LookupByName: ns3::VisualSimulatorImpl not found", file=../src/core/model/type-id.cc, line=755 > terminate called without an active exception > Command ['/home/NDNSIM/ndnSIM-2.1/ns-3/build/src/ndnSIM/examples/ns3-dev-ndn-simple-debug', '--SimulatorImplementationType=ns3::VisualSimulatorImpl'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run --command-template="gdb --args %s "). > > > > Setting top to : /home/NDNSIM/ndnSIM-2.1/ns-3 > Setting out to : /home/NDNSIM/ndnSIM-2.1/ns-3/build > Checking for 'gcc' (C compiler) : /usr/bin/gcc > Checking for cc version : 4.9.1 > Checking for 'g++' (C++ compiler) : /usr/bin/g++ > Checking supported compiler CXXFLAGS : -std=c++0x -std=c++11 > Checking supported optimizations CXXFLAGS : -O0 > Checking supported debug CXXFLAGS : -ggdb -g3 > Checking supported warnings CXXFLAGS : -Wall -Wno-error=deprecated-declarations -fstrict-aliasing -Wstrict-aliasing > Checking for compilation flag -Wl,--soname=foo... support : ok > Checking for program 'python' : /usr/bin/python > Checking for python version : (2, 7, 9, 'final', 0) > python-config : /usr/bin/python-config > Asking python-config for pyembed '--cflags --libs --ldflags' flags : yes > Getting pyembed flags from python-config : yes > Asking python-config for pyext '--cflags --libs --ldflags' flags : yes > Getting pyext flags from python-config : yes > Checking for compilation flag -fvisibility=hidden... support : ok > Checking for compilation flag -Wno-array-bounds... support : ok > Checking for pybindgen location : ../pybindgen (guessed) > Checking for python module 'pybindgen' : ok > Traceback (most recent call last): > File "setup.py", line 2, in > from setuptools import setup > ImportError: No module named setuptools > Checking for pybindgen version : > pybindgen (found ''), (need '0.17.0.post45+ng4806e4f') > Checking boost includes : 1_55 > Checking boost libs : ok > Checking for boost linkage : ok > Checking for click location : not found > Checking for program 'pkg-config' : /usr/bin/pkg-config > Checking for 'gtk+-2.0' >= 2.12 : not found > Checking for 'libxml-2.0' >= 2.7 : yes > Checking for type uint128_t : not found > Checking for type __uint128_t : yes > Checking high precision implementation : 128-bit integer (default) > 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 : yes > Checking for header sys/ioctl.h : yes > Checking for header net/if.h : yes > Checking for header net/ethernet.h : yes > Checking for header linux/if_tun.h : yes > Checking for header netpacket/packet.h : yes > Checking for NSC location : not found > Checking for program 'doxygen' : not found > Checking for program 'tar' : /bin/tar > Checking for program 'sphinx-build' : not found > Checking for std::is_default_constructible : yes > Checking for std::is_nothrow_move_constructible : yes > Checking for std::is_nothrow_move_assignable : yes > Checking for friend typename-specifier : yes > Checking for override and final specifiers : yes > Checking for std::vector::insert with const_iterators : yes > Checking for library pthread : yes > Checking for 'sqlite3' : yes > Checking Crypto++ lib : 561 > Checking if CryptoPP library works : yes > Checking for OpenFlow location : not found > Checking for 'sqlite3' : yes > Checking for header linux/if_tun.h : yes > Checking for program 'sudo' : /usr/bin/sudo > Checking for program 'valgrind' : not found > Checking for 'gsl' : not found > Checking for program 'doxygen' : not found > ---- Summary of optional NS-3 features: > Build profile : debug > Build directory : > Python Bindings : not enabled (PyBindGen version not correct and newer version could not be retrieved) > BRITE Integration : not enabled (BRITE not enabled (see option --with-brite)) > NS-3 Click Integration : not enabled (nsclick not enabled (see option --with-nsclick)) > GtkConfigStore : not enabled (library 'gtk+-2.0 >= 2.12' not found) > XmlIo : enabled > Threading Primitives : enabled > Real Time Simulator : enabled > File descriptor NetDevice : enabled > Tap FdNetDevice : enabled > Emulation FdNetDevice : enabled > PlanetLab FdNetDevice : not enabled (PlanetLab operating system not detected (see option --force-planetlab)) > Network Simulation Cradle : not enabled (NSC not found (see option --with-nsc)) > MPI Support : not enabled (option --enable-mpi not selected) > ndnSIM : enabled > NS-3 OpenFlow Integration : not enabled (OpenFlow not enabled (see option --with-openflow)) > SQlite stats data output : enabled > Tap Bridge : enabled > PyViz visualizer : not enabled (Python Bindings are needed but not enabled) > Use sudo to set suid bit : not enabled (option --enable-sudo not selected) > Build tests : not enabled (defaults to disabled) > Build examples : enabled > GNU Scientific Library (GSL) : not enabled (GSL not found) > > > Thanks, > > Regards, > > Aaron > > > _______________________________________________ > 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 -------------- 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 aaronishere at qq.com Mon Nov 30 15:25:49 2015 From: aaronishere at qq.com (=?ISO-8859-1?B?QWFyb24=?=) Date: Tue, 1 Dec 2015 07:25:49 +0800 Subject: [ndnSIM] visualizer cannot be used In-Reply-To: <979198DF-E738-4233-BBE8-6161332B6D30@cs.ucla.edu> References: <979198DF-E738-4233-BBE8-6161332B6D30@cs.ucla.edu> Message-ID: Hi, Alex and Natalya It works as I run apt-get install python-setuptools. Thanks a lot! ------------------ Original ------------------ From: "Alex Afanasyev";; Date: Tue, Dec 1, 2015 06:04 AM To: "Natalya Rozhnova"; Cc: "Aaron"; "ndnsim"; Subject: Re: [ndnSIM] visualizer cannot be used Hi Aaron, Actually, you're just missing one python package. If you're on Ubuntu linux, you can run sudo apt-get install python-setuptools After that, ./waf configure should be able to detect pybindgen and determine its version. --- Alex > On Nov 30, 2015, at 7:53 AM, Natalya Rozhnova wrote: > > Hi Aaron, > > I guess your problem is the pybindgen: > Checking for pybindgen version : > pybindgen (found ''), (need '0.17.0.post45+ng4806e4f') > > You can take one from here: > git clone https://github.com/named-data-ndnSIM/pybindgen.git pybindgen > > And compile it as explained in README file. > > Hope it helps, > Natalya > > 2015-11-30 13:12 GMT+01:00 Aaron : > Hi, all > > The ndnSIM 2.1 is compiled successfully and can run examples without "--vis". However, if I type "--vis", error is occurred. Is it related to visualizer not built? How to fix it? > The Ubuntu 14.04 is used. > > Modules not built (see ns-3 tutorial for explanation): > brite click openflow > visualizer > > root at Aaron:/home/NDNSIM/ndnSIM-2.1/ns-3# ./waf --run=ndn-simple > Waf: Entering directory `/home/NDNSIM/ndnSIM-2.1/ns-3/build' > Waf: Leaving directory `/home/NDNSIM/ndnSIM-2.1/ns-3/build' > Build commands will be stored in build/compile_commands.json > 'build' finished successfully (1.049s) > > root at Aaron:/home/NDNSIM/ndnSIM-2.1/ns-3# ./waf --run=ndn-simple --vis > Waf: Entering directory `/home/NDNSIM/ndnSIM-2.1/ns-3/build' > Waf: Leaving directory `/home/NDNSIM/ndnSIM-2.1/ns-3/build' > Build commands will be stored in build/compile_commands.json > 'build' finished successfully (1.044s) > assert failed. cond="uid != 0", msg="Assert in TypeId::LookupByName: ns3::VisualSimulatorImpl not found", file=../src/core/model/type-id.cc, line=755 > terminate called without an active exception > Command ['/home/NDNSIM/ndnSIM-2.1/ns-3/build/src/ndnSIM/examples/ns3-dev-ndn-simple-debug', '--SimulatorImplementationType=ns3::VisualSimulatorImpl'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run --command-template="gdb --args %s "). > > > > Setting top to : /home/NDNSIM/ndnSIM-2.1/ns-3 > Setting out to : /home/NDNSIM/ndnSIM-2.1/ns-3/build > Checking for 'gcc' (C compiler) : /usr/bin/gcc > Checking for cc version : 4.9.1 > Checking for 'g++' (C++ compiler) : /usr/bin/g++ > Checking supported compiler CXXFLAGS : -std=c++0x -std=c++11 > Checking supported optimizations CXXFLAGS : -O0 > Checking supported debug CXXFLAGS : -ggdb -g3 > Checking supported warnings CXXFLAGS : -Wall -Wno-error=deprecated-declarations -fstrict-aliasing -Wstrict-aliasing > Checking for compilation flag -Wl,--soname=foo... support : ok > Checking for program 'python' : /usr/bin/python > Checking for python version : (2, 7, 9, 'final', 0) > python-config : /usr/bin/python-config > Asking python-config for pyembed '--cflags --libs --ldflags' flags : yes > Getting pyembed flags from python-config : yes > Asking python-config for pyext '--cflags --libs --ldflags' flags : yes > Getting pyext flags from python-config : yes > Checking for compilation flag -fvisibility=hidden... support : ok > Checking for compilation flag -Wno-array-bounds... support : ok > Checking for pybindgen location : ../pybindgen (guessed) > Checking for python module 'pybindgen' : ok > Traceback (most recent call last): > File "setup.py", line 2, in > from setuptools import setup > ImportError: No module named setuptools > Checking for pybindgen version : > pybindgen (found ''), (need '0.17.0.post45+ng4806e4f') > Checking boost includes : 1_55 > Checking boost libs : ok > Checking for boost linkage : ok > Checking for click location : not found > Checking for program 'pkg-config' : /usr/bin/pkg-config > Checking for 'gtk+-2.0' >= 2.12 : not found > Checking for 'libxml-2.0' >= 2.7 : yes > Checking for type uint128_t : not found > Checking for type __uint128_t : yes > Checking high precision implementation : 128-bit integer (default) > 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 : yes > Checking for header sys/ioctl.h : yes > Checking for header net/if.h : yes > Checking for header net/ethernet.h : yes > Checking for header linux/if_tun.h : yes > Checking for header netpacket/packet.h : yes > Checking for NSC location : not found > Checking for program 'doxygen' : not found > Checking for program 'tar' : /bin/tar > Checking for program 'sphinx-build' : not found > Checking for std::is_default_constructible : yes > Checking for std::is_nothrow_move_constructible : yes > Checking for std::is_nothrow_move_assignable : yes > Checking for friend typename-specifier : yes > Checking for override and final specifiers : yes > Checking for std::vector::insert with const_iterators : yes > Checking for library pthread : yes > Checking for 'sqlite3' : yes > Checking Crypto++ lib : 561 > Checking if CryptoPP library works : yes > Checking for OpenFlow location : not found > Checking for 'sqlite3' : yes > Checking for header linux/if_tun.h : yes > Checking for program 'sudo' : /usr/bin/sudo > Checking for program 'valgrind' : not found > Checking for 'gsl' : not found > Checking for program 'doxygen' : not found > ---- Summary of optional NS-3 features: > Build profile : debug > Build directory : > Python Bindings : not enabled (PyBindGen version not correct and newer version could not be retrieved) > BRITE Integration : not enabled (BRITE not enabled (see option --with-brite)) > NS-3 Click Integration : not enabled (nsclick not enabled (see option --with-nsclick)) > GtkConfigStore : not enabled (library 'gtk+-2.0 >= 2.12' not found) > XmlIo : enabled > Threading Primitives : enabled > Real Time Simulator : enabled > File descriptor NetDevice : enabled > Tap FdNetDevice : enabled > Emulation FdNetDevice : enabled > PlanetLab FdNetDevice : not enabled (PlanetLab operating system not detected (see option --force-planetlab)) > Network Simulation Cradle : not enabled (NSC not found (see option --with-nsc)) > MPI Support : not enabled (option --enable-mpi not selected) > ndnSIM : enabled > NS-3 OpenFlow Integration : not enabled (OpenFlow not enabled (see option --with-openflow)) > SQlite stats data output : enabled > Tap Bridge : enabled > PyViz visualizer : not enabled (Python Bindings are needed but not enabled) > Use sudo to set suid bit : not enabled (option --enable-sudo not selected) > Build tests : not enabled (defaults to disabled) > Build examples : enabled > GNU Scientific Library (GSL) : not enabled (GSL not found) > > > Thanks, > > Regards, > > Aaron > > > _______________________________________________ > 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 sarantarnoi at gmail.com Mon Nov 30 21:55:59 2015 From: sarantarnoi at gmail.com (Saran Tarnoi) Date: Tue, 1 Dec 2015 14:55:59 +0900 Subject: [ndnSIM] How to get an iterator to a content in policy_containter given a name In-Reply-To: References: Message-ID: Dear All, I managed to solve the problem by employing an unordered_map variable. This unordered_map is used to maintain pairs of item names and iterators to items in a policy_container. Because search, erase, and insert operations in an unordered_map normally take constant time, this solution is faster than directly search policy_container for a given name. Best regards, Saran 2015-11-18 16:37 GMT+09:00 Saran Tarnoi : > Dear All, > > I am working inside lru-policy.hpp and really need some ideas for code > optimization. > > My goal is to get an iterator of a policy_container that points to a > content which matches a given content name (ndn::Name). > I have achieved this goal through the following inline function. > > inline typename policy_container::iterator > search_with_name(ndn::Name name_item) > { > typename policy_container::iterator it; > for (it = policy_container::begin (); it != policy_container::end (); ++it) > { > if (name_item == it->payload()->GetName()) break; > } > return it; > } > > However, the above code is so slow when policy_container is large (, which > makes sense as we will be iterating the check for all items in > policy_container in the worst case). > > Is there any faster way to do this? > Your suggestion will be highly appreciated and I would like to thank you > in advance for your time. > > > Best regards, > Saran Tarnoi > -- Regards, Saran Tarnoi Graduate Student Department of Informatics The Graduate University for Advanced Studies (Sokendai) Tokyo, Japan -------------- next part -------------- An HTML attachment was scrubbed... URL: From NourElHouda.BenYoussef at oxia-group.com Mon Nov 16 02:56:53 2015 From: NourElHouda.BenYoussef at oxia-group.com (Nour El Houda Ben Youssef) Date: Mon, 16 Nov 2015 10:56:53 -0000 Subject: [ndnSIM] NDN overhead Message-ID: <712FE4E7257849499414892DD92704BC732243FA@INFRAEX02.oxia.corp> Hello I would like to evaluate NDN overhead and compare it to TCP/IP overhead By overhead I mean the amount of bytes or packets injected in the network by core routers for each Interest issued by clients. Do you have any idea on how to calculate this metric? 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From NourElHouda.BenYoussef at oxia-group.com Fri Nov 20 08:11:05 2015 From: NourElHouda.BenYoussef at oxia-group.com (Nour El Houda Ben Youssef) Date: Fri, 20 Nov 2015 16:11:05 +0000 Subject: [ndnSIM] ndnSim over PLC topology Message-ID: <712FE4E7257849499414892DD92704BC732274B5@INFRAEX02.oxia.corp> Hi ndnsimers Did anyone manage to use ndn stack over PLC topology using this ns-3 Plc module : http://www.ece.ubc.ca/~faribaa/index_files/Page417.htm I'm getting unreachable nodes while calculating routes using ndnGlobal Router Helper Best regards -------------- next part -------------- An HTML attachment was scrubbed... URL: From NourElHouda.BenYoussef at oxia-group.com Mon Nov 30 08:08:32 2015 From: NourElHouda.BenYoussef at oxia-group.com (Nour El Houda Ben Youssef) Date: Mon, 30 Nov 2015 16:08:32 +0000 Subject: [ndnSIM] NDN overhead Message-ID: <712FE4E7257849499414892DD92704BC73230879@INFRAEX02.oxia.corp> Dear all I'm having trouble while calculating routing overhead of ndn ? do you have any idea how to calculate it using ndnSim? How to theoretically define it in the first place? thanks 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: