IETF-SSH archive

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

Re: maximum size of packets from client to server



der Mouse wrote:
>> Per RFC4254, the maximum size field of an SSH_MSG_CHANNEL_OPEN packet
>> places an upper bound on just how big a packet from the server to the
>> client can be: [...]
> 
>> My question is...  what about the other way around?  What about
>> packets sent from the client to the server?
> 
> See the SSH_MSG_CHANNEL_OPEN_CONFIRMATION packet sent in response to
> the open request, which holds the corresponding values for data flowing
> in the other direction.

Hmmm - the first time I looked at the structure of SSH_MSG_CHANNEL_OPEN_CONFIRMATION, I thought those extra fields were for confirmation purposes and didn't give it a second thought.  Seems like the RFC should maybe state their purpose in SSH_MSG_CHANNEL_OPEN_CONFIRMATION a bit more explicitly - as is, although it's clear what they mean for SSH_MSG_CHANNEL_OPEN, for the confirmation response, it kinda requires you guess.  Maybe it's an easy enough thing to guess correctly, but I, apparently, didn't...

Anyway, thanks!



      



Home | Main Index | Thread Index | Old Index