You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2014/04/14 13:39:28 UTC

[jira] [Updated] (SSHD-296) Support SSH_MSG_KEX_DH_GEX_REQUEST_OLD message

     [ https://issues.apache.org/jira/browse/SSHD-296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet updated SSHD-296:
---------------------------------

    Fix Version/s:     (was: 0.10.2)
                   0.11.0

> Support SSH_MSG_KEX_DH_GEX_REQUEST_OLD message
> ----------------------------------------------
>
>                 Key: SSHD-296
>                 URL: https://issues.apache.org/jira/browse/SSHD-296
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>         Environment: Windows 7 64 bits
> Java 1.7.0_45
> PuTTY 0.63
>            Reporter: Clecio Varjao
>            Assignee: Guillaume Nodet
>             Fix For: 0.11.0
>
>         Attachments: putty.log
>
>
> connecting via PuTTY causes: Disconnecting: Protocol error: expected packet 34, got 30
> Test Case:
> https://github.com/cvarjao/jenkins-sshd/blob/master/src/test/java/org/apache/sshd/PlinkClientTest.java
> note: assumes plink is in the windows PATH
> 02:07:11.376 [pool-2-thread-4] DEBUG o.a.s.s.s.ServerSession - Received SSH_MSG_KEXINIT
> 02:07:11.376 [pool-2-thread-4] INFO  o.a.s.s.s.ServerSession - Kex: server->client aes128-ctr hmac-sha2-256 none
> 02:07:11.377 [pool-2-thread-4] INFO  o.a.s.s.s.ServerSession - Kex: client->server aes128-ctr hmac-sha2-256 none
> 02:07:11.377 [pool-2-thread-5] DEBUG o.a.s.c.i.n.Nio2Session - Read 16 bytes
> 02:07:11.377 [pool-2-thread-5] TRACE o.a.s.s.s.ServerSession - Received packet #2: 1e 00 00 04 00
> 02:07:11.378 [pool-2-thread-5] DEBUG o.a.s.c.i.n.Nio2Session - Caught exception, now calling handler
> 02:07:11.381 [pool-2-thread-5] WARN  o.a.s.s.s.ServerSession - Exception caught
> org.apache.sshd.common.SshException: Protocol error: expected packet 34, got 30
> 	at org.apache.sshd.server.kex.DHGEX.next(DHGEX.java:99) ~[sshd-core-0.10.0.jar:0.10.0]
> 	at org.apache.sshd.common.session.AbstractSession.doHandleMessage(AbstractSession.java:390) ~[sshd-core-0.10.0.jar:0.10.0]
> 	at org.apache.sshd.common.session.AbstractSession.handleMessage(AbstractSession.java:295) ~[sshd-core-0.10.0.jar:0.10.0]
> 	at org.apache.sshd.common.session.AbstractSession.decode(AbstractSession.java:717) ~[sshd-core-0.10.0.jar:0.10.0]
> 	at org.apache.sshd.common.session.AbstractSession.messageReceived(AbstractSession.java:277) ~[sshd-core-0.10.0.jar:0.10.0]
> 	at org.apache.sshd.common.AbstractSessionIoHandler.messageReceived(AbstractSessionIoHandler.java:54) ~[sshd-core-0.10.0.jar:0.10.0]
> 	at org.apache.sshd.common.io.nio2.Nio2Session$1.completed(Nio2Session.java:188) [sshd-core-0.10.0.jar:0.10.0]
> 	at org.apache.sshd.common.io.nio2.Nio2Session$1.completed(Nio2Session.java:174) [sshd-core-0.10.0.jar:0.10.0]
> 	at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126) [na:1.7.0_45]
> 	at sun.nio.ch.Invoker$2.run(Invoker.java:206) [na:1.7.0_45]
> 	at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112) [na:1.7.0_45]
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_45]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_45]
> 	at java.lang.Thread.run(Thread.java:744) [na:1.7.0_45]
> 02:07:11.381 [pool-2-thread-5] INFO  o.a.s.s.s.ServerSession - Disconnecting: Protocol error: expected packet 34, got 30



--
This message was sent by Atlassian JIRA
(v6.2#6252)