[Captive-portals] CAPPORT API with real Captive Portals and Linux Client: End-to-End demo

Heng Liu <liucougar@google.com> Thu, 17 October 2019 00:03 UTC

Return-Path: <liucougar@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 41F6612011B for <captive-portals@ietfa.amsl.com>; Wed, 16 Oct 2019 17:03:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.5
X-Spam-Level:
X-Spam-Status: No, score=-17.5 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, 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 BYf6N1q86bfv for <captive-portals@ietfa.amsl.com>; Wed, 16 Oct 2019 17:03:00 -0700 (PDT)
Received: from mail-ua1-x92d.google.com (mail-ua1-x92d.google.com [IPv6:2607:f8b0:4864:20::92d]) (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 24A8E120086 for <Captive-portals@ietf.org>; Wed, 16 Oct 2019 17:02:57 -0700 (PDT)
Received: by mail-ua1-x92d.google.com with SMTP id m21so95297ual.13 for <Captive-portals@ietf.org>; Wed, 16 Oct 2019 17:02:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=y3U4fTOgQBAGF9zFCLmxI7nNq308HYYFo2HdeyXH1/o=; b=LVe++M1qQ+RDKdgCNAD5nHE7v/ucpewVh124BJ9O2XtQ8/v+/WcE8BpanCARXwnzZE BbsK5bCkbBVHvMkMwNJra6pSqCIfdmw9a/G+fZtQo9jRHmE6AyaZOQW+UsbO2fgiUFub JCTEw5sPksHydK8zTR0yOdO8I/a0tiFPGZuM671gSkM/2rK3DlIBXeEH3sl0fFyHzvqh RWd+Y+Hax9xQoUr7qRtV2oGUvVUsDKOOtolYkHNFfvKUItgDVOoh3vHCCbuQx/GBPSU2 Hh333ACETyC9MEyzz97gDJpFFdVhottIaaNJsou9qITFGTCWkqHum39bHVI0cTO9kVLB Hrgg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=y3U4fTOgQBAGF9zFCLmxI7nNq308HYYFo2HdeyXH1/o=; b=pN2kAmALPKttCzVsH35iKHUn/GR1aic1YRihvMIT73GDDSZApzeCpQUjTyXL86dzGH XpTs1jHmIyLcEV0AfhqwFBp+/GpRqhxChZkNIJPy+sto7AdeB17MauXWLvlg+BwjbACt vCS6o3VHBgIjeOY5qCPbrq7PdrZ7VwH9xRz1RqR+9mKh37ddgAisRYRAsZQD8Ivcho2B 9UUq1WkRPidVjdkO13OEBG5mfqtWdhqCkCJ7U7RNF+R5gruEDBzeHbkbkfRZpUMpeBc0 6ZZ/djYiWndJwztsNPKdZUNpoI5LflIeXg2X9tF28fFeOfVVegwlZO9Tn1vYTFRGKar2 xFog==
X-Gm-Message-State: APjAAAVqL4LiQ7JoFHV8MtsNjCk2tOln7lZVf65ogcV+XKTh2iZ/a7OF mu/LWLCjW4iSoYaX5j013kcBKR6ssy4RhIbzMQpZmVvh
X-Google-Smtp-Source: APXvYqxttIH+raf36kO4Sh7AlGmf547czBuF2Wmmf4Y0ToryewqxtWHntzIveoNE6TWiW0GSoQFkgh9jS/u66ajr7XI=
X-Received: by 2002:ab0:5981:: with SMTP id g1mr714425uad.98.1571270575530; Wed, 16 Oct 2019 17:02:55 -0700 (PDT)
MIME-Version: 1.0
From: Heng Liu <liucougar@google.com>
Date: Wed, 16 Oct 2019 17:02:44 -0700
Message-ID: <CAKMty=+y50jOiGpH8g_LcCcO3uKbqJNoVQUoErVP02rbcap8LA@mail.gmail.com>
To: Captive-portals@ietf.org
Cc: Anurag Chakravarti <anuragc@google.com>
Content-Type: multipart/alternative; boundary="0000000000008085bc05950ff00d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/captive-portals/qtx_JSOhxQKvMlePnLLoOj99tPU>
Subject: [Captive-portals] CAPPORT API with real Captive Portals and Linux Client: End-to-End demo
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, 17 Oct 2019 00:03:02 -0000

Hi Everyone,
We are a team in google working on Google Station
<https://station.google.com/> with a mission of connecting the
under-connected by providing fast, secure and reliable WiFi. Within that
charter, CAPPORT + API server spec helps in various ways.

We have a demo ready based on a Mikrotik AP of how a CAPPORT API server
might look like:
Mikrotik device is the dhcp server and CP Enforcement device, and hosts
CAPPORT API https server. The dhcp server is configured to add a custom
Option 160.
Mikrotik device connects to gStation Captive Portal.
User equipment is a linux laptop with ubuntu runing dhclient with custom
hooks (scripts): Upon obtaining an IP via DHCPv4, a browser will open
automatically with the url of the gStation Captive portal.

This will be in a self contained Mikrotik Hap ac box with LTE backhaul, and
others can connect to the SSID and try it out as well (if the dhcp client
is modified to understand the option).

We were wondering if a demo of such would be useful to the committee in the
coming IETF 106 in Singapore if CAPPORT API is a topic of interest.

regards,
Dr. Heng Liu