Re: Deprecating IPv6 (Re: draft-bourbaki-6man-classless-ipv6-00)

Lorenzo Colitti <lorenzo@google.com> Tue, 06 June 2017 05:09 UTC

Return-Path: <lorenzo@google.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8953B1201F8 for <ipv6@ietfa.amsl.com>; Mon, 5 Jun 2017 22:09:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] 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 X92N1w3ujD9Q for <ipv6@ietfa.amsl.com>; Mon, 5 Jun 2017 22:09:42 -0700 (PDT)
Received: from mail-ua0-x236.google.com (mail-ua0-x236.google.com [IPv6:2607:f8b0:400c:c08::236]) (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 CB247126BFD for <ipv6@ietf.org>; Mon, 5 Jun 2017 22:09:41 -0700 (PDT)
Received: by mail-ua0-x236.google.com with SMTP id x47so87656864uab.0 for <ipv6@ietf.org>; Mon, 05 Jun 2017 22:09:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=QUTj2HDjem0UGQT5GdBIRpJh+9Dz2720zwT2V06B3OM=; b=BiTUtN/lbUSZVqw8AsSjm87C1A3XjLx0l7zOgsNwHVgHxy1Jfefu750u5LaDguru4B DvHpZMS37TK8BY6Gw2loMsp08ZHyZTB3od41lnYfvNV6ZDX85/pMM9c+O0AqV6k7t6Gu Tteqmzial3ib/NSXCcDqa1Z33NlPwGgkP14UEvHGdrZi+iB7eth8+c7uyCdvuX3tr+Kj sACyakDHWaYFK+RWdhNZNHlOiyM18ZP9nB2+7M0fgLmPY9KJLuUSx5cBxzprqiE6MYWj R6hxAXJeb+zVSvI/KXwnszHw+aIgSLBXuMT9ECWIGeWM+WpV7JxYgU4TjkFcOhS69I+0 WwtA==
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; bh=QUTj2HDjem0UGQT5GdBIRpJh+9Dz2720zwT2V06B3OM=; b=I/CToefHFFvueepX8Eb1e+JM5JF0w4zth6oEd6zO+EntHVHbP+bW7aQ1YNPeG8y6yT j9KGkDTuUbxQdzyuDAqguDROzcqe+mQ/z5ou+Jv+hkqGtV9alNt493n0kZ/fADbiLA1g XbV3gY2tF/9CFEgE5pHOVYJT8bGmh15v6QSxxt0pxJVfgoUYPVFUr/usQ64NH1G7ZWIR j/2jhAa6ktWCS9mnvWsZtRFSAKKzD7xB00D0IAYKFkwmOA/nzoC9o5pJ1Q6L+D+cmIj5 ihEUbD3WaFdIqF8GwHuQ1nnMLL3gQJVQPARSGmFxY96HBU2qw83omFWoEU0kBQkL4qwX mVTA==
X-Gm-Message-State: AODbwcD50O1rMCph2ey3NBigfrDYG9odTDWC4dv3+VPBc2vN+Y1W/No9 A6YdzQaQbU7k7FbKE7ihG24Vum1RdxCi
X-Received: by 10.176.83.16 with SMTP id x16mr14265029uax.11.1496725780838; Mon, 05 Jun 2017 22:09:40 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.31.12.139 with HTTP; Mon, 5 Jun 2017 22:09:20 -0700 (PDT)
In-Reply-To: <E2B77C58-B235-49D6-8130-0B41BE55899C@google.com>
References: <CAO42Z2wp72j-yOsR8C=iqS+dX14wLwthAtOTvD5ugj_NQ=NQag@mail.gmail.com> <8be34ef8-557f-652e-0d2f-f1a1e008bffd@gmail.com> <alpine.DEB.2.02.1706050827290.17963@uplift.swm.pp.se> <E2B77C58-B235-49D6-8130-0B41BE55899C@google.com>
From: Lorenzo Colitti <lorenzo@google.com>
Date: Tue, 06 Jun 2017 14:09:20 +0900
Message-ID: <CAKD1Yr13k5GYEpKhMG2i6zMcybk4VUGfdiTixuc83r49dCTyJQ@mail.gmail.com>
Subject: Re: Deprecating IPv6 (Re: draft-bourbaki-6man-classless-ipv6-00)
To: james woodyatt <jhw@google.com>
Cc: 6man <ipv6@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c18f1ac7e96c5055143a0de"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/f8CvETr59OOobOD1OZ-I3gRna8I>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Jun 2017 05:09:46 -0000

On Tue, Jun 6, 2017 at 3:47 AM, james woodyatt <jhw@google.com> wrote:

> Now is as good a time as any to repeat that I’m working on delivering
> *basically* this now. Not in ten years. Now.
>

Here's a solution that works now: ND proxying.

OpenWRT has had code to do it for a few years now. IIRC they're on to their
second implementation, the first one was here
<https://wiki.openwrt.org/doc/uci/6relayd>.

IIRC when I wrote my own proof-of-concept implementation it wasn't too
hard. It's particularly easy when you don't need to support autoconf on the
southbound interface, which you presumably don't need to support since
6LoWPAN has IPv6 addresses that are known in advance. AIUI this is similar
to what the Android on ChromeOS does: the Android code runs in a separate
namespace (equivalent role to the 6LoWPAN network), and gets an IPv6
address. There's a daemon on the root namespace (equivalent role to the BR)
runs ND proxy for that address. That code may be open sourced under a
license that would allow you to use it as is.

Running ND proxying on Linux is pretty easy even without writing any packet
handling code using the IPV6_JOIN_ANYCAST socket option. Apache licensed
code (running on production Android devices) is here
<https://android.googlesource.com/platform/external/android-clat/+/master/setif.c>,
look for do_anycast_setsockopt.

We are already on the path to IPv6/NAT w/ address amplification. We had a
> chance to stop it, and we blew it. It’s time to move on from that mistake.
>

You may be on that path at the moment, but I don't think you were obliged
to take it. You could have (and maybe still can) implement ND proxying.