diff options
| author | Gabor Seljan <sgabe@users.noreply.github.com> | 2020-05-24 18:58:37 +0200 |
|---|---|---|
| committer | Gabor Seljan <sgabe@users.noreply.github.com> | 2020-05-24 18:58:37 +0200 |
| commit | 499f3ac44bbf40db924459030c33c35a0d0c2beb (patch) | |
| tree | 58c1af354ba03ac44d012c79bbedf9c5d4d42e13 /net/sslh | |
| parent | f5fdcf3e7eb2671d16d5eabc63882252855ca571 (diff) | |
sslh: add transparent proxy support
Signed-off-by: Gabor Seljan <sgabe@users.noreply.github.com>
Diffstat (limited to 'net/sslh')
| -rw-r--r-- | net/sslh/files/sslh.config | 3 | ||||
| -rw-r--r-- | net/sslh/files/sslh.init | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/net/sslh/files/sslh.config b/net/sslh/files/sslh.config index b9e047dc6..c5f832cdf 100644 --- a/net/sslh/files/sslh.config +++ b/net/sslh/files/sslh.config @@ -28,5 +28,8 @@ config 'sslh' 'default' # verbose defaults to off # -v option 'verbose' '0' + # transparent defaults to false + # --transparent + option 'transparent' '0' # use external config file # option configfile '/etc/sslh.conf' diff --git a/net/sslh/files/sslh.init b/net/sslh/files/sslh.init index 6e71a5394..401beb689 100644 --- a/net/sslh/files/sslh.init +++ b/net/sslh/files/sslh.init @@ -47,6 +47,9 @@ start_instance() { # J) http parameter config_get val "${section}" http [ -n "${val}" ] && append args "--http ${val}" + # K) transparent parameter + config_get_bool val "${section}" transparent 0 + [ "${val}" -ne 0 ] && append args "--transparent" # Defaults were removed for --user and --pidfile options # in sslh 1.11; Define them here instead. |
