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

SSHD port forwarding. Channel closed abruptly on remote socket error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • None

    Description

      After creating a connection to a remote server using port forwarding, is the remote server close the socket suddenly, sshd perform a channel close wihtout sending a SSH_MSG_CHANNEL_CLOSE to the ssh client.

       

      Moreover (see SSHD-795) ifa failure is happening during write, the connection to ssh client is suddenly (and wrongly) closed.

       

      Attached a possible patch for the problem.

       

       

      Attachments

        1. sshd-tcp-server-channel.patch
          2 kB
          Fulvio Cavarretta

        Issue Links

          Activity

            People

              lgoldstein Lyor Goldstein
              fcava Fulvio Cavarretta
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: