MudaliarArun / connectbot

Automatically exported from code.google.com/p/connectbot
Apache License 2.0
0 stars 0 forks source link

Dynamic port forwards do not originate connections from the ssh tunnel endpoint #164

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create dynamic port forward; open connection. I used port 31337
2. Connect phone to a PC via USB
3. adb forward tcp:31337 tcp:31337
4. Open a PuTTY on the PC. Connect to a *NIX host via SOCKS5 on localhost:31337
5. On the remote host: "who am i"

What is the expected output? What do you see instead?

Remote host will reveal the address of a telco endpoint, not the address of
the machine connected to in step 1.

What version of the product are you using (you can see this by using Menu
-> About in the Host List)?

SVN r359 or v1.3.4

What type of system are you trying to connect to?

adb running on windows xp pro
connectbot connecting to Gentoo Linux

If you are able to connect, what is the output of "echo $TERM", "uname -a",
and any other relevant information on the host?

$TERM N/A, using connection for port forwards only
Linux gw 2.6.24-gentoo-r3 #3 Mon Mar 24 21:23:49 CDT 2008 i686 Intel(R)
Pentium(R) 4 CPU 1.80GHz GenuineIntel GNU/Linux

Please provide any additional information below.

Have also tested Firefox/3.5 with SOCKS configured on a machine with no LAN
or WAN access. Various websites which display an IP address will display a
T-Mobile IP address.

Original issue reported on code.google.com by jeffno...@gmail.com on 8 Jul 2009 at 7:52

GoogleCodeExporter commented 8 years ago
Correction: tested with v1.5.4 from market and r359

Original comment by jeffno...@gmail.com on 8 Jul 2009 at 7:59

GoogleCodeExporter commented 8 years ago
r361 fixes this

Original comment by kenny@the-b.org on 15 Jul 2009 at 7:08