IETF-SSH archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ssh channel window and adjustment



Hi all!


 Thank you for your replies. Basicly your opinions
confirmed my theory about the implementations and
standards ;).
Recently I investigated the OpenSSH client behaviour.
It seems to me that OpenSSH client sends
SSH_MSG_CHANNEL_WINDOW_ADJUST, when it writes more
than the half of its own channel window size(the
initial channel window size it is sending to its
peer,when opening new channel). I think that this
behaviuor may be quite incorrect. Here is an example
of such situation: let's say the user using OpenSSH
client sends commands to th SSH server and if we
suppose these  commands have big console output, then
OpenSSH client's channel window may be filled much
faster than the server's channel window space,but the
server is obliged no to write its output untill the
client sends it adjust message. This way the server is
 obliged to allocate great amount of data and keep it
allocated untill the the amount of data written by the
client exceeds the half of its own channel. Just then
the server will recieve adjust. In my opinion the
adjust message sneding has to be dependent on amount
of data read not written.
I would appreciate any comments on my opinion and
thank you again for your attention :)


P.S. I am afraid that this posting maybe treated as
out of topic but I think that people developing the
OpenSSH are reading this mail list and also I think
that if my opinion is generally wrong(having in mind
the drafts) this is the place to be corrected ;)

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



Home | Main Index | Thread Index | Old Index