[ndnSIM] ndnSIM Digest, Vol 76, Issue 21

Ertugrul DOGRULUK ertugruldogruluk at hotmail.com
Thu Mar 28 05:13:42 PDT 2019

Dear Carlos,
I do think your consumer apps set as a producer. Since there is nobody to consume that data packet, it turned out a NACK. This is my guess.

Kindly Regards
Ertugrul Dogruluk
PhD Candidate
Centro Algoritmi/ University of Minho-PORTUGAL

Today's Topics:

  1. nack duplicate problem (Carlos Borrego)


Message: 1
Date: Sun, 24 Mar 2019 11:59:43 +0100
From: Carlos Borrego <cborrego at deic.uab.es<mailto:cborrego at deic.uab.es>>
To: ndnsim at lists.cs.ucla.edu<mailto:ndnsim at lists.cs.ucla.edu>
Subject: [ndnSIM] nack duplicate problem
<CAEF0aKgUfHu-RDe-se0-3a72OJkbZh4KFjQmDEpH9WQ-u0uA8A at mail.gmail.com<mailto:CAEF0aKgUfHu-RDe-se0-3a72OJkbZh4KFjQmDEpH9WQ-u0uA8A at mail.gmail.com>>
Content-Type: text/plain; charset="utf-8"


I am trying to simulate a scenario using ndn. I have just one consumer
(node 0) and one producer (node 2). The consumer sends an interest message
to the network and apparently the interest message arrives at the producer
(node(2) responding with Data...). My question is why whenever this Data
message is received by the consumer I get the log:

*+0.000729504s 0 ndn.Consumer:OnNack(): [INFO ] NACK received for:
/prefix/%FE%00, reason: Duplicate*

Here is the complete log, as you can see, there is no other activity before
in the network:

+0.000000000s 0 ndn.Consumer:Consumer()
+0.000000000s 2 ndn.Producer:Producer()
+0.000000000s 0 ndn.Consumer:StartApplication()
+0.000000000s 0 ndn.Consumer:SendPacket()
+0.000000000s 0 ndn.Consumer:SendPacket(): [INFO ] > Interest for 0
+0.000000000s 0 ndn.Consumer:WillSendOutInterest(): [DEBUG] Trying to add 0
with +0.0ns. already 0 items
+0.000000000s 2 ndn.Producer:StartApplication()
+0.000342929s 2 ndn.Producer:OnInterest(0x2556620, 0x255f3a0)
+0.000342929s 2 ndn.Producer:OnInterest(): [INFO ] node(2) responding with
Data: /prefix/%FE%00
+0.000729504s 0 ndn.Consumer:OnNack(): [INFO ] NACK received for:
/prefix/%FE%00, reason: Duplicate

Shouldn't it be something like:

+0.000729504s 0 ndn.Consumer:OnData(): [INFO ] < DATA for 0

Thanks so much for helping me with this issue.

*Carlos Borrego Iglesias *
dEIC - Departament d'Enginyeria de la Informaci? i de les Comunicacions
Universitat Aut?noma de Barcelona
mailto:cborrego at deic.uab.es
tel: +34 93 5814835
Av?s - Aviso - Legal Notice - (LOPD) - http://legal.ifae.es

Av?s -
Aviso - Legal Notice - (LOPD) - http://legal.ifae.es
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20190324/615e0446/attachment-0001.html>


Subject: Digest Footer

ndnSIM mailing list
ndnSIM at lists.cs.ucla.edu


End of ndnSIM Digest, Vol 76, Issue 21

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

More information about the ndnSIM mailing list