Introduce a transport-level ping facility
authordjm <djm@openbsd.org>
Mon, 28 Aug 2023 03:28:43 +0000 (03:28 +0000)
committerdjm <djm@openbsd.org>
Mon, 28 Aug 2023 03:28:43 +0000 (03:28 +0000)
commit56f6b460f0957d1db356d4f6f2899a212cc21a75
tree9040d6e0eb65c725a3cddf47d584e93b4ab59c68
parent63985f4186c4cae6fc125f6e346c8c4b8570702c
Introduce a transport-level ping facility

This adds a pair of SSH transport protocol messages SSH2_MSG_PING/PONG
to implement a ping capability. These messages use numbers in the "local
extensions" number space and are advertised using a "ping@openssh.com"
ext-info message with a string version number of "0".

ok markus@
usr.bin/ssh/PROTOCOL
usr.bin/ssh/kex.c
usr.bin/ssh/kex.h
usr.bin/ssh/packet.c
usr.bin/ssh/ssh2.h