From anilj.mailing at gmail.com Fri Jan 1 01:07:31 2016 From: anilj.mailing at gmail.com (Anil Jangam) Date: Fri, 1 Jan 2016 01:07:31 -0800 Subject: [ndnSIM] Disabling message encryption in ndnSIM. Message-ID: Hi, I am passing a dummy version of the KeyChain as described in the guide. When I am running my application scenario, I am getting all the interests and data traffic in encrypted(?) format. I guess these are encrypted form. Is there a away to completely disable this so that to make the messages more readable? A sample log is as follows: 108 0s ndn-cxx.Face:sendData(): << Data /localhost/nfd/fib/add-nexthop/h%1A%07%15%08%09localhost%08%03nfd%08%03ribi%01%00/%01 /%DB%BC%F2F%9C%7E%8D%A0/%164%1B%01%01%1C%2F%07-%08%05dummy%08%03key%08%03KEY%08%11ksk-1418600391050%08%07ID-CERT/%17%FD%0 1%00%93%15%09Iy%9E%B7%9C%D3%C1%BFa%89%D5%D9%CA%F2%B0%14%AEr%7C%1F%8F%F5%B1p%D6%9B%8F%F8%D7-%BC%92o%7Dw%96F%EA%D4%7D%90%BC z%EB%E2%03%93%B1%D2b%EC%9D%FF%9C%9C%2A%14%7D%23%CA%29%3D%15%1A%40B%2CY3%8A%F7%C0k%C4%9C%F3%C4%99%A4%1A%60%F5%28%7DL%EFC%7 D%BD%7D%00Q%EEA%F5%25%80%CE%E6dOuT%F3%B2%99%9A%0F%93%9A%28%1D%FE%12%8A%E0%C1%02%EB%A45R%88%ACD%1AD%82%97O_%A8%D8%9Fg8%A8d %B6b%99%BD%96%3C%F5%86%09%5C%97k%8F%AE%E0%60%E7%23%98j%EE%C1%B0%14%BEF%2C%FB%A7%27s%E4%F3%263%BA%99%D4%018%A8%F2%9E%87%E0 q%0B%25D%075%88%ABg%27V%0E%B5%B5%E8%27%B4I%DC%B8H1%FF%99H%AB%11%B4%A0%DF%8Am%FFCi2%A7%BCc%9D%0F%E0%9546%25K%3E6%BD%81%91% 0B%91%9F%3A%04%A2D%28%19%A18%21O%25Y%8AH%C2 109 0s ndn-cxx.Face:expressInterest(): >> Interest: /localhost/nfd/faces/events/%FE%04 110 0s ndn-cxx.Face:sendData(): << Data /localhost/nfd/faces/enable-local-control/h%03n%01%01/%01/%FDV%04%EB%0CX%9FA/%164%1B% 01%01%1C%2F%07-%08%05dummy%08%03key%08%03KEY%08%11ksk-1418600391050%08%07ID-CERT/%17%FD%01%00%93%15%09Iy%9E%B7%9C%D3%C1%B Fa%89%D5%D9%CA%F2%B0%14%AEr%7C%1F%8F%F5%B1p%D6%9B%8F%F8%D7-%BC%92o%7Dw%96F%EA%D4%7D%90%BCz%EB%E2%03%93%B1%D2b%EC%9D%FF%9C %9C%2A%14%7D%23%CA%29%3D%15%1A%40B%2CY3%8A%F7%C0k%C4%9C%F3%C4%99%A4%1A%60%F5%28%7DL%EFC%7D%BD%7D%00Q%EEA%F5%25%80%CE%E6dO uT%F3%B2%99%9A%0F%93%9A%28%1D%FE%12%8A%E0%C1%02%EB%A45R%88%ACD%1AD%82%97O_%A8%D8%9Fg8%A8d%B6b%99%BD%96%3C%F5%86%09%5C%97k %8F%AE%E0%60%E7%23%98j%EE%C1%B0%14%BEF%2C%FB%A7%27s%E4%F3%263%BA%99%D4%018%A8%F2%9E%87%E0q%0B%25D%075%88%ABg%27V%0E%B5%B5 %E8%27%B4I%DC%B8H1%FF%99H%AB%11%B4%A0%DF%8Am%FFCi2%A7%BCc%9D%0F%E0%9546%25K%3E6%BD%81%91%0B%91%9F%3A%04%A2D%28%19%A18%21O %25Y%8AH%C2 111 1s NlsrApp:StartApplication() 112 1s ndn.L3Protocol:addFace(0x752da0, 0x801308) 113 1s ndn-cxx.Face:sendData(): << Data /localhost/nfd/faces/events/%FE%04 114 1s ndn-cxx.Face:expressInterest(): >> Interest: /localhost/nfd/faces/events 115 1s nlsr:initialize(): Initializing Nlsr 116 1s SequencingManager:initiateSeqNoFromFile(): Seq File Name: /home/anilj1/log/memphis/nlsr/nlsrSeqNo.txt 117 1s SyncLogicHandler:createSyncSocket(): Creating Sync socket. Sync Prefix: /ndn/NLSR/sync 118 1s ndn-cxx.Face:expressInterest(): >> Interest: /localhost/nfd/rib/register/h%16%07%11%08%03ndn%08%04NLSR%08%04syncl%01%0 1/%03%E8/%FA%A6%BBs%DB%FA%AE%AD/%164%1B%01%01%1C%2F%07-%08%05dummy%08%03key%08%03KEY%08%11ksk-1418600391050%08%07ID-CERT/ %17%FD%01%00%93%15%09Iy%9E%B7%9C%D3%C1%BFa%89%D5%D9%CA%F2%B0%14%AEr%7C%1F%8F%F5%B1p%D6%9B%8F%F8%D7-%BC%92o%7Dw%96F%EA%D4% 7D%90%BCz%EB%E2%03%93%B1%D2b%EC%9D%FF%9C%9C%2A%14%7D%23%CA%29%3D%15%1A%40B%2CY3%8A%F7%C0k%C4%9C%F3%C4%99%A4%1A%60%F5%28%7 DL%EFC%7D%BD%7D%00Q%EEA%F5%25%80%CE%E6dOuT%F3%B2%99%9A%0F%93%9A%28%1D%FE%12%8A%E0%C1%02%EB%A45R%88%ACD%1AD%82%97O_%A8%D8% 9Fg8%A8d%B6b%99%BD%96%3C%F5%86%09%5C%97k%8F%AE%E0%60%E7%23%98j%EE%C1%B0%14%BEF%2C%FB%A7%27s%E4%F3%263%BA%99%D4%018%A8%F2% 9E%87%E0q%0B%25D%075%88%ABg%27V%0E%B5%B5%E8%27%B4I%DC%B8H1%FF%99H%AB%11%B4%A0%DF%8Am%FFCi2%A7%BCc%9D%0F%E0%9546%25K%3E6%B D%81%91%0B%91%9F%3A%04%A2D%28%19%A18%21O%25Y%8AH%C2 /anil. -------------- next part -------------- An HTML attachment was scrubbed... URL: From anilj.mailing at gmail.com Fri Jan 1 01:20:38 2016 From: anilj.mailing at gmail.com (Anil Jangam) Date: Fri, 1 Jan 2016 01:20:38 -0800 Subject: [ndnSIM] Exception while creating face (converting face-uri to canonical form) Message-ID: Hi, Perhaps a basic question. But an exception is observed while running ndnSIM scenario. It is trying to convert a *face-uri* to a canonical form. When tested my application in real setup, I used IP addresses instead of a face URI. How does ndnSIM behave in this case? Do we have to use the IP address instead? Below is the exact configuration my application using. There could be error in the configuration as well and looking for suggestions to fix this problem. 71 neighbor 72 { 73 name /ndn/edu/memphis/%C1.Router/cs/castor ; name prefix of the neighbor router consists 74 ; of network, site-name and router-name 75 76 face-uri udp://castor.cs.memphis.edu ; face uri of the face connected to the neighbor 77 link-cost 25 ; cost of the connecting link to neighbor 78 } 79 /anil. -------------- next part -------------- An HTML attachment was scrubbed... URL: From shijunxiao at email.arizona.edu Fri Jan 1 03:56:50 2016 From: shijunxiao at email.arizona.edu (Junxiao Shi) Date: Fri, 1 Jan 2016 04:56:50 -0700 Subject: [ndnSIM] Exception while creating face (converting face-uri to canonical form) In-Reply-To: References: Message-ID: Hi Anil FaceUri needs to be in canonical form as shown on http://redmine.named-data.net/projects/nfd/wiki/FaceMgmt#FaceUri . Otherwise, software may attempt to resolve the hostname with DNS, and that would fail unless you have a DNS server within the simulated network. Yours, Junxiao On Jan 1, 2016 02:21, "Anil Jangam" wrote: > Hi, > > Perhaps a basic question. But an exception is observed while running > ndnSIM scenario. It is trying to convert a *face-uri* to a canonical > form. When tested my application in real setup, I used IP addresses instead > of a face URI. How does ndnSIM behave in this case? Do we have to use the > IP address instead? > > Below is the exact configuration my application using. There could be > error in the configuration as well and looking for suggestions to fix this > problem. > > 71 neighbor > 72 { > 73 name /ndn/edu/memphis/%C1.Router/cs/castor ; name prefix of the > neighbor router consists > 74 ; of network, > site-name and router-name > 75 > 76 face-uri udp://castor.cs.memphis.edu ; face uri of the > face connected to the neighbor > 77 link-cost 25 ; cost of the > connecting link to neighbor > 78 } > 79 > > /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 shijunxiao at email.arizona.edu Fri Jan 1 04:01:46 2016 From: shijunxiao at email.arizona.edu (Junxiao Shi) Date: Fri, 1 Jan 2016 05:01:46 -0700 Subject: [ndnSIM] Disabling message encryption in ndnSIM. In-Reply-To: References: Message-ID: Hi Anil Nothing shown in the log snippet is encrypted. They are percent-encoded according to NDN URI scheme < http://named-data.net/doc/ndn-tlv/name.html#ndn-uri-scheme>. You'll also find "signed Interest" < http://redmine.named-data.net/projects/ndn-cxx/wiki/SignedInterest> and "NFD Management protocol - Control Command" < http://redmine.named-data.net/projects/nfd/wiki/ControlCommand> relevant after decoding the URI. Yours, Junxiao On Jan 1, 2016 02:08, "Anil Jangam" wrote: > Hi, > > I am passing a dummy version of the KeyChain as described in the guide. > > When I am running my application scenario, I am getting all the interests > and data traffic in encrypted(?) format. I guess these are encrypted form. > > Is there a away to completely disable this so that to make the messages > more readable? A sample log is as follows: > > 108 0s ndn-cxx.Face:sendData(): << Data > /localhost/nfd/fib/add-nexthop/h%1A%07%15%08%09localhost%08%03nfd%08%03ribi%01%00/%01 > /%DB%BC%F2F%9C%7E%8D%A0/%164%1B%01%01%1C%2F%07-%08%05dummy%08%03key%08%03KEY%08%11ksk-1418600391050%08%07ID-CERT/%17%FD%0 > 1%00%93%15%09Iy%9E%B7%9C%D3%C1%BFa%89%D5%D9%CA%F2%B0%14%AEr%7C%1F%8F%F5%B1p%D6%9B%8F%F8%D7-%BC%92o%7Dw%96F%EA%D4%7D%90%BC > z%EB%E2%03%93%B1%D2b%EC%9D%FF%9C%9C%2A%14%7D%23%CA%29%3D%15%1A%40B%2CY3%8A%F7%C0k%C4%9C%F3%C4%99%A4%1A%60%F5%28%7DL%EFC%7 > D%BD%7D%00Q%EEA%F5%25%80%CE%E6dOuT%F3%B2%99%9A%0F%93%9A%28%1D%FE%12%8A%E0%C1%02%EB%A45R%88%ACD%1AD%82%97O_%A8%D8%9Fg8%A8d > %B6b%99%BD%96%3C%F5%86%09%5C%97k%8F%AE%E0%60%E7%23%98j%EE%C1%B0%14%BEF%2C%FB%A7%27s%E4%F3%263%BA%99%D4%018%A8%F2%9E%87%E0 > q%0B%25D%075%88%ABg%27V%0E%B5%B5%E8%27%B4I%DC%B8H1%FF%99H%AB%11%B4%A0%DF%8Am%FFCi2%A7%BCc%9D%0F%E0%9546%25K%3E6%BD%81%91% > 0B%91%9F%3A%04%A2D%28%19%A18%21O%25Y%8AH%C2 > 109 0s ndn-cxx.Face:expressInterest(): >> Interest: > /localhost/nfd/faces/events/%FE%04 > 110 0s ndn-cxx.Face:sendData(): << Data > /localhost/nfd/faces/enable-local-control/h%03n%01%01/%01/%FDV%04%EB%0CX%9FA/%164%1B% > 01%01%1C%2F%07-%08%05dummy%08%03key%08%03KEY%08%11ksk-1418600391050%08%07ID-CERT/%17%FD%01%00%93%15%09Iy%9E%B7%9C%D3%C1%B > Fa%89%D5%D9%CA%F2%B0%14%AEr%7C%1F%8F%F5%B1p%D6%9B%8F%F8%D7-%BC%92o%7Dw%96F%EA%D4%7D%90%BCz%EB%E2%03%93%B1%D2b%EC%9D%FF%9C > %9C%2A%14%7D%23%CA%29%3D%15%1A%40B%2CY3%8A%F7%C0k%C4%9C%F3%C4%99%A4%1A%60%F5%28%7DL%EFC%7D%BD%7D%00Q%EEA%F5%25%80%CE%E6dO > uT%F3%B2%99%9A%0F%93%9A%28%1D%FE%12%8A%E0%C1%02%EB%A45R%88%ACD%1AD%82%97O_%A8%D8%9Fg8%A8d%B6b%99%BD%96%3C%F5%86%09%5C%97k > %8F%AE%E0%60%E7%23%98j%EE%C1%B0%14%BEF%2C%FB%A7%27s%E4%F3%263%BA%99%D4%018%A8%F2%9E%87%E0q%0B%25D%075%88%ABg%27V%0E%B5%B5 > %E8%27%B4I%DC%B8H1%FF%99H%AB%11%B4%A0%DF%8Am%FFCi2%A7%BCc%9D%0F%E0%9546%25K%3E6%BD%81%91%0B%91%9F%3A%04%A2D%28%19%A18%21O > %25Y%8AH%C2 > 111 1s NlsrApp:StartApplication() > 112 1s ndn.L3Protocol:addFace(0x752da0, 0x801308) > 113 1s ndn-cxx.Face:sendData(): << Data /localhost/nfd/faces/events/%FE%04 > 114 1s ndn-cxx.Face:expressInterest(): >> Interest: > /localhost/nfd/faces/events > 115 1s nlsr:initialize(): Initializing Nlsr > 116 1s SequencingManager:initiateSeqNoFromFile(): Seq File Name: > /home/anilj1/log/memphis/nlsr/nlsrSeqNo.txt > 117 1s SyncLogicHandler:createSyncSocket(): Creating Sync socket. Sync > Prefix: /ndn/NLSR/sync > 118 1s ndn-cxx.Face:expressInterest(): >> Interest: > /localhost/nfd/rib/register/h%16%07%11%08%03ndn%08%04NLSR%08%04syncl%01%0 > 1/%03%E8/%FA%A6%BBs%DB%FA%AE%AD/%164%1B%01%01%1C%2F%07-%08%05dummy%08%03key%08%03KEY%08%11ksk-1418600391050%08%07ID-CERT/ > %17%FD%01%00%93%15%09Iy%9E%B7%9C%D3%C1%BFa%89%D5%D9%CA%F2%B0%14%AEr%7C%1F%8F%F5%B1p%D6%9B%8F%F8%D7-%BC%92o%7Dw%96F%EA%D4% > 7D%90%BCz%EB%E2%03%93%B1%D2b%EC%9D%FF%9C%9C%2A%14%7D%23%CA%29%3D%15%1A%40B%2CY3%8A%F7%C0k%C4%9C%F3%C4%99%A4%1A%60%F5%28%7 > DL%EFC%7D%BD%7D%00Q%EEA%F5%25%80%CE%E6dOuT%F3%B2%99%9A%0F%93%9A%28%1D%FE%12%8A%E0%C1%02%EB%A45R%88%ACD%1AD%82%97O_%A8%D8% > 9Fg8%A8d%B6b%99%BD%96%3C%F5%86%09%5C%97k%8F%AE%E0%60%E7%23%98j%EE%C1%B0%14%BEF%2C%FB%A7%27s%E4%F3%263%BA%99%D4%018%A8%F2% > 9E%87%E0q%0B%25D%075%88%ABg%27V%0E%B5%B5%E8%27%B4I%DC%B8H1%FF%99H%AB%11%B4%A0%DF%8Am%FFCi2%A7%BCc%9D%0F%E0%9546%25K%3E6%B > D%81%91%0B%91%9F%3A%04%A2D%28%19%A18%21O%25Y%8AH%C2 > > /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 anilj.mailing at gmail.com Fri Jan 1 14:10:49 2016 From: anilj.mailing at gmail.com (Anil Jangam) Date: Fri, 1 Jan 2016 14:10:49 -0800 Subject: [ndnSIM] Exception while creating face (converting face-uri to canonical form) In-Reply-To: References: Message-ID: Hi Junxiao, Thanks for comments. There was a small mistake in my code that I was creating an instance of boost::asio::io_service, which is prohibited according to: http://ndnsim.net/2.1/guide-to-simulate-real-apps.html I have corrected this problem and my classes looks like this: .hpp: 57 private: 58 ::ndn::Face m_face; 59 boost::asio::io_service& m_ioService; 60 ::ndn::Scheduler m_scheduler; 61 ::ndn::KeyChain& m_keyChain; 62 63 nlsr::Nlsr m_nlsr; .cpp: 41 NlsrExec::NlsrExec(::ndn::KeyChain& keyChain, std::string& nlsrConf) 42 : m_face() 43 , m_ioService(m_face.getIoService()) 44 , m_scheduler(m_ioService) 45 , m_keyChain(keyChain) 46 , m_nlsr(m_ioService, m_scheduler, m_face, m_keyChain) 47 { 48 m_nlsr.setConfFileName(nlsrConf); 49 } 50 I also modified the face-uri to an IP address:port format. For each node, I am providing an unique IP. Like this: 76 face-uri udp://192.0.2.1:6363 76 face-uri udp://192.0.2.1:6363 However, I am still getting the same exception. I have attached the stack trace of the same. Can you suggest why it might be occurring? /anil. On Fri, Jan 1, 2016 at 3:56 AM, Junxiao Shi wrote: > Hi Anil > > FaceUri needs to be in canonical form as shown on > http://redmine.named-data.net/projects/nfd/wiki/FaceMgmt#FaceUri . > Otherwise, software may attempt to resolve the hostname with DNS, and that > would fail unless you have a DNS server within the simulated network. > > Yours, Junxiao > On Jan 1, 2016 02:21, "Anil Jangam" wrote: > >> Hi, >> >> Perhaps a basic question. But an exception is observed while running >> ndnSIM scenario. It is trying to convert a *face-uri* to a canonical >> form. When tested my application in real setup, I used IP addresses instead >> of a face URI. How does ndnSIM behave in this case? Do we have to use the >> IP address instead? >> >> Below is the exact configuration my application using. There could be >> error in the configuration as well and looking for suggestions to fix this >> problem. >> >> 71 neighbor >> 72 { >> 73 name /ndn/edu/memphis/%C1.Router/cs/castor ; name prefix of the >> neighbor router consists >> 74 ; of network, >> site-name and router-name >> 75 >> 76 face-uri udp://castor.cs.memphis.edu ; face uri of the >> face connected to the neighbor >> 77 link-cost 25 ; cost of the >> connecting link to neighbor >> 78 } >> 79 >> >> /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: -------------- next part -------------- 9.579s ndn-cxx.Face:expressInterest(): >> Interest: /ndn/NLSR/sync/00 9.579s ndn-cxx.Face:expressInterest(): >> Interest: /ndn/NLSR/sync/00 11s FaceController:createFace(): Converting udp://192.0.2.1:6363 to canonical form Program received signal SIGSEGV, Segmentation fault. 0x00007ffff52e1c98 in boost::asio::use_service > (ios=...) at /usr/include/boost/asio/impl/io_service.hpp:33 33 return ios.service_registry_->template use_service(); (gdb) list 28 { 29 // Check that Service meets the necessary type requirements. 30 (void)static_cast(static_cast(0)); 31 (void)static_cast(&Service::id); 32 33 return ios.service_registry_->template use_service(); 34 } 35 36 template <> 37 inline detail::io_service_impl& use_service( (gdb) where #0 0x00007ffff52e1c98 in boost::asio::use_service > (ios=...) at /usr/include/boost/asio/impl/io_service.hpp:33 #1 0x00007ffff52e0a17 in boost::asio::basic_io_object, false>::basic_io_object (this=0x8c1ef8, io_service=...) at /usr/include/boost/asio/basic_io_object.hpp:90 #2 0x00007ffff52dfc8f in boost::asio::ip::basic_resolver >::basic_resolver (this=0x8c1ef8, io_service=...) at /usr/include/boost/asio/ip/basic_resolver.hpp:68 #3 0x00007ffff52df170 in ndn::dns::Resolver::Resolver(std::function const&, std::function const&, std::function const&, boost::asio::io_service&) (this=0x8c1ef8, onSuccess=..., onError=..., addressSelector=..., ioService=...) at ../src/ndnSIM/ndn-cxx/src/util/dns.cpp:43 #4 0x00007ffff52e5644 in __gnu_cxx::new_allocator::construct const&, std::function const&, std::function const&, std::reference_wrapper > > (this=0x7fffffffbb1f, __p=0x8c1ef8) at /usr/include/c++/4.8/ext/new_allocator.h:120 #5 0x00007ffff52e549c in std::allocator_traits >::_S_construct const&, std::function const&, std::function const&, std::reference_wrapper > >(std::allocator&, std::allocator_traits >::__construct_helper*, (ndn::dns::Resolver const&, std::function const&, std::function const&, std::reference_wrapper >&&)...) (__a=..., __p=0x8c1ef8) at /usr/include/c++/4.8/bits/alloc_traits.h:254 #6 0x00007ffff52e5160 in std::allocator_traits >::construct const&, std::function const&, std::function const&, std::reference_wrapper > >(std::allocator&, ndn::dns::Resolver const&, std::function const&, std::function const&, std::reference_wrapper >*, (ndn::dns::Resolver const&, std::function const&, std::function const&, std::reference_wrapper >&&)...) ( __a=..., __p=0x8c1ef8) at /usr/include/c++/4.8/bits/alloc_traits.h:393 #7 0x00007ffff52e4ca4 in std::_Sp_counted_ptr_inplace, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace const&, std::function const&, std::function const&, std::reference_wrapper >(std::allocator, std::function const&, std::function const&, std::function const&, std::reference_wrapper&&) (this=0x8c1ee0, __a=...) at /usr/include/c++/4.8/bits/shared_ptr_base.h:399 #8 0x00007ffff52e491e in __gnu_cxx::new_allocator, (__gnu_cxx::_Lock_policy)2> >::construct, (__gnu_cxx::_Lock_policy)2> const, std::function const&, std::function const&, std::function const&, std::reference_wrapper > > (this=0x7fffffffbc87, __p=0x8c1ee0) at /usr/include/c++/4.8/ext/new_allocator.h:120 ---Type to continue, or q to quit--- #9 0x00007ffff52e454a in std::allocator_traits, (__gnu_cxx::_Lock_policy)2> > >::_S_construct, (__gnu_cxx::_Lock_policy)2> const, std::function const&, std::function const&, std::function const&, std::reference_wrapper > >(std::allocator, (__gnu_cxx::_Lock_policy)2> >&, std::allocator_traits, (__gnu_cxx::_Lock_policy)2> > >::__construct_helper*, (std::_Sp_counted_ptr_inplace, (__gnu_cxx::_Lock_policy)2> const, std::function const&, std::function const&, std::function const&, std::reference_wrapper >&&)...) (__a=..., __p=0x8c1ee0) at /usr/include/c++/4.8/bits/alloc_traits.h:254 #10 0x00007ffff52e3f7a in std::allocator_traits, (__gnu_cxx::_Lock_policy)2> > >::construct, (__gnu_cxx::_Lock_policy)2> const, std::function const&, std::function const&, std::function const&, std::reference_wrapper > >(std::allocator, (__gnu_cxx::_Lock_policy)2> >&, std::_Sp_counted_ptr_inplace, (__gnu_cxx::_Lock_policy)2> const, std::function const&, std::function const&, std::function const&, std::reference_wrapper >*, (std::_Sp_counted_ptr_inplace, (__gnu_cxx::_Lock_policy)2> const, std::function const&, std::function const&, std::function const&, std::reference_wrapper >&&)...) (__a=..., __p=0x8c1ee0) at /usr/include/c++/4.8/bits/alloc_traits.h:393 #11 0x00007ffff52e37da in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count, std::function const&, std::function const&, std::function const&, std::reference_wrapper >(std::_Sp_make_shared_tag, ndn::dns::Resolver*, std::allocator const&, std::function const&, std::function const&, std::function const&, std::reference_wrapper&&) (this=0x7fffffffbee8, __a=...) at /usr/include/c++/4.8/bits/shared_ptr_base.h:502 #12 0x00007ffff52e2d57 in std::__shared_ptr::__shared_ptr, std::function const&, std::function const&, std::function const&, std::reference_wrapper >(std::_Sp_make_shared_tag, std::allocator const&, std::function const&, std::function const&, std::function const&, std::reference_wrapper&&) (this=0x7fffffffbee0, __tag=..., __a=...) at /usr/include/c++/4.8/bits/shared_ptr_base.h:957 #13 0x00007ffff52e24f8 in std::shared_ptr::shared_ptr, std::function const&, std::function const&, std::function const&, std::reference_wrapper >(std::_Sp_make_shared_tag, std::allocator to continue, or q to quit--- dn::dns::Resolver> const&, std::function const&, std::function const&, std::function const&, std::reference_wrapper&&) (this=0x7fffffffbee0, __tag=..., __a=...) at /usr/include/c++/4.8/bits/shared_ptr.h:316 #14 0x00007ffff52e1868 in std::allocate_shared, std::function const&, std::function const&, std::function const&, std::reference_wrapper >(std::allocator const&, std::function const&, std::function const&, std::function const&, std::reference_wrapper&&) (__a=...) at /usr/include/c++/4.8/bits/shared_ptr.h:598 #15 0x00007ffff52e086d in std::make_shared const&, std::function const&, std::function const&, std::reference_wrapper >(std::function const&, std::function const&, std::function const&, std::reference_wrapper&&) () at /usr/include/c++/4.8/bits/shared_ptr.h:614 #16 0x00007ffff52de5bd in ndn::dns::asyncResolve(std::string const&, std::function const&, std::function const&, boost::asio::io_service&, std::function const&, boost::chrono::duration > const&) (host=..., onSuccess=..., onError=..., ioService=..., addressSelector=..., timeout=...) at ../src/ndnSIM/ndn-cxx/src/util/dns.cpp:131 #17 0x00007ffff52f009e in ndn::util::IpHostCanonizeProvider::canonize(ndn::util::FaceUri const&, std::function const&, std::function const&, boost::asio::io_service&, boost::chrono::duration > const&) const (this=0x9ff948, faceUri=..., onSuccess=..., onFailure=..., io=..., timeout=...) at ../src/ndnSIM/ndn-cxx/src/util/face-uri.cpp:296 #18 0x00007ffff52e81b8 in ndn::util::FaceUri::canonize(std::function const&, std::function const&, boost::asio::io_service&, boost::chrono::duration > const&) const (this=0x7fffffffc1e0, onSuccess=..., onFailure=..., io=..., timeout=...) at ../src/ndnSIM/ndn-cxx/src/util/face-uri.cpp:541 #19 0x00007ffff54dd0c6 in nlsr::util::FaceController::createFace(std::string const&, std::function const&, std::function const&) (this=0x7dcbb8, request=..., onSuccess=..., onFailure=...) at ../src/ndnSIM/NLSR/src/utility/face-controller.cpp:50 #20 0x00007ffff54ae5dc in nlsr::Fib::createFace(std::string const&, std::function const&, std::function const&) (this=0x7dcb88, faceUri=..., onSuccess=..., onFailure=...) at ../src/ndnSIM/NLSR/src/route/fib.cpp:302 #21 0x00007ffff54aeef3 in nlsr::Fib::registerPrefix(ndn::Name const&, std::string const&, unsigned long, boost::chrono::duration > const&, unsigned long, unsigned char, std::function const&, std::function const&) (this=0x7dcb88, namePrefix=..., faceUri=..., faceCost=25, timeout=..., flags=2, times=0 '\000', onSuccess=..., onFailure=...) at ../src/ndnSIM/NLSR/src/route/fib.cpp:379 #22 0x00007ffff54712d2 in nlsr::HelloProtocol::registerPrefixes (this=0x7dcd10, adjName=..., faceUri=..., linkCost=25, timeout=...) at ../src/ndnSIM/NLSR/src/hello-protocol.cpp:218 #23 0x00007ffff546e6bd in nlsr::HelloProtocol::sendScheduledInterest (this=0x7dcd10, seconds=10) at ../src/ndnSIM/NLSR/src/hello-protocol.cpp:72 ---Type to continue, or q to quit--- #24 0x00007ffff5476aec in std::_Mem_fn::operator() ( this=0x842770, __object=0x7dcd10) at /usr/include/c++/4.8/functional:601 #25 0x00007ffff54763cb in std::_Bind (nlsr::HelloProtocol*, unsigned int)>::__call(std::tuple<>&&, std::_Index_tuple<0ul, 1ul>) (this=0x842770, __args=) at /usr/include/c++/4.8/functional:1296 #26 0x00007ffff547567e in std::_Bind (nlsr::HelloProtocol*, unsigned int)>::operator()<, void>() (this=0x842770) at /usr/include/c++/4.8/functional:1355 #27 0x00007ffff54744e7 in std::_Function_handler (nlsr::HelloProtocol*, unsigned int)> >::_M_invoke(std::_Any_data const&) (__functor=...) at /usr/include/c++/4.8/functional:2071 #28 0x00007ffff51bed8e in std::function::operator()() const (this=0x83edc0) at /usr/include/c++/4.8/functional:2471 #29 0x00007ffff530f217 in ns3::EventImpl* ns3::MakeEvent::*)() const, std::function >(void (std::function::*)() const, std::function)::EventMemberImpl0::Notify() (this=0x83edb0) at ./ns3/make-event.h:323 #30 0x00007fffedfba861 in ns3::EventImpl::Invoke (this=0x83edb0) at ../src/core/model/event-impl.cc:51 #31 0x00007fffedfbf228 in ns3::DefaultSimulatorImpl::ProcessOneEvent (this=0x752930) at ../src/core/model/default-simulator-impl.cc:149 #32 0x00007fffedfbf5a2 in ns3::DefaultSimulatorImpl::Run (this=0x752930) at ../src/core/model/default-simulator-impl.cc:202 #33 0x00007fffedfbb598 in ns3::Simulator::Run () at ../src/core/model/simulator.cc:204 #34 0x000000000041dbf1 in ns3::main (argc=1, argv=0x7fffffffd2c8) at ../src/ndnSIM/examples/ndn-nlsr-simple.cpp:95 #35 0x000000000041de40 in main (argc=1, argv=0x7fffffffd2c8) at ../src/ndnSIM/examples/ndn-nlsr-simple.cpp:106 (gdb) q A debugging session is active. Inferior 1 [process 31734] will be killed. Quit anyway? (y or n) y anilj1 at insp-5521:~/sandbox/ndnSIM/ns-3$ From anilj.mailing at gmail.com Sat Jan 2 02:09:09 2016 From: anilj.mailing at gmail.com (Anil Jangam) Date: Sat, 2 Jan 2016 02:09:09 -0800 Subject: [ndnSIM] Exception while creating face (converting face-uri to canonical form) In-Reply-To: References: Message-ID: Hi Junxiao, I could fix this exception by providing the IP address of my host where ndnSIM was running. Nevertheless, I think it is an issue and we need to handle this exception more gracefully and perhaps throwing an appropriate error? Please take a call. I also did not understand why it is still trying to convert into a canonical format when a valid IP address provided. If you see the log on line #494, you will realize. I also observed that it always expected the IP address:port combination with "udp4" as scheme. It did not work with "udp". I am referring to this - udp://192.0.2.1 (remote-port defaults to 6363). It did not take the default port 6363 by default. All my neighbouring nodes are remote node in NLSR test set up. Alright, I have a different error now, which is specific to NLSR. Thanks for your help on this! 494 191s FaceController:onCanonizeSuccess(): Converted udp4://10.0.0.3:6363 to canonical form: udp4://10.0.0.3:6363 495 191s FaceController:createFaceInNfd(): Creating Face in NFD with face-uri: udp4://10.0.0.3:6363 496 191s Fib:registerPrefix(): Registering prefix: /ndn/edu/umbc/%C1.Router/cs/mctr Face Uri: udp4://10.0.0.3:6363 497 191s FaceController:createFace(): Converting udp4://10.0.0.3:6363 to canonical form 498 191s FaceController:onCanonizeSuccess(): Converted udp4://10.0.0.3:6363 to canonical form: udp4://10.0.0.3:6363 499 191s FaceController:createFaceInNfd(): Creating Face in NFD with face-uri: udp4://10.0.0.3:6363 500 191s HelloProtocol:scheduleInterest(): Scheduling HELLO Interests in 60 seconds 501 191s HelloProtocol:onRegistrationFailure(): Unsupported protocol (code: 501) 502 191s HelloProtocol:onRegistrationFailure(): Unsupported protocol (code: 501) 503 191s HelloProtocol:onRegistrationFailure(): Unsupported protocol (code: 501) /anil. On Fri, Jan 1, 2016 at 2:10 PM, Anil Jangam wrote: > Hi Junxiao, > > Thanks for comments. There was a small mistake in my code that I was > creating an instance of boost::asio::io_service, which is prohibited > according to: http://ndnsim.net/2.1/guide-to-simulate-real-apps.html > > I have corrected this problem and my classes looks like this: > > .hpp: > 57 private: > 58 ::ndn::Face m_face; > 59 boost::asio::io_service& m_ioService; > 60 ::ndn::Scheduler m_scheduler; > 61 ::ndn::KeyChain& m_keyChain; > 62 > 63 nlsr::Nlsr m_nlsr; > > .cpp: > 41 NlsrExec::NlsrExec(::ndn::KeyChain& keyChain, std::string& nlsrConf) > 42 : m_face() > 43 , m_ioService(m_face.getIoService()) > 44 , m_scheduler(m_ioService) > 45 , m_keyChain(keyChain) > 46 , m_nlsr(m_ioService, m_scheduler, m_face, m_keyChain) > 47 { > 48 m_nlsr.setConfFileName(nlsrConf); > 49 } > 50 > > I also modified the face-uri to an IP address:port format. For each node, > I am providing an unique IP. Like this: > > 76 face-uri udp://192.0.2.1:6363 > 76 face-uri udp://192.0.2.1:6363 > > However, I am still getting the same exception. I have attached the stack > trace of the same. Can you suggest why it might be occurring? > > /anil. > > > > > On Fri, Jan 1, 2016 at 3:56 AM, Junxiao Shi > wrote: > >> Hi Anil >> >> FaceUri needs to be in canonical form as shown on >> http://redmine.named-data.net/projects/nfd/wiki/FaceMgmt#FaceUri . >> Otherwise, software may attempt to resolve the hostname with DNS, and >> that would fail unless you have a DNS server within the simulated network. >> >> Yours, Junxiao >> On Jan 1, 2016 02:21, "Anil Jangam" wrote: >> >>> Hi, >>> >>> Perhaps a basic question. But an exception is observed while running >>> ndnSIM scenario. It is trying to convert a *face-uri* to a canonical >>> form. When tested my application in real setup, I used IP addresses instead >>> of a face URI. How does ndnSIM behave in this case? Do we have to use the >>> IP address instead? >>> >>> Below is the exact configuration my application using. There could be >>> error in the configuration as well and looking for suggestions to fix this >>> problem. >>> >>> 71 neighbor >>> 72 { >>> 73 name /ndn/edu/memphis/%C1.Router/cs/castor ; name prefix of the >>> neighbor router consists >>> 74 ; of network, >>> site-name and router-name >>> 75 >>> 76 face-uri udp://castor.cs.memphis.edu ; face uri of the >>> face connected to the neighbor >>> 77 link-cost 25 ; cost of the >>> connecting link to neighbor >>> 78 } >>> 79 >>> >>> /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 shijunxiao at email.arizona.edu Sat Jan 2 04:10:40 2016 From: shijunxiao at email.arizona.edu (Junxiao Shi) Date: Sat, 2 Jan 2016 05:10:40 -0700 Subject: [ndnSIM] Exception while creating face (converting face-uri to canonical form) In-Reply-To: References: Message-ID: Hi Anil It's NLSR's choice to always canonize a FaceUri. It doesn't have to. ndn-cxx provides FaceUri::isCanonical() method to determine whether a FaceUri is already canonical. udp://192.0.2.1 is not a canonical FaceUri. See http://redmine.named-data.net/projects/nfd/wiki/FaceMgmt "FaceUri UDP" section. FaceManager reports 501 "unsupported protocol" for udp4 FaceUri because ndnSIM does not yet support UDP faces. Watch http://redmine.named-data.net/issues/2371 for progress. Yours, Junxiao On Jan 2, 2016 03:09, "Anil Jangam" wrote: > > I also did not understand why it is still trying to convert into a canonical format when a valid IP address provided. If you see the log on line #494, you will realize. > > I also observed that it always expected the IP address:port combination with "udp4" as scheme. It did not work with "udp". I am referring to this - udp://192.0.2.1 (remote-port defaults to 6363). It did not take the default port 6363 by default. All my neighbouring nodes are remote node in NLSR test set up. > > 494 191s FaceController:onCanonizeSuccess(): Converted udp4:// 10.0.0.3:6363 to canonical form: udp4://10.0.0.3:6363 > 495 191s FaceController:createFaceInNfd(): Creating Face in NFD with face-uri: udp4://10.0.0.3:6363 > 496 191s Fib:registerPrefix(): Registering prefix: /ndn/edu/umbc/%C1.Router/cs/mctr Face Uri: udp4://10.0.0.3:6363 > 497 191s FaceController:createFace(): Converting udp4://10.0.0.3:6363 to canonical form > 498 191s FaceController:onCanonizeSuccess(): Converted udp4:// 10.0.0.3:6363 to canonical form: udp4://10.0.0.3:6363 > 499 191s FaceController:createFaceInNfd(): Creating Face in NFD with face-uri: udp4://10.0.0.3:6363 > 500 191s HelloProtocol:scheduleInterest(): Scheduling HELLO Interests in 60 seconds > 501 191s HelloProtocol:onRegistrationFailure(): Unsupported protocol (code: 501) > 502 191s HelloProtocol:onRegistrationFailure(): Unsupported protocol (code: 501) > 503 191s HelloProtocol:onRegistrationFailure(): Unsupported protocol (code: 501) -------------- next part -------------- An HTML attachment was scrubbed... URL: From shijunxiao at email.arizona.edu Sat Jan 2 06:39:37 2016 From: shijunxiao at email.arizona.edu (Junxiao Shi) Date: Sat, 2 Jan 2016 07:39:37 -0700 Subject: [ndnSIM] Exception while creating face (converting face-uri to canonical form) In-Reply-To: References: Message-ID: Do not use 192.0.2.1 in an actual scenario. Per RFC5737 section4, ns-3 SHOULD drop packets with this destination because this IP is in a range reserved for documentation. On Jan 1, 2016 15:10, "Anil Jangam" wrote: > > I also modified the face-uri to an IP address:port format. For each node, I am providing an unique IP. Like this: > > 76 face-uri udp://192.0.2.1:6363 > 76 face-uri udp://192.0.2.1:6363 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From anilj.mailing at gmail.com Sat Jan 2 09:05:18 2016 From: anilj.mailing at gmail.com (Anil Jangam) Date: Sat, 2 Jan 2016 09:05:18 -0800 Subject: [ndnSIM] Exception while creating face (converting face-uri to canonical form) In-Reply-To: References: Message-ID: Thanks Junxiao for the comments. What other face type I should be using instead of UDP? /anil On Jan 2, 2016 6:39 AM, "Junxiao Shi" wrote: > Do not use 192.0.2.1 in an actual scenario. Per RFC5737 section4, ns-3 > SHOULD drop packets with this destination because this IP is in a range > reserved for documentation. > > On Jan 1, 2016 15:10, "Anil Jangam" wrote: > > > > I also modified the face-uri to an IP address:port format. For each > node, I am providing an unique IP. Like this: > > > > 76 face-uri udp://192.0.2.1:6363 > > 76 face-uri udp://192.0.2.1:6363 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Sat Jan 2 11:48:52 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Sat, 2 Jan 2016 21:48:52 +0200 Subject: [ndnSIM] Vanet via Named Data Networking In-Reply-To: References: Message-ID: <9A8CE9AE-B26C-4AAF-B185-E616722E4D79@cs.ucla.edu> Hi, since 2013, we have made major changes to ndnSIM. Most probably, code developed under the ndnSIM version available in 2013, cannot work now. A way to become familiar with the changes made is to go through the commit history on github: https://github.com/named-data-ndnSIM/ndnSIM/commits/master Moreover, you could take a look at our website: http://ndnsim.net/2.1/ Hope that this helps, Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Jan 1, 2016, at 6:50 AM, makel angelo wrote: > > Hi (Alex, Spyros), > First of all happy new year. > i am trying to run a simulation using ndnSim but i have a lot of question i hope you can answer me . > First i tried to run a simulation available on the web published in 2013 but i am having some difficulties .First do i need to make changes to the code if the version of ndnSim i am working on is different than the one the code was developed under ? > when using the code i noticed that there is a file called ndn-v2v-net-device-face.cc and it's header .h.I think all the errors i am facing is due to this file .it's normal since this file call for other file such as ndn-net-device-face also ndn-header-helper .while searching for those file i could not find those file under ns3/build/ns3 i could not find the file with extension ndn-net-device-face.h instead i found ndn-net-device-face.hpp.but when changing the call in ndn-v2v-net-device-face the compile says that the file ndn-net-device-face.hpp is not found.Well i think i missing something here could you please try to explain for me? > > _______________________________________________ > 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 msepahkar at gmail.com Sat Jan 2 18:48:50 2016 From: msepahkar at gmail.com (Mehdi Sepahkar) Date: Sun, 3 Jan 2016 10:48:50 +0800 Subject: [ndnSIM] Wireless forwarding strategy Message-ID: Dear Alex, Is there any implemented option available for wireless forwarding in ndnSIM? As it has been a missing feature to which you have referred in posts like this one: *http://www.lists.cs.ucla.edu/pipermail/ndnsim/2013-July/000766.html * If yes please kindly tell me how to use them and if no, I will be very thankful if you can in anyway help me with my problem in forwarding for wireless nodes in ndnSIM. The scenario is communication between mobile nodes which are moving in a content centric network. Thanks, Mehdi Sepahkar PhD candidate, University of Isfahan -------------- next part -------------- An HTML attachment was scrubbed... URL: From anilj.mailing at gmail.com Sat Jan 2 19:43:51 2016 From: anilj.mailing at gmail.com (Anil Jangam) Date: Sat, 2 Jan 2016 19:43:51 -0800 Subject: [ndnSIM] How does updated version of ndn::Face works? Message-ID: Hi Alex, I have taken care of all the changes suggested in the guidelines provided here: http://ndnsim.net/2.1/guide-to-simulate-real-apps.html However, the below issue is stopper. What additional changes are required to make this work in my application? How does the updated version of ndn::Face works? Can you please elaborate? If UDP faces are yet to be supported, what alternative do we have? Perhaps, I did not understand the sample example from the new ndn::Face perspective. /anil. On Sat, Jan 2, 2016 at 4:10 AM, Junxiao Shi wrote: > FaceManager reports 501 "unsupported protocol" for udp4 FaceUri because > ndnSIM does not yet support UDP faces. Watch > http://redmine.named-data.net/issues/2371 for progress. > > Yours, Junxiao > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bouabidmarwan at gmail.com Thu Jan 7 22:43:56 2016 From: bouabidmarwan at gmail.com (Bouabid Marwan) Date: Fri, 8 Jan 2016 07:43:56 +0100 Subject: [ndnSIM] ndnSIM 2.x Message-ID: Hello, I need to use the file ndn-v2v-net-device-face but I found out that this file is no longer supported in ndnSIM 2.x.Is there any similar file for the new version? In case, there is no new version how can I modify it? Thanks in advance. Best regards. -- BM From bouabidmarwan at gmail.com Fri Jan 8 00:47:41 2016 From: bouabidmarwan at gmail.com (Bouabid Marwan) Date: Fri, 8 Jan 2016 09:47:41 +0100 Subject: [ndnSIM] ndn-header-helper replacement in ndnSIM 2.x Message-ID: Hello, Thanks for answering my previous questions, in the same context of my other question about the replacement of ndn-v2v-net-device .This file also includes some other files such as ndn-header-helper what's the replacement of those files in the new version of ndnSIM. -- BM From mastorakis at CS.UCLA.EDU Fri Jan 8 09:18:44 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Fri, 8 Jan 2016 09:18:44 -0800 Subject: [ndnSIM] ndnSIM 2.x In-Reply-To: References: Message-ID: <2280E9A8-1BEA-45B5-B682-78D816E2BBBC@cs.ucla.edu> Hi, unfortunately, you will have to modify the existing file. The best way is to make yourself familiar with the changes made in the new versions of the simulator. A way to do that is to go through the commit history on github: https://github.com/named-data-ndnSIM/ndnSIM/commits/master Moreover, you could take a look at our website: http://ndnsim.net/2.1/ Hope that this helps, Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Jan 7, 2016, at 10:43 PM, Bouabid Marwan wrote: > > Hello, > I need to use the file ndn-v2v-net-device-face but I found out that > this file is no longer supported in ndnSIM 2.x.Is there any similar > file for the new version? > In case, there is no new version how can I modify it? > Thanks in advance. > > Best regards. > > -- > BM > _______________________________________________ > 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 bouabidmarwan at gmail.com Sat Jan 9 01:41:07 2016 From: bouabidmarwan at gmail.com (Bouabid Marwan) Date: Sat, 9 Jan 2016 10:41:07 +0100 Subject: [ndnSIM] Download ndnSIM 1.0 Message-ID: Hello, I want to download an older version of ndnSIM 1.0 but when following the steps. git clone -b ndnSIM-v1 git://github.com/cawka/ns-3-dev-ndnSIM ns-3 git clone git://github.com/cawka/pybindgen.git pybindgen git clone -b master-v1 git://github.com:named-data/ndnSIM.git ns-3/src/ndnSIM The third step generates the following error: fatal: unable to connect to github.com: github.com: Servname not supported for ai_socktype how can I download the ndnSIM 1.0? Thanks. -- BM From ayush0071 at gmail.com Sat Jan 9 04:02:07 2016 From: ayush0071 at gmail.com (Ayush Agarwal) Date: Sat, 9 Jan 2016 17:32:07 +0530 Subject: [ndnSIM] Download ndnSIM 1.0 In-Reply-To: References: Message-ID: Hi, In the third command, there is a typo error. Replace the ":" after github.com with "/". It will work fine then. git clone -b master-v1 git://github.com/named-data/ndnSIM.git ns-3/src/ndnSIM Hope it works fine. Regards, Ayush Agarwal On Sat, Jan 9, 2016 at 3:11 PM, Bouabid Marwan wrote: > Hello, > I want to download an older version of ndnSIM 1.0 but when following the > steps. > > git clone -b ndnSIM-v1 git://github.com/cawka/ns-3-dev-ndnSIM ns-3 > git clone git://github.com/cawka/pybindgen.git pybindgen > git clone -b master-v1 git://github.com:named-data/ndnSIM.git > ns-3/src/ndnSIM > > > The third step generates the following error: > fatal: unable to connect to github.com: > github.com: Servname not supported for ai_socktype > > how can I download the ndnSIM 1.0? > Thanks. > > > -- > BM > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dhiabimen at gmail.com Sun Jan 10 05:15:32 2016 From: dhiabimen at gmail.com (Dhiab Imen) Date: Sun, 10 Jan 2016 14:15:32 +0100 Subject: [ndnSIM] NDN onoff application Message-ID: Hi for all, there is any one hwo can tell me what is the equivalent of an IP onoff application with ndnsim. I want to generate an onoff uniform randon traffic with ndn nodes with these parameters: packetSize = 1024; dataRate_OnOff [] = "1Mbps"; I found that the on-off traffic is generated using ConsumerBatches ndn application and the uniform random traffic is genrated using : ndn::AppHelper Helper ("ns3::ndn::ConsumerCbr"); Helper.SetAttribute("Randomize", StringValue("uniform")); how can I do to get onoff uniform randon traffic with the mentionned parameters?? Thnx in advance. -- Cordialement Imen Dhiab *************************************************************************************************** Ing?nieur Informatique dipl?m? de l'Ecole Nationale d'Ing?nieurs de Sfax. Membre de l'unit? de recherche SAGE (Syst?mes Avanc?s en G?nie Electrique), Ecole Nationale d'Ing?nieurs de Sousse. +216 53 59 19 88 Pages personnelles : http://www.sage-eniso.org/profile-membre/fr/T/85/dhiab-imene.html *************************************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.faran.majeed at gmail.com Wed Jan 13 23:01:01 2016 From: m.faran.majeed at gmail.com (Muhammad Faran) Date: Thu, 14 Jan 2016 14:01:01 +0700 Subject: [ndnSIM] Error compiling "Scenario" in ndnSIM-2.1 Message-ID: Dear All, I've downloaded and compiled ndnSIM-2.1 from http://ndnsim.net/2.1/getting-started.html and followed instructions for "Real Experimentation". But I'm getting following error. Could anyone help me, please? ndnsim at ndnsim:~/ndnSIM-optimized/scenario$ ./waf --run scenarios/scenario-1.cpp Waf: Entering directory `/home/ndnsim/ndnSIM-optimized/scenario/build' Waf: Leaving directory `/home/ndnsim/ndnSIM-optimized/scenario/build' 'build' finished successfully (0.052s) Traceback (most recent call last): File "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", line 103, in waf_entry_point run_commands() File "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", line 166, in run_commands run_command('shutdown') File "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", line 155, in run_command ctx.execute() File "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Context.py", line 92, in execute self.recurse([os.path.dirname(g_module.root_path)]) File "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Context.py", line 133, in recurse user_function(self) File "/home/ndnsim/ndnSIM-optimized/scenario/wscript", line 122, in shutdown return subprocess.call (argv) File "/usr/lib/python2.7/subprocess.py", line 522, in call return Popen(*popenargs, **kwargs).wait() File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child raise child_exception *OSError: [Errno 2] No such file or directory* Best, Faran AIT, Thailand -------------- next part -------------- An HTML attachment was scrubbed... URL: From christian.kreuzberger at itec.aau.at Wed Jan 13 23:37:27 2016 From: christian.kreuzberger at itec.aau.at (Christian Kreuzberger) Date: Thu, 14 Jan 2016 08:37:27 +0100 Subject: [ndnSIM] Error compiling "Scenario" in ndnSIM-2.1 In-Reply-To: References: Message-ID: <000c01d14e9e$6b346450$419d2cf0$@itec.aau.at> Hi I believe that you are not supposed to call ./waf ?run scenarios/scenario-1.cpp but instead ./waf ?run scenario-1 (without the relative path and .cpp at the end) Best regards Christian From: ndnSIM [mailto:ndnsim-bounces at lists.cs.ucla.edu] On Behalf Of Muhammad Faran Sent: Thursday, January 14, 2016 8:01 AM To: ndnsim at lists.cs.ucla.edu Subject: [ndnSIM] Error compiling "Scenario" in ndnSIM-2.1 Dear All, I've downloaded and compiled ndnSIM-2.1 from http://ndnsim.net/2.1/getting-started.html and followed instructions for "Real Experimentation". But I'm getting following error. Could anyone help me, please? ndnsim at ndnsim:~/ndnSIM-optimized/scenario$ ./waf --run scenarios/scenario-1.cpp Waf: Entering directory `/home/ndnsim/ndnSIM-optimized/scenario/build' Waf: Leaving directory `/home/ndnsim/ndnSIM-optimized/scenario/build' 'build' finished successfully (0.052s) Traceback (most recent call last): File "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", line 103, in waf_entry_point run_commands() File "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", line 166, in run_commands run_command('shutdown') File "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", line 155, in run_command ctx.execute() File "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Context.py", line 92, in execute self.recurse([os.path.dirname(g_module.root_path)]) File "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Context.py", line 133, in recurse user_function(self) File "/home/ndnsim/ndnSIM-optimized/scenario/wscript", line 122, in shutdown return subprocess.call (argv) File "/usr/lib/python2.7/subprocess.py", line 522, in call return Popen(*popenargs, **kwargs).wait() File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory Best, Faran AIT, Thailand -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.faran.majeed at gmail.com Thu Jan 14 06:32:15 2016 From: m.faran.majeed at gmail.com (Muhammad Faran) Date: Thu, 14 Jan 2016 21:32:15 +0700 Subject: [ndnSIM] Error compiling "Scenario" in ndnSIM-2.1 In-Reply-To: <000c01d14e9e$6b346450$419d2cf0$@itec.aau.at> References: <000c01d14e9e$6b346450$419d2cf0$@itec.aau.at> Message-ID: Dear Christian, I'm able to build my scenarios, now. Thank you for your email. :) Is there any way to see what?s happening while I run my scenario? I've tried, ./waf --run scenario --visualize It builds successfully but nothing appears. :( Kind regards, Muhammad Faran Majeed, AIT, Thailand On Thu, Jan 14, 2016 at 2:37 PM, Christian Kreuzberger < christian.kreuzberger at itec.aau.at> wrote: > Hi > > > > I believe that you are not supposed to call > > ./waf ?run scenarios/scenario-1.cpp > > but instead > > ./waf ?run scenario-1 > > (without the relative path and .cpp at the end) > > > > > > Best regards > > Christian > > > > *From:* ndnSIM [mailto:ndnsim-bounces at lists.cs.ucla.edu] *On Behalf Of *Muhammad > Faran > *Sent:* Thursday, January 14, 2016 8:01 AM > *To:* ndnsim at lists.cs.ucla.edu > *Subject:* [ndnSIM] Error compiling "Scenario" in ndnSIM-2.1 > > > > Dear All, > > > > I've downloaded and compiled ndnSIM-2.1 from > http://ndnsim.net/2.1/getting-started.html and followed instructions for > "Real Experimentation". But I'm getting following error. Could anyone help > me, please? > > > ndnsim at ndnsim:~/ndnSIM-optimized/scenario$ ./waf --run > scenarios/scenario-1.cpp > Waf: Entering directory `/home/ndnsim/ndnSIM-optimized/scenario/build' > Waf: Leaving directory `/home/ndnsim/ndnSIM-optimized/scenario/build' > 'build' finished successfully (0.052s) > Traceback (most recent call last): > File > "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", > line 103, in waf_entry_point > run_commands() > File > "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", > line 166, in run_commands > run_command('shutdown') > File > "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", > line 155, in run_command > ctx.execute() > File > "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Context.py", > line 92, in execute > self.recurse([os.path.dirname(g_module.root_path)]) > File > "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Context.py", > line 133, in recurse > user_function(self) > File "/home/ndnsim/ndnSIM-optimized/scenario/wscript", line 122, in > shutdown > return subprocess.call (argv) > File "/usr/lib/python2.7/subprocess.py", line 522, in call > return Popen(*popenargs, **kwargs).wait() > File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ > errread, errwrite) > File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child > raise child_exception > *OSError: [Errno 2] No such file or directory* > > Best, > > Faran > > AIT, Thailand > -------------- next part -------------- An HTML attachment was scrubbed... URL: From vbala038 at uottawa.ca Thu Jan 14 07:01:59 2016 From: vbala038 at uottawa.ca (Venkatraman B) Date: Thu, 14 Jan 2016 10:01:59 -0500 Subject: [ndnSIM] Error compiling "Scenario" in ndnSIM-2.1 In-Reply-To: <000c01d14e9e$6b346450$419d2cf0$@itec.aau.at> References: <000c01d14e9e$6b346450$419d2cf0$@itec.aau.at> Message-ID: Even I am facing problems while running ndn-simple. ./waf --run ndn-simple On Jan 14, 2016 1:08 PM, "Christian Kreuzberger" < christian.kreuzberger at itec.aau.at> wrote: > Hi > > > > I believe that you are not supposed to call > > ./waf ?run scenarios/scenario-1.cpp > > but instead > > ./waf ?run scenario-1 > > (without the relative path and .cpp at the end) > > > > > > Best regards > > Christian > > > > *From:* ndnSIM [mailto:ndnsim-bounces at lists.cs.ucla.edu] *On Behalf Of *Muhammad > Faran > *Sent:* Thursday, January 14, 2016 8:01 AM > *To:* ndnsim at lists.cs.ucla.edu > *Subject:* [ndnSIM] Error compiling "Scenario" in ndnSIM-2.1 > > > > Dear All, > > > > I've downloaded and compiled ndnSIM-2.1 from > http://ndnsim.net/2.1/getting-started.html and followed instructions for > "Real Experimentation". But I'm getting following error. Could anyone help > me, please? > > > ndnsim at ndnsim:~/ndnSIM-optimized/scenario$ ./waf --run > scenarios/scenario-1.cpp > Waf: Entering directory `/home/ndnsim/ndnSIM-optimized/scenario/build' > Waf: Leaving directory `/home/ndnsim/ndnSIM-optimized/scenario/build' > 'build' finished successfully (0.052s) > Traceback (most recent call last): > File > "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", > line 103, in waf_entry_point > run_commands() > File > "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", > line 166, in run_commands > run_command('shutdown') > File > "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", > line 155, in run_command > ctx.execute() > File > "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Context.py", > line 92, in execute > self.recurse([os.path.dirname(g_module.root_path)]) > File > "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Context.py", > line 133, in recurse > user_function(self) > File "/home/ndnsim/ndnSIM-optimized/scenario/wscript", line 122, in > shutdown > return subprocess.call (argv) > File "/usr/lib/python2.7/subprocess.py", line 522, in call > return Popen(*popenargs, **kwargs).wait() > File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ > errread, errwrite) > File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child > raise child_exception > *OSError: [Errno 2] No such file or directory* > > Best, > > Faran > > AIT, Thailand > > _______________________________________________ > 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 ayush0071 at gmail.com Thu Jan 14 07:39:08 2016 From: ayush0071 at gmail.com (Ayush Agarwal) Date: Thu, 14 Jan 2016 21:09:08 +0530 Subject: [ndnSIM] Error compiling "Scenario" in ndnSIM-2.1 In-Reply-To: References: <000c01d14e9e$6b346450$419d2cf0$@itec.aau.at> Message-ID: Hi, Instead of using *./waf --run scenario --visualize *to see what is exactly happening in a visualizer, use the command *./waf --run scenario --vis.* This will open the pyviz visualizer and run your simulations. Regards, Ayush Agarwal On Thu, Jan 14, 2016 at 8:31 PM, Venkatraman B wrote: > Even I am facing problems while running ndn-simple. > ./waf --run ndn-simple > On Jan 14, 2016 1:08 PM, "Christian Kreuzberger" < > christian.kreuzberger at itec.aau.at> wrote: > >> Hi >> >> >> >> I believe that you are not supposed to call >> >> ./waf ?run scenarios/scenario-1.cpp >> >> but instead >> >> ./waf ?run scenario-1 >> >> (without the relative path and .cpp at the end) >> >> >> >> >> >> Best regards >> >> Christian >> >> >> >> *From:* ndnSIM [mailto:ndnsim-bounces at lists.cs.ucla.edu] *On Behalf Of *Muhammad >> Faran >> *Sent:* Thursday, January 14, 2016 8:01 AM >> *To:* ndnsim at lists.cs.ucla.edu >> *Subject:* [ndnSIM] Error compiling "Scenario" in ndnSIM-2.1 >> >> >> >> Dear All, >> >> >> >> I've downloaded and compiled ndnSIM-2.1 from >> http://ndnsim.net/2.1/getting-started.html and followed instructions for >> "Real Experimentation". But I'm getting following error. Could anyone help >> me, please? >> >> >> ndnsim at ndnsim:~/ndnSIM-optimized/scenario$ ./waf --run >> scenarios/scenario-1.cpp >> Waf: Entering directory `/home/ndnsim/ndnSIM-optimized/scenario/build' >> Waf: Leaving directory `/home/ndnsim/ndnSIM-optimized/scenario/build' >> 'build' finished successfully (0.052s) >> Traceback (most recent call last): >> File >> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", >> line 103, in waf_entry_point >> run_commands() >> File >> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", >> line 166, in run_commands >> run_command('shutdown') >> File >> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", >> line 155, in run_command >> ctx.execute() >> File >> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Context.py", >> line 92, in execute >> self.recurse([os.path.dirname(g_module.root_path)]) >> File >> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Context.py", >> line 133, in recurse >> user_function(self) >> File "/home/ndnsim/ndnSIM-optimized/scenario/wscript", line 122, in >> shutdown >> return subprocess.call (argv) >> File "/usr/lib/python2.7/subprocess.py", line 522, in call >> return Popen(*popenargs, **kwargs).wait() >> File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ >> errread, errwrite) >> File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child >> raise child_exception >> *OSError: [Errno 2] No such file or directory* >> >> Best, >> >> Faran >> >> AIT, Thailand >> >> _______________________________________________ >> ndnSIM mailing list >> ndnSIM at lists.cs.ucla.edu >> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >> >> > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Thu Jan 14 09:26:07 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Thu, 14 Jan 2016 09:26:07 -0800 Subject: [ndnSIM] Error compiling "Scenario" in ndnSIM-2.1 In-Reply-To: References: <000c01d14e9e$6b346450$419d2cf0$@itec.aau.at> Message-ID: <483A9988-2083-43CD-AC9A-1067F861D2FF@cs.ucla.edu> Hi guys, you can also use the logging module of NS3 to view some kind of output. For example, in the case of the ndn-simple scenario, you can use the following: NS_LOG=ndn.Producer:ndn.Consumer ./waf --run ndn-simple Hope that this helps. Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Jan 14, 2016, at 7:39 AM, Ayush Agarwal wrote: > > Hi, > Instead of using ./waf --run scenario --visualize to see what is exactly happening in a visualizer, use the command ./waf --run scenario --vis. This will open the pyviz visualizer and run your simulations. > > Regards, > Ayush Agarwal > > On Thu, Jan 14, 2016 at 8:31 PM, Venkatraman B > wrote: > Even I am facing problems while running ndn-simple. > ./waf --run ndn-simple > On Jan 14, 2016 1:08 PM, "Christian Kreuzberger" > wrote: > Hi > > > > I believe that you are not supposed to call > > ./waf ?run scenarios/scenario-1.cpp > > but instead > > ./waf ?run scenario-1 > > (without the relative path and .cpp at the end) > > > > > > Best regards > > Christian > > > > From: ndnSIM [mailto:ndnsim-bounces at lists.cs.ucla.edu ] On Behalf Of Muhammad Faran > Sent: Thursday, January 14, 2016 8:01 AM > To: ndnsim at lists.cs.ucla.edu > Subject: [ndnSIM] Error compiling "Scenario" in ndnSIM-2.1 > > > > Dear All, > > > > I've downloaded and compiled ndnSIM-2.1 from http://ndnsim.net/2.1/getting-started.html and followed instructions for "Real Experimentation". But I'm getting following error. Could anyone help me, please? > > > ndnsim at ndnsim:~/ndnSIM-optimized/scenario$ ./waf --run scenarios/scenario-1.cpp > Waf: Entering directory `/home/ndnsim/ndnSIM-optimized/scenario/build' > Waf: Leaving directory `/home/ndnsim/ndnSIM-optimized/scenario/build' > 'build' finished successfully (0.052s) > Traceback (most recent call last): > File "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", line 103, in waf_entry_point > run_commands() > File "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", line 166, in run_commands > run_command('shutdown') > File "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", line 155, in run_command > ctx.execute() > File "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Context.py", line 92, in execute > self.recurse([os.path.dirname(g_module.root_path)]) > File "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Context.py", line 133, in recurse > user_function(self) > File "/home/ndnsim/ndnSIM-optimized/scenario/wscript", line 122, in shutdown > return subprocess.call (argv) > File "/usr/lib/python2.7/subprocess.py", line 522, in call > return Popen(*popenargs, **kwargs).wait() > File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ > errread, errwrite) > File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child > raise child_exception > OSError: [Errno 2] No such file or directory > > Best, > > Faran > > AIT, Thailand > > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- An HTML attachment was scrubbed... URL: From ayush0071 at gmail.com Thu Jan 14 11:10:02 2016 From: ayush0071 at gmail.com (Ayush Agarwal) Date: Fri, 15 Jan 2016 00:40:02 +0530 Subject: [ndnSIM] Error compiling "Scenario" in ndnSIM-2.1 In-Reply-To: <483A9988-2083-43CD-AC9A-1067F861D2FF@cs.ucla.edu> References: <000c01d14e9e$6b346450$419d2cf0$@itec.aau.at> <483A9988-2083-43CD-AC9A-1067F861D2FF@cs.ucla.edu> Message-ID: Hi, I think the problem is with the pybindgen version then. The pyviz might not have installed correctly. Try rebuilding ns-3 and check the required and present version of pybindgen on the terminal screen. I have also faced this issue earlier. Hope it helps. Thanks Ayush Agarwal On Thu, Jan 14, 2016 at 10:56 PM, Spyridon (Spyros) Mastorakis < mastorakis at cs.ucla.edu> wrote: > Hi guys, > > you can also use the logging module of NS3 to view some kind of output. > > For example, in the case of the ndn-simple scenario, you can use the > following: > > NS_LOG=ndn.Producer:ndn.Consumer ./waf --run ndn-simple > > Hope that this helps. > > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ > Internet Research Laboratory > Computer Science Department > UCLA > > > > > On Jan 14, 2016, at 7:39 AM, Ayush Agarwal wrote: > > Hi, > Instead of using *./waf --run scenario --visualize *to see what is > exactly happening in a visualizer, use the command *./waf --run scenario > --vis.* This will open the pyviz visualizer and run your simulations. > > Regards, > Ayush Agarwal > > On Thu, Jan 14, 2016 at 8:31 PM, Venkatraman B > wrote: > >> Even I am facing problems while running ndn-simple. >> ./waf --run ndn-simple >> On Jan 14, 2016 1:08 PM, "Christian Kreuzberger" < >> christian.kreuzberger at itec.aau.at> wrote: >> >>> Hi >>> >>> >>> >>> I believe that you are not supposed to call >>> >>> ./waf ?run scenarios/scenario-1.cpp >>> >>> but instead >>> >>> ./waf ?run scenario-1 >>> >>> (without the relative path and .cpp at the end) >>> >>> >>> >>> >>> >>> Best regards >>> >>> Christian >>> >>> >>> >>> *From:* ndnSIM [mailto:ndnsim-bounces at lists.cs.ucla.edu] *On Behalf Of *Muhammad >>> Faran >>> *Sent:* Thursday, January 14, 2016 8:01 AM >>> *To:* ndnsim at lists.cs.ucla.edu >>> *Subject:* [ndnSIM] Error compiling "Scenario" in ndnSIM-2.1 >>> >>> >>> >>> Dear All, >>> >>> >>> >>> I've downloaded and compiled ndnSIM-2.1 from >>> http://ndnsim.net/2.1/getting-started.html and followed instructions >>> for "Real Experimentation". But I'm getting following error. Could anyone >>> help me, please? >>> >>> >>> ndnsim at ndnsim:~/ndnSIM-optimized/scenario$ ./waf --run >>> scenarios/scenario-1.cpp >>> Waf: Entering directory `/home/ndnsim/ndnSIM-optimized/scenario/build' >>> Waf: Leaving directory `/home/ndnsim/ndnSIM-optimized/scenario/build' >>> 'build' finished successfully (0.052s) >>> Traceback (most recent call last): >>> File >>> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", >>> line 103, in waf_entry_point >>> run_commands() >>> File >>> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", >>> line 166, in run_commands >>> run_command('shutdown') >>> File >>> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", >>> line 155, in run_command >>> ctx.execute() >>> File >>> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Context.py", >>> line 92, in execute >>> self.recurse([os.path.dirname(g_module.root_path)]) >>> File >>> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Context.py", >>> line 133, in recurse >>> user_function(self) >>> File "/home/ndnsim/ndnSIM-optimized/scenario/wscript", line 122, in >>> shutdown >>> return subprocess.call (argv) >>> File "/usr/lib/python2.7/subprocess.py", line 522, in call >>> return Popen(*popenargs, **kwargs).wait() >>> File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ >>> errread, errwrite) >>> File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child >>> raise child_exception >>> *OSError: [Errno 2] No such file or directory* >>> >>> Best, >>> >>> Faran >>> >>> AIT, Thailand >>> >>> _______________________________________________ >>> ndnSIM mailing list >>> ndnSIM at lists.cs.ucla.edu >>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >>> >>> >> _______________________________________________ >> ndnSIM mailing list >> ndnSIM at lists.cs.ucla.edu >> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >> >> > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From anilj.mailing at gmail.com Thu Jan 14 11:15:19 2016 From: anilj.mailing at gmail.com (Anil Jangam) Date: Thu, 14 Jan 2016 11:15:19 -0800 Subject: [ndnSIM] Error compiling "Scenario" in ndnSIM-2.1 In-Reply-To: <483A9988-2083-43CD-AC9A-1067F861D2FF@cs.ucla.edu> References: <000c01d14e9e$6b346450$419d2cf0$@itec.aau.at> <483A9988-2083-43CD-AC9A-1067F861D2FF@cs.ucla.edu> Message-ID: By extending what Spyros has mentioned, you can generate logs from more modules as below. export 'NS_LOG=NexthopList=level_all|prefix_func|prefix_time:RoutingTable Calculator=level_all|prefix_func|prefix_time:NamePrefixTableEntry=level_all|prefix_func|prefix_time:FaceMap=level_all|pre fix_func|prefix_time:Fib=level_all|prefix_func|prefix_time:RoutingTable=level_all|prefix_func|prefix_time' Use below command more wisely as its going to generate tons of information. I am pasting it here just for information. export 'NS_LOG=*=debug|prefix_func|prefix_time' Finally run ndnSIM example scenarios as this. Note that I've programmed the command as an alias. alias ndn-simple-run='./waf --run=ndn-ndn-simple' /anil. On Jan 14, 2016 9:27 AM, "Spyridon (Spyros) Mastorakis" < mastorakis at cs.ucla.edu> wrote: > Hi guys, > > you can also use the logging module of NS3 to view some kind of output. > > For example, in the case of the ndn-simple scenario, you can use the > following: > > NS_LOG=ndn.Producer:ndn.Consumer ./waf --run ndn-simple > > Hope that this helps. > > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ > Internet Research Laboratory > Computer Science Department > UCLA > > > > > On Jan 14, 2016, at 7:39 AM, Ayush Agarwal wrote: > > Hi, > Instead of using *./waf --run scenario --visualize *to see what is > exactly happening in a visualizer, use the command *./waf --run scenario > --vis.* This will open the pyviz visualizer and run your simulations. > > Regards, > Ayush Agarwal > > On Thu, Jan 14, 2016 at 8:31 PM, Venkatraman B > wrote: > >> Even I am facing problems while running ndn-simple. >> ./waf --run ndn-simple >> On Jan 14, 2016 1:08 PM, "Christian Kreuzberger" < >> christian.kreuzberger at itec.aau.at> wrote: >> >>> Hi >>> >>> >>> >>> I believe that you are not supposed to call >>> >>> ./waf ?run scenarios/scenario-1.cpp >>> >>> but instead >>> >>> ./waf ?run scenario-1 >>> >>> (without the relative path and .cpp at the end) >>> >>> >>> >>> >>> >>> Best regards >>> >>> Christian >>> >>> >>> >>> *From:* ndnSIM [mailto:ndnsim-bounces at lists.cs.ucla.edu] *On Behalf Of *Muhammad >>> Faran >>> *Sent:* Thursday, January 14, 2016 8:01 AM >>> *To:* ndnsim at lists.cs.ucla.edu >>> *Subject:* [ndnSIM] Error compiling "Scenario" in ndnSIM-2.1 >>> >>> >>> >>> Dear All, >>> >>> >>> >>> I've downloaded and compiled ndnSIM-2.1 from >>> http://ndnsim.net/2.1/getting-started.html and followed instructions >>> for "Real Experimentation". But I'm getting following error. Could anyone >>> help me, please? >>> >>> >>> ndnsim at ndnsim:~/ndnSIM-optimized/scenario$ ./waf --run >>> scenarios/scenario-1.cpp >>> Waf: Entering directory `/home/ndnsim/ndnSIM-optimized/scenario/build' >>> Waf: Leaving directory `/home/ndnsim/ndnSIM-optimized/scenario/build' >>> 'build' finished successfully (0.052s) >>> Traceback (most recent call last): >>> File >>> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", >>> line 103, in waf_entry_point >>> run_commands() >>> File >>> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", >>> line 166, in run_commands >>> run_command('shutdown') >>> File >>> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", >>> line 155, in run_command >>> ctx.execute() >>> File >>> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Context.py", >>> line 92, in execute >>> self.recurse([os.path.dirname(g_module.root_path)]) >>> File >>> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Context.py", >>> line 133, in recurse >>> user_function(self) >>> File "/home/ndnsim/ndnSIM-optimized/scenario/wscript", line 122, in >>> shutdown >>> return subprocess.call (argv) >>> File "/usr/lib/python2.7/subprocess.py", line 522, in call >>> return Popen(*popenargs, **kwargs).wait() >>> File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ >>> errread, errwrite) >>> File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child >>> raise child_exception >>> *OSError: [Errno 2] No such file or directory* >>> >>> Best, >>> >>> Faran >>> >>> AIT, Thailand >>> >>> _______________________________________________ >>> ndnSIM mailing list >>> ndnSIM at lists.cs.ucla.edu >>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >>> >>> >> _______________________________________________ >> ndnSIM mailing list >> ndnSIM at lists.cs.ucla.edu >> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >> >> > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.faran.majeed at gmail.com Thu Jan 14 19:52:24 2016 From: m.faran.majeed at gmail.com (Muhammad Faran) Date: Fri, 15 Jan 2016 10:52:24 +0700 Subject: [ndnSIM] Error compiling "Scenario" in ndnSIM-2.1 In-Reply-To: References: <000c01d14e9e$6b346450$419d2cf0$@itec.aau.at> <483A9988-2083-43CD-AC9A-1067F861D2FF@cs.ucla.edu> Message-ID: Dear Ayush, Everything is compiled and built well. Actually, I can see the graph for ndn examples but while I run my scenario in optimized mode with --vis option, it compiles and builds successfully but does not show anything. Kind regards, Muhammad Faran Majeed, AIT, Thailand On Fri, Jan 15, 2016 at 2:10 AM, Ayush Agarwal wrote: > Hi, > I think the problem is with the pybindgen version then. The pyviz might > not have installed correctly. Try rebuilding ns-3 and check the required > and present version of pybindgen on the terminal screen. I have also faced > this issue earlier. Hope it helps. > > Thanks > Ayush Agarwal > > On Thu, Jan 14, 2016 at 10:56 PM, Spyridon (Spyros) Mastorakis < > mastorakis at cs.ucla.edu> wrote: > >> Hi guys, >> >> you can also use the logging module of NS3 to view some kind of output. >> >> For example, in the case of the ndn-simple scenario, you can use the >> following: >> >> NS_LOG=ndn.Producer:ndn.Consumer ./waf --run ndn-simple >> >> Hope that this helps. >> >> Spyridon (Spyros) Mastorakis >> Personal Website: http://cs.ucla.edu/~mastorakis/ >> Internet Research Laboratory >> Computer Science Department >> UCLA >> >> >> >> >> On Jan 14, 2016, at 7:39 AM, Ayush Agarwal wrote: >> >> Hi, >> Instead of using *./waf --run scenario --visualize *to see what is >> exactly happening in a visualizer, use the command *./waf --run scenario >> --vis.* This will open the pyviz visualizer and run your simulations. >> >> Regards, >> Ayush Agarwal >> >> On Thu, Jan 14, 2016 at 8:31 PM, Venkatraman B >> wrote: >> >>> Even I am facing problems while running ndn-simple. >>> ./waf --run ndn-simple >>> On Jan 14, 2016 1:08 PM, "Christian Kreuzberger" < >>> christian.kreuzberger at itec.aau.at> wrote: >>> >>>> Hi >>>> >>>> >>>> >>>> I believe that you are not supposed to call >>>> >>>> ./waf ?run scenarios/scenario-1.cpp >>>> >>>> but instead >>>> >>>> ./waf ?run scenario-1 >>>> >>>> (without the relative path and .cpp at the end) >>>> >>>> >>>> >>>> >>>> >>>> Best regards >>>> >>>> Christian >>>> >>>> >>>> >>>> *From:* ndnSIM [mailto:ndnsim-bounces at lists.cs.ucla.edu] *On Behalf Of >>>> *Muhammad Faran >>>> *Sent:* Thursday, January 14, 2016 8:01 AM >>>> *To:* ndnsim at lists.cs.ucla.edu >>>> *Subject:* [ndnSIM] Error compiling "Scenario" in ndnSIM-2.1 >>>> >>>> >>>> >>>> Dear All, >>>> >>>> >>>> >>>> I've downloaded and compiled ndnSIM-2.1 from >>>> http://ndnsim.net/2.1/getting-started.html and followed instructions >>>> for "Real Experimentation". But I'm getting following error. Could anyone >>>> help me, please? >>>> >>>> >>>> ndnsim at ndnsim:~/ndnSIM-optimized/scenario$ ./waf --run >>>> scenarios/scenario-1.cpp >>>> Waf: Entering directory `/home/ndnsim/ndnSIM-optimized/scenario/build' >>>> Waf: Leaving directory `/home/ndnsim/ndnSIM-optimized/scenario/build' >>>> 'build' finished successfully (0.052s) >>>> Traceback (most recent call last): >>>> File >>>> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", >>>> line 103, in waf_entry_point >>>> run_commands() >>>> File >>>> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", >>>> line 166, in run_commands >>>> run_command('shutdown') >>>> File >>>> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", >>>> line 155, in run_command >>>> ctx.execute() >>>> File >>>> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Context.py", >>>> line 92, in execute >>>> self.recurse([os.path.dirname(g_module.root_path)]) >>>> File >>>> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Context.py", >>>> line 133, in recurse >>>> user_function(self) >>>> File "/home/ndnsim/ndnSIM-optimized/scenario/wscript", line 122, in >>>> shutdown >>>> return subprocess.call (argv) >>>> File "/usr/lib/python2.7/subprocess.py", line 522, in call >>>> return Popen(*popenargs, **kwargs).wait() >>>> File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ >>>> errread, errwrite) >>>> File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child >>>> raise child_exception >>>> *OSError: [Errno 2] No such file or directory* >>>> >>>> Best, >>>> >>>> Faran >>>> >>>> AIT, Thailand >>>> >>>> _______________________________________________ >>>> ndnSIM mailing list >>>> ndnSIM at lists.cs.ucla.edu >>>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >>>> >>>> >>> _______________________________________________ >>> ndnSIM mailing list >>> ndnSIM at lists.cs.ucla.edu >>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >>> >>> >> _______________________________________________ >> ndnSIM mailing list >> ndnSIM at lists.cs.ucla.edu >> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >> >> >> > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.faran.majeed at gmail.com Thu Jan 14 20:10:21 2016 From: m.faran.majeed at gmail.com (Muhammad Faran) Date: Fri, 15 Jan 2016 11:10:21 +0700 Subject: [ndnSIM] How to configuring Eclipse for DEBUG and INFO logs? In-Reply-To: References: Message-ID: Hi Anil, Are you able to achieve this for Eclipse? If so, kindly let the list know the steps. :) Kind regards, Muhammad Faran Majeed, AIT, Thailand On Wed, Apr 8, 2015 at 10:14 AM, Spyridon (Spyros) Mastorakis < spiros.mastorakis at gmail.com> wrote: > Hello Anil, > > to be honest neither Alex nor me have any knowledge about this specific > question. I believe that the ns3 mailing list would be a more appropriate > list for your question as the link that you provided refers to NS-3, not > ndnSIM itself. > > -- > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ > Internet Research Laboratory > PhD Computer Science > UCLA > > > > > > On Apr 6, 2015, at 2:59 AM, Anil Jangam wrote: > > > > I think it's an environment variable. Let me adds it in eclipse run > configuration env variable list and check out. > > > > If incorrect, pls suggest. > > > > /anil. > > > > On Apr 5, 2015 2:10 AM, "Anil Jangam" wrote: > > There is a link available on how to configure Eclipse with waf to run > ndnSIM programs under Eclipse. > > https://www.nsnam.org/wiki/HOWTO_configure_Eclipse_with_ns-3 > > > > However, I did not understood how do I specify the module names so that > when run under Eclipse, it also print all the logs. Right now, I am not > able to see any DEBUG or INFO logs when run from Eclipse. > > > > An equivalent command command line for the program to run from command > line is below. > > NS_LOG=ndn.Consumer:ndn.Producer ./waf --run=ndn-grid-topo-plugin > > > > Can someone please tell how to achieve same in Eclipse? > > > > /anil. > > > > _______________________________________________ > > 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 m.faran.majeed at gmail.com Thu Jan 14 20:12:54 2016 From: m.faran.majeed at gmail.com (Muhammad Faran) Date: Fri, 15 Jan 2016 11:12:54 +0700 Subject: [ndnSIM] Error compiling "Scenario" in ndnSIM-2.1 In-Reply-To: References: <000c01d14e9e$6b346450$419d2cf0$@itec.aau.at> <483A9988-2083-43CD-AC9A-1067F861D2FF@cs.ucla.edu> Message-ID: Yureka! I'm able to generate graph for my scenario. Thanks Ayush, I followed your shell script to achieve this. Please ignore my previous message. Kind regards, Muhammad Faran Majeed, AIT, Thailand Kind regards, Muhammad Faran Majeed, AIT, Thailand On Fri, Jan 15, 2016 at 10:52 AM, Muhammad Faran wrote: > Dear Ayush, > > Everything is compiled and built well. Actually, I can see the graph for > ndn examples but while I run my scenario in optimized mode with --vis > option, it compiles and builds successfully but does not show anything. > > Kind regards, > > Muhammad Faran Majeed, > AIT, Thailand > > On Fri, Jan 15, 2016 at 2:10 AM, Ayush Agarwal > wrote: > >> Hi, >> I think the problem is with the pybindgen version then. The pyviz might >> not have installed correctly. Try rebuilding ns-3 and check the required >> and present version of pybindgen on the terminal screen. I have also faced >> this issue earlier. Hope it helps. >> >> Thanks >> Ayush Agarwal >> >> On Thu, Jan 14, 2016 at 10:56 PM, Spyridon (Spyros) Mastorakis < >> mastorakis at cs.ucla.edu> wrote: >> >>> Hi guys, >>> >>> you can also use the logging module of NS3 to view some kind of output. >>> >>> For example, in the case of the ndn-simple scenario, you can use the >>> following: >>> >>> NS_LOG=ndn.Producer:ndn.Consumer ./waf --run ndn-simple >>> >>> Hope that this helps. >>> >>> Spyridon (Spyros) Mastorakis >>> Personal Website: http://cs.ucla.edu/~mastorakis/ >>> Internet Research Laboratory >>> Computer Science Department >>> UCLA >>> >>> >>> >>> >>> On Jan 14, 2016, at 7:39 AM, Ayush Agarwal wrote: >>> >>> Hi, >>> Instead of using *./waf --run scenario --visualize *to see what is >>> exactly happening in a visualizer, use the command *./waf --run >>> scenario --vis.* This will open the pyviz visualizer and run your >>> simulations. >>> >>> Regards, >>> Ayush Agarwal >>> >>> On Thu, Jan 14, 2016 at 8:31 PM, Venkatraman B >>> wrote: >>> >>>> Even I am facing problems while running ndn-simple. >>>> ./waf --run ndn-simple >>>> On Jan 14, 2016 1:08 PM, "Christian Kreuzberger" < >>>> christian.kreuzberger at itec.aau.at> wrote: >>>> >>>>> Hi >>>>> >>>>> >>>>> >>>>> I believe that you are not supposed to call >>>>> >>>>> ./waf ?run scenarios/scenario-1.cpp >>>>> >>>>> but instead >>>>> >>>>> ./waf ?run scenario-1 >>>>> >>>>> (without the relative path and .cpp at the end) >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> Best regards >>>>> >>>>> Christian >>>>> >>>>> >>>>> >>>>> *From:* ndnSIM [mailto:ndnsim-bounces at lists.cs.ucla.edu] *On Behalf >>>>> Of *Muhammad Faran >>>>> *Sent:* Thursday, January 14, 2016 8:01 AM >>>>> *To:* ndnsim at lists.cs.ucla.edu >>>>> *Subject:* [ndnSIM] Error compiling "Scenario" in ndnSIM-2.1 >>>>> >>>>> >>>>> >>>>> Dear All, >>>>> >>>>> >>>>> >>>>> I've downloaded and compiled ndnSIM-2.1 from >>>>> http://ndnsim.net/2.1/getting-started.html and followed instructions >>>>> for "Real Experimentation". But I'm getting following error. Could anyone >>>>> help me, please? >>>>> >>>>> >>>>> ndnsim at ndnsim:~/ndnSIM-optimized/scenario$ ./waf --run >>>>> scenarios/scenario-1.cpp >>>>> Waf: Entering directory `/home/ndnsim/ndnSIM-optimized/scenario/build' >>>>> Waf: Leaving directory `/home/ndnsim/ndnSIM-optimized/scenario/build' >>>>> 'build' finished successfully (0.052s) >>>>> Traceback (most recent call last): >>>>> File >>>>> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", >>>>> line 103, in waf_entry_point >>>>> run_commands() >>>>> File >>>>> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", >>>>> line 166, in run_commands >>>>> run_command('shutdown') >>>>> File >>>>> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", >>>>> line 155, in run_command >>>>> ctx.execute() >>>>> File >>>>> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Context.py", >>>>> line 92, in execute >>>>> self.recurse([os.path.dirname(g_module.root_path)]) >>>>> File >>>>> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Context.py", >>>>> line 133, in recurse >>>>> user_function(self) >>>>> File "/home/ndnsim/ndnSIM-optimized/scenario/wscript", line 122, in >>>>> shutdown >>>>> return subprocess.call (argv) >>>>> File "/usr/lib/python2.7/subprocess.py", line 522, in call >>>>> return Popen(*popenargs, **kwargs).wait() >>>>> File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ >>>>> errread, errwrite) >>>>> File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child >>>>> raise child_exception >>>>> *OSError: [Errno 2] No such file or directory* >>>>> >>>>> Best, >>>>> >>>>> Faran >>>>> >>>>> AIT, Thailand >>>>> >>>>> _______________________________________________ >>>>> ndnSIM mailing list >>>>> ndnSIM at lists.cs.ucla.edu >>>>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >>>>> >>>>> >>>> _______________________________________________ >>>> ndnSIM mailing list >>>> ndnSIM at lists.cs.ucla.edu >>>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >>>> >>>> >>> _______________________________________________ >>> ndnSIM mailing list >>> ndnSIM at lists.cs.ucla.edu >>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >>> >>> >>> >> >> _______________________________________________ >> 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 vbala038 at uottawa.ca Fri Jan 15 14:23:31 2016 From: vbala038 at uottawa.ca (Venkatraman B) Date: Fri, 15 Jan 2016 17:23:31 -0500 Subject: [ndnSIM] Error compiling "Scenario" in ndnSIM-2.1 In-Reply-To: References: <000c01d14e9e$6b346450$419d2cf0$@itec.aau.at> <483A9988-2083-43CD-AC9A-1067F861D2FF@cs.ucla.edu> Message-ID: Has anyone referred to this paper? http://krc.coe.neu.edu/sites/krc.coe.neu.edu/files/SECON-2014-SWANSITY.pdf how is the simulation achieved here? Sincerely, Venkat On Thu, Jan 14, 2016 at 11:12 PM, Muhammad Faran wrote: > Yureka! > > I'm able to generate graph for my scenario. Thanks Ayush, I followed your > shell script to achieve this. Please ignore my previous message. > > Kind regards, > > Muhammad Faran Majeed, > AIT, Thailand > > Kind regards, > > Muhammad Faran Majeed, > AIT, Thailand > > On Fri, Jan 15, 2016 at 10:52 AM, Muhammad Faran > wrote: > >> Dear Ayush, >> >> Everything is compiled and built well. Actually, I can see the graph for >> ndn examples but while I run my scenario in optimized mode with --vis >> option, it compiles and builds successfully but does not show anything. >> >> Kind regards, >> >> Muhammad Faran Majeed, >> AIT, Thailand >> >> On Fri, Jan 15, 2016 at 2:10 AM, Ayush Agarwal >> wrote: >> >>> Hi, >>> I think the problem is with the pybindgen version then. The pyviz might >>> not have installed correctly. Try rebuilding ns-3 and check the required >>> and present version of pybindgen on the terminal screen. I have also faced >>> this issue earlier. Hope it helps. >>> >>> Thanks >>> Ayush Agarwal >>> >>> On Thu, Jan 14, 2016 at 10:56 PM, Spyridon (Spyros) Mastorakis < >>> mastorakis at cs.ucla.edu> wrote: >>> >>>> Hi guys, >>>> >>>> you can also use the logging module of NS3 to view some kind of output. >>>> >>>> For example, in the case of the ndn-simple scenario, you can use the >>>> following: >>>> >>>> NS_LOG=ndn.Producer:ndn.Consumer ./waf --run ndn-simple >>>> >>>> Hope that this helps. >>>> >>>> Spyridon (Spyros) Mastorakis >>>> Personal Website: http://cs.ucla.edu/~mastorakis/ >>>> Internet Research Laboratory >>>> Computer Science Department >>>> UCLA >>>> >>>> >>>> >>>> >>>> On Jan 14, 2016, at 7:39 AM, Ayush Agarwal wrote: >>>> >>>> Hi, >>>> Instead of using *./waf --run scenario --visualize *to see what is >>>> exactly happening in a visualizer, use the command *./waf --run >>>> scenario --vis.* This will open the pyviz visualizer and run your >>>> simulations. >>>> >>>> Regards, >>>> Ayush Agarwal >>>> >>>> On Thu, Jan 14, 2016 at 8:31 PM, Venkatraman B >>>> wrote: >>>> >>>>> Even I am facing problems while running ndn-simple. >>>>> ./waf --run ndn-simple >>>>> On Jan 14, 2016 1:08 PM, "Christian Kreuzberger" < >>>>> christian.kreuzberger at itec.aau.at> wrote: >>>>> >>>>>> Hi >>>>>> >>>>>> >>>>>> >>>>>> I believe that you are not supposed to call >>>>>> >>>>>> ./waf ?run scenarios/scenario-1.cpp >>>>>> >>>>>> but instead >>>>>> >>>>>> ./waf ?run scenario-1 >>>>>> >>>>>> (without the relative path and .cpp at the end) >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Best regards >>>>>> >>>>>> Christian >>>>>> >>>>>> >>>>>> >>>>>> *From:* ndnSIM [mailto:ndnsim-bounces at lists.cs.ucla.edu] *On Behalf >>>>>> Of *Muhammad Faran >>>>>> *Sent:* Thursday, January 14, 2016 8:01 AM >>>>>> *To:* ndnsim at lists.cs.ucla.edu >>>>>> *Subject:* [ndnSIM] Error compiling "Scenario" in ndnSIM-2.1 >>>>>> >>>>>> >>>>>> >>>>>> Dear All, >>>>>> >>>>>> >>>>>> >>>>>> I've downloaded and compiled ndnSIM-2.1 from >>>>>> http://ndnsim.net/2.1/getting-started.html and followed instructions >>>>>> for "Real Experimentation". But I'm getting following error. Could anyone >>>>>> help me, please? >>>>>> >>>>>> >>>>>> ndnsim at ndnsim:~/ndnSIM-optimized/scenario$ ./waf --run >>>>>> scenarios/scenario-1.cpp >>>>>> Waf: Entering directory `/home/ndnsim/ndnSIM-optimized/scenario/build' >>>>>> Waf: Leaving directory `/home/ndnsim/ndnSIM-optimized/scenario/build' >>>>>> 'build' finished successfully (0.052s) >>>>>> Traceback (most recent call last): >>>>>> File >>>>>> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", >>>>>> line 103, in waf_entry_point >>>>>> run_commands() >>>>>> File >>>>>> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", >>>>>> line 166, in run_commands >>>>>> run_command('shutdown') >>>>>> File >>>>>> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", >>>>>> line 155, in run_command >>>>>> ctx.execute() >>>>>> File >>>>>> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Context.py", >>>>>> line 92, in execute >>>>>> self.recurse([os.path.dirname(g_module.root_path)]) >>>>>> File >>>>>> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Context.py", >>>>>> line 133, in recurse >>>>>> user_function(self) >>>>>> File "/home/ndnsim/ndnSIM-optimized/scenario/wscript", line 122, in >>>>>> shutdown >>>>>> return subprocess.call (argv) >>>>>> File "/usr/lib/python2.7/subprocess.py", line 522, in call >>>>>> return Popen(*popenargs, **kwargs).wait() >>>>>> File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ >>>>>> errread, errwrite) >>>>>> File "/usr/lib/python2.7/subprocess.py", line 1327, in >>>>>> _execute_child >>>>>> raise child_exception >>>>>> *OSError: [Errno 2] No such file or directory* >>>>>> >>>>>> Best, >>>>>> >>>>>> Faran >>>>>> >>>>>> AIT, Thailand >>>>>> >>>>>> _______________________________________________ >>>>>> ndnSIM mailing list >>>>>> ndnSIM at lists.cs.ucla.edu >>>>>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >>>>>> >>>>>> >>>>> _______________________________________________ >>>>> ndnSIM mailing list >>>>> ndnSIM at lists.cs.ucla.edu >>>>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >>>>> >>>>> >>>> _______________________________________________ >>>> ndnSIM mailing list >>>> ndnSIM at lists.cs.ucla.edu >>>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >>>> >>>> >>>> >>> >>> _______________________________________________ >>> 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 vbala038 at uottawa.ca Fri Jan 15 14:49:42 2016 From: vbala038 at uottawa.ca (Venkatraman B) Date: Fri, 15 Jan 2016 17:49:42 -0500 Subject: [ndnSIM] Stuck in boost library Message-ID: Hello, I am not able to go beyond this point cd ./waf configure --boost-includes=/usr/local/include --boost-libs=/usr/local/lib --enable-examples the error i get is waf: error : no such option:-- boost-libs-/usr/local/lib what could be the reason Sincerely, Venkat -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexander.afanasyev at ucla.edu Fri Jan 15 15:07:03 2016 From: alexander.afanasyev at ucla.edu (Alex Afanasyev) Date: Sat, 16 Jan 2016 00:07:03 +0100 Subject: [ndnSIM] Stuck in boost library In-Reply-To: References: Message-ID: <7EE9197B-AD69-48A6-89A3-155B807F629A@ucla.edu> Hi Venkat, Can you double check that the correctness of the command. The error you posted suggests that there is a small typo (- instead of = after boost-libs). --- Alex > On Jan 15, 2016, at 11:49 PM, Venkatraman B wrote: > > Hello, > I am not able to go beyond this point > cd > ./waf configure --boost-includes=/usr/local/include --boost-libs=/usr/local/lib --enable-examples > the error i get is waf: error : no such option:-- boost-libs-/usr/local/lib > what could be the reason > Sincerely, > Venkat > _______________________________________________ > 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 ddhakal at gmail.com Fri Jan 15 20:29:46 2016 From: ddhakal at gmail.com (Dependra Dhakal) Date: Sat, 16 Jan 2016 09:59:46 +0530 Subject: [ndnSIM] ADHOC forwarding strategy Message-ID: Can anyone help me with creating an ADHOC forwarder... I have three nodes in straight line 0 1 and 2.. i want to ping from node 0 to node 2 via node 1 as node 2 is not in range of node 0.. can anyone help me withe code... as i am not able to make the node 1 as forwarding node or act as a router. -- With Regards Dependra Dhakal -------------- next part -------------- An HTML attachment was scrubbed... URL: From aa at CS.UCLA.EDU Fri Jan 15 22:51:56 2016 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Sat, 16 Jan 2016 07:51:56 +0100 Subject: [ndnSIM] ADHOC forwarding strategy In-Reply-To: References: Message-ID: <8FE37B53-B60F-443B-A607-69304D806F43@cs.ucla.edu> Hi Dependra, Did you check simulation examples (http://ndnsim.net/2.1/examples.html )? The scenario you're describing sounds exactly like "simple scenario". If not, it would probably be the best if you show us your scenario that has problems, otherwise I'm not sure I what could be wrong. --- Alex > On Jan 16, 2016, at 5:29 AM, Dependra Dhakal wrote: > > Can anyone help me with creating an ADHOC forwarder... I have three nodes in straight line 0 1 and 2.. i want to ping from node 0 to node 2 via node 1 as node 2 is not in range of node 0.. can anyone help me withe code... as i am not able to make the node 1 as forwarding node or act as a router. > > -- > With Regards > > > Dependra Dhakal -------------- 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 m.faran.majeed at gmail.com Sun Jan 17 02:55:05 2016 From: m.faran.majeed at gmail.com (Muhammad Faran) Date: Sun, 17 Jan 2016 17:55:05 +0700 Subject: [ndnSIM] Producer producing fix amount of content? Message-ID: Hi All! Is there a way making producer producing fix amount of content in terms of both number of content packets and size of content? Kind regards, Muhammad Faran Majeed, AIT, Thailand -------------- next part -------------- An HTML attachment was scrubbed... URL: From anilj.mailing at gmail.com Tue Jan 19 02:08:29 2016 From: anilj.mailing at gmail.com (Anil Jangam) Date: Tue, 19 Jan 2016 02:08:29 -0800 Subject: [ndnSIM] Inconsistent Face IDs showing up in a topology Message-ID: Hi Alex/Spyros, In my example, I have created a triangle topology of 3 nodes (Node0, Node1 and Node2). I believe the nodes and the links are being created correctly (see the attached logs); however, when I try to get the face to reach the adjacent node from the given network node, I get same face Id each time, which I think is not consistent with the topology. I have attached both the function (code) and logs, which fetches the face Id from the device - using L3Protocol - installed on the node.I am puzzled as I am getting the same faceIds on all three nodes. I think I should be unique faceIds or at lease there should be three unique faceIds. Can you please help resolve this problem? /anil. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- 97 uint64_t 98 FaceController::getFaceFromP2PLink(std::string faceUri) 99 { 100 ns3::Ptr thisNode; 102 ns3::Ptr ndn1; 104 ns3::PointToPointNetDevice *netDevice_0; 105 ns3::PointToPointNetDevice *netDevice_1; 106 107 uint32_t size = ns3::NodeList::GetNNodes(); 108 thisNode = ns3::NodeList::GetNode(ns3::Simulator::GetContext()); 109 ns3::Ptr myApp = thisNode->GetApplication(0)->GetObject (); 110 NS_ASSERT (myApp != 0); 111 std::string nodeName = myApp->GetNodeName(); 112 _LOG_DEBUG("@ THIS node is: " << nodeName); 113 netDevice_0 = dynamic_cast(&(*(thisNode->GetDevice(0)))); 114 netDevice_1 = dynamic_cast(&(*(thisNode->GetDevice(1)))); 115 _LOG_DEBUG("@ THIS node (" << thisNode->GetId() << ")" << " # of devices: (" << thisNode->GetNDevices() << ")"); 116 _LOG_DEBUG("@ THIS node (" << thisNode->GetId() << ")" << " device ID: (" << netDevice_0 << ")"); 117 _LOG_DEBUG("@ THIS node (" << thisNode->GetId() << ")" << " device ID: (" << netDevice_1 << ")"); 118 119 ndn1 = thisNode->GetObject(); 120 NS_ASSERT(ndn1 != nullptr); 121 _LOG_DEBUG("@ THIS node (" << thisNode->GetId() << ")" << " face ID: (" << ndn1->getFaceByNetDevice(netDevice_0)->getId() << ")"); 122 _LOG_DEBUG("@ THIS node (" << thisNode->GetId() << ")" << " face ID: (" << ndn1->getFaceByNetDevice(netDevice_1)->getId() << ")"); 123 124 return 0; 125 } -------------- next part -------------- Node & Link creation: ===================== 26 ndn.MyConfReader:CreateNode(0x7ffc459ca370, Node0, 25, -75) 27 0s ndn.MyConfReader:CreateNode(0x7ffc459ca370, Node1, 25, -75) 28 0s ndn.MyConfReader:CreateNode(0x7ffc459ca370, Node2, 25, -75) 29 0s ndn.MyConfReader:BuildTopology(): New link Node0 <==> Node1 / 10 with 1 metric (10, 20) 30 0s ndn.MyConfReader:BuildTopology(): New link Node0 <==> Node2 / 10 with 1 metric (10, 20) 31 0s ndn.MyConfReader:BuildTopology(): New link Node1 <==> Node2 / 10 with 1 metric (10, 20) 32 0s ndn.MyConfReader:BuildTopology(): My topology created with 3 nodes and 3 links L3 Protocol details: ==================== 42 0s ndn.L3Protocol:L3Protocol(0x2295760) 43 0s ndn.StackHelper:PointToPointNetDeviceCallback(): Creating point-to-point NetDeviceFace on node 0 44 0s ndn.NetDeviceFace:NetDeviceFace(0x22a49d8, 0x2296f90) 45 0s ndn.L3Protocol:addFace(0x2295760, 0x22a49d8) 46 0s ndn.StackHelper:PointToPointNetDeviceCallback(): Node 0: added NetDeviceFace as face #netDeviceFace:// 47 0s ndn.StackHelper:PointToPointNetDeviceCallback(): Creating point-to-point NetDeviceFace on node 0 48 0s ndn.NetDeviceFace:NetDeviceFace(0x22b8e78, 0x229d6c0) 49 0s ndn.L3Protocol:addFace(0x2295760, 0x22b8e78) 50 0s ndn.StackHelper:PointToPointNetDeviceCallback(): Node 0: added NetDeviceFace as face #netDeviceFace:// 51 0s ndn.L3Protocol:L3Protocol(0x22bcef0) 52 0s ndn.StackHelper:PointToPointNetDeviceCallback(): Creating point-to-point NetDeviceFace on node 1 53 0s ndn.NetDeviceFace:NetDeviceFace(0x22ca668, 0x2295ac0) 54 0s ndn.L3Protocol:addFace(0x22bcef0, 0x22ca668) 55 0s ndn.StackHelper:PointToPointNetDeviceCallback(): Node 1: added NetDeviceFace as face #netDeviceFace:// 56 0s ndn.StackHelper:PointToPointNetDeviceCallback(): Creating point-to-point NetDeviceFace on node 1 57 0s ndn.NetDeviceFace:NetDeviceFace(0x22d7078, 0x229f590) 58 0s ndn.L3Protocol:addFace(0x22bcef0, 0x22d7078) 59 0s ndn.StackHelper:PointToPointNetDeviceCallback(): Node 1: added NetDeviceFace as face #netDeviceFace:// 60 0s ndn.L3Protocol:L3Protocol(0x22de6e0) 61 0s ndn.StackHelper:PointToPointNetDeviceCallback(): Creating point-to-point NetDeviceFace on node 2 62 0s ndn.NetDeviceFace:NetDeviceFace(0x22e8028, 0x2295390) 63 0s ndn.L3Protocol:addFace(0x22de6e0, 0x22e8028) 64 0s ndn.StackHelper:PointToPointNetDeviceCallback(): Node 2: added NetDeviceFace as face #netDeviceFace:// 65 0s ndn.StackHelper:PointToPointNetDeviceCallback(): Creating point-to-point NetDeviceFace on node 2 66 0s ndn.NetDeviceFace:NetDeviceFace(0x22fbf08, 0x2290080) 67 0s ndn.L3Protocol:addFace(0x22de6e0, 0x22fbf08) Topology Details: ================= 11s FaceController:getFaceFromP2PLink(): @ THIS node is: Node0 11s FaceController:getFaceFromP2PLink(): @ THIS node (0) # of devices: (2) 11s FaceController:getFaceFromP2PLink(): @ THIS node (0) device ID: (0x243df90) 11s FaceController:getFaceFromP2PLink(): @ THIS node (0) device ID: (0x24446c0) 11s FaceController:getFaceFromP2PLink(): @ THIS node (0) face ID: (256) 11s FaceController:getFaceFromP2PLink(): @ THIS node (0) face ID: (257) 11s FaceController:getFaceFromP2PLink(): @ THIS node is: Node1 11s FaceController:getFaceFromP2PLink(): @ THIS node (1) # of devices: (2) 11s FaceController:getFaceFromP2PLink(): @ THIS node (1) device ID: (0x243cac0) 11s FaceController:getFaceFromP2PLink(): @ THIS node (1) device ID: (0x2446590) 11s FaceController:getFaceFromP2PLink(): @ THIS node (1) face ID: (256) 11s FaceController:getFaceFromP2PLink(): @ THIS node (1) face ID: (257) 11s FaceController:getFaceFromP2PLink(): @ THIS node is: Node2 11s FaceController:getFaceFromP2PLink(): @ THIS node (2) # of devices: (2) 11s FaceController:getFaceFromP2PLink(): @ THIS node (2) device ID: (0x243c390) 11s FaceController:getFaceFromP2PLink(): @ THIS node (2) device ID: (0x2437080) 11s FaceController:getFaceFromP2PLink(): @ THIS node (2) face ID: (256) 11s FaceController:getFaceFromP2PLink(): @ THIS node (2) face ID: (257) From don1559 at gmail.com Tue Jan 19 05:04:47 2016 From: don1559 at gmail.com (Ahmed Sadek) Date: Tue, 19 Jan 2016 14:04:47 +0100 Subject: [ndnSIM] Monitoring Node Buffer Filling Message-ID: Hi All, I am interested in monitoring the state of the node buffer , either input or output buffer and was wondering if anyone can point me to direction. I want to be able to monitor when I am receiving data, how much is the ingress buffer (video buffering) is filled and take decision based on this knowledge. ex. to adapt my interests requests based on the status of my buffer. I found this conversation since 2012, is it the same status for incoming data buffer, by buffer I mean video buffering that take place when you are receiving adaptive video streaming. http://www.lists.cs.ucla.edu/pipermail/ndnsim/2012-December/000004.html Thanks! Ahmed Sadek -------------- next part -------------- An HTML attachment was scrubbed... URL: From yye at research.ait.ie Tue Jan 19 13:09:57 2016 From: yye at research.ait.ie (Yuhang Ye) Date: Tue, 19 Jan 2016 21:09:57 +0000 Subject: [ndnSIM] Monitoring Node Buffer Filling Message-ID: Hi Ahmed, I think you are talking about 2 different things, the node's buffer is not the media player's buffer, the PointToPoint device does not have input queue, the output queue of the PointToPoint device can be accessed in the ndnSIM/model/ndn-net-device-face.cpp you can add a new a method to get the PointToPoint devices' Queue size. However, I think you may also need to create an virtual empty method with same name in the Face.hpp and Face.cpp. The multi-media buffer is created by you, you should know how to manage it, this is related to the video streaming adaptation logic. Daniel Posch kindly provides their source code to support the media streaming over NDN, you will get something from it. Link: 1. https://github.com/ChristianKreuzberger/amus-ndnSIM 2. https://github.com/danposch/itec-scenarios 3. https://github.com/danposch/itec-ndn Best Regards Yuhang -------------- next part -------------- An HTML attachment was scrubbed... URL: From vbala038 at uottawa.ca Tue Jan 19 15:32:05 2016 From: vbala038 at uottawa.ca (Venkatraman B) Date: Tue, 19 Jan 2016 18:32:05 -0500 Subject: [ndnSIM] OpenFlow Message-ID: Hi, Has anyone worked with OpenFlow. I just started working with the same, i wanted to know how to how to build the switch.c file. Kindly help Sincerely, Venkat -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Wed Jan 20 09:43:40 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Wed, 20 Jan 2016 09:43:40 -0800 Subject: [ndnSIM] OpenFlow In-Reply-To: References: Message-ID: <1D5790AF-8EE9-4D56-AE19-584AC24FF196@cs.ucla.edu> Hi Venkat, personally, I have not tried to combine OpenFlow and NDN in ndnSIM. There are some papers that have tried similar approaches though. You could look them up online and contact the authors for more details. Hope that this helps. Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Jan 19, 2016, at 3:32 PM, Venkatraman B wrote: > > Hi, > Has anyone worked with OpenFlow. I just started working with the same, i wanted to know how to how to build the switch.c file. > Kindly help > Sincerely, > Venkat -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Wed Jan 20 09:49:40 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Wed, 20 Jan 2016 09:49:40 -0800 Subject: [ndnSIM] Producer producing fix amount of content? In-Reply-To: References: Message-ID: <6C89682F-2E9B-43C7-AEF1-5A8D3B9550D5@cs.ucla.edu> Hi, one way to do that is to carefully set the number (and rate) of Interests sent by the consumer application. Another way is to modify the producer application a little bit to keep track of the size of sent data. In this way, when you reach your limit, the producer application would stop to respond to Interest packets. However, the problem with this way is that the consumer application may continue to send out Interest packets. A combination of both ways might be the best solution to your problem. Hope that this helps. Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Jan 17, 2016, at 2:55 AM, Muhammad Faran wrote: > > Hi All! > > Is there a way making producer producing fix amount of content in terms of both number of content packets and size of content? > > > Kind regards, > > Muhammad Faran Majeed, > AIT, Thailand > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.faran.majeed at gmail.com Thu Jan 21 08:08:36 2016 From: m.faran.majeed at gmail.com (Muhammad Faran) Date: Thu, 21 Jan 2016 23:08:36 +0700 Subject: [ndnSIM] How to set content packet size? Message-ID: Dear All, I've tried to set packet size "PayloadSize" for content packet in ndn-producer.cpp as the default is 1024 bytes. I tried to get hint from ndnSIM-list archive, as in following link, but was unable to set a size for 1MB of payload. http://www.lists.cs.ucla.edu/pipermail/ndnsim/2013-November/000961.html Ca anyone guide me, please? :) Kind regards, Muhammad Faran Majeed, AIT, Thailand -------------- next part -------------- An HTML attachment was scrubbed... URL: From iliamo at CS.UCLA.EDU Thu Jan 21 08:11:42 2016 From: iliamo at CS.UCLA.EDU (Ilya Moiseenko) Date: Thu, 21 Jan 2016 11:11:42 -0500 Subject: [ndnSIM] How to set content packet size? In-Reply-To: References: Message-ID: <7E6B75F5-2841-4FEC-92FB-87D72875B3AE@cs.ucla.edu> 8800 bytes is the max value Ilya > On Jan 21, 2016, at 11:08 AM, Muhammad Faran wrote: > > Dear All, > > I've tried to set packet size "PayloadSize" for content packet in ndn-producer.cpp as the default is 1024 bytes. I tried to get hint from ndnSIM-list archive, as in following link, but was unable to set a size for 1MB of payload. > > http://www.lists.cs.ucla.edu/pipermail/ndnsim/2013-November/000961.html > > Ca anyone guide me, please? :) > > > Kind regards, > > Muhammad Faran Majeed, > AIT, Thailand > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.faran.majeed at gmail.com Thu Jan 21 08:29:51 2016 From: m.faran.majeed at gmail.com (Muhammad Faran) Date: Thu, 21 Jan 2016 23:29:51 +0700 Subject: [ndnSIM] How to set content packet size? In-Reply-To: <7E6B75F5-2841-4FEC-92FB-87D72875B3AE@cs.ucla.edu> References: <7E6B75F5-2841-4FEC-92FB-87D72875B3AE@cs.ucla.edu> Message-ID: Dear Ilya, Thank you for prompt reply. Isn't there anyway I can increase it to 1MB? Kind regards, Muhammad Faran Majeed, AIT, Thailand On Thu, Jan 21, 2016 at 11:11 PM, Ilya Moiseenko wrote: > 8800 bytes is the max value > > Ilya > > On Jan 21, 2016, at 11:08 AM, Muhammad Faran > wrote: > > Dear All, > > I've tried to set packet size "PayloadSize" for content packet in > ndn-producer.cpp as the default is 1024 bytes. I tried to get hint from > ndnSIM-list archive, as in following link, but was unable to set a size for > 1MB of payload. > > http://www.lists.cs.ucla.edu/pipermail/ndnsim/2013-November/000961.html > > Ca anyone guide me, please? :) > > > Kind regards, > > Muhammad Faran Majeed, > AIT, Thailand > _______________________________________________ > 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 yye at research.ait.ie Thu Jan 21 08:33:48 2016 From: yye at research.ait.ie (Yuhang Ye) Date: Thu, 21 Jan 2016 16:33:48 +0000 Subject: [ndnSIM] How to set content packet size? Message-ID: Hi Muhammad, The current version of ndnSIM\NFD are running on the PointToPoint device, the default MTU is 1500 (Ethernet), you can use method "SetMtu()" to change it. However, it is impractical to have 1MB "packets" transmission in real world. So you need to segment the chunks into MTU size packets before transmission. Best Regards Yuhang -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Thu Jan 21 09:23:09 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Thu, 21 Jan 2016 09:23:09 -0800 Subject: [ndnSIM] How to set content packet size? In-Reply-To: References: Message-ID: <855CD8CA-6716-4FEA-87E3-C0C45E7A4C04@cs.ucla.edu> Folks, just to add something to Yuhang?s response: You will have to change the value of the following constant variable as well. This variable determines the maximum NDN packet size: https://github.com/named-data-ndnSIM/ndn-cxx/blob/ndn-cxx-0.3.4-ndnSIM/src/encoding/tlv.hpp#L39 As Yuhang pointed out, though, sending out data packets of size 1MB is not very practical. Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Jan 21, 2016, at 8:33 AM, Yuhang Ye wrote: > > Hi Muhammad, > > The current version of ndnSIM\NFD are running on the PointToPoint device, the default MTU is 1500 (Ethernet), you can use method "SetMtu()" to change it. However, it is impractical to have 1MB "packets" transmission in real world. So you need to segment the chunks into MTU size packets before transmission. > > Best Regards > Yuhang > -------------- next part -------------- An HTML attachment was scrubbed... URL: From anilj.mailing at gmail.com Thu Jan 21 22:49:48 2016 From: anilj.mailing at gmail.com (Anil Jangam) Date: Thu, 21 Jan 2016 22:49:48 -0800 Subject: [ndnSIM] How to print FIB table? Message-ID: Hi, Is it possible to print the content of FIB table at run time to check what prefixes are configured and on which faces? What command is to be used towards NFD to display this information? /anil. -------------- next part -------------- An HTML attachment was scrubbed... URL: From aa at CS.UCLA.EDU Thu Jan 21 23:10:50 2016 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Thu, 21 Jan 2016 23:10:50 -0800 Subject: [ndnSIM] How to print FIB table? In-Reply-To: References: Message-ID: In theory, you can send interests /localhost/nfd/fib/list and process the result (you can check how it is done in nfd-status implementation). More practically, in the simulation you can simply enumerate FIB entries. There is a commented out example in `examples/ndn-grid.py` how to do it in python. In C++ it is essentially the same thing, you just need to change to C++ constructs (check mailing list history, I think I showed an example before). -- Alex > On Jan 21, 2016, at 10:49 PM, Anil Jangam wrote: > > Hi, > > Is it possible to print the content of FIB table at run time to check what prefixes are configured and on which faces? > > What command is to be used towards NFD to display this information? > > /anil. > > _______________________________________________ > 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 m.faran.majeed at gmail.com Thu Jan 21 23:11:28 2016 From: m.faran.majeed at gmail.com (Muhammad Faran) Date: Fri, 22 Jan 2016 14:11:28 +0700 Subject: [ndnSIM] How to set content packet size? In-Reply-To: <855CD8CA-6716-4FEA-87E3-C0C45E7A4C04@cs.ucla.edu> References: <855CD8CA-6716-4FEA-87E3-C0C45E7A4C04@cs.ucla.edu> Message-ID: Thank you Yuhang and Spyros for your kind reply. :) Kind regards, Muhammad Faran Majeed, AIT, Thailand On Fri, Jan 22, 2016 at 12:23 AM, Spyridon (Spyros) Mastorakis < mastorakis at cs.ucla.edu> wrote: > Folks, > > just to add something to Yuhang?s response: > > You will have to change the value of the following constant variable as > well. This variable determines the maximum NDN packet size: > > > https://github.com/named-data-ndnSIM/ndn-cxx/blob/ndn-cxx-0.3.4-ndnSIM/src/encoding/tlv.hpp#L39 > > As Yuhang pointed out, though, sending out data packets of size 1MB is not > very practical. > > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ > Internet Research Laboratory > Computer Science Department > UCLA > > > On Jan 21, 2016, at 8:33 AM, Yuhang Ye wrote: > > Hi Muhammad, > > The current version of ndnSIM\NFD are running on the PointToPoint device, > the default MTU is 1500 (Ethernet), you can use method "SetMtu()" to change > it. However, it is impractical to have 1MB "packets" transmission in real > world. So you need to segment the chunks into MTU size packets before > transmission. > > Best Regards > Yuhang > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.faran.majeed at gmail.com Fri Jan 22 20:34:27 2016 From: m.faran.majeed at gmail.com (Muhammad Faran) Date: Sat, 23 Jan 2016 11:34:27 +0700 Subject: [ndnSIM] How to set content packet size? In-Reply-To: References: <855CD8CA-6716-4FEA-87E3-C0C45E7A4C04@cs.ucla.edu> Message-ID: One more thing, while setting up the CS cache size, what will be CS size in packets for 43 MB of CS cache size? Kind regards, Muhammad Faran Majeed, AIT, Thailand On Fri, Jan 22, 2016 at 2:11 PM, Muhammad Faran wrote: > Thank you Yuhang and Spyros for your kind reply. :) > > Kind regards, > > Muhammad Faran Majeed, > AIT, Thailand > > On Fri, Jan 22, 2016 at 12:23 AM, Spyridon (Spyros) Mastorakis < > mastorakis at cs.ucla.edu> wrote: > >> Folks, >> >> just to add something to Yuhang?s response: >> >> You will have to change the value of the following constant variable as >> well. This variable determines the maximum NDN packet size: >> >> >> https://github.com/named-data-ndnSIM/ndn-cxx/blob/ndn-cxx-0.3.4-ndnSIM/src/encoding/tlv.hpp#L39 >> >> As Yuhang pointed out, though, sending out data packets of size 1MB is >> not very practical. >> >> Spyridon (Spyros) Mastorakis >> Personal Website: http://cs.ucla.edu/~mastorakis/ >> Internet Research Laboratory >> Computer Science Department >> UCLA >> >> >> On Jan 21, 2016, at 8:33 AM, Yuhang Ye wrote: >> >> Hi Muhammad, >> >> The current version of ndnSIM\NFD are running on the PointToPoint device, >> the default MTU is 1500 (Ethernet), you can use method "SetMtu()" to change >> it. However, it is impractical to have 1MB "packets" transmission in real >> world. So you need to segment the chunks into MTU size packets before >> transmission. >> >> Best Regards >> Yuhang >> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.faran.majeed at gmail.com Fri Jan 22 21:00:19 2016 From: m.faran.majeed at gmail.com (Muhammad Faran) Date: Sat, 23 Jan 2016 12:00:19 +0700 Subject: [ndnSIM] How to set content packet size? In-Reply-To: References: <855CD8CA-6716-4FEA-87E3-C0C45E7A4C04@cs.ucla.edu> Message-ID: Also, Is there a way to change the replacement policy in new CS implementation? Kind regards, Muhammad Faran Majeed, AIT, Thailand On Sat, Jan 23, 2016 at 11:34 AM, Muhammad Faran wrote: > One more thing, > > while setting up the CS cache size, what will be CS size in packets for 43 > MB of CS cache size? > > Kind regards, > > Muhammad Faran Majeed, > AIT, Thailand > > On Fri, Jan 22, 2016 at 2:11 PM, Muhammad Faran > wrote: > >> Thank you Yuhang and Spyros for your kind reply. :) >> >> Kind regards, >> >> Muhammad Faran Majeed, >> AIT, Thailand >> >> On Fri, Jan 22, 2016 at 12:23 AM, Spyridon (Spyros) Mastorakis < >> mastorakis at cs.ucla.edu> wrote: >> >>> Folks, >>> >>> just to add something to Yuhang?s response: >>> >>> You will have to change the value of the following constant variable as >>> well. This variable determines the maximum NDN packet size: >>> >>> >>> https://github.com/named-data-ndnSIM/ndn-cxx/blob/ndn-cxx-0.3.4-ndnSIM/src/encoding/tlv.hpp#L39 >>> >>> As Yuhang pointed out, though, sending out data packets of size 1MB is >>> not very practical. >>> >>> Spyridon (Spyros) Mastorakis >>> Personal Website: http://cs.ucla.edu/~mastorakis/ >>> Internet Research Laboratory >>> Computer Science Department >>> UCLA >>> >>> >>> On Jan 21, 2016, at 8:33 AM, Yuhang Ye wrote: >>> >>> Hi Muhammad, >>> >>> The current version of ndnSIM\NFD are running on the PointToPoint >>> device, the default MTU is 1500 (Ethernet), you can use method "SetMtu()" >>> to change it. However, it is impractical to have 1MB "packets" transmission >>> in real world. So you need to segment the chunks into MTU size packets >>> before transmission. >>> >>> Best Regards >>> Yuhang >>> >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From yye at research.ait.ie Sat Jan 23 02:05:54 2016 From: yye at research.ait.ie (Yuhang Ye) Date: Sat, 23 Jan 2016 10:05:54 +0000 Subject: [ndnSIM] How to set content packet size? In-Reply-To: References: <855CD8CA-6716-4FEA-87E3-C0C45E7A4C04@cs.ucla.edu> Message-ID: 43 On 23 January 2016 at 04:34, Muhammad Faran wrote: > One more thing, > > while setting up the CS cache size, what will be CS size in packets for 43 > MB of CS cache size? > > Kind regards, > > Muhammad Faran Majeed, > AIT, Thailand > > On Fri, Jan 22, 2016 at 2:11 PM, Muhammad Faran > wrote: > >> Thank you Yuhang and Spyros for your kind reply. :) >> >> Kind regards, >> >> Muhammad Faran Majeed, >> AIT, Thailand >> >> On Fri, Jan 22, 2016 at 12:23 AM, Spyridon (Spyros) Mastorakis < >> mastorakis at cs.ucla.edu> wrote: >> >>> Folks, >>> >>> just to add something to Yuhang?s response: >>> >>> You will have to change the value of the following constant variable as >>> well. This variable determines the maximum NDN packet size: >>> >>> >>> https://github.com/named-data-ndnSIM/ndn-cxx/blob/ndn-cxx-0.3.4-ndnSIM/src/encoding/tlv.hpp#L39 >>> >>> As Yuhang pointed out, though, sending out data packets of size 1MB is >>> not very practical. >>> >>> Spyridon (Spyros) Mastorakis >>> Personal Website: http://cs.ucla.edu/~mastorakis/ >>> Internet Research Laboratory >>> Computer Science Department >>> UCLA >>> >>> >>> On Jan 21, 2016, at 8:33 AM, Yuhang Ye wrote: >>> >>> Hi Muhammad, >>> >>> The current version of ndnSIM\NFD are running on the PointToPoint >>> device, the default MTU is 1500 (Ethernet), you can use method "SetMtu()" >>> to change it. However, it is impractical to have 1MB "packets" transmission >>> in real world. So you need to segment the chunks into MTU size packets >>> before transmission. >>> >>> Best Regards >>> Yuhang >>> >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.faran.majeed at gmail.com Sat Jan 23 07:06:33 2016 From: m.faran.majeed at gmail.com (Muhammad Faran) Date: Sat, 23 Jan 2016 22:06:33 +0700 Subject: [ndnSIM] Starting one consumer after another. Message-ID: Dear All! I want to implement the logic of starting consumer-2 once consumer-1 finishes asking for chunks: consumer1 = ask from 1 - 2000 when consumer1 finished consumer2 = ask from 2000 - 4000 Can anyone help me in this regard? Kind regards, Muhammad Faran Majeed, AIT, Thailand -------------- next part -------------- An HTML attachment was scrubbed... URL: From prasetyoadiwibowo92 at gmail.com Sun Jan 24 01:39:51 2016 From: prasetyoadiwibowo92 at gmail.com (Prasetyo Adi Wibowo) Date: Sun, 24 Jan 2016 16:39:51 +0700 Subject: [ndnSIM] How to make NDN node choose another path that aren't affect by the hijacker Message-ID: Hi, It's my first time using NDNsim and I tried to create a hijacker scenario. Everytime I run the program, packet interest that's been sent always pass through the nodes that affected by hijack(R3-H), although in the topology that I made there are other path that aren't affected by hijack(R2). Could you tell me how to make the packet interest choose another path that aren't affect by the hijacker(change to R2 when first attempt was hijacked by R3-H)? Is it possible to do that? This is my topology # /----\ # +=>| R2 |<=+ # / \----/ \ # / \ # / \ # /---\ /----\<=+ +=>/----\ /---\ # | C |<------->| R1 | | R4 |<------->| P | # \---/ \----/<=+ +=>\----/ \---/ # \ / # \ / # \ /----\ / # +=>| R3 |<=+ # \----/ #-------y code : ------# AnnotatedTopologyReader topologyReader("", 100); topologyReader.SetFileName("src/ndnSIM/examples/topologies/topo-custom-hijack.txt"); topologyReader.Read(); // Install NDN stack on all nodes ndn::StackHelper ndnHelper; ndnHelper.SetDefaultRoutes (false); // Getting containers for the consumer/producer Ptr producer = Names::Find("P"); Ptr h1 = Names::Find("R3"); Ptr consumer=Names::Find("C"); ndnHelper.InstallAll(); // Installing global routing interface on all nodes ndn::GlobalRoutingHelper ndnGlobalRoutingHelper; ndnGlobalRoutingHelper.InstallAll(); // Install NDN applications std::string prefix = "/prefix/sub"; ndn::StrategyChoiceHelper::InstallAll("/prefix/sub", "ndn:/localhost/nfd/strategy/best-route"); ndn::AppHelper consumerHelper("ns3::ndn::ConsumerCbr"); consumerHelper.SetPrefix(prefix); consumerHelper.SetAttribute("Frequency", StringValue("1")); // 100 interests a second consumerHelper.Install(consumer); ndn::AppHelper producerHelper("ns3::ndn::Producer"); producerHelper.SetPrefix(prefix); producerHelper.Install(producer); ndn::AppHelper Hijackers("Hijacker"); Hijackers.Install(h1); // Add /prefix origins to ndn::GlobalRouter ndnGlobalRoutingHelper.AddOrigins(prefix, producer); // Calculate and install FIBs ndn::GlobalRoutingHelper::CalculateRoutes(); Simulator::Stop(Seconds(30.0)); Simulator::Run(); Simulator::Destroy(); Thank you Kind Regards, Prasetyo -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: code.rar Type: application/rar Size: 7623 bytes Desc: not available URL: From aa at CS.UCLA.EDU Sun Jan 24 11:30:27 2016 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Sun, 24 Jan 2016 11:30:27 -0800 Subject: [ndnSIM] How to make NDN node choose another path that aren't affect by the hijacker In-Reply-To: References: Message-ID: <8D050F29-B63E-47C6-A93D-1380CDB539D9@cs.ucla.edu> Hi Prasetyo, The behavior you're seeing is because of the simple strategy (BestRoute) you're using. This strategy has no intelligence driven by the data plane performance and only uses input from the routing plane (e.g., manual route configuration). If you select NCC strategy, for example, you should be able to see different behavior: ... ndn::StrategyChoiceHelper::InstallAll("/prefix/sub", "ndn:/localhost/nfd/strategy/ncc"); ... --- Alex > On Jan 24, 2016, at 1:39 AM, Prasetyo Adi Wibowo wrote: > > Hi, > > It's my first time using NDNsim and I tried to create a hijacker scenario. Everytime I run the program, packet interest that's been sent always pass through the nodes that affected by hijack(R3-H), although in the topology that I made there are other path that aren't affected by hijack(R2). Could you tell me how to make the packet interest choose another path that aren't affect by the hijacker(change to R2 when first attempt was hijacked by R3-H)? Is it possible to do that? > > This is my topology > # /----\ > # +=>| R2 |<=+ > # / \----/ \ > # / \ > # / \ > # /---\ /----\<=+ +=>/----\ /---\ > # | C |<------->| R1 | | R4 |<------->| P | > # \---/ \----/<=+ +=>\----/ \---/ > # \ / > # \ / > # \ /----\ / > # +=>| R3 |<=+ > # \----/ > > #-------y code : ------# > AnnotatedTopologyReader topologyReader("", 100); > topologyReader.SetFileName("src/ndnSIM/examples/topologies/topo-custom-hijack.txt"); > topologyReader.Read(); > > // Install NDN stack on all nodes > ndn::StackHelper ndnHelper; > ndnHelper.SetDefaultRoutes (false); > > // Getting containers for the consumer/producer > Ptr producer = Names::Find("P"); > Ptr h1 = Names::Find("R3"); > Ptr consumer=Names::Find("C"); > > ndnHelper.InstallAll(); > > // Installing global routing interface on all nodes > ndn::GlobalRoutingHelper ndnGlobalRoutingHelper; > ndnGlobalRoutingHelper.InstallAll(); > > // Install NDN applications > std::string prefix = "/prefix/sub"; > > ndn::StrategyChoiceHelper::InstallAll("/prefix/sub", "ndn:/localhost/nfd/strategy/best-route"); > > ndn::AppHelper consumerHelper("ns3::ndn::ConsumerCbr"); > consumerHelper.SetPrefix(prefix); > consumerHelper.SetAttribute("Frequency", StringValue("1")); // 100 interests a second > consumerHelper.Install(consumer); > > ndn::AppHelper producerHelper("ns3::ndn::Producer"); > producerHelper.SetPrefix(prefix); > producerHelper.Install(producer); > > ndn::AppHelper Hijackers("Hijacker"); > Hijackers.Install(h1); > > // Add /prefix origins to ndn::GlobalRouter > ndnGlobalRoutingHelper.AddOrigins(prefix, producer); > > // Calculate and install FIBs > ndn::GlobalRoutingHelper::CalculateRoutes(); > > Simulator::Stop(Seconds(30.0)); > Simulator::Run(); > Simulator::Destroy(); > > > Thank you > > Kind Regards, > > Prasetyo > _______________________________________________ > 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 dhiabimen at gmail.com Mon Jan 25 01:52:45 2016 From: dhiabimen at gmail.com (Dhiab Imen) Date: Mon, 25 Jan 2016 10:52:45 +0100 Subject: [ndnSIM] Exponential Random Traffic using consumer Batches Message-ID: Hi , There is any one who can tell me how can I generate an on/off exponential random traffic using consumer Batches?? Thnx a lot in advance. -- Cordialement Imen Dhiab *************************************************************************************************** Ing?nieur Informatique dipl?m? de l'Ecole Nationale d'Ing?nieurs de Sfax. Membre de l'unit? de recherche SAGE (Syst?mes Avanc?s en G?nie Electrique), Ecole Nationale d'Ing?nieurs de Sousse. +216 53 59 19 88 Pages personnelles : http://www.sage-eniso.org/profile-membre/fr/T/85/dhiab-imene.html *************************************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From yye at research.ait.ie Mon Jan 25 06:22:45 2016 From: yye at research.ait.ie (Yuhang Ye) Date: Mon, 25 Jan 2016 14:22:45 +0000 Subject: [ndnSIM] Exponential Random Traffic using consumer Batches Message-ID: Hi Imen Dhiab, I just wonder if you are talking about the Bernoulli distribution, if so, as I know, you can: 1. Generate a sequence samples Q : Q(i) ~ Bernoulli distribution. 2. Send the sequence Q and the corresponding time index (fixed interval) using the batch consumer. Best Regards Yuhang -------------- next part -------------- An HTML attachment was scrubbed... URL: From vbala038 at uottawa.ca Mon Jan 25 13:50:12 2016 From: vbala038 at uottawa.ca (Venkatraman B) Date: Mon, 25 Jan 2016 16:50:12 -0500 Subject: [ndnSIM] Query Message-ID: Is there any possibility of simulating V-LANs with ndn sim Sincerely, Venkat -------------- next part -------------- An HTML attachment was scrubbed... URL: From aa at CS.UCLA.EDU Mon Jan 25 14:21:33 2016 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Mon, 25 Jan 2016 14:21:33 -0800 Subject: [ndnSIM] Query In-Reply-To: References: Message-ID: <911D6D71-9F8E-4F45-BE0E-8EE35644B351@cs.ucla.edu> Hi Venkat, You should check your question with NS-3 documentation. Any channel simulation that NS-3 supports can be investigated with ndnSIM. --- Alex > On Jan 25, 2016, at 1:50 PM, Venkatraman B wrote: > > Is there any possibility of simulating V-LANs with ndn sim > Sincerely, > Venkat > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 841 bytes Desc: Message signed with OpenPGP using GPGMail URL: From mastorakis at CS.UCLA.EDU Mon Jan 25 14:23:12 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Mon, 25 Jan 2016 14:23:12 -0800 Subject: [ndnSIM] Query In-Reply-To: References: Message-ID: <69A3F55A-A062-465F-9242-86DC961CE91C@cs.ucla.edu> Hi Venkat, vlan tagging is supported by NS3: https://www.nsnam.org/docs/release/3.24/doxygen/namespacens3.html#a484a51f28861c3bf08c3755eca402c4ba5bf7e6a6a78290ce6c23b470e6c92b3b To that end, you should be able to enable VLAN tagging in your simulations as well. Hope that this helps. Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Jan 25, 2016, at 1:50 PM, Venkatraman B wrote: > > Is there any possibility of simulating V-LANs with ndn sim > Sincerely, > Venkat > _______________________________________________ > 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 vbala038 at uottawa.ca Mon Jan 25 14:52:33 2016 From: vbala038 at uottawa.ca (Venkatraman B) Date: Mon, 25 Jan 2016 17:52:33 -0500 Subject: [ndnSIM] Query In-Reply-To: <69A3F55A-A062-465F-9242-86DC961CE91C@cs.ucla.edu> References: <69A3F55A-A062-465F-9242-86DC961CE91C@cs.ucla.edu> Message-ID: thanks man Sincerely, Venkat On Mon, Jan 25, 2016 at 5:23 PM, Spyridon (Spyros) Mastorakis < mastorakis at cs.ucla.edu> wrote: > Hi Venkat, > > vlan tagging is supported by NS3: > > > https://www.nsnam.org/docs/release/3.24/doxygen/namespacens3.html#a484a51f28861c3bf08c3755eca402c4ba5bf7e6a6a78290ce6c23b470e6c92b3b > > To that end, you should be able to enable VLAN tagging in your simulations > as well. > > Hope that this helps. > > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ > Internet Research Laboratory > Computer Science Department > UCLA > > > > > On Jan 25, 2016, at 1:50 PM, Venkatraman B wrote: > > Is there any possibility of simulating V-LANs with ndn sim > Sincerely, > Venkat > _______________________________________________ > 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 srk130230 at utdallas.edu Tue Jan 26 10:24:03 2016 From: srk130230 at utdallas.edu (Komajwar, Sharvari) Date: Tue, 26 Jan 2016 18:24:03 +0000 Subject: [ndnSIM] consumer window Message-ID: Hello, I am trying to use consumer window application of ndnsim. But when I run this application I am not getting any result(application does not send any interest packet). Can you please guide me to use this application. Thanks & Regards, Sharvari -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Tue Jan 26 12:33:58 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Tue, 26 Jan 2016 12:33:58 -0800 Subject: [ndnSIM] consumer window In-Reply-To: References: Message-ID: <430DC1B0-8499-4504-B27A-3E9296B9FCD2@cs.ucla.edu> Hi Sharvari, please take a look at our documentation here: http://ndnsim.net/2.1/doxygen/classns3_1_1ndn_1_1ConsumerWindow.html Have you traced the execution of the simulation to make sure that the application does not send out any Interests? Or the Interests are being rejected by an NFD instance on the consumer or an intermediate node? Thanks, Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Jan 26, 2016, at 10:24 AM, Komajwar, Sharvari wrote: > > Hello, > > > I am trying to use consumer window application of ndnsim. But when I run this application I am not getting any result(application does not send any interest packet). Can you please guide me to use this application. > > Thanks & Regards, > Sharvari > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- An HTML attachment was scrubbed... URL: From dhiabimen at gmail.com Wed Jan 27 03:53:09 2016 From: dhiabimen at gmail.com (Dhiab Imen) Date: Wed, 27 Jan 2016 12:53:09 +0100 Subject: [ndnSIM] Transmission delay , throughput and number of received packet Message-ID: Hi , there is any one who can tell me how can I calculate transmission delay,throughput and the number of received packet using ndn. thnx in advance. -- Cordialement Imen Dhiab *************************************************************************************************** Ing?nieur Informatique dipl?m? de l'Ecole Nationale d'Ing?nieurs de Sfax. Membre de l'unit? de recherche SAGE (Syst?mes Avanc?s en G?nie Electrique), Ecole Nationale d'Ing?nieurs de Sousse. +216 53 59 19 88 Pages personnelles : http://www.sage-eniso.org/profile-membre/fr/T/85/dhiab-imene.html *************************************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From shijunxiao at email.arizona.EDU Wed Jan 27 11:53:03 2016 From: shijunxiao at email.arizona.EDU (Junxiao Shi) Date: Wed, 27 Jan 2016 12:53:03 -0700 Subject: [ndnSIM] NFD read out IP header fields In-Reply-To: <56A91D60.3090705@cs.arizona.edu> References: <56A91D60.3090705@cs.arizona.edu> Message-ID: Hi Klaus In NFD 0.4.0, IP header is unavailable to strategy. In order to properly implement this feature, you may look at: 1. In UnicastUdpTransport or TcpTransport, obtain ECN flags from the socket (which is managed by Boost.Asio). 2. In Transport::Packet struct, add a field to store the ECN flag, so it becomes available to the LinkService. 3. In LinkService, copy the above field into a packet Tag (look at ndn-cxx tag.hpp). 4. Then, forwarding and strategy can inspect ECN flag by reading the tag. In ndnSIM 2.1, all faces are directly over Ethernet, not over IP. So ECN flags aren't applicable to ndnSIM. #2371 will add IP overlay simulation to ndnSIM. After that, the procedure mentioned above can be applied to bring ECN flags into forwarding. Yours, Junxiao On Wed, Jan 27, 2016 at 12:41 PM, Klaus Schneider wrote: > Hi Junxiao, Alex, > > is there a way to read out IP header fields inside NFD? > > More specifically, I want to check the ECN flags inside the > afterReceiveInterest() and beforeSatisfyInterest() methods of the > forwarding strategy. > > I'm not asking for a feature extension, just some ideas for a quick and > dirty hack that I can do myself. > > It would be good if it also worked in ndnSIM. > > Best regards, > Klaus > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From srk130230 at utdallas.EDU Wed Jan 27 13:34:43 2016 From: srk130230 at utdallas.EDU (Komajwar, Sharvari) Date: Wed, 27 Jan 2016 21:34:43 +0000 Subject: [ndnSIM] consumer window In-Reply-To: <430DC1B0-8499-4504-B27A-3E9296B9FCD2@cs.ucla.edu> References: , <430DC1B0-8499-4504-B27A-3E9296B9FCD2@cs.ucla.edu> Message-ID: In ndn-consumer.cpp , value of m_seqMax is always 0. ________________________________ From: Spyridon (Spyros) Mastorakis Sent: Tuesday, January 26, 2016 2:33 PM To: Komajwar, Sharvari Cc: ndnsim at lists.cs.ucla.edu Subject: Re: [ndnSIM] consumer window Hi Sharvari, please take a look at our documentation here: http://ndnsim.net/2.1/doxygen/classns3_1_1ndn_1_1ConsumerWindow.html [http://ndnsim.net/2.1/_static/ndn-logo.png] ndnSIM: ns3::ndn::ConsumerWindow Class Reference ndnsim.net Ndn application for sending out Interest packets (window-based) !!! ATTENTION !!! This is highly experimental and relies on experimental features of the simulator. Have you traced the execution of the simulation to make sure that the application does not send out any Interests? Or the Interests are being rejected by an NFD instance on the consumer or an intermediate node? Thanks, Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA On Jan 26, 2016, at 10:24 AM, Komajwar, Sharvari > wrote: Hello, I am trying to use consumer window application of ndnsim. But when I run this application I am not getting any result(application does not send any interest packet). Can you please guide me to use this application. Thanks & Regards, Sharvari _______________________________________________ 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 ayush0071 at gmail.com Thu Jan 28 04:08:38 2016 From: ayush0071 at gmail.com (Ayush Agarwal) Date: Thu, 28 Jan 2016 17:38:38 +0530 Subject: [ndnSIM] consumer window In-Reply-To: References: <430DC1B0-8499-4504-B27A-3E9296B9FCD2@cs.ucla.edu> Message-ID: Hi Sharvari, The issue may be because the default value of the size parameter is set to -1. You have to either set the size parameter or the sequence no. parameter manually. Hope this will solve your issue. *Regards,* *Ayush Agarwal* *Research Scholar* *National Institute of Technology Surathkal (Karnataka, India)* On Thu, Jan 28, 2016 at 3:04 AM, Komajwar, Sharvari wrote: > In ndn-consumer.cpp , value of m_seqMax is always 0. > > > ------------------------------ > *From:* Spyridon (Spyros) Mastorakis > *Sent:* Tuesday, January 26, 2016 2:33 PM > *To:* Komajwar, Sharvari > *Cc:* ndnsim at lists.cs.ucla.edu > *Subject:* Re: [ndnSIM] consumer window > > Hi Sharvari, > > please take a look at our documentation here: > > http://ndnsim.net/2.1/doxygen/classns3_1_1ndn_1_1ConsumerWindow.html > > ndnSIM: ns3::ndn::ConsumerWindow Class Reference > > ndnsim.net > Ndn application for sending out Interest packets (window-based) !!! > ATTENTION !!! This is highly experimental and relies on experimental > features of the simulator. > > Have you traced the execution of the simulation to make sure that the > application does not send out any Interests? Or the Interests are being > rejected by an NFD instance on the consumer or an intermediate node? > > Thanks, > > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ > Internet Research Laboratory > Computer Science Department > UCLA > > > > > On Jan 26, 2016, at 10:24 AM, Komajwar, Sharvari > wrote: > > Hello, > > > I am trying to use consumer window application of ndnsim. But when I run > this application I am not getting any result(application does not send any > interest packet). Can you please guide me to use this application. > > Thanks & Regards, > Sharvari > _______________________________________________ > 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 don1559 at gmail.com Thu Jan 28 08:00:35 2016 From: don1559 at gmail.com (Ahmed Sadek) Date: Thu, 28 Jan 2016 17:00:35 +0100 Subject: [ndnSIM] Regarding Forwarding Strategies Best Route and NCC Message-ID: Dear All, I am trying to understand better the two strategies of best route and NCC. My understanding is: BestRoute: This strategy relies on routing information and forwards Interests on the path with the lowest costs considering a specific metric. So I was wondering what routing metrics options we can consider for this strategy ? NCC: Interests are forwarded to the interface, that provides content with the lowest delay. So how is the delay is measured here on a low level for each interface? and is it measured for each prefix for each interface or only for each interface ? I really appreciate any explanation or if you point me to a link explaining it. Thanks ! Ahmed Sadek -------------- next part -------------- An HTML attachment was scrubbed... URL: From srk130230 at utdallas.EDU Thu Jan 28 09:25:03 2016 From: srk130230 at utdallas.EDU (Komajwar, Sharvari) Date: Thu, 28 Jan 2016 17:25:03 +0000 Subject: [ndnSIM] consumer window In-Reply-To: References: <430DC1B0-8499-4504-B27A-3E9296B9FCD2@cs.ucla.edu> , Message-ID: yes.That solved my problem. Thank You. ________________________________ From: Ayush Agarwal Sent: Thursday, January 28, 2016 6:08 AM To: Komajwar, Sharvari Cc: Spyridon (Spyros) Mastorakis; ndnsim at lists.cs.ucla.edu Subject: Re: [ndnSIM] consumer window Hi Sharvari, The issue may be because the default value of the size parameter is set to -1. You have to either set the size parameter or the sequence no. parameter manually. Hope this will solve your issue. Regards, Ayush Agarwal Research Scholar National Institute of Technology Surathkal (Karnataka, India) On Thu, Jan 28, 2016 at 3:04 AM, Komajwar, Sharvari > wrote: In ndn-consumer.cpp , value of m_seqMax is always 0. ________________________________ From: Spyridon (Spyros) Mastorakis > Sent: Tuesday, January 26, 2016 2:33 PM To: Komajwar, Sharvari Cc: ndnsim at lists.cs.ucla.edu Subject: Re: [ndnSIM] consumer window Hi Sharvari, please take a look at our documentation here: http://ndnsim.net/2.1/doxygen/classns3_1_1ndn_1_1ConsumerWindow.html [http://ndnsim.net/2.1/_static/ndn-logo.png] ndnSIM: ns3::ndn::ConsumerWindow Class Reference ndnsim.net Ndn application for sending out Interest packets (window-based) !!! ATTENTION !!! This is highly experimental and relies on experimental features of the simulator. Have you traced the execution of the simulation to make sure that the application does not send out any Interests? Or the Interests are being rejected by an NFD instance on the consumer or an intermediate node? Thanks, Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA On Jan 26, 2016, at 10:24 AM, Komajwar, Sharvari > wrote: Hello, I am trying to use consumer window application of ndnsim. But when I run this application I am not getting any result(application does not send any interest packet). Can you please guide me to use this application. Thanks & Regards, Sharvari _______________________________________________ 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 silvialins at ufpa.br Thu Jan 28 10:21:46 2016 From: silvialins at ufpa.br (Silvia Lins) Date: Thu, 28 Jan 2016 10:21:46 -0800 (PST) Subject: [ndnSIM] GlobalRoutingHelper documentation Message-ID: <56AA5C2D.3070707@ufpa.br> Hi, I found in http://ndnsim.net/2.0/doxygen/classns3_1_1ndn_1_1GlobalRoutingHelper.html#details some documentation related to the GlobalRoutingHelper function, and it mentions below a link where I can find more details about its implementation ("boost.org" below): " void ns3::ndn::GlobalRoutingHelper::CalculateAllPossibleRoutes ( ) static Calculate all possible next-hop independent alternative routes. Refer to the implementation for more details. Note that this method is highly experimental and should be used with caution (very time consuming). Implementation of route calculation is heavily based on Boost Graph Library See http://www.boost.org/doc/libs/1_49_0/libs/graph/doc/table_of_contents.html for more details Definition at line 283 of file ndn-global-routing-helper.cpp . References ns3::ndn::FibHelper::AddRoute() , and ns3::ndn::L3Protocol::getForwarder() . " My question is: is there any other/more specific documentation for such function or any other function in ndnSIM capable of simulating mutipath in ICN? Thanks in advance, Silvia -------------- next part -------------- An HTML attachment was scrubbed... URL: From ee07b296 at bupt.edu.cn Tue Jan 12 17:46:14 2016 From: ee07b296 at bupt.edu.cn (=?gb18030?B?taXLvNHz?=) Date: Wed, 13 Jan 2016 01:46:14 -0000 Subject: [ndnSIM] Compiling Problem with Python Bindings Message-ID: Dear ndnSIM scholars, Sorry to disturb you, but I have met with a problem when compiling ndnSIM. After running the code "./waf configure --enable-examples", I met a problem: Python Bindings : not enabled (PyBindGen version not correct and newer version could not be retrieved), which I can't solve or find answers on Internet. So if you know the answers, please tell me. Thank you sincerely! A student from China 2016.01.13 -------------- next part -------------- An HTML attachment was scrubbed... URL: From NourElHouda.BenYoussef at oxia-group.com Tue Jan 19 02:15:48 2016 From: NourElHouda.BenYoussef at oxia-group.com (Nour El Houda Ben Youssef) Date: Tue, 19 Jan 2016 10:15:48 +0000 Subject: [ndnSIM] Unreachable nodes while calculating routes Message-ID: <712FE4E7257849499414892DD92704BC73256759@INFRAEX02.oxia.corp> Dear all I built a simple topology using ns-3 PLC module on top of which ndnSim is deployed When I try to calculate Routes I get the following error: 0s -1 ndn.GlobalRoutingHelper:CalculateRoutes(): [DEBUG] Reachability from Node: 0 is unreachable 0s -1 ndn.GlobalRoutingHelper:CalculateRoutes(): [DEBUG] Reachability from Node: 1 is unreachable Can you please explain the reason behind this error Best regards Nour El Houda Ben Youssef Koubaa PhD student Mobidoc - OXIA/SAGE Master degree: new genereation of information systems - FST Software engineer - INSAT TUNISIA -------------- next part -------------- An HTML attachment was scrubbed... URL: From zouyuze4524 at qq.com Wed Jan 27 06:48:58 2016 From: zouyuze4524 at qq.com (=?ISO-8859-1?B?RnJhbmsgWm91?=) Date: Wed, 27 Jan 2016 22:48:58 +0800 Subject: [ndnSIM] [Tutorial inaccuracy] ndnSIM Tutorial - ndnSIM applications - ConsumerBatches Message-ID: Hello all, I followed tutorial http://ndnsim.net/2.1/applications.html Section ConsumerBatches and I think the explanation is not accurate. Should it be "requested at time 1s, 5 Interests at time 2s, and 2 Interests at time 10s" ? Sincerely, Yuze Zou School of Electronic Information and Communications, Huazhong University of Sicense and Technology -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/octet-stream Size: 20072 bytes Desc: not available URL: From aa at CS.UCLA.EDU Thu Jan 28 10:40:26 2016 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Thu, 28 Jan 2016 10:40:26 -0800 Subject: [ndnSIM] Compiling Problem with Python Bindings In-Reply-To: References: Message-ID: <369B5D0E-FEF8-4A6F-AEAC-5C38FC922172@cs.ucla.edu> Please check that you followed the installation instructions http://ndnsim.net/2.1/getting-started.html#downloading-ndnsim-source For ndnSIM python bindings to work, you have to use a slightly customized version of NS-3 and python bindings. If you got NS-3 or pybindgen from somewhere else, you should download again as described. -- Alex > On Jan 12, 2016, at 5:45 PM, ??? wrote: > > Dear ndnSIM scholars, > Sorry to disturb you, but I have met with a problem when compiling ndnSIM. After running the code "./waf configure --enable-examples", I met a problem: Python Bindings : not enabled (PyBindGen version not correct and newer version could not be retrieved), which I can't solve or find answers on Internet. So if you know the answers, please tell me. Thank you sincerely! > A student from China > 2016.01.13 -------------- 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 Thu Jan 28 10:58:24 2016 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Thu, 28 Jan 2016 10:58:24 -0800 Subject: [ndnSIM] [Tutorial inaccuracy] ndnSIM Tutorial - ndnSIM applications - ConsumerBatches In-Reply-To: References: Message-ID: <3DD83850-6294-4886-B5E4-15BB07B19A91@cs.ucla.edu> Thanks Yuze for catching this! There is also another inaccuracy in this statement, as batch of interests is not sent out exactly at specified time, rather the specified batch starts at specified time. As it is currently implemented (may not be ideal for all simulations), the interests are separated by the estimated retransmission time (~ RTO). -- Alex > On Jan 27, 2016, at 6:48 AM, Frank Zou wrote: > > Hello all, > > I followed tutorial http://ndnsim.net/2.1/applications.html Section ConsumerBatches and I think the explanation is not accurate. Should it be "requested at time 1s, 5 Interests at time 2s, and 2 Interests at time 10s" ? > > Sincerely, > Yuze Zou > School of Electronic Information and Communications, > Huazhong University of Sicense and Technology -------------- 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 M.AbdollahiSabet at mail.sbu.ac.ir Thu Jan 28 11:42:50 2016 From: M.AbdollahiSabet at mail.sbu.ac.ir (Muhammad Hosain Abdollahi Sabet) Date: Thu, 28 Jan 2016 23:12:50 +0330 Subject: [ndnSIM] Compiling Problem with Python Bindings References: <369B5D0E-FEF8-4A6F-AEAC-5C38FC922172@cs.ucla.edu> Message-ID: <4AC03A6244C3C34BB52A7EC60B799C4C03CC29EB@m-pdc.sbu.ac.ir> Alex, There seem to be some issue about pybindgen thing. I've faced this very issue on another workstation. And I did make sure that the packages were downloaded as described. Thanks, Sabet -----Original Message----- From: ndnSIM on behalf of Alex Afanasyev Sent: Thu 1/28/2016 10:10 PM To: ??? Cc: ndnsim Subject: Re: [ndnSIM] Compiling Problem with Python Bindings Please check that you followed the installation instructions http://ndnsim.net/2.1/getting-started.html#downloading-ndnsim-source For ndnSIM python bindings to work, you have to use a slightly customized version of NS-3 and python bindings. If you got NS-3 or pybindgen from somewhere else, you should download again as described. -- Alex > On Jan 12, 2016, at 5:45 PM, ??? wrote: > > Dear ndnSIM scholars, > Sorry to disturb you, but I have met with a problem when compiling ndnSIM. After running the code "./waf configure --enable-examples", I met a problem: Python Bindings : not enabled (PyBindGen version not correct and newer version could not be retrieved), which I can't solve or find answers on Internet. So if you know the answers, please tell me. Thank you sincerely! > A student from China > 2016.01.13 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Thu Jan 28 12:45:49 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Thu, 28 Jan 2016 12:45:49 -0800 Subject: [ndnSIM] GlobalRoutingHelper documentation In-Reply-To: <56AA5C2D.3070707@ufpa.br> References: <56AA5C2D.3070707@ufpa.br> Message-ID: <4B9640E9-5518-48C9-A38A-5BD91CD6670F@cs.ucla.edu> Hi Silvia, for the specific function, I am afraid that this is all we have as far as the documentation is concerned. However, I am not sure that I fully understand your question. Let me clarify some things first: calculateAllPossibleRoutes will generate routes from every simulated node to every other simulated node. These routes will be used for routing purposes. However, in NDN, the forwarding strategy is the module used to determine whether multiple paths will be selected for Interest forwarding. That being said, taking a look at the forwarding strategy module might be the right way to go in your case. Hope that my answer addresses your question. Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Jan 28, 2016, at 10:21 AM, Silvia Lins wrote: > > Hi, I found in http://ndnsim.net/2.0/doxygen/classns3_1_1ndn_1_1GlobalRoutingHelper.html#details > > some documentation related to the GlobalRoutingHelper function, and it mentions below a link where I can find more details about its implementation ("boost.org" below): > > " > void ns3::ndn::GlobalRoutingHelper::CalculateAllPossibleRoutes ( > ) > static > Calculate all possible next-hop independent alternative routes. > > Refer to the implementation for more details. > > Note that this method is highly experimental and should be used with caution (very time consuming). > > Implementation of route calculation is heavily based on Boost Graph Library See http://www.boost.org/doc/libs/1_49_0/libs/graph/doc/table_of_contents.html for more details > > Definition at line 283 of file ndn-global-routing-helper.cpp . > > References ns3::ndn::FibHelper::AddRoute() , and ns3::ndn::L3Protocol::getForwarder() . > > " > > My question is: is there any other/more specific documentation for such function or any other function in ndnSIM capable of simulating mutipath in ICN? > > Thanks in advance, > > Silvia > _______________________________________________ > 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 Thu Jan 28 12:47:09 2016 From: shijunxiao at email.arizona.EDU (Junxiao Shi) Date: Thu, 28 Jan 2016 13:47:09 -0700 Subject: [ndnSIM] Regarding Forwarding Strategies Best Route and NCC In-Reply-To: References: Message-ID: <2E3FB539-ACAF-4052-8FAA-7F8C959A43F5@email.arizona.edu> Hi Ahmed What routing metrics to use is an unsolved problem . NDN testbed is using round-trip time (in milliseconds) measured by IP ping as its routing metrics. See CcndStrategy for information on NCC strategy. Yours, Junxiao > On Jan 28, 2016, at 9:00 AM, Ahmed Sadek wrote: > > Dear All, > > I am trying to understand better the two strategies of best route and NCC. My understanding is: > > BestRoute: This strategy relies on routing information and forwards Interests on the path with the lowest costs considering a specific metric. > So I was wondering what routing metrics options we can consider for this strategy ? > > NCC: Interests are forwarded to the interface, that provides content with the lowest delay. > So how is the delay is measured here on a low level for each interface? and is it measured for each prefix for each interface or only for each interface ? > > I really appreciate any explanation or if you point me to a link explaining it. > > Thanks ! > > Ahmed Sadek > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Thu Jan 28 13:52:06 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Thu, 28 Jan 2016 13:52:06 -0800 Subject: [ndnSIM] Starting one consumer after another. In-Reply-To: References: Message-ID: <690B089E-EF74-4D9C-80B7-36BE7BCB1D57@cs.ucla.edu> Hi Muhammad, you can use the Start and Stop methods. Take a look here for an example: https://github.com/named-data-ndnSIM/ndnSIM/blob/master/examples/ndn-congestion-alt-topo-plugin.cpp#L102-L103 Hope that this helps. Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Jan 23, 2016, at 7:06 AM, Muhammad Faran wrote: > > Dear All! > > I want to implement the logic of starting consumer-2 once consumer-1 finishes asking for chunks: > > consumer1 = ask from 1 - 2000 > when consumer1 finished > consumer2 = ask from 2000 - 4000 > > Can anyone help me in this regard? > > Kind regards, > > Muhammad Faran Majeed, > AIT, Thailand -------------- next part -------------- An HTML attachment was scrubbed... URL: From ayush0071 at gmail.com Thu Jan 28 23:03:59 2016 From: ayush0071 at gmail.com (Ayush Agarwal) Date: Fri, 29 Jan 2016 12:33:59 +0530 Subject: [ndnSIM] Compiling Problem with Python Bindings In-Reply-To: <4AC03A6244C3C34BB52A7EC60B799C4C03CC29EB@m-pdc.sbu.ac.ir> References: <369B5D0E-FEF8-4A6F-AEAC-5C38FC922172@cs.ucla.edu> <4AC03A6244C3C34BB52A7EC60B799C4C03CC29EB@m-pdc.sbu.ac.ir> Message-ID: Hello, Yes the issue varies from system to system. I had also faced this problem earlier. To solve this problem manually, go to */ndnSIM/ns-3/bindings/python/wscript* and replace the pybindgen version at line 16 with the version present in your system. You can see the version present while configuring ns-3. * Python Bindings : not enabled (PyBindGen version not correct and newer version could not be retrieved) * Replace the version shown in the above line in the line stated below. *REQUIRED_PYBINDGEN_VERSION = '0.17.0.887'* Hope this solves your problem. *Thanks & Regards,* *Ayush Agarwal* *Research Scholar* *National Institute of Technology Surathkal (Karnataka, India)* On Fri, Jan 29, 2016 at 1:12 AM, Muhammad Hosain Abdollahi Sabet < M.AbdollahiSabet at mail.sbu.ac.ir> wrote: > Alex, > > There seem to be some issue about pybindgen thing. I've faced this very > issue on another workstation. And I did make sure that the packages were > downloaded as described. > > Thanks, > Sabet > > > -----Original Message----- > From: ndnSIM on behalf of Alex Afanasyev > Sent: Thu 1/28/2016 10:10 PM > To: ??? > Cc: ndnsim > Subject: Re: [ndnSIM] Compiling Problem with Python Bindings > > Please check that you followed the installation instructions > http://ndnsim.net/2.1/getting-started.html#downloading-ndnsim-source < > http://ndnsim.net/2.1/getting-started.html#downloading-ndnsim-source> > For ndnSIM python bindings to work, you have to use a slightly customized > version of NS-3 and python bindings. If you got NS-3 or pybindgen from > somewhere else, you should download again as described. > > -- > Alex > > > On Jan 12, 2016, at 5:45 PM, ??? wrote: > > > > Dear ndnSIM scholars, > > Sorry to disturb you, but I have met with a problem when compiling > ndnSIM. After running the code "./waf configure --enable-examples", I met a > problem: Python Bindings : not enabled (PyBindGen version not > correct and newer version could not be retrieved), which I can't solve or > find answers on Internet. So if you know the answers, please tell me. Thank > you sincerely! > > A student from China > > 2016.01.13 > > > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From don1559 at gmail.com Fri Jan 29 01:39:17 2016 From: don1559 at gmail.com (Ahmed Sadek) Date: Fri, 29 Jan 2016 10:39:17 +0100 Subject: [ndnSIM] Regarding Forwarding Strategies Best Route and NCC In-Reply-To: <2E3FB539-ACAF-4052-8FAA-7F8C959A43F5@email.arizona.edu> References: <2E3FB539-ACAF-4052-8FAA-7F8C959A43F5@email.arizona.edu> Message-ID: Hi Junxiao, Thank you for your reply. What routing metrics to use is an unsolved problem . NDN testbed is using round-trip time (in milliseconds) measured by IP ping as its routing metrics. *So hop count is not used as a metric ?* See CcndStrategy for information on NCC strategy. *I read it before sending the question and didn't understand it, how NCC is measuring delay on interfaces and selecting the lowest delay ? Is it sending IP ping messages broadcast flood on each interface each few seconds and ranking the interfaces based on this values ? and does it take prefix into account or only interfaces ?* Thanks! Ahmed On Thu, Jan 28, 2016 at 9:47 PM, Junxiao Shi wrote: > Hi Ahmed > > What routing metrics to use is an unsolved problem > . > NDN testbed is using round-trip time (in milliseconds) measured by IP ping > as its routing metrics. > > See CcndStrategy > for > information on NCC strategy. > > Yours, Junxiao > > On Jan 28, 2016, at 9:00 AM, Ahmed Sadek wrote: > > Dear All, > > I am trying to understand better the two strategies of best route and NCC. > My understanding is: > > BestRoute: This strategy relies on routing information and forwards > Interests on the path with the lowest costs considering a specific metric. > So I was wondering what routing metrics options we can consider for this > strategy ? > > NCC: Interests are forwarded to the interface, that provides content with > the lowest delay. > So how is the delay is measured here on a low level for each interface? > and is it measured for each prefix for each interface or only for each > interface ? > > I really appreciate any explanation or if you point me to a link > explaining it. > > Thanks ! > > Ahmed Sadek > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Fri Jan 29 09:11:17 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Fri, 29 Jan 2016 09:11:17 -0800 Subject: [ndnSIM] Regarding Forwarding Strategies Best Route and NCC In-Reply-To: References: <2E3FB539-ACAF-4052-8FAA-7F8C959A43F5@email.arizona.edu> Message-ID: <27CE63C8-6ECC-433A-9E64-1108CC3D145F@cs.ucla.edu> Hi Ahmed, it would be a good idea to take a look at the NFD developer?s guide as well. There is a section describing each strategy: http://named-data.net/wp-content/uploads/2015/10/ndn-0021-5-nfd-developer-guide.pdf Hope that this helps. Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Jan 29, 2016, at 1:39 AM, Ahmed Sadek wrote: > > Hi Junxiao, > > Thank you for your reply. > > What routing metrics to use is an unsolved problem . > NDN testbed is using round-trip time (in milliseconds) measured by IP ping as its routing metrics. > > So hop count is not used as a metric ? > > See CcndStrategy for information on NCC strategy. > > I read it before sending the question and didn't understand it, how NCC is measuring delay on interfaces and selecting the lowest delay ? Is it sending IP ping messages broadcast flood on each interface each few seconds and ranking the interfaces based on this values ? and does it take prefix into account or only interfaces ? > > Thanks! > Ahmed > > On Thu, Jan 28, 2016 at 9:47 PM, Junxiao Shi > wrote: > Hi Ahmed > > What routing metrics to use is an unsolved problem . > NDN testbed is using round-trip time (in milliseconds) measured by IP ping as its routing metrics. > > See CcndStrategy for information on NCC strategy. > > Yours, Junxiao > >> On Jan 28, 2016, at 9:00 AM, Ahmed Sadek > wrote: >> >> Dear All, >> >> I am trying to understand better the two strategies of best route and NCC. My understanding is: >> >> BestRoute: This strategy relies on routing information and forwards Interests on the path with the lowest costs considering a specific metric. >> So I was wondering what routing metrics options we can consider for this strategy ? >> >> NCC: Interests are forwarded to the interface, that provides content with the lowest delay. >> So how is the delay is measured here on a low level for each interface? and is it measured for each prefix for each interface or only for each interface ? >> >> I really appreciate any explanation or if you point me to a link explaining it. >> >> Thanks ! >> >> Ahmed Sadek >> _______________________________________________ >> ndnSIM mailing list >> ndnSIM at lists.cs.ucla.edu >> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- An HTML attachment was scrubbed... URL: From carlzu8 at gmail.com Fri Jan 29 11:34:09 2016 From: carlzu8 at gmail.com (Carl Zu) Date: Fri, 29 Jan 2016 20:34:09 +0100 Subject: [ndnSIM] how to write (serialize) something in interest/data Message-ID: Dear all, In ns-3, we could serialize something in packet header or tag. How we can do this in ndnSIM, i.e., writing something in interest messages/data objects ? I know that in ns-3 we were using ns3::Packet, while here we use a TLV NDN packet. Thanks in advance for your guidance. C -------------- next part -------------- An HTML attachment was scrubbed... URL: From don1559 at gmail.com Fri Jan 29 11:36:13 2016 From: don1559 at gmail.com (Ahmed Sadek) Date: Fri, 29 Jan 2016 20:36:13 +0100 Subject: [ndnSIM] Regarding Forwarding Strategies Best Route and NCC In-Reply-To: <27CE63C8-6ECC-433A-9E64-1108CC3D145F@cs.ucla.edu> References: <2E3FB539-ACAF-4052-8FAA-7F8C959A43F5@email.arizona.edu> <27CE63C8-6ECC-433A-9E64-1108CC3D145F@cs.ucla.edu> Message-ID: Hi Spyros, Thank you for your reply. Honestly, I have checked the developer guide before asking and this is what I found on NSS Strategy: 6.2.4 NCC Strategy The NCC strategy 8 is an reimplementation of CCNx 0.7.2 default strategy [16]. It has similar algorithm but is not guaranteed to be equivalent. This strategy is implemented as nfd::NccStrategy class. And the citation lead to the same website provided above , which I have check and didn't understand how it measures delay for each interface. Now I am checking the code here " https://github.com/0xbb/amus-ndnSIM/blob/master/NFD/daemon/fw/ncc-strategy.cpp " If anyone can give few words explaining this strategy, I would be thankful. Thanks! Ahmed On Fri, Jan 29, 2016 at 6:11 PM, Spyridon (Spyros) Mastorakis < mastorakis at cs.ucla.edu> wrote: > Hi Ahmed, > > it would be a good idea to take a look at the NFD developer?s guide as > well. There is a section describing each strategy: > > > http://named-data.net/wp-content/uploads/2015/10/ndn-0021-5-nfd-developer-guide.pdf > > Hope that this helps. > > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ > Internet Research Laboratory > Computer Science Department > UCLA > > > > > On Jan 29, 2016, at 1:39 AM, Ahmed Sadek wrote: > > Hi Junxiao, > > Thank you for your reply. > > What routing metrics to use is an unsolved problem > . > NDN testbed is using round-trip time (in milliseconds) measured by IP ping > as its routing metrics. > > *So hop count is not used as a metric ?* > > See CcndStrategy > for > information on NCC strategy. > > *I read it before sending the question and didn't understand it, how NCC > is measuring delay on interfaces and selecting the lowest delay ? Is it > sending IP ping messages broadcast flood on each interface each few seconds > and ranking the interfaces based on this values ? and does it take prefix > into account or only interfaces ?* > > Thanks! > Ahmed > > On Thu, Jan 28, 2016 at 9:47 PM, Junxiao Shi > wrote: > >> Hi Ahmed >> >> What routing metrics to use is an unsolved problem >> . >> NDN testbed is using round-trip time (in milliseconds) measured by IP >> ping as its routing metrics. >> >> See CcndStrategy >> for >> information on NCC strategy. >> >> Yours, Junxiao >> >> On Jan 28, 2016, at 9:00 AM, Ahmed Sadek wrote: >> >> Dear All, >> >> I am trying to understand better the two strategies of best route and >> NCC. My understanding is: >> >> BestRoute: This strategy relies on routing information and forwards >> Interests on the path with the lowest costs considering a specific metric. >> So I was wondering what routing metrics options we can consider for this >> strategy ? >> >> NCC: Interests are forwarded to the interface, that provides content with >> the lowest delay. >> So how is the delay is measured here on a low level for each interface? >> and is it measured for each prefix for each interface or only for each >> interface ? >> >> I really appreciate any explanation or if you point me to a link >> explaining it. >> >> Thanks ! >> >> Ahmed Sadek >> _______________________________________________ >> ndnSIM mailing list >> ndnSIM at lists.cs.ucla.edu >> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >> >> >> > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From asifcsep at gmail.com Fri Jan 29 21:51:30 2016 From: asifcsep at gmail.com (Shahid Md. Asif Iqbal) Date: Sat, 30 Jan 2016 11:51:30 +0600 Subject: [ndnSIM] ndnSIM Digest, Vol 38, Issue 22 In-Reply-To: References: Message-ID: Dear All, How can I add a new field to the interest packet and update subsequently this field as the interest crosses the hops in network? And, how can I find the number of hops traversed by an interest packet? On Sat, Jan 30, 2016 at 1:36 AM, wrote: > Send ndnSIM mailing list submissions to > ndnsim at lists.cs.ucla.edu > > To subscribe or unsubscribe via the World Wide Web, visit > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > or, via email, send a message with subject or body 'help' to > ndnsim-request at lists.cs.ucla.edu > > You can reach the person managing the list at > ndnsim-owner at lists.cs.ucla.edu > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of ndnSIM digest..." > > > Today's Topics: > > 1. Re: Regarding Forwarding Strategies Best Route and NCC > (Spyridon (Spyros) Mastorakis) > 2. how to write (serialize) something in interest/data (Carl Zu) > 3. Re: Regarding Forwarding Strategies Best Route and NCC > (Ahmed Sadek) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 29 Jan 2016 09:11:17 -0800 > From: "Spyridon (Spyros) Mastorakis" > To: Ahmed Sadek > Cc: Junxiao Shi , ndnsim > > Subject: Re: [ndnSIM] Regarding Forwarding Strategies Best Route and > NCC > Message-ID: <27CE63C8-6ECC-433A-9E64-1108CC3D145F at cs.ucla.edu> > Content-Type: text/plain; charset="utf-8" > > Hi Ahmed, > > it would be a good idea to take a look at the NFD developer?s guide as > well. There is a section describing each strategy: > > > http://named-data.net/wp-content/uploads/2015/10/ndn-0021-5-nfd-developer-guide.pdf > < > http://named-data.net/wp-content/uploads/2015/10/ndn-0021-5-nfd-developer-guide.pdf > > > > Hope that this helps. > > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ < > http://cs.ucla.edu/~mastorakis/> > Internet Research Laboratory > Computer Science Department > UCLA > > > > > > On Jan 29, 2016, at 1:39 AM, Ahmed Sadek wrote: > > > > Hi Junxiao, > > > > Thank you for your reply. > > > > What routing metrics to use is an unsolved problem < > http://redmine.named-data.net/issues/2010>. > > NDN testbed is using round-trip time (in milliseconds) measured by IP > ping as its routing metrics. > > > > So hop count is not used as a metric ? > > > > See CcndStrategy < > http://redmine.named-data.net/projects/nfd/wiki/CcndStrategy> for > information on NCC strategy. > > > > I read it before sending the question and didn't understand it, how NCC > is measuring delay on interfaces and selecting the lowest delay ? Is it > sending IP ping messages broadcast flood on each interface each few seconds > and ranking the interfaces based on this values ? and does it take prefix > into account or only interfaces ? > > > > Thanks! > > Ahmed > > > > On Thu, Jan 28, 2016 at 9:47 PM, Junxiao Shi < > shijunxiao at email.arizona.edu > wrote: > > Hi Ahmed > > > > What routing metrics to use is an unsolved problem < > http://redmine.named-data.net/issues/2010>. > > NDN testbed is using round-trip time (in milliseconds) measured by IP > ping as its routing metrics. > > > > See CcndStrategy < > http://redmine.named-data.net/projects/nfd/wiki/CcndStrategy> for > information on NCC strategy. > > > > Yours, Junxiao > > > >> On Jan 28, 2016, at 9:00 AM, Ahmed Sadek don1559 at gmail.com>> wrote: > >> > >> Dear All, > >> > >> I am trying to understand better the two strategies of best route and > NCC. My understanding is: > >> > >> BestRoute: This strategy relies on routing information and forwards > Interests on the path with the lowest costs considering a specific metric. > >> So I was wondering what routing metrics options we can consider for > this strategy ? > >> > >> NCC: Interests are forwarded to the interface, that provides content > with the lowest delay. > >> So how is the delay is measured here on a low level for each interface? > and is it measured for each prefix for each interface or only for each > interface ? > >> > >> I really appreciate any explanation or if you point me to a link > explaining it. > >> > >> Thanks ! > >> > >> Ahmed Sadek > >> _______________________________________________ > >> ndnSIM mailing list > >> ndnSIM at lists.cs.ucla.edu > >> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim < > 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: < > http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20160129/4be63873/attachment-0001.html > > > > ------------------------------ > > Message: 2 > Date: Fri, 29 Jan 2016 20:34:09 +0100 > From: Carl Zu > To: ndnSIM at lists.cs.ucla.edu > Subject: [ndnSIM] how to write (serialize) something in interest/data > Message-ID: > < > CAFxAFZUgHMbaVFy2Hvf0wf-kqKK5V22TOjSyamZEo8ay9Fo8pQ at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Dear all, > > In ns-3, we could serialize something in packet header or tag. How we can > do this in ndnSIM, i.e., writing something in interest messages/data > objects ? > > I know that in ns-3 we were using ns3::Packet, while here we use a TLV NDN > packet. > > Thanks in advance for your guidance. > C > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20160129/365e93a5/attachment-0001.html > > > > ------------------------------ > > Message: 3 > Date: Fri, 29 Jan 2016 20:36:13 +0100 > From: Ahmed Sadek > To: "Spyridon (Spyros) Mastorakis" > Cc: Junxiao Shi , ndnsim > > Subject: Re: [ndnSIM] Regarding Forwarding Strategies Best Route and > NCC > Message-ID: > < > CA+Wzd2DW3mjpJfZMnxPNkhZcZxWCvBYVRsrq7yc4dSqzFqDY2A at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Hi Spyros, > > Thank you for your reply. Honestly, I have checked the developer guide > before asking and this is what I found on NSS Strategy: > 6.2.4 NCC Strategy The NCC strategy 8 is an reimplementation of CCNx 0.7.2 > default strategy [16]. It has similar algorithm but is not guaranteed to be > equivalent. This strategy is implemented as nfd::NccStrategy class. > > And the citation lead to the same website provided above , which I have > check and didn't understand how it measures delay for each interface. > > Now I am checking the code here " > > https://github.com/0xbb/amus-ndnSIM/blob/master/NFD/daemon/fw/ncc-strategy.cpp > " > > If anyone can give few words explaining this strategy, I would be thankful. > > Thanks! > Ahmed > > On Fri, Jan 29, 2016 at 6:11 PM, Spyridon (Spyros) Mastorakis < > mastorakis at cs.ucla.edu> wrote: > > > Hi Ahmed, > > > > it would be a good idea to take a look at the NFD developer?s guide as > > well. There is a section describing each strategy: > > > > > > > http://named-data.net/wp-content/uploads/2015/10/ndn-0021-5-nfd-developer-guide.pdf > > > > Hope that this helps. > > > > Spyridon (Spyros) Mastorakis > > Personal Website: http://cs.ucla.edu/~mastorakis/ > > Internet Research Laboratory > > Computer Science Department > > UCLA > > > > > > > > > > On Jan 29, 2016, at 1:39 AM, Ahmed Sadek wrote: > > > > Hi Junxiao, > > > > Thank you for your reply. > > > > What routing metrics to use is an unsolved problem > > . > > NDN testbed is using round-trip time (in milliseconds) measured by IP > ping > > as its routing metrics. > > > > *So hop count is not used as a metric ?* > > > > See CcndStrategy > > for > > information on NCC strategy. > > > > *I read it before sending the question and didn't understand it, how NCC > > is measuring delay on interfaces and selecting the lowest delay ? Is it > > sending IP ping messages broadcast flood on each interface each few > seconds > > and ranking the interfaces based on this values ? and does it take prefix > > into account or only interfaces ?* > > > > Thanks! > > Ahmed > > > > On Thu, Jan 28, 2016 at 9:47 PM, Junxiao Shi < > shijunxiao at email.arizona.edu > > > wrote: > > > >> Hi Ahmed > >> > >> What routing metrics to use is an unsolved problem > >> . > >> NDN testbed is using round-trip time (in milliseconds) measured by IP > >> ping as its routing metrics. > >> > >> See CcndStrategy > >> for > >> information on NCC strategy. > >> > >> Yours, Junxiao > >> > >> On Jan 28, 2016, at 9:00 AM, Ahmed Sadek wrote: > >> > >> Dear All, > >> > >> I am trying to understand better the two strategies of best route and > >> NCC. My understanding is: > >> > >> BestRoute: This strategy relies on routing information and forwards > >> Interests on the path with the lowest costs considering a specific > metric. > >> So I was wondering what routing metrics options we can consider for this > >> strategy ? > >> > >> NCC: Interests are forwarded to the interface, that provides content > with > >> the lowest delay. > >> So how is the delay is measured here on a low level for each interface? > >> and is it measured for each prefix for each interface or only for each > >> interface ? > >> > >> I really appreciate any explanation or if you point me to a link > >> explaining it. > >> > >> Thanks ! > >> > >> Ahmed Sadek > >> _______________________________________________ > >> 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: < > http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20160129/f71afd8a/attachment.html > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > > ------------------------------ > > End of ndnSIM Digest, Vol 38, Issue 22 > ************************************** > -------------- next part -------------- An HTML attachment was scrubbed... URL: From asifcsep at gmail.com Fri Jan 29 21:53:50 2016 From: asifcsep at gmail.com (Shahid Md. Asif Iqbal) Date: Sat, 30 Jan 2016 11:53:50 +0600 Subject: [ndnSIM] How to add a new field to the interest packet? Message-ID: > > Dear All, > How can I add a new field to the interest packet and update subsequently > this field as the interest crosses the hops in network? And, how can I find > the number of hops traversed by an interest packet? > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From prasetyoadiwibowo92 at gmail.com Sat Jan 30 02:36:58 2016 From: prasetyoadiwibowo92 at gmail.com (Prasetyo Adi Wibowo) Date: Sat, 30 Jan 2016 17:36:58 +0700 Subject: [ndnSIM] How to make NDN node choose another path that aren't affect by the hijacker In-Reply-To: <8D050F29-B63E-47C6-A93D-1380CDB539D9@cs.ucla.edu> References: <8D050F29-B63E-47C6-A93D-1380CDB539D9@cs.ucla.edu> Message-ID: Hi Alex, Thank you for your answer. I've tried ncc, acces, client control, multicast, and broadcast strategy, but the result is not like my expectation. In my simulation, I want to make the packet interest choose another path that aren't affected by the hijacker(change to R2 when first attempt was hijacked by R3-H). Can you suggest to me, what can I do to get that result? and I want to use R-script to help me make statistical computing and graphics ( http://ndnsim.net/2.1/metric.html#example-of-packet-drop-tracer-l2tracer). Can you help me, how to run R-script for app-delays tracer and content store tracer ? Thank you Best Regards, Prasetyo 2016-01-25 2:30 GMT+07:00 Alex Afanasyev : > Hi Prasetyo, > > The behavior you're seeing is because of the simple strategy (BestRoute) > you're using. This strategy has no intelligence driven by the data plane > performance and only uses input from the routing plane (e.g., manual route > configuration). > > If you select NCC strategy, for example, you should be able to see > different behavior: > > ... > ndn::StrategyChoiceHelper::InstallAll("/prefix/sub", > "ndn:/localhost/nfd/strategy/ncc"); > ... > > --- > Alex > > > On Jan 24, 2016, at 1:39 AM, Prasetyo Adi Wibowo < > prasetyoadiwibowo92 at gmail.com> wrote: > > > > Hi, > > > > It's my first time using NDNsim and I tried to create a hijacker > scenario. Everytime I run the program, packet interest that's been sent > always pass through the nodes that affected by hijack(R3-H), although in > the topology that I made there are other path that aren't affected by > hijack(R2). Could you tell me how to make the packet interest choose > another path that aren't affect by the hijacker(change to R2 when first > attempt was hijacked by R3-H)? Is it possible to do that? > > > > This is my topology > > # /----\ > > # +=>| R2 |<=+ > > # / \----/ \ > > # / \ > > # / \ > > # /---\ /----\<=+ +=>/----\ /---\ > > # | C |<------->| R1 | | R4 |<------->| P | > > # \---/ \----/<=+ +=>\----/ \---/ > > # \ / > > # \ / > > # \ /----\ / > > # +=>| R3 |<=+ > > # \----/ > > > > #-------y code : ------# > > AnnotatedTopologyReader topologyReader("", 100); > > > topologyReader.SetFileName("src/ndnSIM/examples/topologies/topo-custom-hijack.txt"); > > topologyReader.Read(); > > > > // Install NDN stack on all nodes > > ndn::StackHelper ndnHelper; > > ndnHelper.SetDefaultRoutes (false); > > > > // Getting containers for the consumer/producer > > Ptr producer = Names::Find("P"); > > Ptr h1 = Names::Find("R3"); > > Ptr consumer=Names::Find("C"); > > > > ndnHelper.InstallAll(); > > > > // Installing global routing interface on all nodes > > ndn::GlobalRoutingHelper ndnGlobalRoutingHelper; > > ndnGlobalRoutingHelper.InstallAll(); > > > > // Install NDN applications > > std::string prefix = "/prefix/sub"; > > > > ndn::StrategyChoiceHelper::InstallAll("/prefix/sub", > "ndn:/localhost/nfd/strategy/best-route"); > > > > ndn::AppHelper consumerHelper("ns3::ndn::ConsumerCbr"); > > consumerHelper.SetPrefix(prefix); > > consumerHelper.SetAttribute("Frequency", StringValue("1")); // 100 > interests a second > > consumerHelper.Install(consumer); > > > > ndn::AppHelper producerHelper("ns3::ndn::Producer"); > > producerHelper.SetPrefix(prefix); > > producerHelper.Install(producer); > > > > ndn::AppHelper Hijackers("Hijacker"); > > Hijackers.Install(h1); > > > > // Add /prefix origins to ndn::GlobalRouter > > ndnGlobalRoutingHelper.AddOrigins(prefix, producer); > > > > // Calculate and install FIBs > > ndn::GlobalRoutingHelper::CalculateRoutes(); > > > > Simulator::Stop(Seconds(30.0)); > > Simulator::Run(); > > Simulator::Destroy(); > > > > > > Thank you > > > > Kind Regards, > > > > Prasetyo > > _______________________________________________ > > 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: