[ndnSIM] Packet delivery in ndn

Zeinab Rezaiefar z.rezaiefar at yahoo.com
Tue Dec 8 00:34:16 PST 2015

Hello Alex,I would like to say thanks for your guiding. actually my current scenario is wired but I want that each node can consider credibility for each neighbor ( the nodes which send message to it directly). for this reason, I consider credibility for each face that packet received from it . I am wondering that with consider credibility for each face , it can be equal to each neighbor.?however, I have not changed  NetDeviceFace . I should change default to consider unicast? if I should change , how can I change it.I am looking forward to hearing youthanks in advancebest regards 

    On Tuesday, December 8, 2015 11:23 AM, Alex Afanasyev <aa at cs.ucla.edu> wrote:


On Dec 7, 2015, at 3:14 PM, Zeinab <z.rezaiefar at yahoo.com> wrote:

Hello every one,

I am wondering if ndn does not use any information of users for sending Interest message, how this network deliver data to the user.  Moreover, I would like to say that the Data message is passed the reverse path that interest message is received and each router saves the interface from where it receives this interest message. any how, if more than one user is connected to one interface ( for example in wireless network), the router broadcasts data message to all of them? if this can be happened, how they can control behavior of user and block the malicious user ?

Any help will be appreciated 
thanks in advance
best regards

Hi Zeinab,
I don't have a single answer to your question.  NFD support multiple modes of the forwarding data back, depending on how exactly users deliver interest packets to the router.  Specifically, which face has been used: if interest was sent/received using multicast face, then the data packet is multicasted back too.  If individual users send interest packets using unicast faces (e.g., UdpFace), then answer is unicasted to each requester.  We also have in works modification to the multicast face, which would optionally allow unicasting of data packets (by recording and then using lower layer addressing).  This could also include the option to ignore specific senders (or whitelist specific senders), though this may not be a very reliable mechanism.
The default behavior in ndnSIM to use NetDeviceFace, which effectively is a multicast face.  If in your simulation scenario you're using wireless network, then the response is multicasted/broadcasted.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20151208/e9c292e8/attachment.html>

More information about the ndnSIM mailing list