Pavel Rosputko
2009-Feb-27 19:40 UTC
Dynamic Port Forwarding - Connection reset by peer problem
Hi all, I use the dynamic port forwarding. I execute `ssh -D 5555 my-external.com`. Then I use localhost:5555 as a socks server. I connect to my-server.com via socks at 5555. It seems my client does not detect connection reset by peer and hangs on recv forever when my-server.com does connection reset. May it be a problem in openssh socks5' implementation?
Damien Miller
2009-Feb-27 22:45 UTC
Dynamic Port Forwarding - Connection reset by peer problem
On Fri, 27 Feb 2009, Pavel Rosputko wrote:> Hi all, > > I use the dynamic port forwarding. I execute `ssh -D 5555 > my-external.com`. Then I use localhost:5555 as a socks server. I > connect to my-server.com via socks at 5555. It seems my client does > not detect connection reset by peer and hangs on recv forever when > my-server.com does connection reset. May it be a problem in openssh > socks5' implementation?Who knows? You didn't provide enough information to tell. You could start with: - Your platform (client and server) - The version(s) of ssh and sshd in use - Debug output from ssh (ssh -vvv ...) and sshd (sshd -ddd ...) Then we might be able to figure out what has gone wrong. -d