Re: [homenet] sorting out the right ipv6 addr to choose and name in a source specific world

Brian E Carpenter <brian.e.carpenter@gmail.com> Thu, 18 December 2014 22:06 UTC

Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: homenet@ietfa.amsl.com
Delivered-To: homenet@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D328C1A908F for <homenet@ietfa.amsl.com>; Thu, 18 Dec 2014 14:06:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
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 III7gUrHoc6J for <homenet@ietfa.amsl.com>; Thu, 18 Dec 2014 14:06:46 -0800 (PST)
Received: from mail-pd0-x22a.google.com (mail-pd0-x22a.google.com [IPv6:2607:f8b0:400e:c02::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 03EB01A8712 for <homenet@ietf.org>; Thu, 18 Dec 2014 14:06:41 -0800 (PST)
Received: by mail-pd0-f170.google.com with SMTP id v10so2266414pde.1 for <homenet@ietf.org>; Thu, 18 Dec 2014 14:06:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:organization:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=zBxBslsSq+eBRxx22k2pU4/Yu4ghEEHPBhTJxxkFHoc=; b=hVNptvpGRYRfzf6kfPXwgGH469DxiIiyGrkaAEe4KY4ZwurN47zGTbRyXXRouoPzcZ +Jp77Pp+X3LhlNXTG8P0QlfBv6wgZg2u0hy4un2smchorip1kbnDt73a5Taw4QjsbPzs PK8LRHG5p7T/1VO3uLufNoC1acn1SbNMuAFvtxlWO0RT5+kpQu1pgA5E+43hatHk+VNl 3Z1ur3/ZPs1iMAYMCf9NEVlF0iM8Z9rj3t9NlZacI5/CFsccctknSFijvzt6smmJZGAC P/2ULz+W1sZAWOGSiSio6mNthi0/TVCw5lhJVlO62phJrVHRZO94Jg0FnMvbTqgFesrx B1Vg==
X-Received: by 10.68.57.144 with SMTP id i16mr7191739pbq.86.1418940399364; Thu, 18 Dec 2014 14:06:39 -0800 (PST)
Received: from ?IPv6:2406:e007:74cb:1:28cc:dc4c:9703:6781? ([2406:e007:74cb:1:28cc:dc4c:9703:6781]) by mx.google.com with ESMTPSA id eo4sm7596953pbb.87.2014.12.18.14.06.35 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 18 Dec 2014 14:06:38 -0800 (PST)
Message-ID: <54934FF5.2050108@gmail.com>
Date: Fri, 19 Dec 2014 11:06:45 +1300
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: Michael Richardson <mcr+ietf@sandelman.ca>
References: <CAA93jw6uY=KY8WeoFn1e65ciyokN=y9SRpaCHewCvWqcBHMhKw@mail.gmail.com> <24024.1418915279@sandelman.ca>
In-Reply-To: <24024.1418915279@sandelman.ca>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/homenet/uH-omBG19kfhSTPOrTQtWXYacmQ
Cc: dnsmasq-discuss <dnsmasq-discuss@lists.thekelleys.org.uk>, HOMENET <homenet@ietf.org>, Dave Taht <dave.taht@gmail.com>, "babel-users@lists.alioth.debian.org" <babel-users@lists.alioth.debian.org>
Subject: Re: [homenet] sorting out the right ipv6 addr to choose and name in a source specific world
X-BeenThere: homenet@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <homenet.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/homenet>, <mailto:homenet-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/homenet/>
List-Post: <mailto:homenet@ietf.org>
List-Help: <mailto:homenet-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/homenet>, <mailto:homenet-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Dec 2014 22:06:58 -0000

On 19/12/2014 04:07, Michael Richardson wrote:
> 
> Dave,
> my take is that applications, and the entire gai.conf/getaddrinfo() library
> is broken.  Applications can neither be updated nor be trusted to know enough
> about the system to be able to make a proper decision.
> 
> Somewhere, someone was working on a new connect(2) call that took FQDNs
> rather than sockaddr's, such that the kernel could take ownership of this
> problem. 

I suppose you are thinking of Name Based Sockets:
http://tools.ietf.org/html/draft-ubillos-name-based-sockets

It's dead, as far as I know.

> (Of course, actually solving the problem in a kernel is probably the
> wrong answer).
> What is necessary is some new infrastructure inside the box which becomes
> standardized (like sockets API was), with some daemon that thinks about the
> best source addresses is, and possibly gets involved with routing protocols.
> (I'm told that OSX has a sophisticated state machine that combines DHCP and
> 1x, and wifi... it sounds like it could be the start of such a thing)
> 
> I think that shim6 and mptcp are answers in this equation.
> 
> shim6 has, I'm told, deployment issues which make me very very sad.

Like, it cannot get through most firewalls.

> mptcp, I'm told, is likely to show up in Apple and Google products and
> infrastructure, and my idea (and many others) is that you don't always have
> to pick the perfect address for the SYN, just one that works, but rather one
> can add better addresses as one discovers them.

But bad luck if you need UDP.

Some form of intelligent probing does seem to be the answer,
but certainly that needs to be generic because we cannot expect
all apps developers to reinvent it. That's one reason we wrote
http://tools.ietf.org/html/draft-naderi-ipv6-probing recently.

   Brian