[ndnSIM] ndnSIM Digest, Vol 27, Issue 11

Hitesh Wadekar wadekahn at clarkson.edu
Thu Feb 12 10:04:25 PST 2015


Thanks Spyridon.

Regards,
Hitesh


On Thu, Feb 12, 2015 at 9:48 AM, <ndnsim-request at lists.cs.ucla.edu> wrote:

> Send ndnSIM mailing list submissions to
>         ndnsim at lists.cs.ucla.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
> or, via email, send a message with subject or body 'help' to
>         ndnsim-request at lists.cs.ucla.edu
>
> You can reach the person managing the list at
>         ndnsim-owner at lists.cs.ucla.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ndnSIM digest..."
>
>
> Today's Topics:
>
>    1. Re: [ndnSIM2.0]: Data packet isn't receiving on the other
>       nodes (Spyridon (Spyros) Mastorakis)
>    2. How to trace Fib table? (???)
>    3. Re: ndnSIM Digest, Vol 27, Issue 10 (Hitesh Wadekar)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 11 Feb 2015 22:31:31 -0800
> From: "Spyridon (Spyros) Mastorakis" <spiros.mastorakis at gmail.com>
> To: Hitesh Wadekar <wadekahn at clarkson.edu>
> Cc: ndnsim at lists.cs.ucla.edu
> Subject: Re: [ndnSIM] [ndnSIM2.0]: Data packet isn't receiving on the
>         other   nodes
> Message-ID: <F8969916-2E56-4723-AE3F-5E16F1807458 at gmail.com>
> Content-Type: text/plain; charset=utf-8
>
> Hello,
>
> there is no IRC chat related to ndnSIM right now.
>
> --
> Spyridon (Spyros) Mastorakis
> Personal Website: http://cs.ucla.edu/~mastorakis/
> Internet Research Laboratory
> PhD Computer Science
> UCLA
>
>
>
>
> > On Feb 11, 2015, at 6:37 AM, Hitesh Wadekar <wadekahn at clarkson.edu>
> wrote:
> >
> > Thank you Alex, it was interest expiration issue.
> > Also, Thanks for sharing the new NFD docs (
> http://named-data.net/techreport/ndn-0021-3-nfd-developer-guide.pdf).
> >
> > Do we have an ndnSIM IRC where we all can actively chat?
> >
> > Cheer,
> > Hitesh
> >
> >
> > On Mon, Feb 9, 2015 at 5:15 PM, Hitesh Wadekar <hitesh.wadekar at gmail.com>
> wrote:
> > Thank you Alex for the information. Let me increase the interest
> lifetime and check whether that could be a problem or not.
> >
> > Regards,
> > Hitesh
> >
> >
> > On Mon, Feb 9, 2015 at 4:42 PM, Alex Afanasyev <
> alexander.afanasyev at ucla.edu> wrote:
> > Hi Hitesh,
> >
> > There are several reasons why data packet be not propagated along the
> interest path.  Most likely it mistmatches the interest or interest expires
> before data packet is retrieved.
> >
> > To help more, you need to give us a reproducible scenario/example.  You
> can enable more NFD logging to see what is going on with the data packet
> (look for loggers starting ?nfd.? in
> http://ndnsim.net/2.0/doxygen/LogComponentList.html)
> >
> > ?
> > Alex
> >
> >> On Feb 9, 2015, at 1:37 PM, Hitesh Wadekar <wadekahn at clarkson.edu>
> wrote:
> >>
> >> Hello Guys,
> >>
> >> I started to porting my code to ndnSIM2.0, however, I am facing a
> weired issue, It would be really helpful for me if you guys pointed out
> some suggestion and the steps/tips to debug or identify the reason why it
> so.
> >>
> >> I have my code working on old version of ndnSIM, we thought that since
> recently we launched ndnSIM2.0, we have started to port the code on it. The
> issue is I am not able to receive the data packet on the other node.
> However, I am able to send interest packet on the all node. The code logic
> and everything is same as sample example given for Consume and Producer
> App. Also, I have verified the route as well along with signature/
> wireEncode.
> >>
> >> Since I am receiving 'Interest Packet"  hence looks like FIB entries
> (routes) could not be a problem.
> >>
> >> Here is sample code that I am using,
> >>
> >> void ConsumerApp::SendDataPacket(shared_ptr<const Interest> interest) {
> >>     if (!m_active)
> >>         return;
> >>     NS_LOG_FUNCTION(this << interest);
> >>     std::cout<< "ConsumerApp: Sending a Data Packet -> "<<
> interest->getName() << std::endl;
> >>
> >>     Name dataName(interest->getName());
> >>     auto dPacket = make_shared<Data>();
> >>     dPacket->setName(dataName);
> >>     dPacket->setFreshnessPeriod(ndn::time::milliseconds(3000));
> >>     dPacket->setContent(make_shared<
> ::ndn::Buffer>(m_virtualPayloadSize));
> >>
> >>     Signature signature;
> >>
> >>     SignatureInfo signatureInfo(static_cast<
> ::ndn::tlv::SignatureTypeValue>(255));
> >>
> >>     if (m_keyLocator.size() > 0) {
> >>         signatureInfo.setKeyLocator(m_keyLocator);
> >>     }
> >>
> >>     signature.setInfo(signatureInfo);
> >>     signature.setValue(Block(&m_signature, sizeof(m_signature)));
> >>
> >>     dPacket->setSignature(signature);
> >>     dPacket->wireEncode();
> >>     std::cout << "\n ConsumerApp: Data packet- > " << dPacket->getName
> () << " is sending from face -> " << m_face << std::endl;
> >>
> >>     m_transmittedDatas(dPacket, this, m_face);
> >>     m_face->onReceiveData(*dPacket);
> >>     std::cout << "\n";
> >> }
> >>
> >> I am looking forward to hear from you back.
> >>
> >> Thank you.
> >>
> >> Regards,
> >> Hitesh Wadekar
> >> _______________________________________________
> >> ndnSIM mailing list
> >> ndnSIM at lists.cs.ucla.edu
> >> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
> >
> >
> >
> > _______________________________________________
> > ndnSIM mailing list
> > ndnSIM at lists.cs.ucla.edu
> > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 12 Feb 2015 19:58:05 +0900
> From: ??? <wonjunchoi001 at gmail.com>
> To: "ndnsim at lists.cs.ucla.edu" <ndnsim at lists.cs.ucla.edu>
> Subject: [ndnSIM] How to trace Fib table?
> Message-ID:
>         <CANO3Hx2AahLuh0kew9SSqXQMuj-0_=
> zEmxAAx28hbFCPy38v7A at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hello.
>
> Is there a way to trace Fib table and Pit table?
>
> Wonjun, Choi
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20150212/57e157a0/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 3
> Date: Thu, 12 Feb 2015 09:48:02 -0500
> From: Hitesh Wadekar <wadekahn at clarkson.edu>
> To: <ndnsim at lists.cs.ucla.edu>, Alex Afanasyev
>         <alexander.afanasyev at ucla.edu>
> Subject: Re: [ndnSIM] ndnSIM Digest, Vol 27, Issue 10
> Message-ID:
>         <
> CAGCGGjbXjcMK6aVQdDNGP+UwzB1iukdCmjWQHLdXCnw1NAwuxA at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Alex,
>
> 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? )
>
> Thanks,
> Hitesh
>
>
> On Thu, Feb 12, 2015 at 1:05 AM, <ndnsim-request at lists.cs.ucla.edu> wrote:
>
> > Send ndnSIM mailing list submissions to
> >         ndnsim at lists.cs.ucla.edu
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> >         http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
> > or, via email, send a message with subject or body 'help' to
> >         ndnsim-request at lists.cs.ucla.edu
> >
> > You can reach the person managing the list at
> >         ndnsim-owner at lists.cs.ucla.edu
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of ndnSIM digest..."
> >
> >
> > Today's Topics:
> >
> >    1. Re: [ndnSIM2.0]: Data packet isn't receiving on the other
> >       nodes (Hitesh Wadekar)
> >    2. How to get number of exclusions made for an interest in   the
> >       content store (adithya srinivasan)
> >    3. Re: How to get number of exclusions made for an interest  in
> >       the content store (Alex Afanasyev)
> >    4. shortestpath poblem (narjes aloulou)
> >    5. Re: shortestpath poblem (Alex Afanasyev)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Wed, 11 Feb 2015 09:37:36 -0500
> > From: Hitesh Wadekar <wadekahn at clarkson.edu>
> > To: Alex Afanasyev <alexander.afanasyev at ucla.edu>
> > Cc: ndnsim at lists.cs.ucla.edu
> > Subject: Re: [ndnSIM] [ndnSIM2.0]: Data packet isn't receiving on the
> >         other   nodes
> > Message-ID:
> >         <
> > CAGCGGjZPk9zmv9rj86-KR-s1PQRz0h6KsB9J1GTkDf2xqBaTrQ at mail.gmail.com>
> > Content-Type: text/plain; charset="utf-8"
> >
> > Thank you Alex, it was interest expiration issue.
> > Also, Thanks for sharing the new NFD docs (
> > http://named-data.net/techreport/ndn-0021-3-nfd-developer-guide.pdf).
> >
> > Do we have an ndnSIM IRC where we all can actively chat?
> >
> > Cheer,
> > Hitesh
> >
> >
> > On Mon, Feb 9, 2015 at 5:15 PM, Hitesh Wadekar <hitesh.wadekar at gmail.com
> >
> > wrote:
> >
> > > Thank you Alex for the information. Let me increase the interest
> lifetime
> > > and check whether that could be a problem or not.
> > >
> > > Regards,
> > > Hitesh
> > >
> > >
> > > On Mon, Feb 9, 2015 at 4:42 PM, Alex Afanasyev <
> > > alexander.afanasyev at ucla.edu> wrote:
> > >
> > >> Hi Hitesh,
> > >>
> > >> There are several reasons why data packet be not propagated along the
> > >> interest path.  Most likely it mistmatches the interest or interest
> > expires
> > >> before data packet is retrieved.
> > >>
> > >> To help more, you need to give us a reproducible scenario/example.
> You
> > >> can enable more NFD logging to see what is going on with the data
> packet
> > >> (look for loggers starting ?nfd.? in
> > >> http://ndnsim.net/2.0/doxygen/LogComponentList.html)
> > >>
> > >> ?
> > >> Alex
> > >>
> > >> On Feb 9, 2015, at 1:37 PM, Hitesh Wadekar <wadekahn at clarkson.edu>
> > wrote:
> > >>
> > >> Hello Guys,
> > >>
> > >> I started to porting my code to ndnSIM2.0, however, I am facing a
> weired
> > >> issue, It would be really helpful for me if you guys pointed out some
> > >> suggestion and the steps/tips to debug or identify the reason why it
> so.
> > >>
> > >> I have my code working on old version of ndnSIM, we thought that since
> > >> recently we launched ndnSIM2.0, we have started to port the code on
> it.
> > The
> > >> issue is I am not able to receive the data packet on the other node.
> > >> However, I am able to send interest packet on the all node. The code
> > logic
> > >> and everything is same as sample example given for Consume and
> Producer
> > >> App. Also, I have verified the route as well along with signature/
> > >> wireEncode.
> > >>
> > >> Since I am receiving 'Interest Packet"  hence looks like FIB entries
> > >> (routes) could not be a problem.
> > >>
> > >> Here is sample code that I am using,
> > >>
> > >> void ConsumerApp::SendDataPacket(shared_ptr<const Interest> interest)
> {
> > >>     if (!m_active)
> > >>         return;
> > >>     NS_LOG_FUNCTION(this << interest);
> > >>     std::cout<< "ConsumerApp: Sending a Data Packet -> "<<
> > >> interest->getName() << std::endl;
> > >>
> > >>     Name dataName(interest->getName());
> > >>     auto dPacket = make_shared<Data>();
> > >>     dPacket->setName(dataName);
> > >>     dPacket->setFreshnessPeriod(ndn::time::milliseconds(3000));
> > >>     dPacket->setContent(make_shared<
> > >> ::ndn::Buffer>(m_virtualPayloadSize));
> > >>
> > >>     Signature signature;
> > >>
> > >>     SignatureInfo signatureInfo(static_cast<
> > >> ::ndn::tlv::SignatureTypeValue>(255));
> > >>
> > >>     if (m_keyLocator.size() > 0) {
> > >>         signatureInfo.setKeyLocator(m_keyLocator);
> > >>     }
> > >>
> > >>     signature.setInfo(signatureInfo);
> > >>     signature.setValue(Block(&m_signature, sizeof(m_signature)));
> > >>
> > >>     dPacket->setSignature(signature);
> > >>     dPacket->wireEncode();
> > >>     std::cout << "\n ConsumerApp: Data packet- > " << dPacket->getName
> > ()
> > >> << " is sending from face -> " << m_face << std::endl;
> > >>
> > >>     m_transmittedDatas(dPacket, this, m_face);
> > >>     m_face->onReceiveData(*dPacket);
> > >>     std::cout << "\n";
> > >> }
> > >>
> > >> I am looking forward to hear from you back.
> > >>
> > >> Thank you.
> > >>
> > >> Regards,
> > >> Hitesh Wadekar
> > >> _______________________________________________
> > >> ndnSIM mailing list
> > >> ndnSIM at lists.cs.ucla.edu
> > >> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
> > >>
> > >>
> > >>
> > >
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: <
> >
> http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20150211/09f42f97/attachment-0001.html
> > >
> >
> > ------------------------------
> >
> > Message: 2
> > Date: Wed, 11 Feb 2015 21:54:47 +0530
> > From: adithya srinivasan <adith.ad at gmail.com>
> > To: ndnsim at lists.cs.ucla.edu
> > Subject: [ndnSIM] How to get number of exclusions made for an interest
> >         in      the content store
> > Message-ID:
> >         <
> > CAHwx5S8TBh9mmKtrt0k-QMf50UiadGYwdS_xxgQAUDEWHmEK-Q at mail.gmail.com>
> > Content-Type: text/plain; charset="utf-8"
> >
> > Hello
> > 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.
> >
> > Thank you
> > Adithya S
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: <
> >
> http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20150211/1780e469/attachment-0001.html
> > >
> >
> > ------------------------------
> >
> > Message: 3
> > Date: Wed, 11 Feb 2015 08:40:01 -0800
> > From: Alex Afanasyev <cawka1 at gmail.com>
> > To: adithya srinivasan <adith.ad at gmail.com>
> > Cc: "ndnsim at lists.cs.ucla.edu" <ndnsim at lists.cs.ucla.edu>
> > Subject: Re: [ndnSIM] How to get number of exclusions made for an
> >         interest        in the content store
> > Message-ID: <4D050F2E-4973-4E74-AC6C-C4F3132F1548 at gmail.com>
> > Content-Type: text/plain; charset="us-ascii"
> >
> > Hi Adithya,
> >
> > Can you define more precisely "the number of exclusions"?
> >
> > As for attaching some information. For simulation purposes, you can
> always
> > use NS-3 packet tags to add/retrieve arbitrary information to any packet.
> >
> > ---
> > Alex
> >
> > > On Feb 11, 2015, at 8:24 AM, adithya srinivasan <adith.ad at gmail.com>
> > wrote:
> > >
> > > Hello
> > > 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.
> > >
> > > Thank you
> > > Adithya S
> > -------------- next part --------------
> > A non-text attachment was scrubbed...
> > Name: smime.p7s
> > Type: application/pkcs7-signature
> > Size: 2574 bytes
> > Desc: not available
> > URL: <
> >
> http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20150211/bca80159/attachment-0001.bin
> > >
> >
> > ------------------------------
> >
> > Message: 4
> > Date: Thu, 12 Feb 2015 00:55:05 +0000
> > From: narjes aloulou <aloulounarjes at yahoo.fr>
> > To: ndnsim at lists.cs.ucla.edu
> > Subject: [ndnSIM] shortestpath poblem
> > Message-ID:
> >         <1423702505.38066.YahooMailBasic at web172104.mail.ir2.yahoo.com>
> > Content-Type: text/plain; charset=utf-8
> >
> > Hi,
> >
> > 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.
> >
> > Any solution to resolve this problem , please?
> > Are there any way to use ShortestPath without using the
> > ndnGlobalRoutingHelper ?
> >
> >
> > Best Regards
> >
> >
> >
> > ------------------------------
> >
> > Message: 5
> > Date: Wed, 11 Feb 2015 22:05:26 -0800
> > From: Alex Afanasyev <alexander.afanasyev at ucla.edu>
> > To: narjes aloulou <aloulounarjes at yahoo.fr>
> > Cc: ndnsim at lists.cs.ucla.edu
> > Subject: Re: [ndnSIM] shortestpath poblem
> > Message-ID: <19021100-E590-4A99-82A3-1CD816B2113B at ucla.edu>
> > Content-Type: text/plain; charset="utf-8"
> >
> > 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.
> >
> > If still fails, you can compute all routes and prefixes offline and
> > install them directly using FibHelper.
> >
> > --
> > Alex
> >
> > > On Feb 11, 2015, at 4:55 PM, narjes aloulou <aloulounarjes at yahoo.fr>
> > wrote:
> > >
> > > Hi,
> > >
> > > 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.
> > >
> > > Any solution to resolve this problem , please?
> > > Are there any way to use ShortestPath without using the
> > ndnGlobalRoutingHelper ?
> > >
> > >
> > > Best Regards
> >
> > -------------- next part --------------
> > A non-text attachment was scrubbed...
> > Name: signature.asc
> > Type: application/pgp-signature
> > Size: 841 bytes
> > Desc: Message signed with OpenPGP using GPGMail
> > URL: <
> >
> http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20150211/c6c16478/attachment.bin
> > >
> >
> > ------------------------------
> >
> > Subject: Digest Footer
> >
> > _______________________________________________
> > ndnSIM mailing list
> > ndnSIM at lists.cs.ucla.edu
> > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
> >
> >
> > ------------------------------
> >
> > End of ndnSIM Digest, Vol 27, Issue 10
> > **************************************
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20150212/29452453/attachment.html
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>
>
> ------------------------------
>
> End of ndnSIM Digest, Vol 27, Issue 11
> **************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20150212/fc3510bf/attachment.html>


More information about the ndnSIM mailing list