Re: Binary packet protocol rethink

Simon Josefsson <[email protected]>
Newsgroups gmane.ietf.secsh
Message-ID <[email protected]>
[email protected] (Niels Möller) writes:

> The problem is the interactivity. Let's consider the simplest example
> (but I'm not saying this example captures all essentials of the
> problem). Say I let my shell connection idle for some time, then I type
> a couple of characters, and I want a timely response before I type the
> next command. Then my typing has to correspond to a TCP segment that can
> be decrypted and authenticated and passed on to the remote shell. With
> the current ssh protocol, that TCP segment will carry a single
> CHANNEL_DATA packet, possibly in combination with fragments of IGNORE
> messages and possibly other piggybacking messages, e.g., WINDOW_ADJUST.
>
> To hide the user's typing from traffic analysis is a tradeoff, with
> varying amounts of cover traffic (preferably including responses;
> there's maybe some use for an IGNORE_CONTENTS_BUT_PLEASE_REPLY message
> type).

In libssh2 there is a keepalive message that can be sent regulary.  It
is a SSH_MSG_GLOBAL_REQUEST with the want-reply bit set.  It should be
replied to (typically with a SSH_MSG_REQUEST_FAILURE message).

That said, I'm also skeptic whether this is an effort that will pan out.
I don't see the problem statement sufficiently strong to motivate work.
In general that may be because the idea is too weak, but can also be
that the problem statement is not fleshed out well enough.  Right now it
is hard to tell which case applies, but the end result is the same
(=nothing will happen).

/Simon
signature.asc (application/pgp-signature, 472 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBCAAGBQJWWBo+AAoJEIYLf7sy+BGdu+UIAImqPQUz/HkzDs1uKP13MSUa
LrwCfeMON5ZeRMyMxj6E99ZovaxbfgQ2zdoDyy6Qf8YR64xN7XeZigfxRu6NqgBl
8qGFKMe1bW4YFvg3n1MSvZUXAUUqZD03dT0jgNfA5BA8kO6EbO029gunEEtyaIZW
Ix6GiAJQf8mtRE8FlxwXxI6pPSofZNJ5/kbiFOWyaDGpkENZXbmw1Gqv3Wuka1v5
VPMS+tAsKttyOxCnQbDUMCj+feqTGsWFgrX96gIW26sHh1bETXdvpCFfYnmBrmUf
8iyU/Ysaw5tdl0ly1uGltr1OUAaaQbiduTW371xFYsa2QP880c/DkrQjzBIoo90=
=FGFr
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.