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> 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) {