You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2013/01/17 14:08:13 UTC
[jira] [Resolved] (SSHD-205) move ssh-connection (RFC4254) code
from sshd.client.* / sshd.server.* to sshd.connection.*
[ https://issues.apache.org/jira/browse/SSHD-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved SSHD-205.
----------------------------------
Resolution: Fixed
Fix Version/s: 0.9.0
URL: http://svn.apache.org/viewvc?rev=1434654&view=rev
> move ssh-connection (RFC4254) code from sshd.client.* / sshd.server.* to sshd.connection.*
> ------------------------------------------------------------------------------------------
>
> Key: SSHD-205
> URL: https://issues.apache.org/jira/browse/SSHD-205
> Project: MINA SSHD
> Issue Type: Improvement
> Affects Versions: 0.8.0
> Environment: n/a
> Reporter: Andrew C
> Assignee: Guillaume Nodet
> Fix For: 0.9.0
>
>
> In wading through the SSH sources I've been having some trouble trying to understand how the code base implements RFC4254 (ssh-connection). For the most part the ssh-connection protocol is symmetric - either and can initiate any request - but the code doesn't reflect this.
> As an example, SSH_MSG_CHANNEL_OPEN requests such as "direct-tcpip". Since the protocol is symmetric, both the ssh-client and ssh-server are allowed to initiate the request yet the code is structured to strongly (and confusingly) imply it is always ssh-client to ssh-server.
> For instance, ChannelDirectTcpip classes exist in both ...sshd.server.channel and ...sshd.client.channel, suggesting one is ssh-server only and the other is ssh-client only, which isn't true.
> Can I suggest, long term, looking at moving all the connection code to somewhere more neutral such as:
> sshd.connection.channel.DirectTcpipChannel{Client,Server}
> say. It would also make a good first step towards separating the code implementing the ssh-connection protocol from the lower-level ssh-client and ssh-server.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira