You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Darren Shepherd (JIRA)" <ji...@apache.org> on 2013/12/16 22:03:06 UTC

[jira] [Created] (SSHD-270) When remote port != 0 for tcpip-forward the server will not reply w/ a port

Darren Shepherd created SSHD-270:
------------------------------------

             Summary: When remote port != 0 for tcpip-forward the server will not reply w/ a port
                 Key: SSHD-270
                 URL: https://issues.apache.org/jira/browse/SSHD-270
             Project: MINA SSHD
          Issue Type: Bug
    Affects Versions: 0.9.0
            Reporter: Darren Shepherd


DefaultTcpipForwarder.startRemotePortForwarding() currently reads the remote port from the tcpip-forward result.  According the to the ssh protocol, the server should only reply with a port if wantReply is true and remote port != 0.  

Currently if you call startRemotePortForwarding with a remote port set, you will get a buffer underrun



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)