<div dir="ltr">@Olle. thanks for your reply<div><br></div><div style>1. I only want stream encryption to avoid SIP ALG (which can modify SIP message wrongly)</div><div style>2. What is the max concurrent TCP connections can Kamailio handle ? I heard there is a tcp_max_connections, is that the answer ?</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 3, 2013 at 7:20 PM, Olle E. Johansson <span dir="ltr"><<a href="mailto:oej@edvina.net" target="_blank">oej@edvina.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">TLS has two phases - key exchange and encryption.<div>Seems like you only want stream encryption, which means you will have to go deep down in the</div>
<div>TLS module and the OpenSSL library.</div><div><br></div><div><br></div><div>Why on earth do you want to use a static key? That seems to contradict the need for protection.</div><div><br></div><div>/O</div><div><br></div>
<div><div><div>3 maj 2013 kl. 14:14 skrev Khoa Pham <<a href="mailto:onmyway133@gmail.com" target="_blank">onmyway133@gmail.com</a>>:</div><br><blockquote type="cite"><div><div class="h5"><div dir="ltr">@Daniel<div>
<br></div><div>TLS is OK, but many TCP connections will makes client suffering from 503 Service Unavailable error. Please consider this as a feature request :)</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Apr 2, 2013 at 11:18 AM, Khoa Pham <span dir="ltr"><<a href="mailto:onmyway133@gmail.com" target="_blank">onmyway133@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">Hi,<div><br></div><div>Currently, I'm using TLS and it works fine. But eventually, TLS is just used to agree upon a secret key. And both client and Kamailio use that secret key to encrypt message.</div>

<div>
<br></div><div>In my solution, I have a fixed secret key. And client encrypt SIP message with that secret key.</div><div>What code should I insert in Kamalio to decrypt it?<span><font color="#888888"><br clear="all">
<div><br></div>-- <br><span>Khoa Pham</span><br>
<span>HCMC University of Science</span><br><span>Faculty of Information Technology</span><br>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><span>Khoa Pham</span><br><span>HCMC University of Science</span><br>
<span>Faculty of Information Technology</span><br>
</div></div></div>
_______________________________________________<br>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br><a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br></blockquote></div><br></div></div><br>_______________________________________________<br>

SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><span style="color:rgb(0,0,0)">Khoa Pham</span><br style="color:rgb(0,0,0)"><span style="color:rgb(0,0,0)">HCMC University of Science</span><br style="color:rgb(0,0,0)">
<span style="color:rgb(0,0,0)">Faculty of Information Technology</span><br>
</div>