Re: [v6ops] reclassify 464XLAT as standard instead of info

Lorenzo Colitti <lorenzo@google.com> Thu, 21 September 2017 05:46 UTC

Return-Path: <lorenzo@google.com>
X-Original-To: v6ops@ietfa.amsl.com
Delivered-To: v6ops@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0D6021321A1 for <v6ops@ietfa.amsl.com>; Wed, 20 Sep 2017 22:46:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.698
X-Spam-Level:
X-Spam-Status: No, score=-2.698 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, NORMAL_HTTP_TO_IP=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=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 mh9LDFVZHpzu for <v6ops@ietfa.amsl.com>; Wed, 20 Sep 2017 22:46:52 -0700 (PDT)
Received: from mail-yw0-x22c.google.com (mail-yw0-x22c.google.com [IPv6:2607:f8b0:4002:c05::22c]) (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 CB20213207A for <v6ops@ietf.org>; Wed, 20 Sep 2017 22:46:51 -0700 (PDT)
Received: by mail-yw0-x22c.google.com with SMTP id u11so3365236ywh.7 for <v6ops@ietf.org>; Wed, 20 Sep 2017 22:46:51 -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=Ls2YrKSclRJW8ruXVu4bqrBuGV05eqY2d5B0TMnY6Mw=; b=gP1DGKQQllsxPHNuZU3RW6MRIiLH0tHn0JRSUG+gm6ZVx5QZ7U3UWWMN9Bwsm+nLlT X7haywPnyqUCGG4qflc8Kgo6wPUYKF+vL7n5019c2SYXSlN/9SalJ0IV/PdAhBbz1LDV ClY44iL4yXRUtiqzNb6LQh1jeymDUWq3kgA/pEaYIAhGEMMPPY64tRrasdYiqHJ+wdUq WlDlcP5pJ06/2z/pi6Mv6Y9jvLwOrLB8q/Z4Y/ESl2+rZQe+/ehAi05t5dq2s/6cDWxq AEwaOb2ICbCmaJfxlQCem3M5H0R6/rGzfFsp4tp7C/oRhR15suamA0Mv73NMLpeNe8IA mHXw==
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=Ls2YrKSclRJW8ruXVu4bqrBuGV05eqY2d5B0TMnY6Mw=; b=VhZX4xZmNOw5PDnINXMlt/ZrDEsT77OQ1QkSjum+6z4Qx6+R3DCxD9GubmGXMu6wpk N2tU28iXD+dVDTLhB9JOiNH0Itan9jHT8ra073nijZcxdJ+CLorK8IeXCE8W0n228s0l 9y/0eYz8lxjKmslg455kCV8QHNqj9DDYeLSLr+N9RUvdQydPfkejFpptkR2UsGxfRSGr mz07qD39VntYa+SvdxfekLg8QYXb2/tmnTiyNcBCdLNx+rf5p0PAS7IQFz2f+/W5lkkJ 3fI9wyCA/X09zgkS2cL79shYAH5qC+tMGOJ/QnFIa+ZVuJN9zZIJJjiavxGJNoyEp+tM dZKg==
X-Gm-Message-State: AHPjjUi9qwZbGv4jt/WIO7EsNBI5L7OLARaETjUEbG0Mjfgt2B50xX39 Nhjva7CIWj6aisKU2Q7Dbm/ckSwALSj3ZCER+0Qkeg==
X-Google-Smtp-Source: AOwi7QDU4XxsRe2iVKFBcaIwZf4p3df6OiUeCylyeqznjZ4Ib66+o9bKltICZ+Oz4WNiFUO+QJGImxbBlfpHL+ZMtT0=
X-Received: by 10.129.153.81 with SMTP id q78mr811106ywg.133.1505972810571; Wed, 20 Sep 2017 22:46:50 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.37.214.213 with HTTP; Wed, 20 Sep 2017 22:46:29 -0700 (PDT)
In-Reply-To: <8503DEC8-026D-4AA2-A887-87B29A2B2611@apple.com>
References: <C1017FAF-91C3-4CA3-89C2-B64FF5100E41@consulintel.es> <a4385de4-ba3e-0b36-1bfd-ef3210fba08c@gmail.com> <6BD0B640-8853-4B32-9B30-936D8F58000F@consulintel.es> <8503DEC8-026D-4AA2-A887-87B29A2B2611@apple.com>
From: Lorenzo Colitti <lorenzo@google.com>
Date: Thu, 21 Sep 2017 14:46:29 +0900
Message-ID: <CAKD1Yr1Dh_qPVbKYXU9e9N2EqeKgS9yQYDR9aao9R-zGa3cU=g@mail.gmail.com>
To: David Schinazi <dschinazi@apple.com>
Cc: Jordi Palet Martinez <jordi.palet@consulintel.es>, "v6ops@ietf.org WG" <v6ops@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c0b82906afd5a0559ac9e88"
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/zL9lE7qp4IkwTN2CCQQOkxrNXis>
Subject: Re: [v6ops] reclassify 464XLAT as standard instead of info
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: v6ops discussion list <v6ops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/v6ops>, <mailto:v6ops-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/v6ops/>
List-Post: <mailto:v6ops@ietf.org>
List-Help: <mailto:v6ops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/v6ops>, <mailto:v6ops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Sep 2017 05:46:54 -0000

On Wed, Sep 20, 2017 at 10:10 AM, David Schinazi <dschinazi@apple.com>
wrote:

> > If you do it with SLAAC, as described in the RFC, the NAT46 will be
> stateful (by means of a previous NAT44) because you don’t have a specific
> /64 for the translation. Otherwise will be stateless.
>
> I don't think that's correct. In order to make 464XLAT stateless you need
> a separate /128, not /64. And SLAAC allows you to generate that extra /128.
> As far as I know, this is how Android works.
>

The NAT46 part of 464xlat is always stateless. Device-originated traffic
does not require any NAT table entries. On Android, the IPv4 stack emits
packets using an IPv4 address in 192.0.0.0/29 and then we statelessly
translate them to IPv6. However, when enabling IPv4 tethering, devices
behind the hotspot are NATed, so that, say, 192.168.43.12 first goes
through stateful NAT44 to 192.0.0.4 before being statelessly translated to
IPv6.

Instead of NAT4464, it would have been possible to use extra IPv6 addresses
to represent the tethered devices. On mobile networks, which provide a
dedicated /64 and guarantee no collisions the implementation could just
statelessly translate 192.168.43.12 to c0a8:2b0c and store that in a
well-known place in the IID somewhere. On networks that have other devices
on them the translation would need to be stateful, and in order to make it
stateless, another prefix could be requested (e.g., via DHCPv6 PD). In
effect that would change NAT4464 back to NAT464

On Android we chose not to do this because of the extra complexity. We
already had to support IPv4 NAT for native IPv4 connections, and it seemed
pointless to save an extra NAT step when the packet always has to go
through a stateful NAT64 anyway.

As far the discussion of changing the Category of the RFC, I'm not sure
> what it accomplishes, and whether it's worth spending time on.
>

+1