<p dir="ltr">We actually built a test server, but weren&#39;t able to reproduce the issue.<br>
I can bring it up again if needed.<br></p>
<div class="gmail_extra"><br><div class="gmail_quote">On 10 Nov 2016 20:25, &quot;Emrah&quot; &lt;<a href="mailto:lists@kavun.ch">lists@kavun.ch</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">I agree, as long as I get to reproduce it that way. I am suspecting everything here. From the keysize to the CA to the TCP transport getting compromised to openssl not reliably transmitting certain packets to FS.<div><br></div><div>Thanks for the suggestion<br><div><blockquote type="cite"><div>On Nov 10, 2016, at 5:58 PM, Alejandro Recarey &lt;<a href="mailto:ar@cyberfonica.com" target="_blank">ar@cyberfonica.com</a>&gt; wrote:</div><br class="m_3782603778609869756Apple-interchange-newline"><div><div dir="auto"><div></div><div>You could either use a self-signed cert for a nonexistent domain (<a href="http://example.com/" target="_blank">example.com</a>?) and modify your hosts file or DNS to point to he server. I think that should give you an environment to reproduce the crash which you could share without leaking your private cert.</div><div><br></div><div><br>On 9 Nov 2016, at 20:28, Emrah &lt;<a href="mailto:lists@kavun.ch" target="_blank">lists@kavun.ch</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><div dir="auto" style="word-wrap:break-word">It&#39;s the &quot;reliably&quot; part that&#39;s tricky. <div>I&#39;m using commercial certificates, so let me figure out how to replicate a similar environment. I&#39;ll email you the info once I have a setup, and you can circulate where needed.</div><div><br></div><div>Thanks for helping on this</div><div><div><blockquote type="cite"><div>On Nov 9, 2016, at 4:25 PM, Michael Jerris &lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt; wrote:</div><br class="m_3782603778609869756Apple-interchange-newline"><div><div style="word-wrap:break-word">I need a recipie to reliably reproduce this so I can dig in the code.  Is there a way you can put together an environment where this can be reproduced on demand?<div><br><div><blockquote type="cite"><div>On Nov 9, 2016, at 3:39 AM, Emrah &lt;<a href="mailto:lists@kavun.ch" target="_blank">lists@kavun.ch</a>&gt; wrote:</div><br class="m_3782603778609869756Apple-interchange-newline"><div><div style="word-wrap:break-word">No Sir, the response packet to the 407 Proxy Authentication Required is never received. So the session then eventually gets abandoned by FS. On the client side, and this is generalized, the packet is sent, except the TLS session breaks.<div><br><div><blockquote type="cite"><div>On Nov 8, 2016, at 11:41 PM, Michael Jerris &lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt; wrote:</div><br class="m_3782603778609869756Apple-interchange-newline"><div><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">Can you confirm if the packet is shown in freeswitch tport_log?</span><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br><div><blockquote type="cite"><div>On Nov 8, 2016, at 5:02 PM, Emrah &lt;<a href="mailto:lists@kavun.ch" target="_blank">lists@kavun.ch</a>&gt; wrote:</div><br class="m_3782603778609869756Apple-interchange-newline"><div><div style="word-wrap:break-word">Hello List,<div>Thanks to the help provided by Stanislav, I learned of issue #9113, <span style="color:rgb(0,105,217);text-decoration:underline"><a href="https://freeswitch.org/jira/si/jira.issueviews:issue-html/FS-9113/FS-9113.html" target="_blank">https://freeswitch.org/<wbr>jira/si/jira.issueviews:issue-<wbr>html/FS-9113/FS-9113.html</a>, which seems to be related to the issues I have been experiencing with FreeSWITCH, TLS and failed call setups.</span></div><div><span style="color:rgb(0,105,217);text-decoration:underline">Coincidentally, or not, the fix pushed on that issue was aligned with whole months where I did not experience any TLS issues. Calls were going through fine, until all of a sudden they started failing again. This is on 2 distinct servers running a load balanced FS setup, and using Yealink phones.</span></div><div><span style="color:rgb(0,105,217);text-decoration:underline"><br></span></div><div><font color="#0069d9"><u>To sum up, here is what is going on.</u></font></div><div><font color="#0069d9"><u>From the Yealink, calls with TLS work if I don&#39;t use SRTP.</u></font></div><div><font color="#0069d9"><u>From the Yealink, calls crash if I use TLS and SRTP.</u></font></div><div>From my laptop softphone, calls only crash sometimes if I use TLS and SRTP.</div><div><br></div><div>How can I debug the TLS session on the FreeSWITCH side to see what happens with the TLS thread? I don&#39;t mean packet capture.</div><div><br></div><div>I have a feeling that the packet size is too large and doesn&#39;t make it to the FS box intact after the 407 Proxy Required is received by the client.</div><div><br></div><div>Here is the log for the Yealink:</div><div><a href="http://pastebin.com/smKP286x" target="_blank">http://pastebin.com/smKP286x</a></div><div><br></div><div>Your lights would be so appreciated, I&#39;m losing my mind over this.</div></div></div></blockquote></div></div><br></div></blockquote></div></div></div></div></blockquote></div></div></div>______________________________<wbr>______________________________<wbr>_____________<br>Professional FreeSWITCH Consulting Services: <br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com/" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br><a href="http://confluence.freeswitch.org/" target="_blank">http://confluence.freeswitch.<wbr>org</a><br><a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a></div></blockquote></div><br></div></div></div></blockquote><blockquote type="cite"><div><span>______________________________<wbr>______________________________<wbr>_____________</span><br><span>Professional FreeSWITCH Consulting Services: </span><br><span><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a></span><br><span><a href="http://www.freeswitchsolutions.com/" target="_blank">http://www.<wbr>freeswitchsolutions.com</a></span><br><span></span><br><span>Official FreeSWITCH Sites</span><br><span><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a></span><br><span><a href="http://confluence.freeswitch.org/" target="_blank">http://confluence.freeswitch.<wbr>org</a></span><br><span><a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a></span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.<wbr>freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a></span><br><span>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a></span><br><span><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a></span></div></blockquote></div>______________________________<wbr>______________________________<wbr>_____________<br>Professional FreeSWITCH Consulting Services: <br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br><a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.<wbr>org</a><br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></div></blockquote></div><br></div></div><br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div></div>