[jira] [Commented] (SSHD-1008) Proxy & socks5 use in client server communication

2021-09-27 Thread Sandeep (Jira)


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

Sandeep commented on SSHD-1008:
---

Hi Team,

Is any update in the latest SFTP SSHD version for SOCKS5 with authentication 
support?

> Proxy & socks5 use in client server communication
> -
>
> Key: SSHD-1008
> URL: https://issues.apache.org/jira/browse/SSHD-1008
> Project: MINA SSHD
>  Issue Type: Question
>Reporter: Sandeep
>Priority: Major
>
> We have client and server both written in SSHD mina and now customer want to 
> add proxy, socks5 feature in current client & server communication. So all 
> traffic should go via proxy.
>  
> Also point to be consider as proxy may have authentication. 
> Please let me know can we give support for such scenarios. If yes do we have 
> some reference class or test scrips?
>  
>  In sort am finding replacement for 
> [https://www.javatips.net/api/j2ssh-maverick-master/j2ssh-maverick/src/main/java/com/sshtools/net/SocksProxyTransport.java#]
> and 
> [https://www.javatips.net/api/j2ssh-maverick-master/j2ssh-maverick/src/main/java/com/sshtools/net/SocksProxyTransport.java#]
> for this two mavericks class.
> [~lgoldstein] can you please help me to identify right classes or any 
> pointers? 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org



[jira] [Commented] (SSHD-1008) Proxy & socks5 use in client server communication

2020-06-01 Thread Thomas Wolf (Jira)


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

Thomas Wolf commented on SSHD-1008:
---

[~ssmali1505]: Lyor's answer is for making the server support SOCKS5. If you 
want to have the _client_ connect through a SOCKS5 or HTTP CONNECT proxy, a bit 
more work is needed. It's a bit complicated because the framework starts 
reading messages only once the ClientSessionImpl creator has returned, but that 
creator already initiates the proxy protocol, and also sends the SSH 
identification and possibly the KEX init.

You might want to take a look at [how we did that in 
JGit|https://git.eclipse.org/r/plugins/gitiles/jgit/jgit/+/master/org.eclipse.jgit.ssh.apache/src/org/eclipse/jgit/internal/transport/sshd]:
 basically we install a ClientProxyConnector that tells the session to divert 
all messages received to the proxy connector until the proxy protocol is 
finished. We buffer the initial identification and KEX init messages, and send 
them only once the proxy protocol has established the proxy connection. 

> Proxy & socks5 use in client server communication
> -
>
> Key: SSHD-1008
> URL: https://issues.apache.org/jira/browse/SSHD-1008
> Project: MINA SSHD
>  Issue Type: Question
>Reporter: Sandeep
>Priority: Major
>
> We have client and server both written in SSHD mina and now customer want to 
> add proxy, socks5 feature in current client & server communication. So all 
> traffic should go via proxy.
>  
> Also point to be consider as proxy may have authentication. 
> Please let me know can we give support for such scenarios. If yes do we have 
> some reference class or test scrips?
>  
>  In sort am finding replacement for 
> [https://www.javatips.net/api/j2ssh-maverick-master/j2ssh-maverick/src/main/java/com/sshtools/net/SocksProxyTransport.java#]
> and 
> [https://www.javatips.net/api/j2ssh-maverick-master/j2ssh-maverick/src/main/java/com/sshtools/net/SocksProxyTransport.java#]
> for this two mavericks class.
> [~lgoldstein] can you please help me to identify right classes or any 
> pointers? 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org



[jira] [Commented] (SSHD-1008) Proxy & socks5 use in client server communication

2020-05-31 Thread Lyor Goldstein (Jira)


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

Lyor Goldstein commented on SSHD-1008:
--

I am not familiar with the SOCKS implementation but we do have support for it - 
see {{SocksProxy}} class - it has both SOCKS4 and SOCK5 implementation. See 
{{DefaultForwardingFilter#startDynamicPortForwarding}}

> Proxy & socks5 use in client server communication
> -
>
> Key: SSHD-1008
> URL: https://issues.apache.org/jira/browse/SSHD-1008
> Project: MINA SSHD
>  Issue Type: Question
>Reporter: Sandeep
>Priority: Major
>
> We have client and server both written in SSHD mina and now customer want to 
> add proxy, socks5 feature in current client & server communication. So all 
> traffic should go via proxy.
>  
> Also point to be consider as proxy may have authentication. 
> Please let me know can we give support for such scenarios. If yes do we have 
> some reference class or test scrips?
>  
>  In sort am finding replacement for 
> [https://www.javatips.net/api/j2ssh-maverick-master/j2ssh-maverick/src/main/java/com/sshtools/net/SocksProxyTransport.java#]
> and 
> [https://www.javatips.net/api/j2ssh-maverick-master/j2ssh-maverick/src/main/java/com/sshtools/net/SocksProxyTransport.java#]
> for this two mavericks class.
> [~lgoldstein] can you please help me to identify right classes or any 
> pointers? 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org