Subject: | Algorithm negotiation issue with Net::SSH::Perl::Kex v1.24 |
Date: | Wed, 9 Apr 2014 14:56:57 -0400 |
To: | bug-Net-SSH-Perl [...] rt.cpan.org |
From: | Brian Curnow <brian.curnow [...] gfs.com> |
There appears to be a bug in Net::SSH::Perl::Kex v1.24 starting on line
102. The code starts waiting for SSH2_MSG_NEWKEYS before its sent that
message. It looks like the sending and receiving are just backwards. Lines
105, 106 and 107 need to be moved above line 102. While the
RFC<http://tools.ietf.org/html/rfc4253> is
fairly clear that both parties need to send SSH2_MSG_NEWKEYS some servers
don't. Specifically, CoreFTP <http://www.coreftp.com/> doesn't so this.
This bug seems to be identical to
18324<https://rt.cpan.org/Public/Bug/Display.html?id=18324> which
was entered back in 2006. The patch applied to that bug should fix this
too. Can we get this applied?
Brian Curnow | Brian.Curnow@gfs.com