[Bug 1363] sshd gets stuck: select() in packet_read_seqnr waits indefinitely

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Sat Nov 3 12:06:22 EST 2007


https://bugzilla.mindrot.org/show_bug.cgi?id=1363





--- Comment #9 from Darren Tucker <dtucker at zip.com.au>  2007-11-03 12:06:20 ---
(In reply to comment #8)
> (In reply to comment #7)
> I think the solution is not to enable the timeout in the server at all
> - it already has LoginGraceTime that kicks off right after accept().
> 
> So, just ignore the sshd.c hunk of this patch.

The problem also exists in the session (eg during rekey) and
LoginGraceTime doesn't help there.

We could set the timeout to MAX(ClientAliveInterval *
ClientAliveCountMax, LoginGraceTime) before auth, and
ClientAliveInterval * ClientAliveCountMax afterward.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list