Re: [v6ops] An Update to Happy Eyeballs

Gert Doering <gert@space.net> Thu, 23 March 2017 12:07 UTC

Return-Path: <gert@space.net>
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 741811315B8 for <v6ops@ietfa.amsl.com>; Thu, 23 Mar 2017 05:07:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=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 pQvbJV0U8AVP for <v6ops@ietfa.amsl.com>; Thu, 23 Mar 2017 05:07:07 -0700 (PDT)
Received: from mobil.space.net (mobil.space.net [195.30.115.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 01AD61296CF for <v6ops@ietf.org>; Thu, 23 Mar 2017 05:07:06 -0700 (PDT)
X-Original-To: v6ops@ietf.org
Received: from mobil.space.net (localhost [IPv6:::1]) by mobil.space.net (Postfix) with ESMTP id 8DE6C61635 for <v6ops@ietf.org>; Thu, 23 Mar 2017 13:07:04 +0100 (CET)
X-SpaceNet-Relay: true
X-SpaceNet-Relay: true
X-SpaceNet-Relay: true
X-SpaceNet-Relay: true
Received: from moebius4.space.net (moebius4.space.net [IPv6:2001:608:2:2::251]) by mobil.space.net (Postfix) with ESMTP id 50E26603D6; Thu, 23 Mar 2017 13:07:04 +0100 (CET)
Received: by moebius4.space.net (Postfix, from userid 1007) id 429B26FA0E; Thu, 23 Mar 2017 13:07:04 +0100 (CET)
Date: Thu, 23 Mar 2017 13:07:04 +0100
From: Gert Doering <gert@space.net>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Cc: Job Snijders <job@instituut.net>, Lorenzo Colitti <lorenzo@google.com>, IPv6 Operations <v6ops@ietf.org>
Message-ID: <20170323120704.GR2367@Space.Net>
References: <m1cmTQX-0000IcC@stereo.hq.phicoh.net> <92EEB875-288D-4CF9-B81F-3B5C8EA49F53@apple.com> <CAKC-DJjeUX1rRB_e99SGJS06RoFZ6E6A8Tpj0hPAvfS6+L+XWA@mail.gmail.com> <BAEBBDCE-790E-43D7-BD2A-AE1BF9B81B34@apple.com> <20170315034622.0EAB566D1CED@rock.dv.isc.org> <CAKD1Yr2fKeJbW=q1wP8+6C-Q=WoVHYR9-HfXZ8-AjZ-_Y8ckyw@mail.gmail.com> <7ED60D6D-ED70-4543-8F8C-B670A71B44D3@gmail.com> <CAKD1Yr1-WsCQviwpKTEa+ZzpojHNX57NuOLqtnjABXy81ZZySw@mail.gmail.com> <CACWOCC8AJGFqcZWjgkhSFSsajQt0jGgM5h6VMHj4dqYp69POdQ@mail.gmail.com> <04a8b752-b5ae-020b-134e-aa365fea4261@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <04a8b752-b5ae-020b-134e-aa365fea4261@gmail.com>
X-NCC-RegID: de.space
User-Agent: Mutt/1.7.2 (2016-11-26)
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/EYRa9un6-PB8rc-LoVmJUd26y4w>
Subject: Re: [v6ops] An Update to Happy Eyeballs
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, 23 Mar 2017 12:07:09 -0000

Hi,

On Thu, Mar 23, 2017 at 11:22:15AM +1300, Brian E Carpenter wrote:
> On 23/03/2017 04:18, Job Snijders wrote:
> > Perhaps of interest to this group:
> > 
> > https://blog.powerdns.com/2014/05/21/a-surprising-discovery-on-converting-ipv6-addresses-we-no-longer-prefer-getaddrinfo/
> 
> What a bizarre idea to use getaddrinfo() for format conversion, when inet_pton() and inet_ntop() exist.

Well, whoever designed that API obviously thought it would be something
clever.  Otherwise, how do you explain AI_NUMERICHOST?

                    AI_NUMERICHOST  If the AI_NUMERICHOST bit is set, it indi-
                                    cates that hostname should be treated as a
                                    numeric string defining an IPv4 or IPv6
                                    address and no name resolution should be
                                    attempted.

Gert Doering
        -- NetMaster
-- 
have you enabled IPv6 on something today...?

SpaceNet AG                        Vorstand: Sebastian v. Bomhard
Joseph-Dollinger-Bogen 14          Aufsichtsratsvors.: A. Grundner-Culemann
D-80807 Muenchen                   HRB: 136055 (AG Muenchen)
Tel: +49 (0)89/32356-444           USt-IdNr.: DE813185279