[ndnSIM] Different pits

Lucas De Azevedo Vaccari Simao lucasavs at id.uff.br
Thu May 28 15:54:16 PDT 2015

I'm trying to emulate some denial of services attacks, and for that i
needed set the size of the pit from each node. And i wanted to show how the
attacks would behave in different strategies.
Actually i just need to set the value in the node that i expect the attack
to happen, but for that i need install different pits in differents nodes.
Or change the pit size inside each one someway.
And i was using the value of m_nItems to check if the pit is full or not.
Is that a good idea?

2015-05-28 18:42 GMT-03:00 Spyridon (Spyros) Mastorakis <
spiros.mastorakis at gmail.com>:

> Hi,
> NFD does not limit the size of a PIT. If you want to control the incoming
> Interest rate, you could code a forwarding strategy for this purpose. May I
> ask why would you like to limit the size of a PIT?
> --
> Spyridon (Spyros) Mastorakis
> Personal Website: http://cs.ucla.edu/~mastorakis/
> Internet Research Laboratory
> PhD Computer Science
> > On May 28, 2015, at 2:36 PM, Lucas De Azevedo Vaccari Simao <
> lucasavs at id.uff.br> wrote:
> >
> > I was wondering if is possible to work with different pits in this
> version of the simulator. More precisely, i need to change an size
> attribute (the pit class was modified) in one consumer, or at least install
> different pits in different nodes.
> > Whenever i try to change the attribute of one specific node in the
> simulator, the same attribute is changed in all nodes.
> >
> > btw, i'm trying to use
> >
> consumerWhoNeedPITSizeChanged->GetObject<ndn::L3Protocol()->getForwarder()->getPit()
> to get the pit i need to change.
> > _______________________________________________
> > 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/20150528/3476879b/attachment.html>

More information about the ndnSIM mailing list