[sslh] FreeBSD patch

Matt Smith matt at xtaz.co.uk
Sun Aug 7 21:18:43 CEST 2011


On 7 August 2011 19:34, Yves Rutschle <yves at naryves.com> wrote:
> Could you try the attached patch and report if it fixes
> sslh-1.9 for FreeBSD and MacOSX please?

This patch allows sslh to run and it binds to both ipv4 and ipv6
however it won't connect to anything.

root at tao[sslh-1.9]# ./sslh-select -t 2 -u nobody -p 192.168.1.2:443 -p
2a01:348:294::1:444 --ssh 127.0.0.1:22 --ssl 127.0.0.1:443

root at tao[sslh-1.9]# telnet 192.168.1.2 443
Trying 192.168.1.2...
Connected to tao.xtaz.co.uk.
Escape character is '^]'.
Connection closed by foreign host.

root at tao[sslh-1.9]# telnet 127.0.0.1 22
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
SSH-2.0-OpenSSH_5.4p1

root at tao[sslh-1.9]# HEAD https://192.168.1.2/
500 Can't connect to 192.168.1.2:443

In the syslog:
Aug  7 20:10:55 tao sslh-select[47900]: forward to ssh failed
Aug  7 20:16:02 tao sslh-select[47932]: forward to ssl failed



More information about the sslh mailing list