]> git.kaiwu.me - haproxy.git/commitdiff
DEV: sslkeylogger: mark it as a debugging tool only quic-interop
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 26 Nov 2026 14:32:03 +0000 (15:32 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 26 Nov 2026 14:32:03 +0000 (15:32 +0100)
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

index e67bf77da81a14ea10fc0f2577819e6bd405b1c4..cb05acf106f3dc039e5382549bf5400ccc7d3c7d 100644 (file)
 
     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)