From 10bac0e5650b1c38f3cb6e2182f2647f9bb3f171 Mon Sep 17 00:00:00 2001 From: Amaury Denoyelle Date: Thu, 26 Nov 2026 15:32:03 +0100 Subject: [PATCH] DEV: sslkeylogger: mark it as a debugging tool only Add a comment to mark sslkeylogger as a debugging tool only. Its usage in production must be avoided, as Lua access to filesystem on haproxy runtime is a bad idea which can hurt haproxy traffic handling performances. --- dev/sslkeylogger/sslkeylogger.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dev/sslkeylogger/sslkeylogger.lua b/dev/sslkeylogger/sslkeylogger.lua index e67bf77da..cb05acf10 100644 --- a/dev/sslkeylogger/sslkeylogger.lua +++ b/dev/sslkeylogger/sslkeylogger.lua @@ -11,6 +11,10 @@ The generated keylog file can then be injected into wireshark to decipher a network capture. + + WARNING: debugging tool only. Access to FS via Lua scripts running in + haproxy traffic handling context must be frowned upon, as it can + significantly hurt performances. ]] local function sslkeylog(txn, filename) -- 2.47.3