[sr-dev] Re: Roadmap to next major Kamailio release series v5.8.x

2024-02-23 Thread Daniel-Constantin Mierla via sr-dev
Hello, quick note that later today I will create the branch 5.8, notification emails will be sent once done. Cheers, Daniel On 16.02.24 08:01, Daniel-Constantin Mierla wrote: > Hello, > > hopefully the devel version is now more stabilized after the freezing, > the new components being adjusted e

[sr-dev] git:master:6948a3cc: microhttpd: added the header return option for pv

2024-02-23 Thread Daniel-Constantin Mierla via sr-dev
Module: kamailio Branch: master Commit: 6948a3cc1f81cd468eae92518215d0fe9178b1e7 URL: https://github.com/kamailio/kamailio/commit/6948a3cc1f81cd468eae92518215d0fe9178b1e7 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2024-02-23T12:18:07+01:00 microhttpd: added the

[sr-dev] [kamailio/kamailio] TLS certificate decode error / ee key to small with tls_threads_mode = 1 (Issue #3764)

2024-02-23 Thread Matteo via sr-dev
### Description While trying latest kamailio 5.7 branch, when tls_threads_mode is set to 1, it fails to load self signed certificates. Setting tls_threads_mode to 0 works as expected. Certificates are self signed for a local test env, generated with openssl 3.x. ### Troubleshooting The issu

[sr-dev] Re: [kamailio/kamailio] Dispatcher: added two new flags to mode parameter of ds_is_from_list function for more strictly matching (PR #3699)

2024-02-23 Thread Daniel-Constantin Mierla via sr-dev
I am merging it, then rename the option for FULLADDRSOCK trying to reflect better that socket alone has more priority than port+protocol. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3699#issuecomment-1961172542 You are receiving this because yo

[sr-dev] git:master:17536b10: dispatcher: added two new flags to mode parameter of ds_is_from_list function for more strictly matching

2024-02-23 Thread Daniel-Constantin Mierla via sr-dev
Module: kamailio Branch: master Commit: 17536b1064b40c305f28c4c19392504afc0b9701 URL: https://github.com/kamailio/kamailio/commit/17536b1064b40c305f28c4c19392504afc0b9701 Author: Dennis Yurasov Committer: Daniel-Constantin Mierla Date: 2024-02-23T12:36:20+01:00 dispatcher: added two new flags

[sr-dev] Re: [kamailio/kamailio] Dispatcher: added two new flags to mode parameter of ds_is_from_list function for more strictly matching (PR #3699)

2024-02-23 Thread Daniel-Constantin Mierla via sr-dev
Merged #3699 into master. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3699#event-11902601725 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Developm

[sr-dev] Re: [kamailio/kamailio] extented haproxy protocol support (PR #3731)

2024-02-23 Thread Daniel-Constantin Mierla via sr-dev
Indeed, it would be good to try to find a more generic way to approach this kind of needs to store intermediary hop address. The patch is rather consistent for the core part and couldn't assert the impact so far. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/

[sr-dev] git:master:7e22636b: dispatcher: rename interal define to reflect better is a mix of matching

2024-02-23 Thread Daniel-Constantin Mierla via sr-dev
Module: kamailio Branch: master Commit: 7e22636bb2797f6ed9cac677678a7a1bfc4f2537 URL: https://github.com/kamailio/kamailio/commit/7e22636bb2797f6ed9cac677678a7a1bfc4f2537 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2024-02-23T12:53:39+01:00 dispatcher: rename int

[sr-dev] Re: [kamailio/kamailio] TLS certificate decode error / ee key to small with tls_threads_mode = 1 (Issue #3764)

2024-02-23 Thread Matteo via sr-dev
After further digging in my setup, as soon as I disabled the mqtt module everything works. So there's maybe someting in the mqtt module that's not yet adapted to the new tls setup? -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3764#issuecomme

[sr-dev] Re: [kamailio/kamailio] TLS certificate decode error / ee key to small with tls_threads_mode = 1 (Issue #3764)

2024-02-23 Thread space88man via sr-dev
> After further digging in my setup, as soon as I disabled the mqtt module > everything works. > > So there's maybe someting in the mqtt module that's not yet adapted to the > new tls setup? That's good info - can you put the mqtt config here - maybe it is using SSL. -- Reply to this email di

[sr-dev] Re: [kamailio/kamailio] TLS certificate decode error / ee key to small with tls_threads_mode = 1 (Issue #3764)

2024-02-23 Thread Matteo via sr-dev
Yes, mqtt is using TLS, the config is pretty trivial ``` modparam("mqtt", "host", MQTT_HOST) modparam("mqtt", "port", 8883) modparam("mqtt", "keepalive", 5) modparam("mqtt", "id", MQTT_NODE_NAME) modparam("mqtt", "username", MQTT_USER) modparam("mqtt", "password", MQTT_PASS) modparam("mqtt", "will

[sr-dev] Re: [kamailio/kamailio] TLS certificate decode error / ee key to small with tls_threads_mode = 1 (Issue #3764)

2024-02-23 Thread space88man via sr-dev
Does it make an immediate connection to the broker or does that only happen during operations - i.e., after startup but before handling traffic is there a connection to 8883? -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3764#issuecomment-1961

[sr-dev] Re: [kamailio/kamailio] TLS certificate decode error / ee key to small with tls_threads_mode = 1 (Issue #3764)

2024-02-23 Thread Matteo via sr-dev
it makes an immediate connection to the broker on startup -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3764#issuecomment-1961439777 You are receiving this because you are subscribed to this thread. Message ID: _

[sr-dev] Re: [kamailio/kamailio] TLS certificate decode error / ee key to small with tls_threads_mode = 1 (Issue #3764)

2024-02-23 Thread space88man via sr-dev
> it makes an immediate connection to the broker on startup Can you run kamailio under gdb with tls_thread_mode=1 with the following script You will need to start kamailio first as thread 1 is not started yet something like gdb --args /usr/local/sbin/kamailo break main r then

[sr-dev] Re: [kamailio/kamailio] TLS certificate decode error / ee key to small with tls_threads_mode = 1 (Issue #3764)

2024-02-23 Thread Matteo via sr-dev
I'll try, since my setup is dockerized I'll need to play a bit with it. Will report as soon as I'm able to do it, should not be too hard. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3764#issuecomment-1961450787 You are receiving this because

[sr-dev] Re: [kamailio/kamailio] TLS certificate decode error / ee key to small with tls_threads_mode = 1 (Issue #3764)

2024-02-23 Thread space88man via sr-dev
I can't reproduce any error with, can you try this too. ``` #!define MQTT_HOST "test.mosquitto.org" loadmodule "mqtt.so" modparam("mqtt", "host", MQTT_HOST) modparam("mqtt", "port", 8883) modparam("mqtt", "keepalive", 5) #modparam("mqtt", "id", MQTT_NODE_NAME) #modparam("mqtt", "username", MQTT_USE

[sr-dev] Re: [kamailio/kamailio] TLS certificate decode error / ee key to small with tls_threads_mode = 1 (Issue #3764)

2024-02-23 Thread Matteo via sr-dev
I've tried and gdb stops at ``` Thread 1 "kamailio" hit Breakpoint 2, 0x7ff30a1c2a70 in CRYPTO_THREAD_set_local () from /lib/x86_64-linux-gnu/libcrypto.so.3 (gdb) bt ``` -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3764#issuecomment-196148

[sr-dev] Re: [kamailio/kamailio] TLS certificate decode error / ee key to small with tls_threads_mode = 1 (Issue #3764)

2024-02-23 Thread Matteo via sr-dev
> I can't reproduce any error with the config below. well, I have various other modules loaded, but only disabling mqtt makes it work, that's why I pointed at it. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3764#issuecomment-1961492335 You a

[sr-dev] Re: [kamailio/kamailio] TLS certificate decode error / ee key to small with tls_threads_mode = 1 (Issue #3764)

2024-02-23 Thread space88man via sr-dev
Can you print the backtrace when it stops? -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3764#issuecomment-1961497471 You are receiving this because you are subscribed to this thread. Message ID: __

[sr-dev] Re: [kamailio/kamailio] TLS certificate decode error / ee key to small with tls_threads_mode = 1 (Issue #3764)

2024-02-23 Thread Matteo via sr-dev
Yep, sorry ``` Thread 1 "kamailio" hit Breakpoint 2, 0x7fb1301c2a70 in CRYPTO_THREAD_set_local () from /lib/x86_64-linux-gnu/libcrypto.so.3 #0 0x7fb1301c2a70 in CRYPTO_THREAD_set_local () from /lib/x86_64-linux-gnu/libcrypto.so.3 #1 0x7fb1301bfad3 in OPENSSL_thread_stop () from /l

[sr-dev] Re: [kamailio/kamailio] TLS certificate decode error / ee key to small with tls_threads_mode = 1 (Issue #3764)

2024-02-23 Thread space88man via sr-dev
Not much information there... Take 2 - what modules do you load? -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3764#issuecomment-1961513765 You are receiving this because you are subscribed to this thread. Message ID: __

[sr-dev] Re: [kamailio/kamailio] TLS certificate decode error / ee key to small with tls_threads_mode = 1 (Issue #3764)

2024-02-23 Thread Matteo via sr-dev
yes, that break reports only shutdown routines. Well actually a lot of modules: ``` loadmodule "tls.so" loadmodule "tm.so" loadmodule "tmx.so" loadmodule "sl.so" loadmodule "db_postgres.so" loadmodule "rr.so" loadmodule "pv.so" loadmodule "dialog.so" loadmodule "maxfwd.so" loadmodule "xlog.so" loa

[sr-dev] Re: [kamailio/kamailio] TLS certificate decode error / ee key to small with tls_threads_mode = 1 (Issue #3764)

2024-02-23 Thread Matteo via sr-dev
Ok, further progress: my setup has `enable_tls=yes` in the config. removing it (which disables SIP TLS) kamailio works with mqtt too. So seems something related to concurrent startup of mqtt tls and core tls? -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kama

[sr-dev] Re: [kamailio/kamailio] TLS certificate decode error / ee key to small with tls_threads_mode = 1 (Issue #3764)

2024-02-23 Thread Matteo via sr-dev
while disabling TLS on mqtt (let it go in plain) and keeping enable_tls=yes works too -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3764#issuecomment-1961536868 You are receiving this because you are subscribed to this thread. Message ID: ___

[sr-dev] Re: [kamailio/kamailio] TLS certificate decode error / ee key to small with tls_threads_mode = 1 (Issue #3764)

2024-02-23 Thread Matteo via sr-dev
further infos: launching with "strace -ff kamailio" which slows down things... it works. so seems a race condition? -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3764#issuecomment-1961687589 You are receiving this because you are subscribed to

[sr-dev] Re: [kamailio/kamailio] TLS certificate decode error / ee key to small with tls_threads_mode = 1 (Issue #3764)

2024-02-23 Thread Matteo via sr-dev
last for today: switching to `tlsa` works, too. Unfortunately I'm not expert enough to perform further analysys. Let me know if I can help in some way. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3764#issuecomment-1961701052 You are receiving

[sr-dev] git:master:71631908: Makefile.defs: version set to 5.8.0-pre1

2024-02-23 Thread Daniel-Constantin Mierla via sr-dev
Module: kamailio Branch: master Commit: 716319089c3e7bbc4caf9a2454235d77c3a9f88b URL: https://github.com/kamailio/kamailio/commit/716319089c3e7bbc4caf9a2454235d77c3a9f88b Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2024-02-23T19:24:55+01:00 Makefile.defs: version

[sr-dev] git:master:48f4da34: Makefile.defs: version set to 5.9.0-dev0

2024-02-23 Thread Daniel-Constantin Mierla via sr-dev
Module: kamailio Branch: master Commit: 48f4da344bd96e9a19b7c99c37d9dfe29de78933 URL: https://github.com/kamailio/kamailio/commit/48f4da344bd96e9a19b7c99c37d9dfe29de78933 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2024-02-23T19:28:52+01:00 Makefile.defs: version

[sr-dev] git:5.8:faddcecb: Makefile.defs: version set to 5.8.0-rc0

2024-02-23 Thread Daniel-Constantin Mierla via sr-dev
Module: kamailio Branch: 5.8 Commit: faddcecbf04a0221aa4a2531141571246d043060 URL: https://github.com/kamailio/kamailio/commit/faddcecbf04a0221aa4a2531141571246d043060 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2024-02-23T19:35:27+01:00 Makefile.defs: version se

[sr-dev] git:5.8:3566edd0: pkg/kamailio/deb: version set 5.8.0~rc0

2024-02-23 Thread Victor Seva via sr-dev
Module: kamailio Branch: 5.8 Commit: 3566edd00ea729bb187b160a80b54fe92e2bbe4d URL: https://github.com/kamailio/kamailio/commit/3566edd00ea729bb187b160a80b54fe92e2bbe4d Author: Victor Seva Committer: Victor Seva Date: 2024-02-23T20:05:34+01:00 pkg/kamailio/deb: version set 5.8.0~rc0 --- Modif

[sr-dev] git:5.8:fbdca3da: github: set branch to 5.8 [skip ci]

2024-02-23 Thread Victor Seva via sr-dev
Module: kamailio Branch: 5.8 Commit: fbdca3da6293aba548989e3ab9d600be338199b2 URL: https://github.com/kamailio/kamailio/commit/fbdca3da6293aba548989e3ab9d600be338199b2 Author: Victor Seva Committer: Victor Seva Date: 2024-02-23T20:43:33+01:00 github: set branch to 5.8 [skip ci] --- Modified:

[sr-dev] git:5.8:5af33b2e: pkg/docker: set branch 5.8 and refresh [skip ci]

2024-02-23 Thread Victor Seva via sr-dev
Module: kamailio Branch: 5.8 Commit: 5af33b2e0ddc1098919008d44ab91959bc7dfb80 URL: https://github.com/kamailio/kamailio/commit/5af33b2e0ddc1098919008d44ab91959bc7dfb80 Author: Victor Seva Committer: Victor Seva Date: 2024-02-23T21:24:19+01:00 pkg/docker: set branch 5.8 and refresh [skip ci] -

[sr-dev] Branch 5.8 has been created

2024-02-23 Thread Daniel-Constantin Mierla via sr-dev
Hello, the branch 5.8 has been created, to be used for releasing v5.8.x series. To check out this branch, the following commands can be used:    git clone https://github.com/kamailio/kamailio kamailio-5.8    cd kamailio-5.8    git checkout -b 5.8 origin/5.8 Pushing commits in this branch:   gi

[sr-dev] Development is open for future release of v5.9.x series

2024-02-23 Thread Daniel-Constantin Mierla via sr-dev
Hello, the branch 5.8 was created, therefore the master branch is open for adding new features, to be part of future release series v5.9.x (or whatever version is decided for next series). Any bug fix committed to master that applies to 5.8.x or older stable branches should be backported as usual

[sr-dev] Re: [kamailio/kamailio] TLS certificate decode error / ee key to small with tls_threads_mode = 1 (Issue #3764)

2024-02-23 Thread space88man via sr-dev
> yes, that break reports only shutdown routines. > > Well actually a lot of modules: > > ``` > loadmodule "tls.so" > loadmodule "tm.so" > loadmodule "tmx.so" > loadmodule "sl.so" > loadmodule "db_postgres.so" > loadmodule "rr.so" > loadmodule "pv.so" > loadmodule "dialog.so" > loadmodule "maxfwd