Commits


delete needless compat #ifdef


allow to customize the path to ssh(1) via configure script


switch to (customized) kristaps' oconfigure


unveil only ssh(1)


fix parse_sshaddr error reporting errno doesn't contain anything useful in this case


move accounting after the connection was accepted otherwise we may end up in a weird state where we're counting connections that we don't have or have cleared a timeout without a reason.


don't die if accept fails


plug memory leak in try_to_connect it should call conn_free to cleanup the connection struct now.


allow span_ssh to fail


log before quitting


rename parse_tflag -> parse_sshaddr for clarity


properly initialize c->to


log when the connection succeeds


bump copyright year


bind_socket early so that if it fails the user is promptly notified. This requires us to make sure that fds 0-2 are opened, so steal the same trick slowcgi have.