From 941e8a379ab9436fdae35d1abb12c85acf894cd4 Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Tue, 30 Sep 2025 11:52:35 +0200 Subject: [PATCH] feat(dtls): Disable DTLS by default It looks like majority of users are using client and server on same system, adding encryption brings more problems than convenience, specifically when tracing/debugging the flow, or when disconnection it adds complexity (the whole session should be renegotiated). Signed-off-by: Philippe Coval --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ec290d0..3ff2eb4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -146,7 +146,7 @@ endif() MESSAGE(STATUS "VERSION_SHORT: " ${VERSION_SHORT}) -option(DISABLE_DTLS "Disable DTLS and TLS" OFF) +option(DISABLE_DTLS "Disable DTLS and TLS" ON) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/files/zipgateway.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/files/zipgateway) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/files/zgw_import.sh.in ${CMAKE_CURRENT_BINARY_DIR}/files/zgw_import.sh @ONLY)