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

Warren Kumari <warren@kumari.net> Thu, 04 May 2017 15:15 UTC

Return-Path: <warren@kumari.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 8BD6812EAA1 for <captive-portals@ietfa.amsl.com>; Thu, 4 May 2017 08:15:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=kumari-net.20150623.gappssmtp.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 7t_IkGUhja1j for <captive-portals@ietfa.amsl.com>; Thu, 4 May 2017 08:15:14 -0700 (PDT)
Received: from mail-qt0-x232.google.com (mail-qt0-x232.google.com [IPv6:2607:f8b0:400d:c0d::232]) (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 A984212E741 for <captive-portals@ietf.org>; Thu, 4 May 2017 08:15:12 -0700 (PDT)
Received: by mail-qt0-x232.google.com with SMTP id j29so12705933qtj.1 for <captive-portals@ietf.org>; Thu, 04 May 2017 08:15:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kumari-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=wH0Zidb4v/DDrZU5k+kPI6BqJl9JWGFIuusZQ6+dNYo=; b=t+3oe8i2WEl+D/9bpzmZtRn//rjpavVQ3458xG4qOMXoOCCuQu7zQu2Jwx3W/o6nmx mnOSF5kUbxloLGFmLnUg9fdH/WuyAX5wiizsDM2K0VN1CzTfMhdCbj3KKu3yGLXd4bv2 IflhFd4qmZb+71BsdVtBVTEGW+vM6kJ7/7Q/shao0AgoE4g/pewt2pKe/bl8UA39gT6c Rmk8KhaXbs11mROhzwQEsjLgSqsecSeFLKk2Z/qdG3Hvvz7AIS2VwOHWcxLq46rIJM3/ AdkxmgyVFhXY1XpF9HB35Db1WF4z0Iw6genpDqskR6QiyaH4szeTtx95+VKIZ3xdPYVI DNJw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=wH0Zidb4v/DDrZU5k+kPI6BqJl9JWGFIuusZQ6+dNYo=; b=We0bGTijCYWtd5qILzmfU+0rO901ZO75lmoRLk5i2PBX+r/4oA2yeitTntaKlIL0aw azG0tXv3GEX48gz4fnDbyOQAI8IyUskQ9NzYzCLdTzAmVFoQu4ITe/DX4A71+UlEYmXU B06wRb7sQw/UmURkDPWFnUR+3+1hkVm9FRr7cGWjtvPzPz5/78OmlXLY06CMICLLPJ6O WndeR3B7FcwooSInQ/OnOCBjdGZu3DOYT5WW7IO7eIhaKLQ5TzG+5zH6aHO+fjhd8v4i sCi4Qyv7pRaJjBJmuhbYKsGWouZm+Ba2NbHhJrKNZQvJh9qDpnUknHbocunO9eOIWlRt 2++Q==
X-Gm-Message-State: AN3rC/7q2V1z6MJK5FIcCM8paXO3T9cMInaohdW5hgHqIOMYTJ8DclHG l4zX55Xc9kpKagDbpS8PgsYWHbMAQTjCC6M=
X-Received: by 10.200.38.132 with SMTP id 4mr35381801qto.99.1493910911637; Thu, 04 May 2017 08:15:11 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.12.171.68 with HTTP; Thu, 4 May 2017 08:14:31 -0700 (PDT)
In-Reply-To: <E8355113905631478EFF04F5AA706E98705C6C57@wtl-exchp-1.sandvine.com>
References: <201705031442.50683.heiko.folkerts@bsi.bund.de> <E8355113905631478EFF04F5AA706E98705C6C57@wtl-exchp-1.sandvine.com>
From: Warren Kumari <warren@kumari.net>
Date: Thu, 04 May 2017 11:14:31 -0400
Message-ID: <CAHw9_iJARf4MUA8nHqHA54jLvJNq-_Vek67A-rjHpSK6vC7r+Q@mail.gmail.com>
To: Dave Dolson <ddolson@sandvine.com>
Cc: 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>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/captive-portals/9yeYynxj1Z7QLpgo5GnrkkPoDD4>
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: Thu, 04 May 2017 15:15:17 -0000

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