Skip to content

camex 4.4.0: the tunnel does not take the VPN from another app by itself #296

Closed

Description

@compot-dev

camex 4.4.0 (OpenIPC/camex#197) changes the Android library so that apps with a tunnel stop taking the one VPN of the device from each other: VpnService.prepare() of an app that has the consent switches the VPN to it at once, and CamexTunnel.start() / consentIntent() call it.

Decoder starts the tunnel by itself at the app's start (NetworkPanel.autoStart, with consentIntent() first) and restarts it when the web page's port changes. Each of these takes the VPN from vectis, microsnander or the camex app on the same box.

To do:

  • bundles/camex to camex 4.4.0 (f61c6ac).
  • The starts Decoder makes by itself use CamexTunnel.startWhenFree(); the user's Save with Join on keeps start().
  • consentIntent() only after the user's Save, or at the app's start when no other app's VPN is up (otherVpnActive()), so the first set-up on Android 5.0 boxes still shows the dialog.
  • The new state WAITING on the Settings screen, in /stats.json (camex.state), on the web page's board and in docs/debug.md.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions