madeye / sshtunnel

Automatically exported from code.google.com/p/sshtunnel
GNU General Public License v3.0
22 stars 10 forks source link

doesn't work on lollipop? #73

Open jlp78 opened 9 years ago

jlp78 commented 9 years ago

It appears that SSHTunnel doesn't actually work on Android Lollipop.... I checked iptables output with the tunnel up and down and they are unchanged. Any suggestions?

jccode commented 9 years ago

+1 would you please take a time to fix it?

jlp78 commented 9 years ago

I suspect this might be related to the problem:

root@shamu:/data/data/org.sshtunnel # ./iptables
error: only position independent executables (PIE) are supported.
root@shamu:/data/data/org.sshtunnel # ./redsocks
error: only position independent executables (PIE) are supported.

So we just need to rebuild iptables and redsocks as PIE.

jlp78 commented 9 years ago

Possible workaround: clone the ProxyDroid repo (https://github.com/madeye/proxydroid), snag the iptables and redsocks executables from .../proxydroid/src/main/assets/api-16/ and put them on your device in /data/data/org.sshtunnel, replacing the ones that are there. Testing it, but it doesn't seem to be working. Hmmm. Also noteworthy, /data/data/org.sshtunnel/lib is a symlink to /data/app-lib/org.sshtunnel, which does not exist. Might have something to do with it.

zek commented 8 years ago

Same here. It's not working and I really need ssh tunnel asap. Do you know anything similar which allows me to create reverse ssh tunnel

pou-chi commented 8 years ago

I have replaced redsocks with the latest proxydroid one and Global proxy works fine now. Iptables already updated to latest version. CM13