Re: [Captive-portals] Benjamin Kaduk's Discuss on draft-ietf-capport-architecture-08: (with DISCUSS and COMMENT)

Erik Kline <ek.ietf@gmail.com> Sun, 21 June 2020 19:24 UTC

Return-Path: <ek.ietf@gmail.com>
X-Original-To: captive-portals@ietfa.amsl.com
Delivered-To: captive-portals@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 830E53A082B; Sun, 21 Jun 2020 12:24:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id j237mCybO0Da; Sun, 21 Jun 2020 12:24:42 -0700 (PDT)
Received: from mail-ot1-x343.google.com (mail-ot1-x343.google.com [IPv6:2607:f8b0:4864:20::343]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 33A803A0829; Sun, 21 Jun 2020 12:24:42 -0700 (PDT)
Received: by mail-ot1-x343.google.com with SMTP id 64so473420oti.5; Sun, 21 Jun 2020 12:24:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9/UUEje+wnOCHPu9xgwJ+wV+AvnCAfstYnDQrxr3S28=; b=QRiQ3uaKbwafbhk01DekXVhUINHI0OLrxslA9sAbJblLJJ4JC/CeV3+a7ZY2wlabXN aJS4bDMRPkV5zsjKOujHc1jSY8HnYXTxD4PzWmjAs/dx0UVCoWgUn9gsRpyu34NIobrp 4TP3Xe5B7dgK/RIer/g/I7azELK12tnVw9tsXh9texo6S4i9rkSjIVQq3yhXPsdAr6uZ MONICVADj4fiFahjLg8mPvRg2bKxxKc1soeBLR5gYLLt1h5e2+TgF7xbkmlh3/ZpCzhK UTDbeCsF9U0P1WB12cRCfU+0lZYt1jbydSUlbhl1Mje4Vwr7cAPD0DeSB9l00CVGC9v0 utpg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9/UUEje+wnOCHPu9xgwJ+wV+AvnCAfstYnDQrxr3S28=; b=XumMI/VnK/3TXMatR9+zToE3NFjgsgiiW8QCBWuRfveRqfT6zdTUJ2hp6OMSiccJGh 0Z7dMAzqko9JpoVbEe9u7/pyKb6+3dqIeJFOcu+mQqRBl/x5hDntCGGRS+YuTcBADpV2 IyKWYEfynHI9Y7LNYB7Qv6NaEMKzzhBHBLcde9wkLjiIxkKzR5bdACp6Twnx2p+HoQ4M Z3LwaNJrLM/mWRNueGIM9Yq42QVb7zppNGD2pFBNjsrZG9Yxgr1CtPt3N4A4e1nF3vZv 2Hm44xWBpkWfXJSuBRlSKpAVRFU12maj2kXsO+MEE6UAwjxLPwJ1Puc+/585yFKXD+Oy I9Vw==
X-Gm-Message-State: AOAM5309AwG8ket6jQXwjxqXsQ3OxJrawo1RAbrXUQ0enbP7nLczj0MT c5uID5oztrcEKME7bKkcDEmwAQKEmxTRk5WdG/k=
X-Google-Smtp-Source: ABdhPJz9kGGSv7uHQPcVf+D6kEBT/9O3pm46zQ1nnyB7pA0O1MaiypYNFab1jCfBTz+m5DhMsRl6ruoTGqLwAUHk6S0=
X-Received: by 2002:a9d:7f17:: with SMTP id j23mr11935187otq.144.1592767481394; Sun, 21 Jun 2020 12:24:41 -0700 (PDT)
MIME-Version: 1.0
References: <159168063615.8302.17239207964322081612@ietfa.amsl.com> <CACuvLgzq5Nb5FmnMDQUrSPZtObz-2n84xBduMkiHGmkWmo__JQ@mail.gmail.com> <20200613005041.GU11992@kduck.mit.edu> <CACuvLgwpBWSB38=4q_Dh6M_FAhqknGe8YAQ2rGsvC-gcY9Yk+w@mail.gmail.com> <20200621185101.GX11992@kduck.mit.edu>
In-Reply-To: <20200621185101.GX11992@kduck.mit.edu>
From: Erik Kline <ek.ietf@gmail.com>
Date: Sun, 21 Jun 2020 12:24:30 -0700
Message-ID: <CAMGpriWSrhbkE5hGR7_reaxM5yqKOtPFgkciv0kSB_t=cAVetQ@mail.gmail.com>
To: Benjamin Kaduk <kaduk@mit.edu>
Cc: Kyle Larose <kyle@agilicus.com>, The IESG <iesg@ietf.org>, draft-ietf-capport-architecture@ietf.org, capport-chairs@ietf.org, captive-portals <captive-portals@ietf.org>, Martin Thomson <mt@lowentropy.net>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/captive-portals/PkSBUgvlTb0PuNGcMQK4xI9l7BU>
Subject: Re: [Captive-portals] Benjamin Kaduk's Discuss on draft-ietf-capport-architecture-08: (with DISCUSS and COMMENT)
X-BeenThere: captive-portals@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Discussion of issues related to captive portals <captive-portals.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/captive-portals>, <mailto:captive-portals-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/captive-portals/>
List-Post: <mailto:captive-portals@ietf.org>
List-Help: <mailto:captive-portals-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/captive-portals>, <mailto:captive-portals-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 21 Jun 2020 19:24:44 -0000

> > > > Without knowing the details of the particular solution, it's a bit
> > > > hard to say for sure, but roughly
> > > > I'd say it's someone who wants to interact with the API using the
> > > > identity of the user. E.g. if we're using an 'unguessable' URI, an
> > > > attacker snooping on the communication with the API could determine
> > > > the URI, and use it.
> > > >
> > > > Does that sound reasonable?
> > >
> > > That seems like it's in the right ballpark.  I guess both the API URI and
> > > the web portal URI could be "unguessable" (though both would be protected
> > > by the same TLS connection, at least for the UE/API part of things).
> > >
> >
> > Tommy raised an objection in the issue
> > (https://github.com/capport-wg/architecture/issues/95) I submitted on
> > github for this. Initially,
> > I said that the API URI should be unguessable. I conflated the two
> > types of URI when I
> > wrote my initial reply. To clarify, I'm now planning only suggesting
> > that the user portal URI
> > be unguessable.
>
> That makes sense; there could be some value in having the API URI be
> consistent (notably, in not having to track devices at as low a level), and
> making it unique only starts adding value for the user-poral URI.
>
> > I'll repeat my earlier question: does anyone else have an opinion on
> > this? I feel like it could
> > be controversial, since it could add complexity to the solution, but I
> > do think it could help.
>
> Perhaps the chairs, at least, could weigh in?

I'm slightly unclear on what "unguessable" means in this context.  If
it means unique to a client, then the API URI should not be
per-client.  This is because the IPv6 RA option is multicasted to all
clients on the link and cannot reasonably be made per-client.