Re: The meaning of the SSH-2 window adjust packet



On Wed, 11 Jul 2007 08:59:43 +0100, Simon Tatham wrote:

H.K. Kingston-Smith <HKK-S@xxxxxxxxx> wrote:
I am confused about the meaning of the SSH-2 window adjust packet, as
described in section 5.2 of RFC 4254. If the number of bytes to add
included in this packet is N, and the current window size is W, what is
the window size after receiving this packet? N + W? N? Something else?

N+W. Note `bytes _to add_', and `the recipient MAY send the given number
of bytes _more than it was previously allowed to send_' (my emphasis).

Thanks for your answer. I guess that my doubt comes precisely
from that 'previously', which can be interpreted as 'the last time that
window information was sent (regardless of the window value at that
point)' or 'the value of the window size when this window adjust packet
is received'. Of course, with the former interpretation it makes no sense
to keep adding bytes, for the window size would only increase.

.



Relevant Pages

  • Re: Creating a simple windows messaging app
    ... a broker app that receives packets from a canbus and pushes them out to ... each application thread a copy of the packet. ... consists of putting the message into a queue to be sent to the bus (no ... targeted at a specific window. ...
    (microsoft.public.vc.mfc)
  • Re: Creating a simple windows messaging app
    ... each application thread a copy of the packet. ... appThread responds to: ... consists of putting the message into a queue to be sent to the bus (no ... targeted at a specific window. ...
    (microsoft.public.vc.mfc)
  • Re: TV Card setup (repost) - baskitcaise, help please! :-)
    ... >> These are messages from your firewall and can get a bit out of hand the ... >> number your DNS server by any chance? ... "Don't fragment" this IP packet if it's too big, drop it and send an ICMP ... Window size? ...
    (alt.os.linux.suse)
  • Re: Application, dll and driver design
    ... But there is one problem with replacing window messages with packet reading ... I have 15 processes all talking to each other and Dll process. ... > each app that blocks while trying to read from the shared buffer of ...
    (microsoft.public.win32.programmer.ui)
  • Re: Problems w/ Debian firewall and Windows VPN
    ... the last packet being sent is a TCP Zero Window ... > connection starts fine, but after 5-10 minutes, it disconnects. ... > client is a TCP RST, ...
    (Debian-User)