Git Product home page Git Product logo

cloak-android's People

Contributors

cbeuw avatar jameshball avatar notsure2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cloak-android's Issues

Cloak android v1.1.2

Good afternoon!
Where are the other versions for android?
I see there is v1 and then suddenly with nothing in between v2. Where are v1.1.2 and other ones? Will they ever be availiable?

Is it possible to use this plugin with openvpn?

Hi!
I succesfully use Cloak with both Openvpn and Shadowsocks on a desktop Linux machine connected to a VPS. I want to also use it on my LineageOS phone. After installing Cloak-android plugin I am able to choose it in the "plugin" section of Shadowsocks app on my phone. Is it possible to also use this plugin with Openvpn app from Fdroid? Can I somehow run Cloak-android in standalone mode and connect my Openvpn client to it?

Cloak android stops working after a period of idle or when the server is restarted

Hello,
This bug was present for a long time. I checked with adb, the cloak process is alive, but when shadowsocks connects to it, it gets a timeout and reports timeout connecting to the localhost port. I will compile a version of cloak with more logging (since it seems in shadowsocks we can't set logging level for cloak) and try to debug this issue.

It seems to happen in 2 cases, when cloak left for a long time idle (even when cloak and shadowsocks put in battery optimization whitelist), also rebooting the server triggers the issue more quickly.

Note: This issue never happens to shadowsocks alone and it is also using a native process.

Last release apk seems to be inavailable

Tryng to get the last release APK I get a strange error:

Error 503 Backend unavailable, connection timeout
Backend unavailable, connection timeout

Error 54113
Details: cache-bma1677-BMA 1688061931 3220500638

Varnish cache server

Could you please reload it?
Sources are available without any problems, but I need binary

Cloak 2

Hello
Are you going to upgrade the android version to support cloak 2 as well?
Or the android project is discontinued?

Cloak-android 2.5.2 cannot work in shadowsocks-android 5.1.9

Yesterday, shadowsocks-android was updated to 5.1.9, I downloaded and installed it . However, I found that it does not work properly with Cloak-android 2.5.2. I reinstalled shadowsocks-android 5.1.7 and everything is ok. Can this problem be fixed? thank you. happy New Year.

license question

Can you please state what license this app is covered by? I could find no information in the repo here.

plugin not found - ck-client

I install and configure a profile and it opens/connects sucessfully. After disconnecting I get plugin not found error. I can never again use the plugin. Rebooting phone, removing/re-adding profile doesn't fix the issue. My server works with windows plugin, but the android plugin only works the first time I run it.

To get it to run again. I have to uninstall plugin & shadowsocks and restart. There may be another fix but I don't know it.

This happens on my tablet and Huawei Mate 10 phone running EMUI 9.0.0.187 Shadowsocks-Androind 4.7.4 & 4.8.0 both exhibit this issue.

Thanks for any suggestions

WeChat Image_20190610180601
WeChat Image_20190610180614

add to F-Droid

please add the program to the website https://f-droid.org
you only need to configure the automatic taking of your program from the github. the site F-Droid itself will take new versions and compile them itself.

update please

its work for pc version but not working properly with android apps, even waiting for couple minutes. please adjust so compatible with new shadowsocks apps

App doesn't show up in screen

I downloaded v2.7.0 and installed on my Pixel 4a with Android version 13. The app doesn't show in screen. I can find it in settings\Apps. The 'Add New Apps to Home Screen' option is on. Developer mode is on.

In settings\Apps\Cloak\App Info, there is no option to open it. Other app have this option to open.

Add a standalone possibility

Hello,

Cloak works on my laptop and it's a brilliant piece of software...

There are needs for a standalone option either for openvpn or for wireguard on Android.

I'd personally love to be able to use cloak on my mobile exactly the same way as i'm doing on the computer...

How about adding a tiny user interface allowing (advanced ?) users to run cloak on android without shadowsocks ?

Just to pass udp and tcp trafic just like cloak on *nix, mac and windows...

Kind regards,

Screenshots for F-Droid

You can add Screenshots for F-Droid, too, if you want.
https://f-droid.org/en/docs/All_About_Descriptions_Graphics_and_Screenshots/
https://gitlab.com/snippets/1895688
That was simply information about what is still possible. You would then only have to enter the
screenshots in fastlane. This is just one way that you can also add screenshots to the app view
if you can. If you added screenshots (then F-Droid is happy) and if you can't add any -> then
you can close the issue because it was only an info. Thank you that your app is available in
fdroid. Very much for your attention.

Connect openvpn via cloak plugin on random port

Thank you for the beautiful software!

I'm trying to repeat my desktop setup on Android and I struggle to understand how it works as a plugin to shadowsocks.

From what I see via logcat, once started, cloak as a plugin every time opens a different port for openvpn client:

time="2023-08-25T09:03:00Z" level=info msg="Listening on TCP 127.0.0.1:42101 for openvpn client"
<...>
time="2023-08-25T09:31:49Z" level=info msg="Listening on TCP 127.0.0.1:42571 for openvpn client

I can't see any way to have this fixed in the UI, nor have I found a way to get into the configs directly.

Any help would be much appreciated!

Remote DNS not properly forwarded

I can successfully establish connections between my Android phone and my server using the Cloak plugin. I see active connections on the server and applications work.

However, if I enable remote DNS resolution, then it stops working (DNS resolution, it looks like traffic is still forwarded to IPs). I haven't tried any other plugins, so not sure if this could be related to shadowsocks app instead of cloak plugin.

I have tried to get more detailed logs using adb-logcat without success.

I also have checked the ck-server logs, nothing special is logged.

No problems when using ss-client from a laptop.

ss-server shadowsocks-libev 3.1.3
ck-server 1.1.1
android shadowsocks from Google play 4.7.4
cloak plugin apk downloaded from github 1.0.0
Phone Oneplus 6
Android version 9
Oxygen OS beta 21

Google Play Store?

Is it possible to upload this plugin to the Play Store?

I am blocked installing apps from unknown sources, so unfortunately cannot use this. Uploading to the Play store would also ensure people use the latest version.

Thanks!

Where should we put the RemoteHost in android plugin?

In desktop version I set 127.0.0.1:1984 for shadowsocks and put the remote host in ckclient.json next to cloak executable.
But when I load the cloak plugin in shadowsocks there is no place for RemoteHost in Configuration section.

Pixel XL Pie - error since update

I just updated my server from Cloak v1 to the latest v2. I can connect with Windows PC but not Android. I updated the Android Cloak plugin and the profile for the Shadowsocks app. I get the following error when I try to connect:

libss-local exits too fast (exit code 255)

Cloak cannot be used in the latest version of Android SS

The log is as follows:

06-03 20:31:01.025  6939  7302 E libsslocal: 2020-06-03T20:31:01.023+08:00 INFO  shadowsocks 1.8.12
06-03 20:31:01.046  6939  7302 E libsslocal: 2020-06-03T20:31:01.045+08:00 INFO  started plugin "/data/app/com.github.shadowsocks.plugin.ck_client-RrDoO0hGHK4zycsZImCBbA==/lib/arm64/libck-client.so" on 127.0.0.1:42607 <-> <My_Server-IP>:443 (7317)
06-03 20:31:01.501  6939  7302 E libsslocal: panic: runtime error: index out of range [1] with length 1
06-03 20:31:01.503  6939  7302 E libsslocal: goroutine 1 [running]:
06-03 20:31:01.503  6939  7302 E libsslocal: github.com/cbeuw/Cloak/internal/client.ssvToJson(0x400000a112, 0xdf, 0x6070c89e33, 0x1, 0xd)
06-03 20:31:01.503  6939  7302 E libsslocal: 	C:/Users/cbeuw/StudioProjects/Cloak-android/app/src/.deps/Cloak/internal/client/state.go:89 +0x4e0
06-03 20:31:01.503  6939  7302 E libsslocal: github.com/cbeuw/Cloak/internal/client.ParseConfig(0x400000a112, 0xdf, 0x4, 0x0, 0x0)
06-03 20:31:01.503  6939  7302 E libsslocal: 	C:/Users/cbeuw/StudioProjects/Cloak-android/app/src/.deps/Cloak/internal/client/state.go:107 +0x78
06-03 20:31:01.503  6939  7302 E libsslocal: main.main()
06-03 20:31:01.503  6939  7302 E libsslocal: 	C:/Users/cbeuw/StudioProjects/Cloak-android/app/src/.deps/Cloak/cmd/ck-client/ck-client.go:81 +0x71c
06-03 20:31:11.048  6939  7302 E libsslocal: 2020-06-03T20:31:11.047+08:00 WARN  plugin "/data/app/com.github.shadowsocks.plugin.ck_client-RrDoO0hGHK4zycsZImCBbA==/lib/arm64/libck-client.so" for <My_Server-IP>:443 listening on 127.0.0.1:42607 isn't started yet, elapsed 10.0s
06-03 20:31:11.050  6939  7302 E libsslocal: 2020-06-03T20:31:11.050+08:00 ERROR terminating plugin process 7317, error: No such process (os error 3)
06-03 20:31:11.051  6939  7302 E libsslocal: 2020-06-03T20:31:11.050+08:00 ERROR waitpid(7317) error: No child processes (os error 10)
06-03 20:31:11.056  6939  7302 E libsslocal: 2020-06-03T20:31:11.051+08:00 ERROR one of servers exited unexpectly, result: Err(Custom { kind: Other, error: "plugin exited unexpectedly with exit code: 2" })
06-03 20:31:11.056  6939  7302 E libsslocal: thread 'main' panicked at 'aborted with server exited unexpectly', src/bin/local.rs:310:45
06-03 20:31:11.056  6939  7302 E libsslocal: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Note: Normal use in Android 5.0.6 version

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.