Skip to content

Feature Request: Provide an Outline Adaptor #80

@fortuna

Description

@fortuna

If Water provides adaptors using the Outline SDK abstractions (Stream/Packet Dialer/Endpoint), then all the apps in the Outline ecosystem (including VPNs and media apps) can more easily adopt WATER, increase the reach of your technology. The code doesn't have to live in our SDK, it can be in your own repo, under your ownership.

Mobile Proxy

You can go one step further and provide a registration function for our Mobile Proxy.

As an example, this is the line that registers the Psiphon dialer in the MobileProxy: https://github.com/Jigsaw-Code/outline-sdk/blob/3402c412f35460bfa2e254e0fb1970f7fd76b24c/x/mobileproxy/psiphon/registration.go#L69

Steps:

  1. Define a config format
  2. Write a parser that returns a transport.StreamDialer
  3. Write a registration function that can be exported by Go Mobile that developers can call to add Amnezia to their apps

This little example app runs the mobile proxy as a cli. Good tool to use for testing. It also illustrates the registration of a dummy "error" strategy, that always fails to dial.

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