<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>the issue was reported by others to ubuntu and a fix should be
pushed these days, as I got it by reading:</p>
<p> -
<a class="moz-txt-link-freetext" href="https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/1594748">https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/1594748</a></p>
<p>There you can find also details of getting packages with the fix
from ppa or proposed repository. There is nothing kamailio can do
in this case.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 19/09/16 14:28, Jayesh Nambiar
wrote:<br>
</div>
<blockquote
cite="mid:CANAYozuAk41K21UBdQaWgD40XygHDF4+rGX6kbt5gEX9qwCzaw@mail.gmail.com"
type="cite">
<div dir="ltr">Hi Daniel,
<div>The latest stable release still shows up the TLS related
problems. Is there a way to load tls modules such that these
errors get corrected?</div>
<div><br>
</div>
<div>- Jayesh<br>
<br>
<div class="gmail_quote">
<div dir="ltr">On Mon, Aug 1, 2016 at 5:10 PM
Daniel-Constantin Mierla <<a moz-do-not-send="true"
href="mailto:miconda@gmail.com">miconda@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>not yet ... I didn't get the chance before starting a
rather long trip to download the image for ubuntu
16.04 to spin a vm and now I don't have the bandwidth
for fetching it.</p>
<p>Cheers,<br>
Daniel<br>
</p>
</div>
<div bgcolor="#FFFFFF" text="#000000"> <br>
<div>On 01/08/16 13:32, Jayesh Nambiar wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi Daniel,
<div>Just checking if you had a chance to look at
ssl libraries in Ubuntu16.04 to check the conflict
with TLS module? Thanks.</div>
<div><br>
</div>
<div>- Jayesh</div>
<div><br>
<div class="gmail_quote">
<div dir="ltr">On Tue, Jul 19, 2016 at 6:11 PM
Daniel-Constantin Mierla <<a
moz-do-not-send="true"
href="mailto:miconda@gmail.com"
target="_blank">miconda@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>following up -- apparently there is some
issue with the lib in ubuntu 16.04, same
module working fine in 15.10, as reported
on the tracker:</p>
<p> - <a moz-do-not-send="true"
href="https://github.com/kamailio/kamailio/issues/714"
target="_blank">https://github.com/kamailio/kamailio/issues/714</a></p>
<p>When I get a chance I will install a
ubuntu 16.04 myself and dig more into the
libssl sources.</p>
<p>Cheers,<br>
Daniel<br>
</p>
</div>
<div bgcolor="#FFFFFF" text="#000000"> <br>
<div>On 18/07/16 14:46, Jayesh Nambiar
wrote:<br>
</div>
</div>
<div bgcolor="#FFFFFF" text="#000000">
<blockquote type="cite">
<div dir="ltr">Hi Daniel, </div>
</blockquote>
</div>
<div bgcolor="#FFFFFF" text="#000000">
<blockquote type="cite">
<div dir="ltr">
<div>Thanks for looking into this. I
tried with this patch and still get
the same error. Here are the relevant
part of logs:</div>
<div>
<p><span><span> </span>0(25032) DEBUG:
<core> [cfg.y:1603]:
yyparse(): loading module tls.so</span></p>
<p><span><span> </span>0(25032) DEBUG:
<core> [sr_module.c:575]:
load_module(): trying to load
</usr/local/kamailio/lib64/kamailio/modules/tls.so></span></p>
<p><span><span> </span>0(25032) DEBUG:
<core> [mem/q_malloc.c:189]:
qm_malloc_init(): qm_malloc_init:
QM_OPTIMIZE=16384, /ROUNDTO=2048</span></p>
<p><span><span> </span>0(25032) DEBUG:
<core> [mem/q_malloc.c:191]:
qm_malloc_init(): qm_malloc_init:
QM_HASH_SIZE=2099, qm_block
size=235152</span></p>
<p><span><span> </span>0(25032) DEBUG:
<core> [mem/q_malloc.c:193]:
qm_malloc_init():
qm_malloc_init(0x7fda8249d000,
67108864), start=0x7fda8249d000</span></p>
<p><span><span> </span>0(25032) DEBUG:
<core> [mem/q_malloc.c:202]:
qm_malloc_init(): qm_malloc_init:
size= 67108864,
init_overhead=235256</span></p>
<p><span><span> </span>0(25032) ERROR:
tls [tls_init.c:493]:
tls_pre_init(): Unable to set the
memory allocation functions</span></p>
<p><span><span> </span>0(25032) ERROR:
tls [tls_init.c:495]:
tls_pre_init(): libssl current mem
functions - m: 0x7fda87673550 r:
0x7fda87673c40 f: 0x7fda87673a70</span></p>
<p><span><span> </span>0(25032) ERROR:
tls [tls_init.c:497]:
tls_pre_init(): Be sure tls module
is loaded before any other module
using libssl (can be loaded first
to be safe)</span></p>
<p><span><span> </span>0(25032) ERROR:
<core> [sr_module.c:607]:
load_module():
/usr/local/kamailio/lib64/kamailio/modules/tls.so: mod_register failed</span></p>
<p><span><span> </span>0(25032) :
<core> [cfg.y:3391]:
yyerror_at(): parse error in
config file
/usr/local/kamailio/etc/kamailio/tlkn-edge/kamailio.cfg,
line 47, column 12-19: failed to
load module</span></p>
<p><span><br>
</span></p>
<p><span>Yes I can provide ssh access
to this machine. I'll send it to
you seperately.</span></p>
<p><span>Thanks,</span></p>
<p><span>- Jayesh</span></p>
</div>
</div>
</blockquote>
</div>
<div bgcolor="#FFFFFF" text="#000000">
<blockquote type="cite"> <br>
<div class="gmail_quote">
<div dir="ltr">On Mon, Jul 18, 2016 at
2:25 PM Daniel-Constantin Mierla <<a
moz-do-not-send="true"
href="mailto:miconda@gmail.com"
target="_blank">miconda@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>no time over the weekend to look
at logs, but I pushed just now a
patch to try to see if the memory
functions were set or something
else prevented the set of memory
functions.</p>
<p>Can you try with the patch:</p>
<p> - <a moz-do-not-send="true"
href="https://github.com/kamailio/kamailio/commit/966513b374eef598434c5310a43eac2735adfd2e"
target="_blank">https://github.com/kamailio/kamailio/commit/966513b374eef598434c5310a43eac2735adfd2e</a></p>
<p>I am at IEFT96 so I will try to
do some stuff during the breaks...
if doesn't work, then it may take
a bit to get more into it.</p>
<p>Just in case, would it be
possible to get ssh access to such
system?<br>
</p>
<p>Cheers,<br>
Daniel<br>
</p>
</div>
</blockquote>
</div>
</blockquote>
</div>
<div bgcolor="#FFFFFF" text="#000000">
<pre cols="72">--
Daniel-Constantin Mierla
<a moz-do-not-send="true" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a> - <a moz-do-not-send="true" href="http://www.kamailio.org" target="_blank">http://www.kamailio.org</a>
<a moz-do-not-send="true" href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a></pre>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
<pre cols="72">--
Daniel-Constantin Mierla
<a moz-do-not-send="true" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a> - <a moz-do-not-send="true" href="http://www.kamailio.org" target="_blank">http://www.kamailio.org</a>
<a moz-do-not-send="true" href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a></pre>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Berlin, Oct 24-26, 2016 - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre>
</body>
</html>