From eb53c453512804d9ebba8cba167064ee0e56a315 Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Fri, 6 Jul 2018 12:25:49 -0400 Subject: [PATCH 1/2] Include common.h in systemd-sslh-generator.c Fixes https://github.com/yrutschle/sslh/issues/188 --- systemd-sslh-generator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/systemd-sslh-generator.c b/systemd-sslh-generator.c index 01aef63..315e207 100644 --- a/systemd-sslh-generator.c +++ b/systemd-sslh-generator.c @@ -2,6 +2,7 @@ #include #include #include +#include "common.h" static char* resolve_listen(const char *hostname, const char *port) { From 9df1ab8404db135e4420cfcc5c4642585037f461 Mon Sep 17 00:00:00 2001 From: Yves Rutschle Date: Tue, 31 Jul 2018 19:54:46 +0000 Subject: [PATCH 2/2] fix man page on timeout default protocol --- sslh.pod | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sslh.pod b/sslh.pod index 2e73234..5735bad 100644 --- a/sslh.pod +++ b/sslh.pod @@ -95,7 +95,11 @@ protocol (which should usually be SSH). Default is 2s. =item B<--on-timeout> I Name of the protocol to connect to after the timeout period -is over. Default is 'ssh'. +is over. Default is to forward to the first specified +protocol. It usually makes sense to specify 'ssh' as the +timeout protocol, as the SSH specification does not tell +who is supposed to speak first and a large number of SSH +clients wait for the server to send its banner. =item B<--transparent>