www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: Re: [PATCH] Follow RFC4253 section 11.4

Re: [PATCH] Follow RFC4253 section 11.4

From: Steven Dake <sdake_at_redhat.com>
Date: Thu, 01 Mar 2012 13:46:31 -0700

On 03/01/2012 01:43 PM, Henrik Nordström wrote:
> 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.
>

Thanks

I'll give sending the keepalive until after auth finishes a go

Regards
-steve

> Regards
> Henrik
>
> _______________________________________________
> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

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

the libssh2 team