[Mini-NDN] NLSR

Ashlesh Gawande (agawande) agawande at memphis.edu
Sat Jun 25 07:40:47 PDT 2016


You need to install ndn-tools to use ndnping and ndndump:


git clone --depth 1 https://github.com/named-data/ndn-tools


cd ndn-tools

./waf configure --enable-ping --enable-dump

./waf

sudo ./waf install


Ashlesh

________________________________
From: Tanusree Chatterjee <tnsr.chatterjee at gmail.com>
Sent: Saturday, June 25, 2016 12:51:12 AM
To: Ashlesh Gawande (agawande)
Subject: Re: NLSR

Ashlesh,

In your video after running the nfd status, is the command following one?
mininet> a ndnpingserver /ndn/edu/a  &
then
mininet> a ndnping -c 4 /ndn/edu/a

In my machine it says
bash: ndnpingserver: command not found
bash: ndnping: command not found

Why these commands are not working?

Here, the default configuration is running with the 4 hosts a b c d, right? I should check the log to understand the working thoroughly before doing modifications of any code? This default topology can be found there? And I can set up my own topology afterwards?


On Tue, Jun 21, 2016 at 8:55 PM, Ashlesh Gawande (agawande) <agawande at memphis.edu<mailto:agawande at memphis.edu>> wrote:

No it won't be  a problem.


You can simply install mininet first by:

git clone --depth 1 https://github.com/mininet/mininet

cd mininet

sudo ./util/install.sh -fnv


Then you can install mini-ndn

git clone --depth 1 https://github.com/named-data/mini-ndn


cd mini-ndn

sudo ./install.sh -i


Further information on mininet and mini-ndn:

https://www.youtube.com/watch?v=UxHPqaUwefg&feature=youtu.be


Ashlesh

________________________________
From: Tanusree Chatterjee <tnsr.chatterjee at gmail.com<mailto:tnsr.chatterjee at gmail.com>>
Sent: Tuesday, June 21, 2016 12:04:40 AM
To: Ashlesh Gawande (agawande)
Subject: Re: NLSR

Ashlesh,

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?

On Wed, Jun 15, 2016 at 8:12 PM, Ashlesh Gawande (agawande) <agawande at memphis.edu<mailto:agawande at memphis.edu>> wrote:

Those are NLSRs neighbors. You need to configure other nodes running NLSR and make them neighbors.


But a better way would be to use Mini-NDN

https://github.com/named-data/mini-ndn
You should be able to find all the documentation in docs.

There is also a security patch here which sets NLSR security for you: http://gerrit.named-data.net/#/c/2873/

on Mini-NDN.


It does the setup for you and runs multiple NLSR on a single machine so you don't need multiple nodes.


NDNSim NLSR is still being prepared and might take a while.


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).

NDNSim is a simulator - i.e. it simulates NFD etc and scaling is much better. Scaling depends on RAM.


So if you need scaling in your experiment use NDNSim.

(Very high number of nodes can be simulated.)


I would suggest you read the following papers:

http://named-data.net/publications/nlsr-final/


http://named-data.net/publications/techreports/ndn-0037-1-nlsr/


<http://named-data.net/publications/techreports/ndn-0037-1-nlsr/>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.

Also you can look at this:

http://named-data.net/doc/NLSR/current/SECURITY-CONFIG.html


Ashlesh

________________________________
From: Tanusree Chatterjee <tnsr.chatterjee at gmail.com<mailto:tnsr.chatterjee at gmail.com>>
Sent: Wednesday, June 15, 2016 1:34:03 AM
To: Ashlesh Gawande (agawande)
Subject: NLSR

Hi Ashlesh,

After I run the nlsr now, it is not showing anything in the terminal and crearing a log file which contents the following.

20160615113331480 WARN: [FaceController] Could not convert udp://mira.cs.memphis.edu<http://mira.cs.memphis.edu> to canonical form: Hostname resolution timed out

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?

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.

However, thanks a lot for all your help till now.

-- Regards,
Tanusree Chatterjee




--
Tanusree Chatterjee




-- Regards,
Tanusree Chatterjee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20160625/cf666c2c/attachment.html>


More information about the Mini-NDN mailing list