[Bug 2756] sshd does not seem to terminate despite ClientAlive[Interval|CountMax] when a process is polling a remote forwarding channel

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Thu Aug 10 02:02:59 AEST 2017


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

--- Comment #4 from willchan at google.com ---
Cool, thanks! I glanced briefly at the patch and it looks like it'll
definitely help. The minor nit I have is it could also update the
select timeout. It's OK as is, but it means that the
client_alive_check() may be called up to, in worst case, just under a
full ClientAliveInterval after it should. The worst case is when
writesetp is ready when (last_client_time +
options.client_alive_interval == monotime()), so it fails the 
(last_client_time + options.client_alive_interval < monotime()) check.
And then the next select() call times out after a full
ClientAliveInterval.

That's a nit. This fixes the bulk of the issue AFAICT. Thanks.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list