[sipcore] draft-ietf-sipcore-dns-dual-stack: Simon Perreault's review

worley@ariadne.com (Dale R. Worley) Mon, 25 January 2016 00:43 UTC

Return-Path: <worley@alum.mit.edu>
X-Original-To: sipcore@ietfa.amsl.com
Delivered-To: sipcore@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E285F1B3636 for <sipcore@ietfa.amsl.com>; Sun, 24 Jan 2016 16:43:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.664
X-Spam-Level:
X-Spam-Status: No, score=0.664 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_SOFTFAIL=0.665] 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 o8Hfuz8ssTge for <sipcore@ietfa.amsl.com>; Sun, 24 Jan 2016 16:43:50 -0800 (PST)
Received: from resqmta-po-03v.sys.comcast.net (resqmta-po-03v.sys.comcast.net [IPv6:2001:558:fe16:19:96:114:154:162]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B671F1B3637 for <sipcore@ietf.org>; Sun, 24 Jan 2016 16:43:50 -0800 (PST)
Received: from resomta-po-12v.sys.comcast.net ([96.114.154.236]) by resqmta-po-03v.sys.comcast.net with comcast id A0jk1s00156HXL0010jqMe; Mon, 25 Jan 2016 00:43:50 +0000
Received: from hobgoblin.ariadne.com ([73.143.237.82]) by resomta-po-12v.sys.comcast.net with comcast id A0jp1s0041nMCLR010jpDW; Mon, 25 Jan 2016 00:43:49 +0000
Received: from hobgoblin.ariadne.com (hobgoblin.ariadne.com [127.0.0.1]) by hobgoblin.ariadne.com (8.14.7/8.14.7) with ESMTP id u0P0hkRN013182 for <sipcore@ietf.org>; Sun, 24 Jan 2016 19:43:46 -0500
Received: (from worley@localhost) by hobgoblin.ariadne.com (8.14.7/8.14.7/Submit) id u0P0hkBC013179; Sun, 24 Jan 2016 19:43:46 -0500
X-Authentication-Warning: hobgoblin.ariadne.com: worley set sender to worley@alum.mit.edu using -f
From: worley@ariadne.com
To: sipcore@ietf.org
References: <17960B77-D25A-4135-844E-51FCEDFC51D0@edvina.net> <CANO7kWALSqB8o8=mJotHfzZUAiiC4hxmie=AHL=4vQTRcMLRCg@mail.gmail.com>
Sender: worley@ariadne.com
Date: Sun, 24 Jan 2016 19:43:46 -0500
Message-ID: <87h9i2bi9p.fsf@hobgoblin.ariadne.com>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1453682630; bh=ZMAhmv5WTqT9pJemM8Yf2JRk6whHbjm0cpc1wapXW+c=; h=Received:Received:Received:Received:From:To:Subject:Date: Message-ID; b=rDNVXbhBh4n02urNP4+XA0yGBo0cpQo0J/oo7sCQFZBNzdwdWZA/sUR+zFAY9bL2U G1HdC4M2plrRs5PCbtmQqjpd3gmwZciXCvCQNg9viA3AA3eZhXt5TWd756Bd75JF2E A0gfSXFRSUjpNEnwUdiN1Hvg78i1ofPLR1KX3O2fP/ijI8Fzrb6Ewj1JcvIFWguSL0 WkVjGNlYsFyPmrRYxuWUKMRKmURcECB4NN/aHatyoxHil3UNGOshV6Gy7pmx3seBoH 4AjuMMpwMLzJO/GKr4GmZtXxqmMPm53j33/vyNOOqUUt/8BLE6J0md69Lt3SH3S0ED U+GeYIaMc4+ag==
Archived-At: <http://mailarchive.ietf.org/arch/msg/sipcore/DIfPYkfS8Xs3CxyDhKEs32PqoqA>
Subject: [sipcore] draft-ietf-sipcore-dns-dual-stack: Simon Perreault's review
X-BeenThere: sipcore@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: SIP Core Working Group <sipcore.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sipcore>, <mailto:sipcore-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/sipcore/>
List-Post: <mailto:sipcore@ietf.org>
List-Help: <mailto:sipcore-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sipcore>, <mailto:sipcore-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Jan 2016 00:43:52 -0000

I've edited in a number of Simon's changes.  However:

Simon Perreault <sperreault@jive.com> writes:
> - It's not clear to me whether Section 4.1 advocates parallel connections
> or not. Is Happy Eyeballs to be applied or not? Or are we not recommending
> one way or another? This needs to be made more explicit.

At this point, the relationship between this draft and Happy Eyeballs is
not clear to me.  My expectations of a combination of 3263 and "Happy
Eyeballs" are:

1. A client must look up both A and AAAA records for a destination in all
   situations where it looks up a destination.

2. A client whose initial attempt to reach a destination via IPv6 fails
   should quickly attempt to reach it via IPv4, regardless of whether the
   destination has declared that it prefers a second IPv6 address to its
   IPv4 address (RFC 6555 section 4 item 1).

3. A client must remember whether attempts to reach a destination via
   IPv6 have failed in the past, and if so, prefer IPv4 to reach it (RFC
   6555 section 4).

Item 1 does not seem to me to be normative.  RFC 3263 is a mess to read,
but any sensible integration of it with the RFCs it references seems to
me to imply that a SIP client (as RFC 3263 calls the sender) must look
up address records for all address families that it supports (in any of
the 3 situations in which it looks up address records).

Items 2 and 3 seem to me to be the essence of "Happy Eyeballs", and they
are normative changes to RFC 3263/2782, since when SRV records are
involved, the SRV records currently declare the order which the client
MUST use the specified addresses.

> - The guidance in Section 4.2 could benefit from stronger normative
> language:
> 
>    When indicating address family preference through SRV, IPv4-only and/
>    or IPv6-only clients should be prepared to handle SRV record sets
>    that don't resolve into an ip address in the address family used by
>    that client.  In such a case, the client should simply proceed to the
>    next priority and try the hostnames in the alternate address family.
> 
> Suggestion: s/should/MUST/g
> 
> And please remove the "and try the hostnames in the alternate address
> family." part, which makes no sense (a hostname cannot be "in an address
> family").

Actually, this paragraph should be moved out of section 4.2, because 4.2
is about how a client should indicate how it prefers to be contacted,
whereas this text is about *all* clients, that resolution may produce
addresses the client doesn't support, and it must be prepared to ignore
those addresses.

> minor
> =====
> 
> - Should this draft formally update RFC 3263?

Assuming that we're actually incorporating the Happy Eyeballs
processing, it updates RFC 3263:

- In regard to URIs that do not invoke SRV records, Happy Eyeballs
  processing provides more constraints on the sequence in which resolved
  addresses are used.  As a tightening of the requirements of RFC 3263,
  it is an update thereof.

- in regard to URIs that invoke SRV records, the sequence specified by
  the SRV records can be overridden.  This contravenes RFC 2782 as
  incorporated by RFC 3263, and so is an update.

However, Olle says:
> At one point it did, but the wg - especially Cullen Jennings - did not
> accept it. I personally still think it's needed.

How do we resolve this?

Dale