IETF-SSH archive

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

Re: Invalid channel numbers



Hi,

Peter Gutmann wrote:

Joseph Galbraith <galb-list%vandyke.com@localhost> writes:


The channel number is part of the packet that is predefined. Therefore, you
can always parse the channel number, and send the response.


What if it's a channel open where the packet ends halfway through the channel
number?  You've got a request, there seems to be a requirement to send a
response, but you can't respond without some facility that lets you say "The
last channel-related request was disallowed".

This seems broken enough to just close the connection - it's not in accordance with the current spec, or any future possible altered spec. If you're really eager not to close the connection, sending an SSH_MSG_UNIMPLEMENTED might be a reasonable alternative.

--
Jon Bright
Silicon Circus Ltd.
http://www.siliconcircus.com



Home | Main Index | Thread Index | Old Index