From a5f6ab5af03d9be6f3412d4dff67748908799e21 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Tue, 5 Aug 2025 19:48:08 +0200 Subject: irmd: Add build option to log OAP header info This adds a DEBUG_PROTO_OAP option to show some information in the OAP headers received by the IRMd during flow allocation. Example for unencrypted flow (send): OAP_HDR [528b7bf81df8e9bc @ 2025-08-05 17:05:29 (UTC) ] --> Certificate: Ephemeral Public Key: Data: Signature: Example for encrypted flow (rcv): OAP_HDR [4ff83072e0ed54b3 @ 2025-08-05 17:06:23 (UTC) ] <-- Certificate: Ephemeral Public Key [91 bytes]: Data: Signature: Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- src/irmd/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/irmd/CMakeLists.txt') diff --git a/src/irmd/CMakeLists.txt b/src/irmd/CMakeLists.txt index fce89bef..312578de 100644 --- a/src/irmd/CMakeLists.txt +++ b/src/irmd/CMakeLists.txt @@ -62,6 +62,8 @@ set(IRMD_PKILL_TIMEOUT 30 CACHE STRING "Number of seconds to wait before sending SIGKILL to subprocesses on exit") set(IRMD_KILL_ALL_PROCESSES TRUE CACHE BOOL "Kill all processes on exit") +set(DEBUG_PROTO_OAP FALSE CACHE BOOL + "Add Flow allocation protocol message output to IRMd debug logging") configure_file("${CMAKE_CURRENT_SOURCE_DIR}/config.h.in" "${CMAKE_CURRENT_BINARY_DIR}/config.h" @ONLY) -- cgit v1.2.3