[Bug 391874] Re: “dynamic” application-level port forwarding non-functional
** Changed in: openssh (Ubuntu) Status: Confirmed => Invalid -- 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
[Bug 391874] Re: “dynamic” application-level port forwarding non-functional
Installing the FoxProxy Firefox extension allowed the Firefox SOCKS proxy connection to start working. According to the SSH output the browser now sets up proxy connections just like curl does. 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 3 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 27 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 debug1: Connection to port 12345 forwarding to socks port 0 requested. debug2: fd 8 setting TCP_NODELAY debug2: fd 8 setting O_NONBLOCK debug3: fd 8 is O_NONBLOCK debug1: channel 3: new [dynamic-tcpip] debug2: channel 3: pre_dynamic: have 0 debug2: channel 3: pre_dynamic: have 3 debug2: channel 3: decode socks5 debug2: channel 3: socks5 auth done debug2: channel 3: pre_dynamic: need more debug2: channel 3: pre_dynamic: have 0 debug2: channel 3: pre_dynamic: have 27 debug2: channel 3: decode socks5 debug2: channel 3: socks5 post auth debug2: channel 3: dynamic request: socks5 host 91.189.89.100 port 443 command 1 debug2: channel 3: open confirm rwindow 2097152 rmax 32768 debug2: channel 3: read<=0 rfd 8 len -1 debug2: channel 3: read failed debug2: channel 3: close_read debug2: channel 3: input open -> drain debug2: channel 3: ibuf empty debug2: channel 3: send eof debug2: channel 3: input drain -> closed debug2: channel 3: rcvd eof debug2: channel 3: output open -> drain debug2: channel 3: obuf empty debug2: channel 3: close_write debug2: channel 3: chan_shutdown_write: shutdown() failed for fd 8: Transport endpoint is not connected debug2: channel 3: output drain -> closed debug2: channel 3: rcvd close debug3: channel 3: will not send data after close debug2: channel 3: send close debug2: channel 3: is dead debug2: channel 3: garbage collecting debug1: channel 3: free: direct-tcpip: listening port 12345 for 91.189.89.100 port 443, connect from 127.0.0.1 port 32956, nchannels 4 debug3: channel 3: 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 32955 (t4 r0 i0/0 o0/0 fd 7/7 cc -1) #3 direct-tcpip: listening port 12345 for 91.189.89.100 port 443, connect from 127.0.0.1 port 32956 (t4 r1 i3/0 o3/0 fd 8/8 cc -1) -- 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
[Bug 391874] Re: “dynamic” application-level port forwarding non-functional
Thanks mars for making feel a little less crazy :-) I don't have a remote host any more, so I won't be able to do further testing on this issue. -- 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
[Bug 391874] Re: “dynamic” application-level port forwarding non-functional
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
[Bug 391874] Re: “dynamic” application -level port forwarding non-functional
wget was just a demonstration tool, but thank you for the notice. I repeated the test today with Firefox 3.6.3, though one cannot specify the SOCKS version in the GUI. network.proxy.socks_version was left at its default setting of '5'. Running OpenSSH_5.3p1 Debian-3ubuntu4, OpenSSL 0.9.8k 25 Mar 2009 locally and OpenSSH_5.1p1 Debian-5, OpenSSL 0.9.8g 19 Oct 2007 remotely (Debian stable) and using Firefox the test still fails for me. Here is the relevant ssh - output from this end: debug1: Local connections to 127.0.0.1:1080 forwarded to remote address socks:0 debug3: channel_setup_fwd_listener: type 2 wildcard 0 addr 127.0.0.1 debug1: Local forwarding listening on 127.0.0.1 port 1080. debug2: fd 4 setting O_NONBLOCK debug3: fd 4 is O_NONBLOCK debug1: channel 0: new [port listener] debug1: Requesting no-more-sessi...@openssh.com debug1: Entering interactive session. debug3: Wrote 64 bytes for a total of 1447 debug1: Connection to port 1080 forwarding to socks port 0 requested. debug2: fd 5 setting TCP_NODELAY debug2: fd 5 setting O_NONBLOCK debug3: fd 5 is O_NONBLOCK debug1: channel 1: new [dynamic-tcpip] debug2: channel 1: pre_dynamic: have 0 debug2: channel 1: pre_dynamic: have 1070 debug2: channel 1: zombie debug2: channel 1: garbage collecting debug1: channel 1: free: dynamic-tcpip, nchannels 2 debug3: channel 1: status: The following connections are open: debug3: channel 1: close_fds r 5 w 5 e -1 c -1 debug1: Connection to port 1080 forwarding to socks port 0 requested. debug2: fd 5 setting TCP_NODELAY debug2: fd 5 setting O_NONBLOCK debug3: fd 5 is O_NONBLOCK debug1: channel 1: new [dynamic-tcpip] debug2: channel 1: pre_dynamic: have 0 debug2: channel 1: pre_dynamic: have 420 debug2: channel 1: zombie debug2: channel 1: garbage collecting debug1: channel 1: free: dynamic-tcpip, nchannels 2 debug3: channel 1: status: The following connections are open: debug3: channel 1: close_fds r 5 w 5 e -1 c -1 debug1: Connection to port 1080 forwarding to socks port 0 requested. debug2: fd 5 setting TCP_NODELAY debug2: fd 5 setting O_NONBLOCK debug3: fd 5 is O_NONBLOCK debug1: channel 1: new [dynamic-tcpip] debug2: channel 1: pre_dynamic: have 0 debug2: channel 1: pre_dynamic: have 401 debug2: channel 1: zombie debug2: channel 1: garbage collecting debug1: channel 1: free: dynamic-tcpip, nchannels 2 debug3: channel 1: status: The following connections are open: debug3: channel 1: close_fds r 5 w 5 e -1 c -1 debug1: Connection to port 1080 forwarding to socks port 0 requested. debug2: fd 5 setting TCP_NODELAY debug2: fd 5 setting O_NONBLOCK debug3: fd 5 is O_NONBLOCK debug1: channel 1: new [dynamic-tcpip] debug2: channel 1: pre_dynamic: have 0 debug2: channel 1: pre_dynamic: have 431 debug2: channel 1: zombie debug2: channel 1: garbage collecting debug1: channel 1: free: dynamic-tcpip, nchannels 2 debug3: channel 1: status: The following connections are open: debug3: channel 1: close_fds r 5 w 5 e -1 c -1 debug2: client_check_window_change: changed -- “dynamic” application-level port forwarding non-functional https://bugs.launchpad.net/bugs/391874 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in ubuntu. -- 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
[Bug 391874] Re: “dynamic” application -level port forwarding non-functional
See also: http://www.mail-archive.com/w...@sunsite.dk/msg10824.html -- “dynamic” application-level port forwarding non-functional https://bugs.launchpad.net/bugs/391874 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in ubuntu. -- 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
[Bug 391874] Re: “dynamic” application -level port forwarding non-functional
I was a bit puzzled by this until I realised that our current wget package doesn't actually support SOCKS, so this test could never work. (Feel free to mark this bug as also affecting Ubuntu wget; it used to support this, but I don't know what would be involved in reintroducing it.) With OpenSSH 5.3p1, this works for me using the directions in http://www.metropipe.net/wiki/index.php/Mozilla_Firefox_Configuration#Manual_Firefox_SOCKS_Proxy_Configuration (adjusted for the menu options being Edit->Preferences not Tools->Options). Could you clarify whether wget was actually your original requirement, or just a demonstration for the purposes of this bug report? -- “dynamic” application-level port forwarding non-functional https://bugs.launchpad.net/bugs/391874 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in ubuntu. -- 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
[Bug 391874] Re: “dynamic” application -level port forwarding non-functional
I just checked, this is still an issue. ** Changed in: openssh (Ubuntu) Status: Incomplete => Confirmed -- “dynamic” application-level port forwarding non-functional https://bugs.launchpad.net/bugs/391874 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in ubuntu. -- 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
[Bug 391874] Re: “dynamic” application -level port forwarding non-functional
Hi, I was wondering if you were still having this problem? Regards chuck ** Changed in: openssh (Ubuntu) Importance: Undecided => Low ** Changed in: openssh (Ubuntu) Status: New => Incomplete -- “dynamic” application-level port forwarding non-functional https://bugs.launchpad.net/bugs/391874 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in ubuntu. -- 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
[Bug 391874] Re: “dynamic” application -level port forwarding non-functional
** Attachment added: "Dependencies.txt" http://launchpadlibrarian.net/28322978/Dependencies.txt -- “dynamic” application-level port forwarding non-functional https://bugs.launchpad.net/bugs/391874 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in ubuntu. -- 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