From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: eric@bluelinelabs.com Received: from krantz.zx2c4.com (localhost [127.0.0.1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 251a030a for ; Tue, 3 Jul 2018 02:20:40 +0000 (UTC) Received: from mail-qt0-x235.google.com (mail-qt0-x235.google.com [IPv6:2607:f8b0:400d:c0d::235]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 9acae179 for ; Tue, 3 Jul 2018 02:20:40 +0000 (UTC) Received: by mail-qt0-x235.google.com with SMTP id y31-v6so342740qty.9 for ; Mon, 02 Jul 2018 19:27:03 -0700 (PDT) From: Eric Kuck In-Reply-To: References: MIME-Version: 1.0 Date: Mon, 2 Jul 2018 22:27:02 -0400 Message-ID: Subject: Re: Android app whitelist/blacklist feature To: "Jason A. Donenfeld" Content-Type: multipart/alternative; boundary="000000000000a6b21905700f0cc2" Cc: WireGuard mailing list List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --000000000000a6b21905700f0cc2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I was originally thinking the new fragment would be a per-tunnel thing (set when you create the tunnel or edit it), but you=E2=80=99re right - making i= t a general setting likely makes a whole lot more sense. I can=E2=80=99t think = of any use-cases for different tunnels handling different apps. On July 2, 2018 at 9:21:23 PM, Jason A. Donenfeld (jason@zx2c4.com) wrote: Hey Eric, Sorry for not responding earlier when you sent this to me directly. I'm glad you sent it here and Samuel caught it, so your nice idea won't go to waste. On Tue, Jul 3, 2018 at 2:22 AM Eric Kuck wrote: > If I were to do the work I initially proposed (new fragment + GoBackend implementation), would this be enough to get merged? No, but I can write the C part and just provide you with some sane interface for passing off the relevant information to wg-quick. Send me offlist an SSH key, and I'll give you commit access to branches that begin with `ek/`. > My proposal is to add another Fragment that=E2=80=99s just a list of all = apps installed on the phone with check boxes next to them. How would one get to the Fragment? From the overflow menu, or from the settings? I suspect the settings would be a more natural place for it. Or were you thinking that this would actually be part of each individual tunnel profile, stored within the configuration for the tunnel somehow? Regards, Jason --000000000000a6b21905700f0cc2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =
I was originally thinking the new fragment would = be a per-tunnel thing (set when you create the tunnel or edit it), but you= =E2=80=99re right - making it a general setting likely makes a whole lot mo= re sense. I can=E2=80=99t think of any use-cases for different tunnels hand= ling different apps.

On July 2, 2018 at 9:21:= 23 PM, Jason A. Donenfeld (jason@zx2c4.c= om) wrote:

=
Hey Eric,

Sorry for not responding earlier when you sent this to me directly.
I'm glad you sent it here and Samuel caught it, so your nice idea
won't go to waste.

On Tue, Jul 3, 2018 at 2:22 AM Eric Kuck <eric@bluelinelabs.com> wrote:
> If I were to do the work I initially proposed (new fragment + GoBa= ckend implementation), would this be enough to get merged?

No, but I can write the C part and just provide you with some sane
interface for passing off the relevant information to wg-quick. Send
me offlist an SSH key, and I'll give you commit access to branches
that begin with `ek/`.

> My proposal is to add another Fragment that=E2=80=99s just a list = of all apps installed on the phone with check boxes next to them.

How would one get to the Fragment? From the overflow menu, or from the
settings? I suspect the settings would be a more natural place for it.
Or were you thinking that this would actually be part of each
individual tunnel profile, stored within the configuration for the
tunnel somehow?

Regards,
Jason
--000000000000a6b21905700f0cc2--