SPuerBRead opened a new issue, #379:
URL: https://github.com/apache/mina-sshd/issues/379

   Hello, I have the following scenario and encountered some issues while using 
mina-sshd for TCP/IP Port Forwarding. I would like to learn if there is a 
solution available.
   
   sshclient (192.168.1.1) -> ssh-jumper (10.10.1.2) -> sshserver (10.10.1.1) 
-> web service (10.10.1.1 listens on 127.0.0.1)
   
   The ssh-jumper is a relay server used for forwarding SSH connections. Since 
the web service is listening on 127.0.0.1, I want to access the web service 
through SSH proxy.
   
   The current issue is that when the sshserver (10.10.1.1) receives a request 
and forwards it to the web service, it times out (the web service has a 
1-second timeout, from TCP handshake to sending data packets).
   
   If it exceeds 1 second, the request fails. I am currently using mina-sshd 
for these operations, but I noticed that all requests are timing out. I would 
like to learn if there is a way to allow the sshserver to establish the TCP 
handshake with the web service after receiving and decrypting the request. The 
current mode seems to establish the handshake first and then perform 
decryption, which causes some timeouts.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to