Module: kamailio
Branch: master
Commit: 91472b8d1015ace7c40c052a19913d38430d575f
URL: https://github.com/kamailio/kamailio/commit/91472b8d1015ace7c40c052a19913d3…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2025-07-24T16:16:09+02:00
modules: readme files regenerated - tls ... [skip ci]
---
Modified: src/modules/tls/README
---
Diff: https://github.com/kamailio/kamailio/commit/91472b8d1015ace7c40c052a19913d3…
Patch: https://github.com/kamailio/kamailio/commit/91472b8d1015ace7c40c052a19913d3…
---
diff --git a/src/modules/tls/README b/src/modules/tls/README
index ccb67fd4bc3..87b3938f7e8 100644
--- a/src/modules/tls/README
+++ b/src/modules/tls/README
@@ -75,6 +75,7 @@ Olle E. Johansson
10.41. provider_quirks (integer)
10.42. keylog_mode (int)
10.43. keylog_file (str)
+ 10.44. keylog_peer (str)
11. Functions
@@ -155,9 +156,10 @@ Olle E. Johansson
1.51. Set verify_client tls.cfg parameter
1.52. Set keylog_mode parameter
1.53. Set keylog_file parameter
- 1.54. is_peer_verified usage
- 1.55. tls_set_connect_server_id usage
- 1.56. Use of event_route[tls:connection-out]
+ 1.54. Set keylog_peer parameter
+ 1.55. is_peer_verified usage
+ 1.56. tls_set_connect_server_id usage
+ 1.57. Use of event_route[tls:connection-out]
Chapter 1. Admin Guide
@@ -217,6 +219,7 @@ Chapter 1. Admin Guide
10.41. provider_quirks (integer)
10.42. keylog_mode (int)
10.43. keylog_file (str)
+ 10.44. keylog_peer (str)
11. Functions
@@ -659,6 +662,7 @@ Place holder
10.41. provider_quirks (integer)
10.42. keylog_mode (int)
10.43. keylog_file (str)
+ 10.44. keylog_peer (str)
10.1. tls_method (string)
@@ -1666,6 +1670,7 @@ verify_client = optional_no_ca
* 2 (bit 2) - keys logging active
* 4 (bit 3) - write keys to NOTICE log
* 8 (bit 4) - write keys to file
+ * 16 (bit 5) - send keys to udp peer
The default value: 0.
@@ -1687,6 +1692,19 @@ modparam("tls", "keylog_mode", 15)
modparam("tls", "keylog_file", "/tmp/kamailio-tls-keylog.txt")
...
+10.44. keylog_peer (str)
+
+ Address of the peer where to send the keys log. It has to be in the
+ format "proto:ip:port". Only "udp" protocol (proto) is supported. The
+ value 16 (bit 5) has to be set to keylog_mode parameter.
+
+ The default value: NULL.
+
+ Example 1.54. Set keylog_peer parameter
+...
+modparam("tls", "keylog_peer", "udp:127.0.0.1:8020")
+...
+
11. Functions
11.1. is_peer_verified()
@@ -1700,7 +1718,7 @@ modparam("tls", "keylog_file", "/tmp/kamailio-tls-keylog.txt")
It can be used only in a request route.
- Example 1.54. is_peer_verified usage
+ Example 1.55. is_peer_verified usage
...
if (proto==TLS && !is_peer_verified()) {
sl_send_reply("400", "No certificate or verification failed");
@@ -1719,7 +1737,7 @@ modparam("tls", "keylog_file", "/tmp/kamailio-tls-keylog.txt")
It can be used only in ANY_ROUTE.
- Example 1.55. tls_set_connect_server_id usage
+ Example 1.56. tls_set_connect_server_id usage
...
tls_set_connect_server_id("clientone");
...
@@ -1811,7 +1829,7 @@ modparam("tls", "keylog_file", "/tmp/kamailio-tls-keylog.txt")
If drop() is executed in the event route, then the data is no longer
sent over the connection.
- Example 1.56. Use of event_route[tls:connection-out]
+ Example 1.57. Use of event_route[tls:connection-out]
...
event_route[tls:connection-out] {
if($sndto(ip)=="1.2.3.4") {
Module: kamailio
Branch: master
Commit: 97345507045bee739b006298a586dfaedc2b09e8
URL: https://github.com/kamailio/kamailio/commit/97345507045bee739b006298a586dfa…
Author: Xenofon Karamanos <xk(a)gilawa.com>
Committer: Xenofon Karamanos <xk(a)gilawa.com>
Date: 2025-07-24T13:11:45Z
cmake: Fix component group names for dbshema generation
- dbshema modules generated components that were not provided by user
- if a module with dbschema is included in the include_modules list, it will now be in "user_specified_list" component instead of the actual KGROUP component that might be not included.
---
Modified: cmake/groups.cmake
---
Diff: https://github.com/kamailio/kamailio/commit/97345507045bee739b006298a586dfa…
Patch: https://github.com/kamailio/kamailio/commit/97345507045bee739b006298a586dfa…
---
diff --git a/cmake/groups.cmake b/cmake/groups.cmake
index c629ee49f93..353611f03be 100644
--- a/cmake/groups.cmake
+++ b/cmake/groups.cmake
@@ -754,7 +754,7 @@ set(MODULE_GROUP_PACKAGE_GROUPS
# Add group names to available group and provide "ALL_PACKAGED" as well
# for easier packaging using components
-list(APPEND AVAILABLE_GROUPS ALL_PACKAGED ${MODULE_GROUP_PACKAGE_GROUPS})
+list(APPEND AVAILABLE_GROUPS ALL_PACKAGED KMINI ${MODULE_GROUP_PACKAGE_GROUPS})
# Find the group name for the target by checking if the module is in the
# list of modules to be built and if so, use the group name of that module
@@ -764,28 +764,20 @@ function(find_group_name module)
""
PARENT_SCOPE
)
- # This was need due to the dbschema.cmake
- # If one select one of these option as group
- # we want the group name to match instead of the actual group it belongs to
- if(MODULE_GROUP_NAME STREQUAL "ALL"
- OR MODULE_GROUP_NAME STREQUAL "DEFAULT"
- OR MODULE_GROUP_NAME STREQUAL "STANDARD"
- OR MODULE_GROUP_NAME STREQUAL "COMMON"
- )
- set(group_name
- "${MODULE_GROUP_NAME}"
- PARENT_SCOPE
- )
- return()
+ separate_arguments(groups_to_search_in UNIX_COMMAND ${MODULE_GROUP_NAME})
+ list(FIND groups_to_search_in "ALL_PACKAGED" group_index)
+ if(group_index GREATER -1)
+ # Remove it from the list and append the package groups
+ list(REMOVE_AT groups_to_search_in ${group_index})
+ list(APPEND groups_to_search_in ${MODULE_GROUP_PACKAGE_GROUPS})
endif()
- # message(WARNING "groups to search in" ${MODULE_GROUP_PACKAGE_GROUPS})
- # Get all variable names in the current CMake context
- foreach(group IN LISTS MODULE_GROUP_PACKAGE_GROUPS)
- # message(WARNING "Modules in group ${group}: ${MODULES_IN_GROUP}")
- # message(WARNING "Checking group ${group} for db ${module}")
+ # message(WARNING "Groups provided by the user ${groups_to_search_in}")
+ # message(WARNING "Looking for group for db ${module}")
+ foreach(group IN LISTS groups_to_search_in)
get_property(MODULES_IN_GROUP VARIABLE PROPERTY "MODULE_GROUP_${group}")
+ # message(WARNING "Modules in group ${group}: ${MODULES_IN_GROUP}")
if("${module}" IN_LIST MODULES_IN_GROUP)
- # message(WARNING "Found group ${group} for db ${module}")
+ # message(WARNING "Found group ${group} for db ${module}")
set(group_name
"${group}"
PARENT_SCOPE
@@ -793,5 +785,12 @@ function(find_group_name module)
return()
endif()
endforeach()
- message((STATUS "module ${module} not found in any group"))
+ message(STATUS "module ${module} not found in any group")
+ # if not found in any group, it's probably in include_modules list
+ # Use the group name "user_specified_list" associated with include_modules
+ # list, otherwise it will generate Unknown group component
+ set(group_name
+ "user_specified_list"
+ PARENT_SCOPE
+ )
endfunction()