<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FR" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Thank you for the various information about this incident on the userlist and github.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">We are using Postgresql on Freeswitch server itself.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">The version of Freeswitch is 1.10.5-release-17-25569c1631~64bit On Debian 10.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">I cannot reproduce the problem on our development environment with thousands of registrations and thousands of calls, for this reason I suspect some unexpected behavior of the web client,
and I note that a few TCP connections: on wss:7443 remain after the Register they carry is completed.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">I am looking for a solution on the Freeswitch side to close them on inactivity timeout.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">If we are successful in causing the problem, we will release the core as you recommend.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">As for the transition to version 1.10.6, this is a track that we will try.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Best Regards.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">remi.marand@odigo.com<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>De :</b> FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org>
<b>De la part de</b> Stefan Kainz<br>
<b>Envoyé :</b> lundi 24 mai 2021 17:42<br>
<b>À :</b> FreeSWITCH Users Help<br>
<b>Objet :</b> Re: [Freeswitch-users] RE - Internal Interface suddenly freezes<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Another one :) <o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">At this point we have a script that restarts freeswitch every time this happens. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">We don’t really have a solution for this so far, and are out of things to test … <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">May I ask if you have an external interface in your setup? Does that interface freeze too?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">We have a external interface, and it looks like it doesn’t happen to that one. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">We also have a third interface called “alternate_routing”, which doesn’t handle registrations or presence. Like the external interface it doesn’t freeze. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Do you use Mariadb/ODBC for odbc-core?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Im hoping the GitHub-issue gets some attention soon.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Maybe it helps if some of you also post a backtrace when this happens.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">To your problem, can you confirm that this isn’t some sort of SYN-Flood-Attack?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Maybe check the IP’s that are connected. I think its pretty easy to find out if those are real-users or hackers. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Regards, <o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">On 22.05.2021, at 08:22, Rémi MARAND <<a href="mailto:remi.marand@odigo.com">remi.marand@odigo.com</a>> wrote:<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">Hello,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">It seems we have the same problem, it doesn't happen often, but the Register part of internal profile does crash.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">I observe that the number of connections established on the WSS port (7443) sometimes exceeds the number of active registrations. (netstat -tpa)..</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">It could be really important (2 or 3 times the number of Registrations), it could of course be a software problem on the WebRTC (Front) client side.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Is there a way on the Freeswitch side in the configuration to disconnect TLS connections that are no longer registered? On timeout for example.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Best regards.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Rémi Marand.<br>
<a href="mailto:remi.marand@odigo.com">remi.marand@odigo.com</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<div>
<p class="MsoNormal"><b>De :</b><span class="apple-converted-space"> </span>FreeSWITCH-users <<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>><span class="apple-converted-space"> </span><b>De
la part de</b><span class="apple-converted-space"> </span>Kakiman Expert<br>
<b>Envoyé :</b><span class="apple-converted-space"> </span>vendredi 30 avril 2021 15:34<br>
<b>À :</b><span class="apple-converted-space"> </span><a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
<b>Objet :</b><span class="apple-converted-space"> </span>[Freeswitch-users] RE - Internal Interface suddenly freezes<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">hello<o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal">Did you find any solution to this issue ?<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal">I am in production with 1.10.5 version and since a week, I have the same issue.<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal">The internal profile is out of service and registration is impossible.<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal">and we don't have any answer to "sofia status profile internal" , the prompt in fs_cli keeps waiting.<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal">the only way to solve is to restart freeswitch<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal">thanks<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal">regards<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif">_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://fra01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsignalwire.com%2F&data=04%7C01%7Cremi.marand%40odigo.com%7Cc21cdf6907d44ea1c06e08d91ed10b06%7Cbfa2632f99e14088a16c21c08ca1b899%7C1%7C0%7C637574706286402341%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=ErO5HUFeGleVriKJrfrE3SQScoR2S6OBfUUKoL2qcVA%3D&reserved=0">
https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://fra01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsignalwire.community%2F&data=04%7C01%7Cremi.marand%40odigo.com%7Cc21cdf6907d44ea1c06e08d91ed10b06%7Cbfa2632f99e14088a16c21c08ca1b899%7C1%7C0%7C637574706286402341%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=jRU2wmhkEvwEwtwjVIxH4toOG6VIthCuK%2BjzhciUVfI%3D&reserved=0">
https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com">sales@freeswitch.com</a><br>
<a href="https://fra01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffreeswitch.com%2F&data=04%7C01%7Cremi.marand%40odigo.com%7Cc21cdf6907d44ea1c06e08d91ed10b06%7Cbfa2632f99e14088a16c21c08ca1b899%7C1%7C0%7C637574706286412328%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=RYD0uGkENHaHeqlDEa8NkrCGIIjhYIt%2BjBx7B6aE0Tg%3D&reserved=0">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://fra01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffreeswitch.com%2Foss&data=04%7C01%7Cremi.marand%40odigo.com%7Cc21cdf6907d44ea1c06e08d91ed10b06%7Cbfa2632f99e14088a16c21c08ca1b899%7C1%7C0%7C637574706286412328%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=dKk8OgjO19FQftLQZGY267%2Bn8SFVDv6411%2FE6N69k8c%3D&reserved=0">https://freeswitch.com/oss</a><br>
<a href="https://fra01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffreeswitch.org%2Fconfluence&data=04%7C01%7Cremi.marand%40odigo.com%7Cc21cdf6907d44ea1c06e08d91ed10b06%7Cbfa2632f99e14088a16c21c08ca1b899%7C1%7C0%7C637574706286412328%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=yZzlKf%2BS%2B0%2Fvxg2brQtqrP6X6CFiuJE0jjooYmXZv68%3D&reserved=0">https://freeswitch.org/confluence</a><br>
<a href="https://fra01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcluecon.com%2F&data=04%7C01%7Cremi.marand%40odigo.com%7Cc21cdf6907d44ea1c06e08d91ed10b06%7Cbfa2632f99e14088a16c21c08ca1b899%7C1%7C0%7C637574706286422330%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=JCl9v%2BoOPxgNqztDNZs%2BFJSqi3Fei147g9PvqA1cCdQ%3D&reserved=0">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="https://fra01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.freeswitch.org%2Fmailman%2Flistinfo%2Ffreeswitch-users&data=04%7C01%7Cremi.marand%40odigo.com%7Cc21cdf6907d44ea1c06e08d91ed10b06%7Cbfa2632f99e14088a16c21c08ca1b899%7C1%7C0%7C637574706286422330%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=JcyXvQPJSnYM9asaljtab8Z3eAqjTdq9OPUuy1aJ4eY%3D&reserved=0">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="https://fra01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.freeswitch.org%2Fmailman%2Foptions%2Ffreeswitch-users&data=04%7C01%7Cremi.marand%40odigo.com%7Cc21cdf6907d44ea1c06e08d91ed10b06%7Cbfa2632f99e14088a16c21c08ca1b899%7C1%7C0%7C637574706286432317%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=djgd01UzDCV106iUxLZcTitp7MJXTWDqUek2iZK4p1s%3D&reserved=0">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://fra01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffreeswitch.com%2F&data=04%7C01%7Cremi.marand%40odigo.com%7Cc21cdf6907d44ea1c06e08d91ed10b06%7Cbfa2632f99e14088a16c21c08ca1b899%7C1%7C0%7C637574706286432317%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=K9o11zWXDu7VrNLwshZ3LKa4aVIOSjByioSrmuE3cow%3D&reserved=0">https://freeswitch.com</a></span><o:p></o:p></p>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>