I encountered a very similar problem running a development version of Oneiric, openssh-client 1:5.8p1-7ubuntu1.
Michael, try using 'curl -I --socks5 127.0.0.1:1080 http://thesite'. I find that curl connects perfectly through the SOCKS SSH tunnel and that Firefox 7.0.1+build1+nobinonly-0ubuntu1 fails with almost exactly the log messages you pasted. Here is a successful connection I recorded using 'curl -I https://thewebhost --socks5 localhost:12345' and 'ssh -vvv -ND 12345 thesshhost': debug1: Connection to port 12345 forwarding to socks port 0 requested. debug2: fd 7 setting TCP_NODELAY debug2: fd 7 setting O_NONBLOCK debug3: fd 7 is O_NONBLOCK debug1: channel 2: new [dynamic-tcpip] debug2: channel 2: pre_dynamic: have 0 debug2: channel 2: pre_dynamic: have 4 debug2: channel 2: decode socks5 debug2: channel 2: socks5 auth done debug2: channel 2: pre_dynamic: need more debug2: channel 2: pre_dynamic: have 0 debug2: channel 2: pre_dynamic: have 10 debug2: channel 2: decode socks5 debug2: channel 2: socks5 post auth debug2: channel 2: dynamic request: socks5 host 91.189.89.100 port 443 command 1 debug2: channel 2: open confirm rwindow 2097152 rmax 32768 debug2: channel 2: read<=0 rfd 7 len 0 debug2: channel 2: read failed debug2: channel 2: close_read debug2: channel 2: input open -> drain debug2: channel 2: ibuf empty debug2: channel 2: send eof debug2: channel 2: input drain -> closed debug2: channel 2: rcvd eof debug2: channel 2: output open -> drain debug2: channel 2: obuf empty debug2: channel 2: close_write debug2: channel 2: chan_shutdown_write: shutdown() failed for fd 7: Transport endpoint is not connected debug2: channel 2: output drain -> closed debug2: channel 2: send close debug3: channel 2: will not send data after close debug2: channel 2: rcvd close debug3: channel 2: will not send data after close debug2: channel 2: is dead debug2: channel 2: garbage collecting debug1: channel 2: free: direct-tcpip: listening port 12345 for 91.189.89.100 port 443, connect from 127.0.0.1 port 60535, nchannels 3 debug3: channel 2: status: The following connections are open: #2 direct-tcpip: listening port 12345 for 91.189.89.100 port 443, connect from 127.0.0.1 port 60535 (t4 r0 i3/0 o3/0 fd 7/7 cc -1) Here is a failed connection, same https:// address, same ssh tunnel, using Firefox 7.0.1. Firefox is configured with all traffic proxied to 127.0.0.1 port 12345: debug1: Connection to port 12345 forwarding to socks port 0 requested. debug2: fd 7 setting TCP_NODELAY debug2: fd 7 setting O_NONBLOCK debug3: fd 7 is O_NONBLOCK debug1: channel 2: new [dynamic-tcpip] debug2: channel 2: pre_dynamic: have 0 debug2: channel 2: pre_dynamic: have 424 debug2: channel 2: zombie debug2: channel 2: garbage collecting debug1: channel 2: free: dynamic-tcpip, nchannels 3 debug3: channel 2: status: The following connections are open: -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/391874 Title: “dynamic” application-level port forwarding non-functional To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/391874/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs