grep packet_start.*SSH2_MSG_CHANNEL_WINDOW_ADJUST *.c is your source available, too?
Hello , OpenSSH gurus I am writing an SSH server but I have some problems when testing with your client - I do not recieve any window adjustments. The situation is something like this - I am exchanging data and sending window adjust after every packet, but do not get any window adjust packets. I tried to lookup the place in the source - OpenSSH-2.92p2 - but didn't find it. Can you help me - I just need to know what is going on , tell me where in the source I can find such place where window adjust is sent or under what circumstances this kind of packets are sent generally. Thanks in advance! -- Best regards, Yavor mailto:yasho at rambler.bg
Hello Markus, Thanks again for the attention this time I was nuch more careful ;). I saw where is the problem. The OpenSSH sends window adjust when it consumes the half of the window and local_consumed is positive. But in the OpenSSH code you are decrementing the window size more slower than I in my server. When I am sending packet I a decrementing the window size with the data of the packet (including the size of the data as it is in string format) , I saw that the PuTTY client does it the same way. Why are you guys decrementing the window size with not with the data of the packet but with data without its len - is there any explanation in the drafts about this? Thanks again!!! Best regards, Yavor mailto:yasho at rambler.bg