<div dir="ltr"><div><div><div>Hi Alex,<br><br></div>Could you please give me some steps that how to debug Dijkstra algorithm from Boost graph library ? (are you guys using gdb or is there any other methods to debug those? )<br><br></div>Thanks,<br></div>Hitesh<br><div><div><br> </div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 12, 2015 at 1:05 AM,  <span dir="ltr"><<a href="mailto:ndnsim-request@lists.cs.ucla.edu" target="_blank">ndnsim-request@lists.cs.ucla.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send ndnSIM mailing list submissions to<br>
        <a href="mailto:ndnsim@lists.cs.ucla.edu">ndnsim@lists.cs.ucla.edu</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:ndnsim-request@lists.cs.ucla.edu">ndnsim-request@lists.cs.ucla.edu</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:ndnsim-owner@lists.cs.ucla.edu">ndnsim-owner@lists.cs.ucla.edu</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of ndnSIM digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: [ndnSIM2.0]: Data packet isn't receiving on the other<br>
      nodes (Hitesh Wadekar)<br>
   2. How to get number of exclusions made for an interest in   the<br>
      content store (adithya srinivasan)<br>
   3. Re: How to get number of exclusions made for an interest  in<br>
      the content store (Alex Afanasyev)<br>
   4. shortestpath poblem (narjes aloulou)<br>
   5. Re: shortestpath poblem (Alex Afanasyev)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Wed, 11 Feb 2015 09:37:36 -0500<br>
From: Hitesh Wadekar <<a href="mailto:wadekahn@clarkson.edu">wadekahn@clarkson.edu</a>><br>
To: Alex Afanasyev <<a href="mailto:alexander.afanasyev@ucla.edu">alexander.afanasyev@ucla.edu</a>><br>
Cc: <a href="mailto:ndnsim@lists.cs.ucla.edu">ndnsim@lists.cs.ucla.edu</a><br>
Subject: Re: [ndnSIM] [ndnSIM2.0]: Data packet isn't receiving on the<br>
        other   nodes<br>
Message-ID:<br>
        <<a href="mailto:CAGCGGjZPk9zmv9rj86-KR-s1PQRz0h6KsB9J1GTkDf2xqBaTrQ@mail.gmail.com">CAGCGGjZPk9zmv9rj86-KR-s1PQRz0h6KsB9J1GTkDf2xqBaTrQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Thank you Alex, it was interest expiration issue.<br>
