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:
>>   The SSH spec doesn't really explain the semantics of the server's
>>   response to the channel open command, in particular whether the
>>   returned data size parameters are merely a confirmation of the
>>   client's requested values or whether the server is allowed to
>>   further modify them to suit its own requirements (or perhaps one is
>>   for send and the other for receive?).
>
> One thing I would like to see clarified here but haven't seen mentioned
> is what level the max packet size applies at.  Is it the max data
> payload of a CHANNEL_DATA (or CHANNEL_EXTENDED_DATA) packet, the max
> size of a CHANNEL_DATA (or ...) packet in cleartext form, the max size
> of such a packet with encryption and padding, what?

I actually mentioned that in my third email as something else I'd like to see clarification on.  The other thing I mentioned in that email as being unclear to me was this:

> On this same subject, here's something else I think could use 
> clarification.  RFC4254#section-5.1 states that the "maximum packet 
> size" refers to the "maximum size of an individual data packet".  This 
> raises the question...  what qualifies as a data packet.  Does 
> SSH_MSG_CHANNEL_REQUEST qualify as a data packet, for example?  Often, 
> they wouldn't, but if the request type is "exec", a 
> SSH_MSG_CHANNEL_REQUEST could easily exceed "maximum packet size".



      



Home | Main Index | Thread Index | Old Index