<div dir="ltr"><div>Hi,</div><div><br></div><div>For only UDP, you can try 
<code>force_send_sock</code> with UDP socket there.<br></div><div><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Jurijs<br></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 2, 2022 at 5:31 PM Igor Olhovskiy <<a href="mailto:igorolhovskiy@gmail.com">igorolhovskiy@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello,</div><div><br></div><div>Found an interesting scenario, maybe something could be done here.</div><div>I have a siptrace module configured like</div><div><br></div><div>modparam("siptrace", "duplicate_uri", "sip:<MY_HOMER_SERVER>:9060")<br>modparam("siptrace", "hep_mode_on", 1)<br>modparam("siptrace", "trace_to_database", 0)<br>modparam("siptrace", "trace_on", 1)<br>modparam("siptrace", "hep_version", 3)<br>modparam("siptrace", "trace_mode", 1)</div><div><br></div><div>When Kamailio is under stress test (sipflood via OPTIONS/TLS), with this settings it transfers all flood to HOMER server.</div><div><br></div><div>At some point Kamailio just stops accepting any new TLS connections. </div><div><br></div><div>Turning off siptrace solves this issue. <br></div><div><br></div><div>As I got, siptrace module is not changing protocol of the message (means not converting TCP/UDP) or so. Could it be possible, that at some point siptrace "eats" all TCP connections (especially if remote HOMER is down or not answering) which leads Kamailio to stop processing any new connections?</div><div><br></div><div>And is it possible to send HEP traffic only via UDP to prevent this?</div><div><br></div><div>Yes, sure other option is to trace only "legal" traffic<br></div><div><br>-- <br><div dir="ltr"><div dir="ltr">Best regards,<div>Ihor (Igor)<br></div></div></div></div></div>
__________________________________________________________<br>
Kamailio - Users Mailing List - Non Commercial Discussions<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
Important: keep the mailing list in the recipients, do not reply only to the sender!<br>
Edit mailing list options or unsubscribe:<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>