<div dir="ltr">Hi all,<div><br></div><div>I'm testing and moving my kamailio script to use the newer secfilter module.<br clear="all"><div><br></div><div>In the past, I was replying "200 Ok" to "friendly scanners"...</div><div><br></div><div>With the newer secfilter module, it looks like I can't send a reply with "sl_send_reply("200", "OK")"</div><div><br></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>secf_check_ua();</div></div><div><div>if ($? == -2) {</div></div><div><div>  sl_send_reply("200", "OK");</div></div><div><div>  exit;</div></div><div><div>}</div></div></blockquote><div><div><br></div><div>I have read the code of the secfilter, but I was not able to see any specific code to silently discard the SIP request.</div><div><br></div><div>I can see in the documentation about "secf_check_sqli_all", that the SIP message is supposed to be "dropped". I can see "w_check_sqli_all" returns 0 on detection and w_check_ua returns -2 upon detection.</div><div><br></div><div>Are the message discarded because a negative value was returned?</div><div><br></div><div>Would it be doable, using the secfilter, to still reply 200 Ok?</div><div>Regards</div><div>Aymeric</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><img src="http://sip.antisip.com/am48.png">Antisip - <a href="http://www.antisip.com" target="_blank">http://www.antisip.com</a><br></div></div></div>