<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>It should show the FIB. Can you make sure that NFD is running?</p>
<p>In a new terminal do: </p>
<p>ps aux | grep "sudo nfd"</p>
<p><br>
</p>
<p>If NFD is running then try to run NFD without Mini-NDN and see if nfd-status works.</p>
<p><br>
</p>
<p>If NFD status is not working you might be affected by this bug in NFD:</p>
<p><a href="http://redmine.named-data.net/issues/3650" class="OWAAutoLink" id="LPlnk54486">http://redmine.named-data.net/issues/3650</a> (the site seems down right now, but should be up soon).<br>
</p>
<p>So update your NFD by doing a git pull (since there's been a recent fix) and then compile and install it again (./waf, sudo ./waf install).</p>
<p><br>
</p>
<p>Try to run Mini-NDN and do nfd-status again.</p>
<p><br>
</p>
<p>Yes you need ndn-tools installed if you want to run the verification (<a href="https://github.com/named-data/mini-ndn/blob/master/INSTALL.md" class="OWAAutoLink" id="LPlnk137401">https://github.com/named-data/mini-ndn/blob/master/INSTALL.md</a>).</p>
<br>
<p><span style="font-size: 12pt;">Security patch can be found at:</span><br>
</p>
<p><a href="http://gerrit.named-data.net/#/c/2873/" class="OWAAutoLink" id="LPlnk859835">http://gerrit.named-data.net/#/c/2873/</a><br>
</p>
<p></p>
<p><br>
</p>
<p>You can install it by clicking on downloads and then selecting any one of the git commands you favor.</p>
<p><br>
</p>
<p>And then install it using sudo ./install.sh -i</p>
<p>Then do sudo minndn --help to see the security option and run using that.</p>
<p><br>
</p>
<p>You can see how to setup up any topology in Mini-NDN here: </p>
<p><a href="https://github.com/named-data/mini-ndn/blob/master/docs/CONFIG.md" class="OWAAutoLink" id="LPlnk613495">https://github.com/named-data/mini-ndn/blob/master/docs/CONFIG.md</a><br>
<br>
</p>
<p>Mini-NDN uses the version of NFD and NLSR installed in the system.</p>
<p>So you can change the code in NLSR itself, compile and install it and then run Mini-NDN.</p>
<p><br>
</p>
<p>NLSR uses nsync for LSDB synchronization - which is basically chronosync.</p>
<p>So you should start by reading on Chronosync (<a href="http://named-data.net/publications/chronosync/" class="OWAAutoLink" id="LPlnk763279" title="http://named-data.net/publications/chronosync/
Ctrl+Click or tap to follow the link">http://named-data.net/publications/chronosync/</a>)</p>
<p><a href="https://github.com/named-data/ChronoSync" class="OWAAutoLink" id="LPlnk40700">https://github.com/named-data/ChronoSync</a><br>
<br>
</p>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<a href="https://github.com/named-data/NLSR/tree/master/nsync" class="OWAAutoLink" id="LPlnk270058">https://github.com/named-data/NLSR/tree/master/nsync</a><br>
</div>
<p><span style="font-size: 12pt;"><br>
</span></p>
<p><span style="font-size: 12pt;">Ashlesh</span><br>
</p>
<p><br>
</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Tanusree Chatterjee <tnsr.chatterjee@gmail.com><br>
<b>Sent:</b> Thursday, June 23, 2016 4:06:59 AM<br>
<b>To:</b> Ashlesh Gawande (agawande)<br>
<b>Subject:</b> Re: NLSR</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>Hi,<br>
<br>
</div>
There is a security patch here which sets NLSR security in mini-ndn which sets up the NLSR security automatically? What I need to configure here after installing mini-ndn?<br>
<br>
I have installed the mini-ndn. What about the ndn-tools? I have to install the ndn tools also? I have seen the video you shared. I have tried to run mini-ndn. It shows the following.<br>
<br>
<b>sudo minindn<br>
Parse of /usr/local/etc/mini-ndn/default-topology.conf done.<br>
*** Creating network<br>
*** Adding controller<br>
*** Adding hosts:<br>
a b c d <br>
*** Adding switches:<br>
<br>
*** Adding links:<br>
(10ms delay) (10ms delay) (a, b) (10ms delay) (10ms delay) (a, c) (10ms delay) (10ms delay) (b, d)
<br>
*** Configuring hosts<br>
a b c d <br>
Setup time: 9<br>
*** Starting controller<br>
c0 <br>
*** Starting 0 switches<br>
<br>
*** Starting CLI:</b><br>
<br>
</div>
While run <br>
<br>
<b>mininet> a nfd-status -b</b><br>
<br>
</div>
It shows nothing. Just <br>
<br>
</div>
<b>mininet><br>
<br>
</b></div>
It should show the FIB?<br>
<div>
<div>
<div>
<div>
<div>
<div>
<div><br>
</div>
<div>If I want to run a simple experiment where 5 hosts connecting together and exchanges interest and data to update some change in LSDB, can I do it here? Where I should write/edit the code?
<br>
<br>
I had surveyed the LSDB synchronization part of NLSR. I want to suggest some modification there to reduce the message exchange overhead and also to enhance the security in LSDB. Can you suggest me where should I start from in theory and in coding section? Which
 section of code I should visit thoroghly to check the LSDB syncronization process.<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Jun 21, 2016 at 8:55 PM, Ashlesh Gawande (agawande)
<span dir="ltr"><<a href="mailto:agawande@memphis.edu" target="_blank">agawande@memphis.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>No it won't be  a problem.</p>
<p><br>
</p>
<p>You can simply install mininet first by:</p>
<p>git clone --depth 1 <a href="https://github.com/mininet/mininet" target="_blank">
https://github.com/mininet/mininet</a></p>
<p>cd mininet</p>
<p>sudo ./util/install.sh -fnv</p>
<p><br>
</p>
<p>Then you can install mini-ndn</p>
<p>git clone --depth 1 <a href="https://github.com/named-data/mini-ndn" target="_blank">
https://github.com/named-data/mini-ndn</a></p>
<br>
<p>cd mini-ndn</p>
<p>sudo ./install.sh -i</p>
<p><br>
</p>
<p>Further information on mininet and mini-ndn:</p>
<p><a href="https://www.youtube.com/watch?v=UxHPqaUwefg&feature=youtu.be" title="https://www.youtube.com/watch?v=UxHPqaUwefg&amp;feature=youtu.be
Ctrl+Click or tap to follow the link" target="_blank">https://www.youtube.com/watch?v=UxHPqaUwefg&feature=youtu.be</a><br>
</p>
<p><br>
</p>
<p>Ashlesh</p>
</div>
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Tanusree Chatterjee <<a href="mailto:tnsr.chatterjee@gmail.com" target="_blank">tnsr.chatterjee@gmail.com</a>><br>
<b>Sent:</b> Tuesday, June 21, 2016 12:04:40 AM<br>
<b>To:</b> Ashlesh Gawande (agawande)<br>
<b>Subject:</b> Re: NLSR</font>
<div> </div>
</div>
<div>
<div class="h5">
<div>
<div dir="ltr">Ashlesh,
<div><br>
</div>
<div>I have installed NLSR already in my machine earlier and so NFD is also installed. Will it be any problem to install Mini-NDN now in Ubuntu 14.04?</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Jun 15, 2016 at 8:12 PM, Ashlesh Gawande (agawande)
<span dir="ltr"><<a href="mailto:agawande@memphis.edu" target="_blank">agawande@memphis.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Those are NLSRs neighbors. You need to configure other nodes running NLSR and make them neighbors.</p>
<p><br>
</p>
<p>But a better way would be to use Mini-NDN</p>
<p><a href="https://github.com/named-data/mini-ndn" target="_blank">https://github.com/named-data/mini-ndn</a><br>
You should be able to find all the documentation in docs.</p>
<p>There is also a security patch here which sets NLSR security for you: <a href="http://gerrit.named-data.net/#/c/2873/" target="_blank">http://gerrit.named-data.net/#/c/2873/</a></p>
<p>on Mini-NDN.</p>
<p><br>
</p>
<p><span style="font-size:12pt">It does the setup for you and runs multiple NLSR on a single machine so you don't need multiple nodes.</span><br>
</p>
<p><span style="font-size:12pt"><br>
</span></p>
<p><span style="font-size:12pt">NDNSim NLSR is still being prepared and might take a while.</span></p>
<p><span style="font-size:12pt"><br>
</span></p>
<p><span style="font-size:12pt">Mini-NDN is an emulator - i.e. it runs actual instances of NFD, NLSR etc. so it does not scale as good. Scaling also depends on CPU rather than RAM. (~100 nodes max scaling on 32 core machine).</span></p>
<p><span style="font-size:12pt">NDNSim is a simulator - i.e. it simulates NFD etc and scaling is much better. Scaling depends on RAM.</span></p>
<p><span style="font-size:12pt"><br>
</span></p>
<p><span style="font-size:12pt">So if you need scaling in your experiment use NDNSim.</span></p>
<p><span style="font-size:12pt">(Very high number of nodes can be simulated.)</span></p>
<p><span style="font-size:12pt"><br>
</span></p>
<p><span style="font-size:12pt">I would suggest you read the following papers:</span></p>
<p><span style="font-size:12pt"><a href="http://named-data.net/publications/nlsr-final/" target="_blank">http://named-data.net/publications/nlsr-final/</a><br>
<br>
</span></p>
<p><a href="http://named-data.net/publications/techreports/ndn-0037-1-nlsr/" title="http://named-data.net/publications/techreports/ndn-0037-1-nlsr/
Ctrl+Click or tap to follow the link" target="_blank">http://named-data.net/publications/techreports/ndn-0037-1-nlsr/</a></p>
<p><br>
</p>
<p><a href="http://named-data.net/publications/techreports/ndn-0037-1-nlsr/" target="_blank"></a>You will have to thoroughly understand security in NDN (NLSR) before implementing but you can look at the Mini-NDN patch as to how the security is actually done.</p>
<p>Also you can look at this:</p>
<p><a href="http://named-data.net/doc/NLSR/current/SECURITY-CONFIG.html" target="_blank">http://named-data.net/doc/NLSR/current/SECURITY-CONFIG.html</a></p>
<p><br>
</p>
<p>Ashlesh</p>
</div>
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Tanusree Chatterjee <<a href="mailto:tnsr.chatterjee@gmail.com" target="_blank">tnsr.chatterjee@gmail.com</a>><br>
<b>Sent:</b> Wednesday, June 15, 2016 1:34:03 AM<br>
<b>To:</b> Ashlesh Gawande (agawande)<br>
<b>Subject:</b> NLSR</font>
<div> </div>
</div>
<div>
<div>
<div>
<div dir="ltr">
<div>Hi Ashlesh,<br>
<br>
</div>
After I run the nlsr now, it is not showing anything in the terminal and crearing a log file which contents the following.<br>
<br>
<b>20160615113331480 WARN: [FaceController] Could not convert udp://<a href="http://mira.cs.memphis.edu" target="_blank">mira.cs.memphis.edu</a> to canonical form: Hostname resolution timed out</b><br clear="all">
<div>
<div>
<div><br>
</div>
<div>Can you tell me what is the significance of the above number in the file? And what for the warning is coming? You have commented few lines to disable the security. What if I want to keep the security enable? How and hat I need to configure then?
<br>
<br>
</div>
<div>Which part in NDN you are currently working on? I am new to NDN and currrently I am doing my research to understand the NLSR where I want to propose some changes to enhance its security and also to reduce the overheads of the protocol in few area. Can
 you suggest me in which sections of the codes I need to concentrate and start working to do the same in future? What research is going on currently on NDNsim? How the simulator can be used in my work? Do I need to built up an app for it? I guess Anil is working
 to port NLSR in NDNsim. May be in future NLSR will not be needed to install separately.
</div>
<div><br>
</div>
<div>However, thanks a lot for all your help till now.<br>
</div>
<div><br>
</div>
<div>-- Regards,<br>
</div>
<div>
<div data-smartmail="gmail_signature">Tanusree Chatterjee<br>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div data-smartmail="gmail_signature">Tanusree Chatterjee<br>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div class="gmail_signature" data-smartmail="gmail_signature">Tanusree Chatterjee<br>
M:9836337175</div>
</div>
</div>
</div>
</body>
</html>