Re: [SR-Users] tls with ubuntu 16.04

2016-09-19 Thread Daniel-Constantin Mierla
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 k

Re: [SR-Users] tls with ubuntu 16.04

2016-09-19 Thread Jayesh Nambiar
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 wrote: > Hello, > > not yet ... I didn't get the chance before starting a rathe

Re: [SR-Users] tls with ubuntu 16.04

2016-08-01 Thread Daniel-Constantin Mierla
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

Re: [SR-Users] tls with ubuntu 16.04

2016-08-01 Thread Jayesh Nambiar
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 wrote: > Hello, > > following up -- apparently there is some issue with the lib in ubuntu > 16.04

Re: [SR-Users] tls with ubuntu 16.04

2016-07-19 Thread Daniel-Constantin Mierla
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. C

Re: [SR-Users] tls with ubuntu 16.04

2016-07-18 Thread Jayesh Nambiar
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: [cfg.y:1603]: yyparse(): loading module tls.so 0(25032) DEBUG: [sr_module.c:575]: load_module(): trying to load 0(25032) DEBUG: [mem/q_malloc.

Re: [SR-Users] tls with ubuntu 16.04

2016-07-18 Thread Daniel-Constantin Mierla
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/966513b374eef598434c5310a43eac2735adf

Re: [SR-Users] tls with ubuntu 16.04

2016-07-18 Thread Jayesh Nambiar
Hi Daniel, Any idea of why TLS would not load based on the logs pasted? - Jayesh On Fri, Jul 15, 2016 at 4:46 PM Jayesh Nambiar wrote: > Hi Daniel, > Here are the logs: > http://pastebin.com/tGRWr9JS > > Thanks, > > - Jayesh > > On Fri, Jul 15, 2016 at 12:29 PM Daniel-Constantin Mierla < > mico

Re: [SR-Users] tls with ubuntu 16.04

2016-07-15 Thread Jayesh Nambiar
Hi Daniel, Here are the logs: http://pastebin.com/tGRWr9JS Thanks, - Jayesh On Fri, Jul 15, 2016 at 12:29 PM Daniel-Constantin Mierla wrote: > Yes, put them on pastebin. > > Daniel > > On 15/07/16 07:53, Jayesh Nambiar wrote: > > The libssl version is as follows: > > 1.0.2g-1ubuntu4.1 > > And

Re: [SR-Users] tls with ubuntu 16.04

2016-07-15 Thread Daniel-Constantin Mierla
Yes, put them on pastebin. Daniel On 15/07/16 07:53, Jayesh Nambiar wrote: > The libssl version is as follows: > > 1.0.2g-1ubuntu4.1 > > And openssl version shows this: > > OpenSSL 1.0.2g-fips 1 Mar 2016 > > As for the logs with debug 3, kamailio scans each and every line in > the config and ge

Re: [SR-Users] tls with ubuntu 16.04

2016-07-14 Thread Jayesh Nambiar
The libssl version is as follows: 1.0.2g-1ubuntu4.1 And openssl version shows this: OpenSSL 1.0.2g-fips 1 Mar 2016 As for the logs with debug 3, kamailio scans each and every line in the config and generates a big file. You want me to send that in full. If yes, I'd put it in a pastebin and sen

Re: [SR-Users] tls with ubuntu 16.04

2016-07-14 Thread Daniel-Constantin Mierla
Are these all the logs from kamailio startup? It looks like only the ones from the moment it tries to load tls module ... Also, you haven't provided the version of libssl. Daniel On 14/07/16 17:08, Jayesh Nambiar wrote: > Hi Daniel, > It indeed disables TLS if written this way. Here are the log

Re: [SR-Users] tls with ubuntu 16.04

2016-07-14 Thread Jayesh Nambiar
Hi Daniel, It indeed disables TLS if written this way. Here are the logs when enable_tls is written on above the loadmodule and kamailio fails to load module: Jul 14 10:25:03 v38 kamailio: DEBUG: [sr_module.c:575]: load_module(): trying to load Jul 14 10:25:03 v38 kamailio: DEBUG: [mem/q_mallo

Re: [SR-Users] tls with ubuntu 16.04

2016-07-14 Thread Daniel-Constantin Mierla
Hello, this should not be needed and actually may lead to disabling tls support overall as it is enabled after tls module is loaded. Are you sure this really works and enabling tls before is not working? Send the log messages with debug=3. Cheers, Daniel On 14/07/16 16:11, Jayesh Nambiar wrote:

Re: [SR-Users] tls with ubuntu 16.04

2016-07-14 Thread Jayesh Nambiar
Hi Daniel, I had enable_tls=yes written before loading any modules earlier and it was working good on 14.04. Now I just changed the sequence on 16.04 and it works as expected. Here is snippet below: loadmodule "tls.so" enable_tls=yes --- Jayesh On Thu, Jul 14, 2016 at 3:21 PM Daniel-Constantin

Re: [SR-Users] tls with ubuntu 16.04

2016-07-14 Thread Daniel-Constantin Mierla
Hello, don't really get what you did? Can you paste the relevant snippet of config? Cheers, Daniel On 14/07/16 07:40, Jayesh Nambiar wrote: > Hello, > Just did enable_tls after loadmodule "tls.so" and this now works. Thanks. > > - Jayesh > > On Thu, Jul 14, 2016 at 11:06 AM Jayesh Nambiar

Re: [SR-Users] tls with ubuntu 16.04

2016-07-13 Thread Jayesh Nambiar
Hello, Just did enable_tls after loadmodule "tls.so" and this now works. Thanks. - Jayesh On Thu, Jul 14, 2016 at 11:06 AM Jayesh Nambiar wrote: > I did load the tls first but still get the same error. Here is the > loadmodule sequence: > > loadmodule "tls.so" > > loadmodule "mi_fifo.so" > > lo

Re: [SR-Users] tls with ubuntu 16.04

2016-07-13 Thread Jayesh Nambiar
I did load the tls first but still get the same error. Here is the loadmodule sequence: loadmodule "tls.so" loadmodule "mi_fifo.so" loadmodule "kex.so" loadmodule "corex.so" loadmodule "tm.so" loadmodule "tmx.so" loadmodule "sl.so" loadmodule "rr.so" loadmodule "pv.so" loadmodule "maxfwd.

Re: [SR-Users] tls with ubuntu 16.04

2016-07-13 Thread Daniel-Constantin Mierla
Hello, load first the tls module and then the others. Cheers, Daniel On 13/07/16 19:54, Jayesh Nambiar wrote: > Opensl Version: > > OpenSSL 1.0.2g-fips 1 Mar 2016 > > > Order of loadmodules: > > loadmodule"mi_fifo.so" > > loadmodule"kex.so" > > loadmodule"corex.so" > > loadmodule"tm.so" > > lo

Re: [SR-Users] tls with ubuntu 16.04

2016-07-13 Thread Jayesh Nambiar
Opensl Version: OpenSSL 1.0.2g-fips 1 Mar 2016 Order of loadmodules: loadmodule "mi_fifo.so" loadmodule "kex.so" loadmodule "corex.so" loadmodule "tm.so" loadmodule "tmx.so" loadmodule "sl.so" loadmodule "rr.so" loadmodule "pv.so" loadmodule "maxfwd.so" loadmodule "dialog.so" loadmodu

Re: [SR-Users] tls with ubuntu 16.04

2016-07-13 Thread Daniel-Constantin Mierla
Hello, can you provide details about: - order of loaded modules: grep "loadmodule" kamailio.cfg - the version of libssl Cheers, Daniel On 13/07/16 16:48, Jayesh Nambiar wrote: > Hi, > Trying kamailio with Ubuntu 16.04 and I'm getting errors as follows: > > ERROR: tls [tls_init.c:490]: tls_

[SR-Users] tls with ubuntu 16.04

2016-07-13 Thread Jayesh Nambiar
Hi, Trying kamailio with Ubuntu 16.04 and I'm getting errors as follows: ERROR: tls [tls_init.c:490]: tls_pre_init(): Unable to set the memory allocation functions The error is identical to the one mentioned here: https://bugs.launchpad.net/ubuntu/+source/kamailio/+bug/1591992 Is there a soluti