Also, Thanks for sharing the new NFD docs (<br>
<a href="http://named-data.net/techreport/ndn-0021-3-nfd-developer-guide.pdf" target="_blank">http://named-data.net/techreport/ndn-0021-3-nfd-developer-guide.pdf</a>).<br>
<br>
Do we have an ndnSIM IRC where we all can actively chat?<br>
<br>
Cheer,<br>
Hitesh<br>
<br>
<br>
On Mon, Feb 9, 2015 at 5:15 PM, Hitesh Wadekar <<a href="mailto:hitesh.wadekar@gmail.com">hitesh.wadekar@gmail.com</a>><br>
wrote:<br>
<br>
> Thank you Alex for the information. Let me increase the interest lifetime<br>
> and check whether that could be a problem or not.<br>
><br>
> Regards,<br>
> Hitesh<br>
><br>
><br>
> On Mon, Feb 9, 2015 at 4:42 PM, Alex Afanasyev <<br>
> <a href="mailto:alexander.afanasyev@ucla.edu">alexander.afanasyev@ucla.edu</a>> wrote:<br>
><br>
>> Hi Hitesh,<br>
>><br>
>> There are several reasons why data packet be not propagated along the<br>
>> interest path.  Most likely it mistmatches the interest or interest expires<br>
>> before data packet is retrieved.<br>
>><br>
>> To help more, you need to give us a reproducible scenario/example.  You<br>
>> can enable more NFD logging to see what is going on with the data packet<br>
>> (look for loggers starting ?nfd.? in<br>
>> <a href="http://ndnsim.net/2.0/doxygen/LogComponentList.html" target="_blank">http://ndnsim.net/2.0/doxygen/LogComponentList.html</a>)<br>
>><br>
>> ?<br>
>> Alex<br>
>><br>
>> On Feb 9, 2015, at 1:37 PM, Hitesh Wadekar <<a href="mailto:wadekahn@clarkson.edu">wadekahn@clarkson.edu</a>> wrote:<br>
>><br>
>> Hello Guys,<br>
>><br>
>> I started to porting my code to ndnSIM2.0, however, I am facing a weired<br>
>> issue, It would be really helpful for me if you guys pointed out some<br>
>> suggestion and the steps/tips to debug or identify the reason why it so.<br>
>><br>
>> I have my code working on old version of ndnSIM, we thought that since<br>
>> recently we launched ndnSIM2.0, we have started to port the code on it. The<br>
>> issue is I am not able to receive the data packet on the other node.<br>
>> However, I am able to send interest packet on the all node. The code logic<br>
>> and everything is same as sample example given for Consume and Producer<br>
>> App. Also, I have verified the route as well along with signature/<br>
>> wireEncode.<br>
>><br>
>> Since I am receiving 'Interest Packet"  hence looks like FIB entries<br>
>> (routes) could not be a problem.<br>
>><br>
>> Here is sample code that I am using,<br>
>><br>
>> void ConsumerApp::SendDataPacket(shared_ptr<const Interest> interest) {<br>
>>     if (!m_active)<br>
>>         return;<br>
>>     NS_LOG_FUNCTION(this << interest);<br>
>>     std::cout<< "ConsumerApp: Sending a Data Packet -> "<<<br>
>> interest->getName() << std::endl;<br>
>><br>
>>     Name dataName(interest->getName());<br>
>>     auto dPacket = make_shared<Data>();<br>
>>     dPacket->setName(dataName);<br>
>>     dPacket->setFreshnessPeriod(ndn::time::milliseconds(3000));<br>
>>     dPacket->setContent(make_shared<<br>
>> ::ndn::Buffer>(m_virtualPayloadSize));<br>
>><br>
>>     Signature signature;<br>
>><br>
>>     SignatureInfo signatureInfo(static_cast<<br>
>> ::ndn::tlv::SignatureTypeValue>(255));<br>
>><br>
>>     if (m_keyLocator.size() > 0) {<br>
>>         signatureInfo.setKeyLocator(m_keyLocator);<br>
>>     }<br>
>><br>
>>     signature.setInfo(signatureInfo);<br>
>>     signature.setValue(Block(&m_signature, sizeof(m_signature)));<br>
>><br>
>>     dPacket->setSignature(signature);<br>
>>     dPacket->wireEncode();<br>
>>     std::cout << "\n ConsumerApp: Data packet- > " << dPacket->getName ()<br>
>> << " is sending from face -> " << m_face << std::endl;<br>
>><br>
>>     m_transmittedDatas(dPacket, this, m_face);<br>
>>     m_face->onReceiveData(*dPacket);<br>
>>     std::cout << "\n";<br>
>> }<br>
>><br>
>> I am looking forward to hear from you back.<br>
>><br>
>> Thank you.<br>
>><br>
>> Regards,<br>
>> Hitesh Wadekar<br>
>> _______________________________________________<br>
>> ndnSIM mailing list<br>
>> <a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>
>> <a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
>><br>
>><br>
>><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20150211/09f42f97/attachment-0001.html" target="_blank">http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20150211/09f42f97/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 11 Feb 2015 21:54:47 +0530<br>
From: adithya srinivasan <<a href="mailto:adith.ad@gmail.com">adith.ad@gmail.com</a>><br>
To: <a href="mailto:ndnsim@lists.cs.ucla.edu">ndnsim@lists.cs.ucla.edu</a><br>
Subject: [ndnSIM] How to get number of exclusions made for an interest<br>
        in      the content store<br>
Message-ID:<br>
        <<a href="mailto:CAHwx5S8TBh9mmKtrt0k-QMf50UiadGYwdS_xxgQAUDEWHmEK-Q@mail.gmail.com">CAHwx5S8TBh9mmKtrt0k-QMf50UiadGYwdS_xxgQAUDEWHmEK-Q@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hello<br>
My project involves a reactive mechanism for cache poisoning in ndn. And I<br>
need some help in getting hold of the number of exclusions made for an<br>
interest and also as to how to add exclusions to an interest.Please help me<br>
on this.<br>
<br>
Thank you<br>
Adithya S<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20150211/1780e469/attachment-0001.html" target="_blank">http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20150211/1780e469/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Wed, 11 Feb 2015 08:40:01 -0800<br>
From: Alex Afanasyev <<a href="mailto:cawka1@gmail.com">cawka1@gmail.com</a>><br>
To: adithya srinivasan <<a href="mailto:adith.ad@gmail.com">adith.ad@gmail.com</a>><br>
Cc: "<a href="mailto:ndnsim@lists.cs.ucla.edu">ndnsim@lists.cs.ucla.edu</a>" <<a href="mailto:ndnsim@lists.cs.ucla.edu">ndnsim@lists.cs.ucla.edu</a>><br>
Subject: Re: [ndnSIM] How to get number of exclusions made for an<br>
        interest        in the content store<br>
Message-ID: <<a href="mailto:4D050F2E-4973-4E74-AC6C-C4F3132F1548@gmail.com">4D050F2E-4973-4E74-AC6C-C4F3132F1548@gmail.com</a>><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
Hi Adithya,<br>
<br>
Can you define more precisely "the number of exclusions"?<br>
<br>
As for attaching some information. For simulation purposes, you can always use NS-3 packet tags to add/retrieve arbitrary information to any packet.<br>
<br>
---<br>
Alex<br>
<br>
> On Feb 11, 2015, at 8:24 AM, adithya srinivasan <<a href="mailto:adith.ad@gmail.com">adith.ad@gmail.com</a>> wrote:<br>
><br>
> Hello<br>
> My project involves a reactive mechanism for cache poisoning in ndn. And I need some help in getting hold of the number of exclusions made for an interest and also as to how to add exclusions to an interest.Please help me on this.<br>
><br>
> Thank you<br>
> Adithya S<br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: smime.p7s<br>
Type: application/pkcs7-signature<br>
Size: 2574 bytes<br>
Desc: not available<br>
URL: <<a href="http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20150211/bca80159/attachment-0001.bin" target="_blank">http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20150211/bca80159/attachment-0001.bin</a>><br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Thu, 12 Feb 2015 00:55:05 +0000<br>
From: narjes aloulou <<a href="mailto:aloulounarjes@yahoo.fr">aloulounarjes@yahoo.fr</a>><br>
To: <a href="mailto:ndnsim@lists.cs.ucla.edu">ndnsim@lists.cs.ucla.edu</a><br>
Subject: [ndnSIM] shortestpath poblem<br>
Message-ID:<br>
        <<a href="mailto:1423702505.38066.YahooMailBasic@web172104.mail.ir2.yahoo.com">1423702505.38066.YahooMailBasic@web172104.mail.ir2.yahoo.com</a>><br>
Content-Type: text/plain; charset=utf-8<br>
<br>
Hi,<br>
<br>
Considering a large catalog (10? prefixes), "ndnGlobalRoutingHelper.CalculateRoutes ()" creates an infinite loop and crashes the system. My scenario consists of 300 nodes and I use ndnSIM 1.0.<br>
<br>
Any solution to resolve this problem , please?<br>
Are there any way to use ShortestPath without using the ndnGlobalRoutingHelper ?<br>
<br>
<br>
Best Regards<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Wed, 11 Feb 2015 22:05:26 -0800<br>
From: Alex Afanasyev <<a href="mailto:alexander.afanasyev@ucla.edu">alexander.afanasyev@ucla.edu</a>><br>
To: narjes aloulou <<a href="mailto:aloulounarjes@yahoo.fr">aloulounarjes@yahoo.fr</a>><br>
Cc: <a href="mailto:ndnsim@lists.cs.ucla.edu">ndnsim@lists.cs.ucla.edu</a><br>
Subject: Re: [ndnSIM] shortestpath poblem<br>
Message-ID: <<a href="mailto:19021100-E590-4A99-82A3-1CD816B2113B@ucla.edu">19021100-E590-4A99-82A3-1CD816B2113B@ucla.edu</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Double check that you have build NS-3/ndnSIM in optimized mode.  Implementation of CalculateRoutes internally uses Dijkstra algorithm from Boost graph library (which is known to be extremely slow in debug mode).  It should be a problem for this number of prefixes and nodes.<br>
<br>
If still fails, you can compute all routes and prefixes offline and install them directly using FibHelper.<br>
<br>
--<br>
Alex<br>
<br>
> On Feb 11, 2015, at 4:55 PM, narjes aloulou <<a href="mailto:aloulounarjes@yahoo.fr">aloulounarjes@yahoo.fr</a>> wrote:<br>
><br>
> Hi,<br>
><br>
> Considering a large catalog (10? prefixes), "ndnGlobalRoutingHelper.CalculateRoutes ()" creates an infinite loop and crashes the system. My scenario consists of 300 nodes and I use ndnSIM 1.0.<br>
><br>
> Any solution to resolve this problem , please?<br>
> Are there any way to use ShortestPath without using the ndnGlobalRoutingHelper ?<br>
><br>
><br>
> Best Regards<br>
<br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: signature.asc<br>
Type: application/pgp-signature<br>
Size: 841 bytes<br>
Desc: Message signed with OpenPGP using GPGMail<br>
URL: <<a href="http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20150211/c6c16478/attachment.bin" target="_blank">http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20150211/c6c16478/attachment.bin</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
<br>
<br>
------------------------------<br>
<br>
End of ndnSIM Digest, Vol 27, Issue 10<br>
**************************************<br>
</blockquote></div><br></div>