Dear Developers, I've released a patch against openssh-2.5.2p2. The patch adds heartbeat (keepalive) function to ssh(1), and watchdog timeout function to sshd(8). The watchdog timeout is intended to terminate user's processes as soon as possible after the link has been lost. http://www.ecip.tohoku.ac.jp/~hgot/sources/openssh-watchdog.html The combination of the heartbeat and the watchdog timeout is very useful for detecting link down over unreliable connections, especially Wireless Networks. We are using this patch in our wireless gateway. I'm looking for other ssh clients which are capable of sending heartbeats to ssh server. PuTTY was the only one I could find. Please let me know if you have any info. -------- Hideaki Goto
Hi, On Mon, 9 Apr 2001, Hideaki Goto wrote:> I'm looking for other ssh clients which are capable of sending > heartbeats to ssh server. PuTTY was the only one I could find. Please > let me know if you have any info.MindTerm available at http://www.mindbright.se/mindterm/ has had that feature since july 1999. Feel free to check it out. Cheers, /Mats
On Mon, 9 Apr 2001, Hideaki Goto wrote:> Dear Developers, > > I've released a patch against openssh-2.5.2p2. > The patch adds heartbeat (keepalive) function to ssh(1), > and watchdog timeout function to sshd(8). The watchdog > timeout is intended to terminate user's processes > as soon as possible after the link has been lost. > > http://www.ecip.tohoku.ac.jp/~hgot/sources/openssh-watchdog.html > > The combination of the heartbeat and the watchdog timeout > is very useful for detecting link down over unreliable > connections, especially Wireless Networks. > We are using this patch in our wireless gateway. >You use SSH_MSG_IGNORE. A lot of F-Secure clients will ignore the the message: [..snip from compat.c] { "^1\\.2\\.1[89]", SSH_BUG_IGNOREMSG }, { "^1\\.2\\.2[012]", SSH_BUG_IGNOREMSG }, { "^1\\.3\\.2", SSH_BUG_IGNOREMSG }, /* f-secure */ [..] You need to work around theses clients. - Ben
Hello, I've released a new version of the Heartbeat/Watchdog Patch against openssh-2.5.2p2. http://www.ecip.tohoku.ac.jp/~hgot/sources/openssh-watchdog.html Both MindTerm and PuTTY worked well with the watchdog timer which this patch added to sshd. CHANGES -------- openssh-2.5.2p2-watchdog.patch2 : * Watchdog timeout for SSH2 connection has been supported. * Option name "HeartbeatInterval" has been shortened to "Heartbeat" since the former one was too long. * Fixed the child termination process of watchdog timeout so that the forked sshd will die immediately after its child has died. -------- Hideaki Goto