Bug 1465 - "ServerAliveInterval" and "ServerAliveCountMax" doesnt work in openssh50?
Summary: "ServerAliveInterval" and "ServerAliveCountMax" doesnt work in openssh50?
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: 5.0p1
Hardware: All All
: P3 normal
Assignee: Damien Miller
URL:
Keywords:
Depends on:
Blocks: V_5_1
  Show dependency treegraph
 
Reported: 2008-05-16 12:55 AEST by sway
Modified: 2023-01-13 13:56 AEDT (History)
0 users

See Also:


Attachments
unbreak protocol keepalive timeouts (632 bytes, patch)
2008-05-19 14:04 AEST, Damien Miller
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description sway 2008-05-16 12:55:49 AEST
OpenSSH 5.0p1 base code has functionality to use server alive messages to determine whether server is alive. It doesn't work correctly.  If setting ServerAliveCountMax and ServerAliveInterval, the connection won't disconnect when the threshold is reached. 


I have reported it to the openssh maillist.
The details of the problem could be found at http://lists.mindrot.org/pipermail/openssh-unix-dev/2008-May/026428.html

Thanks very much.
Comment 1 Damien Miller 2008-05-19 14:04:34 AEST
Created attachment 1503 [details]
unbreak protocol keepalive timeouts

I think this patch should fix things.
Comment 2 Damien Miller 2008-05-19 14:05:43 AEST
put this on the 5.1 list and set a more reasonable severity
Comment 3 Damien Miller 2008-05-19 16:14:39 AEST
patch applied - will be in OpenSSH 5.1
Comment 4 Damien Miller 2008-07-22 12:22:30 AEST
Mass update RESOLVED->CLOSED after release of openssh-5.1