<font color="#000066"><font face="comic sans ms,sans-serif">Hi,<br>I'm trying to use pike module and i'm using the script above, but when i execute this command " opensipsctl fifo pike_list"<br>i don't get any address blocked<br>
My opensips config is:<br><br>loadmodule "pike.so"<br>modparam("pike", "sampling_time_unit", 10)<br>modparam("pike", "reqs_density_per_unit", 30)<br>modparam("pike", "remove_latency", 120)<br>
modparam("pike", "check_route","pike") # enable automatic checking<br>modparam("pike", "pike_log_level",1)<br><br>route[pike]<br>{<br> if (src_ip==x.x.x.x ||src_ip==gw_ip) # Trusted IP<br>
xlog("L_INFO", "in pike route ");<br> drop();<br>}<br><br>have you an idea please toresolve that?<br></font></font><br><div class="gmail_quote">2012/10/8 SamyGo <span dir="ltr"><<a href="mailto:govoiper@gmail.com" target="_blank">govoiper@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>Hi,<br>
Relax it says its Friendly !! </p>
<p>But still if you want to block it you've many options i.e in opensips.cfg start put a condition $ua =~ "friendly-scanner". If matched return stateless some error.<br>
Other option is to use pike module.<br>
Another option is use fail2ban for opensips logs. <br>
More sophisticated options involve firewalls with IPS and IDS modules.</p>
<p>I hope it was helpful.</p>
<p>BR<br>
Sammy<br>
</p>
<div class="gmail_quote"><div><div class="h5">On Oct 8, 2012 2:33 PM, "Engineer voip" <<a href="mailto:forvoip4@gmail.com" target="_blank">forvoip4@gmail.com</a>> wrote:<br type="attribution"></div></div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<font face="comic sans ms,sans-serif">Hi All,<br>I receveid several packets </font><font face="comic sans ms,sans-serif"><font face="comic sans ms,sans-serif"> of registration </font>from a </font><font face="comic sans ms,sans-serif"> "friendly-scanner" on my opensips server<br>
how can i do to block that please??<br clear="all"></font><br>-- <br><font color="#663300"><font face="comic sans ms,sans-serif"><br><span>Best Regards.</span><br></font></font><br><br>
<br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><font color="#663300"><font face="comic sans ms,sans-serif"><br><span style="color:rgb(0,0,0)">Best Regards.</span><br></font></font><br><br>