[ 
https://issues.apache.org/jira/browse/SSHD-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13881073#comment-13881073
 ] 

Alon Bar-Lev commented on SSHD-258:
-----------------------------------

I can 100% reproduce that with 0.9.0 (Packet corrupt):

2 [main] INFO org.apache.sshd.common.util.SecurityUtils - BouncyCastle not 
registered, using the default JCE provider
336 [pool-2-thread-1] INFO org.apache.sshd.client.session.ClientSessionImpl - 
Session created...
512 [pool-2-thread-2] INFO org.apache.sshd.client.session.ClientSessionImpl - 
Server version string: SSH-2.0-OpenSSH_6.2
682 [pool-2-thread-4] INFO org.apache.sshd.client.session.ClientSessionImpl - 
Received SSH_MSG_KEXINIT
712 [pool-2-thread-4] INFO org.apache.sshd.client.kex.DHG1 - Send 
SSH_MSG_KEXDH_INIT
932 [pool-2-thread-5] INFO org.apache.sshd.client.kex.DHG1 - Received 
SSH_MSG_KEXDH_REPLY
950 [pool-2-thread-5] WARN 
org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at 
/10.35.0.72:22 presented unverified key: 
950 [pool-2-thread-5] INFO org.apache.sshd.client.session.ClientSessionImpl - 
Received SSH_MSG_NEWKEYS
954 [pool-2-thread-5] INFO org.apache.sshd.client.session.ClientSessionImpl - 
Send SSH_MSG_SERVICE_REQUEST for ssh-userauth
1362 [main] INFO org.apache.sshd.client.auth.UserAuthPassword - Send 
SSH_MSG_USERAUTH_REQUEST for password
1561 [pool-2-thread-3] INFO org.apache.sshd.client.auth.UserAuthPassword - 
Received SSH_MSG_USERAUTH_SUCCESS
1569 [main] INFO org.apache.sshd.client.channel.ChannelExec - Send 
SSH_MSG_CHANNEL_OPEN on channel 101
1739 [pool-2-thread-5] INFO org.apache.sshd.client.channel.ChannelExec - Send 
SSH_MSG_CHANNEL_REQUEST exec
2550 [pool-2-thread-1] INFO org.apache.sshd.client.session.ClientSessionImpl - 
Received SSH_MSG_DISCONNECT (reason=2, msg=Packet corrupt)
2552 [pool-2-thread-1] INFO org.apache.sshd.client.session.ClientSessionImpl - 
Session root@/10.35.0.72:22 closed

Cannot reproduce that using current master using this test case, I will try to 
use master for the full blown application.


> [regression] binary input to exec channel is broken in 0.9.0 worked up to 
> 0.8.0
> -------------------------------------------------------------------------------
>
>                 Key: SSHD-258
>                 URL: https://issues.apache.org/jira/browse/SSHD-258
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>         Environment: attached test case, server is openssh
> openssh-server-6.2p2-5.fc19.x86_64
>            Reporter: Alon Bar-Lev
>            Assignee: Guillaume Nodet
>            Priority: Critical
>              Labels: regression
>             Fix For: 0.8.0
>
>         Attachments: SSHTest.java
>
>
> 0.9.0 output:
> ---
> Oct 21, 2013 1:27:10 AM org.apache.sshd.client.channel.AbstractClientChannel 
> internalOpen
> INFO: Send SSH_MSG_CHANNEL_OPEN on channel 101
> Oct 21, 2013 1:27:10 AM org.apache.sshd.client.channel.ChannelExec doOpen
> INFO: Send SSH_MSG_CHANNEL_REQUEST exec
> Oct 21, 2013 1:27:11 AM org.apache.sshd.client.session.ClientSessionImpl 
> doHandleMessage
> INFO: Received SSH_MSG_DISCONNECT (reason=2, msg=Packet corrupt)
> Oct 21, 2013 1:27:11 AM 
> org.apache.sshd.common.session.AbstractSession$1IoSessionCloser 
> operationComplete
> INFO: Session root@/10.35.0.72:22 closed
> ---
> Notice the "Packet corrupt"
> 0.8.0 output:
> ---
> Oct 21, 2013 1:26:16 AM org.apache.sshd.client.channel.AbstractClientChannel 
> internalOpen
> INFO: Send SSH_MSG_CHANNEL_OPEN on channel 0
> Oct 21, 2013 1:26:16 AM org.apache.sshd.client.channel.ChannelExec doOpen
> INFO: Send SSH_MSG_CHANNEL_REQUEST exec
> Oct 21, 2013 1:26:27 AM org.apache.sshd.client.channel.AbstractClientChannel 
> handleRequest
> INFO: Received SSH_MSG_CHANNEL_REQUEST on channel 0
> Oct 21, 2013 1:26:27 AM 
> org.apache.sshd.common.session.AbstractSession$1IoSessionCloser 
> operationComplete
> INFO: Session root@/10.35.0.72:22 closed
> ---



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to