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

Goldstein Lyor commented on SSHD-791:
-------------------------------------

{quote}
I want to implement interface ClientProxyConnector to suit my issue, but I 
found it's impossible because socks5 protocol is not as simple as just send a 
packet, but need to send and receive multiple times.
{quote}
I don't think it is impossible just hard - please note that when the 
{{ClientProxyConnector}} is invoked, you are provided with a {{ClientSession}} 
- this session exposes {{getIoSession()}} through which you can 
exchange/send/receive numerous packets before returning to the normal flow. 
However, please make sure that you do not interfere with the SSH protocol flow 
- in other words, after having exchanged whatever packets you did with the 
server, it must send the SSH identification string(s) and be ready to accept 
the client identification line.

> Support the socks protocol
> --------------------------
>
>                 Key: SSHD-791
>                 URL: https://issues.apache.org/jira/browse/SSHD-791
>             Project: MINA SSHD
>          Issue Type: New Feature
>            Reporter: Zhenliang Su
>            Priority: Minor
>              Labels: socks
>
> There is a situation for me to use SshClient to connect remote server via a 
> socks5 proxy server with Java code. I found the issue 
> https://issues.apache.org/jira/browse/SSHD-656 , and I want to implement 
> interface ClientProxyConnector to suit my issue, but I found it's impossible 
> because socks5 protocol is not as simple as just send a packet, but need to 
> send and receive multiple times.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to