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

Mark Nottingham <mnot@mnot.net> Mon, 08 May 2017 03:28 UTC

Return-Path: <mnot@mnot.net>
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 A8A95126CD6 for <captive-portals@ietfa.amsl.com>; Sun, 7 May 2017 20:28:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.602
X-Spam-Level:
X-Spam-Status: No, score=-2.602 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-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 J5hfwYaQgA4F for <captive-portals@ietfa.amsl.com>; Sun, 7 May 2017 20:28:28 -0700 (PDT)
Received: from mxout-07.mxes.net (mxout-07.mxes.net [216.86.168.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6874712025C for <captive-portals@ietf.org>; Sun, 7 May 2017 20:28:28 -0700 (PDT)
Received: from [192.168.1.18] (unknown [124.189.96.43]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 0945422E1FA; Sun, 7 May 2017 23:28:18 -0400 (EDT)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAAedzxrmHyuC90EqsxNXra--VHN4x24XpC+fex5ka0pb3gGvFA@mail.gmail.com>
Date: Mon, 08 May 2017 13:28:18 +1000
Cc: Warren Kumari <warren@kumari.net>, Heiko Folkerts <heiko.folkerts@bsi.bund.de>, "captive-portals@ietf.org" <captive-portals@ietf.org>, "Herzig, Willi" <willi.herzig@bsi.bund.de>, Gunther Nitzsche <gnitzsche@netcologne.de>, Dave Dolson <ddolson@sandvine.com>
Content-Transfer-Encoding: quoted-printable
Message-Id: <930A9E64-64FC-4A5D-95FF-D91EBAB22718@mnot.net>
References: <201705031442.50683.heiko.folkerts@bsi.bund.de> <E8355113905631478EFF04F5AA706E98705C6C57@wtl-exchp-1.sandvine.com> <CAHw9_iJARf4MUA8nHqHA54jLvJNq-_Vek67A-rjHpSK6vC7r+Q@mail.gmail.com> <CAAedzxrmHyuC90EqsxNXra--VHN4x24XpC+fex5ka0pb3gGvFA@mail.gmail.com>
To: Erik Kline <ek@google.com>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/captive-portals/oigt_yuO8pH0L2-PuAyhnKQ1xTs>
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: Mon, 08 May 2017 03:28:32 -0000

That's useful as long as the client is a human is behind a browser. It can also break lots of stuff...

Cheers,


> On 7 May 2017, at 5:45 pm, Erik Kline <ek@google.com> wrote:
> 
> Agreed.
> 
> I wanted to also include an anecdote about a previous boss who had DSL at home (AT&T, maybe?).  The CPE they gave him threw up a captive portal page whenever the CPE detected that the DSL link was down.  This seems fairly useful compared to everything just timing out (of course network unreachables would have been quick, but somewhat less useful for non-technical folks, especially given that the portal page could include the service hotline phone number).
> 
> On 5 May 2017 at 00:14, Warren Kumari <warren@kumari.net> wrote:
> I *think* that this is quite similar to a captive portal system run by
> Comcast -- I recently upgraded my cable-modem (my old one didn't
> support v6). This means that I ended up with a new MAC address on the
> CM, and Comcast placed me into a walled garden until I signed in (and
> they associated my new MAC with my account) -- while a different cause
> (new MAC vs malware), the rest is very similar.
> 
> So, I think that these would be well within scope.
> W
> 
> On Wed, May 3, 2017 at 9:37 AM, Dave Dolson <ddolson@sandvine.com> wrote:
> > I consider this in scope. It is an excellent example of why captive portals should be handled at the IP layer (layer3) with IP protocols, and are not only a WiFi (layer 2) problem.
> >
> >
> > -----Original Message-----
> > From: Captive-portals [mailto:captive-portals-bounces@ietf.org] On Behalf Of Heiko Folkerts
> > Sent: Wednesday, May 3, 2017 8:43 AM
> > To: captive-portals@ietf.org
> > Cc: Herzig, Willi; Gunther Nitzsche
> > Subject: [Captive-portals] Use Case: "Carrier Grade Captive Portal"
> >
> > Hi everybody,
> >
> > I visited the capport WG the first time in Chicago. Thank you very much for the presentations! Afterwards I had a very brief chat with Martin about a use case, I name “carrier grade captive portals”. As a result I want to present this use case to you on this mailing list:
> >
> > *Background and use case:*
> > In Germany the Federal Office for Information Security informs the ISPs with IPs, timestamp and other information of users that are part of a botnet. The ISPs are informing the users about the infection. We can not inform the users without the help of the ISP as they are the only ones knowing who is behind the dynamic IP address users get normally in Germany.
> > There are different ways to inform users by the ISPs: e-mail, snail mail or a carrier grade captive portal (aka walled garden, forced portal),
> >
> > The most efficient way to inform and get systems cleaned has been proven is the carrier grade captive portal.
> > One of the  internet service providers, NetCologne, uses a, as they call it, Forced Portal. The current solution is legal in germany, if the ISPs terms of service are appropriate.
> >
> > *Technically it roughly works like this:*
> > - When the abuse management system detects that a user is infected, the CPE customers router connection (PPOE connection) is disconnected and immediately a new PPOE connection is started.
> > - With the new PPOE connection, the CPE customers router gets a new DNSServer, IP, gateway (policy routing) and is connected to a carrier grade captive portal.
> > - Within the new network connection all traffic is routed through a HTTP/HTTPS proxy. This proxy allows the user to access selected sites like informational sites about infections, AV and OS vendors and will otherwise present an information page to the user. This information page tells the user about the situation, including information about the infection(s) and instructs him how to clean the system.
> >
> > *Problem (almost the same as you know it):* As with captive portals in local networks this worked pretty well using HTTP.
> > Also on Browsers, which first tries a HTTP connection, the information page  is displayed. Problem occurs now with HTTPS. Especially Google Chrome does no longer connect first using HTTP when the user enters a domain name of a web page if using HSTS and HSTS preload.
> > Connecting with HTTPS, the browser detects a MITM attack (which of course makes sense, because it is MITM) and does not display the information page.
> > Instead an error page is displayed, which generates a whole lot of calls to the costumer support. An addional problem we encounter is that the well known detection strategies used by iOS/macOS, Windows and Android for captive portals do *never* work in our case.
> > Reason is that these detection strategies will only test for captive portals, when the network connection of the actual device (for example using WiFi) is started new. In our case the customers CPE router gets a new PPPOE connection, but the client  does not detect that the network connection to the internet was dropped by the router.
> >
> > Do you think that „carrier grade captive portals“ are in scope of the capport WG charta? Would the work already done at capport help to cope with this problem?
> > My understanding of the current work in capport is, that it will not solve this problem entirely, but I think, it may already be half-way towards a solution. Because pushing a customer to a walled garden does not do a status change on the client system, but the CPE might work as some kind of “captive portal relais”, using at least parts of the current architecture of capport on the internal LAN.
> >
> > Do you think it is usful that the capport WG considers our use case in its work? Any help is appreciated.
> >
> > Best regards,
> >
> > Heiko.
> >
> > --
> > Heiko Folkerts
> > ---------------------------------------------------
> > Referat CK 15
> > Federal Office for Information Security (BSI)
> >
> > Godesberger Allee 185 -189
> > 53175 Bonn
> > Germany
> > Telefon:        +49 228 99 9582-5955
> > Fax:            +49 228 99 10 9582-5955
> > E-Mail: heiko.folkerts@bsi.bund.de
> > Internet:       www.bsi.bund.de
> >                 www.bsi-fuer-buerger.de
> >
> > _______________________________________________
> > 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
> 
> 
> 
> --
> I don't think the execution is relevant when it was obviously a bad
> idea in the first place.
> This is like putting rabid weasels in your pants, and later expressing
> regret at having chosen those particular rabid weasels and that pair
> of pants.
>    ---maf
> 
> _______________________________________________
> 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

--
Mark Nottingham   https://www.mnot.net/