From 875fa488c9e70879429c2965127956ce3c54b456 Mon Sep 17 00:00:00 2001 From: Paul Schroeder Date: Fri, 18 Mar 2022 17:59:29 +0100 Subject: [PATCH] add option and description Signed-off-by: Paul Schroeder --- example.cfg | 2 ++ sslhconf.cfg | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/example.cfg b/example.cfg index 2542420..76383ca 100644 --- a/example.cfg +++ b/example.cfg @@ -60,6 +60,8 @@ listen: # fork: Should a new process be forked for this protocol? # (only useful for sslh-select) # tfo_ok: Set to true if the server supports TCP FAST OPEN +# resolve_on_forward: Set to true if server address should be resolved on +# (every) incoming connection (again) # transparent: Set to true to proxy this protocol # transparently (server sees the remote client IP # address). Same as the global option, but per-protocol diff --git a/sslhconf.cfg b/sslhconf.cfg index a0ad4ec..776d98f 100644 --- a/sslhconf.cfg +++ b/sslhconf.cfg @@ -108,8 +108,10 @@ config: { { name: "fork"; type: "bool"; default: false }, { name: "tfo_ok"; type: "bool"; default: false; description: "Set to true if this protocol supports TCP FAST OPEN" }, - { name: "transparent"; type: "bool"; default: false; + { name: "transparent"; type: "bool"; default: false; description: "Set to proxy this protocol transparently" }, + { name: "resolve_on_forward"; type: "bool"; default: false; + description: "Set to true if server address should be resolved on (every) incoming connection (again)" }, { name: "log_level"; type: "int"; default: 1 }, { name: "keepalive"; type: "bool"; default: false }, { name: "sni_hostnames",