Bugs item #2861899, was opened at 2009-09-19 01:37
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=703942&aid=2861899&group_id=125852

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: API
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: incorrect DSS signature length for packet type 31(0x1f) 

Initial Comment:
libssh2 is not processing/reading correctly ssh packet type 31 from the ssh 
server.  The library thinks that DSS signature length is 25 but the SSH server 
sends  value of 40. Since DSS signature length should be 40 libssh2 bails out 
with msg
[libssh2] 1.023884 Failure Event: -14 - Invalid DSS signature length

We can see that libssh2 thinks that the packet lenght is 25 by debbuging or 
printing the value. 
>From the received packet from the server  (see the attached tracefile ) we can 
>see that indeed the server sends value of 40. 
It might be helpful to mention that openssh processes this packet correctly and 
when debugging we can see that DSS signature length is correctly recognized as 
40.





----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2009-09-19 01:53

Message:
from the submitter:
I am using libssh2-1.2 and trying to connect to junose router which uses
dss key. tcpdump trace can be provided upon request.

Artifact 2529398 might be the same problem if the server sends DSS length
of 40 and libssh2 thinks it is 25. 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=703942&aid=2861899&group_id=125852
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to