help with debugging "Close for unknown channel 0" in dropbear-0.53.1
Bodo Meissner
bodo at bodo-m.de
Wed May 9 00:36:18 WST 2012
On Tue, May 08, 2012 at 11:51:20PM +0800, Matt Johnston wrote:
>
> The RFC is fairly clear that there should be only one
> SSH_MSG_CHANNEL_CLOSE for a channel. See
> https://www.ietf.org/rfc/rfc4254.txt section 5.3.
Hello Matt,
I think you are right, although it is (IMHO) not explicitly stated.
With a short scan for keywords I did not find a specification what to do when SSH_MSG_CHANNEL_CLOSE is received with a wrong channel number, so the behaviour in this case is at least undefined.
> I'd prefer to avoid workarounds in this case.
It was not intended as a request for a workaround, only as a question for discussion or an idea to make future versions more robust.
According to the activity in the bugtracker, SSH.NET is not yet in a stable state, so I will mainly fix this library. Another reason is that the software which uses this library is still in development, so we can do whatever is necessary here.
I would not use a newer version of dropbear (with possible changes) unless I cannot solve my problem in any other way. I'm developing software for an industrial device which should be based on a well defined and tested operating system and build environment, so I avoid changing anything in the base system.
Thanks for your help.
Bodo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
Url : http://lists.ucc.gu.uwa.edu.au/pipermail/dropbear/attachments/20120508/3d3c183c/attachment.pgp
More information about the Dropbear
mailing list