From psubedi at crimson.ua.edu Wed Jul 8 11:50:00 2020 From: psubedi at crimson.ua.edu (Pawan Subedi) Date: Wed, 8 Jul 2020 13:50:00 -0500 Subject: [ndnSIM] Can't access ndnsim website Message-ID: I am unable to access any links for ndnsim. Here are examples of the links that are not working. https://ndnsim.net/2.2/ https://ndnsim.net/current/intro.html Have the contents moved from these links? Thank you! Sincerely, Pawan Subedi -------------- next part -------------- An HTML attachment was scrubbed... URL: From aa at cs.fiu.edu Wed Jul 8 11:51:30 2020 From: aa at cs.fiu.edu (Alex Afanasyev) Date: Wed, 8 Jul 2020 14:51:30 -0400 Subject: [ndnSIM] Can't access ndnsim website In-Reply-To: References: Message-ID: <4DB1156C-FF72-4884-82D0-AF125197773F@cs.fiu.edu> No, should be there. We seem to experience issue with the hosting, investigating. > On Jul 8, 2020, at 2:50 PM, Pawan Subedi wrote: > > I am unable to access any links for ndnsim. Here are examples of the links that are not working. > https://ndnsim.net/2.2/ > https://ndnsim.net/current/intro.html > > Have the contents moved from these links? > > Thank you! > > Sincerely, > Pawan Subedi > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim ______________ Alex Afanasyev Assistant Professor, SCIS, Florida International University 11200 SW 8th Street, PG6 Room 140D, Miami, FL 33199 phone: +1.305.348.4960 (office); email: aa at cs.fiu.edu web: https://users.cs.fiu.edu/~afanasyev/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From zohanoor67 at gmail.com Mon Jul 20 00:59:33 2020 From: zohanoor67 at gmail.com (Sonia) Date: Mon, 20 Jul 2020 16:59:33 +0900 Subject: [ndnSIM] Forwarding strategies in ndnSIM Message-ID: Hi everyone, I am new to ndnSIM and I need help in ndnsim kickstart. I am currently learning and investigating ndnSIM by running its examples scenario and making small tweaks. However, I have some queries. 1: I changed the forwarding strategy in ndn-grid.cpp examples from best-route to multicast strategy but I didn't see any changes in the forwarding. I tried to notice it in the visualizer. 2: Even if I remove the line of code // Set BestRoute strategy StrategyChoiceHelper::InstallAll(prefix, "/localhost/nfd/strategy/multicast"); Still, there is no changes in the forwarding process. The nodes still manage to forward the packets in the same way as they did with best route and multicast strategy. I was expecting no forwarding at all. PS: When I changed the forwarding strategy in ndn-load-balancer.cpp from Random Load balancer to multicast strategy it did work but is not working in other examples. Your help is much appreciated. Thanks Zoha -------------- next part -------------- An HTML attachment was scrubbed... URL: From smastorakis at unomaha.edu Mon Jul 20 11:49:59 2020 From: smastorakis at unomaha.edu (Spyridon Mastorakis) Date: Mon, 20 Jul 2020 18:49:59 +0000 Subject: [ndnSIM] Forwarding strategies in ndnSIM In-Reply-To: References: Message-ID: <8F965010-BBAE-4C70-B627-52ABDEA546D2@unomaha.edu> Can you check on the visualizer the FIB entries and the outgoing faces available? If there is only one outgoing face available, there is essentially a single route to the producer. You can also try using the CalculateAllPossibleRoutes method for the global routing helper. Thanks, Spyridon (Spyros) Mastorakis Assistant Professor Computer Science Department University of Nebraska, Omaha Peter Kiewit Institute Room 175A https://sites.google.com/site/spyridonmastorakis > On Jul 20, 2020, at 2:59 AM, Sonia via ndnSIM wrote: > > Hi everyone, > > I am new to ndnSIM and I need help in ndnsim kickstart. I am currently learning and investigating ndnSIM by running its examples scenario and making small tweaks. > However, I have some queries. > > 1: I changed the forwarding strategy in ndn-grid.cpp examples from best-route to multicast strategy but I didn't see any changes in the forwarding. I tried to notice it in the visualizer. > > 2: Even if I remove the line of code > // Set BestRoute strategy > StrategyChoiceHelper::InstallAll(prefix, "/localhost/nfd/strategy/multicast"); > Still, there is no changes in the forwarding process. The nodes still manage to forward the packets in the same way as they did with best route and multicast strategy. > I was expecting no forwarding at all. > > PS: When I changed the forwarding strategy in ndn-load-balancer.cpp from Random Load balancer to multicast strategy it did work but is not working in other examples. > > Your help is much appreciated. > > Thanks > Zoha > > > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.lists.cs.ucla.edu_mailman_listinfo_ndnsim&d=DwICAg&c=Cu5g146wZdoqVuKpTNsYHeFX_rg6kWhlkLF8Eft-wwo&r=eI5Bh74ovG-uIXQ5ksQETSPgRFzmJXjIZXneCqw580E&m=kPhzSlzLADS0DM14oTReFmV5oiREq-dVCi287jJnnik&s=IBmWfrhf9oRy9X-BrhgkLZJQwZbfOPi6sxGTaG3mbCU&e= From zohanoor67 at gmail.com Wed Jul 22 01:31:14 2020 From: zohanoor67 at gmail.com (Sonia) Date: Wed, 22 Jul 2020 17:31:14 +0900 Subject: [ndnSIM] Forwarding strategies in ndnSIM In-Reply-To: <8F965010-BBAE-4C70-B627-52ABDEA546D2@unomaha.edu> References: <8F965010-BBAE-4C70-B627-52ABDEA546D2@unomaha.edu> Message-ID: Thank you for your response. I checked the outgoing faces and there is always only one outgoing face available in all the examples scenarios (except the ndn-simple-load-balancer). What I understand is that since there are multiple physical links between consumer and producer, there must be multiple routes available with different cost (e.g. in ndn-grid scenario). Thank you On Tue, Jul 21, 2020 at 3:50 AM Spyridon Mastorakis wrote: > Can you check on the visualizer the FIB entries and the outgoing faces > available? If there is only one outgoing face available, there is > essentially a single route to the producer. > > You can also try using the CalculateAllPossibleRoutes method for the > global routing helper. > > Thanks, > > Spyridon (Spyros) Mastorakis > Assistant Professor > Computer Science Department > University of Nebraska, Omaha > Peter Kiewit Institute Room 175A > https://sites.google.com/site/spyridonmastorakis > > > On Jul 20, 2020, at 2:59 AM, Sonia via ndnSIM > wrote: > > > > Hi everyone, > > > > I am new to ndnSIM and I need help in ndnsim kickstart. I am currently > learning and investigating ndnSIM by running its examples scenario and > making small tweaks. > > However, I have some queries. > > > > 1: I changed the forwarding strategy in ndn-grid.cpp examples from > best-route to multicast strategy but I didn't see any changes in the > forwarding. I tried to notice it in the visualizer. > > > > 2: Even if I remove the line of code > > // Set BestRoute strategy > > StrategyChoiceHelper::InstallAll(prefix, > "/localhost/nfd/strategy/multicast"); > > Still, there is no changes in the forwarding process. The nodes still > manage to forward the packets in the same way as they did with best route > and multicast strategy. > > I was expecting no forwarding at all. > > > > PS: When I changed the forwarding strategy in ndn-load-balancer.cpp from > Random Load balancer to multicast strategy it did work but is not working > in other examples. > > > > Your help is much appreciated. > > > > Thanks > > Zoha > > > > > > > > _______________________________________________ > > ndnSIM mailing list > > ndnSIM at lists.cs.ucla.edu > > > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.lists.cs.ucla.edu_mailman_listinfo_ndnsim&d=DwICAg&c=Cu5g146wZdoqVuKpTNsYHeFX_rg6kWhlkLF8Eft-wwo&r=eI5Bh74ovG-uIXQ5ksQETSPgRFzmJXjIZXneCqw580E&m=kPhzSlzLADS0DM14oTReFmV5oiREq-dVCi287jJnnik&s=IBmWfrhf9oRy9X-BrhgkLZJQwZbfOPi6sxGTaG3mbCU&e= > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From hafsteinn.hjartarson at gmail.com Thu Jul 23 06:36:26 2020 From: hafsteinn.hjartarson at gmail.com (Hafsteinn Hjartarson) Date: Thu, 23 Jul 2020 13:36:26 +0000 Subject: [ndnSIM] External connections to simulation environment Message-ID: Hello, I am working on a research project related to iot and ndn. I have set up ndn-lite on two ESP8266 (one acting as a consumer and one as a producer) and I want to connect them to my simulation network running on a virtual machine. Is this possible? best regards, Hafsteinn -------------- next part -------------- An HTML attachment was scrubbed... URL: From emaan1000 at gmail.com Thu Jul 23 15:12:44 2020 From: emaan1000 at gmail.com (Maryam Abdul Ghafoor) Date: Fri, 24 Jul 2020 03:12:44 +0500 Subject: [ndnSIM] Build failed for ndnSIM Message-ID: HI, I am trying to install ndnSIM on ubuntu 16.04 using steps defined on the ndnSIm website.upon running the following command from the ndnSIM/ns-3 folder, I get the following error. Please help in resolving the issue. *Command: *~/Desktop/ndnSIM/ns-3$ ./waf *Error:*[2240/2572] Compiling src/ndnSIM/ndn-cxx/ndn-cxx/signature-info.cpp [2242/2572] Compiling src/ndnSIM/NFD/daemon/table/name-tree-entry.cpp [2245/2572] Compiling src/ndnSIM/ndn-cxx/ndn-cxx/key-locator.cpp [2250/2572] Compiling src/ndnSIM/ndn-cxx/ndn-cxx/security/v2/certificate-fetcher-direct-fetch.cpp In file included from ns3/ndnSIM/ndn-cxx/lp/tags.hpp:27:0, from ../src/ndnSIM/ndn-cxx/ndn-cxx/security/v2/certificate-fetcher-direct-fetch.cpp:24: ns3/ndnSIM/ndn-cxx/lp/geo-tag.hpp:95:58: error: converting to ?std::tuple? from initializer list would use explicit constructor ?constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {double, double, double}; = void; _Elements = {double, double, double}]? std::tuple m_pos={0.0, 0.0, 0.0}; ^ Waf: Leaving directory `/home/suleman/Desktop/ndnSIM/ns-3/build' Build failed -> task in 'ns3-ndnSIM' failed with exit status 1 (run with -v to display more information) Thanks for helping, Maryam -------------- next part -------------- An HTML attachment was scrubbed... URL: From wasimabbas at whu.edu.cn Thu Jul 23 19:55:11 2020 From: wasimabbas at whu.edu.cn (ASHRAF MUHAMMAD WASIM ABBAS) Date: Fri, 24 Jul 2020 10:55:11 +0800 (GMT+08:00) Subject: [ndnSIM] Build failed for ndnSIM In-Reply-To: References: Message-ID: <5bfce040.4ffc5.1737ebefa2f.Coremail.wasimabbas@whu.edu.cn> Dear, its better for you to do install current version from https://ndnsim.net/current/getting-started.html -----Original Messages----- From:"Maryam Abdul Ghafoor via ndnSIM" Sent Time:2020-07-24 06:12:44 (Friday) To: ndnsim at lists.cs.ucla.edu Cc: Subject: [ndnSIM] Build failed for ndnSIM HI, I am trying to install ndnSIM on ubuntu 16.04 using steps defined on the ndnSIm website.upon running the following command from the ndnSIM/ns-3 folder, I get the following error. Please help in resolving the issue. Command: ~/Desktop/ndnSIM/ns-3$ ./waf Error: [2240/2572] Compiling src/ndnSIM/ndn-cxx/ndn-cxx/signature-info.cpp [2242/2572] Compiling src/ndnSIM/NFD/daemon/table/name-tree-entry.cpp [2245/2572] Compiling src/ndnSIM/ndn-cxx/ndn-cxx/key-locator.cpp [2250/2572] Compiling src/ndnSIM/ndn-cxx/ndn-cxx/security/v2/certificate-fetcher-direct-fetch.cpp In file included from ns3/ndnSIM/ndn-cxx/lp/tags.hpp:27:0, from ../src/ndnSIM/ndn-cxx/ndn-cxx/security/v2/certificate-fetcher-direct-fetch.cpp:24: ns3/ndnSIM/ndn-cxx/lp/geo-tag.hpp:95:58: error: converting to ?std::tuple? from initializer list would use explicit constructor ?constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {double, double, double}; = void; _Elements = {double, double, double}]? std::tuple m_pos={0.0, 0.0, 0.0}; ^ Waf: Leaving directory `/home/suleman/Desktop/ndnSIM/ns-3/build' Build failed -> task in 'ns3-ndnSIM' failed with exit status 1 (run with -v to display more information) Thanks for helping, Maryam -------------- next part -------------- An HTML attachment was scrubbed... URL: From shijunxiao at email.arizona.edu Fri Jul 24 15:11:21 2020 From: shijunxiao at email.arizona.edu (Junxiao Shi) Date: Fri, 24 Jul 2020 18:11:21 -0400 Subject: [ndnSIM] [EXT] External connections to simulation environment In-Reply-To: References: Message-ID: Hi Hafsteinn How did you get NDN-Lite onto ESP8266? Is there a link to the adaptation? Yours, Junxiao On Thu, Jul 23, 2020 at 9:36 AM Hafsteinn Hjartarson via ndnSIM < ndnsim at lists.cs.ucla.edu> wrote: > *External Email* > Hello, > > I am working on a research project related to iot and ndn. > > I have set up ndn-lite on two ESP8266 (one acting as a consumer and one as > a producer) and I want to connect them to my simulation network running on > a virtual machine. > > Is this possible? > > best regards, > Hafsteinn > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From smastorakis at unomaha.edu Fri Jul 24 18:08:06 2020 From: smastorakis at unomaha.edu (Spyridon Mastorakis) Date: Sat, 25 Jul 2020 01:08:06 +0000 Subject: [ndnSIM] External connections to simulation environment In-Reply-To: References: Message-ID: I have not personally tried to do that, but I know of a few people that managed to do something similar. You can probably take a look at the evaluation section of this paper and contact the first author to ask: https://rehmatkhan.com/accepted/FGCS-accepted.pdf Thanks, Spyridon (Spyros) Mastorakis Assistant Professor Computer Science Department University of Nebraska, Omaha Peter Kiewit Institute Room 175A https://sites.google.com/site/spyridonmastorakis On Jul 23, 2020, at 8:36 AM, Hafsteinn Hjartarson via ndnSIM > wrote: Hello, I am working on a research project related to iot and ndn. I have set up ndn-lite on two ESP8266 (one acting as a consumer and one as a producer) and I want to connect them to my simulation network running on a virtual machine. Is this possible? best regards, Hafsteinn -------------- next part -------------- An HTML attachment was scrubbed... URL: From lixia at cs.ucla.edu Sat Jul 25 09:27:32 2020 From: lixia at cs.ucla.edu (Lixia Zhang) Date: Sat, 25 Jul 2020 09:27:32 -0700 Subject: [ndnSIM] External connections to simulation environment In-Reply-To: References: Message-ID: <2C4D78E3-9F59-4CB4-A3AA-4AC2DAD920A6@cs.ucla.edu> > On Jul 23, 2020, at 6:36 AM, Hafsteinn Hjartarson via ndnSIM wrote: > > Hello, > > I am working on a research project related to iot and ndn. > > I have set up ndn-lite on two ESP8266 (one acting as a consumer and one as a producer) and I want to connect them to my simulation network running on a virtual machine. > > Is this possible? one first question: what would you like to achieve from doing this? Lixia From hafsteinn.hjartarson at gmail.com Sat Jul 25 17:19:45 2020 From: hafsteinn.hjartarson at gmail.com (Hafsteinn Hjartarson) Date: Sun, 26 Jul 2020 00:19:45 +0000 Subject: [ndnSIM] External connections to simulation environment In-Reply-To: <2C4D78E3-9F59-4CB4-A3AA-4AC2DAD920A6@cs.ucla.edu> References: <2C4D78E3-9F59-4CB4-A3AA-4AC2DAD920A6@cs.ucla.edu> Message-ID: Hi everyone and thank you for your feedback, To be more precise, I have set up yoursunny's arduino library for NDN on the ESP8266 which can be found here -> https://github.com/yoursunny/esp8266ndn In the paper "Securing ICN-Based UAV Ad Hoc Networks with Blockchain" by Kai Lei et al. , they propose a framework to mitigate the risk of content poisoning in drones communicating over an NDN network. The framework was tested successfully on a powerful machine running NDNsim. What I want to do is to try to use this method to mitigate content poisoning in resource constrained devices such as the ESP8266. In order to test this I must be able to both install NDN on the ESP8266 and connect it to a network where I am able to modify the routers (NFD) myself. Is there possibly a better way to do this? Perhaps not using NDNsim at all? I hope I am making myself understandable and really appreciate all your help. Best regards, Hafsteinn On Sat, Jul 25, 2020 at 4:27 PM Lixia Zhang wrote: > > > On Jul 23, 2020, at 6:36 AM, Hafsteinn Hjartarson via ndnSIM < > ndnsim at lists.cs.ucla.edu> wrote: > > > > Hello, > > > > I am working on a research project related to iot and ndn. > > > > I have set up ndn-lite on two ESP8266 (one acting as a consumer and one > as a producer) and I want to connect them to my simulation network running > on a virtual machine. > > > > Is this possible? > > one first question: what would you like to achieve from doing this? > > Lixia > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shijunxiao at email.arizona.edu Sat Jul 25 22:24:57 2020 From: shijunxiao at email.arizona.edu (Junxiao Shi) Date: Sun, 26 Jul 2020 01:24:57 -0400 Subject: [ndnSIM] [EXT]Re: External connections to simulation environment In-Reply-To: References: <2C4D78E3-9F59-4CB4-A3AA-4AC2DAD920A6@cs.ucla.edu> Message-ID: Hi Hafsteinn While esp8266ndn used to contain an adaptation of NDN-Lite, it was removed earlier this year. Current version of esp8266ndn is a *port* of NDNph, a different C++ library that limits the use of dynamic memory allocations. See @yoursunny's blog post about this update: https://yoursunny.com/t/2020/NDNph-intro/ At the moment NDNph cannot run in ns-3 and NDNph. It may or may not happen in the future, depending on how many people are interested in this feature and whether @yoursunny feels like it. It is certainly possible to connect a real world network device, including the ESP8266, to ns-3 and ndnSIM. This can be achieved with TapBridgeNetDevice: https://www.nsnam.org/docs/release/3.31/models/html/emulation-overview.html However, it is difficult to create a reproducible experiment. A better method to achieve your simulation depends on whether the algorithm is CPU constrained or memory constrained. For a memory constrained algorithm: 1. Define the data structures in NDNph. Find out roughly how many records you can fit in the memory of the target device such as ESP8266. 2. Implement the algorithms in ndnSIM using ndn-cxx. Limit the table size of each IoT node not to exceed the limit measured in the previous step. For a CPU constrained algorithm: 1. Implement the key operations (such as crypto) in NDNph. Find out roughly how much time does it take to execute (a thousand times of) each operation. 2. Implement the algorithms in ndnSIM using ndn-cxx. Model the CPU time for each operation via the simulation scheduler. Finally, it is certainly possible to run this experiment in a real network that consists of ESP8266 devices and physical machines. That would make a stronger case, but it would take significantly more effort to create a reproducible experiment. Yours, Junxiao On Sat, Jul 25, 2020 at 8:20 PM Hafsteinn Hjartarson via ndnSIM < ndnsim at lists.cs.ucla.edu> wrote: > Hi everyone and thank you for your feedback, > > To be more precise, I have set up yoursunny's arduino library for NDN on > the ESP8266 which can be found here -> > https://github.com/yoursunny/esp8266ndn > > In the paper "Securing ICN-Based UAV Ad Hoc Networks with Blockchain" by > Kai Lei et al. , they propose a framework to mitigate the risk of content > poisoning in drones communicating over an NDN network. The framework was > tested successfully on a powerful machine running NDNsim. > > What I want to do is to try to use this method to mitigate content > poisoning in resource constrained devices such as the ESP8266. In order to > test this I must be able to both install NDN on the ESP8266 and connect it > to a network where I am able to modify the routers (NFD) myself. > > Is there possibly a better way to do this? Perhaps not using NDNsim at all? > > I hope I am making myself understandable and really appreciate all your > help. > > Best regards, > Hafsteinn > > On Sat, Jul 25, 2020 at 4:27 PM Lixia Zhang wrote: > >> >> > On Jul 23, 2020, at 6:36 AM, Hafsteinn Hjartarson via ndnSIM < >> ndnsim at lists.cs.ucla.edu> wrote: >> > >> > Hello, >> > >> > I am working on a research project related to iot and ndn. >> > >> > I have set up ndn-lite on two ESP8266 (one acting as a consumer and one >> as a producer) and I want to connect them to my simulation network running >> on a virtual machine. >> > >> > Is this possible? >> >> one first question: what would you like to achieve from doing this? >> >> Lixia >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: