IETF-SSH archive

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

Re: channel-request



On Sun, Apr 04, 2004 at 04:07:01AM -0400, der Mouse wrote:
> Reading connect-18, I see that CHANNEL_REQUEST says that "If want reply
> is FALSE, no response will be sent to the request"; it also says that
> "If the request is not recognized or is not supported for the channel,
> SSH_MSG_CHANNEL_FAILURE is returned".
> 
> Which of these trumps the other?

The former.

>                                   That is, if an unrecognized or
> unsupported request arrives with want-reply FALSE, is a failure request
> sent, or not?

No failure reply is sent if want-reply == FALSE.

> Based on the difficulty of associating responses with requests if the
> latter wins, I would guess the former wins (ie, no response is to be
> sent in such a circumstance).

Yup.

> First, is my guess correct?

Yup.

> Second, if so, might it be good to clarify this, such as by changing
> the latter sentence to something like "If the request is not recognized
> or is not supported for the channel, SSH_MSG_CHANNEL_FAILURE is
> returned (unless want reply is FALSE)"?

Yes.  The text is a bit confsing.

Nico
-- 



Home | Main Index | Thread Index | Old Index