Re: [Captive-portals] Use Case: "Carrier Grade Captive Portal"

Vincent van Dam <VvanDam@sandvine.com> Fri, 16 June 2017 19:55 UTC

Return-Path: <VvanDam@sandvine.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 4ED77131838 for <captive-portals@ietfa.amsl.com>; Fri, 16 Jun 2017 12:55:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 Zcb8OQ2q-euS for <captive-portals@ietfa.amsl.com>; Fri, 16 Jun 2017 12:55:49 -0700 (PDT)
Received: from mail1.sandvine.com (mail1.sandvine.com [64.7.137.165]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 52DDC1200CF for <captive-portals@ietf.org>; Fri, 16 Jun 2017 12:55:49 -0700 (PDT)
Received: from WTL-EXCHP-2.sandvine.com ([fe80::68ac:f071:19ff:3455]) by WTL-EXCHP-3.sandvine.com ([fe80::3c39:d305:d721:f00a%15]) with mapi id 14.03.0319.002; Fri, 16 Jun 2017 15:55:47 -0400
From: Vincent van Dam <VvanDam@sandvine.com>
To: Erik Kline <ek@google.com>, "captive-portals@ietf.org" <captive-portals@ietf.org>
Thread-Topic: [Captive-portals] Use Case: "Carrier Grade Captive Portal"
Thread-Index: AQHSxAspGAKR2pQXH0S4g9AKfgQ9q6Hi37QAgAGthoCAKua1AIAALgAAgAJV74CABl/BAIAI6m4AgAbqz5E=
Date: Fri, 16 Jun 2017 19:55:47 +0000
Message-ID: <D2A19ABBC0147C40BFBB83D1CF3E95F03FF8AD13@wtl-exchp-2.sandvine.com>
References: <201705031442.50683.heiko.folkerts@bsi.bund.de> <E8355113905631478EFF04F5AA706E98705C6C57@wtl-exchp-1.sandvine.com> <CAHw9_iJARf4MUA8nHqHA54jLvJNq-_Vek67A-rjHpSK6vC7r+Q@mail.gmail.com> <1BB90528-B35F-43F0-AF18-0215DC735FF0@cable.comcast.com> <CABkgnnWT6Xtqyx6pofpNOGa5E1FjJO1gPX1axmmiRaMnzxdoPg@mail.gmail.com> <AD3F2B14-E9AD-4156-96A6-9B83F8545B54@cable.comcast.com> <754719c5-c74c-fbdc-405e-b8c91478c0a5@netcologne.de>, <CAAedzxoZkuauME8n3B3aZqE1rra8p2hB9rGJLqoYyVi8usnx+g@mail.gmail.com>
In-Reply-To: <CAAedzxoZkuauME8n3B3aZqE1rra8p2hB9rGJLqoYyVi8usnx+g@mail.gmail.com>
Accept-Language: nl-NL, en-US
Content-Language: nl-NL
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [83.128.243.22]
x-c2processedorg: b2f06e69-072f-40ee-90c5-80a34e700794
Content-Type: multipart/alternative; boundary="_000_D2A19ABBC0147C40BFBB83D1CF3E95F03FF8AD13wtlexchp2sandvi_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/captive-portals/b71rYnZEGBIy6bT5K3y1UaXUiiE>
Subject: Re: [Captive-portals] Use Case: "Carrier Grade Captive Portal"
X-BeenThere: captive-portals@ietf.org
X-Mailman-Version: 2.1.22
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: Fri, 16 Jun 2017 19:55:51 -0000

> Some observations, and questions for the working group.
>
> I'm not sure we have enough input on whether 511 is useful or not.  There seemed to be some suggestion
> it would help, and some that it wouldn't.  Perhaps one question we could ask is whether it's harmful?  And
> if we agree it's not harmful, is it worth developing some recommendations for its use?


I don’t think it’s harmful, and I don’t see why web browsers wouldn’t support it. What has been specified for this status code is basicly the status, and a custom error page with a html variant of a redirect. Web browsers, even if they don’t understand the full detail of the error, they will display the contents of the response. The browser will process the html of this customised error page and do the redirect.


But I don’t see this as a holy grail for improving capports (not at all). I see this as a feasible alternative for capport providers that are currently hijacking http traffic. In these implementations, they can “confuse”/“poison” cache and apis. They do this by using redirects or hosting an alternative capport site by hijacking the dns. In these situations, it would improve the experience if they would do a status code 511 and use that to move the user to the capport url.


As a recommendation; I would like to discourage any hijacking (http 30x and dns hijacking), but if a capport provider feels this is the way to go, I think we can point them to this ‘friendlier’ method.

> As for the ICMP unreachable option, I certainly don't think it would be harmful (with the extra URL bits
> removed for now).  Is that something we wish to progress?


I think this will be the best way to signal the UE, I am glad David is working on this :-)

> Given that we're probably looking at a portal detection method based on entirely new work, it seems to me
> we're free to look at new things like utilizing the PVD detection scheme (DNS queries for "provisioning
> domain names", followed by other interaction still TBD).  Have the portal implementors reviewed this and
> given consideration as to whether its useful?  (I think of the discovery of the portal and subsequent interaction
> with it as 2 separate processes conducted, obviously, in serial.)


I think the multi-hop scenario forces us to think of alternative ways to discover the captive portal url when the UE did not receive it via dhcp. Without an alternative method, the icmp, relying on this url will only have a limited scope where it can be applied. Although this sounds much like an api, I think we should limit the functionality of it to what is required (the captive portal url as being the only identified requirement imo).


Gr., Vincent