Subject: Re: [PATCH] Follow RFC4253 section 11.4

Re: [PATCH] Follow RFC4253 section 11.4

From: Henrik Nordström <henrik_at_henriknordstrom.net>
Date: Thu, 01 Mar 2012 21:43:14 +0100

tor 2012-03-01 klockan 20:20 +0100 skrev Peter Stuge:

> To debug further, you could add a wait for SSH_MSG_UNIMPLEMENTED
> after sending keepalive with want reply = 0, and see what happens.

Why isn't there sequence number in the debug output? Confuses things a
bit.

The SSH_MSG_UNIMPLEMENTED is in response to the packet with seqno 4
(fifth packet), which is the keep-alive sent before authentication.

Note that SSH_MSG_UNIMPLEMENTED should be sent in response to
unimplemented messages even if want_reply == 0. want_reply is a message
specific flag, not part of transport.

Regards
Henrik

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-03-01