<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El mié., 14 de ago. de 2019 a la(s) 04:55, Daniel Tryba (<a href="mailto:d.tryba@pocos.nl">d.tryba@pocos.nl</a>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tue, Aug 13, 2019 at 03:57:36PM -0430, PICCORO McKAY Lenz wrote:<br>
> # this it's my setup for pike due the dinamyc ip and devices over the internet:<br>
> modparam("pike", "sampling_time_unit", 4)<br>
> modparam("pike", "reqs_density_per_unit", 80)<br>
> modparam("pike", "remove_latency", 60)<br></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">With above settings a client will be banned if it sends more than 80<br>
messages per 4s. And ipaddresses will be tracked by pike for at max 60s<br>
after the last request.<br></blockquote><div>Thanks a lot, the language barrier confused all, you confirmed to me.. <br>that the pike only are a tool to property ban with htable.. thanks o lot<br></div><div><br></div><div>But now have a doub, please guide me with that: <br></div><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

Wheter the config id good depends on the behavior of your clients. A<br>
simple SIP phone will only send a couple of messages per second. A<br>
multitenant machine can send many depending on the number of channels<br>
and trunks configured (and the way it may REGISTER, e.g. asterisk tries<br>
to REGISTER all trunks at the same time (sequentially))<br></blockquote><div><br></div><div>you said: " A
simple SIP phone will only send a couple of messages per second"<br><br></div><div>so if i have that special case with dinamyc ip in clients.. who could be better to not confuse those clients with intents of attacks?<br><br>oh, also i put for scanners that:<br><br></div><div>if($ua =~ "friendly-scanner") {<br>   xlog("L_ALERT", "friendly scanning incoming $rm IP:$si:$sp - R:$ruri - F:$fu - T:$tu - UA:$ua - $rm\n");<br>  $sht(ipban=>$si) = 1;<br>   drop();<br>}<br><br></div><div>so i ban the ip where the friendly scanner are made for a while, it's that correct?<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
<br>
<br>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div></div></div></div>