Android app whitelist/blacklist feature
Jason A. Donenfeld
Jason at zx2c4.com
Tue Jul 3 20:17:11 CEST 2018
On Tue, Jul 3, 2018 at 8:12 PM Samuel Holland <samuel at sholland.org> 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 agree
> it makes sense to configure it per-tunnel. ExemptedApplications works as a
> configuration key, though I prefer ExcludedApplications--the application isn't
> 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 Dialog
> similar to a MultiSelectListPreference.
> - For consistency, checked means excluded -- everything defaults to unchecked.
> - 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.
More information about the WireGuard
mailing list