Re: [Captive-portals] Review of draft-ietf-capport-rfc7710bis

Lorenzo Colitti <lorenzo@google.com> Thu, 25 July 2019 18:44 UTC

Return-Path: <lorenzo@google.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 E47BA12019F for <captive-portals@ietfa.amsl.com>; Thu, 25 Jul 2019 11:44:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.499
X-Spam-Level:
X-Spam-Status: No, score=-17.499 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 zjyIO7yorBme for <captive-portals@ietfa.amsl.com>; Thu, 25 Jul 2019 11:44:08 -0700 (PDT)
Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) (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 D4326120191 for <captive-portals@ietf.org>; Thu, 25 Jul 2019 11:44:07 -0700 (PDT)
Received: by mail-wm1-x32a.google.com with SMTP id p74so45845146wme.4 for <captive-portals@ietf.org>; Thu, 25 Jul 2019 11:44:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jtA5JDB6gwAlsWicTqtqjllaYlkHManL/9kY++XKpBU=; b=j/gwbkgxOvLvNMMB7+g4fip6OnACG4FTp4TqUO8Pw59LBTsK5KvZZY8jfKB+v/a3Wf wqF5kgQgMUE5+urzJvroHxAloM1HGdX42BLv63ZiQiw/OkC0qZUykIvPWEwnNBM5ovxD RxUGiGMDryh88ZlvXN30RunDeFpaSrSSLvQVw372vrHUc2DGVtTjAJeq0uOe9zGCvs2l /uJopkeGoeSUYa4JcNgS2RcdU+HmLWG5sI4ryT18HLYlFEieWS62zeVF/KjxUPMHVpLk 68wvlyJHBP7ooaeX1TgSN29XU9ff1zpn4/VCyf6V/o7NVA6zcMGfUHjzw+DiiGGvTFy+ QhPQ==
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=jtA5JDB6gwAlsWicTqtqjllaYlkHManL/9kY++XKpBU=; b=LeoaAj4rpd2TVXZ6o5EixzUNOvSElPlWHFObswQeEQEZ5VUH8P3qinMPSu5KfY2Fi6 KBAoMQtwok4Drhfva25MNEVp3px1qX7njJRfmNbnzFpXzzCFKjgEA0zkRP4wii8twFfU e7N6X1oHLjg0PTK3d2JTEO3R10h3JQrfhK9k+9TCUt/HrMi96Cw9eoBf1A9BMAorZH// vQJiCoO9JU2Kd2zFtO18QY4SUe09jNP1uyD8Dibh/TItkEE+5KzYNAX3RLL8+tS1xZjj F4TFlRzUNEJGMsd2eF7F3Z1VilCYL4DAG/hEFSr7PPs6NafmZGVt3k4ZYIqmA1zqnpL8 /UTw==
X-Gm-Message-State: APjAAAUSqRzeBL9WxtENeXW1pXPjXIXSW6bCOZuUui6zXtvvst6pKS2f WuiJ4YzAk+XqkRQa1GtO6n2fkHDUj3Sm9cEC/APTsQ==
X-Google-Smtp-Source: APXvYqydIMUYkuZ2qlwSyk9qUTJW38/9WLAW7BYTsM2EO5TO0F02MvASqj8x3BzWcWG0vah6z+pIhsU5fG9Q5HVaU9A=
X-Received: by 2002:a05:600c:2218:: with SMTP id z24mr80577396wml.84.1564080245993; Thu, 25 Jul 2019 11:44:05 -0700 (PDT)
MIME-Version: 1.0
References: <CAKD1Yr32DXr8fYHP_x7z9pQWwSchey8zQW11vw02bW9ONEV8Kg@mail.gmail.com> <01ad5bf0-1f60-4dbb-aa83-31d14fce6082@www.fastmail.com> <CAKD1Yr08LmfDhmDLqpR87iQQ4Z61CVpR9BTDeRHobpsvVxFJvA@mail.gmail.com> <CADo9JyW6TmBnr5f0AuSXKnKMXnMxGhMkgYbGQ1WYOQjSMefy=w@mail.gmail.com> <CAKD1Yr1Zo0NQod=p4ZqT6fJYJ=Xqh1q8eJT2+ich+p7Jmg1WiA@mail.gmail.com> <CADo9JyX1T8AnxirXLfGdcJzmjvy5_UGJktnbYByAuO7H++y8uA@mail.gmail.com>
In-Reply-To: <CADo9JyX1T8AnxirXLfGdcJzmjvy5_UGJktnbYByAuO7H++y8uA@mail.gmail.com>
From: Lorenzo Colitti <lorenzo@google.com>
Date: Thu, 25 Jul 2019 14:43:54 -0400
Message-ID: <CAKD1Yr0C_KEUpGUC-wbAV-ufG_VpNposecmzNQU5rEXaCeSZNQ@mail.gmail.com>
To: David Bird <dbird=40google.com@dmarc.ietf.org>
Cc: David Bird <dbird@google.com>, captive-portals@ietf.org, Martin Thomson <mt@lowentropy.net>
Content-Type: multipart/alternative; boundary="00000000000076e933058e85cf29"
Archived-At: <https://mailarchive.ietf.org/arch/msg/captive-portals/URZU_k3PVnZKukt_ltIe7EOJzyo>
Subject: Re: [Captive-portals] Review of draft-ietf-capport-rfc7710bis
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: Thu, 25 Jul 2019 18:44:11 -0000

Is there a problem with saying that the portal server should identify the
device by IP address?

On Mon, Jul 22, 2019 at 7:40 PM David Bird <dbird=
40google.com@dmarc.ietf.org> wrote:

> I think that assumption is problematic... the nature of captive portal
> means the portal will be taking some action (e.g. releasing the UE from
> captivity) specific to the UE/session, regardless of the content generated
> for the URL. Captive portal networks work differently in uniquely
> identifying the UE/session, but ultimately a "session-id" is typically
> carried in the redirect URL on a per UE/session basis. If everyone gets the
> exact same URL, this can only be done by IP address at the portal... Is
> that the design networks are encouraged to take?
>
> On Mon, Jul 22, 2019 at 4:25 PM Lorenzo Colitti <lorenzo=
> 40google.com@dmarc.ietf.org> wrote:
>
>> No, I'm assuming that the URL in the RA is identical for all users and
>> that if any per-user behaviour is needed, then the content of that URL will
>> be dynamically generated.
>>
>> On Mon, Jul 22, 2019, 18:12 David Bird <dbird=
>> 40google..com@dmarc.ietf.org <40google.com@dmarc.ietf.org>> wrote:
>>
>>> Are we assuming that the URL contained in the DHCP/RA is the final
>>> "session specific" URL for which the portal is able to uniquely identify
>>> the UE/session ?
>>>
>>> On Mon, Jul 22, 2019 at 2:43 PM Lorenzo Colitti <lorenzo=
>>> 40google..com@dmarc.ietf.org <40google.com@dmarc.ietf.org>> wrote:
>>>
>>>> On Mon, Jul 22, 2019 at 4:49 PM Martin Thomson <mt@lowentropy.net>
>>>> wrote:
>>>>
>>>>> > 2. I'm surprised that the following text is present. It seems like
>>>>> we
>>>>> > should disallow IP literals for compatibility with IPv6. But perhaps
>>>>> > SHOULD is enough here.
>>>>> >
>>>>> >  The URI SHOULD NOT contain an IP address literal.
>>>>>
>>>>> I tend to think that the core goal is that the URI contain a target
>>>>> identity that can be authenticated when accessed over HTTPS.
>>>>>
>>>>> That generally means that IP literals aren't a good idea, but I
>>>>> wouldn't make this statement.  I would instead emphasize that this is an
>>>>> HTTPS URI.  Though I would not go into great detail on what that means, I
>>>>> would refer to RFC 7230.
>>>>>
>>>>
>>>> It's possible to use HTTPS to IP literals. But IP literals are
>>>> address-family specific. That makes it impossible to support this option in
>>>> a dual-stack network because the two URLs will be different.
>>>>
>>>> > 3. The section that documents the link relation type should mention
>>>>> > what should happen if the portal is already open. Should the captive
>>>>> > portal add this header to probe responses even if the portal is
>>>>> already
>>>>> > open? if it does not, there is no way for a device to learn the API
>>>>> URL
>>>>> > if it connects to a portal, logs in, disconnects, and then
>>>>> reconnects,
>>>>> > because when it reconnects the portal will be open.
>>>>>
>>>>> Good point.  I would be interested in hearing what the working group
>>>>> thinks of this.
>>>>>
>>>>> To my understanding, this is a problem that exists today.  So we may
>>>>> decide not to worry about this particular problem, but just document it.
>>>>> That would make this path less good than other options (like DHCP/RA), but
>>>>> I don't want to encourage networks to intercept EVERY request that passes.
>>>>>
>>>>
>>>> Right, for networks without the capport API (i.e., all networks today)
>>>> this works. But for a network with the capport API, I think it's a problem
>>>> if the device cannot find the API URL just because the portal is open. The
>>>> reason I mention it is: this document says that the URL in the option is in
>>>> fact the API URL, and the link rel mechanism doesn't work well for the API
>>>> URL.
>>>>
>>>> One option would just be to drop this mechanism. If it is clear that
>>>> the DHCP / RA solutions are feasible in real networks, I don't see much of
>>>> a need for the link rel version at all.
>>>> _______________________________________________
>>>> Captive-portals mailing list
>>>> Captive-portals@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/captive-portals
>>>>
>>> _______________________________________________
>> Captive-portals mailing list
>> Captive-portals@ietf.org
>> https://www.ietf.org/mailman/listinfo/captive-portals
>>
>