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



Peter Gutmann <pgut001%cs.auckland.ac.nz@localhost> writes:

> The reason why the second interpretation could be argued to be useful is if
> you see the exchange as:
>
> Client: I propose a max.packet size of 128 MB.
> Server: That looks a bit large to me, how about 64kB?

But the server can lower the value however it likes, without telling
the client. Like

  Client: I can accept packets of size up to 128 MB.

  Server: That's too high for my taste. I'll just pretend that the
  client said only 64kB.

You might argue that it would be useful for the client to know that
this server has decided to not send any packets larger than 64kB, but
I'd say that really getting any advantage out of that information is
too much complexity for too small gain.

(And same goes with the roles of client and server reversed, of
course).

Regards,
/Niels



Home | Main Index | Thread Index | Old Index