[SR-Users] tls with ubuntu 16.04

Daniel-Constantin Mierla miconda at gmail.com
Mon Sep 19 14:36:33 CEST 2016


Hello,

the issue was reported by others to ubuntu and a fix should be pushed
these days, as I got it by reading:

  - https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/1594748

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.

Cheers,
Daniel


On 19/09/16 14:28, Jayesh Nambiar wrote:
> Hi Daniel,
> 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?
>
> - Jayesh
>
> On Mon, Aug 1, 2016 at 5:10 PM Daniel-Constantin Mierla
> <miconda at gmail.com <mailto:miconda at gmail.com>> wrote:
>
>     Hello,
>
>     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.
>
>     Cheers,
>     Daniel
>
>
>     On 01/08/16 13:32, Jayesh Nambiar wrote:
>>     Hi Daniel,
>>     Just checking if you had a chance to look at ssl libraries in
>>     Ubuntu16.04 to check the conflict with TLS module? Thanks.
>>
>>     - Jayesh
>>
>>     On Tue, Jul 19, 2016 at 6:11 PM Daniel-Constantin Mierla
>>     <miconda at gmail.com <mailto:miconda at gmail.com>> wrote:
>>
>>         Hello,
>>
>>         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:
>>
>>           - https://github.com/kamailio/kamailio/issues/714
>>
>>         When I get a chance I will install a ubuntu 16.04 myself and
>>         dig more into the libssl sources.
>>
>>         Cheers,
>>         Daniel
>>
>>
>>         On 18/07/16 14:46, Jayesh Nambiar wrote:
>>>         Hi Daniel,
>>>         Thanks for looking into this. I tried with this patch and
>>>         still get the same error. Here are the relevant part of logs:
>>>
>>>          0(25032) DEBUG: <core> [cfg.y:1603]: yyparse(): loading
>>>         module tls.so
>>>
>>>          0(25032) DEBUG: <core> [sr_module.c:575]: load_module():
>>>         trying to load
>>>         </usr/local/kamailio/lib64/kamailio/modules/tls.so>
>>>
>>>          0(25032) DEBUG: <core> [mem/q_malloc.c:189]:
>>>         qm_malloc_init(): qm_malloc_init: QM_OPTIMIZE=16384,
>>>         /ROUNDTO=2048
>>>
>>>          0(25032) DEBUG: <core> [mem/q_malloc.c:191]:
>>>         qm_malloc_init(): qm_malloc_init: QM_HASH_SIZE=2099,
>>>         qm_block size=235152
>>>
>>>          0(25032) DEBUG: <core> [mem/q_malloc.c:193]:
>>>         qm_malloc_init(): qm_malloc_init(0x7fda8249d000, 67108864),
>>>         start=0x7fda8249d000
>>>
>>>          0(25032) DEBUG: <core> [mem/q_malloc.c:202]:
>>>         qm_malloc_init(): qm_malloc_init: size= 67108864,
>>>         init_overhead=235256
>>>
>>>          0(25032) ERROR: tls [tls_init.c:493]: tls_pre_init():
>>>         Unable to set the memory allocation functions
>>>
>>>          0(25032) ERROR: tls [tls_init.c:495]: tls_pre_init():
>>>         libssl current mem functions - m: 0x7fda87673550 r:
>>>         0x7fda87673c40 f: 0x7fda87673a70
>>>
>>>          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)
>>>
>>>          0(25032) ERROR: <core> [sr_module.c:607]: load_module():
>>>         /usr/local/kamailio/lib64/kamailio/modules/tls.so:
>>>         mod_register failed
>>>
>>>          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
>>>
>>>
>>>         Yes I can provide ssh access to this machine. I'll send it
>>>         to you seperately.
>>>
>>>         Thanks,
>>>
>>>         - Jayesh
>>>
>>>
>>>         On Mon, Jul 18, 2016 at 2:25 PM Daniel-Constantin Mierla
>>>         <miconda at gmail.com <mailto:miconda at gmail.com>> wrote:
>>>
>>>             Hello,
>>>
>>>             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.
>>>
>>>             Can you try with the patch:
>>>
>>>               -
>>>             https://github.com/kamailio/kamailio/commit/966513b374eef598434c5310a43eac2735adfd2e
>>>
>>>             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.
>>>
>>>             Just in case, would it be possible to get ssh access to
>>>             such system?
>>>
>>>             Cheers,
>>>             Daniel
>>>
>>         -- 
>>         Daniel-Constantin Mierla
>>         http://www.asipto.com - http://www.kamailio.org
>>         http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> - http://www.linkedin.com/in/miconda
>>
>
>     -- 
>     Daniel-Constantin Mierla
>     http://www.asipto.com - http://www.kamailio.org
>     http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> - http://www.linkedin.com/in/miconda
>

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Oct 24-26, 2016 - http://www.asipto.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160919/15638986/attachment.html>


More information about the sr-users mailing list