<div dir="ltr">Hi Folks<div><br></div><div>So I will get straight to the point, I am trying to figure out some answers on <b>icmp_ratelimit</b> and <b>icmp_ratemask</b> based on the <a href="https://mailtrack.io/trace/link/1ab83c495d25602c6b2de3095e1a1fa4b795d988?url=https%3A%2F%2Fman7.org%2Flinux%2Fman-pages%2Fman7%2Ficmp.7.html&userId=2153471&signature=34cf95fe977ddeef" target="_blank">man page</a>.</div><div><br></div><div><div>The questions are:</div><div><ol><li style="margin-left:15px">How can we determine the Packet per second rate on any given rate-limit value (say 10)? Without of course going the hard way of benchmarking it by ICMP flooding.</li><li style="margin-left:15px">Just what exactly is the <b>correct mask</b> in <b>Binary form</b> to <b>include all</b> known ICMP types instead of just the default mask? Been having a hard time with this one.</li><li style="margin-left:15px">Do we have something of this nature for <b>IPv6 </b>in the Kernel? I don't see it in most Linux based NetworkOSes as a documented feature.</li></ol></div><div>Default rate-mask below, just can't get it through my head. Maybe we should also look at revising the documentation wordings for it and possibly make some changes to the actual code to simplify the bit mapping?</div><div><br></div><div>My best guess is that is is the answer to question <b>2</b>: <b>1111111100100111001</b></div><div><br></div><div><img src="cid:ii_kxst7h4b0" alt="image.png" width="536" height="476" class="gmail-CToWUd gmail-a6T" tabindex="0" style="cursor: pointer; outline: 0px;"><br></div></div><div><div><div dir="ltr"><br></div></div></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><font color="#000000" face="arial, sans-serif"><b>--</b><br></font><div><font color="#000000" face="arial, sans-serif">Best Regards</font></div><div><font color="#000000" face="arial, sans-serif">Daryll Swer</font></div><div><font color="#000000" face="arial, sans-serif">Website: <a href="https://mailtrack.io/trace/link/2f87aeb108f5e5520487e1f3abc5bad533b8b292?url=https%3A%2F%2Fwww.daryllswer.com&userId=2153471&signature=c8931df0c4a38427" target="_blank">daryllswer.com</a></font></div></div></div></div><img width="0" height="0" class="mailtrack-img" alt="" style="display:flex" src="https://mailtrack.io/trace/mail/c1e5714138d06cb683aa40966097fabbbc019024.png?u=2153471"></div>