<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Jurijs,</p>
<p>That's exactly how I'm trying.<br>
</p>
<div class="moz-cite-prefix">Le 02/11/2022 à 18:14, Jurijs Ivolga a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CAOrA2UZmMorT34P9S0ybAiHxNUWMvt5n5xg-RWgncvYjoWtXyA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>How did you configure force_send_sock?</div>
<div><br>
</div>
<div>it should be something like this:</div>
<div><br>
</div>
<div>modparam("siptrace", "force_send_sock", "sip:<a
href="http://192.168.1.210:5066" moz-do-not-send="true">192.168.1.210:5066</a>")</div>
<div><br>
</div>
<div>I'm guessing instead of sip, you are putting udp...<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 6:12 PM
Igor Olhovskiy <<a href="mailto:igorolhovskiy@gmail.com"
moz-do-not-send="true" class="moz-txt-link-freetext">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>That's what I tried first and got:</div>
<div><br>
</div>
<div>ERROR: siptrace [<a class="moz-txt-link-freetext" href="siptrace.c:392">siptrace.c:392</a>]: mod_init(): bad send
sock address</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Le mer. 2 nov. 2022
à 15:58, Jurijs Ivolga <<a
href="mailto:jurijs.ivolga@gmail.com" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">jurijs.ivolga@gmail.com</a>>
a écrit :<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>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">
<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"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">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" moz-do-not-send="true"
class="moz-txt-link-freetext">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"
moz-do-not-send="true" class="moz-txt-link-freetext">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote>
</div>
__________________________________________________________<br>
Kamailio - Users Mailing List - Non Commercial Discussions<br>
<a href="mailto:sr-users@lists.kamailio.org"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">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" moz-do-not-send="true"
class="moz-txt-link-freetext">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote>
</div>
<br clear="all">
<br>
-- <br>
<div dir="ltr">
<div dir="ltr">Best regards,
<div>Ihor (Igor)<br>
</div>
</div>
</div>
__________________________________________________________<br>
Kamailio - Users Mailing List - Non Commercial Discussions<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">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" moz-do-not-send="true"
class="moz-txt-link-freetext">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
</body>
</html>