Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-258

[regression] binary input to exec channel is broken in 0.9.0 worked up to 0.8.0

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 0.9.0
    • Fix Version/s: None
    • Labels:
    • Environment:
      attached test case, server is openssh

      openssh-server-6.2p2-5.fc19.x86_64

      Description

      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

        Attachments

        1. SSHTest.java
          0.9 kB
          Alon Bar-Lev

          Issue Links

            Activity

              People

              • Assignee:
                gnt Guillaume Nodet
                Reporter:
                alonbl Alon Bar-Lev
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: