[sslh] Core dump when config file used
David Annett
sslh at annett.co.nz
Fri Sep 19 10:47:48 CEST 2014
Hi everyone,
I am using sslh version sslh-fork v1.16-14-g9a0a9b9 built from the
source code on a Centos server. It works as I need when run from the
command line as:
sslh -p 192.168.0.2:443 -p 192.168.1.2:443 --ssl 127.0.0.1:443 --ssh
127.0.0.1:22 --tinc 127.0.0.1:655 -u nobody
However when run with config file, eg as:
sslh -F /etc/sslh.cfg
I get the error "Segmentation fault (core dumped)". I though I made a
config file with the same setting as the command line that works but I
guess I may have the format wrong? The conf file, /etc/sslh.cfg, contains:
verbose: false;
foreground: false;
inetd: false;
numeric: false;
transparent: false;
timeout: 2;
user: "nobody";
pidfile: "/var/run/sslh.pid";
listen:
(
{ host: "192.168.0.2"; port: "443"; },
{ host: "192.168.1.2"; port: "443"; }
);
protocols:
(
{ name: "ssl"; host: "localhost"; port: "443"; probe: "builtin"; },
{ name: "ssh"; service: "ssh"; host: "localhost"; port: "22";
probe: "builtin"; },
{ name: "tinc"; host: "localhost"; port: "655"; probe: "builtin"; },
{ name: "ssl"; host: "localhost"; port: "443"; probe: "builtin"; }
);
Any suggestion about where I have gone wrong?
Thanks
David
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the sslh
mailing list