[sslh] v1.9 issue on OS X

Yves Rutschle yves at naryves.com
Thu Aug 4 16:00:01 CEST 2011


On Thu, Aug 04, 2011 at 10:14:06PM +0900, Aaron Madlon-Kay wrote:
> thrillho:~ amake$ sudo /opt/local/sbin/sslh -f -v -u nobody -p 0.0.0.0:443 --ssh localhost:22 --ssl localhost:443

It's kind of weird that it worked before: 0.0.0.0 should
bind on all interfaces, but obviously you have httpd on
localhost:443 which means there should be a conflict.

> ssh addr: localhost:ssh. libwrap service: sshd
> ssl addr: localhost:https. libwrap service: (null)
> listening on:
> 	0.0.0.0:https
> timeout to ssh: 2
> 0.0.0.0:https:bind: Invalid argument

and bind returning Invalid argument can come from an address
that's already bound. Could you try -p 192.168.0.1:443 (or
whatever your network interface is) and see if that works?

Alternatively, there is a pending issue with FreeBSD that I
have yet to investigate, that manifest itself with bind
failing as well, so maybe it's linked.

Y.



More information about the sslh mailing list