You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/02/01 17:01:00 UTC

[jira] [Commented] (SSHD-799) SSHD port forwarding. Missing SSH_MSG_CHANNEL_OPEN_FAILURE message

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

ASF GitHub Bot commented on SSHD-799:
-------------------------------------

GitHub user fcav1973 opened a pull request:

    https://github.com/apache/mina-sshd/pull/44

    [SSHD-799] SSHD port forwarding. Missing SSH_MSG_CHANNEL_OPEN_FAILURE

    message

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/fcav1973/mina-sshd master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/mina-sshd/pull/44.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #44
    
----
commit 75208553fe0b0da8d9bd7d9126a21bcfa13e0df1
Author: cu0132 <fu...@...>
Date:   2018-02-01T16:58:50Z

    [SSHD-799] SSHD port forwarding. Missing SSH_MSG_CHANNEL_OPEN_FAILURE
    message

----


> SSHD port forwarding. Missing SSH_MSG_CHANNEL_OPEN_FAILURE message
> ------------------------------------------------------------------
>
>                 Key: SSHD-799
>                 URL: https://issues.apache.org/jira/browse/SSHD-799
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 1.7.0
>            Reporter: Fulvio Cavarretta
>            Priority: Major
>
> Hi we are faceing issue using port forwarding feature.
> An ssh client is requesting to open a remote connection through Apache sshd server.
> In case connection to remote server fails, there some cases where sshd do not send back SSH_MSG_CHANNEL_OPEN_FAILURE.
> The problem is in _org.apache.sshd.common.session.helpers.AbstractConnectionService_ class 
> The offending code seems to be from line 642 to 654: in case Exception is null, no SSH_MSG_CHANNEL_OPEN_FAILURE is sent back to client.
> We'll try to post a pull request for this issue
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)