connection attempt timeout - possible feature?

Dan Kaminsky dankamin at cisco.com
Wed Jul 4 15:09:18 EST 2001


> This was talked about on efnet #unixhelp about a week ago while talking
> about why ssh takes such a long time to timeout.  It's a feature of the OS
> and the connect() function call in question, IIRC.
>
> So in theory one could wrap the call in sshconnect.c (both places) with a
> timer to interrupt connect().  Not sure if there is a cleaner way off
> hand.

This is/was a problem with the dynamic forwarding code -- port forwards were
blocking the entire server process when the user connected to a down port --
could code be shared from there?

--Dan





More information about the openssh-unix-dev mailing list