Re: [OpenSIPS-Users] 3.2.0 TLS MGM module does not load 3.1.0 domain configuration

2021-08-12 Thread Vlad Patrascu
Hi Adrian, The wolfSSL implementation does not support a TLS method range, such as "TLSv1-", so that could be one of the causes. What seems strange is that there is no warning message: "WARNING:tls_wolfssl:tls_get_method: wolfSSL does not support method range specification" which should be

Re: [OpenSIPS-Users] 3.2.0 TLS MGM module does not load 3.1.0 domain configuration

2021-08-12 Thread Ovidiu Sas
I loaded both modules and I just switch between them via the tls_library parameter and it loads ok: loadmodule "tls_openssl.so" loadmodule "tls_wolfssl.so" loadmodule "tls_mgm.so" modparam("tls_mgm", "tls_library", "openssl") # modparam("tls_mgm", "tls_library", "wolfssl") I did not test with

Re: [OpenSIPS-Users] 3.2.0 TLS MGM module does not load 3.1.0 domain configuration

2021-08-12 Thread Liviu Chircu
On 12.08.2021 22:17, Adrian Georgescu wrote: I set it up explicitly now but I get the same result, I tried different domains or combination but any definition fails to load. Hi gents, IIRC (Vlad: please correct me if I'm wrong), this initial version of the tls_wolfssl module does not have

Re: [OpenSIPS-Users] 3.2.0 TLS MGM module does not load 3.1.0 domain configuration

2021-08-12 Thread Adrian Georgescu
H Ovidiu, I set it up explicitly now but I get the same result, I tried different domains or combination but any definition fails to load. Aug 12 21:10:30 live01 /usr/sbin/opensips[10920]: ERROR:tls_mgm:init_tls_domains: Failed to init TLS domain 'msteams-server' Aug 12 21:10:30 live01

Re: [OpenSIPS-Users] auth_db module in 3.2.2

2021-08-12 Thread Liviu Chircu
On 12.08.2021 22:04, Adrian Georgescu wrote: What can be the reason for this? This exact issue seems to be the object of two identical GitHub issues: [1], [2].  Will take a look at this tomorrow and see if I can reproduce. [1]: https://github.com/OpenSIPS/opensips/issues/2586 [2]:

Re: [OpenSIPS-Users] auth_db module in 3.2.2

2021-08-12 Thread Adrian Georgescu
After removing the ha1b column, I am now getting the following errors and authentication does not work: Aug 12 20:51:59 live01 /usr/sbin/opensips[10064]: ERROR:db_mysql:db_mysql_store_result: driver error: Commands out of sync; you can't run this command now Aug 12 20:51:59 live01

Re: [OpenSIPS-Users] 3.2.0 TLS MGM module does not load 3.1.0 domain configuration

2021-08-12 Thread Ovidiu Sas
Hello Adrian, I managed to use wolfssl by forcing it: modparam("tls_mgm", "tls_library", "wolfssl") I haven't tested the auto mode ... -ovidiu On Thu, Aug 12, 2021 at 2:59 PM Adrian Georgescu wrote: > > After more digging I discovered that this behaviour does not happen when > loading

Re: [OpenSIPS-Users] 3.2.0 TLS MGM module does not load 3.1.0 domain configuration

2021-08-12 Thread Adrian Georgescu
This line looks suspicious as I have not loaded or specified anywhere tls_openssl. Aug 12 18:51:15 live01 opensips[6455]: Aug 12 18:51:15 [6455] DBG:core:solve_module_dependencies: module tls_mgm soft-depends on module tls_openssl, and it was not loaded — continuing Adrian > On 12 Aug 2021,

Re: [OpenSIPS-Users] 3.2.0 TLS MGM module does not load 3.1.0 domain configuration

2021-08-12 Thread Adrian Georgescu
After more digging I discovered that this behaviour does not happen when loading tls_openssl module. tls_openssl loads fine this configuration but tls_wolfssl does not. > On 12 Aug 2021, at 14:12, Adrian Georgescu wrote: > > Hi, > > I am using the latest 3.2.0 build with the old TLS

[OpenSIPS-Users] 3.2.0 TLS MGM module does not load 3.1.0 domain configuration

2021-08-12 Thread Adrian Georgescu
Hi, I am using the latest 3.2.0 build with the old TLS configuration, with the aim to try out Wolf SSL stack. But while the config check passed, the server does not start with the old configuration: loadmodule “tls_mgm.so" loadmodule “tls_wolfssl.so" modparam("tls_mgm",

Re: [OpenSIPS-Users] auth_db module in 3.2.2

2021-08-12 Thread Liviu Chircu
On 12.08.2021 18:36, Adrian Georgescu wrote: The auth_db module has some dramatic changes which are either undocumented or not backwards compatible and is unclear how to handle this. https://opensips.org/docs/modules/3.1.x/auth_db.html#param_password_column_2

[OpenSIPS-Users] auth_db module in 3.2.2

2021-08-12 Thread Adrian Georgescu
The auth_db module has some dramatic changes which are either undocumented or not backwards compatible and is unclear how to handle this. https://opensips.org/docs/modules/3.1.x/auth_db.html#param_password_column_2