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",