<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
can you get a verbose debug log (debug=4)?<br>
<br>
Thanks,<br>
Daniel<br>
<br>
On 9/10/10 1:58 PM, Miguel Baptista wrote:
<blockquote cite="mid:4C8A1D5B.6060102@uninett.no" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Hi All,<br>
<br>
I'm running kamailio-1.5.4-tls and I want to enable pike module in
it.<br>
I did some test but it isn't working properly. I mean it isn't
acting
according to the <i>remove_latancy</i> parameter. When an IP
address
is blocked (cause it triggered the pike module), it should be
blocked
for the amount of time (seconds I presumed) defined on the <i>remove_latancy
</i>parameter, right? but it isn't<br>
<br>
Here is my pike module config (it's just a test config)<br>
<br>
# ---- Pike --- /* we are usign default values. We should tunning
it
up */<br>
modparam("pike", "sampling_time_unit", 30) <br>
modparam("pike", "reqs_density_per_unit", 10) <br>
modparam("pike", "remove_latency", 3600) <br>
modparam("pike", "pike_log_level",-1)<br>
<br>
<br>
and here is the output<br>
<br>
<i>Sep 10 <b>13:33:35</b> sip
/home/kamailio/sbin/kamailio[21414]:
PIKE - BLOCKing ip XXX.XXX.XXX.XXX, node=0xb5a2eb58 <br>
Sep 10 13:33:35 sip /home/kamailio/sbin/kamailio[21414]:
Warning: too
many requests from XXX.XXX.XXX.XXX:5060 <br>
Sep 10 <b>13:34:12</b> sip /home/kamailio/sbin/kamailio[21420]:
PIKE -
UNBLOCKing node 0xb5a2eb58 <br>
...<br>
<br>
Sep 10 <b>13:35:22</b> sip /home/kamailio/sbin/kamailio[21418]:
PIKE -
BLOCKing ip XXX.XXX.XXX.XXX,, node=0xb5a2eb58 <br>
Sep 10 13:35:22 sip /home/kamailio/sbin/kamailio[21418]:
Warning: too
many requests from XXX.XXX.XXX.XXX,:5060 <br>
Sep 10 <b>13:36:12</b> sip /home/kamailio/sbin/kamailio[21420]:
PIKE -
UNBLOCKing node 0xb5a2eb58 <br>
</i><br>
Shouldn't it be blocked for 3600 seconds?<br>
<br>
Then I changed the <i>remove_latancy</i> parameter to <i>modparam("pike",
"remove_latency",
334500) </i><br>
<i><br>
Sep 10 <b>13:37:09</b> sip /home/kamailio/sbin/kamailio[21462]:
PIKE -
BLOCKing ip XXX.XXX.XXX.XXX,, node=0xb5986b90 <br>
Sep 10 13:37:09 sip /home/kamailio/sbin/kamailio[21462]:
Warning: too
many requests from XXX.XXX.XXX.XXX,:5060 <br>
Sep 10 <b>13:37:52</b> sip /home/kamailio/sbin/kamailio[21466]:
PIKE -
UNBLOCKing node 0xb5986b90 <br>
</i><br>
but the it didn't seem to have any real difference.<br>
<br>
Any ideas? <i><br>
</i><br>
Best Regards,<br>
<br>
Miguel Baptista<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre>
</body>
</html>