idleloop-github / Zebedee.apk

Secure IP Tunnel - port to Android (http://www.winton.org.uk/zebedee/)
GNU General Public License v3.0
3 stars 2 forks source link

does not work #2

Closed rafiip closed 5 years ago

rafiip commented 5 years ago

Hi. Source code compiles but does not work when user clicks on Start even precompiled APK that is in the website does not work tested on Samsung Galaxy S5 on Android 6.0.1

idleloop-github commented 5 years ago

Hi @mehraf Please, note that you need a valid zebedee client text configuration file, that is looked for by default on the root of your user space as a file named "zebedee_parameters.txt". You can select any other file with the button, before cllicking the button "start".

Bear in mind that this app is for skilful :-o users who have previously configured a remote zebedee-server, and use the app as a zebedee-client to establish an encrypted tunnel with it. (The reverse can also be made, but it's probably more tricky).

As a guide, you can test the remote and client ends of the tunnel on a PC, following instructions at zebedee original site. This involves setting both IPs, listening port, selecting who initiates the connection, and the ports that will be redirected through the tunnel... Once everything runs on the PC, just copy the file to Android, select it, and run.

rafiip commented 5 years ago

I already have a server waiting for connections and i can connect to it via Windows os and binary version of zebedee compiled for android. I put pre-configured file for client application. i use the same file to connect in Windows client and it works. note that i do not see any errors in Logcat. the app just disappears without "force close" message.

idleloop-github commented 5 years ago

Have you manually selected the conf file before clicking Start button? That actually provokes a sudden close. Maybe you're using a port below 1024 on the Android side? I can take a look at your file conf (erase confidential IPs and so if you wish): idleloop -at- yahoo.com

rafiip commented 5 years ago

Yes i have done that. Local port is above 1024. I have sent you an email containing the zbd config file.

idleloop-github commented 5 years ago

Ok, it seems the code (jzbd) does not allow for server keywords in a client configuration, and treats them as if they were unknown keywords, that is, a sudden close. It is not a big deal, as they should be ignored, so a removal of these lines fix the error. Maybe I'll take a look in a future version to provide an error message instead of this (unexpected) behaviour. Thanks for the report!