IETF-SSH archive

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

Re: Channel close logic, needs clarification?



Markus Friedl <Markus.Friedl%informatik.uni-erlangen.de@localhost> writes:

> Hm, so now I'm even more confused.  What does I say if I
> send an EOF message on a channel?  Does it mean:
> 
> (1) I will not send SSH_MSG_CHANNEL_DATA in the future, or
> 
> (2) I will neither send SSH_MSG_CHANNEL_DATA nor
>     SSH_MSG_CHANNEL_EXTENDED_DATA in the future.

I have always used the interpretation (2). lsh and lshd currently
ignores extended data received after CHANNEL_EOF, and log a message.
They could just as well treat it as a fatal protocol error.

/Niels



Home | Main Index | Thread Index | Old Index