Re: [v6ops] The need for local-ipv4 socket transition solutions -- NAT64/DNS64 remains insufficient

Lorenzo Colitti <lorenzo@google.com> Fri, 24 April 2015 04:00 UTC

Return-Path: <lorenzo@google.com>
X-Original-To: v6ops@ietfa.amsl.com
Delivered-To: v6ops@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C75EF1B2BEB for <v6ops@ietfa.amsl.com>; Thu, 23 Apr 2015 21:00:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.388
X-Spam-Level:
X-Spam-Status: No, score=-1.388 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=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 wmVL2D5HJ9oa for <v6ops@ietfa.amsl.com>; Thu, 23 Apr 2015 21:00:50 -0700 (PDT)
Received: from mail-ob0-x22d.google.com (mail-ob0-x22d.google.com [IPv6:2607:f8b0:4003:c01::22d]) (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 E7C691B2BED for <v6ops@ietf.org>; Thu, 23 Apr 2015 21:00:22 -0700 (PDT)
Received: by obfe9 with SMTP id e9so29132641obf.1 for <v6ops@ietf.org>; Thu, 23 Apr 2015 21:00:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=TG+zWeLGUtS+s9X5it3pbqZTEpGyguc6FLJe3eN5grs=; b=O+nsGw4FVHBZWnhp5QZ3SO7R4CQEsOhdx7h0mp7EDKTbaXAjlYtgpmDHxlAKoxfdye ULnmtQ9i7EdS0Ngjhsyvk+fuKd53t9AsBPfDM3XZIXTPT+dCcV7JGO2k6/JQWw83m5wI Z9DMcPzEMbwz4kjyrSHrccalCQq4Zm7IfnJcxpBQX3/ol1P+8+wFIPdCuXtUQkdHjelk UEnzdtEWZYFfAJ8WvtJrgTsUI/7yrGWnWDoxmF1vdO2Ji4GHoTNlyTc/mn4RirB0PaIW pX8rsp7XLpUG4NFhwCBzK4lO4o81XOtnC1/BdpzQSOBz69khkOOb8Ab7CSloEWB1txwU 5bBQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=TG+zWeLGUtS+s9X5it3pbqZTEpGyguc6FLJe3eN5grs=; b=cXrravvNI89rnhrL2qYqobdGzl5EBh8qXc5N4AjNha0GyEmIEiM+tT25yG+bau8byJ MdXRAHvWVvPi3n8WlRJ8hjHArrncfLbNnmQjdvwI+2dVvtKmvGWZj/0IzCCIOmgb/MPw tMY8Le8ecdk5lWdDekcKZx/vHUojAxzQyLiKb3ip9Xat9mg3ZBQEmrRaSXnW07vdDgkE XhbLChXISIkT5NMUFW8g1JhKQE2UcGRJCRJicPbPByfJcLMgbVO/qr2w0ZllA16itFmG sMR1bPnFi/6jf56+3F05x5el2AltOt8awHFgte1wXE/SsKqZRMny4pMK+NoiCdYNhDae 7J/A==
X-Gm-Message-State: ALoCoQkZur6CwllOfib6cdnGT3THqzTGn1WcTBoWPbh/XR3X6VOEfi71CXwlYtlhs1ZBsexJ806o
X-Received: by 10.60.220.137 with SMTP id pw9mr5514531oec.47.1429848022336; Thu, 23 Apr 2015 21:00:22 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.182.89.166 with HTTP; Thu, 23 Apr 2015 21:00:01 -0700 (PDT)
In-Reply-To: <CADhXe52acGYR-y7VNpfXt=OQK7uqm1vNyHL3mwGhX8cpaYyW3A@mail.gmail.com>
References: <CAD6AjGT-hG-uvRQvRosrZtfrf0Nb8ne9jy=tD9oh=5zNM42Xsg@mail.gmail.com> <CAD6AjGTcKgK8W+VB1H5EQpHaYiKVYXqOz_2RS-w_CiTf9kL2CQ@mail.gmail.com> <CADhXe530+OVZrFZVaYh1-zoRDvJhUd0rf4sx6a2nO8SvKmm6zg@mail.gmail.com> <CAPi140PQ+TF0rED_bQPeS=Fj415qt0-zE2RdGnEL34PAzHyx6Q@mail.gmail.com> <CAD6AjGTjXAeMF6pw5MO2Jrf9B8LJ48D3m1YTVkdBe=_OHjtroQ@mail.gmail.com> <CADhXe51TCqU2eMP4LS3DooZxQDAPD95OVJDXbiU7qvuvKCMq+w@mail.gmail.com> <CAKD1Yr2=zc57+pOA9TFs+0azw0ZR1g67+08T=9eZPHjGXBvgFQ@mail.gmail.com> <CADhXe53T_30pj7xxwNs=mWEnd=do6oiq3KgN=U-gHLrLF-gG7Q@mail.gmail.com> <D1441574.4C168%wesley.george@twcable.com> <CAD6AjGQrzoBJrqQfKO0N8Ji=oJ-ZP6Sn88sXf=opJ6bYVmTDZg@mail.gmail.com> <552102B0.6070904@cernet.edu.cn> <35D97B17-8E83-43CF-ABEF-122572F1321A@eircom.net> <552369C8.5000801@cernet.edu.cn> <CADhXe51BDuPhc8wdKGmRiBfSnrz7PMtqYXaoDO+5cwLx_xW2tw@mail.gmail.com> <55290E26.8080500@cernet.edu.cn> <CADhXe50zz9EtNtifMh+tN9XT-jKCTJB=vsQ6uG515iddOo7f2Q@mail.gmail.com> <6536E263028723489CCD5B6821D4B21303E8C63A@UK30S005EXS06.EEAD.EEINT.CO.UK> <67A2A6E4-0603-4E84-8534-EA6C706C6D5D@lists.zabbadoz.net> <6536E263028723489CCD5B6821D4B21303E8CBAB@UK30S005EXS06.EEAD.EEINT.CO.UK> <0C3D10F1-B8AF-4097-91C6-D92CDDD5978D@nominum.com> <CAD6AjGR65jtZN4NV62p1XnUgoQRC+h=ELmsLcQaFTdrToMtwRA@mail.gmail.com> <CADhXe53VJeUDLpq2fpdndXF1VyPzQLTO=3LEYqbpOFmEPNbCJw@mail.gmail.com> <54AE4471-B568-4A92-B12D-137AD5950B60@nominum.com> <CADhXe52acGYR-y7VNpfXt=OQK7uqm1vNyHL3mwGhX8cpaYyW3A@mail.gmail.com>
From: Lorenzo Colitti <lorenzo@google.com>
Date: Fri, 24 Apr 2015 13:00:01 +0900
Message-ID: <CAKD1Yr0UAYH+tCc7LCLWbqzqiez7kZNJ8mVH3FB-K1LvnjXVUQ@mail.gmail.com>
To: James Woodyatt <jhw@nestlabs.com>
Content-Type: multipart/alternative; boundary="001a11347f907468a00514706f88"
Archived-At: <http://mailarchive.ietf.org/arch/msg/v6ops/PvFurroAGKmJyODk8QhG8TgY7CY>
Cc: IPv6 Ops WG <v6ops@ietf.org>
Subject: Re: [v6ops] The need for local-ipv4 socket transition solutions -- NAT64/DNS64 remains insufficient
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Fri, 24 Apr 2015 04:00:52 -0000

On Thu, Apr 23, 2015 at 7:36 AM, James Woodyatt <jhw@nestlabs.com> wrote:

> In particular, I think it's critical to have a clear understanding of
> precisely what features of the PF_INET interfaces are expected to be
> handled by the CLAT function. If the IP_PKTINFO socket option, for example,
> is expected to be unsupported, then it's important to know that. What
> does the CLAT do with IPv4 link-local scope addresses? What about the
> SO_REUSEADDR option? A good place to start would probably be to go through
> the entire POSIX.1 standard, and for all the IPv4 networking interfaces,
> describe what is and isn't supported by the CLAT function recommended by
> IETF.
>

I don't think such a fine-toothed-comb endeavour makes sense. 464xlat is
just an unnumbered point-to-point link. That directly implies that the
answers to your questions are "there's no reason not to support IP_PKTINFO,
and no extra work required to do so", "link-local scope addresses are not
supported because it's an unnumbered point-to-point link", and
"SO_REUSEADDR means exactly what it means on any other IP address on the
system".

I suppose we can always write a document saying the above, plus
recommending that there be a different local clat IP address for every
interface on the system. Such a document wouldn't be very long, but I
suppose it might be helpful.

I don't think there is a need to go through POSIX.1. looking for corner
cases.