Android app whitelist/blacklist feature

Eric Kuck eric at
Thu Jul 5 00:19:36 CEST 2018

A first pass that only works with GoBackend has just been pushed. Feel free
to make suggestions or requests. This is the first time I’ve used
databinding for more than just a findViewById substitute, so it’s very
possible I didn’t do something canonically.

On July 3, 2018 at 1:17:27 PM, Jason A. Donenfeld (jason at wrote:

On Tue, Jul 3, 2018 at 8:12 PM Samuel Holland <samuel at> wrote:
> Right, trying to make it a global setting requires either some sort of
> out-of-band way to pass the information to wg-quick, or rewriting the
> configuration file every time the tunnel is brought up.
> Since from netd's point of view, this is a per-network setting anyway, I
> it makes sense to configure it per-tunnel. ExemptedApplications works as
> configuration key, though I prefer ExcludedApplications--the application
> just not required to use the tunnel, it's not allowed to use the tunnel.
> In that case, here are my UI suggestions:
> - Add a button in the editor that switches to a fragment or pops up a
> similar to a MultiSelectListPreference.
> - For consistency, checked means excluded -- everything defaults to
> - The package names of excluded apps are put in the
> com.wireguard.config.Interface, and wg-quick handles package name to uid
> translation.
> How does that sound?

All of that sounds right-on to me, and I think you're right that
ExcludedApplications is the better key.

(This also provides a good basis for later adding a
"ExcludeLocalNetwork" option.)

Eric's git access should be all setup now, so we can watch the
commits coming on in.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the WireGuard mailing list