<div dir="ltr">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. <br>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.<br>And i was using the value of m_nItems to check if the pit is full or not. Is that a good idea?<br><div class="gmail_extra"><br><div class="gmail_quote">2015-05-28 18:42 GMT-03:00 Spyridon (Spyros) Mastorakis <span dir="ltr"><<a href="mailto:spiros.mastorakis@gmail.com" target="_blank">spiros.mastorakis@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
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?<br>
<br>
--<br>
Spyridon (Spyros) Mastorakis<br>
Personal Website: <a href="http://cs.ucla.edu/~mastorakis/" target="_blank">http://cs.ucla.edu/~mastorakis/</a><br>
Internet Research Laboratory<br>
PhD Computer Science<br>
UCLA<br>
<div><div class="h5"><br>
> On May 28, 2015, at 2:36 PM, Lucas De Azevedo Vaccari Simao <<a href="mailto:lucasavs@id.uff.br">lucasavs@id.uff.br</a>> wrote:<br>
><br>
> 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.<br>
> Whenever i try to change the attribute of one specific node in the simulator, the same attribute is changed in all nodes.<br>
><br>
> btw, i'm trying to use<br>
> consumerWhoNeedPITSizeChanged->GetObject<ndn::L3Protocol()->getForwarder()->getPit() to get the pit i need to change.<br>
</div></div>> _______________________________________________<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>
</blockquote></div><br></div></div>