[
https://issues.apache.org/jira/browse/SSHD-270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guillaume Nodet resolved SSHD-270.
----------------------------------
Resolution: Fixed
Fix Version/s: 0.10.0
Assignee: Guillaume Nodet
Thx for the patch !
https://git-wip-us.apache.org/repos/asf?p=mina-sshd.git;a=commitdiff;h=0095939bd864b93a701678ecd55218b5fc3dd935
> 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
> Assignee: Guillaume Nodet
> Fix For: 0.10.0
>
> Attachments:
> 0001-SSHD-270-Only-read-port-from-the-result-if-the-remot.patch
>
>
> 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.5#6160)