IETF-SSH archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Invalid channel numbers
der Mouse <mouse%Rodents.Montreal.QC.CA@localhost> writes:
>For channel numbers assigned by the peer, I don't think there are any
>reserved values; you need to keep the valid bit somewhere else. I suppose
>you could build an implementation that croaks if the peer ever uses channel
>0xffffffff, but that strikes me as rather broken.
Actually there's another reason for requiring this (just dug it up from an old
code comment): When you get a channel-specific request (channel open, channel
request, etc), you're supposed to send back a succeeded or failed status. How
do you send back a response for the condition that you couldn't parse the
request to the point of finding the channel number to use in the response?
Peter.
Home |
Main Index |
Thread Index |
Old Index