[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sr-users
Subject:    Re: [SR-Users] Debian: Kamailio: -> FIN - SYN -> on new port
From:       Yuriy Gorlichenko <ovoshlook () gmail ! com>
Date:       2022-05-26 9:05:20
Message-ID: CABSP_Vcy7AGNNG2_ugPav9628fNs+QGnUe00ahQn1XYxJZJEsg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Usually Kamailio tries to establish connection with the port was described
in latest contact from client. Whydo you expect to call other port?

And the second question - there are keepalive tcp mechanics available at
the kamailio side and reuse port as well. Why not use it to avoid
reistablishing connection?

On Thu, 26 May 2022, 08:04 Kevin Browne, <ktjbrowne@gmail.com> wrote:

> Hi, am looking for some specific Kamailio help i cant seem to find
> anywhere (
>
> #
>
> running Kamailio on Debian/buster ...
>
> ##
>
> after receipt of tcp FIN, port is closed.
>
> when signaling is required again from Kamailio side.
>
> Kam is attempting SYN on FINd (closed) port.
>
> this is rejected RST.
>
> How to change SYN to re-establish tcp on new ephemeral port?
>
>
> ##
>
> another description, same problem:
>
> FIN received from (external) cisco (call owner) due to port recycling, not
> to keep port open after x minutes. everything is as expected re ACKs and
> such.
> When Kam wants to send REFER to cisco after the FIN, tcp attempts a SYN
> (as we'd expect) but sends SYN on old closed port.
>
> ##
>
> Where to change this Kam/OS/other is where i'm attempting to identify,
> then figure how to change.
>
> Thank you.
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
>   * sr-users@lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to
> the sender!
> Edit mailing list options or unsubscribe:
>   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>

[Attachment #5 (text/html)]

<div dir="auto">Usually Kamailio tries to establish connection with the port was \
described in latest contact from client. Whydo you expect to call other port?<div \
dir="auto"><br></div><div dir="auto">And the second question - there are keepalive \
tcp mechanics available at the kamailio side and reuse port as well. Why not use it \
to avoid reistablishing connection?</div></div><br><div class="gmail_quote"><div \
dir="ltr" class="gmail_attr">On Thu, 26 May 2022, 08:04 Kevin Browne, &lt;<a \
href="mailto:ktjbrowne@gmail.com">ktjbrowne@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><p \
style="margin:0px;white-space:pre-wrap">Hi, am looking for some specific Kamailio \
help i cant seem to find anywhere (<br><br></p><p \
style="margin:0px;white-space:pre-wrap">#</p><p \
style="margin:0px;white-space:pre-wrap">running Kamailio on Debian/buster \
...<br><br></p><p style="margin:0px;white-space:pre-wrap">##</p><p \
style="margin:0px;white-space:pre-wrap">after receipt of tcp FIN, port is \
closed.</p><p style="margin:0px;white-space:pre-wrap">when signaling is required \
again from Kamailio side. </p><p style="margin:0px;white-space:pre-wrap">Kam is \
attempting SYN on FINd (closed) port.</p><p \
style="margin:0px;white-space:pre-wrap">this is rejected RST.</p><p \
style="margin:0px;white-space:pre-wrap">How to change SYN to re-establish tcp on new \
ephemeral port?</p><p style="margin:0px;white-space:pre-wrap"><br></p><p \
style="margin:0px;white-space:pre-wrap">##</p><p \
style="margin:0px;white-space:pre-wrap">another description, same problem: </p><p \
style="margin:0px;white-space:pre-wrap">FIN received from (external) cisco (call \
owner) due to port recycling, not to keep port open after x minutes. everything is as \
expected re ACKs and such.<br>When Kam wants to send REFER to cisco after the FIN, \
tcp attempts a SYN (as we&#39;d expect) but sends SYN on old closed \
port.<br><br></p><p style="margin:0px;white-space:pre-wrap">##</p><p \
style="margin:0px;white-space:pre-wrap">Where to change this Kam/OS/other is where \
i&#39;m attempting to identify, then figure how to change.<br></p><p \
style="margin:0px;white-space:pre-wrap">Thank you.</p></div> \
__________________________________________________________<br> Kamailio - Users \
                Mailing List - Non Commercial Discussions<br>
   * <a href="mailto:sr-users@lists.kamailio.org" target="_blank" \
                rel="noreferrer">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 noreferrer" \
target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br> \
</blockquote></div>



__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic