<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Hi again,</div><div><br></div><div>Unless I have misunderstood you, the policy that you describing is actually ns3::ndn::pit::Persistent.  Under this policy, when limit has been reached, no new items will be accepted.</div><div><br></div><div>---</div><div>Alex</div><br><div><div>On Dec 18, 2013, at 10:10 PM, sajjad zarei <<a href="mailto:sajjadzarei67@gmail.com">sajjadzarei67@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div><div>Tnx for your reply.<br></div>I used class below in order to limit PIT size and set maxsize=50 <br>ndnHelper.SetPit ("ns3::ndn::pit::...",<br>

                  "MaxSize", 50);<br>
<br></div><div>It uses 'reject policy'.but I dont want  this policy.I am looking for a policy that if PIT is full then new interests will drop.<br>would you please help me with suggesting an appropriate solution to the issue above?<br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Dec 18, 2013 at 1:20 PM, Alex Afanasyev <span dir="ltr"><<a href="mailto:alexander.afanasyev@ucla.edu" target="_blank">alexander.afanasyev@ucla.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If you set MaxSize 0, it means that PIT is not limited.  You have to set some limit that is not 0.<br>
<br>
---<br>
Alex<br>
<div class="HOEnZb"><div class="h5"><br>
On Dec 17, 2013, at 8:36 AM, sajjad zarei <<a href="mailto:sajjadzarei67@gmail.com">sajjadzarei67@gmail.com</a>> wrote:<br>
<br>
><br>
> hi.<br>
> I am intending to simulate flooding DDoS attack against PIT in NDN.<br>
> I need to use  class below in order to limit PIT size!<br>
><br>
> ndnHelper.SetPit ("ns3::ndn::pit::...",<br>
>                   "MaxSize", "0");<br>
><br>
> when I used "persistent".I didn't see customer DDoS and no new interest was dropped.<br>
><br>
> I am looking for a policy such that if PIT is full, new interests are dropped.<br>
> would you please help me with suggesting an appropriate solution to the issue above.<br>
><br>
<br>
</div></div></blockquote></div><br></div>
</blockquote></div><br></body></html>