[rrg] Happy Eyeballs RFC6555: app changes so dual-stack IPv4/6 is usable

Robin Whittle <rw@firstpr.com.au> Tue, 13 November 2012 05:49 UTC

Return-Path: <rw@firstpr.com.au>
X-Original-To: rrg@ietfa.amsl.com
Delivered-To: rrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7E01021F8430 for <rrg@ietfa.amsl.com>; Mon, 12 Nov 2012 21:49:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.892
X-Spam-Level:
X-Spam-Status: No, score=-0.892 tagged_above=-999 required=5 tests=[AWL=1.003, BAYES_00=-2.599, HELO_EQ_AU=0.377, HOST_EQ_AU=0.327]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UR7is2hV1KpR for <rrg@ietfa.amsl.com>; Mon, 12 Nov 2012 21:49:29 -0800 (PST)
Received: from gair.firstpr.com.au (gair.firstpr.com.au [150.101.162.123]) by ietfa.amsl.com (Postfix) with ESMTP id 76DD821F841C for <rrg@irtf.org>; Mon, 12 Nov 2012 21:49:29 -0800 (PST)
Received: from [127.0.0.1] (wira.firstpr.com.au [10.0.0.6]) by gair.firstpr.com.au (Postfix) with ESMTP id C0657175A02; Tue, 13 Nov 2012 16:49:26 +1100 (EST)
Message-ID: <50A1DF3F.6020801@firstpr.com.au>
Date: Tue, 13 Nov 2012 16:48:47 +1100
From: Robin Whittle <rw@firstpr.com.au>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20121026 Thunderbird/16.0.2
MIME-Version: 1.0
To: RRG <rrg@irtf.org>
References: <A5F253CD-71F6-49BD-95CC-897F803860F1@gmail.com> <50A19CA4.8000007@firstpr.com.au> <44EED7F5-2C8E-4784-B72D-EF28C8366F61@castlepoint.net> <50A1CB11.4050809@firstpr.com.au> <78553EF9-D0D4-4914-89CC-E9CC1F435FDB@castlepoint.net>
In-Reply-To: <78553EF9-D0D4-4914-89CC-E9CC1F435FDB@castlepoint.net>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
Subject: [rrg] Happy Eyeballs RFC6555: app changes so dual-stack IPv4/6 is usable
X-BeenThere: rrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: IRTF Routing Research Group <rrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/rrg>, <mailto:rrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/rrg>
List-Post: <mailto:rrg@irtf.org>
List-Help: <mailto:rrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/rrg>, <mailto:rrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 13 Nov 2012 05:49:30 -0000

Hi Shane,

Thanks very much for your Happy Eyeballs answer in the "Re: [rrg] ILNP:
existing applications & other critiques" thread to my question about why
people watching the Olympics on a Comcast HFC network would sometimes
have their browser, player or whatever access the videos via IPv6 servers:

  http://en.wikipedia.org/wiki/Happy_Eyeballs
  http://tools.ietf.org/html/rfc6555    April 2012

If the IPv4 connection is behind NAT, including with the NAT box in the
provider network, and if the individual hosts have their own public
unicast IPv6 addresses, then this can reduce the traffic through the
IPv4 NAT box.  The algorithm is designed to generally favor IPv6, with
the long-term intention of reducing the use of IPv4.

   "... the client sends two TCP SYNs at the same time over IPv6 and
    IPv4."

If an ACK is received for both, the client selects whether to use IPv4
or IPv6, and caches this for 10 minutes.

   "The simplest venue for the implementation of Happy Eyeballs is
    within the application itself."

It seems that applications need to be altered, by the addition of a
Happy Eyeballs algorithm, to provide reliable performance when the
dual-stack host is connected to both IPv4 and IPv6.  This is
unfortunate, but not surprising - since these are two separate Internets.

  - Robin