Module: kamailio
Branch: master
Commit: 2bcc32a14e63d895077071715b0321fbdcdb8a33
URL: https://github.com/kamailio/kamailio/commit/2bcc32a14e63d895077071715b0321f…
Author: S-P Chan <shihping.chan(a)gmail.com>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2024-01-30T14:28:26+01:00
db_mysql: update docs for MariaDB Connector/C builds
---
Modified: src/modules/db_mysql/doc/db_mysql_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/…
[View More]2bcc32a14e63d895077071715b0321f…
Patch: https://github.com/kamailio/kamailio/commit/2bcc32a14e63d895077071715b0321f…
---
diff --git a/src/modules/db_mysql/doc/db_mysql_admin.xml b/src/modules/db_mysql/doc/db_mysql_admin.xml
index 51c9b5b728d..f1ff53df0ed 100644
--- a/src/modules/db_mysql/doc/db_mysql_admin.xml
+++ b/src/modules/db_mysql/doc/db_mysql_admin.xml
@@ -46,6 +46,7 @@
<listitem>
<para>
<emphasis>mysql</emphasis> - the development libraries for the MySQL database. In some Linux distributions named "libmysqlclient-dev".
+ <emphasis>MariaDB</emphasis> - the development libraries for the MariaDB database. In some Linux distributions named "libmariadbclient-dev".
</para>
</listitem>
</itemizedlist>
@@ -198,7 +199,10 @@ modparam("db_mysql", "update_affected_found", 1)
defined.
</para>
<para>
- Note: this option is supported only by libmysqlclient, not by libmariadbclient.
+ MariaDB client configuration uses the following values: 0, 1 use plain, 2/3/4 for MYSQL_OPT_SSL_ENFORCE,
+ 5 for MYSQL_OPT_SSL_VERIFY_SERVER_CERT (see MariaDB Connector/C documentation)
+
+ Other values are ignored.
</para>
<para>
<emphasis>
@@ -298,4 +302,3 @@ default-character-set = utf8
</para>
</section>
</chapter>
-
[View Less]
Hello dear developers!
I'm developing a module that can have several sets of similar connections.
I see that some modules allow specifying a sequence of settings in one
parameter through the symbol ";", as sample:
modparam("htable", "htable",
"customer=>size=8;dbtable=customer;cols='dids,description';coldelim=';'")
or my example:
modparam("module", "module",
"connection=>alice;id=aliceid;password=alicepwd;timeout=60;param=123")
modparam("module", "module",
"connection=>bob;id=bobid;…
[View More]password=bobpwd;timeout=90;param=456")
I don't find it user friendly.
Can I offer users blocks with settings that should start with some
parameter, for example "connection", as in the example:
modparam("module", "connection", "alice") # first block of settings
modparam("module", "id", "aliceid")
modparam("module", "password", "alicepwd")
modparam("module", "timeout", 60)
modparam("module", "param", 123)
modparam("module", "connection", "bob") # second block of settings
modparam("module", "id", "bobid")
modparam("module", "password", "bobpwd")
modparam("module", "timeout", 90)
modparam("module", "param", 456)
modparam("module", "connection", "john") # third block of settings
...
If you think that this is not compatible with the kamailio configuration
ideology, I will give up my idea :)
[View Less]
Bumps [ammaraskar/gcc-problem-matcher](https://github.com/ammaraskar/gcc-problem-m… from 0.2.0 to 0.3.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/ammaraskar/gcc-problem-matcher/releases"… releases</a>.</em></p>
<blockquote>
<h2>Update for node16 deprecation</h2>
<…
[View More]p>Github has deprecated node16 actions, this update fixes the deprecation warning emitted. See <a href="https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/">https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/ammaraskar/gcc-problem-matcher/commit/0f9c86f… Update to use node20, fixes <a href="https://redirect.github.com/ammaraskar/gcc-problem-matcher/issue…
<li>See full diff in <a href="https://github.com/ammaraskar/gcc-problem-matcher/compare/0.2.0.… view</a></li>
</ul>
</details>
<br />
[
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3733
-- Commit Summary --
* github: [skip ci]: bump ammaraskar/gcc-problem-matcher
-- File Changes --
M .github/workflows/main.yml (2)
M .github/workflows/pull_request.yml (2)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3733.patchhttps://github.com/kamailio/kamailio/pull/3733.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3733
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3733(a)github.com>
[View Less]
### Description
Kamailio fails to start after recent changes were made to improve support for OpenSSL 3.X. The failure occurs for both OpenSSL 3.X and OpenSSL 1.1.X, and are the same as failures I had been seeing on previous Kamailio versions when using OpenSSL 3.X. These errors were not occurring for OpenSSL 1.1.X prior to commits on Jan 4, 2024.
My configuration is using the unixodbc module to communicate with a Microsoft SQL Server database. Furthermore, the dispatcher module is configured …
[View More]to use the database.
With this configuration, Kamailio always fails at startup. It may log a "freeing already free pointer bug" or sometimes indicates pointer corruption. In either case, it fails to connect to the database.
#### Reproduction
Start Kamailio with configuration files similar to the following. For the log file shown below, Kamailio was started with "kamailio -dd -E --atexit=no"
[kamailio.txt](https://github.com/kamailio/kamailio/files/14068346/kamailio.…
[tls.txt](https://github.com/kamailio/kamailio/files/14068347/tls.txt)
#### Log Messages
[kamailio.log](https://github.com/kamailio/kamailio/files/14068278/kamailio.…
#### SIP Traffic
None. Problem occurs during initialization.
### Additional Information
* **Kamailio Version** - output of `kamailio -v`
version: kamailio 5.8.0-dev2 (x86_64/linux) 4db5d7-dirty
flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, MEM_JOIN_FREE, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLOCKLIST, HAVE_RESOLV_RES, TLS_PTHREAD_MUTEX_SHARED
ADAPTIVE_WAIT_LOOPS 1024, MAX_RECV_BUFFER_SIZE 262144, MAX_SEND_BUFFER_SIZE 262144, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: 4db5d7 -dirty
compiled on 17:44:29 Jan 26 2024 with gcc 9.4.0
* **Operating System**:
Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal
Kernel: 5.4.0-170-generic
(Similar behavior is seen on Ubuntu 22.04 using OpenSSL 3.X.)
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3727
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3727(a)github.com>
[View Less]