mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fulvio Cavarretta (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SSHD-800) SSHD port forwarding. Wrong SSH_MSG_CHANNEL_FAILURE
Date Thu, 01 Feb 2018 17:16:00 GMT
Fulvio Cavarretta created SSHD-800:
--------------------------------------

             Summary: SSHD port forwarding. Wrong SSH_MSG_CHANNEL_FAILURE
                 Key: SSHD-800
                 URL: https://issues.apache.org/jira/browse/SSHD-800
             Project: MINA SSHD
          Issue Type: Bug
    Affects Versions: 1.7.0
            Reporter: Fulvio Cavarretta


Hi in case the SSHD server receives a message for a not existing channel, it sends back a
_SSH_MSG_CHANNEL_FAILURE_.

This behaviour is not described in RFC4254, which, I agree, is unclear about what should
be do in this case.

Since the current SSHD implementation send back a _SSH_MSG_CHANNEL_FAILURE_ message (with
the local channel id), in our environment, it put the receipient in an inconsistent state. 



In out enviroment happened that the receipient has sent a _SSH_MSG_CHANNEL_DATA_ while SSHD
had already closed the channel.

I fully agree that this should not happen (I will open another issue about this) but the _SSH_MSG_CHANNEL_FAILURE_ further
complicates things.



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

Mime
View raw message